/**
 * Site layout: header & footer (SP first).
 */

:root {
	--site-header-bg: var(--color-white);
	--site-header-border: var(--color-border-soft);
	--site-header-ink: var(--color-ink);
	--site-header-primary: var(--color-primary);
	--site-footer-bg: var(--color-footer-brown);
	--site-footer-ink: var(--color-white);
	--site-footer-muted: rgba(245, 245, 245, 0.75);
	--site-nav-overlay: var(--color-bg);
	--site-header-height-sp: 4.0625rem;
	--site-header-height-pc: 13.125rem;
	--site-nav-breakpoint: 768px;
	--site-header-menu-ink: #1f2837;
	--site-header-phone-muted: #b8a398;
	--site-header-nav-ink: #534741;
}

/* ----- Skip link ----- */

.u-skip-link {
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	z-index: 100000;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-white);
	background: var(--site-header-primary);
	border-radius: var(--radius-xs);
	transform: translateY(-200%);
	transition: transform 0.15s ease;
}

.u-skip-link:focus {
	transform: translateY(0);
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}

/* ----- Header (Figma common-header-sp / common-header-pc) ----- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--site-header-bg);
}

.site-header__bar--pc {
	display: none;
}

.site-header__bar--sp {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	min-height: var(--site-header-height-sp);
	padding: 0.125rem 1.5rem 0.25rem;
	box-sizing: border-box;
}

.site-header__brand {
	flex: 1 1 auto;
	min-width: 0;
}

/* ----- Logo (Figma 208:3330 logo_horizon) ----- */

.c-site-logo {
	display: inline-flex;
	max-width: 100%;
	color: var(--site-header-ink);
	text-decoration: none;
}

.c-site-logo__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.c-site-logo--sp {
	align-items: flex-start;
	padding-block: 0.125rem;
}

.c-site-logo--sp .c-site-logo__image {
	width: min(100%, 15.5rem);
	height: auto;
	aspect-ratio: 365 / 55;
}

.c-site-logo--pc {
	align-items: center;
	padding-block: 0.125rem;
	text-align: center;
}

.c-site-logo--pc .c-site-logo__image {
	width: min(100%, 22.8125rem);
	height: auto;
	aspect-ratio: 365 / 55;
}

.c-site-logo:hover .c-site-logo__image,
.c-site-logo:focus-visible .c-site-logo__image {
	opacity: 0.92;
}

.c-brand-mark,
.c-brand-mark--placeholder {
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.c-brand-mark--placeholder {
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, var(--color-bg-pink), var(--color-bg-soft));
	border: 1px dashed var(--color-border-strong);
}

/* ----- SP menu button (Figma menu btn) ----- */

.site-header__menu-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.375rem;
	flex-shrink: 0;
	padding: 0.75rem 0.5rem 0.5625rem;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-header__menu-lines {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	width: 1.875rem;
}

.site-header__menu-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--site-header-menu-ink);
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__menu-label {
	font-family: "Quicksand", var(--font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	color: var(--site-header-menu-ink);
	text-transform: lowercase;
}

.site-header__menu-btn:focus-visible {
	outline: 2px solid var(--site-header-primary);
	outline-offset: 2px;
}

body.is-drawer-open .site-header__menu-line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

body.is-drawer-open .site-header__menu-line:nth-child(2) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ----- PC header top + phone ----- */

.site-header__pc-top {
	display: flex;
	justify-content: center;
	max-width: 94.5rem;
	margin-inline: auto;
	padding: 1rem 1.5rem 0;
}

.site-header__brand-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
}

.site-header__logo-wrap {
	display: flex;
	justify-content: center;
}

.c-site-logo--pc {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.c-site-logo__tagline,
.site-header__tagline {
	display: none;
	margin: 0.25rem 0 0;
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: normal;
	color: var(--color-ink);
	text-align: center;
}

.site-header__phone {
	flex-shrink: 0;
	margin: 0;
	text-align: center;
}

.site-header__phone-hours {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-text-placeholder);
}

