/* 信長・秀吉・家康の出世道伝説 公式サイト（2026-10-20）。白地・墨・藍・朱（暖色のセピアは使わない）。 */
@font-face { font-family: "Shippori Mincho B1 Site"; src: url("/fonts/shippori-min-800.woff?v=fc34a02882") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Yuji Syuku Site"; src: url("/fonts/yuji-syuku.woff?v=fc34a02882") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f5f5f2;
  --paper-2: #eceee9;
  --ink: #15171c;
  --ink-2: #3c414b;
  --ink-3: #6a707b;
  --ai: #1f3d63;
  --ai-deep: #0d1a2e;
  --ai-night: #081221;
  --shu: #c23b2a;
  --shu-deep: #9d2b1d;
  --kin: #cfae5c;
  --line: rgba(21, 23, 28, .14);
  --radius: 14px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --min: "Shippori Mincho B1 Site", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --brush: "Yuji Syuku Site", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.f-min { font-family: var(--min); font-weight: 800; }
.f-brush { font-family: var(--brush); font-weight: 400; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sp { display: inline; }
.pc { display: none; }
.nw { white-space: nowrap; }
@media (min-width: 761px) { .sp { display: none; } .pc { display: inline; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 4px; }

/* ---------- 頭の帯 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s;
  color: #fff;
  padding-top: env(safe-area-inset-top);
}
.site-header__inner { max-width: 1320px; margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 18px; }
.site-header.is-solid { background: rgba(245, 245, 242, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s; }
.site-header.is-solid .brand { opacity: 1; transform: none; }
.brand__icon { border-radius: 8px; }
.brand__name { font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.site-nav { display: none; gap: 26px; font-size: 14px; letter-spacing: .14em; }
.site-nav a { text-decoration: none; opacity: .86; position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--shu); transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta { text-decoration: none; font-size: 14px; letter-spacing: .14em; padding: 8px 18px; border-radius: 999px; background: var(--shu); color: #fff; box-shadow: 0 6px 18px rgba(194, 59, 42, .32); white-space: nowrap; }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* ---------- 一番上（キービジュアル） ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; justify-content: center;
  color: #fff; overflow: hidden; background: var(--ai-night); isolation: isolate;
}
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: hero-zoom 18s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 33, .55) 0%, rgba(8, 18, 33, .05) 34%, rgba(8, 18, 33, 0) 50%, rgba(8, 18, 33, .55) 70%, rgba(8, 18, 33, .88) 86%, rgba(8, 18, 33, .97) 100%);
}
.hero__content { width: 100%; max-width: 760px; padding: calc(64px + env(safe-area-inset-top)) var(--gut) 0; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; }
.hero__logo { margin: 0; width: min(86vw, 560px); filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .5)); animation: rise 1.1s .15s var(--ease) both; }
.hero__tagline { margin: 4px 0 0; font-size: clamp(17px, 4.4vw, 24px); letter-spacing: .16em; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); animation: rise 1s .4s var(--ease) both; }
.hero__lead { margin: auto 0 18px; font-size: clamp(14px, 3.6vw, 16px); line-height: 1.9; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); animation: rise 1s .6s var(--ease) both; }
.hero__note { font-size: 12px; opacity: .8; margin: 12px 0 calc(64px + env(safe-area-inset-bottom)); letter-spacing: .1em; }
.hero .store-row { animation: rise 1s .75s var(--ease) both; }
@media (max-width: 760px) and (max-height: 640px) { .hero__logo { width: min(74vw, 420px); } .hero__lead { display: none; } .hero .store-row { margin-top: auto; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 761px) {
  .hero__art img { object-position: 50% 40%; }
  @media (orientation: portrait) { .hero__art img { object-position: 50% 30%; } }
  .hero__content { padding-top: calc(76px + env(safe-area-inset-top)); }
  .hero__logo { width: min(46vw, 600px); }
}

/* ---------- ストアのボタン ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 196px; min-height: 58px; padding: 9px 18px 9px 16px;
  border-radius: 12px; background: #0b0d11; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .42); }
.store-btn svg { flex: none; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__small { font-size: 11px; letter-spacing: .06em; opacity: .85; }
.store-btn__big { font-size: 20px; font-weight: 600; letter-spacing: .01em; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.store-btn.is-soon { cursor: default; opacity: .96; }
.store-btn.is-soon:hover { transform: none; }
.store-btn__soon {
  position: absolute; top: -10px; right: -8px; background: var(--shu); color: #fff; font-size: 11px; letter-spacing: .12em; padding: 2px 9px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(194, 59, 42, .4); font-weight: 700;
}
.store-row--dark .store-btn { border-color: transparent; }

/* ---------- 共通の見出し ---------- */
.paper { background-color: var(--paper); background-image: url("/img/washi.webp?v=fc34a02882"); background-size: 560px auto; background-blend-mode: multiply; }
section { position: relative; }
.eyebrow { font-family: "Times New Roman", "Hiragino Mincho ProN", serif; font-size: 12px; letter-spacing: .42em; color: var(--shu); margin: 0 0 10px; }
.eyebrow--light { color: var(--kin); }
.title { font-size: clamp(30px, 7vw, 54px); line-height: 1.35; letter-spacing: .08em; margin: 0 0 18px; }
.section-head { text-align: center; margin-bottom: clamp(32px, 6vw, 60px); }
.section-head__lead { color: var(--ink-2); max-width: 36em; margin: 0 auto; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 16px; margin-bottom: 26px; }
.section-head--row .title { margin: 0; }

/* ---------- 物語 ---------- */
.story { padding: clamp(72px, 12vw, 140px) 0; overflow: hidden; }
.story::before { content: "出世"; position: absolute; right: -2vw; top: 6%; font-family: var(--brush); font-size: clamp(140px, 30vw, 360px); line-height: 1; color: rgba(31, 61, 99, .06); writing-mode: vertical-rl; pointer-events: none; }
.story__grid { display: grid; gap: 24px; }
.story__body { color: var(--ink-2); font-size: clamp(15px, 2.2vw, 17px); max-width: 38em; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1.3fr; align-items: start; gap: 64px; }
  .story__head { position: sticky; top: 120px; }
}

/* ---------- 三英傑 ---------- */
.heroes { padding: clamp(72px, 11vw, 130px) 0; background: linear-gradient(180deg, #e9ecf0 0%, #f5f5f2 100%); }
.hero-cards { display: grid; gap: 22px; }
@media (min-width: 900px) { .hero-cards { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.hero-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(15, 31, 54, .1); display: flex; flex-direction: column; }
.hero-card__art { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ai-deep); }
@media (max-width: 899px) and (min-width: 560px) { .hero-card { flex-direction: row; } .hero-card__art { flex: 0 0 46%; aspect-ratio: auto; min-height: 380px; }
  .hero-card__text { display: flex; flex-direction: column; justify-content: center; padding: 26px 30px; border-top: 0; border-left: 4px solid var(--shu); }
  .hero-card--kin .hero-card__text { border-left-color: var(--kin); } .hero-card--ai .hero-card__text { border-left-color: var(--ai); }
  .hero-card__name { font-size: 30px; } .hero-card__text p:last-child { font-size: 16px; } }
.hero-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.hero-card__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .0) 70%, rgba(8, 18, 33, .38) 100%); }
.hero-card__fig { position: absolute; left: 50%; bottom: -4%; width: 78%; transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 12px 18px rgba(8, 18, 33, .35)); transition: transform 1s var(--ease); }
.hero-card:hover .hero-card__bg { transform: scale(1.08); }
.hero-card:hover .hero-card__fig { transform: translateX(-50%) translateY(-6px); }
.hero-card__vname { position: absolute; top: 14px; right: 12px; z-index: 2; margin: 0; writing-mode: vertical-rl; font-size: clamp(28px, 6vw, 40px); line-height: 1; color: #fff; letter-spacing: .06em; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); padding: 10px 6px; }
.hero-card--shu .hero-card__vname { background: linear-gradient(180deg, rgba(194, 59, 42, .92), rgba(157, 43, 29, .9)); }
.hero-card--kin .hero-card__vname { background: linear-gradient(180deg, rgba(176, 140, 58, .95), rgba(140, 106, 36, .92)); }
.hero-card--ai .hero-card__vname { background: linear-gradient(180deg, rgba(31, 61, 99, .95), rgba(13, 26, 46, .92)); }
.hero-card__text { padding: 22px 22px 26px; border-top: 4px solid var(--shu); }
.hero-card--kin .hero-card__text { border-top-color: var(--kin); }
.hero-card--ai .hero-card__text { border-top-color: var(--ai); }
.hero-card__epithet { font-size: 13px; letter-spacing: .2em; color: var(--ink-3); margin: 0 0 4px; }
.hero-card__name { font-size: 26px; letter-spacing: .08em; margin: 0 0 10px; line-height: 1.4; }
.hero-card__name span { font-size: 15px; letter-spacing: .04em; color: var(--ink-3); }
.hero-card__text p:last-child { color: var(--ink-2); margin: 0; font-size: 15px; }

/* ---------- 遊びの特徴 ---------- */
.features { padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 9vw, 110px); }
.feature { display: grid; gap: 22px; align-items: center; margin: 0 0 clamp(48px, 9vw, 96px); }
.feature:last-child { margin-bottom: 0; }
.feature__art { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 50px rgba(15, 31, 54, .18); }
.feature__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); pointer-events: none; }
.feature__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__art img { transform: scale(1.03); }
.feature__text { position: relative; }
.feature__no { position: absolute; top: -.35em; right: 0; margin: 0; font-size: clamp(64px, 14vw, 120px); line-height: 1; color: rgba(194, 59, 42, .14); pointer-events: none; }
.feature__text h3 { font-size: clamp(22px, 4.6vw, 32px); line-height: 1.45; letter-spacing: .06em; margin: 0 0 14px; padding-left: 16px; border-left: 4px solid var(--shu); }
.feature__text p:last-child { color: var(--ink-2); margin: 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .feature--rev .feature__art { order: 2; }
  .feature__no { right: auto; left: -8px; top: -.7em; }
}

