/* Playwoods の LP。色はアイコンの三層（白樺・飴色・胡桃）と、棚の暗い木の色から。 */
:root {
  --bg: #140e0a;
  --bg2: #1d150f;
  --ink: #f6e7c6;
  --ink2: rgba(246, 231, 198, .72);
  --ink3: rgba(246, 231, 198, .48);
  --amber: #dfb77a;
  --walnut: #bc8d62;
  --line: rgba(246, 231, 198, .12);
  --serif: ui-serif, "New York", "Iowan Old Style", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--sans); }
.lang-ja { line-height: 1.9; }
img { display: block; max-width: 100%; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; }
.lang-ja h2 { letter-spacing: .02em; line-height: 1.35; }
p { margin: 0 0 1em; color: var(--ink2); max-width: 40em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(72px, 11vw, 140px) 0; }

/* 上の帯 */
.bar { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: linear-gradient(rgba(20, 14, 10, .7), rgba(20, 14, 10, 0)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 19px var(--serif); }
.brand img { border-radius: 7px; }
.lang { font-size: 14px; color: var(--ink2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; }

/* 最初の画面：全景を順に入れ替える */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 70% 40%, #17223a 0%, #101827 45%, var(--bg) 100%); padding: 0; display: flex; align-items: flex-end; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; background: #0e1626; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s ease, transform 9s ease-out; }
.hero-img.on { opacity: 1; transform: scale(1); }
@media (min-width: 821px) {
  /* 大きな画面では、模型を右に寄せ、左の文字と重ねない。絵の左の端は背景に溶かす。 */
  .hero-stage { left: 30%; background: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
  .hero-text h1, .hero-text .sub { max-width: 46%; }
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,0) 45%, rgba(20,14,10,.55) 72%, var(--bg) 100%); }
.hero-text { position: relative; z-index: 1; width: min(1160px, 100% - 40px); margin: 0 auto; padding-bottom: clamp(56px, 9vh, 110px); }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1.02; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.lang-ja .hero h1 { font-size: clamp(36px, 6.4vw, 84px); line-height: 1.2; letter-spacing: .04em; }
.hero h1 span { display: block; }
.lang-ja .hero h1 span { white-space: nowrap; }
.hero .sub { font: 500 clamp(19px, 2.2vw, 26px)/1.4 var(--serif); color: var(--ink); margin-bottom: 1.6em; }
.soon { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 10px 22px 10px 10px; border-radius: 16px;
  background: rgba(20, 14, 10, .6); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); font-weight: 600; font-size: 15px; }
.soon img { border-radius: 10px; }
.hero-cap { position: absolute; z-index: 1; right: 20px; bottom: 18px; margin: 0; font-size: 12px; color: var(--ink3); }
.hero-cap .cap { display: none; }
.hero-cap .cap.on { display: inline; }

/* 板の話 */
.craft { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.craft-img { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 2em; }
.stat b { display: block; font: 600 clamp(36px, 5vw, 56px)/1 var(--serif); color: var(--amber); }
.stat span { font-size: 14px; color: var(--ink3); }

/* 時刻 */
.time { text-align: center; }
.time p { margin-inline: auto; }
.time-stage { position: relative; margin: 40px auto 0; aspect-ratio: 16 / 10; max-height: 68vh; max-width: 1040px; border-radius: 26px; overflow: hidden;
  background: #0e1626; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.time-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.time-b { opacity: 0; transition: opacity .35s ease; }
.time-read { position: absolute; left: 22px; top: 18px; text-align: left; }
.time-place { display: block; font-size: 13px; color: var(--ink2); }
.time-hh { font: 600 clamp(30px, 4vw, 44px)/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.dial { position: relative; max-width: 760px; margin: 28px auto 0; padding-right: 76px; }
.dial input { width: 100%; height: 44px; background: none; -webkit-appearance: none; appearance: none; cursor: grab; }
.dial input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #1b2440, #31406a 18%, #e9b47a 26%, #f6e7c6 50%, #e9a46a 74%, #31406a 82%, #1b2440); }
.dial input::-moz-range-track { height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #1b2440, #31406a 18%, #e9b47a 26%, #f6e7c6 50%, #e9a46a 74%, #31406a 82%, #1b2440); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--amber); }
.dial input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--bg); }
.ticks { display: flex; justify-content: space-between; padding: 0 6px; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.now { position: absolute; right: 0; top: 7px; font: 600 13px var(--sans); color: var(--ink); background: rgba(246,231,198,.08);
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; cursor: pointer; }

/* 寄りの絵 */
.close .wrap { margin-bottom: 40px; }
.shots { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 19vw, 260px); gap: 12px; padding: 0 12px; }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--bg2); }
.shot.wide { grid-column: span 2; grid-row: span 2; }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 12px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6));
  font-size: 13px; line-height: 1.4; }
