/* Oshi Yorisoi トップページ（2026-10 リデザイン）。診断・予約ページは site.css */
:root {
  --paper: #EEE9E3; --ink: #1C1517; --mist: #857B78; --bx: #5A1424;
  --line: #CFC6BE; --line-dark: #3A3033; --on-ink: #E9E2DA;
  --jp-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --jp-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --en: "Instrument Serif", "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --edge: 5vw;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--jp-body); font-size: 15px; line-height: 2; letter-spacing: .04em; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--jp-display); font-weight: 500; }
h3 { font-weight: 500; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bx); outline-offset: 4px; }
.nb { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type roles */
.lbl { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.en { font-family: var(--en); font-style: italic; font-weight: 400; letter-spacing: 0; line-height: 1.1; }
.h1 { font-size: clamp(30px, 3.3vw, 52px); line-height: 1.3; letter-spacing: .04em; }
.h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.5; letter-spacing: .06em; }
.body { max-width: 34em; }
.body p + p { margin-top: 1.2em; }

/* Text link with arrow + underline that grows from the left */
.tl { display: inline-flex; align-items: center; gap: .9em; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-decoration: none; padding-block: 8px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.tl::after { content: "→"; font-family: var(--en); font-size: 1.15em; transition: transform .5s var(--ease); }
.tl:hover { background-size: 0 1px; animation: grow .5s var(--ease) forwards; }
.tl:hover::after { transform: translateX(4px); }
@keyframes grow { from { background-size: 0 1px; } to { background-size: 100% 1px; } }
.tl.bx { color: var(--bx); }

/* Grid: 12 columns, gutter 24, outer 5vw */
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-inline: var(--edge); }
.g > * { min-width: 0; }

/* 00 Header */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--edge); color: #F3EDE6; transition: transform .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease); }
.hd.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd.away { transform: translateY(-100%); }
.wm { font-family: var(--en); font-size: 26px; line-height: 1; letter-spacing: -.005em; text-decoration: none; }
.wm { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.wm small { font-family: var(--mono); font-size: 8.5px; line-height: 1; letter-spacing: .34em; text-transform: uppercase; opacity: .78; padding-left: 1px; }
.hd nav { display: flex; align-items: center; gap: 32px; }
.hd nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-decoration: none; }
.hd nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.hd .go { font-family: var(--jp-body); font-size: 13px; font-weight: 500; letter-spacing: .12em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hd .menu-btn { display: none; }
.menu { display: none; }

/* 01 Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #F3EDE6; overflow: hidden; background: #2A2120; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 62% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 15, .58) 0%, rgba(20, 14, 15, .34) 38%, rgba(20, 14, 15, 0) 62%), linear-gradient(0deg, rgba(20, 14, 15, .42) 0%, rgba(20, 14, 15, 0) 40%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; left: var(--edge); right: var(--edge); bottom: clamp(40px, 9vh, 96px); display: grid; gap: 28px; justify-items: start; }
.display { font-family: var(--jp-display); font-weight: 500; font-size: clamp(44px, 5.3vw, 100px); line-height: 1.12; letter-spacing: .02em; }
.hero .sub { font-size: 14px; letter-spacing: .08em; }
.hero .tl { color: #F3EDE6; }
.hero .vlabel { position: absolute; z-index: 1; bottom: clamp(40px, 9vh, 96px); right: var(--edge); writing-mode: vertical-rl; color: rgba(243, 237, 230, .82); }

/* 02 Breath */
.breath { padding-block: 280px 280px; }
.breath .v { grid-column: 8 / 11; justify-self: end; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 40px; }
.vtext { writing-mode: vertical-rl; font-family: var(--jp-display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.9; letter-spacing: .2em; white-space: nowrap; }
.breath .en { writing-mode: vertical-rl; font-size: clamp(20px, 1.8vw, 26px); color: var(--mist); margin-top: 6em; }

/* 03 Visual */
.visual { position: relative; overflow: hidden; }
.visual img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.cap { position: absolute; left: var(--edge); bottom: 24px; color: rgba(243, 237, 230, .9); display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; font-size: 13px; letter-spacing: .1em; }
.cap .lbl { color: inherit; }

/* 04 Concept */
.concept { padding-block: 240px 160px; align-items: start; }
.concept .ph { grid-column: 1 / 6; margin-left: calc(var(--edge) * -1); }
.concept .tx { grid-column: 8 / 12; padding-top: 18vh; display: grid; gap: 48px; }
.mlabel dl { display: grid; grid-template-columns: auto 1fr; gap: 0 28px; }
.mlabel { border-top: 1px solid var(--ink); padding-top: 18px; max-width: 26em; }
.mlabel .no { font-family: var(--en); font-style: italic; font-size: 22px; line-height: 1; margin-bottom: 16px; }
.mlabel dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mist); padding-top: 4px; }
.mlabel dd { font-size: 13.5px; line-height: 1.9; padding-bottom: 10px; }

