/* ==========================================================================
   なかもと整骨院 - メインスタイルシート
   TODO: Figmaのスタイルガイドから正式なカラーコード/フォントを反映する
   ========================================================================== */

:root {
	/* 色管理用の変数 */
	--white-color: #ffffff;
	--black-color: #1a1a1a;
	--gray-color: #999999; /* 汎用グレー(テキスト・ボーダー) */
	--gray-color-02: #f5f5f5; /* 薄いグレー(背景・プレースホルダー用) */
	--gray-color-03: #333333; /* 濃いグレー(フッター背景等) */
	--bg-color: #f3e9dd; /* ベース背景(お客様の声セクション等) */
	--primary-color: #b08d57; /* TODO: Figmaのプライマリーカラーに置き換え */
	--primary-color-dark: #7d6440; /* primary-colorを暗くした版。白文字ボタン等、コントラスト比確保が必要な箇所で使用 */
	--accent-color: #06c755; /* LINE等のアクセントカラー */
	--line-color-dark: #056e3a; /* accent-colorを暗くした版。白背景に文字色として使う際のコントラスト比確保用 */
	--orange-color: #fc7f24; /* ヘッダーCTAボタン(予約する/お問い合わせ)用。ユーザー指定のブランドカラー(2026-09-02指定、WCAG AAのコントラスト比は未達なので要注意。CLAUDE.md参照) */
	--logo-color: #3f342d; /* ヘッダーロゴ文字用。ユーザー指定カラー(2026-09-08) */
	--btn-reserve-gradient-start: #ff9422; /* 予約するボタンの背景グラデーション(左)。ユーザー指定カラー(2026-09-08) */
	--btn-reserve-gradient-end: #ffc44d; /* 予約するボタンの背景グラデーション(右)。ユーザー指定カラー(2026-09-08) */
	--border-color: #999999;
}

:root {
	/* コンテンツ幅管理用の変数 */
	--content-width-sm: 800px;
	--content-width: 1200px;
	--content-width-lg: 1400px;
}

:root {
	/* z-index管理用の変数 */
	--z-index-back: -1;
	--z-index-default: 1;
	--z-index-header: 100;
	--z-index-menu: 150;
	--z-index-modal: 200;
}

:root {
	/* セクション間の余白管理用の変数(PC: 160px / スマホ: 80px) */
	--section-spacing: 80px;
}

@media (min-width: 769px) {
	:root {
		--section-spacing: 160px;
	}
}

:root {
	/* headerの高さ管理用の変数(PC: 120px / スマホ: 60px) */
	--header-height: 120px;
}

@media (max-width: 768px) {
	:root {
		--header-height: 60px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	color: var(--black-color);
	background: var(--white-color);
	font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	line-height: 1.7;
	overflow-wrap: break-word;
}

body.is-nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* アンカーリンクの着地位置調整(固定ヘッダー分のオフセット) */
#reasons,
#concerns,
#voices,
#accident,
#pricing,
#about-me,
#gallery,
#access {
	scroll-margin-top: 96px;
}

/* ---------- utility ---------- */

/* 視覚的には隠すがスクリーンリーダーには読み上げさせる(SEO/アクセシビリティ用の補助テキスト) */
.u-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* キーボード操作時にメインコンテンツへ飛べるスキップリンク */
.skip-link {
	position: absolute;
	top: -200px;
	left: 8px;
	z-index: var(--z-index-modal);
	background: var(--black-color);
	color: var(--white-color);
	padding: 12px 24px;
	border-radius: 8px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 8px;
}

/* キーボード操作時のフォーカスを視認できるようにする */
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--primary-color-dark);
	outline-offset: 2px;
}

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- layout ---------- */

.container,
.container-sm,
.container-lg {
	width: 100%;
	padding-inline: 16px;
	margin-inline: auto;
}

.container-sm {
	max-width: calc(var(--content-width-sm) + 32px);
}

.container {
	max-width: calc(var(--content-width) + 32px);
}

.container-lg {
	max-width: calc(var(--content-width-lg) + 32px);
}

.section-title {
	position: relative;
	z-index: 0;
	text-align: center;
	color: var(--gray-color-03);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 56px;
	padding-bottom: 20px;
}

/* 見出しの背後に薄く重ねる英字(飾り文字)。各テンプレートのh2にdata-en属性で単語を指定 */
.section-title::before {
	content: attr(data-en);
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -62%);
	z-index: -1;
	font-size: 60px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: rgba(176, 141, 87, 0.18);
	white-space: nowrap;
	pointer-events: none;
}

