/*
Theme Name: Yawata Hakkon
Theme URI: https://yawata-hakkon.com
Description: 八幡八魂 - 和モダンな飲食店テーマ
Version: 1.0.0
Author: Custom Theme
Text Domain: yawata-hakkon
*/

/* ================================================
リセット & ベーススタイル
================================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	overscroll-behavior: none;
}

body {
	font-family: Serif, 'Noto Sans JP', 'Yu Gothic', '游ゴシック', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
	font-weight: 400;
	line-height: 1.8;
	color: #333;
	background: linear-gradient(rgb(255 255 255 / 100%), rgb(255 255 255 / 50%)), url(https://yawata-hakkon.com/wp-content/uploads/2025/11/back.webp) no-repeat center;
	background-attachment: fixed;
	background-size: cover;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.2rem;
}

h4 {
	font-size: 1.1rem;
}

/* ================================================
共通レイアウト
================================================ */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.page-header {
	padding-top: 80px;
}

.section {
	padding: 80px 0;
}

.section-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 2.0rem;
	font-weight: 600;
	text-align: center;
	position: relative;
}

.section-subtitle {
	position: relative;
	font-size: 1.0rem;
	text-align: center;
	color: #666;
	margin-bottom: 20px;
	padding-bottom: 20px;
	letter-spacing: 0.1em;
}

.section-subtitle::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 150px;
	height: 2px;
	background-color: #333;
}

@media (max-width: 768px) {

	.page-header {
		padding-top: 30px;
	}

	.section-subtitle::after {
		width: 100px;
		height: 1px;
	}

	.page-intro {
		font-size: 0.8rem;
	}

}

/* ================================================
ヘッダー
================================================ */
.site-header {
	background: linear-gradient(rgb(255 255 255 / 80%), rgb(255 255 255 / 50%)), url(https://yawata-hakkon.com/wp-content/uploads/2025/11/back.webp) no-repeat center;
	background-attachment: fixed;
	background-size: cover;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	height: 100px;
}

.site-logo {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.site-logo a {
	color: #333;
}

.site-logo img {
	width: auto;
	max-height: 60px;
}

/* ナビゲーション */
.main-nav ul {
	display: flex;
	list-style: none;
	gap: 30px;
}

.main-nav a {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 10px 20px;
	border-radius: 5px;
	transition: 0.3s ease;
}

.main-nav a:hover {
	transform: translateY(-3px);
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
	border-bottom: solid 2px #016428;
	opacity: 1;
}

/* ハンバーガーメニュー */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: #333;
	transition: all 0.3s ease;
}

.menu-toggle.active span:first-child {
	transform: rotate(45deg) translate(5px, 5px);
	transform-origin: center;
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}
.menu-toggle.active span:last-child {
	transform: rotate(-45deg) translate(5px, -5px);
	transform-origin: center;
}

@media (max-width: 768px) {

	.header-inner {
		padding: 10px 0;
		height: 80px;
	}

	.site-logo img {
		max-height: 40px;
	}

}

/* ================================================
ヒーローセクション
================================================ */
.hero {
	position: relative;
	height: calc(100vh - 100px);
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: #001b0b;
	overflow: hidden;
}

.hero-content {
	position: relative;
	text-align: center;
	z-index: 1;
}

.hero-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 4rem;
	font-weight: 700;
	margin: 5rem auto 7rem;
	letter-spacing: 0.1em;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title img {
	width: 400px;
	max-width: 70svw;
	height: auto;
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 40px;
	letter-spacing: 0.2em;
	opacity: 0.9;
}

.hero-description {
	font-size: 1.1rem;
	font-weight: 600;
	margin-left: 2rem;
}

@media (max-width: 768px) {

	.hero-description {
		font-size: 0.9rem;
	}

}

/* ================================================
ボタン
================================================ */
.btn {
	display: inline-block;
	padding: 15px 40px;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.1em;
	border: 2px solid #001b0b;
	border-radius: 5px;
	background-color: #001b0b;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: #fff;
	color: #001b0b;
	opacity: 1;
}

.btn-outline {
	background-color: transparent;
	color: #001b0b;
	border-color: #001b0b;
}

.btn-outline:hover {
	background-color: #001b0b;
	color: #fff
		;
}

.btn-large {

}

@media (max-width: 768px) {

	.btn {
		padding: 10px 30px;
		font-size: 0.8rem;
		border: 1px solid #001b0b;
	}

}

/* ================================================
コンセプトセクション
================================================ */
.concept {
	background-color: #f8f8f8;
	height: 50svh;
}

.concept-content {
	writing-mode: tb;
	max-width: 800px;
	margin: 0 auto;
	text-align: start;
	line-height: 2;
}

.concept-text {
	font-size: 1.1rem;
	margin-bottom: 20px;
}

@media (max-width: 768px) {

	.concept-text {
		font-size: 0.9rem;
	}

}

/* ================================================
メニューセクション
================================================ */
.menu-grid {
	display: flex;
	margin-bottom: 3rem;
	padding: 20px;
	backdrop-filter: blur(3px);
	background: #fff1;
	border: solid 1px #1a1a1a1a;
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-grid:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-item {
	display: flex;
}

.menu-item-image {
	max-width: 300px;
	width: auto;
	height: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	margin-right: 3rem;
	border-radius: 10px;
}

.menu-item-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 15px;
}

.menu-item-description {
	color: #666;
	margin-bottom: 15px;
	line-height: 1.8;
}

.menu-item-details {
	font-size: 0.9rem;
	color: #888;
	margin-bottom: 10px;
}

.menu-item-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #333;
	margin-top: 15px;
}

