@charset "utf-8";
/*
Theme Name: ＆スキンケア
Template: mhs-asura
Version: 0.7.1
Description: mhs-asura の子テーマ（ポートフォリオの作品「＆スキンケア」）。ページの中身はテーマサポートのウェブパーツ、オーナーが直す中身は ACF の入力欄
*/

/* ---------- 土台（COLOR.md の役割変数・書体・幅）。スマホ幅から組む ---------- */

:root {
	--paper: #FBF3EC;
	--tone-blush: #F7E9E3; /* the ground moves to these from chapter to chapter (js/motion.js, COLOR.md) */
	--tone-linen: #F4EEE4;
	--panel: #E9D1C5;
	--rule: #CEA69D;
	--ink-2: #735F64;
	--ink: #66555A;
	--accent: #A67C7D;
	--mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
	--gothic: "Noto Sans JP", "Hiragino Sans", sans-serif;
	--latin: "Cormorant Garamond", "Shippori Mincho B1", serif;
	--gutter: 16px;
	--section: clamp(72px, 10vw, 140px);
	--header: 64px;
	--dock: 64px;
	--radius: 18px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-padding-top: calc(var(--header) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
	background: var(--paper);
	color: var(--ink);
	font-family: var(--gothic);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.02em;
	font-feature-settings: "palt" 0;
	overflow-wrap: anywhere;
}

html.menu-open,
html:has(dialog[open]) {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-underline-offset: 0.25em;
	text-decoration-thickness: 1px;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

::selection {
	background: var(--panel);
	color: var(--ink);
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--mincho);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-break: strict;
	word-break: keep-all;
	word-break: auto-phrase; /* Chrome breaks Japanese between phrases (BudouX); others keep keep-all */
	overflow-wrap: anywhere;
}

/* no single character left alone on the last line (the style only: text-wrap would also undo an inherited nowrap) */
h1,
h2,
h3,
p,
figcaption {
	text-wrap-style: pretty;
}

h1 {
	font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem);
	line-height: 1.35;
}

h2 {
	font-size: clamp(1.625rem, 1.25rem + 1.8vw, 2.5rem);
	line-height: 1.45;
}

h3 {
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
	line-height: 1.6;
}

/* 1行ずつ現れる見出しは、行を span で分けて書く */
/* a heading's pieces stay on one line when they fit and break only between pieces */
[data-motion~="lines"] > span,
[data-motion~="lines"] .char {
	display: inline-block;
}

p {
	margin: 0;
}

.small {
	font-size: 14px;
	line-height: 1.7;
	color: var(--ink-2);
}

/* 節の小さな欧文のラベル（斜体の欧文と短い線） */
.label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-family: var(--latin);
	font-style: italic;
	font-size: 18px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: var(--ink-2);
}

.label::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--rule);
}

.num {
	font-family: var(--latin);
	font-style: italic;
	font-weight: 500;
	font-variant-numeric: lining-nums;
	letter-spacing: 0.02em;
}

.wrap {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* half on each side: one --section between two sections */
.section {
	padding-block: calc(var(--section) / 2);
}

.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 8px 16px;
	background: var(--ink);
	color: var(--paper);
}

.skip:focus {
	top: 8px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- ボタン（濃い地に地の色の文字） ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font: 500 15px/1.4 var(--gothic);
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
	translate: var(--mx, 0) var(--my, 0); /* leans toward the mouse (js/motion.js sets --mx and --my) */
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), translate 0.4s var(--ease);
}

.button:hover {
	background: var(--ink-2);
}

.button:active {
	transform: translateY(1px);
}

.button--ghost {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: transparent;
	color: var(--ink);
}

/* the fill swells from the middle */
.button--ghost::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--ink);
	scale: 0;
	transition: scale 0.45s var(--ease);
}

.button--ghost:hover {
	background: transparent;
	color: var(--paper);
}

.button--ghost:hover::before {
	scale: 1;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- ヘッダー（スマホはロゴとメニューのボタン） ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header);
}

/* the tint and blur sit on a pseudo element: backdrop-filter on the header itself would make it the box the fixed phone menu is placed in */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--rule) 45%, transparent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-family: var(--mincho);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: 0.1em;
	text-decoration: none;
	white-space: nowrap;
}

.site-logo img {
	width: 30px;
	height: 30px;
}

.site-header__reserve {
	display: none;
}

.menu-button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-left: auto;
	margin-right: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.menu-button__bars,
.menu-button__bars::before {
	display: block;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s var(--ease);
}

.menu-button__bars {
	position: relative;
	transform: translateY(-4px);
}

.menu-button__bars::before {
	content: "";
	position: absolute;
	top: 8px;
}

.menu-open .menu-button__bars {
	transform: translateY(0) rotate(30deg);
}

.menu-open .menu-button__bars::before {
	transform: translateY(-8px) rotate(-60deg);
}

/* スマホのメニューはヘッダーの下に広がる面 */
.site-nav {
	position: fixed;
	inset: var(--header) 0 0;
	z-index: 40;
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 24px var(--gutter) calc(var(--dock) + 32px);
	overflow-y: auto;
	background: var(--paper);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.menu-open .site-nav {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.site-nav__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--mincho);
	font-size: 20px;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.site-nav__list a[aria-current="page"] {
	color: var(--ink-2);
}

.site-nav__info {
	font-size: 14px;
	line-height: 1.8;
	color: var(--ink-2);
}

/* ---------- スマホの下の固定の帯（予約する・空き状況・アクセス） ---------- */

.dock {
	position: fixed;
	inset: auto 0 0;
	z-index: 45;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	height: calc(var(--dock) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--paper);
	border-top: 1px solid var(--rule);
}

.dock__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: 500 12px/1.3 var(--gothic);
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
}

.dock__item--main {
	margin: 8px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	flex-direction: row;
	gap: 6px;
	font-size: 14px;
}

/* ---------- 予約の帯とフッター ---------- */

.reserve-band {
	padding-block: var(--section);
	background: var(--panel);
	text-align: center;
}