/* 05 Creator x Fragrance */
.creator { padding-block: 160px 240px; align-items: start; }
.creator .tx { grid-column: 1 / 7; grid-row: 1 / 3; padding-top: 10vh; display: grid; gap: 40px; justify-items: start; }
.creator .p1 { grid-column: 8 / 12; grid-row: 1; }
.creator .p2 { grid-column: 7 / 10; grid-row: 2; margin-top: -9vw; position: relative; z-index: 1; border: 10px solid var(--paper); border-width: 10px 10px 0 0; }

/* 06 Service (the only dark surface) */
.service { background: var(--ink); color: var(--on-ink); padding-block: 160px 160px; }
.service .lbl { color: #9C918D; }
.service .head { grid-column: 1 / 4; }
.service .main { grid-column: 4 / 13; display: grid; gap: 0; }
.service .h1 { margin-bottom: 96px; }
.stmt { display: grid; grid-template-columns: 7em 1fr; gap: 24px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line-dark); }
.stmt:last-of-type { border-bottom: 1px solid var(--line-dark); }
.stmt p:not(.lbl) { font-family: var(--jp-display); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.45; letter-spacing: .05em; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 96px; }
.roles h3 { font-size: 15px; letter-spacing: .1em; margin-bottom: 14px; }
.roles ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 2.1; color: #CFC6BE; }
.roles li::before { content: "— "; color: #6E6366; }

/* 07 Flow */
.flow { padding-block: 200px 120px; align-items: start; }
.flow .head { grid-column: 1 / 5; position: sticky; top: 112px; display: grid; gap: 24px; }
.flow .head .en { font-size: clamp(26px, 2.6vw, 40px); }
.flow ol { grid-column: 6 / 13; list-style: none; padding: 0; }
.step { display: grid; grid-template-columns: 4.2em 1fr auto; gap: 0 32px; padding-block: 40px 56px; border-top: 1px solid var(--ink); align-items: start; }
.step .n { font-family: var(--en); font-size: clamp(56px, 5vw, 80px); line-height: .8; }
.step h3 { font-size: 18px; letter-spacing: .04em; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: #3E3437; max-width: 26em; }
.shot { width: clamp(120px, 11vw, 170px); aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border: 1px solid var(--line); background: #fff; }
.flow .after { padding-top: 32px; border-top: 1px solid var(--ink); }

/* 08 Fragrance */
.fragrance { padding-block: 200px 240px; align-items: end; }
.fragrance .ph { grid-column: 2 / 8; position: relative; }
/* Label printed on the bottle photo: laid out flat at 304×364, then warped onto the label's four corners by JS */
.lab { position: absolute; left: 0; top: 0; width: 304px; height: 364px; transform-origin: 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0 30px; color: #2F2527; text-align: center; pointer-events: none; mix-blend-mode: multiply; opacity: .9; -webkit-font-smoothing: antialiased; }
.lab .sm { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; white-space: nowrap; }
.lab .nm { font-family: var(--en); font-style: italic; font-size: 40px; line-height: 1.05; margin-block: 22px; white-space: nowrap; }
.lab .nm.ja { font-family: var(--jp-display); font-style: normal; font-weight: 500; }
.lab .sig { font-family: var(--en); font-style: italic; font-size: 17px; color: #5A1424; white-space: nowrap; margin: -12px 0 18px; }
.fragrance .tx { grid-column: 9 / 12; display: grid; gap: 40px; }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dd { font-size: 13.5px; }
.fine { font-size: 12px; line-height: 1.8; color: var(--mist); }

/* 09 For fans + FAQ */
.fans { padding-block: 0 200px; align-items: start; row-gap: 120px; }
.fans .ph { overflow: hidden; grid-column: 1 / 8; margin-left: calc(var(--edge) * -1); }
.fans .reserve { grid-column: 8 / 12; align-self: end; display: grid; gap: 28px; }
.fans .reserve ol { padding-left: 1.2em; font-size: 14.5px; display: grid; gap: 10px; }
.faq-head { grid-column: 1 / 5; position: sticky; top: 112px; display: grid; gap: 16px; }
.faq { grid-column: 6 / 13; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-block: 22px; font-size: 15.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--en); font-size: 24px; line-height: 1; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; font-size: 14.5px; color: #3E3437; max-width: 34em; }

/* 10 Closing */
.closing { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: #F6F0E9; display: grid; place-items: center; text-align: center; background: #3A2A22; }
.closing picture, .closing img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing img { object-fit: cover; object-position: 50% 50%; }
.closing::after { content: ""; position: absolute; inset: 0; background: rgba(28, 21, 23, .26); pointer-events: none; }
.closing .in { position: relative; z-index: 1; display: grid; gap: 48px; justify-items: center; padding-inline: 20px; }
.closing .display { font-size: clamp(36px, 5.2vw, 88px); text-shadow: 0 0 40px rgba(28, 21, 23, .25); }
.btn-bx { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 300px; padding: 20px 40px; background: var(--bx); color: #F6F0E9; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-decoration: none; transition: background-color .5s var(--ease); }
.btn-bx:hover { background: #6B1A2C; }
.btn-bx::after { content: "→"; font-family: var(--en); font-size: 1.2em; }
.closing .tl { color: #F6F0E9; font-size: 13px; }

/* 11 Footer */
.ft { padding-top: 120px; overflow: hidden; }
.ft .info { grid-column: 1 / 7; display: grid; grid-template-columns: 7em 1fr; gap: 10px 24px; font-size: 13.5px; }
.ft .info dt { padding-top: 3px; }
.ft .links { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; font-size: 13px; }
.ft .links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.ft .links a:hover { border-color: var(--ink); }
.ft .big { grid-column: 1 / -1; font-family: var(--en); font-size: 25vw; line-height: .78; letter-spacing: -.035em; white-space: nowrap; margin-top: 120px; margin-bottom: 0; text-align: center; }
.ft .copy { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; border-top: 1px solid var(--ink); margin-top: 120px; }

/* Motion (only with JS, never for reduced motion) */
.js [data-reveal] { position: relative; }
/* Wipe reveal: a paper cover shrinks downward. Uses transform only, so the GPU animates it without repainting the photo every frame */
.js [data-reveal]::after { content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--paper); transform-origin: 50% 100%; transition: transform 1.4s var(--ease); pointer-events: none; }
.js [data-reveal].on::after { transform: scaleY(0); }
/* The small overlapping photo keeps the clip so the photo underneath stays visible */
.js .creator .p2[data-reveal]::after { content: none; }
.js .creator .p2[data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .creator .p2[data-reveal].on { clip-path: inset(0 0 0 0); }
.js [data-fade] > * { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-fade].on > * { opacity: 1; transform: none; }
.js [data-fade].on > :nth-child(2) { transition-delay: .12s; }
.js [data-fade].on > :nth-child(3) { transition-delay: .24s; }
.js [data-fade].on > :nth-child(4) { transition-delay: .36s; }
.js [data-fade].on > :nth-child(5) { transition-delay: .48s; }
.js .hero img { filter: brightness(.86); transition: filter 2s var(--ease); }
.js .hero.on img { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]::after { content: none !important; }
  .js [data-reveal], .js [data-fade] > *, .js .hero img { clip-path: none !important; opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hd, .tl, .tl::after, .btn-bx { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .hd nav a:not(.go) { display: none; }
  .concept .ph { grid-column: 1 / 7; }
  .concept .tx { grid-column: 7 / 13; padding-top: 6vh; }
  .creator .tx { grid-column: 1 / 7; }
  .creator .p1 { grid-column: 8 / 13; }
  .creator .p2 { grid-column: 8 / 11; margin-top: -6vw; }
  .fragrance .ph { grid-column: 1 / 8; }
  .fragrance .tx { grid-column: 8 / 13; }
  .fans .reserve { grid-column: 8 / 13; }
  .service .head { grid-column: 1 / -1; margin-bottom: 32px; }
  .service .main { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --edge: 20px; }
  body { font-size: 14.5px; line-height: 1.9; }
  .g { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .g > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .hd { height: 52px; }
  .wm { font-size: 22px; }
  .hd nav { gap: 18px; }
  .js .hd .menu-btn { display: inline-flex; background: none; border: 0; color: inherit; font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; padding: 8px 0; cursor: pointer; }
  .menu { position: fixed; inset: 0; z-index: 30; background: var(--paper); color: var(--ink); padding: 18px 20px 40px; flex-direction: column; }
  .menu.open { display: flex; }
  .menu .top { display: flex; justify-content: space-between; align-items: center; height: 52px; margin-top: -18px; }
  .menu .top button { background: none; border: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: inherit; padding: 8px 0; cursor: pointer; }
  .menu ul { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ink); }
  .menu li a { display: flex; justify-content: space-between; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--jp-display); font-size: 22px; }
  .menu li a .lbl { font-size: 10.5px; }
  .menu .btn-bx { margin-top: auto; width: 100%; min-width: 0; }

  .hero img { object-position: 60% 40%; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 14, 15, .74) 0%, rgba(20, 14, 15, .42) 34%, rgba(20, 14, 15, 0) 58%); }
  .hero-copy { bottom: 36px; gap: 20px; }
  .display { font-size: 11.4vw; line-height: 1.18; }
  .hero .sub { font-size: 13px; letter-spacing: .04em; }
  .hero .vlabel { top: 76px; bottom: auto; }

  .breath { padding-block: 144px; }
  .breath .v { justify-self: end; gap: 24px; padding-right: 8vw; }
  .vtext { font-size: 24px; }
  .breath .en { font-size: 19px; margin-top: 4em; }

  .visual img { aspect-ratio: 4 / 5; }
  .cap { bottom: 18px; font-size: 12px; }

  .concept { padding-block: 144px 96px; row-gap: 56px; }
  .concept .ph { width: 80%; margin-left: -20px; }
  .concept .tx { padding-top: 0; padding-left: 12%; gap: 40px; }
  .h1 { font-size: 30px; line-height: 1.35; }
  .h2 { font-size: 23px; }

  .creator { padding-block: 64px 144px; row-gap: 0; }
  .creator .p1 { width: 78%; justify-self: end; margin-right: -20px; }
  .creator .p2 { width: 54%; margin: -26% 0 0 -20px; border-width: 8px 8px 0 0; align-self: start; }
  .creator .tx { padding-top: 56px; gap: 32px; }

  .service { padding-block: 96px; }
  .service .h1 { margin-bottom: 56px; }
  .stmt { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .stmt p:not(.lbl) { font-size: 24px; }
  .roles { grid-template-columns: 1fr; gap: 36px; margin-top: 64px; }

  .flow { padding-block: 120px 64px; row-gap: 48px; }
  .flow .head { position: static; }
  .step { grid-template-columns: 3.2em 1fr; padding-block: 28px 40px; }
  .step .n { font-size: 52px; }
  .step .shot { grid-column: 2; margin-top: 24px; width: 46vw; }

  .fragrance { padding-block: 96px 144px; row-gap: 40px; }
  .fragrance .ph { margin-inline: -20px; }
  .spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }

  .fans { padding-block: 0 120px; row-gap: 56px; }
  .fans .ph { margin-inline: -20px; }
  .faq-head { position: static; }
  .faq summary { font-size: 15px; padding-block: 18px; }

  .closing { min-height: 560px; }
  .closing img { object-position: 42% 50%; }
  .closing .in { align-self: stretch; width: 100%; padding: 20vh 20px 32px; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; }
  .closing .display { font-size: 9.6vw; line-height: 1.3; }
  .closing .acts { gap: 14px; }
  .closing .btn-bx { width: 100%; min-width: 0; padding-block: 20px; }

  .ft { padding-top: 80px; }
  .ft .info { grid-template-columns: 1fr; gap: 2px; }
  .ft .info dd { margin-bottom: 14px; }
  .ft .links { margin-top: 24px; }
  .ft .copy { margin-top: 72px; }
  .ft .copy { flex-direction: column; gap: 4px; font-size: 11px; }
}
.closing .acts { display: grid; gap: 18px; justify-items: center; }