.wp-block-gallery.wp-block-gallery-1 {
	display: grid;
	grid-template-columns: repeat(8,1fr);
	margin: 3rem auto;
	gap: 5px!important;
}

.wp-block-gallery.wp-block-gallery-1 figure.wp-block-image {
	width: 100%!important;
	height: auto;
	aspect-ratio: 4/3;
}

@media (max-width: 768px) {

	.menu-item {
		display: block;
	}

	.menu-item-image {
		max-width: 100%;
		width: 100%;
		height: auto;
		margin-right: 0;
		margin-bottom: 1rem;
	}

	.menu-item-title {
		font-size: 1.0rem;
		margin-bottom: 5px;
	}

	.menu-item-description {
		font-size: 0.8rem;
		margin-bottom: 5px;
	}

	.menu-item-details {
		font-size: 0.8rem;
		margin-bottom: 5px;
	}

	.menu-item-price {
		font-size: 1.0rem;
		margin-top: 5px;
	}

	.wp-block-gallery.wp-block-gallery-1 {
		grid-template-columns: repeat(4,1fr);
	}

}

/* ================================================
メニューギャラリー
================================================ */
.menu-gallery-section {
	margin-bottom: 60px;
}

.menu-gallery .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin: 0;
}

.menu-gallery .gallery-item {
	margin: 0;
	overflow: hidden;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-gallery .gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.menu-gallery .gallery-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.menu-gallery .gallery-item:hover img {
	transform: scale(1.05);
}

.menu-gallery .gallery-caption {
	padding: 10px;
	text-align: center;
	font-size: 0.9rem;
	color: #666;
	background-color: #f8f8f8;
}

/* ギャラリーのカラム数調整 */
.menu-gallery .gallery-columns-2 {
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.menu-gallery .gallery-columns-3 {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.menu-gallery .gallery-columns-4 {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.menu-gallery .gallery {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 15px;
	}

	.menu-gallery .gallery-item img {
		height: 180px;
	}
}

/* ================================================
ギャラリー画像拡大表示（ライトボックス）
================================================ */
/* ライトボックスオーバーレイ */
.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
	display: flex;
}

/* ライトボックスコンテンツ */
.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	animation: zoomIn 0.3s ease;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
}

/* 閉じるボタン */
.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 36px;
	font-weight: 300;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	transition: transform 0.2s ease;
}