.reserve-band__inner {
	display: grid;
	justify-items: center;
	gap: 20px;
}

.reserve-band .label {
	margin: 0;
}

.reserve-band .button-row {
	justify-content: center;
}

.site-footer {
	padding-top: 56px;
	background: var(--ink);
	color: var(--paper);
	font-size: 14px;
	line-height: 1.8;
}

.site-footer__inner {
	display: grid;
	gap: 40px;
}

.site-footer__shop {
	display: grid;
	gap: 16px;
}

.site-footer .site-logo {
	font-size: 22px;
}

.site-footer__hours {
	display: grid;
	gap: 4px;
	margin: 0;
}

.site-footer__hours div {
	display: flex;
	gap: 16px;
}

.site-footer__hours dt {
	flex: none;
	width: 5em;
	color: color-mix(in srgb, var(--paper) 75%, var(--ink));
}

.site-footer__hours dd {
	margin: 0;
}

.site-footer__nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav a {
	display: inline-block;
	padding-block: 4px;
	text-decoration: none;
}

.site-footer__nav .site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
	font-size: 13px;
}

.site-footer__nav a:hover {
	text-decoration: underline;
}

.site-footer__copy {
	margin-top: 48px;
	padding: 20px var(--gutter);
	border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
	text-align: center;
}

/* ---------- 予約の見本の窓 ---------- */

.reserve-dialog {
	width: min(440px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 30px 80px -30px rgb(60 40 45 / 0.5);
}

.reserve-dialog[open] {
	animation: dialog-in 0.45s var(--ease);
}

.reserve-dialog::backdrop {
	background: rgb(80 62 67 / 0.45);
	backdrop-filter: blur(4px);
}

.reserve-dialog__body {
	display: grid;
	gap: 16px;
	padding: 32px 28px 28px;
	text-align: center;
}

.reserve-dialog .label {
	justify-content: center;
	margin: 0;
}

.reserve-dialog__choice {
	justify-self: center;
	font-size: 14px;
	line-height: 1.6;
}

.reserve-dialog__tel {
	font-family: var(--latin);
	font-style: italic;
	font-weight: 500;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.reserve-dialog__hours {
	font-size: 13px;
	line-height: 1.7;
	color: var(--ink-2);
}

.reserve-dialog .button-row {
	justify-content: center;
	margin-top: 4px;
}

@keyframes dialog-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
}

/* ---------- ページの頭（下層のページ） ---------- */

.page-head {
	display: grid;
	gap: 24px;
	padding-block: 48px calc(var(--section) / 2); /* the next .section adds the other half */
}

/* the photo runs to the screen's right edge, also past the 1280px wrap (main clips the scrollbar's width that 100vw counts;
   only there: a clip on main stops lazy photos in the phones' sideways strips from loading before they are swiped in) */
@media (min-width: 1281px) {
	main {
		overflow-x: clip;
	}
}

.page-head__photo {
	margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - 1280px) / 2));
	border-radius: var(--radius) 0 0 var(--radius);
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

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

/* ---------- 空き状況のカレンダー（ご予約・トップ） ---------- */

.calendar {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.day {
	position: relative; /* keeps the hidden status word inside the day (and inside the top's sideways scroller) */
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 12px 6px;
	border: 1px solid var(--rule);
	border-radius: 14px;
	background: var(--paper);
	text-align: center;
}

.day__date {
	font-size: 14px;
	line-height: 1.4;
}

.day__date small {
	font-size: 12px;
	color: var(--ink-2);
}

.day__mark {
	font-size: 22px;
	line-height: 1.2;
}

.day__reserve {
	min-height: 36px;
	padding: 4px 8px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 500 12px/1.3 var(--gothic);
	cursor: pointer;
}

.day__reserve:not(:disabled):hover {
	background: var(--ink);
	color: var(--paper);
}

.day__reserve:disabled {
	border-color: transparent;
	color: var(--ink-2);
	cursor: default;
}

.day--full,
.day--closed {
	background: color-mix(in srgb, var(--panel) 45%, var(--paper));
}

/* ご予約：月ごとのます目。スマホは日のます全体がボタン（言葉は隠し、ボタンが日付を名乗る） */
.calendar-months {
	display: grid;
	gap: 48px;
}

.calendar-month__title {
	position: sticky;
	top: var(--header);
	z-index: 2;
	margin: 0;
	padding-block: 10px;
	background: var(--paper);
	font-size: 18px;
}

.calendar-month__title .num {
	font-size: 30px;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
	font-size: 12px;
	text-align: center;
	color: var(--ink-2);
}

.calendar--month {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.calendar--month .day:first-child {
	grid-column-start: var(--col);
}

.calendar--month .day {
	gap: 0;
	padding: 8px 2px;
	border-radius: 10px;
}

.calendar--month .day--ok,
.calendar--month .day--few {
	border-color: var(--accent);
}

.calendar--month .day__date small {
	display: none;
}

.calendar--month .day__mark {
	font-size: 18px;
}

.calendar--month .day__reserve,
.calendar--month .day__reserve:not(:disabled):hover {
	position: absolute;
	inset: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: transparent;
	font-size: 0;
}

/* ---------- 節の頭と「もっと見る」の文字のリンク ---------- */

.section-head {
	display: grid;
	gap: 14px;
	max-width: 640px;
	margin-bottom: 40px;
}

.section-head .label {
	margin: 0;
}

.text-link {
	margin-top: 36px;
}

.text-link a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--rule);
	font-weight: 500;
	text-decoration: none;
}

.text-link a::after {
	content: "";
	width: 24px;
	height: 10px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5h22M18 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.35s var(--ease);
}

.text-link a:hover::after {
	transform: translateX(5px);
}

/* 枠より大きく置いた写真（drift-photo で枠の中を動く） */
.frame {
	overflow: hidden;
	aspect-ratio: 2 / 3;
	background: var(--panel);
}

.frame > div {
	position: relative;
	top: -7%;
	height: 114%;
}

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

/* ---------- トップ：初めの画面（大きな写真に題字を重ねる） ---------- */