.section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 48px;
	height: 3px;
	border-radius: 999px;
	background: var(--primary-color-dark);
}

.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 0.03em;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px) scale(1.05);
}

.btn--reserve {
	background: linear-gradient(90deg, var(--btn-reserve-gradient-start) 0%, var(--btn-reserve-gradient-end) 100%);
	color: var(--white-color);
}

.btn--reserve:hover {
	background: var(--white-color);
	border-color: var(--btn-reserve-gradient-start);
	color: var(--btn-reserve-gradient-start);
	transform: none;
}

.btn--line {
	background: var(--white-color);
	border-color: var(--orange-color);
	color: var(--orange-color);
}

.btn--line:hover {
	background: linear-gradient(90deg, var(--btn-reserve-gradient-start) 0%, var(--btn-reserve-gradient-end) 100%);
	border-color: transparent;
	color: var(--white-color);
	transform: none;
}

/* ヘッダー
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-index-header);
	background: var(--white-color);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	height: var(--header-height);
	padding-inline: 16px;
	transition: height 0.3s ease;
}

.site-header__logo {
	grid-column: 1;
	justify-self: start;
	height: 100%;
}

.site-header__nav {
	grid-column: 2;
}

.site-header__logo a {
	display: flex;
	align-items: center;
	height: 100%;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--logo-color);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.site-header__logo a:hover {
	opacity: 0.7;
}

.site-header__nav ul {
	display: flex;
	justify-content: center;
	gap: 24px;
}

.site-header__nav a {
	position: relative;
	text-decoration: none;
}

.site-header__nav a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.site-header__nav a:hover::before {
	transform: scaleX(1);
}

.site-header__nav-cta {
	display: none;
}

.site-header__cta {
	grid-column: 3;
	justify-self: end;
	display: flex;
	gap: 16px;
}

.site-header__cta .btn--reserve {
	padding-block: 8px;
}

.site-header__hamburger {
	grid-column: 3;
	justify-self: end;
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 32px;
	height: 28px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
	z-index: var(--z-index-modal);
}

.site-header__hamburger-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--black-color);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__hamburger.is-active .site-header__hamburger-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.site-header__hamburger.is-active .site-header__hamburger-bar:nth-child(2) {
	opacity: 0;
}

.site-header__hamburger.is-active .site-header__hamburger-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* KV(ファーストビュー)
   ========================================================================== */
.kv {
	position: relative;
}

.kv__slideshow {
	position: relative;
	width: 100%;
	height: 90vh;
	max-height: 900px;
	overflow: hidden;
}

.kv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	z-index: var(--z-index-back);
}

.kv__slide.is-active {
	opacity: 1;
	z-index: var(--z-index-default);
}

.kv__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 6s ease-out;
}

.kv__slide.is-active img {
	transform: scale(1.08);
}

.kv__slide--placeholder {
	background: var(--gray-color-02);
}

.kv__catch {
	position: absolute;
	left: 0;
	bottom: 18%;
	z-index: var(--z-index-default);
	padding: 0 40px;
	pointer-events: none;
}

.kv__catch-title {
	margin: 0;
	color: var(--white-color);
	font-size: clamp(1.375rem, 3.2vw, 2.5rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.7;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35);
	animation: kv-catch-in 1.2s ease both;
	animation-delay: 0.3s;
}

@keyframes kv-catch-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kv__catch-title {
		animation: none;
	}
}

.kv__floating-card {
	position: absolute;
	right: 24px;
	bottom: -40px;
	z-index: var(--z-index-default);
	width: min(640px, calc(100% - 32px));
	background: var(--white-color);
	color: var(--black-color);
	padding: 24px;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.kv__timetable {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	background: var(--white-color);
	color: var(--black-color);
}

.kv__timetable th,
.kv__timetable td {
	border: none;
	padding: 8px;
}

/* 縦線:見出し列(診療時間/午前/午後)と月曜列の間に1本 */
.kv__timetable th:first-child,
.kv__timetable td:first-child {
	border-right: 2px solid var(--primary-color);
}

/* 横線:曜日見出し行と午前行の間、午前行と午後行の間の2本 */
.kv__timetable tbody tr:first-child th,
.kv__timetable tbody tr:first-child td {
	border-top: 2px solid var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
}

.kv__timetable-note {
	margin: 8px 0 0;
	font-size: 0.85rem;
}

/* 選ばれる理由
   ========================================================================== */
.reasons {
	padding: var(--section-spacing) 0;
	background: var(--gray-color-02);
}

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

.reasons__item {
	background: var(--white-color);
	text-align: center;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.reasons__item:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.reasons__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.reasons__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reasons__body {
	padding: 32px 24px;
}

.reasons__badge {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
}

.reasons__point {
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.2em;
	color: var(--primary-color-dark);
}

.reasons__number {
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--primary-color-dark);
	position: relative;
}

.reasons__number::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	transform: translateX(-50%);
	width: 28px;
	height: 2px;
	border-radius: 999px;
	background: var(--primary-color-dark);
}

