@charset "UTF-8";

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
}

body {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "MS Mincho", serif;
	/* 画像ファイルの指定 */
	background-image: url("../image/top-back.jpg");
	background-color: rgba(255,255,255,0.3);
	background-blend-mode: lighten;
         
	/* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
	background-attachment: fixed;
   
	/* 表示するコンテナの大きさに基づいて、背景画像を調整 */
	background-size: cover;
   
}

.right-footer-all {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/*お問い合わせボタン*/
a.contact-btn {
	display: grid;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 15vw;
	margin: auto;
	padding: 1vw 1vw;
	font-size: 1.2vw;
	font-weight: bold;
	color: #000000;
	background-color: #FFE700; 
	border-bottom: 2px solid #27acd9;
	border-radius: 100vh;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	transition: 0.5s;
	z-index: 150;
}
a.contact-btn:hover {
	color: #fff;
	background: #27acd9;
	border-bottom: 2px solid #fff;
	transform: translateY(3px);
}

/* サイドバーレイアウト */

main {
	position: fixed;
    width: 7%;
    height: 100vh;
    top: 0;
    left: 0;
	background-color: #FFFFFF;
	background-image: url("../image/top-back.jpg");
	background-size: cover;
    box-shadow: 0px 0px 4px 0px #666;
	z-index: 100;
}
main img {
	width: 50px;
	margin-left: 5px;
	margin-top: 20px;
}

/*スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	main, .sidebar {
		display: none;
	}
}

/* 751px以上の画面幅で表示 */
@media(min-width:641px) and (orientation: portrait){
	.image-mobile {
		display: none; /* 751px以上では非表示 */
	  	}
}

/*全体ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.company {
	display: block;
	position: relative;
	width: 93%;
	left: 7%;
	right: 0;
/*	overflow: auto;*/
/*	scroll-snap-type: y mandatory;*/
/*	min-height: 100vh;*/
/*	height: auto;*/

}

.company:-webkit-scrollbar{
  display:none;
}

.company {
	display: block;
/*	font-family: serif;*/
}

@media(max-width:640px) and (orientation: portrait){
	.company {
		width: 100%;
		left: 0;
	}
}

/*上部ヘッダー*/
.top-header {
	display: block;
	height: 5rem;
	background-image: url("../image/top-obi.jpg");
	background-position: center;
	background-size: cover;
}

.top-header h1 {
	position: absolute;
	margin-left: 2rem;
	margin-top: 1rem;
	font-size: 1.7rem;
	color: white;
}

/*企業理念ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.philosophy-title {
	margin-left: 4rem;
	margin-top: 2rem;
}

.philosophy-title h5 {
	font-size: .7rem;
}

.philosophy-title h2 {
	width: 93%;
	font-size: 1.5rem;
	border-bottom: 1px solid;
}

.philosophy-text {
	position: relative;
	top: 1rem;
	margin: auto;
	width: 87%;
	height: 60vh;
	background-image: url("../image/company.jpg");
	background-position: center;
	background-size: cover;
	background-color: rgba(255,255,255,0.8); /* 白を半透明で重ねる */
	background-blend-mode: lighten; /* overlay, multiply, screen なども試せる */
	/* 中央寄せ用 */
	display: flex;
	justify-content: center;  /* 横方向中央 */
	align-items: center;      /* 縦方向中央 */
	text-align: center;
}

.philosophy-text p {
	font-size: 1.5rem;
	line-height: 10vh;
}

/*企業理念スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	.philosophy-title {
		margin-left: 1.8rem;
		margin-top: 2rem;
	}

	.philosophy-title h5 {
		font-size: .5rem;
	}

	.philosophy-title h2 {
		width: 93%;
		font-size: 1rem;
		border-bottom: 1px solid;
	}

	.philosophy-text {
		position: relative;
		top: 1rem;
		margin: auto;
		width: 87%;
		height: 30vh;
		background-image: url("../image/company.jpg");
		background-position: center;
		background-size: cover;
		background-color: rgba(255,255,255,0.8); /* 白を半透明で重ねる */
		background-blend-mode: lighten; /* overlay, multiply, screen なども試せる */
		/* 中央寄せ用 */
		display: flex;
		justify-content: center;  /* 横方向中央 */
		align-items: center;      /* 縦方向中央 */
		text-align: center;
	}

	.philosophy-text p {
		font-size: 1rem;
		line-height: 2rem;
	}
}

