/* *****************************************************************

Stylesheet: 会社概要ページ（全て）に適応

******************************************************************/


/*========== 企業理念1========== */

/*全体の幅調整*/
.company-policy1 .c-container {
	max-width:60% !important;
	margin:auto !important;
}
@media (max-width: 1024px) {
.company-policy1 .c-container {
		max-width:95% !important;
	}
}

/*h2の文字サイズ*/
.company-policy1 h2 {
		font-size: clamp(28px,3vw,38px);
	color: var(--sub-accent-color) !important;
}

/*h3タイトル部分の調整*/
.company-policy1 .smb-section__body {
	margin-top:30px;
}
.company-policy1 h3{
	font-size: clamp(24px, 2vw,28px);
	border-bottom:none !important;
}

/*テキストの調整*/
.company-policy1-text {
font-size: clamp(15px, 2vw,18px);
line-height:2.3rem;
}

/*========== 企業理念1========== */


/*========== 会社情報2========== */

/* h2タイトル調整 */
.company-table2 h2 {
	font-size: clamp(28px,3vw,38px);
	color: var(--sub-accent-color) !important;
}

/*全体の幅感*/	
.company-table2 .c-container {
	max-width:68% !important;
	margin:auto !important;
	}
@media (max-width: 1024px) {
.company-table2 .c-container {
		max-width:100% !important;
	}
}
@media (max-width: 639px) {
.company-table2 .c-container {
		max-width:95% !important;
	}
}

/*1行目調整*/
.company-table2-information td:nth-child(odd) {
  width: 25% !important;
	font-weight:bold;
	border-bottom:2px solid var(--sub-accent-color) !important;
}

/*2行目調整*/
.company-table2-information td:nth-child(even) {
	border-bottom:2px solid #EEEEEE !important;
}

@media (max-width: 639px) {
	/* 1列で表示させる */
	.company-table2-information > tbody > tr{
		display: flex;
		flex-direction: column;
		padding: 0!important;
	}
	/* 	横幅いっぱいに表示 */
	.company-table2 table.advgb-table-frontend td:nth-child(odd){
		width: 100%!important;
	}
	/* 	要素間のborderが同じになるように調整 */
	.company-table2 table.advgb-table-frontend > tbody > tr:not:(first-child){
		border-top: 0!important;
	}
	/* 要素間のborderが同じになるように調整 */
	.company-table2 table.advgb-table-frontend  > tbody >tr:not(:last-child){
		border-bottom: 0!important;
	}
}

/*テーブル内側の余白調整*/
@media (min-width: 640px) {
.company-table2-information td {
	padding:16px !important;
}
}

@media (max-width: 639px) {
	/*スマホ時のフォントサイズ調整*/
.company-table2 td {
	font-size:14px;
	}
}


/*===マップのサイズ調整===*/
.company-table3-map {
height: 0;
overflow: hidden;
/* ものによってこの数字を変える*/
padding-bottom: 40%;
position: relative;
}
@media (max-width: 639px) {
.company-table3-map {
padding-bottom: 75%;
}
}
.company-table3-map iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

/*========== 会社情報2〆========== */





/*========== 沿革3========== */

/* h2タイトル調整 */
.company-history3 h2 {
	font-size: clamp(28px,3vw,38px);
	color: var(--sub-accent-color) !important;
}

/*全体の幅感*/	
.company-history3 .c-container {
	max-width:68% !important;
	margin:auto !important;
	}
@media (max-width: 1024px) {
.company-history3 .c-container {
		max-width:100% !important;
	}
}
@media (max-width: 639px) {
.company-history3 .c-container {
		max-width:95% !important;
	}
}

/*1行目調整*/
.company-history3-information td:nth-child(odd) {
  width: 25% !important;
	font-weight:bold;
}

/*ボーダー設定*/
.company-history3-information td{
	border-top:2px solid #CCCCCC !important;	
}
.company-history3-information:last-child{
	border-bottom:2px solid #CCCCCC !important;
}

@media (max-width: 639px) {
	/* 1列で表示させる */
.company-history3-information > tbody > tr{
		display: flex;
		flex-direction: column;
		padding: 0!important;
	}
	/* 	横幅いっぱいに表示 */
.company-history3 table.advgb-table-frontend td:nth-child(odd){
		width: 100%!important;
	}
	/* 	要素間のborderが同じになるように調整 */
.company-history3 table.advgb-table-frontend > tbody > tr:not:(first-child){
		border-top: 0!important;
	}
	/* 要素間のborderが同じになるように調整 */
.company-history3 table.advgb-table-frontend  > tbody >tr:not(:last-child){
		border-bottom: 0!important;
	}
}

/*テーブル内側の余白調整*/
@media (min-width: 640px) {
.company-history3-information td {
	padding:16px !important;
}
}

@media (max-width: 639px) {
	/*スマホ時のフォントサイズ調整*/
.company-history3 td {
	font-size:14px;
	}
}

/*========== 沿革3〆========== */