/* phones: the 3:4 photo fills the screen between the header and the dock (the faces in the upper part), the text on the blanket below them */
.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: max(480px, calc(100svh - var(--header) - var(--dock)));
	overflow: clip;
}

.hero__photo {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--panel);
}

/* a little taller than the hero: drift-photo moves it against the scroll */
.hero__photo > div {
	position: absolute;
	inset: -6% 0;
}

.hero__photo picture {
	display: block;
	height: 100%;
}

.hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}

/* specks of light drifting over the photo (js/motion.js draws them) */
.motes {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mix-blend-mode: screen;
}

/* a veil of the page colour under the text (clear above the guest's chin) */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--paper) 0, color-mix(in srgb, var(--paper) 90%, transparent) 30% 38%, transparent 56%);
	pointer-events: none;
}

.hero__text {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	justify-items: start;
	padding-block: 16px 28px;
}

/* the lead already says where: phones leave the label out to keep the faces clear */
.hero__text .label {
	display: none;
	margin: 0;
}

.hero__title > span {
	display: inline-block;
}

.hero__title .num {
	margin-right: 0.04em;
	font-size: 1.32em;
	line-height: 0.9;
	letter-spacing: 0;
}

.hero__lead {
	max-width: 26em;
}

/* tablets and up: the wide photo, the text on the white curtain at the left */
@media (min-width: 600px) {
	.hero {
		min-height: min(calc(100svh - var(--header) - var(--dock)), 62vw);
		align-items: center;
	}

	.hero__photo img {
		object-position: 50% 50%;
	}

	.hero::after {
		background: linear-gradient(to right, color-mix(in srgb, var(--paper) 88%, transparent) 0 26%, transparent 56%);
	}

	.hero__text {
		padding-block: 48px;
	}

	.hero__text .label {
		display: flex;
	}

	/* on the wide photo one line would run into the two people: two lines */
	.hero__title > span {
		display: block;
	}

	.hero__lead {
		max-width: min(26em, 44vw);
	}
}

/* ---------- トップ：見せ場「90分を並べる」（終わりの形。動きは js/flow.js、広い画面だけ） ---------- */

.flow {
	overflow-x: clip;
}

.flow__stage {
	/* the card width: the row of 7 is 7.954 cards wide (gaps are 0.159 of a card, as in the lead lines' viewBox) */
	--w: min(46vw, 190px);
	position: relative;
	display: grid;
	align-content: start;
	gap: 28px;
}

.flow__intro {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 16px;
	justify-items: start;
	max-width: 600px;
}

.flow__intro .label {
	margin: 0;
}

.flow__clock {
	display: none;
}

.flow__bottom {
	display: grid;
	gap: 6px;
}

/* phones swipe the row; each photo stops in the middle of the screen */
.flow__film {
	min-width: 0; /* a grid item that is not a scroll box would grow to the whole row */
	margin-inline: calc(-1 * var(--gutter));
	padding-inline: calc(50vw - var(--w) / 2);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.flow__card {
	scroll-snap-align: center;
}

.flow__track {
	width: max-content;
}

.flow__cards {
	display: grid;
	grid-template-columns: repeat(7, var(--w));
	column-gap: calc(var(--w) * 0.159);
	margin: 0;
	padding: 0;
	list-style: none;
}

.flow__card figure {
	margin: 0;
}

.flow__frame {
	aspect-ratio: 2 / 3;
	padding: 5px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--paper) 45%, white);
	box-shadow: 0 16px 32px -20px rgb(80 60 65 / 0.55);
}

.flow__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2px;
}

.flow__card figcaption {
	display: grid;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.5;
	white-space: nowrap;
}

.flow__card figcaption .num {
	margin-right: 2px;
	font-size: 24px;
	line-height: 1.1;
}

.flow__leads {
	display: block;
	width: 100%;
	height: 26px;
	margin-top: 8px;
	overflow: visible;
}

.flow__leads path {
	fill: none;
	stroke: var(--rule);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

/* the ruler: a tick every 5 minutes, a longer one every 15 */
.flow__ruler {
	position: relative;
	height: 14px;
	margin-bottom: 28px;
	border-right: 1px solid var(--ink-2);
	background:
		linear-gradient(var(--ink-2), var(--ink-2)) left bottom / 100% 1px no-repeat,
		repeating-linear-gradient(to right, var(--ink-2) 0 1px, transparent 1px calc(100% / 6)) left bottom / 100% 14px no-repeat,
		repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px calc(100% / 18)) left bottom / 100% 7px no-repeat;
}

.flow__mark,
.flow__dot,
.flow__minute {
	position: absolute;
	left: calc(var(--m) / 90 * 100%);
}

.flow__mark {
	bottom: -4px;
	width: 9px;
	height: 9px;
	margin-left: -4.5px;
	border-radius: 50%;
	background: var(--accent);
}

.flow__dot {
	left: 100%;
	bottom: -8px;
	width: 17px;
	height: 17px;
	margin-left: -8.5px;
	border: 1.5px solid var(--ink);
	border-radius: 50%;
	background: var(--paper);
}

.flow__minute {
	top: 22px;
	white-space: nowrap;
	transform: translateX(-50%);
	font: italic 500 15px/1 var(--latin);
	color: var(--ink-2);
}

.flow__caption {
	font-size: 13px;
	color: var(--ink-2);
}

/* while flow.js runs (wide screens): the row sits at the foot of the pinned stage */
.flow-live .flow__bottom {
	position: absolute;
	right: var(--gutter);
	bottom: 18px;
	left: var(--gutter);
}

/* ---------- トップ：ごあいさつ ---------- */

.greeting__inner {
	display: grid;
	gap: 36px;
}

.greeting__photo {
	width: min(100%, 440px);
	margin: 0 auto;
}

.greeting__photo .frame {
	border-radius: var(--radius);
}

.greeting__text {
	display: grid;
	gap: 18px;
	max-width: 640px;
}

.greeting__text .label,
.greeting__text .text-link {
	margin: 0;
}

