/* 集中電鉄（Focus Railway）の Web ページ。
   考え方: ページそのものを 1 本の路線にする。スクロールが乗車で、各節が駅番号つきの駅。
   外のフォント・スクリプト・解析は読みこまない（プライバシーポリシーに「この Web ページ」の節がある） */

:root {
  --ink: #0b0d10;
  --ink-2: #13161b;
  --ink-3: #1c2027;
  --rule: #2b313b;
  --text: #e9edf1;
  --muted: #a3acb7;
  --paper: #f5f3ec;
  --paper-ink: #17191c;
  --paper-muted: #5a626c;
  --jy: #9acd32;
  --jy-deep: #5f8f12;
  --led: #ffb224;
  --tactile: #f2c22e;
  --radius: 18px;
  --wrap: 1200px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --latin: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, li, h1, h2, h3, dt, dd, summary, th, td, figcaption { word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict; }
.nw { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--jy); color: #111; padding: 8px 14px; border-radius: 0 0 10px 0; font-weight: 700; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--jy); outline-offset: 3px; border-radius: 6px; }

/* ── 上の帯（ドアの上の案内の形） ── */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.bar__in { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.04em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand small { display: block; font: 600 10px/1 var(--latin); letter-spacing: 0.12em; color: var(--muted); margin-top: 3px; }
.brand span { line-height: 1.1; }
.nav { margin-left: auto; display: none; gap: 22px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.soon {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #000; border: 1px solid #3a3320;
  color: var(--led); font: 700 12px/1 var(--font); letter-spacing: 0.1em; white-space: nowrap;
}
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
@media (min-width: 860px) {
  .nav { display: flex; }
  .soon { margin-left: 8px; }
}

/* ── 始発（ヒーロー） ── */
.hero { position: relative; padding: 44px 0 0; background:
  radial-gradient(1200px 520px at 50% -10%, rgba(154, 205, 50, 0.13), transparent 60%),
  linear-gradient(180deg, #0e1114 0%, var(--ink) 70%); }
.hero__grid { display: grid; gap: 34px; align-items: center; }
.plate {
  width: min(100%, 430px);
  background: #fbfbf8; color: #15171a;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 18px 50px rgba(0, 0, 0, 0.5);
}
.plate__body { padding: 16px 20px 12px; text-align: center; }
.plate__kana { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; color: #3d444c; }
.plate__name { font-size: clamp(34px, 9.6vw, 50px); font-weight: 900; letter-spacing: 0.16em; line-height: 1.25; margin-right: -0.16em; }
.plate__latin { font: 600 15px/1.4 var(--latin); letter-spacing: 0.04em; }
.plate__band { display: flex; justify-content: space-between; align-items: center; background: var(--jy); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; letter-spacing: 0.08em; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18); }
.plate__band i { width: 2px; height: 14px; background: #1d2a05; opacity: 0.7; }
html[lang="en"] .plate__name { letter-spacing: 0.16em; }
h1.tagline { font-size: clamp(34px, 8.4vw, 64px); line-height: 1.22; font-weight: 900; letter-spacing: 0.02em; margin: 26px 0 14px; }
html[lang="en"] h1.tagline { letter-spacing: -0.015em; font-family: var(--latin); line-height: 1.08; }
.lead { font-size: clamp(16px, 2.2vw, 18px); color: #cfd6dd; max-width: 34em; margin: 0 0 22px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 10px 22px 11px; border-radius: 14px;
  background: #000; border: 1px solid #454b55; color: #fff; line-height: 1.25;
}
.store small { font-size: 11px; color: var(--led); font-weight: 700; letter-spacing: 0.12em; }
.store b { font: 700 19px/1.2 var(--latin); letter-spacing: 0.01em; }
.spec { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 画面の並び（端末の形を借りない、角の丸い枠） */
.screens { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px; margin: 0 -20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen { flex: 0 0 62%; max-width: 300px; scroll-snap-align: center; margin: 0; }
.screen img, .shot img { border-radius: 26px; border: 5px solid #23272e; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.screen figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; letter-spacing: 0.06em; }
@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 36px; }
  .screens { overflow: visible; margin: 0; padding: 26px 0 30px; justify-content: center; align-items: center; gap: 0; }
  .screen { flex: 0 1 35%; max-width: none; position: relative; }
  .screen:nth-child(1) { margin-right: -4%; }
  .screen:nth-child(3) { margin-left: -4%; }
  .screen:nth-child(2) { flex-basis: 41%; z-index: 2; transform: translateY(-14px); }
}

/* 黄色い線（ホームの点状ブロック） */
.tactile {
  height: 26px; margin-top: 28px;
  background-color: var(--tactile);
  background-image: radial-gradient(circle at 50% 50%, rgba(120, 88, 0, 0.5) 0 4px, rgba(255, 255, 255, 0.25) 4.5px 5.5px, transparent 6px);
  background-size: 22px 26px; background-position: center;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ── 路線（各節が駅） ── */
.route { position: relative; padding-top: 26px; padding-bottom: 10px; }
.stop { position: relative; padding: 46px 0 46px 34px; }
.stop::before { /* 線路 */
  content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 6px; background: var(--jy);
}
.stop:first-child::before { top: 62px; border-radius: 6px 6px 0 0; }
.stop::after { /* 駅の丸 */
  content: ""; position: absolute; left: 0; top: 54px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid #101216; box-shadow: 0 0 0 2px var(--jy);
}
.stop__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stop__head > div:last-child { min-width: 0; }
.num { /* 駅番号 */
  flex: none; width: 54px; height: 54px; border-radius: 12px;
  border: 4px solid var(--jy); background: #fff; color: #111;
  display: grid; place-items: center; text-align: center; line-height: 1;
  font-family: var(--latin); font-weight: 800;
}
.num small { display: block; font-size: 11px; letter-spacing: 0.06em; margin-bottom: 1px; }
.num b { font-size: 21px; letter-spacing: -0.02em; }
.stop__label { font: 700 12px/1.2 var(--latin); letter-spacing: 0.2em; color: var(--jy); text-transform: uppercase; }
.stop h2 { font-size: clamp(24px, 5.4vw, 40px); line-height: 1.3; font-weight: 900; margin: 2px 0 0; letter-spacing: 0.01em; text-wrap: balance; }
html[lang="en"] .stop h2 { font-family: var(--latin); letter-spacing: -0.01em; line-height: 1.15; }
.stop p { margin: 0 0 1em; color: #d2d8de; }
.stop p.note { font-size: 13px; color: var(--muted); }
.cols { display: grid; gap: 26px; }
@media (min-width: 900px) {
  .stop { padding: 64px 0 64px 76px; }
  .stop::before { left: 22px; }
  .stop::after { left: 15px; top: 76px; }
  .stop:first-child::before { top: 86px; }
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
  .cols--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

/* のりかた（3 つの段取り） */
.steps { display: grid; gap: 30px; counter-reset: step; list-style: none; padding: 0; margin: 8px 0 0; }
.step { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: center; }
.step .shot img { border-radius: 16px; border-width: 3px; }
.step h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.4; font-weight: 800; }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; border-radius: 50%; background: var(--jy); color: #10140a; font: 800 14px/1 var(--latin); vertical-align: 2px; }
.step p { margin: 0; font-size: 15px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .step { grid-template-columns: 1fr; align-items: start; }
  .step .shot { max-width: 260px; }
}

/* 発車標（数字の板） */
.board { background: #050505; border: 1px solid #262626; border-radius: 12px; padding: 6px 16px; box-shadow: inset 0 0 0 3px #111, 0 14px 40px rgba(0, 0, 0, 0.45); font-family: var(--latin); }
.board__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid #1c1c1c; }
.board__row:last-child { border-bottom: 0; }
.board dt { color: #9bd65a; font: 700 14px/1.4 var(--font); letter-spacing: 0.08em; }
.board dd { margin: 0; color: var(--led); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(255, 178, 36, 0.35); white-space: nowrap; }
.board dd small { font: 700 13px/1 var(--font); margin-left: 4px; letter-spacing: 0.08em; }
.list { margin: 16px 0 0; padding: 0; list-style: none; }
.list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); font-size: 15px; color: #d2d8de; }
.list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--jy); }

/* 車窓の帯（横に送る） */
.windows { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px 34px; margin: 18px -20px 0 -34px; -webkit-overflow-scrolling: touch; }
.window { flex: 0 0 86%; max-width: 620px; margin: 0; scroll-snap-align: center; position: relative; }
.window img { width: 100%; border-radius: 14px; border: 1px solid #2a2f37; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.window figcaption { position: absolute; left: 12px; top: 12px; background: rgba(8, 9, 11, 0.82); border: 1px solid #343a44; border-radius: 8px; padding: 3px 10px 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.window figcaption span { color: var(--led); margin-right: 8px; font-size: 11px; }
@media (min-width: 900px) {
  .windows { padding-left: 76px; margin-left: -76px; }
  .window { flex-basis: 46%; }
}
.wide img { border-radius: 14px; border: 1px solid #2a2f37; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); width: 100%; }
.wide figcaption, .cap { font-size: 12px; color: var(--muted); margin-top: 8px; }
figure { margin: 0; }

/* 音（鳴るものの札） */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid #3a414c; background: var(--ink-3); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: #dfe5ea; }

/* きっぷ（無料とプレミアム） */
.tickets { display: grid; gap: 18px; margin-top: 8px; }
.ticket {
  position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 14px; padding: 20px 22px 18px;
  -webkit-mask: radial-gradient(circle 11px at 0 64px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 64px, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 64px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 64px, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed #b9b4a4; }
.ticket__head b { font-size: 22px; font-weight: 900; letter-spacing: 0.06em; }
.ticket__head span { font: 800 11px/1 var(--latin); letter-spacing: 0.2em; color: var(--paper-muted); }
.ticket ul { margin: 0; padding: 0; list-style: none; }
.ticket li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; line-height: 1.6; }
.ticket li::before { content: ""; position: absolute; left: 3px; top: 0.72em; width: 12px; height: 7px; border-left: 3px solid var(--jy-deep); border-bottom: 3px solid var(--jy-deep); transform: rotate(-45deg); }
.ticket p { color: var(--paper-muted); font-size: 13px; margin: 12px 0 0; }
.ticket--premium { background: linear-gradient(180deg, #f1f8de 0%, #f5f3ec 46%); box-shadow: inset 0 0 0 3px var(--jy); }
.ticket--premium .ticket__head span { color: var(--jy-deep); }
@media (min-width: 760px) { .tickets { grid-template-columns: 1fr 1fr; } }

/* のりかえ案内（これからの路線） */
.transfer { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #050505; border: 1px solid #2a2a2a; border-radius: 12px; padding: 10px 16px; margin-top: 6px; }
.transfer em { font: 800 12px/1 var(--latin); letter-spacing: 0.22em; color: var(--led); font-style: normal; }
.transfer i { width: 1px; height: 18px; background: #444; }
.code { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 6px; font: 800 13px/1 var(--latin); color: #fff; }
.code--jy { background: var(--jy); color: #14200a; }
.code--next { background: #f15a22; }
.transfer b { font-weight: 800; letter-spacing: 0.06em; }

/* よくある質問 */
.faq { margin: 6px 0 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; font-weight: 700; position: relative; font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 3px solid var(--jy); border-bottom: 3px solid var(--jy); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 18px; font-size: 15px; color: #cdd4da; }

/* 終点（フッター） */
.end { border-top: 1px solid var(--rule); background: var(--ink-2); margin-top: 30px; padding: 40px 0 46px; }
.end__sign { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; letter-spacing: 0.1em; }
.end__sign .num { width: 46px; height: 46px; border-radius: 10px; }
.end__sign .num b { font-size: 13px; letter-spacing: 0.04em; }
.end p { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.end nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 14px; font-weight: 600; }
.end nav a { color: #dfe5ea; text-decoration: underline; text-decoration-color: #4a515c; text-underline-offset: 4px; }
.end nav a:hover { text-decoration-color: var(--jy); }

/* ── 規約・ポリシー（掲示の紙） ── */
.doc { padding-top: 34px; padding-bottom: 20px; }
.doc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.doc h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.3; font-weight: 900; margin: 0; letter-spacing: 0.02em; }
.doc__sub { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.sheet { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius); padding: 26px 22px 30px; max-width: 820px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.sheet h2 { font-size: 19px; line-height: 1.5; margin: 34px 0 10px; padding-left: 12px; border-left: 6px solid var(--jy); font-weight: 800; scroll-margin-top: 80px; }
.sheet h3 { font-size: 16px; margin: 20px 0 6px; font-weight: 800; }
.sheet p, .sheet li { font-size: 15.5px; line-height: 1.9; }
html[lang="en"] .sheet p, html[lang="en"] .sheet li { line-height: 1.75; }
.sheet p { margin: 0 0 12px; }
.sheet ol, .sheet ul { margin: 0 0 12px; padding-left: 1.5em; }
.sheet li { margin-bottom: 6px; }
.sheet a { color: #2f5b00; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sheet .updated { color: var(--paper-muted); font-size: 13px; margin: 0 0 16px; }
.toc { background: #ebe8dd; border-radius: 12px; padding: 14px 18px 12px; margin: 0 0 22px; }
.toc b { font-size: 13px; letter-spacing: 0.12em; color: var(--paper-muted); }
.toc ol { margin: 6px 0 0; padding-left: 1.4em; columns: 1; }
.toc li { font-size: 14px; line-height: 1.7; margin-bottom: 2px; }
.toc.toc--plain ol { list-style: none; padding-left: 0; }
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; line-height: 1.7; }
.tbl th, .tbl td { border: 1px solid #cfcabb; padding: 9px 11px; text-align: left; vertical-align: top; }
.tbl th { background: #e9e5d8; font-weight: 800; white-space: nowrap; }
.tbl td:first-child { width: 56%; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.contact { background: #ebe8dd; border-radius: 12px; padding: 14px 18px; margin-top: 26px; }
.contact b { display: block; font-size: 13px; letter-spacing: 0.12em; color: var(--paper-muted); }
@media (min-width: 760px) {
  .sheet { padding: 38px 44px 44px; }
  .toc ol { columns: 2; column-gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