.lightbox-close:hover {
	transform: scale(1.2);
}

/* アニメーション */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* ギャラリー画像にカーソルポインター */
.menu-gallery img {
	cursor: zoom-in;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.lightbox-content {
		max-width: 95%;
		max-height: 80vh;
	}

	.lightbox-close {
		top: -35px;
		font-size: 30px;
	}
}

/* 前後ナビゲーションボタン */
.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	border: none;
	padding: 0;
	width: 50px;
	height: 60px;
	transition: background-color 0.3s ease;
	z-index: 10000;
}

.lightbox-nav:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-nav:active {
	background-color: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

/* 画像カウンター */
.lightbox-counter {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 5px 15px;
	border-radius: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.lightbox-nav {
		font-size: 24px;
		width: 40px;
		height: 50px;
		padding: 10px 8px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}

	.lightbox-counter {
		bottom: -35px;
		font-size: 12px;
		padding: 4px 12px;
	}
}

/* ================================================
予約セクション
================================================ */
.reservation {
	text-align: center;
}

.reservation-info-box {
	margin: 0 auto 40px;
	padding: 40px;
	line-height: 2;
}

.reservation-notes {
	background-color: rgb(1 100 40 / 10%);
	padding: 30px;
	margin: 40px auto;
	border-radius: 5px;
}

.reservation-notes ul {
	list-style: none;
	text-align: left;
}

.reservation-notes li {
	padding-left: 1.5em;
	margin-bottom: 10px;
	position: relative;
}

.reservation-notes li::before {
	content: '・';
	position: absolute;
	left: 0;
}

.reservation-rules {
	padding: 40px;
}

@media (max-width: 768px) {

	.reservation {
		font-size: 0.8rem;

	}

	.reservation-info-box {
		margin: 0 auto 40px;
		padding: 20px;
	}

	.reservation-method {
		font-size: 0.8rem;
	}

	.reservation-rules {
		padding: 20px;
		font-size: 0.8rem;
	}

}

/* ================================================
店舗情報セクション
================================================ */
.store-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.info-item {
	padding: 20px;
	background-color: #f8f8f8;
	border-left: 3px solid #333;
}

.store-image-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-label {
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 0.95rem;
	color: #666;
}

.info-value {
	font-size: 1.1rem;
	line-height: 1.8;
}

@media (max-width: 768px) {

	.store-image-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.info-grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 10px;
	}

	.store-image-item:first-child {
		grid-column: 1/3;
	}

	.info-label {
		margin-bottom: 5px;
		font-size: 0.8rem;
	}

	.info-value {
		font-size: 0.9rem;
	}

}

/* ================================================
アクセスセクション
================================================ */
.access-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.access-map {
	width: 100%;
	height: 400px;
	border: 1px solid #e0e0e0;
}

.access-info {
	padding: 20px;
}

.access-address {
	font-size: 1.2rem;
	margin-bottom: 20px;
	font-weight: 600;
}

.access-details {
	line-height: 2;
	color: #666;
}


@media (max-width: 768px) {

	.access-info {
		text-align: center;
	}

	.access-address {
		font-size: 1.0rem;
		margin-bottom: 10px;
	}

	.access-details {
		font-size: 0.8rem;
	}

}

/* ================================================
お問い合わせフォーム
================================================ */
.contact-form {
	margin: 0 auto;
}