/* ---------- メニューのカード（トップのおすすめ・メニューと料金） ---------- */

.menu-cards {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-card {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 16px;
	align-items: start;
}

.menu-card__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	border-radius: var(--radius);
	background: var(--panel);
}

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

.menu-card__body,
.menu-card__info,
.menu-card__buy {
	display: grid;
	gap: 6px;
	justify-items: start;
	align-content: start;
}

.menu-card__meta {
	display: flex;
	gap: 14px;
	font-size: 13px;
	color: var(--ink-2);
}

.menu-card__meta .num {
	font-size: 18px;
}

.menu-card__name {
	font-size: 16px;
}

.menu-card__summary {
	font-size: 14px;
	line-height: 1.75;
	color: var(--ink-2);
}

.menu-card__price {
	margin-top: 4px;
	font-family: var(--mincho);
}

.menu-card__price .num {
	font-size: 28px;
	line-height: 1.2;
}

.menu-card__price small,
.menu-card__sub {
	font-family: var(--gothic);
	font-size: 12px;
	color: var(--ink-2);
}

.menu-card__sub > span {
	display: inline-block; /* 「1回あたり」と金額を離さない */
}

/* information, not a button: a second price row after a short line, with no box (buttons are the pills) */
.menu-card__first {
	font-family: var(--mincho);
}

.menu-card__first > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 8px;
	font-family: var(--gothic);
	font-size: 12px;
	color: var(--ink-2);
}

.menu-card__first > span:first-child::before {
	content: "";
	width: 16px;
	border-top: 1px solid var(--accent);
}

.menu-card__first .num {
	font-size: 20px;
}

.menu-card__note {
	font-size: 12px;
	line-height: 1.7;
	color: var(--ink-2);
}

.menu-card__marks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
}

/* the campaigns for this menu: a dotted list, not outlined pills like the ghost buttons */
.menu-card__marks {
	gap: 2px 16px;
}

.menu-card__marks li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--ink-2);
}

.menu-card__marks li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
}

.menu-card__reserve {
	min-height: 42px;
	margin-top: 10px;
	padding: 8px 18px;
	font-size: 13px;
}

/* ---------- メニューと料金：貼り付く分類のタブと、行の並び（行の下の線は左から伸びる） ---------- */

html:has(.menu-tabs) {
	scroll-padding-top: calc(var(--header) + 64px);
}

.menu-tabs {
	position: sticky;
	top: var(--header);
	z-index: 40;
	border-block: 1px solid color-mix(in srgb, var(--rule) 45%, transparent);
	background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.menu-tabs ul {
	display: flex;
	gap: 14px;
	margin-block: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.menu-tabs a {
	display: block;
	padding: 14px 0 12px;
	background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-size 0.35s var(--ease), color 0.35s var(--ease);
}

.menu-tabs a:hover,
.menu-tabs a[aria-current="true"] {
	background-size: 100% 2px;
	color: var(--ink);
}

.menu-rows {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-rows .menu-card {
	position: relative;
	padding-block: 28px;
}

.menu-rows .menu-card:first-child {
	padding-top: 0;
}

.menu-card__rule {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--rule);
}

/* the menu's time on a ruler of 0 to 120 minutes (ticks every 30) */
.menu-card__time {
	position: relative;
	display: block;
	width: min(100%, 220px);
	height: 9px;
	margin: 2px 0 4px;
	background:
		linear-gradient(var(--rule), var(--rule)) left center / 100% 1px no-repeat,
		repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 25%) left center / 100% 9px no-repeat;
}

.menu-card__time > span {
	position: absolute;
	top: 3px;
	left: 0;
	width: calc(var(--t) * 100%);
	height: 3px;
	border-radius: 3px;
	background: var(--accent);
}

/* a menu's voices are folded under it, so the price list stays a list */
.menu-card__voices {
	grid-column: 1 / -1;
}

.menu-card__voices summary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-size: 13px;
	cursor: pointer;
	list-style: none;
}

.menu-card__voices summary::-webkit-details-marker {
	display: none;
}

.menu-card__voices summary::after {
	content: "";
	width: 9px;
	height: 9px;
	background:
		linear-gradient(currentColor, currentColor) center / 9px 1px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1px 9px no-repeat;
}

.menu-card__voices[open] summary::after {
	background: linear-gradient(currentColor, currentColor) center / 9px 1px no-repeat;
}

.menu-card__voices .voices {
	gap: 12px;
	margin-top: 14px;
}

.menu-rows .voice {
	padding: 30px 20px 16px;
	font-size: 14px;
}

.menu-rows .voice::before {
	font-size: 52px;
}

/* ---------- サロンについて：施術者・経歴の年表（縦の線が伸びる）・大切にしていること ---------- */

/* page titles are one phrase (プライバシーポリシー, はじめての方へ): small enough to stay on one line in their column */
.page-head h1,
.lost h1 {
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
}

.page-head--plain {
	padding-bottom: 0;
}

.owner {
	display: grid;
	gap: 40px;
}

.owner__photo {
	width: min(100%, 440px); /* a tablet's full width made the upright photo taller than the screen */
	margin: 0 auto;
}

.owner__photo .frame {
	border-radius: var(--radius);
}

.history {
	position: relative;
	padding-left: 28px;
}

.history__line {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 4px;
	width: 1px;
	background: var(--accent);
}

.history ol {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.history li {
	position: relative;
	display: grid;
	gap: 2px;
}

.history li::before {
	content: "";
	position: absolute;
	top: 12px;
	left: -28px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--accent);
}

.history__year {
	font-size: 26px;
	line-height: 1.2;
	color: var(--accent);
}

.history p {
	margin: 0;
	font-size: 15px;
}

.about-room .room__strip li:nth-child(even) {
	height: clamp(200px, 30vw, 340px);
	align-self: end;
}