/*ごあいさつ*/
.comment-title {
	margin-left: 4rem;
	margin-top: 10rem;
}

.comment-title h5 {
	font-size: .7rem;
}

.comment-title h2 {
	width: 93%;
	font-size: 1.5rem;
	border-bottom: 1px solid;
}

.comment-text {
	display: flex;
	position: relative;
}

.comment-image {
	display: flex;
	flex-direction: column; /* 縦並びにする */
	align-items: center;   /* 画像と文字を中央揃え */
	text-align: center;
}

.comment-image .caption {
	margin-top: 0.5rem;
	margin-left: 4rem;
	font-size: .8rem;
	line-height: 1.5rem;
	text-align: center;
}

.name {
	font-size: 1.3rem;
	font-weight: 600;
}

.comment-text img {
	width: 20vw;
	height: 20vw;
	margin-left: 4rem;
	margin-top: 1rem;
}

.comment-text p {
	width: 62%;
	margin-left: 2rem;
	margin-top: 1rem;
	font-size: 1.3vw;
	line-height: 2.7vw;
	text-align: justify;
}

/*ご挨拶スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	.comment-title {
		margin-left: 2rem;
		margin-top: 5rem;
	}

	.comment-title h5 {
		font-size: .5rem;
	}

	.comment-title h2 {
		width: 93%;
		font-size: 1rem;
		border-bottom: 1px solid;
	}

	.comment-text {
		display: block;
		position: relative;
	}

	.comment-image {
		display: flex;
		flex-direction: column; /* 縦並びにする */
		align-items: center;   /* 画像と文字を中央揃え */
		text-align: center;
	}

	.comment-image .caption {
		margin-top: 0.5rem;
		margin-left: 0rem;
		font-size: .8rem;
		line-height: 1.5rem;
		text-align: center;
	}

	.name {
		font-size: 1rem;
		font-weight: 600;
	}

	.comment-text img {
		width: 30vw;
		height: 30vw;
		margin-left: 0rem;
		margin-top: 1rem;
	}

	.comment-text p {
		width: 85%;
		margin-left: 2rem;
		margin-top: 1rem;
		font-size: 1rem;
		line-height: 1.5rem;
		text-align: justify;
	}
}


/*企業情報*/
.summary-title {
	margin-left: 4rem;
	margin-top: 10rem;
}

.summary-title h5 {
	font-size: .7rem;
}

.summary-title h2 {
	width: 93%;
	font-size: 1.5rem;
	border-bottom: 1px solid;
}

.summary{
	position: relative;
	width: 90%;
/*	height: 100vh;*/
	left: 5vw;
/*    overflow: hidden;*/
}

.summary table{
	position: relative;
	margin-top: 2rem;
	margin: auto;
	font-size: 1.3vw;
}

.summary td{
	padding-right: 5vw;
	padding-top : 1.5rem;
	padding-left: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid;
	vertical-align: middle;
}

/*企業情報スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	.summary-title {
		margin-left: 2rem;
		margin-top: 5rem;
	}

	.summary-title h5 {
		font-size: .5rem;
	}

	.summary-title h2 {
		width: 93%;
		font-size: 1rem;
		border-bottom: 1px solid;
	}

	.summary{
		position: relative;
		width: 90%;
	/*	height: 100vh;*/
		left: 5vw;
/*		overflow: hidden;*/
	}

	.summary table{
		position: relative;
		margin-top: 2rem;
		margin: auto;
		font-size: .7rem;
	}

	.summary td{
		padding-right: 1vw;
		padding-top : 1rem;
		padding-left: 1vw;
		padding-bottom: .5rem;
		border-bottom: 1px solid;
		vertical-align: middle;
	}
}


