/* Kagewood の LP。ゲームの見た目に合わせる：灯りの当たる壁のクリームの地・木の机の茶・藍の差し色（押す物と番号だけ）・
   橙はお題の名前と星だけ。部品は細い線とやわらかい影（白フチ・太い輪郭はやめる）。書体はゲームと同じ Noto Sans JP。
   飾りは「影とうすい形」：見出しの番号はうすい形の枠に、段の区切りは影絵の列。ダークモードは作らない。 */

:root {
  color-scheme: light;
  --wall: #f6eee1; --wall2: #efe3cf; --card: #fffaf2; --line: #e3d5bf;
  --ink: #3b2e26; --muted: #6e5f53; --shadow: #4a3a30;
  --wood: #8a5a34; --wood2: #6b4426; --wood-s: #b98a5e;
  --indigo: #304a80; --indigo-s: #dfe5f1; --accent: #c4692a; --gold: #e0a832;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --r: 18px;
  --sh: 0 1px 2px rgba(59,46,38,.05), 0 12px 30px rgba(74,50,30,.10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  background: var(--wall);
  background-image: radial-gradient(ellipse 70% 40% at 20% 0%, rgba(255,236,196,.65), rgba(255,236,196,0) 70%);
  overflow-x: clip;
}
p, dd, li, figcaption { text-wrap: pretty; word-break: auto-phrase; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
:lang(en) body, body:lang(en) { letter-spacing: 0; line-height: 1.75; }
:lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) .folio, :lang(en) .kick, :lang(en) .seal, :lang(en) .brand small { letter-spacing: 0; }
:lang(en) .spec > div { grid-template-columns: 7.5em 1fr; }
h1, h2, h3 { font-weight: 800; line-height: 1.4; letter-spacing: .03em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.nb { display: inline-block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 860px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--card); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* 頭の帯（sticky。jan-quest の緑の帯がこの上に入る） */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246,238,225,.92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(6px)) { .site-head { background: rgba(246,238,225,.8); backdrop-filter: blur(8px); } }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 48px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }   /* アプリのアイコンと同じ（配信中の5本と同じ） */
.brand b { font-weight: 800; font-size: 20px; letter-spacing: .08em; line-height: 1.1; display: block; white-space: nowrap; }
.brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.site-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
/* 言語の切り替え：頭の帯の右に、390 でも残す丸い枠 */
.lang { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 22px;
  background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.lang:hover { border-color: var(--wood-s); }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 22px; white-space: nowrap; }
.site-nav a:hover { background: var(--wall2); }
@media (max-width: 719px) { .site-nav { display: none; } }

/* 最初の画面：名前がいちばん大きく、絵が主役 */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 4fr 8fr; gap: 40px; } .hero { padding: 56px 0 64px; } }
@media (min-width: 1200px) { .hero .wrap { max-width: 1280px; } }
.kick { color: var(--accent); font-weight: 800; letter-spacing: .14em; font-size: 15px; margin-bottom: 4px; }
.hero h1 { font-size: clamp(40px, 15vw, 96px); line-height: 1.05; letter-spacing: .02em; color: var(--ink); white-space: nowrap;
  text-shadow: 6px 8px 0 rgba(74,58,48,.10); }
.tagline { font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; line-height: 1.5; margin: 14px 0 14px; color: var(--wood2); }
.hero .lead { color: var(--muted); max-width: 34em; }
.status { margin: 6px 0 18px; }
.seal { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .1em; color: var(--wood2);
  border: 2px dashed var(--wood-s); border-radius: 999px; padding: 6px 18px; background: rgba(255,250,242,.7); }