.values__list {
	display: grid;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.values__list li {
	display: grid;
	gap: 10px;
	padding-top: 22px;
	border-top: 1px solid var(--rule);
}

.values__num {
	font-size: 44px;
	line-height: 1;
	color: var(--rule);
}

.values__list p {
	margin: 0;
	font-size: 15px;
}

/* ---------- はじめての方へ・アクセス：縦の目盛りの手順（線が伸び、手順が順に濃くなる） ---------- */

.steps {
	position: relative;
}

.steps__line {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 27px;
	width: 1px;
	background: var(--accent);
}

.steps__line--dotted {
	background: radial-gradient(circle, var(--accent) 1.2px, transparent 1.6px) center top / 1px 8px repeat-y;
	width: 3px;
	left: 26px;
}

.steps ol {
	display: grid;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px 16px;
	align-items: start;
}

.step__time {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--accent);
	font-family: var(--mincho);
	font-size: 12px;
	line-height: 1;
	color: var(--ink-2);
}

.step__time .num {
	font-size: 22px;
	color: var(--ink);
}

.step__text {
	display: grid;
	gap: 6px;
	padding-top: 10px;
}

.step__text p {
	margin: 0;
	font-size: 15px;
}

.step__photo {
	grid-column: 2;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 12px;
}

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

/* tablets: the photo beside the text (under it, it filled the whole width); 960 and up widen it */
@media (min-width: 600px) {
	.step {
		grid-template-columns: 56px minmax(0, 1fr) 220px;
		gap: 16px 24px;
	}

	.step__photo {
		grid-column: 3;
		grid-row: 1;
	}
}

.bring__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bring__list figure {
	margin: 0;
}

.bring__list img {
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.bring__list figcaption {
	margin-top: 8px;
	font-size: 13px;
	text-align: center;
}

.faq__list {
	border-top: 1px solid var(--rule);
}

.faq__list details {
	border-bottom: 1px solid var(--rule);
}

.faq__list summary {
	position: relative;
	padding: 18px 40px 18px 0;
	font-family: var(--mincho);
	font-size: 17px;
	cursor: pointer;
	list-style: none;
}

.faq__list summary::-webkit-details-marker {
	display: none;
}

/* the plus turns into a minus when open (two thin bars) */
.faq__list summary::before,
.faq__list summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 14px;
	height: 1px;
	background: var(--ink);
	transition: transform 0.35s var(--ease);
}

.faq__list summary::after {
	transform: rotate(90deg);
}

.faq__list details[open] summary::after {
	transform: rotate(0deg);
}

.faq__list details p {
	margin: 0 0 20px;
	font-size: 15px;
}

.notice {
	display: grid;
	gap: 14px;
}

/* the width goes on the children: on the .wrap itself it would center the block */
.notice > *,
.legal > * {
	max-width: 880px;
}

.notice h2 {
	font-size: 22px;
}

.notice p {
	margin: 0;
	padding: 18px 20px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--panel) 45%, var(--paper));
	font-size: 15px;
}

/* ---------- アクセス・法令：項目の表と地図 ---------- */

.info-table {
	margin: 0;
	border-top: 1px solid var(--rule);
}

.info-table div {
	display: grid;
	gap: 4px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
}

.info-table dt {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-2);
}

.info-table dd {
	margin: 0;
	font-size: 15px;
}

.access-info {
	display: grid;
	gap: 32px;
}

.map {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	border-radius: var(--radius);
	filter: saturate(0.6) sepia(0.15);
}

/* ---------- ブログの記事と、見つからないページ ---------- */

.read-progress {
	position: fixed;
	top: var(--header);
	left: 0;
	z-index: 49;
	width: 100%;
	height: 2px;
	background: var(--accent);
}

.blog-index .page-numbers {
	display: flex;
	gap: 8px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.article {
	max-width: 880px;
	padding-block: 48px calc(var(--section) / 2);
}

.article__head {
	display: grid;
	gap: 8px;
	margin-bottom: 32px;
}

.article__head .label a {
	text-decoration: none;
}

.article__date {
	font-size: 17px;
	color: var(--ink-2);
}

.article__head h1 {
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}

.article__photo {
	margin: 0 calc(-1 * var(--gutter)) 36px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

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

.article__body {
	max-width: 640px;
	font-size: 16px;
	line-height: 2.1;
}

.article__body p {
	margin: 0 0 1.4em;
}

.article__author {
	max-width: 640px;
	margin: 28px 0 0;
	font-family: var(--mincho);
	font-size: 14px;
	color: var(--ink-2);
	text-align: right;
}

.article__nav {
	display: grid;
	gap: 12px;
	margin-top: 48px;
}

.article__nav a {
	display: grid;
	gap: 2px;
	padding: 16px 20px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--panel) 45%, var(--paper));
	font-family: var(--mincho);
	text-decoration: none;
}

.article__nav span {
	font-family: var(--gothic);
	font-size: 12px;
	color: var(--ink-2);
}

.article__nav a:hover {
	background: var(--panel);
}

.lost {
	display: grid;
	gap: 32px;
	align-items: center;
}

.lost__photo {
	width: min(70%, 420px);
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
}

.lost__text {
	display: grid;
	gap: 14px;
}

.lost__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 32px;
}

.lost__links .text-link {
	margin-top: 8px;
}

/* ---------- お客様の声のページ・ご予約のページ ---------- */

.voice-page__note {
	margin: 0 0 28px;
	font-size: 14px;
	color: var(--ink-2);
}

/* the newest voice opens the page large */
.voice-page .voice:first-child {
	padding: 48px 24px 24px;
	background: var(--panel);
}

.voice-page .voice:first-child::before {
	top: 4px;
	font-size: 96px;
	color: var(--paper);
}

.voice-page .voice:first-child .voice__body {
	font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
	line-height: 1.9;
}

/* はじめての方へ：経った分の大きな数と 0〜90 の目盛り（広い画面だけ。スマホは手順の丸で読む） */
.day-clock {
	display: none;
}

.reserve-info {
	display: grid;
	gap: 56px;
}

.reserve-info__block {
	display: grid;
	gap: 14px;
	align-content: start;
}