/* このようなお悩みはありませんか?
   ========================================================================== */
.concerns {
	padding: var(--section-spacing) 0;
}

.concerns__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.concerns__item {
	text-align: center;
	transition: transform 0.35s ease;
}

.concerns__item:hover {
	transform: translateY(-6px);
}

.concerns__image {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 12px;
	background: var(--gray-color-02);
}

.concerns__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.concerns__image--placeholder {
	display: flex;
}

.concerns__label {
	display: block;
	font-weight: bold;
	color: var(--gray-color-03);
}

/* お客様の声
   ========================================================================== */
.voices {
	padding: var(--section-spacing) 0;
	background: var(--bg-color);
	position: relative;
}

.voices__wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: 60px;
	line-height: 0;
	pointer-events: none;
}

.voices__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.voices__wave path {
	fill: var(--bg-color);
}

.voices__wave--top {
	top: 0;
	transform: translateY(-100%);
}

.voices__wave--bottom {
	bottom: 0;
	transform: translateY(100%);
}

.voices__list {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.voices__item {
	flex: 0 0 auto;
	width: min(600px, 80vw);
	background: var(--white-color);
	border-radius: 8px;
	padding: 24px;
	scroll-snap-align: center;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.voices__item:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.voices__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--gray-color);
	margin-bottom: 8px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.voices__badge:hover {
	color: var(--black-color);
}

.voices__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--gray-color-02);
	color: var(--black-color);
	font-size: 0.7rem;
	font-weight: bold;
}

.voices__rating {
	margin-bottom: 16px;
	letter-spacing: 2px;
}

.voices__star {
	color: var(--gray-color-02);
}

.voices__star.is-filled {
	color: #fbbc04;
}

.voices__name {
	margin: 0 0 8px;
	font-size: 1rem;
}

/* 交通事故治療について
   ========================================================================== */
.accident {
	padding: var(--section-spacing) 0;
}

