/*
Theme Name: hair 栞糸 SHIORIITO
Description: 架空の美容室の見本（2026-11-11）。白の地・チャコールの文字・くすんだローズ1色。細い明朝と細いセリフ体の英字。PCは左端の縦の帯、スマホは下の予約の帯。
Version: 1.0
*/

:root {
	--bg:     #ffffff;
	--ink:    #2B2B2B;   /* チャコール */
	--mute:   #6d6a6a;
	--line:   #d8d3d3;
	--rose:   #B88A8A;   /* くすんだローズ */
	--rose-d: #a07272;
	--tint:   #F3E7E7;   /* ローズの淡い地 */
	--en:   "Cormorant Garamond", "Times New Roman", serif;
	--ja:   "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--side: 120px;
	--gut:  clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ja); font-size: 15px; line-height: 2; letter-spacing: .06em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- 全体の枠（PCは左に縦の帯） ---------- */
.shell { display: flex; align-items: flex-start; }
.main { position: relative; flex: 1; min-width: 0; }

.side { position: sticky; top: 0; flex: 0 0 var(--side); width: var(--side); height: 100vh; border-right: 1px solid var(--line); background: #fff; padding: 28px 0 0 24px; z-index: 20; }
.side__logo { display: block; text-decoration: none; }
.side__name { display: block; font-size: 30px; line-height: 1.2; letter-spacing: .12em; }
.side__en { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .3em; margin-top: 2px; }
.burger { display: none; }
.side__nav { margin-top: 36px; padding-top: 28px; position: relative; display: flex; flex-direction: column; gap: 20px; }
.side__nav::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; border-top: 1px solid var(--line); }
.side__nav a { font-family: var(--en); font-size: 19px; letter-spacing: .06em; text-decoration: none; color: var(--ink); line-height: 1.2; transition: color .2s; }
.side__nav a:hover { color: var(--rose); }
.side__rsv { display: none; }