.reserve-info__tel {
	margin: 6px 0 0;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.reserve-info__hours {
	font-size: 14px;
	color: var(--ink-2);
}

.cancel-table {
	margin: 0;
	border-top: 1px solid var(--rule);
}

.cancel-table div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
}

.cancel-table dd {
	margin: 0;
	font-family: var(--mincho);
	white-space: nowrap;
}

.cancel-table .num {
	font-size: 24px;
}

/* ---------- トップ：キャンペーンの帯 ---------- */

.campaign-band {
	padding-block: var(--section);
	overflow-x: clip;
	background: var(--panel);
}

.campaigns {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.campaign {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 16px;
	padding: 14px;
	border-radius: var(--radius);
	background: var(--paper);
}

.campaign__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 12px;
}

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

.campaign__body {
	display: grid;
	gap: 6px;
	align-content: start;
	font-size: 14px;
	line-height: 1.75;
}

.campaign__period,
.campaign__menus {
	font-size: 12px;
	color: var(--ink-2);
}

.campaign__title {
	font-size: 18px;
}

/* ---------- トップ：空き状況（2週間） ---------- */

.top-calendar .calendar {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: 92px;
	margin-inline: calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 8px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.top-calendar .day {
	scroll-snap-align: start;
}

.calendar-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--ink-2);
}

/* ---------- お客様の声 ---------- */

.voices {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.voice {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 36px 24px 22px;
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--panel) 45%, var(--paper));
}

.voice::before {
	content: "“";
	position: absolute;
	top: 6px;
	left: 20px;
	font: italic 500 64px/1 var(--latin);
	color: var(--rule);
}

.voice__body {
	margin: 0;
	font-family: var(--mincho);
	line-height: 2;
}

.voice__foot {
	display: grid;
	gap: 4px;
}

/* the customer arriving and leaving, side by side (her face and mood; the skin is never compared) */
.voice__faces {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.voice__faces figure {
	display: grid;
	gap: 6px;
	margin: 0;
}

.voice__faces img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	object-fit: cover;
}

.voice__faces figcaption {
	font-size: 12px;
	line-height: 1.5;
}

/* with the photos on top, the quotation mark comes under them instead of in the corner */
.voice:has(.voice__faces) {
	padding-top: 24px;
}

.voice:has(.voice__faces)::before {
	position: static;
	order: 1;
	height: 0.4em;
}

.voice:has(.voice__faces) > :not(.voice__faces) {
	order: 2;
}

.voice__who {
	font-size: 14px;
}

.voice__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 13px;
	color: var(--ink-2);
}

.voice__menu .num {
	font-size: 17px;
}

.voice__menu:empty {
	display: none;
}

.voice__note {
	padding-top: 10px;
	border-top: 1px solid var(--rule);
	font-size: 12px;
	line-height: 1.6;
	color: var(--ink-2);
}

/* ---------- トップ：お部屋の写真の帯（スマホは横に送る） ---------- */