.accident__item {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 40px;
	align-items: center;
	padding: 40px 0;
	border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.accident__item:first-child {
	padding-top: 0;
}

.accident__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.accident__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.accident__title {
	margin: 0;
}

.accident__text {
	margin: 0;
}

.accident__image {
	background: var(--gray-color-02);
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	width: 340px;
	max-width: 100%;
	justify-self: end;
}

.accident__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.accident__cta {
	text-align: center;
	margin-top: 40px;
}

.accident__cta .btn {
	border-color: var(--primary-color-dark);
	color: var(--primary-color-dark);
}

.accident__cta .btn:hover,
.accident__cta .btn:active {
	background: var(--primary-color-dark);
	color: var(--white-color);
	transform: translateY(-3px) scale(1.05);
}

/* 料金について
   ========================================================================== */
.pricing {
	padding: var(--section-spacing) 0;
	background: var(--primary-color-dark);
}

.pricing .section-title {
	color: var(--white-color);
}

.pricing .section-title::before {
	color: rgba(255, 255, 255, 0.14);
}

.pricing .section-title::after {
	background: var(--white-color);
}

.pricing__item {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 40px;
	align-items: center;
	padding: 40px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing__item:first-child {
	padding-top: 0;
}

.pricing__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.pricing__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pricing__title {
	margin: 0;
	color: var(--white-color);
}

.pricing__amount {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.pricing__amount-regular {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: line-through;
	font-size: 0.95rem;
}

.pricing__amount-arrow {
	color: rgba(255, 255, 255, 0.7);
}

.pricing__amount-first {
	display: inline-block;
	background: var(--white-color);
	color: var(--primary-color-dark);
	font-size: 1.25rem;
	font-weight: bold;
	padding: 4px 18px;
	border-radius: 999px;
}

.pricing__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.pricing__image {
	background: var(--gray-color-02);
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	width: 340px;
	max-width: 100%;
	justify-self: end;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.pricing__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pricing__note {
	max-width: 720px;
	margin: 40px auto 0;
	padding: 20px 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
}

.pricing__cta {
	text-align: center;
	margin-top: 40px;
}

.pricing__cta .btn {
	border-color: var(--white-color);
	color: var(--white-color);
}

.pricing__cta .btn:hover,
.pricing__cta .btn:active {
	background: var(--white-color);
	color: var(--primary-color-dark);
	transform: translateY(-3px) scale(1.05);
}

/* 私について
   ========================================================================== */
.about-me {
	padding: var(--section-spacing) 0;
	background: var(--gray-color-02);
}

.about-me__layout {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 64px;
	align-items: start;
}

.about-me__photo {
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	background: var(--gray-color-02);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-me__photo:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.about-me__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-me__profile {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 0;
	font-size: 0.9rem;
	color: var(--gray-color-03);
}

.about-me__profile p {
	margin: 7.2px 0;
}

.about-me__eyebrow {
	margin: 0 0 12px;
	font-size: 0.85rem;
	font-weight: bold;
	letter-spacing: 0.12em;
	color: var(--primary-color-dark);
}

.about-me__heading {
	margin: 0 0 40px;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--gray-color-03);
}

.about-me__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about-me__text p {
	margin: 0;
}

/* 院内紹介
   ========================================================================== */
.gallery {
	padding: var(--section-spacing) 0;
}

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

.gallery__item {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__item--placeholder {
	background: var(--gray-color-02);
}

/* 交通事故ページ: ヒーロー
   ========================================================================== */
.traffic-hero {
	position: relative;
	min-height: 420px;
	overflow: hidden;
}

.traffic-hero__bg {
	position: absolute;
	inset: 0;
}

.traffic-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.traffic-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, rgba(26, 26, 26, 0.72) 100%);
}

.traffic-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: var(--white-color);
	padding-block: 80px;
}

.traffic-hero__title {
	margin: 0 0 20px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.traffic-hero__lead {
	max-width: 640px;
	margin: 0 auto 32px;
	font-size: 1.05rem;
	line-height: 1.9;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.traffic-hero__cta {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.traffic-symptoms__note {
	max-width: var(--content-width-sm);
	margin: 32px auto 0;
	text-align: center;
	color: var(--gray-color-03);
}

.traffic-symptoms__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.traffic-symptoms__item {
	text-align: center;
	transition: transform 0.35s ease;
}

.traffic-symptoms__item:hover {
	transform: translateY(-6px);
}

.traffic-symptoms__image {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 12px;
}

.traffic-symptoms__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.traffic-symptoms__label {
	display: block;
	font-weight: bold;
	color: var(--gray-color-03);
}

/* 交通事故ページ: 慰謝料・補償について
   ========================================================================== */
.compensation {
	padding: var(--section-spacing) 0;
	background: var(--gray-color-02);
}

.compensation__lead {
	max-width: var(--content-width-sm);
	margin: 0 auto 40px;
	text-align: center;
	color: var(--gray-color-03);
}

.compensation__list {
	background: var(--white-color);
	border-radius: 12px;
	padding: 8px 32px;
}

.compensation__item {
	padding: 32px 0;
	border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.compensation__item:last-child {
	border-bottom: none;
}

.compensation__heading {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.compensation__number {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--primary-color-dark);
	color: var(--white-color);
	font-size: 0.9rem;
	font-weight: bold;
}

.compensation__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: bold;
}

.compensation__text {
	margin: 0;
	color: var(--gray-color-03);
}

.compensation__text + .compensation__text {
	margin-top: 12px;
}

.compensation__text--result {
	font-weight: bold;
	color: var(--primary-color-dark);
}

.compensation__calc-box {
	margin: 16px 0;
	padding: 20px 24px;
	background: var(--gray-color-02);
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 8px;
}

.compensation__calc-step {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 12px;
	padding: 8px 0;
}

.compensation__calc-step + .compensation__calc-step {
	border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.compensation__calc-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--primary-color-dark);
	color: var(--white-color);
	font-size: 0.75rem;
	font-weight: bold;
	transform: translateY(2px);
}

.compensation__calc-label {
	color: var(--gray-color-03);
}

.compensation__calc-formula {
	font-weight: bold;
	color: var(--black-color);
}

.compensation__note {
	max-width: var(--content-width-sm);
	margin: 32px auto 0;
	text-align: center;
	color: var(--gray-color-03);
	font-size: 0.9rem;
}

/* 交通事故ページ: ご来院からの流れ
   ========================================================================== */
.flow {
	padding: var(--section-spacing) 0;
	background: var(--gray-color-02);
}

.flow__list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.flow__item {
	display: flex;
	align-items: center;
	gap: 32px;
	background: var(--white-color);
	border-radius: 8px;
	overflow: hidden;
	text-align: left;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.flow__image {
	flex: 0 0 280px;
	aspect-ratio: 4 / 3;
	background: var(--gray-color-02);
}

.flow__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.flow__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color-dark);
}

.flow__content {
	flex: 1;
	padding: 24px 24px 24px 0;
}

.flow__item .reasons__badge {
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 8px;
}

.flow__item .reasons__point {
	font-size: 0.7rem;
}

.flow__item .reasons__number {
	font-size: 1.25rem;
}

.flow__item .reasons__number::after {
	width: 16px;
	bottom: -4px;
}

.flow__title {
	margin: 0 0 12px;
}

.flow__text {
	margin: 0;
	font-size: 0.9rem;
}

.flow__cta {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* 交通事故ページ: よくある質問
   ========================================================================== */
.faq {
	padding: var(--section-spacing) 0;
}

.faq__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq__item {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
}

.faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	background: var(--white-color);
	border: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: bold;
	text-align: left;
	color: var(--black-color);
	cursor: pointer;
}

.faq__question::after {
	content: "+";
	flex-shrink: 0;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--primary-color-dark);
	transition: transform 0.3s ease;
}

.faq__question[aria-expanded="true"]::after {
	transform: rotate(45deg);
}

.faq__answer {
	padding: 0 24px 24px;
	color: var(--gray-color-03);
	line-height: 1.8;
}

.faq__answer p {
	margin: 0;
}

/* アクセス
   ========================================================================== */
.access {
	padding: var(--section-spacing) 0;
}

.access__cta {
	display: flex;
	gap: 16px;
	margin-top: 40px;
}

.access__map {
	margin-top: 32px;
	aspect-ratio: 16 / 9;
	background: var(--gray-color-02);
}

.access__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* フッター
   ========================================================================== */
.site-footer {
	background: var(--gray-color-03);
	color: var(--white-color);
	padding: var(--section-spacing) 0 32px;
}

.site-footer__inner {
	text-align: center;
}

.site-footer__nav ul {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 24px 0;
}

.site-footer__copyright {
	margin-top: 32px;
	font-size: 0.8rem;
	opacity: 0.7;
}

/* レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
	.reasons__list {
		grid-template-columns: 1fr;
	}

	.voices__wave {
		height: 32px;
	}

	.traffic-hero {
		min-height: 320px;
	}

	.traffic-hero__content {
		padding-block: 56px;
	}

	.flow__item {
		flex-direction: column;
		align-items: stretch;
	}

	.flow__image {
		flex-basis: auto;
	}

	.flow__content {
		padding: 20px;
	}

	.about-me__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	/* スマホでは「写真→柔道整復師/氏名→生年月日等の詳細→メッセージ」の順に並べ替えるため、
	   PC用のラッパー(.about-me__media/.about-me__body)をdisplay:contentsで無効化し、
	   中の要素を.about-me__layoutの直接の子としてorderで並べ替える。
	   各要素の余白はグリッドのgapに頼らず、要素ごとのmarginで個別に指定する */
	.about-me__media,
	.about-me__body {
		display: contents;
	}

	.about-me__photo {
		order: 1;
		max-width: 280px;
		margin: 0 auto 24px;
	}

	.about-me__eyebrow {
		order: 2;
		text-align: center;
		margin: 0 0 8px;
	}

	.about-me__heading {
		order: 2;
		text-align: center;
		margin: 0 0 24px;
	}

	.about-me__profile {
		order: 3;
		align-items: center;
		text-align: center;
		margin-top: 0;
		gap: 0;
		margin-bottom: 24px;
	}

	.about-me__text {
		order: 4;
	}

	.concerns__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery__list {
		grid-template-columns: 1fr;
	}

	.traffic-symptoms__list {
		grid-template-columns: 1fr;
	}

	.compensation__list {
		padding: 4px 20px;
	}

	.accident__item,
	.pricing__item {
		grid-template-columns: 1fr;
	}

	.accident__image,
	.pricing__image {
		width: auto;
		max-width: none;
		justify-self: stretch;
	}

	.site-header__hamburger {
		display: flex;
	}

	.site-header__cta {
		display: none;
	}

	.site-header__nav {
		position: fixed;
		inset: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: var(--white-color);
		z-index: var(--z-index-menu);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.4s ease;
	}

	.site-header__nav.is-active {
		opacity: 1;
		pointer-events: auto;
	}

	.site-header__nav ul {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.site-header__nav ul a {
		font-size: 1rem;
	}

	.site-header__nav-cta {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		margin-top: 40px;
		width: min(280px, 80vw);
	}

	.kv__floating-card {
		display: none;
	}

	.kv__catch {
		padding: 0 24px;
		bottom: 12%;
	}

	.section-title::before {
		font-size: 40px;
	}
}
