/* ========================================
   Reset / Base
======================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: sans-serif;
	color: #222;
	background: #fff;
	line-height: 1.7;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}



table {
	border-collapse: collapse;
	border-spacing: 0;
}

.red{
color: #FF0000;
}

/* ========================================
   Common Layout
======================================== */
.site-main {
	display: block;
}

.inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* ========================================
   Utility
======================================== */
.pc-only {
	display: block;
}

.sp-only {
	display: none;
}

@media (max-width: 768px) {
	.inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.pc-only {
		display: none;
	}

	.sp-only {
		display: block;
	}
}

/* ========================================
   Hero（共通）
======================================== */
.page-hero {
	
	
}

.page-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;

	display: flex;
	align-items: center;
	min-height: 181px; /* ←少し詰める */

	background: url('/wp-content/themes/kaisei/assets/img/page-index.png') no-repeat right center;
	background-size: 1200px 100%; /* ←ここが重要 */
}

.page-hero__content {
	position: relative;
	z-index: 2; /* 背景の上に乗せる */
}

.page-hero__title {
	margin: 0 0 3px;
	font-size: 32px;
	font-weight: 700;
	color: #204A99;
    border-bottom: 3px solid #E62228;
    letter-spacing: 5px;
}

.page-hero__subtitle {
	margin: 0;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #8d7f6e;
    text-align: center;
}

@media (max-width: 768px) {
	.page-hero {
		padding: 40px 0;
	}

	.page-hero__inner {
		display: block;
		min-height: auto;
		padding: 0 16px;

		background: none; /* ←重要 */
	}

	.page-hero__title {
		font-size: 24px;
	}

	.page-hero__subtitle {
		font-size: 12px;
	}
}

.form-submit-wrap {
	margin: 40px auto 0;
	max-width: 750px;
}

.form-submit {
	display: block;
	width: 100%;
	max-width: 750px;
	min-height: 80px;
	padding: 20px 24px;
	border: none;
	border-radius: 12px;
	background: #31A70E;
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
    margin: 0 auto;
}

.form-submit:hover {
	opacity: 0.9;
}

@media (max-width: 768px) {
	.form-submit {
		min-height: 64px;
		font-size: 16px;
		padding: 16px 20px;
	}
}
/* フォーム全体 */
.contact-form {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
}

/* 各項目 */
.contact-form .form-label {
	display: block;
	margin-bottom: 16px;
}

/* ラベル */
.contact-form .form-label__text {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
}

/* 入力欄 共通 */
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 150%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	font-size: 14px;
}

/* テキストエリア高さ */
.contact-form textarea {
	min-height: 160px;
	resize: vertical;
    width: 165%;
}

/* セレクト */
.contact-form select {
	height: auto;
}
@media (min-width: 769px) {

	.contact-form .form-label {
		display: flex;
		align-items: center;
		gap: 20px;
	}

	.contact-form .form-label__text {
		width: 220px;
		flex-shrink: 0;
		margin-bottom: 0;
	}

	.contact-form input,
	.contact-form select,
	.contact-form textarea {
		flex: 1;
	}

}
@media (max-width: 769px) {
    /* 入力欄 共通 */
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	font-size: 14px;
}

/* テキストエリア高さ */
.contact-form textarea {
	min-height: 160px;
	resize: vertical;
    width: 100%;
}
}