@charset "utf-8";

/*----------------------------------------*/
/* 基本パーツ */
/*----------------------------------------*/

main{
    padding-top: 80px; /* ヘッダー分繰り下げ */
}


/* --- 見出し --- */
h3{
	margin: 100px 0 50px 0;
	color: var(--main-green);
	font-size: 3.6rem;
	font-weight: 500;
}

.page_contents p{
	margin: 0 0 20px 0;
}


/* フォント・テキスト関連 */
.f_green{
	color: var(--main-green);
}

.f_24{
	font-size: 2.4rem;
}

.f_100{
	font-size: 10rem;
}

.txt_center{
	text-align: center;
}


/* --- パンくずリスト --- */
.pankuzu{
	margin: 20px auto;
	font-size: 1.2rem;
}


/* --- 表 --- */

table{
	max-width: 1000px;
	width: 100%;
	margin: 40px auto;
	border-spacing: 0;
}

th, td{
	padding: 20px 20px 20px 100px;
	border-bottom: 1px solid #fff;
	font-weight: 400;
	text-align: left;
}

th{
	background-color: var(--main-green);
	color: #fff;
}

td{
	background-color: var(--bg-green);
}


/* --- 記述リスト --- */

dl{
	display: flex;
	width: 100%;
	margin-bottom: 20px;
}

dt{
	width: 150px;
}

dd{
	width: calc(100% - 150px);
}


/*----------------------------------------*/
/* ページタイトル */
/*----------------------------------------*/

.title_bg{
	position: relative;
	width: 100%;
	height: 520px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

h2{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 0 20px;
	color: #fff;
	font-size: 4rem;
	font-weight: 500;
	text-align: center;
}


/* --- ページごとに背景を変える --- */

/* 理事長あいさつ */
#message .title_bg{
	background-image: url(../images/message_title_bg.jpg);
}

#about .title_bg{
	background-image: url(../images/about_title_bg.jpg);
}

#achievements .title_bg{
	background-image: url(../images/achievements_title_bg.jpg);
}

#inquiry .title_bg{
	background-image: url(../images/inquiry_title_bg.jpg);
}


/*----------------------------------------*/
/* 理事長あいさつ */
/*----------------------------------------*/

.message_title{
	display: flex;
	justify-content: end;
}

.chairman{
	display: flex;
	align-items: flex-end;
	gap: 40px;
}

.chairman p{
	margin: 0;
}

.chairman img{
	max-width: 300px;
}


/*----------------------------------------*/
/* 群馬県建築設計センターについて */
/*----------------------------------------*/

img.about_soshiki{
	max-width: 1000px;
	margin: 0 auto;
}

/*----------------------------------------*/
/* 実績一覧 */
/*----------------------------------------*/

/* --- 受託年から探す --- */
.achievements_year_list{
	padding: 40px 0 20px 0;
	background-color: var(--bg-green);
}

.achievements_year_list ul{
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
}

.achievements_year_list li{
	position: relative;
	list-style: none;
	width: calc(100% / 8);
	padding: 0 0 20px 0;
	font-size: 1.8rem;
	text-align: center;
}


/* --- 実績 --- */
.achievements_list{
	display: flex;
	flex-wrap: wrap;
	gap: 80px;
	padding: 0;
}

.achievements_list li{
	list-style: none;
	width: calc((100% - 160px) / 3);
}

.achievements_list p {
    min-height: 90px;
	margin-bottom: 10px;
}

.achievements_list p.min_h_115 {
    min-height: 115px;
}

.list_other{
	padding: 40px 0;
	margin: 80px 0 0 0;
	background-color: var(--bg-green);
}

.list_other h3{
	margin: 0 0 50px 0;
	text-align: center;
}

.list_other ul{
	display: flex;
	flex-wrap: wrap;
	gap: 20px 80px;
}

.list_other li{
	width: calc((100% - 160px) / 3);
}


/*----------------------------------------*/
/* お問い合わせ */
/*----------------------------------------*/
.contact_form{
	max-width: 100%;
}

.contact_form th,
.contact_form td{
	padding: 20px;
	border-top: none;
	border-bottom: 1px solid #d9d9d9;
	color: var(--sub-font-color);
}

.contact_form th{
	width: 360px;
	background-color: var(--bg-green);
	font-weight: 600;
}

.contact_form tr:first-of-type th,
.contact_form tr:first-of-type td{
	border-top: 1px solid #d9d9d9;
}

.contact_form td{
	background-color: #fff;
}

.contact_form span{
	display: inline-block;
	width: 160px;
}
.contact_form .label_required{
	width: 60px;
	padding: 4px;
	margin-left: 10px;
	background-color: var(--caution-red);
	color: #fff;
	font-size: 1.2rem;
	text-align: center;
	line-height: 1;
}

.contact_form input,
.contact_form textarea{
	display: block;
	width: 100%;
	border: 2px solid #d9d9d9;
}

.contact_form input:focus,
.contact_form textarea:focus{
	outline: 0;
	border: 2px solid var(--main-green);
}

input[type=submit]{
	display: inline-block;
	max-width: 250px;
	width: 100%;
	padding: 20px;
	margin: 40px auto;
	background-color: #fff;
	border: 1px solid var(--main-green);
	color: var(--main-green);
	font-weight: 500;
	line-height: 2rem;
	text-align: center;
	cursor: pointer;
	transition: 0.3s ease;
}

