/*
 * components.css
 * ヘッダー・フッター・カード・アコーディオンなど、コンポーネント単位のスタイル。
 */

/* ===== ヘッダー ===== */
.reeir-header {
	background-color: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--green-soft);
	position: sticky;
	top: 0;
	z-index: 100;
}

.reeir-header__inner {
	padding-block: 12px;
	max-width: 1000px;
	margin-inline: auto;
	padding-inline: 24px;
	align-items: center;
}

.reeir-header__logo {
	align-items: center;
	gap: 8px;
}

.reeir-header__nav-desktop .reeir-nav__list {
	display: flex;
	list-style: none;
	gap: 24px;
	margin: 0;
	padding: 0;
}

.reeir-header__nav-desktop .reeir-nav__list a {
	color: var(--wp--preset--color--text);
	font-weight: 500;
}

.reeir-header__nav-desktop .reeir-nav__list a:hover {
	color: var(--wp--preset--color--orange);
}

.reeir-header__cta-desktop {
	gap: 12px;
}

.reeir-header__line-btn,
.reeir-header__reserve-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	white-space: nowrap;
}

.reeir-header__line-btn {
	background-color: var(--wp--preset--color--green-soft);
	color: var(--wp--preset--color--green-dark);
}

.reeir-header__reserve-btn {
	background-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
}

.reeir-header__hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
}

.reeir-header__hamburger-line {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--wp--preset--color--green-dark);
}

.reeir-header__mobile-menu {
	display: none;
	position: fixed;
	inset: 0;
	background-color: var(--wp--preset--color--white);
	z-index: 200;
	padding: 24px;
	overflow-y: auto;
}

.reeir-header__mobile-menu:not([hidden]) {
	display: block;
}

.reeir-header__mobile-close {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	padding: 8px;
	margin-left: auto;
	display: block;
	cursor: pointer;
}

.reeir-nav__list--mobile {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: var(--wp--preset--font-size--large);
}

.reeir-header__mobile-cta {
	gap: 12px;
}

.reeir-header__mobile-cta a {
	display: block;
	text-align: center;
	padding: 14px;
	border-radius: 6px;
	font-weight: 700;
}

.reeir-header__mobile-cta a:first-child {
	background-color: var(--wp--preset--color--green-soft);
	color: var(--wp--preset--color--green-dark);
}

.reeir-header__mobile-cta a:last-child {
	background-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
}

/* ===== スマホ固定CTA ===== */
.reeir-mobile-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 90;
	background-color: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--green-soft);
	padding: 8px 4px;
	padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.reeir-mobile-cta__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 6px 0;
	color: var(--wp--preset--color--text);
	font-size: 12px;
	font-weight: 700;
}

.reeir-mobile-cta__item--reserve {
	background-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
	border-radius: 6px;
}

/* ===== FV ===== */
.reeir-hero__eyebrow {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
}

/* ===== 症状カードグリッド／4領域／初回の流れ ===== */
.reeir-symptom-grid,
.reeir-four-areas,
.reeir-flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.reeir-symptom-card,
.reeir-area-card,
.reeir-flow-card {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--green-soft);
	border-radius: 8px;
	padding: 24px;
}

.reeir-flow-card {
	text-align: center;
}

.reeir-flow-number {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	color: var(--wp--preset--color--orange);
	margin: 0 0 8px;
}

.reeir-step-number {
	color: var(--wp--preset--color--orange);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
}

.reeir-three-step,
.reeir-reviews {
	margin-top: 24px;
}

.reeir-step-card,
.reeir-review-card {
	background-color: var(--wp--preset--color--white);
	border-radius: 8px;
	padding: 24px;
	height: 100%;
}

/* ===== 施術者紹介 ===== */
.reeir-profile__photo {
	width: 100%;
}

/* ===== FAQ（アコーディオン） ===== */
.reeir-faq__item {
	border-bottom: 1px solid var(--wp--preset--color--green-soft);
	padding: 16px 0;
}

.reeir-faq__question {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.reeir-faq__question::-webkit-details-marker {
	display: none;
}

.reeir-faq__question::after {
	content: "+";
	font-size: 20px;
	color: var(--wp--preset--color--orange);
	margin-left: 12px;
}

.reeir-faq__item[open] .reeir-faq__question::after {
	content: "−";
}

.reeir-faq__answer {
	padding-top: 12px;
	color: var(--wp--preset--color--text-light);
}

/* ===== アクセス ===== */
.reeir-access__map-embed {
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}

.reeir-access__cta {
	gap: 12px;
	margin-top: 16px;
}

/* ===== 最終CTA ===== */
.reeir-final-cta {
	padding-block: var(--wp--preset--spacing--60, 64px);
	text-align: center;
}

.reeir-final-cta__buttons {
	gap: 16px;
	margin-top: 24px;
}

/* ===== フッター ===== */
.reeir-footer {
	background-color: var(--wp--preset--color--green-dark);
	color: var(--wp--preset--color--white);
	padding-block: 48px 24px;
}

.reeir-footer a {
	color: var(--wp--preset--color--white);
}

.reeir-footer__inner {
	max-width: 1000px;
	margin-inline: auto;
	padding-inline: 24px;
	gap: 32px;
}

.reeir-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.reeir-footer__copyright {
	margin-top: 32px;
	opacity: 0.8;
}

.reeir-tel-unset {
	opacity: 0.6;
	font-style: italic;
}

/* ===== 投稿一覧・投稿カード ===== */
.reeir-post-card {
	border-bottom: 1px solid var(--wp--preset--color--green-soft);
	padding-block: 24px;
}

/* ===== 404 ===== */
.reeir-404 {
	padding-block: 96px;
	text-align: center;
}
