/* リセット */
*, *:before, *:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* 基本設定 */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.8;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	color: #333;
	min-height: 100vh;
}

/* 画像 */
img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

img.nomal {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

video {
	width: 100%;
}

/* ヘッダー */
header {
	width: 100%;
	margin: 0 auto 30px;
	background: linear-gradient(135deg, #0f6938 0%, #00a65a 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header:after {
	content: "";
	display: block;
	clear: both;
}

/* フッター */
footer {
	width: 100%;
	margin: 60px 0 0;
	padding: 30px 20px;
	background: linear-gradient(135deg, #0f6938 0%, #00a65a 100%);
	color: #fff;
	text-align: center;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

footer:after {
	content: "";
	display: block;
	clear: both;
}

/* 共通ボックス */
.box_100 {
	width: 100%;
	margin-bottom: 0;
}

.box_100:after {
	content: "";
	display: block;
	clear: both;
}

/* サブタイトル */
.subject {
	background: linear-gradient(135deg, #0f6938 0%, #00a65a 100%);
	margin: 0 0 20px;
	border-radius: 8px 8px 0 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subject h2 {
	color: #fff;
	padding: 18px 20px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.subject:after {
	content: "";
	display: block;
	clear: both;
}

/* コンテンツ枠 - カード型 */
article {
	margin-bottom: 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* YouTube埋め込み */
.movie {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
}

.movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* タイポグラフィ */
h1 {
	font-size: 14px;
	margin: 0;
	padding: 15px 20px;
	color: #fff;
	font-weight: 500;
}

h2 {
	font-size: 20px;
	margin: 0;
	font-weight: 600;
}

h3 {
	font-size: 18px;
	margin: 0;
	padding: 20px 20px 10px;
	color: #0f6938;
	font-weight: 600;
	border-bottom: 2px solid #e8f5e9;
}

p {
	font-size: 15px;
	line-height: 1.9;
	padding: 20px;
	color: #555;
}

ul {
	margin: 20px 20px 20px 50px;
}

li {
	font-size: 15px;
	margin-bottom: 8px;
	color: #555;
}

/* ボタン */
a.modoru {
	display: inline-block;
	font-size: 16px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #0f6938 0%, #00a65a 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 50px;
	margin: 20px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 166, 90, 0.3);
	transition: all 0.3s ease;
}

a.modoru:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 166, 90, 0.4);
	background: linear-gradient(135deg, #00a65a 0%, #0f6938 100%);
}

/* 画像レイアウト */
img.half {
	width: 100%;
}

/* タイトルボックス */
.box_title {
	width: 100%;
	padding: 40px 20px;
	text-align: center;
}

.box_title img {
	max-width: 400px;
	width: 90%;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* メインコンテンツエリア */
.box_main {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.box_main:after {
	content: "";
	display: block;
	clear: both;
}

.box_content {
	width: 100%;
	margin: 30px auto 0;
}

.box_content:after {
	content: "";
	display: block;
	clear: both;
}

.box_left {
	width: 100%;
	margin-top: 0;
}

.box_left:after {
	content: "";
	display: block;
	clear: both;
}

.box_right {
	width: 100%;
	margin-top: 30px;
}

.box_right:after {
	content: "";
	display: block;
	clear: both;
}

.box_right .subject + p {
	background: #fff;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.box_right iframe {
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	margin-top: 20px;
}

/* テーブル */
table {
	width: 100%;
	margin: 20px 0;
	font-size: 15px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
}

th,
td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}

th {
	background: linear-gradient(135deg, #f5f9f7 0%, #e8f5e9 100%);
	color: #0f6938;
	font-weight: 600;
	width: 100%;
	display: block;
}

td {
	display: block;
	width: 100%;
	color: #555;
}

tr:last-child th,
tr:last-child td {
	border-bottom: none;
}

/* フォーム */
#formWrap {
	width: 100%;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#formWrap p {
	padding: 0 0 20px;
	color: #666;
}

#formWrap h3 {
	margin: 0 0 20px;
	padding: 0;
	border: none;
}

table.formTable {
	width: 100%;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
}

table.formTable td,
table.formTable th {
	border: none;
	border-bottom: 1px solid #e0e0e0;
	padding: 16px 0;
	display: block;
}

table.formTable th {
	width: 100%;
	font-weight: 600;
	background: transparent;
	color: #0f6938;
	padding-bottom: 8px;
}

table.formTable td {
	width: 100%;
	padding-top: 8px;
}

table.formTable input[type="text"],
table.formTable input[type="email"],
table.formTable textarea,
table.formTable select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	font-family: inherit;
	background: #fafafa;
}

table.formTable input[type="text"]:focus,
table.formTable input[type="email"]:focus,
table.formTable textarea:focus,
table.formTable select:focus {
	outline: none;
	border-color: #00a65a;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 166, 90, 0.1);
}

table.formTable input[type="radio"] {
	margin-right: 8px;
	width: 18px;
	height: 18px;
	accent-color: #00a65a;
}

/* フォームボタンコンテナ */
#formWrap p[style*="text-align: center"] {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* フォームボタン全体のスタイル */
#formWrap input[type="submit"],
#formWrap input[type="reset"] {
	padding: 16px 48px;
	border: none;
	border-radius: 50px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	position: relative;
	overflow: hidden;
	min-width: 160px;
	letter-spacing: 0.05em;
}

/* 確認ボタン */
#formWrap input[type="submit"] {
	background: linear-gradient(135deg, #0f6938 0%, #00a65a 100%);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 166, 90, 0.35);
}

#formWrap input[type="submit"]:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 166, 90, 0.5);
	background: linear-gradient(135deg, #00a65a 0%, #0f6938 100%);
}

#formWrap input[type="submit"]:active {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 166, 90, 0.4);
}

/* リセットボタン */
#formWrap input[type="reset"] {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	color: #495057;
	border: 2px solid #dee2e6;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#formWrap input[type="reset"]:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-color: #adb5bd;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	color: #212529;
}

#formWrap input[type="reset"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* リップル効果用の疑似要素 */
#formWrap input[type="submit"]::before,
#formWrap input[type="reset"]::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

#formWrap input[type="submit"]:active::before,
#formWrap input[type="reset"]:active::before {
	width: 300px;
	height: 300px;
}

/* モバイルでのボタン最適化 */
@media (max-width: 599px) {
	#formWrap input[type="submit"],
	#formWrap input[type="reset"] {
		width: 100%;
		max-width: 280px;
		padding: 18px 32px;
		font-size: 16px;
	}
	
	#formWrap p[style*="text-align: center"] {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
}