/*沿革ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.history-title {
	margin-left: 4rem;
	margin-top: 10rem;
}

.history-title h5 {
	font-size: .7rem;
}

.history-title h2 {
	width: 93%;
	font-size: 1.5rem;
	border-bottom: 1px solid;
}

.history{
	position: relative;
	width: 90%;
/*	height: 65vh;*/
	left: 5vw;	
/*    overflow: hidden;*/

}

.history table{
	position: relative;
/*	margin-top: 2rem;*/
	left: 10%;	
	font-size: 1.3vw;
}

.history td{
	padding-right: 5vw;
	padding-top : 1.5rem;
	padding-left: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid;
	vertical-align: middle;	
}


/*沿革スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	.history-title {
		margin-left: 2rem;
		margin-top: 5rem;
	}

	.history-title h5 {
		font-size: .5rem;
	}

	.history-title h2 {
		width: 93%;
		font-size: 1rem;
		border-bottom: 1px solid;
	}

	.history{
		position: relative;
		width: 90%;
		height: auto;
		left: 0vw;
		margin: auto;
/*		overflow: hidden;*/
	}

	.history table {
		table-layout: fixed;    /* 列幅指定を効かせる */ 
		width: 85%;            /* 余白を少し残して中央寄せ */
		font-size: 0.7rem;     /* スマホ用に少し小さめ */
	}
	.history td{
		padding-right: 5vw;
		padding-top : .5rem;
		padding-left: .5rem;
		padding-bottom: .5rem;
		border-bottom: 1px solid;
		vertical-align: middle;	
	}
	
	.history td:nth-child(1) {
	 	width: 25%;   /* 年代列を広げる */
	}

	.history td:nth-child(2) {
		width: 18%;   /* 月列も広げる */
	}

	.history td:nth-child(3) {
		width: 45%;   /* 本文列を狭める */
		word-break: break-word; /* 長文を折り返す */
	}
}

/*コンプライアンスｰｰｰｰｰｰｰｰｰｰｰｰ*/
.compliance-title {
	margin-left: 4rem;
	margin-top: 10rem;
}

.compliance-title h5 {
	font-size: .7rem;
}

.compliance-title h2 {
	width: 93%;
	font-size: 1.5rem;
	border-bottom: 1px solid;
}

.compliance {
	position: relative;
	width: 90%;
	height: auto;
	margin: auto;
}

.compliance p {
	position: relative;
	width: 80%;
	top: 2rem;;
	font-size: 1.3vw;
	line-height: 2rem;
/*	overflow: hidden;*/
	text-align: justify;
}

.compliance ol {
	padding-top: 5rem;
	padding-left: 10rem;
	font-size: 1.3vw;
	line-height: 3rem;
}

.compliance p,
.compliance ol {
	width: 90%;
	margin: auto;  /* 中央寄せ */
}

.compliance h2{
	position: relative;
	width: 95%;
	margin-top: 2rem; /* ← 安全に余白を確保 */
	margin-bottom: 2rem;
	font-size: 1.5vw;
	text-align: right;
}

/*コンプライアンス方針スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	.compliance-title {
		margin-left: 2rem;
		margin-top: 5rem;
	}

	.compliance-title h5 {
		font-size: .5rem;
	}

	.compliance-title h2 {
		width: 93%;
		font-size: 1rem;
		border-bottom: 1px solid;
	}

	.compliance {
		position: relative;
		width: 90%;
		height: auto;
		margin: auto;
	}

	.compliance p {
		position: relative;
		width: 80%;
		top: 1rem;;
		font-size: 1rem;
		line-height: 1.5rem;
		overflow: hidden;
		text-align: justify;
	}

	.compliance ol {
		padding-top: 3rem;
		padding-left: 2.5rem;
		font-size: 1rem;
		line-height: 2rem;
	}

	.compliance p,
	.compliance ol {
		width: 90%;
		margin: auto;  /* 中央寄せ */
	}

	.compliance h2{
		position: relative;
		width: 95%;
		margin-top: 1rem;
		margin-bottom: 2rem;
		font-size: 1rem;
		text-align: right;
	}
}