.site-header__phone-number {
	margin: 0;
	line-height: 1;
}

.site-header__phone-number a {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1;
	color: var(--site-header-primary);
	letter-spacing: 0.04em;
	text-decoration: none;
}

.site-header__phone-number a:hover,
.site-header__phone-number a:focus-visible {
	opacity: 0.88;
}

/* ----- PC nav bar (accent-2) ----- */

.site-header__pc-nav {
	margin-top: 1rem;
	background-color: var(--color-accent-2);
}

.site-nav__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0;
	max-width: 94.5rem;
}

.site-header__pc-nav .site-nav__list a {
	display: block;
	padding: 0.75rem;
	color: var(--site-header-nav-ink);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.05em;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__pc-nav .site-nav__list a:hover,
.site-header__pc-nav .site-nav__list a:focus-visible {
	color: var(--color-white);
	background-color: var(--color-primary);
}

.site-header__pc-nav .site-nav__list .current-menu-item > a,
.site-header__pc-nav .site-nav__list .current_page_item > a {
	color: var(--color-white);
	font-weight: 700;
	background-color: var(--color-primary-dark);
}

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

body.has-fixed-cta-sp {
	padding-bottom: calc(var(--fixed-cta-sp-height) + env(safe-area-inset-bottom, 0px));
}

/* ----- SP drawer (Figma common-drawer-menu-sp 177:3909) ----- */

.c-drawer[hidden] {
	display: none;
}

.c-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--drawer-z);
}

.c-drawer__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: rgba(61, 52, 46, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.c-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	height: 100%;
	background: var(--color-drawer-bg);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

body.is-drawer-open .c-drawer__backdrop {
	opacity: 1;
}

body.is-drawer-open .c-drawer__panel {
	transform: translateX(0);
}

.c-drawer__toolbar {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
	padding: 1.5rem 1.5rem 0;
	background: var(--color-drawer-bg);
}

.c-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.375rem;
	height: 3.375rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.c-drawer__close-icon {
	position: relative;
	display: block;
	width: 1.5rem;
	height: 1.5rem;
}

.c-drawer__close-icon::before,
.c-drawer__close-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.5rem;
	height: 2px;
	background: var(--color-ink);
	transform-origin: center;
}

.c-drawer__close-icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.c-drawer__close-icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.c-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0 1.5rem 2rem;
	-webkit-overflow-scrolling: touch;
}