.room__viewport {
	overflow-x: auto;
	padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.room__strip {
	display: flex;
	gap: 12px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}

.room__strip li {
	flex: none;
	height: clamp(260px, 40vw, 460px);
	overflow: hidden;
	border-radius: var(--radius);
	scroll-snap-align: start;
}

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

/* ---------- ブログのカード ---------- */

.blog-cards {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-card {
	display: grid;
	grid-template-columns: 40% 1fr;
	grid-template-rows: auto 1fr;
	gap: 6px 16px;
	text-decoration: none;
}

.blog-card__photo {
	grid-row: span 2;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 12px;
}

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

.blog-card__date {
	font-size: 15px;
	color: var(--ink-2);
}

.blog-card__title {
	font-size: 16px;
	line-height: 1.6;
}

.blog-card:hover .blog-card__title {
	text-decoration: underline;
}

/* ---------- トップ：アクセスの短い案内（駅からの点線） ---------- */

.access-short__inner {
	display: grid;
	gap: 24px;
}

.route {
	position: relative;
	aspect-ratio: 600 / 320;
}

.route__line circle {
	fill: var(--accent);
}

.route__line {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.route__line path {
	fill: none;
	stroke: var(--ink-2);
	stroke-width: 2;
	stroke-dasharray: 1 9;
	stroke-linecap: round;
}

.route__photo {
	position: absolute;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.route__photo img {
	border-radius: 10px;
	box-shadow: 0 14px 28px -18px rgb(80 60 65 / 0.5);
}

.route__photo figcaption {
	margin-top: 6px;
	white-space: nowrap;
}

.route__photo--station {
	top: 40%;
	left: 0;
	width: 34%;
}

.route__photo--salon {
	top: 6%;
	right: 0;
	width: 22%;
}

/* ---------- 600px 以上 ---------- */

@media (min-width: 600px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.menu-cards {
		grid-template-columns: 1fr 1fr;
		gap: 40px 24px;
	}

	.menu-card {
		grid-template-columns: 1fr;
	}

	.menu-card__photo {
		aspect-ratio: 4 / 5;
	}

	.menu-card__name {
		font-size: 19px;
	}

	/* おすすめ: the cards of a row share their rows (photo, text, price), so the prices start on one line and the buttons sit at the bottom */
	.recommend .menu-card {
		grid-row: span 3;
		grid-template-rows: subgrid;
		gap: 16px;
	}

	.recommend .menu-card__body {
		display: contents;
	}

	.recommend .menu-card__buy {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.recommend .menu-card__reserve {
		margin-top: auto;
	}

	.menu-rows .menu-card {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 28px;
	}

	.voice-page .voices {
		display: block;
		columns: 2;
		column-gap: 24px;
	}

	.voice-page .voice {
		margin-bottom: 24px;
		break-inside: avoid;
	}

	.voice-page .voice:first-child {
		column-span: all;
		margin-bottom: 40px;
		padding: 64px 48px 32px;
	}

	.voice-page .voice:first-child .voice__faces {
		max-width: 560px;
	}

	.calendar-weekdays,
	.calendar--month {
		gap: 8px;
	}

	.calendar--month .day {
		gap: 4px;
		padding: 12px 6px;
		border-radius: 14px;
	}

	.calendar--month .day__mark {
		font-size: 22px;
	}

	.calendar--month .day__reserve {
		position: static;
		min-height: 36px;
		padding: 4px 8px;
		border: 1px solid var(--ink);
		border-radius: 999px;
		color: var(--ink);
		font-size: 12px;
	}

	.calendar--month .day__reserve:not(:disabled):hover {
		position: static;
		min-height: 36px;
		padding: 4px 8px;
		border: 1px solid var(--ink);
		border-radius: 999px;
		background: var(--ink);
		color: var(--paper);
		font-size: 12px;
	}

	.calendar--month .day__reserve:disabled {
		border-color: transparent;
		color: var(--ink-2);
	}

	.blog-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.blog-card {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.blog-card__photo {
		grid-row: auto;
		margin-bottom: 8px;
		border-radius: var(--radius);
	}
}

/* ---------- 960px 以上：ナビを出し、下の帯を消す ---------- */

@media (min-width: 960px) {
	:root {
		--gutter: 40px;
	}

	body {
		padding-bottom: 0;
	}

	.dock,
	.menu-button,
	.site-nav__more,
	.site-nav__info {
		display: none;
	}

	.site-nav {
		position: static;
		display: block;
		margin-left: auto;
		padding: 0;
		overflow: visible;
		background: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.site-nav__list {
		display: flex;
		gap: 28px;
	}

	.site-nav__list a {
		padding: 8px 0;
		border: 0;
		font-family: var(--gothic);
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.06em;
		background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
		transition: background-size 0.35s var(--ease);
	}

	.site-nav__list a:hover,
	.site-nav__list a[aria-current="page"] {
		background-size: 100% 1px;
		color: var(--ink);
	}

	.site-header__reserve {
		display: inline-flex;
		min-height: 42px;
		padding-block: 8px;
	}

	.site-footer__inner {
		grid-template-columns: 5fr 7fr;
	}

	.site-footer__nav ul {
		grid-template-columns: repeat(3, auto);
		justify-content: end;
	}

	.site-footer__nav .site-footer__legal {
		justify-content: end;
	}

	.page-head {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: end;
		gap: 40px;
	}

	.page-head__text {
		grid-column: 1 / 7;
	}

	.page-head__photo {
		grid-column: 7 / -1;
	}

	.page-head h1,
	.lost h1 {
		font-size: clamp(3rem, 1.6rem + 2.8vw, 4rem);
	}

	/* はじめての方へ：見出しと時計を左に貼り付け、手順を右に */
	.day-flow {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 40px;
		align-items: start;
	}

	.day-flow__side {
		position: sticky;
		top: calc(var(--header) + 32px);
	}

	.day-clock {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: baseline;
		column-gap: 8px;
		margin: 0;
		color: var(--rule);
	}

	.day-clock__num {
		font-size: clamp(120px, 11vw, 168px);
		line-height: 0.8;
	}

	.day-clock__unit {
		font-family: var(--mincho);
		font-size: 26px;
		color: var(--ink-2);
	}

	.day-clock__ruler {
		position: relative;
		grid-column: 1 / -1;
		height: 9px;
		margin-top: 28px;
		background:
			linear-gradient(var(--rule), var(--rule)) left center / 100% 1px no-repeat,
			repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px calc(100% / 6)) left center / 100% 9px no-repeat;
	}

	.day-clock__dot {
		position: absolute;
		top: 50%;
		left: calc(var(--p) * 100%);
		width: 11px;
		height: 11px;
		margin: -5.5px 0 0 -5.5px;
		border-radius: 50%;
		background: var(--accent);
	}

	.day-clock__ends {
		display: flex;
		grid-column: 1 / -1;
		justify-content: space-between;
		margin-top: 6px;
		font-size: 15px;
		color: var(--ink-2);
	}

	.day-flow .step {
		grid-template-columns: 56px minmax(0, 1fr) 220px;
	}

	/* トップの初めの画面：画面の高さいっぱい（スマホの下の帯は無い） */
	.hero {
		min-height: clamp(560px, calc(100svh - var(--header)), 900px);
	}

	.hero__text {
		gap: 20px;
		padding-block: 64px;
	}

	/* トップの見せ場：横一列の目盛り。右上に経った分の大きな数 */
	.flow__stage {
		--w: min(calc((min(100vw - 20px, 1280px) - 80px) / 7.954), max(110px, calc((100svh - 540px) / 1.5)));
		padding-block: 40px 32px;
	}

	.flow__film {
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.flow__clock {
		position: absolute;
		top: 28px;
		right: var(--gutter);
		display: flex;
		align-items: baseline;
		margin: 0;
		color: var(--rule);
	}

	.flow__clock-num {
		font-size: clamp(120px, 12vw, 176px);
		line-height: 0.8;
	}

	.flow__clock-unit {
		margin-left: 8px;
		font-family: var(--mincho);
		font-size: 28px;
		color: var(--ink-2);
	}

	.flow-live {
		height: calc(100svh - var(--header));
	}

	.flow-live .flow__film {
		overflow: visible;
	}

	/* ごあいさつ：写真を左の5列、文を右に */
	.greeting__inner {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 40px;
		align-items: center;
	}

	.greeting__photo {
		grid-column: 1 / 6;
		width: auto;
		margin: 0;
	}

	.greeting__photo .frame {
		border-radius: var(--radius);
	}

	.greeting__text {
		grid-column: 7 / 13;
	}

	/* おすすめは4列 */
	.recommend .menu-cards {
		grid-template-columns: repeat(4, 1fr);
	}

	.campaign-band__inner {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 40px;
		align-items: start;
	}

	.campaigns {
		grid-template-columns: repeat(3, 1fr);
	}

	.campaign {
		grid-template-columns: 1fr;
		align-content: start; /* the taller neighbour must not push this card's text down */
		padding: 0 0 20px;
		overflow: hidden;
	}

	.campaign__photo {
		aspect-ratio: 3 / 2;
		border-radius: 0;
	}

	.campaign__body {
		padding-inline: 20px;
	}

	.top-calendar .calendar {
		grid-template-columns: repeat(7, 1fr);
		grid-auto-flow: row;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}

	.voices-section .voices {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
		align-items: start;
	}

	.voices-section .voice:nth-child(2) {
		margin-top: 72px;
	}

	.room__viewport {
		padding-inline: max(var(--gutter), (100vw - 1200px) / 2);
	}

	.access-short__inner {
		grid-template-columns: 5fr 6fr; /* 5fr 7fr left 「都立大学駅から歩いて6分」 2px short of one line at 1200 */
		gap: 48px;
		align-items: center;
	}

	/* メニューと料金：分類の見出しを左の4列に貼り付け、行を右の8列に */
	.menu-group {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 40px;
		align-items: start;
	}

	.menu-group .section-head {
		position: sticky;
		top: calc(var(--header) + 80px);
	}

	.menu-rows .menu-card {
		grid-template-columns: 160px minmax(0, 1fr);
		gap: 32px;
		padding-block: 36px;
	}

	.menu-rows .menu-card__body {
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 28px;
	}

	.menu-card__voices {
		grid-column: 2;
	}

	.menu-card__voices .voices {
		grid-template-columns: 1fr 1fr;
	}

	.voice-page .voices {
		column-gap: 32px;
	}

	.voice-page .voice {
		margin-bottom: 32px;
	}

	.reserve-info {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}

	/* no photo at the right: the whole width, so 「特定商取引法に基づく表記」 is one line */
	.page-head--plain .page-head__text {
		grid-column: 1 / -1;
	}

	/* サロンについて：写真を左の5列、経歴を右に */
	.owner {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 40px;
		align-items: start;
	}

	.owner__photo {
		grid-column: 1 / 6;
		width: auto;
		margin: 0;
		position: sticky;
		top: calc(var(--header) + 32px);
	}

	.owner__photo .frame {
		border-radius: var(--radius);
	}

	.owner__text {
		grid-column: 7 / 13;
	}

	.values__list {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}

	/* 手順：分の丸・文・写真の3列（600px からの列を広げる） */
	.step {
		grid-template-columns: 56px minmax(0, 1fr) 280px;
		gap: 24px 32px;
	}

	.steps ol {
		gap: 48px;
	}

	.bring {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 40px;
		align-items: start;
	}

	.faq {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 40px;
		align-items: start;
	}

	.access-info {
		grid-template-columns: 6fr 6fr;
		gap: 48px;
		align-items: start;
	}

	.access-info .info-table div {
		grid-template-columns: 6.5em minmax(0, 1fr);
	}

	.info-table div {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 24px;
	}

	.article__photo {
		margin-inline: 0;
		border-radius: var(--radius);
	}

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

	.article__prev:only-child {
		grid-column: 2;
	}

	.lost {
		grid-template-columns: 4fr 8fr; /* 5fr 7fr broke 「ページが見つかりません」 with room to spare at the right */
		gap: 64px;
	}

	.lost__photo {
		width: 100%;
	}
}

/* ---------- 動きの始まりの形：スクリプトが動かすまで隠す（スクリプトが読めないときも3秒で出す） ---------- */

/* ---------- 触れたときの反応・マウスの光・ページを移るときの幕 ---------- */

/* mouse and trackpad: a photo leans in and its frame casts a deeper shadow (not with less motion asked for) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.menu-card__photo img,
	.campaign__photo img,
	.blog-card__photo img,
	.room__strip img {
		transition: scale 0.9s var(--ease); /* scale, not transform: settle (GSAP) owns the transform */
	}

	.menu-card__photo,
	.campaign__photo,
	.blog-card__photo {
		transition: box-shadow 0.6s var(--ease);
	}

	.menu-card:hover .menu-card__photo img,
	.campaign:hover .campaign__photo img,
	.blog-card:hover .blog-card__photo img,
	.room__strip li:hover img {
		scale: 1.06 !important; /* settle (GSAP) writes an inline scale: none next to its transform */
	}

	.menu-card:hover .menu-card__photo,
	.campaign:hover .campaign__photo,
	.blog-card:hover .blog-card__photo {
		box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent);
	}
}

/* a soft light after the mouse (js/motion.js makes it on mouse and trackpad only), lighting the ground behind the content:
   over the content it washed out the text under the pointer */
.cursor-glow {
	position: fixed;
	top: -280px;
	left: -280px;
	z-index: -1;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(255 253 250 / 95%), rgb(255 253 250 / 0%));
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}

.cursor-glow.is-on {
	opacity: 1;
}

/* between pages of the site: the page dims and the next one rises from the bottom like a curtain (browsers without view transitions just go) */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root) {
		animation: salon-page-out 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	::view-transition-new(root) {
		animation: salon-curtain-up 0.8s 0.12s cubic-bezier(0.65, 0, 0.35, 1) both;
	}
}

@keyframes salon-page-out {
	to {
		opacity: 0.35;
	}
}

@keyframes salon-curtain-up {
	from {
		clip-path: inset(100% 0 0 0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	[data-motion~="lines"] > span {
		opacity: 0;
		animation: salon-reveal 0s 3s forwards;
	}

	[data-motion~="wipe"] {
		clip-path: inset(0 0 0 100%);
		animation: salon-unclip 0s 3s forwards;
	}
}

/* the 90-minute photos move on wide screens only (phones swipe the row as it is) */
@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
	.flow__card,
	.flow__dot {
		opacity: 0;
		animation: salon-reveal 0s 3s forwards;
	}

	.flow-live .flow__card,
	.flow-live .flow__dot {
		opacity: 1;
		animation: none;
	}
}

@keyframes salon-reveal {
	to {
		opacity: 1;
	}
}

@keyframes salon-unclip {
	to {
		clip-path: inset(0 0 0 0);
	}
}

/* ---------- 動きを減らす設定：演出をすべて止める（中身は初めから見える） ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