.form-group {
	margin-bottom: 25px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-label.required::after {
	content: '*';
	color: #d00;
	margin-left: 5px;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #333;
}

.form-textarea {
	min-height: 150px;
	resize: vertical;
}

.form-submit {
	text-align: center;
	margin-top: 30px;
}

/* ================================================
Contact Form 7 スタイル
================================================ */
/* フォーム全体 */
.wpcf7 {
	margin: 0 auto;
}

.wpcf7-form {
	background-color: #fffa;
	border-radius: 10px;
	padding: 3rem;
}

/* ラベル */
.wpcf7-form label {
	display: block;
	margin-bottom: 25px;
	font-weight: 600;
	color: #333;
}

/* 必須マーク */
.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

/* 入力フィールド共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: all 0.3s ease;
	background-color: #fff;
}

/* フォーカス時 */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #333;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* テキストエリア */
.wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* セレクトボックス */
.wpcf7-form select {
	cursor: pointer;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath fill="%23333" d="M6 8L0 0h12z"/%3E%3C/svg%3E');
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 10px;
	padding-right: 40px;
}

/* チェックボックス・ラジオボタン */
.wpcf7-form .wpcf7-list-item {
	margin: 0 0 10px 0;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
	width: auto;
	margin-right: 8px;
	cursor: pointer;
}

.wpcf7-form .wpcf7-list-item-label {
	cursor: pointer;
}

/* 承認チェックボックス */
.wpcf7-form .wpcf7-acceptance {
	margin: 20px 0;
}

.wpcf7-form .wpcf7-acceptance label {
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	margin-right: 8px;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
	display: inline-block;
	padding: 15px 40px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.1em;
	border: 2px solid #001b0b;
	border-radius: 5px;
	background-color: #001b0b;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	width: auto;
	min-width: 200px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
	background-color: #fff;
	color: #001b0b;
	opacity: 1;
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* 送信ボタンのラッパー */
.wpcf7-form p:has(input[type="submit"]),
.wpcf7-form p:has(button[type="submit"]) {
	text-align: center;
	margin-top: 30px;
}

/* バリデーションエラー */
.wpcf7-form .wpcf7-not-valid-tip {
	color: #d00;
	font-size: 0.9rem;
	margin-top: 5px;
	display: block;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
	border-color: #d00;
	background-color: #fff5f5;
}

/* 送信中のスピナー */
.wpcf7-form .wpcf7-spinner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-left-color: #333;
	border-radius: 50%;
	animation: wpcf7-spin 1s linear infinite;
	margin-left: 10px;
	vertical-align: middle;
}

@keyframes wpcf7-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 送信完了メッセージ */
.wpcf7-response-output {
	margin: 30px 0 0 0;
	padding: 20px;
	border: 2px solid;
	border-radius: 3px;
	text-align: center;
	font-weight: 600;
}

.wpcf7-mail-sent-ok {
	border-color: #4caf50;
	background-color: #e8f5e9;
	color: #2e7d32;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
	border-color: #f44336;
	background-color: #ffebee;
	color: #c62828;
}

.wpcf7-spam-blocked {
	border-color: #ff9800;
	background-color: #fff3e0;
	color: #e65100;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.wpcf7-form {
		padding: 1rem;
	}

	.wpcf7-form label {
		margin-bottom: 15px;
	}

	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="tel"],
	.wpcf7-form input[type="url"],
	.wpcf7-form input[type="number"],
	.wpcf7-form input[type="date"],
	.wpcf7-form select,
	.wpcf7-form textarea {
		font-size: 14px; /* iOSのズームを防ぐ */
		padding: 10px;
	}

	.wpcf7-form input[type="submit"],
	.wpcf7-form button[type="submit"] {
		width: 100%;
		padding: 10px 30px;
		font-size: 0.8rem;
		border: 1px solid #001b0b;
	}

	.wpcf7-form .wpcf7-not-valid-tip {
		font-size: 0.8rem;
	}

	.wpcf7-response-output {
		font-size: 0.8rem;
	}
}