/* ---------- はじめのほうび ---------- */
.gift { padding: clamp(64px, 10vw, 110px) 0; color: #fff; text-align: center; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(207, 174, 92, .22), rgba(207, 174, 92, 0) 60%),
    linear-gradient(180deg, #13274a, var(--ai-night));
}
.gift::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 255, 255, .05) 0 4deg, rgba(255, 255, 255, 0) 4deg 12deg); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); pointer-events: none; }
.gift__inner { position: relative; max-width: 820px; }
.gift__title { font-size: clamp(30px, 7.4vw, 58px); line-height: 1.35; letter-spacing: .08em; margin: 0 0 18px; }
.gift__title em { font-style: normal; color: var(--kin); text-shadow: 0 0 24px rgba(207, 174, 92, .45); }
.gift p:last-child { opacity: .9; margin: 0; }

/* ---------- 画面紹介 ---------- */
.screens { padding: clamp(72px, 11vw, 130px) 0 clamp(64px, 10vw, 110px); background: var(--paper-2); }
.carousel-ctrl { display: none; gap: 10px; }
@media (min-width: 900px) { .carousel-ctrl { display: flex; } }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); transition: background .2s, color .2s; }
.carousel-btn:hover { background: var(--ink); color: #fff; }
.shots {
  list-style: none; margin: 0; padding: 6px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 26px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.shots li { flex: 0 0 auto; width: clamp(200px, 58vw, 270px); scroll-snap-align: center; }
.shots img { width: 100%; border-radius: 18px; box-shadow: 0 16px 34px rgba(15, 31, 54, .22); background: var(--ai-deep); }

/* ---------- 武将伝シネマ ---------- */
.cinema { padding: clamp(80px, 12vw, 150px) 0; color: #fff; text-align: center; overflow: hidden; background: var(--ai-night); }
.cinema__bg { position: absolute; inset: 0; background: url("/img/cinema-bg.webp?v=fc34a02882") center / cover no-repeat; opacity: .5; }
.cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 33, .65), rgba(8, 18, 33, .35) 50%, rgba(8, 18, 33, .8)); }
.cinema__inner { position: relative; z-index: 1; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.cinema__logo { width: min(80vw, 440px); margin-bottom: 18px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.cinema__title { font-size: clamp(22px, 5vw, 34px); letter-spacing: .08em; line-height: 1.5; margin: 0 0 14px; }
.cinema p { opacity: .9; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .1em; padding: 14px 26px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s; }
.btn--yt { background: var(--shu); color: #fff; box-shadow: 0 12px 28px rgba(194, 59, 42, .4); margin-top: 8px; }
.btn--yt:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(194, 59, 42, .5); }

/* ---------- ダウンロード ---------- */
.download { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.download__inner { display: flex; flex-direction: column; align-items: center; }
.download__icon { border-radius: 22px; box-shadow: 0 14px 30px rgba(15, 31, 54, .25); margin-bottom: 18px; }
.download__lead { color: var(--ink-2); }
.download__note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ---------- 足もと ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 56px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; }
.site-footer__inner { display: grid; gap: 26px; }
.site-footer__brand { display: flex; align-items: center; gap: 18px; }
.site-footer__brand img { width: 120px; filter: brightness(0) invert(1); opacity: .88; }
.site-footer__brand p { margin: 0; line-height: 1.6; }
.site-footer__brand small { opacity: .7; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer__links a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.site-footer__links a:hover { border-bottom-color: #fff; color: #fff; }
.site-footer__small { font-size: 12px; opacity: .65; margin: 0; }
.site-footer__copy { font-size: 12px; opacity: .6; margin: 0; letter-spacing: .1em; }

/* ---------- 静かに現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-cards .reveal:nth-child(2) { transition-delay: .12s; }
.hero-cards .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gut); background: var(--ai-night); color: #fff; }
.notfound h1 { font-size: clamp(26px, 6vw, 40px); letter-spacing: .1em; margin: 18px 0 10px; }
.notfound a { color: #fff; }