.c-drawer__cta-stack {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.c-drawer__cta-card--phone {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 1.5rem 1.25rem;
	border-radius: 1rem 1rem 0 0;
	background: var(--color-white);
	text-align: center;
}

.c-drawer__mascot {
	width: 4.5rem;
	height: 4.5rem;
	overflow: hidden;
	border-radius: 50%;
}

.c-drawer__mascot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-drawer__mascot--placeholder {
	background: rgba(240, 138, 107, 0.2);
}

.c-drawer__cta-heading {
	margin: 0.25rem 0 0;
	color: #333;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-drawer__phone {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 10vw, 2.75rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.c-drawer__phone a {
	color: var(--color-primary);
	text-decoration: none;
}

.c-drawer__hours {
	margin: 0;
	color: #b8a398;
	font-size: 0.875rem;
	line-height: 1.5;
}

.c-drawer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9375rem;
	padding: 0.5rem 1.25rem;
	border-radius: 2.5rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.c-drawer__btn--form {
	width: min(100%, 15rem);
	margin-top: 0.25rem;
	color: var(--color-white);
	background: var(--color-primary);
}

.c-drawer__btn--form:hover,
.c-drawer__btn--form:focus-visible {
	color: var(--color-white);
	background: var(--color-primary-dark);
}

.c-drawer__cta-card--line {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem 1.5rem;
	border-radius: 0 0 1rem 1rem;
	background: var(--color-line);
	color: var(--color-white);
	text-align: center;
}

.c-drawer__line-lead {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-drawer__btn--line {
	width: min(100%, 16.625rem);
	color: var(--color-line);
	background: var(--color-white);
}

.c-drawer__btn--line:hover,
.c-drawer__btn--line:focus-visible {
	color: var(--color-line);
	background: rgba(255, 255, 255, 0.92);
}

.c-drawer__nav {
	width: 100%;
	max-width: 22.125rem;
	margin: 2.5rem auto 0;
}

.c-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.c-drawer__list .menu-item {
	border-bottom: 1px solid #ccc;
}

.c-drawer__list .menu-item:first-child {
	border-top: 1px solid #ccc;
}

.c-drawer__list a {
	display: block;
	padding: 1rem 0.5rem;
	color: #333;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
}

.c-drawer__list a:hover,
.c-drawer__list a:focus-visible,
.c-drawer__list .current-menu-item > a,
.c-drawer__list .current_page_item > a {
	color: var(--color-primary-dark);
}

/* ----- SP fixed bottom CTA (Figma common-fixed-cta-sp 172:1906) ----- */

.c-fixed-cta-sp {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	z-index: var(--fixed-cta-z);
	padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
	background: var(--color-fixed-cta-bar);
}

.c-fixed-cta-sp__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.25rem;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
}

.c-fixed-cta-sp__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9375rem;
	padding: 0.5rem 0.75rem;
	border: 2px solid var(--color-white);
	border-radius: 0.5rem;
	color: var(--color-white);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
}

.c-fixed-cta-sp__item--tel {
	background: var(--color-primary);
}

.c-fixed-cta-sp__item--tel:hover,
.c-fixed-cta-sp__item--tel:focus-visible {
	color: var(--color-white);
	background: var(--color-primary-dark);
}

.c-fixed-cta-sp__item--line {
	background: var(--color-line);
}

.c-fixed-cta-sp__item--line:hover,
.c-fixed-cta-sp__item--line:focus-visible {
	color: var(--color-white);
	background: #05b34c;
}

.c-fixed-cta-sp__label {
	display: block;
}

body.is-drawer-open .c-fixed-cta-sp {
	visibility: hidden;
	pointer-events: none;
}

/* ----- PC fixed bottom-right CTA (Figma sticky bar 208:4014) ----- */

.c-fixed-cta-pc {
	display: none;
}

.c-fixed-cta-pc__panel {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	padding-left: 1rem;
	background: var(--color-white);
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.06);
}

.c-fixed-cta-pc__phone-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	padding-block: 0.75rem;
	min-width: 10.5rem;
}

.c-fixed-cta-pc__phone-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	text-align: center;
}

.c-fixed-cta-pc__hours {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	color: #b8a398;
	white-space: nowrap;
}

.c-fixed-cta-pc__tel {
	margin: 0;
	line-height: 1;
}

.c-fixed-cta-pc__tel a {
	font-family: var(--font-display);
	font-size: 1.8125rem;
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary);
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.c-fixed-cta-pc__tel a:hover,
.c-fixed-cta-pc__tel a:focus-visible {
	opacity: 0.88;
}

.c-fixed-cta-pc__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.4375rem 1.125rem;
	border-radius: 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.c-fixed-cta-pc__btn--mail {
	color: var(--color-white);
	background: var(--color-primary);
}

.c-fixed-cta-pc__btn--mail:hover,
.c-fixed-cta-pc__btn--mail:focus-visible {
	color: var(--color-white);
	background: var(--color-primary-dark);
}

.c-fixed-cta-pc__line-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.5rem;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-line);
}

.c-fixed-cta-pc__line-col:hover,
.c-fixed-cta-pc__line-col:focus-visible {
	color: var(--color-white);
	background: #05b34c;
}

.c-fixed-cta-pc__line-label {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}

