:root{--paper:#f3e8cd;--ink:#443426;--red:#9f3e26;--line:#bca889}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;line-height:2;letter-spacing:.07em}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid currentColor;outline-offset:5px}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{font-weight:600;line-height:1.6;letter-spacing:.12em;text-wrap:balance}p{text-wrap:pretty}.top{height:64px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:#372f28;color:#eee1c7;font-size:12px}.top img{width:125px;filter:sepia(.4)}.hero{height:min(850px,90svh);min-height:600px;position:relative;color:#fff7de;overflow:hidden}.town,.shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.town{object-position:50% 50%}.shade{background:linear-gradient(#50281638,transparent 48%,#30211392)}.hero-title{position:absolute;top:8%;width:min(66%,830px);left:50%;transform:translateX(-50%);text-align:center}.hero-title p{font-size:clamp(14px,1.5vw,21px);margin:26px 0}.vertical{writing-mode:vertical-rl;position:absolute;right:6%;top:16%;font-size:clamp(20px,2.1vw,30px);letter-spacing:.25em;line-height:2.2;text-shadow:0 1px 12px #5c341e}.hero-link{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);border-bottom:1px solid #efe3c5;padding:8px 28px;font-size:19px}.hero-link span{margin-left:30px}.visual-note{position:absolute;bottom:15px;right:20px;font-size:10px;opacity:.8}.paper{background:radial-gradient(ellipse at 10% 30%,#fff7e43b,transparent 60%),var(--paper);padding:100px max(7%,calc((100% - 1040px)/2))}.section-no{font-size:14px;color:var(--red);display:flex;align-items:center;gap:18px;margin-bottom:34px}.section-no:before{content:"";width:35px;height:1px;background:currentColor}.opening-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.opening h1{font-size:clamp(30px,4vw,48px)}.prose{font-size:17px;line-height:2.25}.prose p{margin-bottom:28px}.play-section{text-align:center;padding:75px 24px 60px;background:#a4472d;color:#fff0d0}.play-heading>span{font-size:14px}.play-heading h2{font-size:30px;margin:10px 0 32px}.ticket{display:flex;text-align:left;align-items:center;gap:28px;background:#f5e9c9;color:#674330;width:min(100%,570px);margin:auto;border:1px solid #d8bb87;padding:24px 28px;box-shadow:4px 4px 0 #562d212b}.ticket-side{writing-mode:vertical-rl;border-right:1px dashed #bba27a;padding-right:20px;font-size:14px}.ticket strong{display:block;font-size:26px;font-weight:600}.ticket small{display:block;font-size:11px}.arrow{margin-left:auto;font-size:28px}.preview-note{font-size:11px;margin:22px 0 0;opacity:.8}.how>h2,.modes>h2{font-size:36px;margin-bottom:45px}.steps{border-top:1px solid var(--line)}.steps article{padding:28px 0;display:grid;grid-template-columns:70px 1fr 60px;gap:20px;align-items:start;border-bottom:1px solid var(--line)}.steps article>span{font-size:42px;color:var(--red);line-height:1.5}.steps h3{font-size:24px;margin:0 0 8px}.steps p{margin:0;font-size:15px;line-height:1.9}.steps small{writing-mode:vertical-rl;color:var(--red);justify-self:end;font-size:13px}.operation{font-size:12px;margin:28px 0 0;line-height:1.9}.town-story{position:relative;min-height:660px;display:flex;align-items:center;justify-content:flex-end;padding:64px 8%}.town-photo{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#4d2d2222),url(assets/town.png) center/cover}.story-panel{position:relative;background:#f5e8cfee;padding:45px 50px;max-width:460px;box-shadow:6px 6px 0 #3c2a2322}.story-panel>span{font-size:12px;color:var(--red)}.story-panel h2{font-size:31px;margin:15px 0 24px}.story-panel p{font-size:15px;margin-bottom:18px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;border-top:1px solid var(--line);padding-top:35px}.mode-label{color:var(--red);font-size:13px}.mode-grid h3{font-size:25px;margin:10px 0 18px}.mode-grid p{font-size:15px}.can-note{border-top:1px solid var(--line);margin-top:32px;padding-top:35px}.can-note h3{font-size:24px;margin-bottom:10px}.can-note p{font-size:15px;margin:0}.closing{text-align:center;padding:100px 24px;background:#483c31;color:#eee1c4}.closing p{font-size:28px;line-height:2}.closing a{display:inline-block;border-bottom:1px solid #aa9578;font-size:15px;padding:8px 18px}.closing span{margin-left:30px}footer{background:#292b27;color:#e6decc;text-align:center;padding:50px 20px 35px;font-size:13px}footer>a{display:block;width:160px;margin:0 auto 25px}footer nav{display:flex;gap:28px;justify-content:center;margin-bottom:20px}footer small{font-size:11px}
@media(max-width:900px){.hero{min-height:650px;height:85svh}.hero-title{width:80%;top:12%}.vertical{right:5%;top:36%;font-size:21px}.paper{padding:65px 7%}.opening-grid,.mode-grid{grid-template-columns:1fr;gap:24px}.opening h1{font-size:36px}.prose{font-size:16px}.how>h2,.modes>h2{font-size:30px}.town-story{padding:280px 7% 35px;min-height:0}.story-panel{width:100%;max-width:none;padding:32px}.town-photo{background-position:40% center}.hero-title p{font-size:15px}.mode-grid{gap:20px}.mode-grid article+article{border-top:1px solid var(--line);padding-top:25px}}
@media(max-width:390px){.hero{min-height:590px}.top{padding:0 20px}.top img{width:105px}.hero-title{top:10%;width:88%}.vertical{font-size:19px;right:7%;top:31%}.steps article{grid-template-columns:42px 1fr 20px;gap:12px}.steps article>span{font-size:30px}.steps h3{font-size:20px}.steps p{font-size:14px}.steps p br,.mode-grid p br{display:none}.ticket{gap:15px;padding:22px 16px}.ticket strong{font-size:22px}.ticket-side{padding-right:13px}.ticket small{font-size:10px}.play-heading h2{font-size:25px}.story-panel{padding:26px}.story-panel h2{font-size:27px}footer nav{gap:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 狭幅で末尾一文字が孤立しない見出し寸法。ロゴは原形を保って反転表示。 */
.top img,footer>a img{filter:brightness(0) invert(1);opacity:.9}
@media(max-width:600px){.how>h2{font-size:24px;letter-spacing:.07em}.modes>h2{font-size:22px;letter-spacing:.06em}.closing p{font-size:22px;letter-spacing:.04em}.hero-title p{font-size:13px}.how>h2,.modes>h2{text-wrap:initial}}

.game-fv{height:calc(100svh - 64px);min-height:500px;background:#3b3029}.game-fv iframe{display:block;width:100%;height:100%;border:0}#game{scroll-margin-top:0}

.game-fv{height:100svh;min-height:500px}

.opening-scene{margin:0 0 54px}.opening-scene img{width:100%;aspect-ratio:16/8;object-fit:cover}.opening-scene figcaption{font-size:12px;color:#80694f;margin-top:12px;text-align:right}@media(max-width:900px){.opening-scene{margin-bottom:35px}.opening-scene img{aspect-ratio:4/3}}

.steps article{grid-template-columns:minmax(230px,40%) 48px 1fr 24px;align-items:center;gap:22px;padding:30px 0}.step-art{margin:0}.step-art img{width:100%;aspect-ratio:3/2;object-fit:cover}.step-art figcaption,.mode-art figcaption,.can-art figcaption,.street-pair figcaption{font-size:11px;color:#80694f;line-height:1.8;margin-top:8px}.steps h3{font-size:22px}.street-details{padding-bottom:0}.street-details h2{font-size:34px}.street-pair{display:grid;grid-template-columns:1fr 1fr;gap:26px}.street-pair figure{margin:0}.street-pair img{aspect-ratio:4/3;object-fit:cover;width:100%}.source-note{font-size:11px;color:#80694f}.mode-art{margin:0 0 24px}.mode-art img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#d5c7a9}.can-art{margin:0 0 28px}.can-art img{width:100%;max-height:500px;object-fit:contain;background:#d8d3c9}.can-art figcaption{text-align:right}@media(max-width:900px){.steps article{grid-template-columns:40px 1fr 20px;gap:14px}.step-art{grid-column:1/-1;margin-bottom:15px}.steps article>span{font-size:30px}.steps h3{font-size:22px}.street-pair{grid-template-columns:1fr;gap:28px}.street-details h2{font-size:28px}.mode-art{margin-top:0}.mode-grid article+article{padding-top:30px}.step-art img{max-height:450px;object-fit:contain}.can-art img{max-height:350px}}
img{height:auto}

/* Tom FB：作り込んだ紙風図解から、簡潔な線画へ。 */
:root{--paper:#f5efdf;--ink:#40382e;--line:#cbbda6}
.paper{background:var(--paper)}
.steps article{grid-template-columns:112px 42px 1fr 24px;gap:26px;padding:32px 0;align-items:center}
.step-icon{width:104px;height:104px;display:grid;place-items:center}.step-icon img{width:100%;height:auto}
.steps article>span{font-size:26px;color:#a17660}.steps h3{font-size:23px;font-weight:600}.steps p{line-height:2}
.story-panel{background:#f5efdfef;box-shadow:none}.closing{background:#453a30}
@media(max-width:900px){.steps article{grid-template-columns:64px 1fr 20px;gap:16px;padding:26px 0}.step-icon{width:64px;height:64px}.steps article>span{display:none}.steps h3{font-size:21px}.steps p{font-size:14px}.steps p br{display:none}}
/* 遊び方：PC横一列4カラム。狭幅は読みやすい縦配置。 */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps article{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:32px 22px;border-bottom:0;position:relative}
.steps article+article{border-left:1px solid var(--line)}
.steps .step-icon{align-self:center;width:88px;height:88px;margin-bottom:18px}
.steps article>span{font-size:15px;margin-bottom:10px}
.steps h3{font-size:20px;line-height:1.65;margin-bottom:12px}
.steps p{font-size:14px;line-height:1.95}
.steps p br{display:none}
.steps small{writing-mode:horizontal-tb;font-size:12px;margin-top:auto;padding-top:18px;align-self:flex-start}
@media(max-width:900px){.steps{grid-template-columns:1fr}.steps article{display:grid;grid-template-columns:64px 1fr 22px;gap:16px;padding:26px 0}.steps article+article{border-left:0;border-top:1px solid var(--line)}.steps .step-icon{width:64px;height:64px;margin:0;align-self:center}.steps article>span{display:none}.steps h3{font-size:21px}.steps small{writing-mode:vertical-rl;margin:0;padding:0;align-self:center}}
.steps .step-icon{width:112px;height:112px;border:1px solid #c5ae91;border-radius:50%;background:#eee5d2;padding:18px;margin-bottom:24px}
@media(max-width:900px){.steps article{grid-template-columns:76px 1fr 22px}.steps .step-icon{width:76px;height:76px;padding:11px;margin:0}}
/* 古い印刷紙：淡い繊維、端の焼け、印刷罫線。本文の可読性を優先。 */
body{background-color:#f1e8d6;background-image:url(assets/paper-grain.svg)}
.paper{position:relative;background-color:#f1e8d6;background-image:url(assets/paper-grain.svg),linear-gradient(90deg,rgba(123,87,41,.055),transparent 9%,transparent 91%,rgba(123,87,41,.045)),radial-gradient(ellipse at 15% 25%,rgba(164,124,58,.035),transparent 65%)}
.section-no{letter-spacing:.18em}
.section-no:before{height:3px;border-top:1px solid currentColor;border-bottom:1px solid currentColor;background:none;opacity:.65}
.steps{border-color:#b6a78e}.steps article+article{border-color:#c9bba4}
.steps .step-icon{background-color:#eae0ca;background-image:url(assets/paper-grain.svg);border-color:#b8a487;box-shadow:inset 0 0 10px #8b63300a}
.story-panel{background-color:#f0e5cf;background-image:url(assets/paper-grain.svg);border:1px solid #c2ae8c;outline:1px solid #d4c4a6;outline-offset:-7px}
.opening-scene img,.street-pair img,.mode-art img{border:5px solid #f6f0e2;box-shadow:0 1px 3px #57402720}
.opening-scene figcaption,.street-pair figcaption,.mode-art figcaption{color:#7e6a50}
.can-art img{border:5px solid #f6f0e2}
.closing{background-image:url(assets/paper-grain.svg);border-top:3px double #99836a}
.closing a{border-top:1px solid #99836a;border-bottom:1px solid #99836a;letter-spacing:.15em}
/* Tom FB：罫線で区切らず、余白でまとめる。 */
body,.paper{background-color:#f1e8d6;background-image:linear-gradient(#f1e8d6b8,#f1e8d6b8),url(assets/paper-natural.png);background-size:auto,850px 850px}
.steps,.steps article,.steps article+article,.mode-grid,.mode-grid article+article,.can-note,.closing{border:0}
.steps{column-gap:32px}.steps article{padding:12px 0 24px}.steps small{padding-top:20px}
.section-no:before{display:none}.section-no{gap:0}
.story-panel{border:0;outline:0;box-shadow:none;background-image:linear-gradient(#f1e8d6ad,#f1e8d6ad),url(assets/paper-natural.png);background-size:auto,850px 850px}
.steps .step-icon{background-image:none}
.mode-grid{padding-top:0}.can-note{margin-top:65px;padding-top:0}
.closing{background-image:linear-gradient(#453a30ed,#453a30ed),url(assets/paper-natural.png);background-size:auto,850px 850px}
.closing a{border:0;padding:10px 16px;text-decoration:underline;text-underline-offset:9px;text-decoration-thickness:1px}
@media(max-width:900px){.steps{row-gap:24px}.steps article{padding:15px 0}.mode-grid article+article{padding-top:30px}.can-note{margin-top:45px}}
/* 円形アイコンは罫線なし、柔らかい陰影のみ。 */
.steps .step-icon{border:0;background-color:#f3ead6;box-shadow:5px 7px 16px #6c54351a,-3px -3px 10px #fffaf07a}
/* 操作名は角丸タグで統一。区切り罫線は追加しない。 */
.steps small{display:inline-flex;align-items:center;justify-content:center;writing-mode:horizontal-tb;align-self:flex-start;min-height:28px;margin-top:auto;padding:3px 13px;border:0;border-radius:8px;background:#e5d6ba;color:#794935;font-size:12px;line-height:1.6;letter-spacing:.08em}
.steps article>div:not(.step-icon){margin-bottom:20px}
@media(max-width:900px){.steps small{writing-mode:horizontal-tb;grid-column:2;justify-self:start;margin:0;padding:3px 12px;align-self:start}.steps article{grid-template-columns:76px 1fr}.steps article>div:not(.step-icon){margin-bottom:0}}

/* ゲーム直下に全幅の情景画像。 */
main>.opening-scene{margin:0;position:relative;width:100%}main>.opening-scene img{display:block;width:100%;height:clamp(360px,58vw,760px);aspect-ratio:auto;object-fit:cover;border:0;box-shadow:none}main>.opening-scene figcaption{position:absolute;right:4%;bottom:18px;margin:0;color:#fff6e8;text-shadow:0 1px 6px #372515;font-size:12px}@media(max-width:900px){main>.opening-scene img{height:60svh;min-height:360px;max-height:660px}}

#town-view,#town-view img{margin:0;padding:0;border:0;outline:0;border-radius:0;box-shadow:none}#town-view{display:block;max-width:none}#town-view img{max-width:none;width:100%;vertical-align:top}

#town-view::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5);pointer-events:none}#town-view .scene-headline{z-index:1;position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:0;padding:24px;color:#fff;font-size:clamp(28px,3.3vw,48px);font-weight:500;line-height:1.8;letter-spacing:.15em;text-shadow:none}#town-view .scene-headline br{display:contents}

#town-view .scene-headline{gap:24px}#town-view .scene-headline h1{font-size:clamp(28px,3.3vw,48px);font-weight:500;line-height:1.6;letter-spacing:.15em;margin:0}#town-view .scene-headline br{display:initial}#town-view .scene-copy{font-size:clamp(14px,1.35vw,19px);line-height:2;letter-spacing:.07em;font-weight:400}#town-view .scene-copy p{margin:0 0 18px}#town-view .scene-copy p:last-child{margin-bottom:0}@media(max-width:600px){#town-view img{height:680px;max-height:none}#town-view .scene-headline{gap:26px;padding:24px 16px}#town-view .scene-copy{font-size:14px;letter-spacing:.02em}}

.steps .step-icon{background-color:#8b7257}
.town-photo{background-image:url(assets/town-ramen-editorial.png);background-position:center;background-size:cover}
@media(max-width:900px){.town-photo{background-position:25% top}}

.steps .step-icon{background-color:transparent;box-shadow:4px 5px 14px #6c54351a,-3px -3px 10px #fffaf080}.steps .step-icon img{filter:drop-shadow(0 1px 1px #68564066)}

/* 白指定は円の面。線画は茶色に戻す。 */
.steps .step-icon{background-color:#fff;box-shadow:4px 5px 14px #6c54351a,-3px -3px 10px #fffaf080}.steps .step-icon img{filter:none}

.closing{position:relative;background:url(assets/town.png) 78% 42%/cover;min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center}.closing-shade{position:absolute;inset:0;background:#0008}.closing>p,.closing>a{position:relative;z-index:1}.closing>p{color:#fff}.closing>a{color:#fff}
.town-photo{background-image:url(assets/flight-closeup-candidate.png);background-position:35% center}
@media(max-width:900px){.town-photo{background-position:20% top}}
.closing{background-image:url(assets/closing-video-street.png);background-position:center;background-size:cover}

.steps .step-icon{background-color:#e5e3dd}.steps h3{font-size:18px;letter-spacing:.015em;white-space:nowrap}@media(max-width:900px){.steps h3{font-size:20px;white-space:normal}}

.steps .step-icon{background-color:#f6f5f1}
/* 確認済みバス停画像と共通の角丸表現。 */
.closing{background-image:url(assets/bus-stop-evening-candidate.png);background-position:60% center;min-height:480px}
.closing a{display:inline-flex;align-items:center;justify-content:center;min-height:54px;min-width:230px;background:#f2eadb;color:#47372a;border-radius:12px;text-decoration:none;padding:12px 30px;box-shadow:0 3px 12px #0002}
.story-panel{border-radius:12px}

/* ゲームの緑ボタンを起点に、緑と淡い黄色へ統一。 */
:root{--red:#355f50;--ink:#38483b;--paper:#f3ecd5}
body{color:#38483b}h1,h2,h3{color:#355f50}.section-no{color:#4f7460}
.steps h3{color:#355f50}.steps article>span{color:#66816a}
.steps small{background:#dce6d4;color:#355f50}.steps .step-icon{background-color:#f6f5ed}
.story-panel{background-color:#f0ebd6}.story-panel>span{color:#56755f}
.closing a{background:#3e6d5b;color:#fff8df;box-shadow:0 3px 12px #142d2526}
#town-view .scene-headline h1{color:#fff}.closing p{color:#fff}
.opening-scene figcaption,.street-pair figcaption,.mode-art figcaption,.source-note{color:#68745d}
/* 最終色FB：操作タグ黄土色、各操作見出し黒。他配色保持。 */
.steps small{background:#e3d1a6;color:#615036}
.steps h3{color:#292823}

.steps small{background:#ebdebf}.cans-section h2{font-size:clamp(26px,3vw,36px);margin-bottom:36px}.cans-section figure{margin:0}.cans-section img{width:100%;height:auto;border-radius:12px}

.cans-section h2{text-align:center}

/* 2026-10-24 SP: retain icon size; use all remaining width for copy. */
@media(max-width:900px){
 .how .steps article{width:100%;grid-template-columns:76px minmax(0,1fr);column-gap:16px;justify-items:stretch}
 .how .steps .step-icon{grid-column:1;grid-row:1}
 .how .steps article>div:not(.step-icon){grid-column:2;grid-row:1;width:100%;min-width:0;max-width:none;justify-self:stretch}
 .how .steps h3,.how .steps p{width:100%;max-width:none;text-wrap:wrap;word-break:normal;overflow-wrap:normal}
 .how .steps p{letter-spacing:.02em;text-wrap:pretty}
 .how .steps p br{display:none}
 .how .steps small{grid-column:2;grid-row:2}
}

/* SP copy: preserve phrase boundaries without mid-sentence wrapping. */
.cans-section h2{white-space:nowrap;text-wrap:nowrap}
.closing .closing-line{display:block;white-space:nowrap}
@media(max-width:900px){
 .cans-section h2{font-size:clamp(17px,5.3vw,30px);letter-spacing:.03em}
 .closing>p{font-size:clamp(17px,5.2vw,28px);letter-spacing:.03em}
}

.closing .closing-line{margin-left:0}

/* SP coffee crop: show the whole can above the story panel. */
@media(max-width:900px){
 .town-story{padding-top:calc(clamp(320px,90vw,500px) - 20px);background-color:var(--paper)}
 .town-story .town-photo{bottom:auto;height:clamp(320px,90vw,500px);background-position:left top;background-size:cover}
}


/* SP: keep the crow sentence's ending intact; PC retains inline wording. */
.sp-crow-ending{white-space:nowrap}
@media(max-width:900px){.sp-crow-ending{display:block}}
