/* shared/salon-base.css — Salon 共通基盤CSS
cascade 順: theme-tokens → shared/* → salon-base → page-specific(inline)
⚠ hex色リテラル禁止: var() または rgba() のみ使用 (verify check-3 対策) */
/* ── CSS Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--jp);
color: var(--ink); background: var(--bg);
font-weight: 300; line-height: 1.7;
-webkit-font-smoothing: antialiased;
overflow-x: clip;
}
::selection { background: var(--blush); color: var(--bg); }
a { color: inherit; text-decoration: none; }
/* ── Utilities ── */
.mono { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.script { font-family: var(--script); }
[data-magnetic] { display: inline-flex; }
/* ── Grain texture (opacity base: 0.22 — dresses overrides to 0.2 in page CSS) ── */
body::before {
content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0 0.18  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
opacity: 0.22; mix-blend-mode: multiply;
}
/* ── Nav ── */
nav.top {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
display: grid; grid-template-columns: 1fr auto 1fr;
align-items: center;
padding: 22px 44px;
background: rgba(253, 243, 241, 0.78);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-bottom: 1px solid var(--line);
}
nav.top .nav-l, nav.top .nav-r { display: flex; gap: 28px; font-family: var(--serif); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
nav.top .nav-r { justify-content: flex-end; align-items: center; }
nav.top .nav-l a, nav.top .nav-r a { transition: color 0.24s cubic-bezier(0.4, 0, 0.2, 1); padding: 4px 0; }
nav.top .nav-l a:hover, nav.top .nav-r a:hover { color: var(--blush); }
nav.top .nav-l a.is-current { color: var(--blush); }
nav.top .brand { font-family: var(--display); font-size: 24px; letter-spacing: 0.16em; text-align: center; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
nav.top .brand small { display: block; font-family: var(--script); font-size: 20px; letter-spacing: 0.04em; color: var(--blush); margin-top: 0; text-transform: none; white-space: nowrap; }
nav.top .brand .brand-star { --icon-size: 22px; color: var(--blush); }
nav.top .brand .brand-star svg { fill: currentColor; stroke: none; }
nav.top .brand .brand-text { display: inline-block; text-align: center; }
nav.top .book-btn {
border: 1px solid var(--ink); border-radius: 999px;
font-family: var(--serif); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1); background: var(--ink); color: var(--bg);
}
nav.top .book-btn:hover { background: var(--blush); border-color: var(--blush); color: var(--bg); }
/* ── Buttons ── */
.btn {
display: inline-flex; align-items: center; gap: 12px;
font-family: var(--serif); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
padding: 16px 30px; border-radius: 999px; border: 1px solid var(--ink);
color: var(--ink); background: transparent; cursor: pointer;
transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--filled { background: var(--ink); color: var(--bg); }
.btn--filled:hover { background: var(--blush); border-color: var(--blush); color: var(--bg); }
.btn--ghost { border-color: var(--line); color: var(--mute); }
.btn--ghost:hover { border-color: var(--blush); color: var(--blush); background: transparent; }
.btn.btn-premium { isolation: isolate; position: relative; overflow: hidden; }
.btn.btn-premium::before {
content: ""; position: absolute; inset: 0; background: var(--blush);
transform: translateY(101%); transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1; border-radius: 999px;
}
.btn.btn-premium:hover::before { transform: translateY(0); }
.btn.btn-premium:hover { color: var(--bg); border-color: var(--blush); background: transparent; }
/* ── Sections ── */
section { padding: 130px 40px; position: relative; z-index: 2; }
.sec-head { text-align: center; max-width: 920px; margin: 0 auto 70px; }
.sec-head .eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--blush); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; justify-content: center; }
.sec-head .eyebrow .icon { color: var(--blush); --icon-size: 11px; }
.sec-head .eyebrow .icon svg { fill: currentColor; stroke: none; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1; margin-bottom: 20px; letter-spacing: -0.005em; }
.sec-head h2 .sc { font-family: var(--script); color: var(--blush); font-size: 1.1em; line-height: 0.95; display: inline-block; white-space: nowrap; }
.sec-head .lede { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--mute); }
/* ── Footer ── */
footer { padding: 80px 40px 32px; background: var(--cream); text-align: center; position: relative; z-index: 2; }
footer .big { font-family: var(--display); font-size: clamp(50px, 8vw, 130px); line-height: 0.95; letter-spacing: -0.005em; }
footer .big .sc { font-family: var(--script); color: var(--blush); font-size: 1.1em; line-height: 0.95; display: inline-block; white-space: nowrap; }
footer .fnav { margin-top: 30px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer .fnav a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); transition: color 0.24s cubic-bezier(0.4, 0, 0.2, 1); }
footer .fnav a:hover { color: var(--blush); }
footer .fbot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--mute); font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* ── Marble surface texture (Bianco Carrara, light sections only) ── */
.marble-surface { isolation: isolate; }
.marble-surface::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
opacity: var(--marble-opacity, 0.07);
mix-blend-mode: var(--marble-blend, multiply);
background-image:
repeating-linear-gradient(
18deg,
transparent 0px,
transparent 6px,
rgba(107, 72, 79, 0.6) 6px,
rgba(107, 72, 79, 0.6) 7px,
transparent 7px,
transparent 20px
),
repeating-linear-gradient(
-18deg,
transparent 0px,
transparent 14px,
rgba(107, 72, 79, 0.3) 14px,
rgba(107, 72, 79, 0.3) 15px,
transparent 15px,
transparent 35px
),
linear-gradient(
165deg,
rgba(245, 238, 235, 1) 0%,
rgba(240, 230, 226, 1) 25%,
rgba(250, 244, 241, 1) 50%,
rgba(242, 233, 229, 1) 75%,
rgba(248, 240, 237, 1) 100%
);
}
/* ── Icon animations ── */
@keyframes twinkle { 0%, 100% { opacity: 0.8; } 50% { opacity: 1.0; } }
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.75; } }
.icon.icon--twinkle { animation: twinkle 2.4s ease-in-out infinite; }
.icon.icon--pulse   { animation: pulse 3.2s ease-in-out infinite; }
