/* レンタル・レジェンド 公式サイト（2026-10-26 試作）
   色はロゴと技の絵から：墨・和紙・朱・真鍮。 */
:root {
  --sumi: #0f0e0d;
  --sumi-2: #171512;
  --sumi-3: #211e1a;
  --line: rgba(239, 230, 210, 0.14);
  --washi: #efe6d2;
  --washi-2: #e3d6bb;
  --paper-ink: #1d1915;
  --paper-muted: #5d5246;
  --text: #efe6d2;
  --muted: #b3a891;
  --shu: #c8341f;
  --shu-bright: #e04a31;
  --brass: #caa45b;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Shippori Mincho", serif;
  --sans: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sumi);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.mincho { font-family: var(--mincho); }

/* 見出しの上の小さな英字 */
.kicker {
  display: inline-block;
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 600; line-height: 1.35; margin: 0; word-break: auto-phrase; text-wrap: pretty; }
.nw { display: inline-block; }
p { text-wrap: pretty; }
h2.sec { font-size: clamp(30px, 5vw, 52px); letter-spacing: 0.08em; }
.lead { color: var(--muted); font-size: 15px; max-width: 40em; margin: 18px 0 0; }

/* ヘッダー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: linear-gradient(rgba(15, 14, 13, 0.82), rgba(15, 14, 13, 0.55));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; letter-spacing: 0.08em; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.site-nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; color: var(--text); }
@media (max-width: 760px) { .site-nav a:not(.lang) { display: none; } }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; border-radius: 4px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-shu { background: var(--shu); color: #fff8ee; box-shadow: 0 10px 30px -12px rgba(200, 52, 31, 0.8); }
.btn-shu:hover { background: var(--shu-bright); }
.btn-line { border-color: rgba(239, 230, 210, 0.4); color: var(--text); background: rgba(15, 14, 13, 0.35); }
.btn-line:hover { border-color: var(--text); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }

/* 一番上：キービジュアル */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.02); }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, 0.92) 0%, rgba(15, 14, 13, 0.6) 36%, rgba(15, 14, 13, 0) 62%),
    linear-gradient(0deg, var(--sumi) 0%, rgba(15, 14, 13, 0) 38%);
}
.hero-body { padding: 120px 0 72px; }
.hero-logo { width: min(620px, 92%); margin: 0 0 18px -14px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.hero .genre { font-family: var(--mincho); font-size: 13px; letter-spacing: 0.3em; color: var(--brass); }
.hero h1 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: 0.08em; margin: 10px 0 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
.hero p.sub { max-width: 30em; color: #ddd2bb; margin: 0 0 30px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .release { margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero-art { position: relative; aspect-ratio: 5 / 4; }
  .hero-art img { object-position: 60% 20%; }
  .hero-art::after { background: linear-gradient(0deg, var(--sumi) 0%, rgba(15, 14, 13, 0) 40%); }
  .hero-body { padding: 0 0 56px; margin-top: -72px; position: relative; }
  .hero-logo { margin: 0 auto 8px; width: 96%; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* 区切り */
section { position: relative; }
.sec-pad { padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* 実プレイ動画の枠 */
.movie-frame {
  position: relative; aspect-ratio: 852 / 393; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(202, 164, 91, 0.45);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.movie-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); }
.movie-frame.still img { filter: none; }
.movie-frame .over {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center;
}
.movie-frame .play {
  width: 76px; height: 76px; border-radius: 50%; background: var(--shu); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(200, 52, 31, 0.25);
}
.movie-frame .play svg { width: 26px; height: 26px; fill: #fff8ee; margin-left: 5px; }
.movie-frame .note { font-size: 13px; color: var(--washi); letter-spacing: 0.1em; }

/* 遊び方 3手順 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.step figure { margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.step .num { font-family: var(--mincho); color: var(--shu-bright); font-size: 56px; line-height: 1; margin: 26px 0 6px; }
.step h3 { font-size: 28px; letter-spacing: 0.2em; }
.step p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

/* 師匠（和紙の面） */
.paper { background: radial-gradient(120% 60% at 50% 0%, #f6efdf 0%, var(--washi) 50%, var(--washi-2) 100%); color: var(--paper-ink); }
.paper .kicker { color: #9b3a24; }
.paper .lead { color: var(--paper-muted); }
.mentor {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 40px) 0; border-top: 1px solid rgba(29, 25, 21, 0.14);
}
.mentor:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.mentor:nth-of-type(even) .mentor-figure { order: 2; }
.mentor-figure { position: relative; }
.mentor-figure img { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 24px 24px rgba(60, 40, 20, 0.25)); }
.mentor-figure .vname {
  position: absolute; top: 0; right: 0;
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 600;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: 0.18em; color: var(--paper-ink);
}
.mentor:nth-of-type(even) .mentor-figure .vname { right: auto; left: 0; }
.mentor .who { font-size: 13px; letter-spacing: 0.2em; color: var(--paper-muted); }
.mentor .tech-label { font-family: var(--mincho); font-size: 13px; letter-spacing: 0.3em; color: #9b3a24; margin-top: 18px; }
.mentor .tech { font-family: var(--mincho); font-size: clamp(40px, 6vw, 72px); font-weight: 700; color: var(--shu); letter-spacing: 0.08em; line-height: 1.15; }
.mentor .tech-line { font-family: var(--mincho); font-size: clamp(18px, 2vw, 22px); margin: 6px 0 0; }
.mentor .cutin { margin: 22px 0 0; width: 100%; aspect-ratio: 1846 / 700; object-fit: cover; object-position: 70% 50%; }
@media (max-width: 760px) {
  .mentor, .mentor:nth-of-type(even) { grid-template-columns: 1fr; }
  .mentor:nth-of-type(even) .mentor-figure { order: 0; }
  .mentor-figure img { max-width: 78%; margin-left: 0; }
  .mentor-figure .vname, .mentor:nth-of-type(even) .mentor-figure .vname { left: auto; right: 0; }
}
.others {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(22px, 3vw, 36px);
  background: var(--sumi); color: var(--text); border-radius: 6px;
}
.others h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.08em; }
.others p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.others .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.others .pair img { border-radius: 3px; border: 1px solid var(--line); }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }

/* 数で言える特徴 */
.numbers-bg { background: linear-gradient(rgba(15, 14, 13, 0.86), rgba(15, 14, 13, 0.94)), url(img/town.jpg) center / cover; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.numbers > div { padding: 30px 22px 6px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.numbers > div:last-child { border-right: 0; }
.numbers .n { font-family: var(--mincho); font-size: clamp(56px, 8vw, 96px); line-height: 1; color: var(--washi); }
.numbers .n small { font-size: 0.36em; margin-left: 6px; color: var(--brass); letter-spacing: 0.1em; }
.numbers h3 { font-size: 19px; margin-top: 18px; letter-spacing: 0.08em; }
.numbers p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
@media (max-width: 860px) {
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .numbers > div { border-right: 0; margin-right: 0; padding-right: 10px; }
}

/* 画面写真 */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.shots a:hover img { transform: scale(1.03); }
.shots img { transition: transform 0.3s ease; }
.shots figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.shots figure.wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shots figure.wide { grid-column: auto; } }

/* 製品情報の表 */
.info { width: 100%; border-collapse: collapse; font-size: 15px; }
.info th, .info td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.info th { width: 9em; font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }
.paper .info th, .paper .info td { border-color: rgba(29, 25, 21, 0.14); }
.paper .info th { color: var(--paper-muted); }

/* 最後の入口 */
.cta { text-align: center; padding: clamp(80px, 10vw, 120px) 0; background: radial-gradient(60% 60% at 50% 40%, #2a1612 0%, var(--sumi) 70%); }
.cta img { width: min(520px, 90%); margin: 0 auto 26px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .social { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* 足もと */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 13px; color: var(--muted); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .price { margin: 0 0 16px; }

/* スマホの下に出る入手の帯 */
.store-bar { display: none; }
@media (max-width: 760px) {
  .store-bar {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 25; gap: 10px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 14, 13, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .store-bar img { width: 40px; height: 40px; border-radius: 9px; }
  .store-bar .t { flex: 1; font-size: 12px; line-height: 1.4; }
  .store-bar .t b { display: block; font-family: var(--mincho); font-size: 14px; }
  .store-bar .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
  body.has-bar { padding-bottom: 72px; }
}

/* 下の頁（プレスキット・プライバシー・サポート） */
.page-top { padding: 110px 0 0; }
.doc { width: min(860px, 100% - var(--gutter) * 2); margin-inline: auto; }
.doc h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: 0.06em; }
.doc h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: 0.06em; margin: 64px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc h3 { font-size: 18px; margin: 30px 0 8px; }
.doc p, .doc li { color: #ddd2bb; }
.doc ul { padding-left: 1.3em; }
.draft-band {
  margin: 26px 0 0; padding: 14px 18px; border-left: 4px solid var(--shu); background: rgba(200, 52, 31, 0.12);
  font-size: 14px; color: var(--washi);
}

/* プレスキット */
.press-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.press-nav { position: sticky; top: 90px; align-self: start; font-size: 13px; display: grid; gap: 8px; padding-top: 6px; }
.press-nav a { color: var(--muted); text-decoration: none; }
.press-nav a:hover { color: var(--text); }
.press-main { min-width: 0; }
.press-main h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: 0.06em; margin: 72px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.press-hero { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.press-title { margin-top: 30px; }
.press-title h1 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: 0.06em; }
.press-title p { color: var(--muted); }
.press-title .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.fact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.fact-grid dl { margin: 0; display: grid; grid-template-columns: 8em 1fr; font-size: 14px; }
.fact-grid dt { color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact-grid dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact-grid .desc p { margin: 0 0 14px; color: #ddd2bb; }
@media (max-width: 960px) { .fact-grid { grid-template-columns: 1fr; } }
.assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--sumi-2); display: flex; flex-direction: column; }
.asset .thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 14px; background: var(--sumi-3); }
.asset .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.asset .thumb.light { background: var(--washi); }
.asset .thumb.cover { padding: 0; }
.asset .thumb.cover img { width: 100%; height: 100%; object-fit: cover; }
.asset .meta { padding: 12px 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.asset .meta span { color: var(--muted); }
.asset .meta a { color: var(--brass); white-space: nowrap; }
.assets.wide { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .assets, .assets.wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .assets, .assets.wide { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .press-layout { grid-template-columns: 1fr; gap: 0; }
  .press-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 0 8px; }
}
.mentor-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mentor-cards .asset .thumb { aspect-ratio: 1; background: radial-gradient(circle at 50% 30%, #f6efdf, var(--washi-2)); }
.mentor-cards .t { padding: 12px 14px 0; }
.mentor-cards .t b { font-family: var(--mincho); font-size: 18px; }
.mentor-cards .t .tech { color: var(--shu-bright); font-family: var(--mincho); }
.mentor-cards .t p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
@media (max-width: 860px) { .mentor-cards { grid-template-columns: 1fr; } }

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-family: var(--mincho); font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--brass); font-family: var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; color: #ddd2bb; }
.faq .a p { margin: 0 0 10px; }
@media (max-width: 520px) { .info th { width: 5.5em; } .fact-grid dl { grid-template-columns: 6em 1fr; } }
@media (max-width: 520px) { .press-title .actions .btn { flex: 1 1 100%; } .btn { text-align: center; } }

/* 開発者より */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.why-body p { font-family: var(--mincho); font-size: clamp(17px, 1.6vw, 20px); line-height: 2; margin: 0 0 18px; color: var(--paper-ink); }
.why-body .sign { text-align: right; font-size: 15px; color: var(--paper-muted); margin-top: 28px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.why h2.sec { font-size: clamp(28px, 3.2vw, 40px); }
.btn { flex-wrap: wrap; row-gap: 0; }
.btn > .nw { flex: none; }