.c-fixed-cta-pc__line-qr {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 6.25rem;
	height: 6.25rem;
	padding: 0;
	background: var(--color-white);
}

.c-fixed-cta-pc__line-qr-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

/* ----- Footer ----- */

.site-footer {
	margin-top: auto;
	padding: 3.75rem 1.5rem 6.25rem;
	background-color: var(--site-footer-bg);
	color: var(--site-footer-ink);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: min(100% - 0rem, 22.125rem);
	margin-inline: auto;
	text-align: center;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.site-footer__logo {
	display: flex;
	justify-content: center;
}

.site-footer__logo .c-brand-mark,
.site-footer__logo .c-site-logo__mark {
	width: 9rem;
	height: 7.9375rem;
}

.site-footer__service {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.site-footer__catch {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
}

.site-footer__address {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.site-footer__company {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
}

.site-footer__phone-row {
	margin: 0.35rem 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.site-footer__nav {
	width: 100%;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__list .menu-item {
	border-bottom: 1px solid #b4b4b4;
}

.site-footer__list .menu-item:first-child {
	border-top: 1px solid #b4b4b4;
}

.site-footer__list a {
	display: block;
	padding: 1rem 0.5rem;
	color: var(--site-footer-ink);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
	color: var(--color-accent);
}

.site-footer__meta {
	margin: 0.25rem 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: var(--site-footer-muted);
}

.site-footer__meta a {
	color: var(--site-footer-ink);
	font-weight: 700;
	text-decoration: none;
}

.site-footer__hours {
	display: block;
	margin-top: 0;
}

.site-footer__legal {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer__legal a {
	color: var(--site-footer-ink);
	font-size: 0.8125rem;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.site-footer__copy {
	width: 100%;
	margin: 0;
	padding-top: 0;
	border-top: 0;
	font-size: 0.8125rem;
	text-align: center;
	color: var(--site-footer-ink);
}

body.has-fixed-cta-sp .site-footer {
	padding-bottom: calc(6.25rem + var(--fixed-cta-sp-height));
}

/* ----- PC: common-header-pc ----- */

@media (min-width: 768px) {
	.site-header__bar--sp {
		display: none;
	}

	.site-header__bar--pc {
		display: block;
	}

	.c-site-logo__tagline,
	.site-header__tagline {
		display: block;
	}

	.site-header__phone-hours {
		font-size: 0.9375rem;
		line-height: 1.4;
		color: #b8a398;
	}

	.site-header__phone-number a {
		font-size: 2.75rem;
		letter-spacing: 0.04em;
	}

	.c-drawer {
		display: none;
	}

	.c-fixed-cta-sp {
		display: none;
	}

	body.has-fixed-cta-sp {
		padding-bottom: 0;
	}

	.site-footer__inner {
		max-width: 62.5rem;
	}

	.site-footer {
		padding: 3.75rem 1.5rem 6.25rem;
	}

	body.has-fixed-cta-sp .site-footer {
		padding-bottom: 6.25rem;
	}

	.site-footer__nav {
		max-width: 62.5rem;
	}

	.site-footer__list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
	}

	.site-footer__list .menu-item,
	.site-footer__list .menu-item:first-child {
		border-top: 0;
		border-bottom: 0;
	}

	.site-footer__list a {
		padding: 0.75rem 0.5rem;
		white-space: nowrap;
	}

	.site-footer__legal {
		flex-direction: row;
		gap: 1rem;
	}

	body.is-drawer-open {
		overflow: visible;
	}
}

@media (min-width: 1024px) {
	.c-fixed-cta-pc {
		display: block;
		position: fixed;
		right: 1rem;
		bottom: 1rem;
		z-index: var(--fixed-cta-z);
		max-width: calc(100vw - 2rem);
	}

	body.is-drawer-open .c-fixed-cta-pc {
		visibility: hidden;
		pointer-events: none;
	}
}