/* タブレット（600px以上） */
@media screen and (min-width: 600px) {
	h1 {
		font-size: 16px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 20px;
	}

	img.half {
		width: 48%;
		float: left;
		margin-right: 2%;
	}

	.box_title {
		padding: 60px 20px;
	}

	.box_title img {
		max-width: 500px;
	}

	/* テーブル - タブレット */
	th,
	td {
		display: table-cell;
	}

	th {
		width: 35%;
		background: linear-gradient(135deg, #f5f9f7 0%, #e8f5e9 100%);
	}

	td {
		width: 65%;
	}

	table.formTable td,
	table.formTable th {
		display: table-cell;
		padding: 16px;
	}

	table.formTable th {
		width: 35%;
		padding-right: 20px;
	}

	table.formTable td {
		width: 65%;
	}
}

/* PC（980px以上） */
@media (min-width: 980px) {
	.box_main {
		padding: 0 30px;
	}

	.box_content {
		display: grid;
		grid-template-columns: 2fr 1fr;
		gap: 30px;
		margin: 40px auto 0;
	}

	.box_left {
		width: 100%;
	}

	.box_right {
		width: 100%;
		margin-top: 0;
	}

	article {
		margin-bottom: 50px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 22px;
	}

	p {
		font-size: 16px;
	}

	li {
		font-size: 16px;
	}
}

/* アニメーション */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

article {
	animation: fadeInUp 0.6s ease-out;
}

/* Google Maps */
iframe {
	width: 100%;
	height: 350px;
}