.shot figcaption b { display: block; font: 600 15px var(--serif); }
.shot figcaption span { color: var(--ink2); }

/* ぜんまい */
.wind { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.wind-img { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.tunes { margin-top: 28px !important; }
.tunes { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tunes li { border-bottom: 1px solid var(--line); }
.tunes .play { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; background: none; border: 0; color: var(--ink);
  font: 500 18px var(--serif); text-align: left; cursor: pointer; }
.tunes .play:hover { color: var(--amber); }
.tunes .play span { margin-left: auto; text-align: right; font: 13px var(--sans); color: var(--ink3); }
.try { font-size: 14px; color: var(--ink3); }
/* 再生の印：止まっているときは三角、鳴っているときは揺れる二本の棒 */
.play i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(223,183,122,.5); }
.play i::before { content: ""; position: absolute; left: 11px; top: 9px; border-left: 10px solid var(--amber); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play.on i { background: var(--amber); }
.play.on i::before { left: 9px; top: 9px; width: 3px; height: 12px; border: 0; background: var(--bg); box-shadow: 6px 0 0 var(--bg); animation: beat .7s ease-in-out infinite alternate; }
@keyframes beat { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.listen { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 16px; cursor: pointer;
  background: rgba(20, 14, 10, .6); border: 1px solid var(--line); color: var(--ink); font: 600 15px var(--sans);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-height: 62px; }
.listen i { width: 40px; height: 40px; }
.listen i::before { left: 15px; top: 13px; border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; }
.listen.on i::before { left: 13px; top: 13px; height: 14px; }

/* 棚 */
.tiles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 34px 22px; }
.tile .frame { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg2); }
.tile .frame img { width: 100%; height: 100%; object-fit: cover; }
.tile .best { position: absolute; top: 8px; right: 10px; font-style: normal; color: var(--ink); display: none; }
.tile.at-best .best { display: block; }
.tile b { display: block; margin-top: 10px; font: 600 15px/1.35 var(--serif); }
.tile .place, .tile .clock { display: block; font-size: 12px; color: var(--ink3); line-height: 1.5; }
.tile .clock { font-variant-numeric: tabular-nums; }
.tiles::after { content: ""; }
.more { margin-top: 36px; color: var(--ink3); }

/* ウィジェット */
.widget { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.phone { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; border-radius: 44px; max-width: 420px; justify-self: center;
  background: linear-gradient(160deg, #2b3550, #1a1f30); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.phone > div { border-radius: 22px; overflow: hidden; aspect-ratio: 1; }
.phone .w-large { grid-column: span 2; aspect-ratio: 2.1; }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* 終わり */
.end { text-align: center; }
.end img { margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.end p { margin-inline: auto; }
.soon-b { display: inline-block; margin-top: 12px; padding: 10px 22px; border-radius: 99px; border: 1px solid var(--amber); color: var(--amber) !important; font-weight: 600; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--ink2); }
.foot p { margin: 0; color: var(--ink3); }

.nf { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 20px; }
.nf img { margin: 0 auto 20px; border-radius: 22px; }
.nf h1 { font-size: 28px; }

/* 現れる */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .craft, .wind, .widget { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; padding: 0 8px; gap: 8px; }
  .shot.wide { grid-column: span 2; grid-row: span 1; }
  .shot.tall { grid-row: span 1; }
  .shot figcaption { padding: 28px 10px 8px; }
  .shot figcaption b { font-size: 13px; }
  .shot figcaption span { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .time-stage { border-radius: 18px; }
  .dial { padding-right: 0; }
  .now { position: static; display: block; margin: 14px auto 0; }
  .hero-cap { left: 20px; right: auto; }
  /* スマホでは、絵を上に、文字をその下に置く。 */
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero-stage { position: relative; inset: auto; height: 58svh; }
  .hero-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(rgba(20,14,10,0), var(--bg)); }
  .hero-text { margin-top: -36px; padding-bottom: 64px; }
  .lang-ja .hero h1 { font-size: 32px; }
  .hero-cap { position: static; padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img, .reveal, .shot img, .time-b { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