.seal::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224,168,50,.25); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 26px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px rgba(48,74,128,.28); }
.btn-indigo:hover { color: #fff; background: #283f6e; }
.hero-art { margin: 0; }
.hero-art .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--sh), 0 0 0 1px var(--line); background: var(--card); }
.hero-art figcaption, .shot-cap { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* 段の区切り：影絵の列 */
.rule-sil { display: flex; justify-content: center; gap: 22px; padding: 6px 0 10px; opacity: .55; }
.rule-sil img { height: 26px; width: auto; filter: brightness(.6) sepia(.4); }

/* 段 */
.sec { padding: 64px 0; }
@media (min-width: 960px) { .sec { padding: 64px 0; } #features { padding-bottom: 44px; } }
.folio { display: flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 800; letter-spacing: .12em; font-size: 14px; margin-bottom: 10px; }
/* 番号は、うすい形の枠（点線）に影の色の字 */
.folio .no { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 2px dashed var(--wood-s); border-radius: 12px; color: var(--shadow); font-size: 18px; background: var(--card); }
.sec h2 { font-size: clamp(28px, 5.4vw, 42px); margin-bottom: 14px; }
.sec .lead { color: var(--muted); max-width: 40em; margin-bottom: 30px; }

/* 電話の枠の写真 */
.phone { margin: 0; border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: var(--sh), 0 0 0 1px var(--line); }
.phone img { width: 100%; }

/* 遊び方の3つ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { display: grid; gap: 16px; }
@media (min-width: 560px) and (max-width: 899px) { .step { grid-template-columns: 220px 1fr; align-items: center; } }
.step .phone { max-width: 300px; margin: 0 auto; width: 100%; }
.step .no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; margin-bottom: 8px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ほかの画面：横に送る（次の写真の端が見える） */
.more-shots { margin-top: 48px; }
.more-shots h3 { font-size: 18px; margin-bottom: 14px; }
.shot-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 40%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; }
@media (min-width: 900px) { .shot-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.shot-row figure { margin: 0; scroll-snap-align: start; }
.shot-row figcaption { font-size: 14px; font-weight: 700; margin-top: 10px; }

/* 見どころ：壁の灯りの段 */
.sec-wall { background: linear-gradient(180deg, var(--wall2), var(--wall)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.moment-grid { display: grid; gap: 28px; align-items: center; margin-top: 18px; }
.moment-pic { max-width: 320px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .moment-grid { grid-template-columns: 340px 1fr; gap: 56px; } }
.moment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: m; }
.moment-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 16px 58px; position: relative; color: var(--muted); }
.moment-list li::before { counter-increment: m; content: counter(m); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.moment-list b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* 木彫り：木の机の色の帯に、明るい棚 */
.sec-wood { color: #fff6e8;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255,214,150,.30), rgba(255,214,150,0) 70%),
              repeating-linear-gradient(178deg, rgba(0,0,0,0) 0 22px, rgba(0,0,0,.05) 22px 24px),
              linear-gradient(180deg, var(--wood), var(--wood2)); }
.sec-wood .folio { color: #ffd9a8; }
.sec-wood .folio .no { background: rgba(255,246,232,.12); color: #fff6e8; border-color: rgba(255,246,232,.55); }
.sec-wood .lead, .sec-wood .shot-cap { color: rgba(255,246,232,.82); }
.sec-wood .cast { background: rgba(255,246,232,.10); }
.sec-wood .cast li { border-bottom-color: #c99a6a; box-shadow: 0 8px 0 -2px #5a3a20; }
.cast-more { margin: 18px 0 4px; font-weight: 700; }
.cast { list-style: none; margin: 0; padding: 26px 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px;
  background: linear-gradient(180deg, rgba(255,250,242,0), rgba(255,250,242,.6)); border-radius: 24px; }
@media (min-width: 640px) { .cast { grid-template-columns: repeat(4, 1fr); } }
.cast li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding-bottom: 14px;
  border-bottom: 10px solid var(--wood); box-shadow: 0 8px 0 -2px var(--wood2); }
.cast img { width: 78%; max-height: 120px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(74,50,30,.22)); }
.cast span { font-weight: 800; font-size: 15px; }

/* 特長：写真つきの札 4 つ */
.features { display: grid; gap: 22px; }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--sh); }
@media (max-width: 459px) { .feature { grid-template-columns: 1fr; } .feature .phone { max-width: 200px; margin: 0 auto; } }
.feature .phone { border-radius: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

/* よくある質問・対応 */
.faq, .spec { margin: 0; display: grid; gap: 12px; }
.faq > div, .spec > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.faq dt { font-weight: 800; font-size: 17px; }
.faq dt::before { content: "Q"; color: var(--indigo); margin-right: 10px; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.spec-h { font-size: 22px; margin: 36px 0 12px; }
.spec > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; }
.spec dt { font-weight: 800; color: var(--wood2); }
.spec dd { margin: 0; }

/* 締め：木の机の色の大きな段 */
.release { padding: 24px 0 64px; }
.release-card { position: relative; text-align: center; color: #fff6e8; border-radius: 32px; padding: 56px 20px 60px; overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255,214,150,.35), rgba(255,214,150,0) 70%),
              repeating-linear-gradient(178deg, rgba(0,0,0,0) 0 22px, rgba(0,0,0,.05) 22px 24px),
              linear-gradient(180deg, var(--wood), var(--wood2));
  box-shadow: var(--sh); }
.release-carving { width: 180px; margin: 0 auto 18px; filter: drop-shadow(0 16px 16px rgba(30,15,5,.45)); }
.seal-light { color: #fff6e8; border-color: rgba(255,246,232,.55); background: rgba(255,246,232,.08); }
.release h2 { font-size: clamp(28px, 5.6vw, 44px); margin: 18px 0 10px; }
.release p { margin: 0; opacity: .9; }

.site-foot { padding: 28px 0 40px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.site-foot p { margin: 0; }