.rsv { position: absolute; top: 20px; right: var(--gut); z-index: 10; border: 1px solid var(--ink); background: #fff; padding: 6px 28px; font-size: 13px; text-decoration: none; letter-spacing: .14em; line-height: 1.8; transition: .2s; }
.rsv:hover { background: var(--ink); color: #fff; }

.mihon-note { margin: 0; padding: 10px calc(var(--gut) + 120px) 0 var(--gut); font-size: 11px; color: var(--mute); text-align: center; line-height: 1.7; letter-spacing: .05em; }

/* ---------- ボタン ---------- */
.btn { display: inline-block; font-family: var(--ja); font-size: 13px; letter-spacing: .14em; text-decoration: none; padding: 7px 28px; border: 1px solid var(--ink); background: #fff; color: var(--ink); line-height: 1.8; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--solid { background: var(--ink); color: #fff; padding: 12px 36px; }
.btn--solid:hover { background: var(--rose); border-color: var(--rose); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); color: #fff; }
.more { text-align: center; margin: 40px 0 0; }

/* ---------- トップ：一番上 ---------- */
.hero { padding: 40px var(--gut) 0; }
.hero__imgs { display: flex; justify-content: center; align-items: flex-start; max-width: 880px; margin: 0 auto; }
.hero__p { margin: 0; overflow: hidden; background: var(--tint); }
.hero__p img { width: 100%; height: 100%; object-fit: cover; }
.hero__p--1 { width: 29%; aspect-ratio: 3 / 4; margin-top: 36px; }
.hero__p--2 { width: 30%; aspect-ratio: 5 / 7; margin: 0 -1.5%; position: relative; z-index: 1; }
.hero__p--3 { width: 29%; aspect-ratio: 3 / 4; margin-top: 64px; }
.hero__txt { position: relative; z-index: 2; text-align: center; margin-top: calc(-1 * clamp(44px, 8vw, 110px)); }
.hero__en { font-family: var(--en); font-weight: 300; font-size: clamp(38px, 7.6vw, 104px); line-height: 1.1; letter-spacing: .01em; }
.hero__ja { font-size: clamp(15px, 2.2vw, 26px); letter-spacing: .3em; margin: 12px 0 0; }

/* ---------- 見出し ---------- */
.sec { padding: 64px var(--gut) 0; max-width: 1040px; margin: 0 auto; }
.sec__head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.sec__h { font-family: var(--en); font-weight: 400; font-size: clamp(32px, 4vw, 46px); letter-spacing: .04em; }
.sec__h--ja { font-family: var(--ja); font-size: clamp(22px, 3vw, 28px); }
.sec__rule { flex: 1; border-top: 1px solid var(--line); }

/* ---------- 切り替えボタン ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.tabs__b { min-width: 132px; padding: 7px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; letter-spacing: .14em; cursor: pointer; transition: .2s; line-height: 1.8; }
.tabs__b:hover { border-color: var(--rose); }
.tabs__b.is-on { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ---------- スタイル ---------- */
.style-card { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; justify-content: center; }
.style-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.style-card__img img { width: 100%; height: 100%; object-fit: cover; }
.style-card__en { font-family: var(--en); font-size: 30px; color: var(--rose); letter-spacing: .08em; margin: 0 0 4px; line-height: 1.3; }
.style-card__h { font-size: 24px; margin-bottom: 12px; }
.style-card__copy { font-size: 18px; line-height: 1.9; margin-bottom: 14px; }
.style-card__pt { font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.style-list { display: grid; gap: clamp(48px, 8vw, 96px); }
.style-list .style-card:nth-child(even) { grid-template-columns: 1fr minmax(0, 420px); }
.style-list .style-card:nth-child(even) .style-card__img { order: 2; }

/* ---------- 料金 ---------- */
.price { max-width: 700px; margin: 0 auto; }
.price th, .price td { padding: 10px 6px; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.price td { text-align: right; white-space: nowrap; }
.price tr:first-child th, .price tr:first-child td { border-top: 1px solid var(--line); }
.price-note { max-width: 700px; margin: 12px auto 0; font-size: 12px; color: var(--mute); }
.price-sec { margin-bottom: 44px; }
.en-h { font-family: var(--en); font-size: 30px; letter-spacing: .06em; margin-bottom: 12px; text-align: center; }

/* ---------- スタイリスト ---------- */
.stylists { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.stylist { text-align: center; }
.stylist__img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--tint); margin-bottom: 14px; }
.stylist__img img { width: 100%; height: 100%; object-fit: cover; }
.stylist__name { font-size: 18px; letter-spacing: .16em; }
.stylist__en { font-family: var(--en); font-size: 15px; color: var(--rose); margin: 0; line-height: 1.6; }
.stylist__skill { font-size: 13px; color: var(--mute); margin: 2px 0 12px; }
.stylist__text { font-size: 13px; line-height: 1.9; text-align: left; }
.stylist__career { font-size: 12px; color: var(--mute); }
.stylists--detail .stylist { padding-bottom: 8px; }

/* ---------- はじめての方へ ---------- */
.first { background: var(--tint); margin-top: 72px; padding: 52px var(--gut) 60px; }
.first__in { max-width: 1040px; margin: 0 auto; }
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 40px 14px 8px; position: relative; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--en); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 8px 18px; font-size: 13.5px; color: var(--mute); }

/* ---------- 下層ページ ---------- */
.page-hero { padding: 44px var(--gut) 12px; }
.page-hero__in { max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.crumb { font-family: var(--en); font-size: 15px; letter-spacing: .2em; color: var(--rose); margin: 0 0 8px; }
.crumb a { text-decoration: none; }
.crumb span { margin: 0 10px; color: var(--line); }
.page-hero__h { font-size: clamp(28px, 4vw, 40px); letter-spacing: .12em; }
.page-hero__lead { margin: 14px 0 0; color: var(--mute); font-size: 14px; }
.page-hero__img { margin: 0; flex: 0 0 min(280px, 34%); aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.entry { padding: 36px 0 24px; }
.entry h2 { font-size: 24px; letter-spacing: .1em; margin: 56px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.entry h2:first-child { margin-top: 0; }
.entry h2.en-h { border: 0; padding: 0; margin: 0 0 12px; }
.entry h3 { font-size: 17px; margin: 28px 0 8px; }
.entry-img { margin: 24px 0; }
.entry-img figcaption { font-size: 12px; color: var(--mute); margin-top: 6px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.box { border: 1px solid var(--line); padding: 18px 22px; background: #fff; }
.box p:last-child { margin-bottom: 0; }
.big-n { font-family: var(--en); font-size: 1.6em; color: var(--rose); padding: 0 .1em; }
.tbl th, .tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.tbl tr:first-child th, .tbl tr:first-child td { border-top: 1px solid var(--line); }
.tbl th { width: 7.5em; color: var(--mute); font-size: 13px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -6px; font-family: var(--en); font-size: 30px; color: var(--rose); line-height: 1.4; }
.steps strong { display: block; font-weight: 500; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-size: 13px; color: var(--mute); }
.form input, .form select, .form textarea { font: inherit; font-size: 14px; color: var(--ink); padding: 9px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; width: 100%; }
.form__note { margin: 0; font-size: 12px; color: var(--rose-d); }
#reserve { scroll-margin-top: 24px; }

/* ---------- フッター ---------- */
.ft { margin-top: 0; background: var(--ink); color: #eae6e6; padding: 36px var(--gut) 20px; }
.first + .ft, .ft { margin-top: 0; }
.entry + .ft, .wrap + .ft, .sec + .ft { margin-top: 64px; }
.ft__in { max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.ft__name { font-size: 18px; letter-spacing: .14em; margin: 0 0 8px; }
.ft__info { font-size: 12px; line-height: 1.9; margin: 0 0 6px; color: #cfc9c9; }
.ft__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ft__nav a { font-family: var(--en); font-size: 17px; text-decoration: none; }
.ft__nav a:hover { color: var(--rose); }
.ft__copy { max-width: 1040px; margin: 24px auto 0; font-size: 11px; color: #a39d9d; text-align: right; }

.sp-rsv { display: none; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
	body { font-size: 14px; padding-bottom: 64px; }
	body.menu-open { overflow: hidden; }
	.shell { display: block; }
	.side { position: sticky; top: 0; width: auto; height: auto; border-right: 0; padding: 12px 20px 8px; display: flex; justify-content: space-between; align-items: flex-start; background: #fff; z-index: 60; }
	.side__name { font-size: 28px; }
	.burger { display: block; position: relative; width: 52px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0; margin-top: 4px; }
	.burger span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: .25s; }
	.burger span:nth-child(1) { top: 14px; }
	.burger span:nth-child(2) { top: 24px; }
	.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(20deg); }
	.menu-open .burger span:nth-child(2) { top: 19px; transform: rotate(-20deg); }
	.side__nav { display: none; position: fixed; inset: 0; z-index: -1; margin: 0; padding: 90px 20px 90px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
	.side__nav::before { display: none; }
	.side__nav.is-open { display: flex; }
	.side__nav a { font-size: 30px; }
	.side__rsv { display: inline-block; font-family: var(--ja) !important; font-size: 15px !important; border: 1px solid var(--ink); padding: 8px 40px; margin-top: 8px; }
	.rsv { display: none; }
	.mihon-note { padding: 6px var(--gut) 0; }

	.hero { padding-top: 28px; }
	.hero__p--1 { margin-top: 24px; }
	.hero__p--3 { margin-top: 40px; }
	.sec { padding-top: 48px; }
	.sec__head { gap: 14px; }
	.sec__head:not(.keep) { justify-content: center; }
	.sec__h { order: 2; }
	.sec__rule { display: block; }
	.sec__head::before { content: ""; flex: 1; border-top: 1px solid var(--line); order: 1; }
	.sec__rule { order: 3; }
	.tabs { gap: 8px; }
	.tabs[data-group="style"] { display: grid; grid-template-columns: repeat(4, 1fr); }
	.tabs[data-group="price"] { display: grid; grid-template-columns: repeat(2, 1fr); }
	.tabs__b { min-width: 0; padding: 8px 4px; font-size: 12.5px; letter-spacing: .06em; }
	.style-card { grid-template-columns: 1fr; }
	.style-list .style-card:nth-child(even) { grid-template-columns: 1fr; }
	.style-list .style-card:nth-child(even) .style-card__img { order: 0; }
	.style-card__img { aspect-ratio: 1 / 1; }
	.stylists { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 36px; }
	.stylist__img { aspect-ratio: 4 / 3; }
	.cols { grid-template-columns: 1fr; }
	.page-hero { padding-top: 28px; }
	.page-hero__in { flex-direction: column-reverse; align-items: stretch; gap: 22px; }
	.page-hero__img { flex: none; width: 100%; aspect-ratio: 16 / 10; }
	.ft__in { flex-direction: column; }
	.ft__copy { text-align: left; }
	.entry + .ft, .wrap + .ft, .sec + .ft { margin-top: 48px; }

	.sp-rsv { display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; max-width: 680px; margin: 0 auto; z-index: 50; background: var(--ink); color: #fff; text-decoration: none; padding: 16px 28px; font-size: 18px; letter-spacing: .2em; }
	.sp-rsv span { flex: 1; text-align: center; }
	.sp-rsv svg { width: 40px; height: 12px; }
	.menu-open .sp-rsv { z-index: 0; }
}