input[type=submit]:hover{
	background-color: var(--main-green);
	color: #fff;
	transition: 0.3s ease;
}


@media screen and (max-width: 1280px){
	/* --- 小型PC用 --- */

	/*----------------------------------------*/
	/* ページタイトル */
	/*----------------------------------------*/

	.title_bg{
		height: 320px;
	}


	/*----------------------------------------*/
	/* 理事長あいさつ */
	/*----------------------------------------*/

	.message_title{
		display: flex;
		gap: 20px;
		flex-direction: column;
		justify-content: space-between;
	}

	.chairman {
		display: flex;
		justify-content: end; /* 右寄せ */
		align-items: flex-end;
	}

	.chairman img{
		max-width: 200px;
	}


	/*----------------------------------------*/
	/* 実績一覧 */
	/*----------------------------------------*/

	/* --- 受託年から探す --- */
	.achievements_year_list li{
		width: calc(100% / 6);
	}

	/* --- 実績 --- */
	.achievements_list{
		gap: 40px;
	}

	.achievements_list li{
		width: calc((100% - 80px) / 3);
	}


}


@media screen and (max-width: 959px){
	/* --- タブレット＆スマホ用 --- */

	/*----------------------------------------*/
	/* 基本パーツ */
	/*----------------------------------------*/

	main{
		padding-top: 60px; /* ヘッダー分繰り下げ */
	}


	/* --- 見出し --- */
	h3{
		margin: 60px 0 30px 0;
		font-size: 2.4rem;
	}

	/* フォント関連 */
	.f_24{
		font-size: 2rem;
	}

	.f_100{
		font-size: 8rem;
	}


	/* --- 表 --- */
	th, td{
		padding: 10px;
	}


	/*----------------------------------------*/
	/* ページタイトル */
	/*----------------------------------------*/

	h2{
		font-size: 3.2rem;
	}


	/*----------------------------------------*/
	/* 実績一覧 */
	/*----------------------------------------*/

	/* --- 受託年から探す --- */
	.achievements_year_list{
		padding: 20px 0 5px 0;
	}

	.achievements_year_list li{
		width: calc(100% / 4);
		font-size: 1.6rem;
	}

	/* --- 実績 --- */
	.achievements_list{
		gap: 40px;
	}
	
	.achievements_list li{
		width: calc((100% - 40px) / 2);
	}

	.achievements_list p {
		min-height: 80px;
	}
	
	.achievements_list p.min_h_115 {
		min-height: 100px;
	}

	.list_other{
		padding: 40px 0;
		margin: 60px 0 0 0;
	}
	
	.list_other h3{
		margin: 0 0 30px 0;
	}
	
	.list_other ul{
		gap: 20px 40px;
	}
	
	.list_other li{
		width: calc((100% - 40px) / 2);
	}


	/*----------------------------------------*/
	/* お問い合わせ */
	/*----------------------------------------*/

	.contact_form th{
		width: 260px;
	}

	.contact_form span{
		display: inline-block;
		width: 140px;
	}
	

}




@media screen and (max-width: 540px) {
	/* --- スマホ用 --- */

	/*----------------------------------------*/
	/* 基本パーツ */
	/*----------------------------------------*/

	/* --- 見出し --- */
	h3{
		margin: 40px 0 20px 0;
		font-size: 2rem;
	}

	.page_contents p{
		margin: 0 0 15px 0;
	}

	/* フォント関連 */
	.f_24{
		font-size: 1.6rem;
	}

	.f_100{
		font-size: 5rem;
	}


	/* --- 表 --- */
	table{
		margin: 20px auto;
	}

	th, td{
		display: block;
		width: 100%;
		padding: 10px 10px 10px 10px;
	}


	/* --- 記述リスト --- */
	dl{
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin-bottom: 15px;
	}

	dt, dd{
		width: 100%;
	}


	/*----------------------------------------*/
	/* ページタイトル */
	/*----------------------------------------*/

	.title_bg{
		height: 200px;
	}

	h2{
		font-size: 2.4rem;
	}



	/*----------------------------------------*/
	/* 理事長あいさつ */
	/*----------------------------------------*/

	.chairman {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
		align-items: center;
		gap: 20px;
	}

	.chairman img{
		max-width: 150px;
	}


	/*----------------------------------------*/
	/* 実績一覧 */
	/*----------------------------------------*/

	/* --- 受託年から探す --- */
	.achievements_year_list{
		padding: 20px 0 5px 0;
	}

	.achievements_year_list li{
		width: calc(100% / 2);
		font-size: 1.6rem;
	}

	/* --- 実績 --- */
	.achievements_list{
		gap: 40px;
	}
	
	.achievements_list li{
		width: 100%;
	}

	.achievements_list p {
		min-height: auto;
	}
	
	.achievements_list p.min_h_115 {
		min-height: auto;
	}

	.list_other{
		padding: 40px 0;
		margin: 60px 0 0 0;
	}
	
	.list_other h3{
		margin: 0 0 30px 0;
	}
	
	.list_other ul{
		gap: 20px;
	}
	
	.list_other li{
		width: 100%;
	}
	

	/*----------------------------------------*/
	/* お問い合わせ */
	/*----------------------------------------*/

	.contact_form th,
	.contact_form td{
		width: 100%;
	}

	.contact_form th{
		padding: 10px 20px;
	}

	.contact_form tr:first-of-type td{
		border-top: none;
	}

	.contact_form span{
		display: inline-block;
		width: 140px;
	}

}