@charset "utf-8";

/* サイト共通の紙面。絵とコンテンツのために、枠・影・文字の装飾を抑える。 */
:root {
  --ink: #203b32;
  --ink-soft: #65736a;
  --ink-faint: #818b80;
  --cream: #faf7ed;
  --gold: #b59964;
  --gold-dark: #8a7246;
  --gold-light: #dcca9b;
  --forest-deep: #122e26;
  --moss: #386c47;
  --paper: #f7f5ee;
  --line: #dcdfd2;
  --shell: 1180px;
  --header-h: 88px;
  --font-display: "Shippori Mincho B1", "Yu Mincho", serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}
body { background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.9; }
.shell { width: min(var(--shell), calc(100% - 80px)); }
::selection { background: #d9e4cc; color: var(--ink); }
:focus-visible { outline: 2px solid #a57c38; outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header { min-height: var(--header-h); background: rgba(247,245,238,.96); color: var(--ink); border: 0; border-bottom: 1px solid rgba(32,59,50,.1); box-shadow: none; backdrop-filter: blur(18px); }
.site-header::after { display: none; }
.site-header__inner { width: min(1320px, calc(100% - 80px)); min-height: var(--header-h); gap: 26px; }
.site-logo { flex: 0 0 105px; }
.site-logo img { width: 105px; filter: none; }
.global-nav { margin-left: auto; }
.global-nav__list { gap: clamp(12px, 2vw, 30px); }
.global-nav__link { display: flex; padding: 9px 0; border: 0; border-radius: 0; background: none; color: var(--ink); position: relative; box-shadow: none; }
.global-nav__link.is-current, .global-nav__link:hover { border: 0; background: none; box-shadow: none; transform: none; color: var(--ink); }
.global-nav__link.is-current::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: currentColor; }
.global-nav__link.is-current .global-nav__ja { color: inherit; }
.global-nav__ja { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-shadow: none; }
.global-nav__en { display: none; }
.btn { border: 1px solid var(--forest-deep); border-image: none; background: var(--forest-deep); color: var(--cream); padding: 14px 27px; min-height: 48px; border-radius: 999px; font-size: 13px; font-weight: 700; text-shadow: none; filter: none; box-shadow: none; transition: background .2s, transform .2s; }
.btn:hover { background: #2b5342; filter: none; transform: translateY(-2px); }
.btn--cta::after { display: none; }
.btn--wide { min-width: 200px; }
.btn__en { display: none; }
.site-header__cta { padding: 11px 20px; min-height: 42px; font-size: 11px; border: 1px solid var(--forest-deep); border-image: none; }
.nav-toggle { border: 1px solid var(--line); border-radius: 50%; background: transparent; width: 44px; height: 44px; padding: 0 11px; }
.nav-toggle span { height: 1px; background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 下層ページもトップと同じ文字・余白・配色で構成する。 */
.page-head { padding: 70px 0 28px; background: none; border: 0; text-align: left; }
.page-head::after { display: none; }
.page-head__title { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); line-height: 1.35; letter-spacing: .08em; font-weight: 700; color: var(--ink); text-shadow: none; }
.page-head__lead { margin-top: 20px; color: var(--ink-soft); font-size: 14px; text-shadow: none; }
.breadcrumb { padding: 0 0 30px; color: var(--ink-soft); font-size: 11px; }
.section { padding: 30px 0 50px; }
.section--tight { padding-top: 10px; }
.panel { padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); border-image: none; background: rgba(255,255,255,.5); filter: none; box-shadow: none; border-radius: 16px; }
.plate { border: 0; border-image: none; background: none; border-radius: 0; color: var(--ink); text-align: left; text-shadow: none; filter: none; padding: 0; margin: 0 0 24px; width: auto; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.5; }
.plate span { white-space: normal; }
.plate--sm { font-size: 23px; }
.plate + .panel { padding-top: clamp(24px, 4vw, 52px); }
.prose { font-weight: 400; }
.prose p, .prose li { font-size: 15px; line-height: 2; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose h3 { border-left: 2px solid var(--moss); }
.story-teaser__lead { font-family: var(--font-display); font-weight: 700; line-height: 1.7; }
.story-teaser__lead u { border: 0; }
.story-strip { gap: 36px; }
.story-scene__art { border: 0; border-radius: 12px; background: #eaece2; box-shadow: none; overflow: hidden; }
.story-scene__no { border: 0; color: var(--cream); background: var(--forest-deep); box-shadow: none; border-radius: 50%; }
.story-scene__text { font-size: 14px; font-weight: 400; }
.starter__art img, .youkai-detail__art img, .invite__art { animation: none; filter: none; }
.starter__name, .youkai-detail__name { font-weight: 700; }
.starter__desc { font-weight: 400; line-height: 1.9; }
.flame { box-shadow: none; animation: none; width: 10px; height: 14px; }
.split__art { border: 5px solid #20332b; padding: 0; border-radius: 28px; background: #20332b; box-shadow: 0 20px 45px rgba(31,55,43,.12); }
.split__art img { border-radius: 21px; }
.split__art--plain { border: 0; background: none; box-shadow: none; }
.split__art--plain img { filter: none; border-radius: 0; }
.cell-card, .fact, .chapter, .item, .step, .rules { background: #eef0e7; border: 1px solid var(--line); box-shadow: none; border-radius: 12px; }
.fact__value, .cell-card__key, .item__price { color: var(--ink); }
.chapter__no { border: 0; background: var(--forest-deep); font-weight: 700; }
.chapter__closing { border: 0; background: #a76b51; }
.chapter--final .chapter__closing { background: #6e6681; }
.place__art { border: 0; box-shadow: none; border-radius: 12px; }
.place__lead { border: 0; background: rgba(18,46,38,.85); font-weight: 500; }
.place__name { font-weight: 700; }
.item { padding: 24px 16px; }
.item__art { filter: none; }
.item__name { font-weight: 700; }

.filter-bar { gap: 10px; margin-bottom: 20px; }
.filter-bar__chip { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-weight: 500; padding: 8px 20px; font-size: 12px; border-radius: 999px; }
.filter-bar__chip:hover { background: #e5ebdd; color: var(--ink); transform: none; }
.filter-bar__chip.is-active { background: var(--forest-deep); color: var(--cream); border-color: var(--forest-deep); }
.youkai-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px; }
.youkai-card { height: 100%; padding: 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f0f2e9; gap: 13px; box-shadow: none; }
.youkai-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(32,59,50,.07); }
.youkai-card__art { background: none; padding: 4px; border-radius: 0; }
.youkai-card__name { font-weight: 700; }
.youkai-card__tag, .pref-tag { background: #e0e7d7; color: #466042; font-weight: 500; }
.youkai-card__tag--secret { background: #dcdde3; color: #66637a; }
.youkai-card--secret .youkai-card__art { border-radius: 10px; background: #e4e6df; box-shadow: none; }
.youkai-card--secret .youkai-card__art img { opacity: .18; }
.youkai-card__question { color: #8b9687; text-shadow: none; }
.youkai-card--secret:hover { box-shadow: none; }
.youkai-detail__art { background: #edf1e4; border: 0; border-radius: 14px; }
.spec-list, .spec-list__row { border-width: 1px; border-style: solid; border-color: var(--line); }
.pager__link { border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 500; }
.pager__link:hover { background: #e7ebdf; }
.news-list { gap: 0; }
.news-row { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 24px 0; box-shadow: none; }
.news-row:hover { transform: none; background: #f0f2e9; }
.news-row__thumb { overflow: hidden; border-radius: 8px; }
.news-row__title { font-weight: 700; }
.tag { border: 0; background: #e6ebdf; color: #536a50; font-weight: 500; }
.badge-new { animation: none; box-shadow: none; border: 0; background: #a66c51; font-weight: 500; }
.post-card { border: 1px solid var(--line); background: #fffef8; box-shadow: none; border-radius: 12px; }
.post-card__thumb { background: #edf0e6; }
.post-card__name { font-weight: 700; }
.post-gallery img { border: 1px solid var(--line); border-radius: 12px; }
.field input[type="text"], .field input[type="email"], .field input[type="file"], .field select, .field textarea, .checkbox-grid { border: 1px solid #cdd4c6; background: #fffef9; border-radius: 8px; padding: 13px 16px; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(56,108,71,.08); }
.consent { background: #eff2e8; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; }
.required { background: #a56c51; }
.step__no { border: 0; background: var(--forest-deep); }
.alert { border-width: 1px; border-radius: 8px; }

/* 実機のプレイ動画。縦画面を切らずに、操作できるプレイヤーで見せる。 */
.play-film { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,340px); align-items: center; gap: 60px; }
.play-film__label { font-size: 10px; letter-spacing: .18em; margin-bottom: 24px; }
.play-film__title { font-family: var(--font-display); font-size: clamp(30px,3.3vw,44px); line-height: 1.6; letter-spacing: .07em; }
.play-film__lead { font-size: 14px; line-height: 2.1; color: var(--ink-soft); font-weight: 400; margin-top: 24px; }
.play-film__points { margin-top: 30px; border-top: 1px solid var(--line); }
.play-film__points li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.play-film__points span { font-family: var(--font-display); font-size: 11px; color: #8a917f; }
.play-film__next { display: inline-flex; align-items: center; gap: 35px; margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 12px; }
.play-film__player { padding: 7px; border-radius: 28px; background: #183327; box-shadow: 0 20px 45px rgba(31,55,43,.12); }
.play-film__player video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1444; background: #183327; border-radius: 21px; }
.play-film__visual figcaption { text-align: center; font-size: 10px; line-height: 1.8; color: var(--ink-soft); margin-top: 20px; font-weight: 400; }
.puzzle-figure img { width: 100%; height: auto; border-radius: 10px; }
.puzzle-figure figcaption { font-size: 10px; text-align: center; color: var(--ink-soft); margin-top: 14px; font-weight: 400; }

.site-footer { margin: 70px 0 0; padding: 60px 0 24px; border: 0; border-top: 1px solid var(--line); background: #ebece2; color: var(--ink); }
.site-footer__inner { width: min(var(--shell), calc(100% - 80px)); display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px 40px; align-items: center; }
.site-footer__logo img { width: 110px; filter: none; }
.site-footer__message { font-family: var(--font-display); font-size: 18px; line-height: 1.8; }
.footer-nav { grid-column: 1 / -1; }
.footer-nav__list { gap: 12px 28px; }
.footer-nav__list li { padding: 0; }
.footer-nav__list li::after { display: none; }
.footer-nav a { font-weight: 500; font-size: 11px; }
.footer-nav a:hover { color: var(--ink); }
.site-footer__copyright { color: var(--ink-faint); font-size: 10px; margin-top: 36px; }
.back-to-top { width: 44px; height: 44px; right: 20px; bottom: 20px; border: 1px solid #d4ddcc; background: var(--paper); color: var(--ink); box-shadow: 0 4px 18px rgba(32,59,50,.07); }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .site-header__inner { width: calc(100% - 48px); gap: 18px; }
  .global-nav__list { gap: 15px; }
  .global-nav__ja { font-size: 11px; }
  .site-header__cta { padding: 10px 15px; font-size: 10px; }
}
@media (max-width: 900px) {
  .play-film { grid-template-columns: minmax(0,1fr) minmax(0,280px); gap: 35px; }
  .play-film__lead { font-size: 12px; }
  .play-film__points li { font-size: 11px; gap: 12px; }
  :root { --header-h: 76px; }
  .site-header__inner { width: calc(100% - 40px); gap: 16px; }
  .site-logo, .site-logo img { width: 88px; flex-basis: 88px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .global-nav { top: 100%; visibility: hidden; background: var(--paper); color: var(--ink); border: 0; box-shadow: 0 18px 24px rgba(32,59,50,.08); }
  .global-nav.is-open { visibility: visible; }
  .global-nav__list { gap: 0; padding: 14px 24px 24px; }
  .global-nav__list li { border-color: var(--line); }
  .global-nav__link, .global-nav__link:hover { padding: 12px 0; color: var(--ink); }
  .global-nav__link.is-current::after { display: none; }
  .global-nav__ja { font-size: 14px; }
  .site-header__cta { display: none; }
  .starter-list { grid-template-columns: 1fr; }
  .youkai-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 620px) {
  .play-film { grid-template-columns: 1fr; gap: 36px; }
  .play-film__visual { width: min(100%,280px); margin-inline: auto; }
  .play-film__title { font-size: 30px; }
  .play-film__label { font-size: 9px; margin-bottom: 20px; }
  .play-film__lead { font-size: 12px; }
  .play-film__points li { font-size: 10px; }
  .play-film__next { font-size: 11px; }
  .shell { width: calc(100% - 40px); }
  .page-head { padding-top: 44px; }
  .page-head__lead { font-size: 12px; line-height: 1.9; }
  .breadcrumb { padding-bottom: 24px; }
  .section { padding-bottom: 32px; }
  .panel, .plate + .panel { padding: 24px 18px; border-radius: 12px; }
  .btn { padding: 13px 22px; border: 1px solid var(--forest-deep); border-image: none; }
  .story-strip { gap: 28px; }
  .youkai-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .youkai-card { padding: 16px 8px; gap: 10px; }
  .youkai-card__name { font-size: 14px; }
  .news-row { padding: 20px 0; gap: 14px; }
  .site-footer { padding-top: 40px; }
  .site-footer__inner { width: calc(100% - 40px); grid-template-columns: 100px minmax(0,1fr); gap: 20px; text-align: left; }
  .site-footer__message { font-size: 15px; }
  .site-footer__logo img { width: 88px; }
  .footer-nav__list { justify-content: flex-start; gap: 10px 22px; }
}