/* ================================================
フッター
================================================ */
.site-footer {
	background-color: #001b0b;
	color: #fff;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.2rem;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section p,
.footer-section li {
	color: #ccc;
	line-height: 1.8;
}

.footer-nav ul {
	list-style: none;
}

.footer-nav li {
}

.footer-nav a {
	width: 100%;
	color: #ccc;
	display: block;
	padding: 5px 10px;
	border-radius: 5px;
	transition: 0.3s ease;
}

.footer-nav a:hover {
	background: #016428;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #888;
	font-size: 0.9rem;
}

@media (max-width: 768px) {

	.site-footer {
		padding: 30px 0 20px;
	}

	.footer-content {
		gap: 20px;
		margin-bottom: 20px;
	}

	.footer-section h3 {
		font-size: 1.0rem;
		margin-bottom: 10px;
		padding-bottom: 10px;
	}

	.footer-section p,
	.footer-section li {
		font-size: 0.8rem;
	}

}

/* ================================================
レスポンシブ
================================================ */
@media (max-width: 768px) {
	h2 {
		font-size: 1.1rem;
	}

	h3 {
		font-size: 1.0rem
	}

	h4 {
		font-size: 0.9rem;
	}

	p {
		font-size: 0.8rem;
	}

	ul li,
	ol li {
		font-size: 0.8rem
	}

	.section {
		padding: 60px 0;
	}

	.section-title {
		font-size: 2rem;
		margin-bottom: 40px;
	}

	/* ヘッダー */
	.menu-toggle {
		display: flex;
	}

	.main-nav {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background-color: #fff;
		transition: left 0.3s ease;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
	}

	.main-nav.active {
		left: 0;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 30px;
	}

	.main-nav li {

	}

	.main-nav a {
		display: block;
		padding: 15px 0;
	}

	.terms-content table {
		font-size: 0.8rem;
	}

	/* グリッド */
	.menu-grid,
	.info-grid {
		grid-template-columns: 1fr;
	}

	.access-content {
		grid-template-columns: 1fr;
	}

	/* ボタン */
	.btn-large {
		padding: 15px 40px;
		font-size: 1rem;
	}
}

/* ================================================
ユーティリティクラス
================================================ */
.text-center {
	text-align: center;
}

.mt-20 {
	margin-top: 20px;
}

.mt-40 {
	margin-top: 40px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mb-40 {
	margin-bottom: 40px;
}

/* ================================================
Google Fonts読み込み
================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');
}

.footer-nav a:hover {
	background: #1a1a1add;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #888;
	font-size: 0.9rem;
}

@media (max-width: 768px) {

	.footer-bottom {
		padding-top: 20px;
		font-size: 0.7rem;
	}

}

/* ================================================
レスポンシブ
================================================ */
@media (max-width: 768px) {
	.section {
		padding: 60px 0 30px;
	}

	.section-title {
		font-size: 1.2rem;
		margin-bottom: 0;
	}

	.section-subtitle {
		font-size: 0.8rem;
		margin-bottom: 20px;
		padding-bottom: 10px;
	}

	/* ヘッダー */
	.menu-toggle {
		display: flex;
	}

	.main-nav {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background-image: url(https://yawata-hakkon.com/wp-content/uploads/2025/11/hero.png);
		background-size: cover;
		background-position: center;
		transition: left 0.3s ease;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
	}

	.main-nav.active {
		left: 0;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 30px;
	}

	.main-nav li {

	}

	.main-nav a {
		display: block;
		padding: 10px;
		border-bottom: 1px solid #001b1b1b;
	}

	.main-nav a:hover {
		transform: none;
		box-shadow: none;
		border-bottom: solid 1px #016428;
	}

	/* ヒーロー */
	.hero {
		height: calc(100vh - 80px);
		min-height: 400px;
	}

	.hero-title {
		font-size: 2.5rem;
		margin: 3rem auto 5rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	/* グリッド */
	.menu-grid,
	.info-grid {
		grid-template-columns: 1fr;
	}

	.access-content {
		grid-template-columns: 1fr;
	}

	/* ボタン */
	.btn-large {
		padding: 10px 30px;
		font-size: 0.8rem;
	}
}

/* ================================================
ユーティリティクラス
================================================ */
.text-center {
	text-align: center;
}

.mt-20 {
	margin-top: 20px;
}

.mt-40 {
	margin-top: 40px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mb-40 {
	margin-bottom: 40px;
}

/* ================================================
Google Fonts読み込み
================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');
