/* ============================================
   Momentary トップページ(index.php)専用スタイル

   構成の考え方:
     - スマホ表示を基準(ベース)にデザインし、
       PC/タブレット幅(900px以上)になったら、
       コンテンツ自体は "スマホ相当の幅の中央カラム" のまま、
       左右に「ロゴ(左)」「メニュー(右)」だけの装飾レールを
       追加する、という最近よく見るレイアウト。
     - 配色はカスタマイズ画面のデフォルトテーマ(テラコッタ×ゴールド)を
       踏襲し、絵本の世界観とサイト全体の一体感を出している。
============================================ */

:root {
  --color-bg: #f4f1e8;
  --color-bg-soft: #eae8de;
  --color-text: #194b36;
  --color-text-sub: #557060;
  --color-accent: #13b86a;
  --color-accent-2: #079c58;
  --color-border: rgba(25, 75, 54, 0.15);
  --font-accent: ryo-gothic-plusn, sans-serif;
  --font-body: ryo-gothic-plusn, sans-serif;
  --frame-width: 480px;
  --side-deco-width: 320px;
  --header-height: 60px;
  --sp-fixed-cta-height: 92px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 0.6rem 1rem;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden,
.fv__title .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   サイト全体の枠(スマホ幅の中央カラム)
   ========================================================================== */

.site {
  position: relative;
  width: 100%;
  max-width: var(--frame-width);
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-bg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .site {
    box-shadow: 0 0 0 1px var(--color-border), 0 0 60px rgba(43, 33, 24, 0.08);
  }
}

/* ==========================================================================
   左右のサイド装飾(PC/タブレット幅のみ表示)
   ========================================================================== */

.side-deco {
  display: none;
}

@media (min-width: 900px) {
  .side-deco {
    display: flex;
    flex: 1 1 0;
    max-width: var(--side-deco-width);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .side-deco--right {
    gap: 2.5rem;
  }
}

/* 左: 縦組み専用ロゴ(data/logo_kana.svg)。もともと縦長のデータなので
   回転はさせず、そのままの向きで高さを基準に表示する。 */
.side-brand-link {
  line-height: 0;
}

.side-brand {
  width: auto;
  height: 340px;
}

/* 右: 縦のナビゲーションメニュー */
.side-menu__list {
  list-style: none;
  width: 200px;
}

.side-menu__item {
  border-top: 1px solid var(--color-border);
}

.side-menu__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.side-menu__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.side-menu__item a:hover {
  opacity: 0.6;
}

.side-menu__arrow {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 10px;
}

.side-menu__arrow::before,
.side-menu__arrow::after {
  content: "";
  position: absolute;
}

.side-menu__arrow::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
}

.side-menu__arrow::after {
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}

/* 下部固定CTA(sp-fixed-cta)と同じビジュアル言語(グラデーション・
   シマーアニメーション・アイコン・丸矢印)を、200px幅のレールに
   収まるよう縮小して流用している。 */
.side-menu__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 200px;
  margin-top: 0.5rem;
  padding: 0.7rem 1.6rem 0.7rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 50%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(19, 184, 106, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-menu__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(19, 184, 106, 0.34);
}

.side-menu__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: sp-cta-shimmer 3s infinite;
}

.side-menu__cta-text-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-menu__cta-sub {
  margin-bottom: 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.side-menu__cta-main {
  display: flex;
  align-items: center;
}

.side-menu__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

.side-menu__cta-icon svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.side-menu__cta-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.side-menu__cta-main-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.side-menu__cta-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.side-menu__cta-arrow svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   モバイル幅専用ヘッダー(PC/タブレット幅ではサイド装飾に役割を譲るため非表示)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: var(--frame-width);
  height: var(--header-height);
  background-color: rgba(253, 248, 240, 0);
  transform: translateX(-50%);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background-color: rgba(253, 248, 240, 0.92);
  box-shadow: 0 1px 0 var(--color-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .header {
    display: none;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.2rem;
}

.header__logo {
  font-weight: normal;
  line-height: 0;
}

.header__logo img {
  height: 16px;
  width: auto;
}

/* Kagawa-Bonsaiのheader.php構成を流用(言語切り替えのみ除外)。
   カート・ハンバーガーの2つを「header__icon」で揃えている。 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.header__icon--cart {
  position: relative;
}

.header__icon--cart img {
  width: 20px;
  height: auto;
}

.header__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.header__cart-count[hidden] {
  display: none;
}

.header__icon--menu {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header__icon--menu span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__icon--menu.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header__icon--menu.is-active span:nth-child(2) {
  opacity: 0;
}

.header__icon--menu.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   モバイル幅用メニュー(ドロワー)
   ========================================================================== */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(43, 33, 24, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 160;
  width: min(78vw, 320px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: calc(var(--header-height) + 1rem) 1.6rem 2rem;
  background-color: var(--color-bg);
  box-shadow: -10px 0 30px rgba(43, 33, 24, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 10px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background-color: var(--color-text);
}

.mobile-menu__close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu__list {
  list-style: none;
}

.mobile-menu__list li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__list a {
  display: block;
  padding: 1.1rem 0.2rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.mobile-menu__cta {
  flex-shrink: 0;
  width: 100%;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none;
  }
}

/* ==========================================================================
   FV(ファーストビュー)
   ========================================================================== */

/* 画面いっぱいに高さを合わせる(min-height:100vh)のではなく、
   「見出し・本文 → キャラクター」を配置したら、そこでFVは終わる
   コンテンツに合わせた可変の高さにしている。 */
.fv {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* 下の余白は次のセクションへの通常の間隔でよい(下部固定CTA分の
     余白は、実際にページ最後になっているセクション側で確保する)。 */
  padding: calc(var(--header-height) + 2.2rem) 1.6rem 2.5rem;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 900px) {
  .fv {
    padding-top: 4rem;
  }
}

.fv__blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(46px);
}

.fv__blob--1 {
  top: -70px;
  right: -90px;
  width: 280px;
  height: 280px;
  background-color: var(--color-accent-2);
  opacity: 0.45;
}

.fv__blob--2 {
  bottom: 90px;
  left: -110px;
  width: 240px;
  height: 240px;
  background-color: var(--color-accent);
  opacity: 0.3;
}

.fv__inner {
  max-width: 360px;
}

.fv__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.fv__title {
  margin-top: 1rem;
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

.fv__text {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.fv__characters {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fv__char {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 16px rgba(43, 33, 24, 0.18));
}

.fv__char--man {
  width: 38%;
  transform: translateX(6%);
}

.fv__char--woman {
  width: 36%;
  transform: translateX(-6%) translateY(2%);
}

.fv__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  z-index: 0;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-accent-2);
  opacity: 0.18;
  filter: blur(2px);
}

.fv__scroll {
  position: relative;
  margin: 1.4rem 0 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.fv__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
}

.fv__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  background-color: var(--color-text-sub);
  animation: fvScrollLine 1.8s ease-in-out infinite;
}

@keyframes fvScrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ==========================================================================
   画面下部に常に追従するCTA(参考: Kagawa-Bonsaiのsp-fixed-cta)
   ========================================================================== */

.sp-fixed-cta {
  display: block;
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 180;
  width: 100%;
  max-width: var(--frame-width);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* ハンバーガーメニューを開いている間は、ドロワーの後ろに隠す */
body.is-menu-open .sp-fixed-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
}

.sp-fixed-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 50%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(19, 184, 106, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sp-fixed-cta__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: sp-cta-shimmer 3s infinite;
}

@keyframes sp-cta-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.sp-fixed-cta__text-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-fixed-cta__sub {
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.9;
}

.sp-fixed-cta__main {
  display: flex;
  align-items: center;
}

.sp-fixed-cta__main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  margin-left: -7px;
}

.sp-fixed-cta__main-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.sp-fixed-cta__main-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sp-fixed-cta__arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.sp-fixed-cta__arrow svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   section-head(各セクション共通の見出しコンポーネント)
   ========================================================================== */

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.section-head__title {
  margin-top: 0.6rem;
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
}

/* ==========================================================================
   intro(Momentaryとは)
   大きなタイポグラフィと登場人物で、絵本になる体験を印象づける。
   ========================================================================== */

.intro {
  position: relative;
  padding: 0rem 1.6rem 4em;
  text-align: center;
}

.intro__lead {
  max-width: 320px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.intro__hero {
  width: min(100%, 330px);
  margin: 2rem auto 2.3rem;
}

.intro__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.intro__statement {
  position: relative;
  width: calc(100% + 3.2rem);
  margin: 3rem -1.6rem 0;
  padding: 42px 0 28px;
  overflow: hidden;
  text-align: left;
}

.intro__statement-copy {
  position: relative;
  z-index: 2;
  margin: 0 1.6rem 24px;
  color: var(--color-accent);
  font-size: clamp(17px, 4.7vw, 22px);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: left;
}

.intro__statement-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0 1.6rem;
  color: var(--color-accent);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 13vw, 58px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.intro__statement-main span {
  display: block;
  white-space: nowrap;
}

.intro__statement-oji {
  position: absolute;
  top: 0;
  right: 1.6rem;
  z-index: 3;
  width: 92px;
  height: auto;
  transform: rotate(4deg);
  filter: drop-shadow(0 9px 9px rgba(43, 33, 24, 0.08));
}

.section-cta {
  margin: 2.4rem auto 0;
}

/* ==========================================================================
   lineup(作品一覧)
   表紙の後ろから中のページが少し覗いているような重なり表現で、
   「本の中を覗いている」感覚を出している。
   ========================================================================== */

.lineup {
  position: relative;
  padding: 4rem 1.6rem;
  background-color: var(--color-bg-soft);
  text-align: center;
}

.lineup__stack {
  position: relative;
  width: 100%;
  max-width: 230px;
  height: 300px;
  margin: 0 auto;
}

.lineup__stack-page {
  position: absolute;
  width: 150px;
  aspect-ratio: 379.84 / 549.92;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(43, 33, 24, 0.2);
}

.lineup__stack-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lineup__stack-page--1 {
  top: 30px;
  left: -55px;
  z-index: 1;
  transform: rotate(-13deg);
}

.lineup__stack-page--2 {
  top: 30px;
  right: -55px;
  z-index: 1;
  transform: rotate(13deg);
}

.lineup__stack-cover {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 176px;
  aspect-ratio: 379.93 / 549.92;
  border: 4px solid #fff;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(43, 33, 24, 0.3);
  transform: translateX(-50%);
}

.lineup__stack-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup__info {
  margin-top: 1.6rem;
}

.lineup__info + .lineup__stack {
  margin-top: 4.8rem;
}

.lineup__vol {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.lineup__title {
  margin-top: 0.4rem;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-text);
}

.lineup__subtitle {
  margin-top: 0.35rem;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lineup__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.7rem;
  color: var(--color-text);
}

.lineup__price span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lineup__price strong {
  color: var(--color-accent-2);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lineup__price small {
  margin-left: 0.15rem;
  color: var(--color-text-sub);
  font-size: 0.62rem;
  font-weight: 600;
}

.lineup__text {
  max-width: 320px;
  margin: 0.7rem auto 0;
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--color-text-sub);
}

.story-preview {
  width: min(100%, 560px);
  margin: 2.4rem auto 0;
}

.story-preview__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: min(620px, 100%);
  margin: 0 auto 0.8rem;
  padding: 0 0.2rem;
}

.story-preview__eyebrow {
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.story-preview__guide {
  color: var(--color-text-sub);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.story-preview__viewport {
  position: relative;
  padding: 2.2rem 0 2.5rem;
  border: 1px solid rgba(43, 33, 24, 0.08);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.92) 0 8%, transparent 8.5%),
    radial-gradient(circle at 88% 82%, rgba(224, 195, 160, 0.2) 0 11%, transparent 11.5%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 42%),
    repeating-linear-gradient(7deg, rgba(43, 33, 24, 0.018) 0 1px, transparent 1px 6px),
    #e9e6dc;
  box-shadow: 0 20px 50px rgba(43, 33, 24, 0.1);
  overflow: hidden;
  perspective: 1800px;
}

.story-preview__viewport::before,
.story-preview__viewport::after {
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.story-preview__viewport::before {
  top: -25px;
  left: -18px;
  width: 112px;
  height: 112px;
  background-image: url("../images/illust/hoshi.svg");
  transform: rotate(-16deg);
}

.story-preview__viewport::after {
  right: -25px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background-image: url("../images/illust/oukan.svg");
  transform: rotate(15deg);
}

.story-preview__book {
  position: relative;
  z-index: 1;
  width: 80%;
  aspect-ratio: 759.68 / 549.92;
  margin: 0 auto;
  border-radius: 4px 8px 8px 4px;
  background: #f8f5ec;
  box-shadow:
    0 24px 26px -16px rgba(43, 33, 24, 0.38),
    0 4px 6px rgba(43, 33, 24, 0.18);
  transform: rotateX(1.5deg);
  transform-style: preserve-3d;
}

.story-preview__book::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 12px;
  background: linear-gradient(90deg, rgba(43, 33, 24, 0.16), rgba(255, 255, 255, 0.3) 45%, rgba(43, 33, 24, 0.12));
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.story-preview__book.is-cover::before {
  opacity: 0;
}

.story-preview__book.is-cover {
  background: transparent;
  box-shadow: none;
}

.story-preview__book.is-opening-cover,
.story-preview__book.is-closing-cover {
  background: transparent;
  box-shadow: none;
}

.story-preview__book.is-opening-cover::before,
.story-preview__book.is-closing-cover::before {
  opacity: 0;
}

.story-preview__base {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-preview__book.is-cover .story-preview__base {
  opacity: 0;
}

.story-preview__page,
.story-preview__sheet-face {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.story-preview__page--left {
  border-radius: 4px 0 0 4px;
  box-shadow: inset -14px 0 20px -18px rgba(43, 33, 24, 0.65);
}

.story-preview__page--right {
  border-radius: 0 4px 4px 0;
  box-shadow: inset 14px 0 20px -18px rgba(43, 33, 24, 0.65);
}

.story-preview__page.is-concealed {
  visibility: hidden;
}

.story-preview__page svg,
.story-preview__sheet-face svg,
.story-preview__cover-face svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 22ページのように本文が白抜き文字のページは、名前も白で表示する。 */
.story-preview .text-slot--light {
  fill: #fff;
}

.story-preview__cover-page {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 50%;
  height: 100%;
  border-radius: 3px 7px 7px 3px;
  background: #fff;
  box-shadow:
    0 20px 24px -14px rgba(43, 33, 24, 0.42),
    4px 3px 8px rgba(43, 33, 24, 0.18);
  transform-origin: left center;
  transform-style: preserve-3d;
}

.story-preview__cover-page[hidden] {
  display: none;
}

.story-preview__cover-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden;
}

.story-preview__cover-front {
  z-index: 1;
}

.story-preview__cover-back {
  background:
    linear-gradient(90deg, rgba(43, 33, 24, 0.08), transparent 12%),
    #faf8f2;
  transform: rotateY(180deg);
}

.story-preview__cover-page.is-opening {
  animation: story-preview-cover-open 1.08s cubic-bezier(0.24, 0.7, 0.18, 1) both;
}

.story-preview__cover-page.is-closing {
  animation: story-preview-cover-close 1.08s cubic-bezier(0.24, 0.7, 0.18, 1) both;
}

@keyframes story-preview-cover-open {
  0% {
    left: 50%;
    transform: rotateY(0deg);
  }

  100% {
    left: 50%;
    transform: rotateY(-180deg);
  }
}

@keyframes story-preview-cover-close {
  0% {
    left: 50%;
    transform: rotateY(-180deg);
  }

  100% {
    left: 50%;
    transform: rotateY(0deg);
  }
}

.story-preview__sheet {
  position: absolute;
  top: 0;
  z-index: 3;
  width: 50%;
  height: 100%;
  transition: transform 0.92s cubic-bezier(0.22, 0.68, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.story-preview__sheet[hidden] {
  display: none;
}

.story-preview__sheet--next {
  left: 50%;
  transform-origin: left center;
}

.story-preview__sheet--prev {
  left: 0;
  transform-origin: right center;
}

.story-preview__sheet--next.is-active {
  transform: rotateY(-180deg);
}

.story-preview__sheet--prev.is-active {
  transform: rotateY(180deg);
}

.story-preview__sheet-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.story-preview__sheet-front {
  box-shadow: inset 14px 0 20px -18px rgba(43, 33, 24, 0.72), 12px 4px 16px rgba(43, 33, 24, 0.2);
}

.story-preview__sheet-back {
  box-shadow: inset -14px 0 20px -18px rgba(43, 33, 24, 0.72), -12px 4px 16px rgba(43, 33, 24, 0.2);
  transform: rotateY(180deg);
}

.story-preview__tap {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.story-preview__tap--prev {
  left: 0;
  cursor: w-resize;
}

.story-preview__tap--next {
  right: 0;
  cursor: e-resize;
}

.story-preview__tap:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 5px;
}

.story-preview__tap:disabled {
  cursor: default;
}

.story-preview__loading {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 6;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-sub);
  font-size: 0.72rem;
  transform: translate(-50%, -50%);
}

.story-preview__controls {
  display: grid;
  grid-template-columns: 38px auto minmax(76px, auto) 38px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.story-preview__control {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(19, 184, 106, 0.35);
  border-radius: 50%;
  background: #fff;
  color: var(--color-accent);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  place-items: center;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.story-preview__control:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.story-preview__control:disabled {
  border-color: rgba(43, 33, 24, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(43, 33, 24, 0.28);
  cursor: default;
  transform: none;
}

.story-preview__progress {
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-preview__progress span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(19, 184, 106, 0.25);
  transition: width 0.25s ease, border-radius 0.25s ease, background-color 0.25s ease;
}

.story-preview__progress span.is-current {
  width: 14px;
  border-radius: 999px;
  background: var(--color-accent);
}

.story-preview__status {
  color: var(--color-text-sub);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .story-preview {
    width: 100%;
  }

  .story-preview__heading {
    display: block;
    text-align: left;
  }

  .story-preview__guide {
    margin-top: 0.2rem;
    font-size: 0.62rem;
  }

  .story-preview__viewport {
    padding: 1.5rem 0 1.8rem;
  }

  .story-preview__book {
    width: 86%;
    box-shadow:
      0 18px 20px -14px rgba(43, 33, 24, 0.38),
      0 3px 5px rgba(43, 33, 24, 0.15);
  }

  .story-preview__controls {
    grid-template-columns: 34px auto minmax(68px, auto) 34px;
    gap: 0.5rem;
  }

  .story-preview__control {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-preview__sheet,
  .story-preview__control,
  .story-preview__progress span {
    transition: none;
  }
}

.lineup__coming-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 160px));
  justify-content: center;
  gap: 18px;
  margin-top: 3.2rem;
}

.lineup__coming-item {
  min-width: 0;
}

.lineup__coming-cover {
  position: relative;
  aspect-ratio: 379.93 / 549.92;
  margin-bottom: 15px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(25, 75, 54, 0.14);
}

.lineup__coming-cover::before,
.lineup__coming-cover::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.lineup__coming-cover::before {
  top: -30px;
  right: -34px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.54);
}

.lineup__coming-cover::after {
  bottom: -42px;
  left: -34px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.34);
}

.lineup__coming-cover--berry {
  background: linear-gradient(155deg, #f4d8cf 0%, #efbcae 100%);
}

.lineup__coming-cover--sky {
  background: linear-gradient(155deg, #d7e8df 0%, #b8d8ca 100%);
}

.lineup__coming-cover--image {
  aspect-ratio: 1 / 1;
  border-width: 3px;
  background: #fff;
}

.lineup__coming-cover--image::before,
.lineup__coming-cover--image::after {
  display: none;
}

.lineup__coming-cover--image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup__coming-cover--image .lineup__coming-badge {
  right: auto;
  left: 10px;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(25, 75, 54, 0.78);
  backdrop-filter: blur(4px);
}

.lineup__coming-badge {
  position: absolute;
  top: 15px;
  right: 10px;
  left: 10px;
  z-index: 3;
  color: var(--color-text);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.lineup__coming-number {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  transform: translate(-52%, -45%);
}

.lineup__coming-item .lineup__vol {
  margin-top: 0;
}

.lineup__coming-title {
  margin-top: 3px;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lineup__coming-copy {
  margin-top: 8px;
  color: var(--color-text-sub);
  font-size: 11px;
  line-height: 1.7;
}

.lineup__note {
  margin-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--color-text-sub);
}

.gift-card-guide {
  position: relative;
  padding: 4.5rem 1.35rem;
  overflow: hidden;
  background: #f8f2d9;
  text-align: center;
}

.gift-card-guide__visual {
  width: min(100%, 350px);
  margin: 2.2rem auto 0;
}

.gift-card-guide__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.gift-card-guide__lead {
  margin: 2rem auto 0;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.gift-card-guide__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2rem auto 0;
  list-style: none;
}

.gift-card-guide__features li {
  min-width: 0;
  padding: 18px 5px 15px;
  border: 1px solid rgba(25, 75, 54, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(25, 75, 54, 0.07);
}

.gift-card-guide__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.gift-card-guide__icon img {
  display: block;
  width: 44px;
  height: 44px;
}

.gift-card-guide__features strong,
.gift-card-guide__features small {
  display: block;
}

.gift-card-guide__features strong {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.6;
}

.gift-card-guide__features small {
  margin-top: 3px;
  color: var(--color-text-sub);
  font-size: 9px;
  line-height: 1.55;
}

.order-flow {
  position: relative;
  padding: 4.5rem 1.6rem;
  background: #edf2ea;
  text-align: center;
}

.order-flow__list {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 360px;
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.order-flow__list::before {
  position: absolute;
  top: 46px;
  bottom: 46px;
  left: 37px;
  z-index: 0;
  border-left: 2px dotted rgba(19, 184, 106, 0.28);
  content: "";
}

.order-flow__list li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 104px;
  padding: 17px 18px 17px 14px;
  border: 1px solid rgba(25, 75, 54, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(25, 75, 54, 0.055);
}

.order-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
}

.order-flow__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.order-flow__list h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.order-flow__list p {
  margin: 5px 0 0;
  color: var(--color-text-sub);
  font-size: 11px;
  line-height: 1.75;
}

.link-arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 10px;
  margin-left: 10px;
  vertical-align: middle;
}

.link-arrow::before,
.link-arrow::after {
  content: "";
  position: absolute;
  background-color: var(--color-accent);
}

.link-arrow::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.link-arrow::after {
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  background: none;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  transform: translate(-1px, -50%) rotate(45deg);
}

.section-link {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding-bottom: 8px;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  font-weight: 600;
  margin: 0 auto;
  width: fit-content;
}

/* ==========================================================================
   blog（Kagawa-BonsaiのUIをそのまま移植）
   ========================================================================== */

.blog {
  padding: 88px 24px 96px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.blog__list {
  margin-bottom: 24px;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.blog__item {
  border-bottom: 1px solid var(--color-border);
}

.blog__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  transition: opacity 0.2s ease;
}

.blog__link:hover {
  opacity: 0.65;
}

.blog__thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background-color: #e7e1d3;
}

.blog__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__content {
  flex: 1;
  min-width: 0;
}

.blog__date {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.blog__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: var(--color-text);
}

/* ==========================================================================
   faq（Kagawa-BonsaiのUIをそのまま移植）
   ========================================================================== */

.faq {
  padding: 88px 24px 96px;
  border-top: 1px solid var(--color-border);
}

.faq__list {
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 2px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  color: var(--color-text);
  cursor: pointer;
}

.faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  background-color: var(--color-accent);
}

.faq__toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq__toggle::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  transition: opacity 0.25s ease;
}

.faq__item.is-open .faq__toggle::after {
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 2px 20px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: var(--color-text-sub);
}

/* ==========================================================================
   footer（Kagawa-BonsaiのUIをそのまま移植）
   ========================================================================== */

.footer {
  padding: 64px 24px 100px;
  background-color: var(--color-text);
  color: var(--color-bg);
  text-align: center;
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo {
  width: auto;
  height: 24px;
  margin: 0 auto 44px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 40px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.footer__nav-list a {
  color: var(--color-bg);
  opacity: 0.85;
}

.footer__sns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  list-style: none;
}

.footer__sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(253, 248, 240, 0.25);
  border-radius: 50%;
}

.footer__sns img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(253, 248, 240, 0.15);
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.footer__legal a {
  color: var(--color-bg);
  opacity: 0.6;
}

.footer__copyright {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.45;
}

/* 公開レビュー（既存の手動調整を保つため追加定義はファイル末尾に集約） */
.reviews {
  padding: 88px 24px 96px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.reviews__list {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.reviews__item {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-bg);
}

.reviews__stars {
  margin-bottom: 10px;
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.reviews__body {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.9;
}

.reviews__name,
.reviews__empty {
  color: var(--color-text-sub);
  font-size: 12px;
}

@media (min-width: 700px) {
  .reviews__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Find Fun Friends inspired preview
   design/find-fun-friends-inspired ブランチ専用のFV・サイドレール。
   ========================================================================== */

body {
  background-color: #f4f1e8;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(25, 75, 54, 0.035) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 67%, rgba(25, 75, 54, 0.025) 0 1px, transparent 1.3px);
  background-size: 19px 19px, 27px 27px;
}

.site {
  background-color: rgba(244, 241, 232, 0.96);
}

.header.is-scrolled {
  background-color: rgba(244, 241, 232, 0.92);
}

.fv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding: calc(var(--header-height) + 20px) 18px 18px;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 35%, rgba(19, 184, 106, 0.055) 0 1px, transparent 1.3px),
    radial-gradient(circle at 83% 72%, rgba(25, 75, 54, 0.04) 0 1px, transparent 1.3px);
  background-size: 21px 21px, 29px 29px;
}

.fv::before,
.fv::after {
  position: absolute;
  z-index: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  content: "〃〃";
  opacity: 0.55;
}

.fv::before {
  top: 150px;
  left: 22px;
  transform: rotate(-12deg);
}

.fv::after {
  right: 20px;
  bottom: 118px;
  transform: rotate(15deg);
}

.fv__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  text-align: center;
}

.fv__collab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.fv__collab span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-text);
}

.fv__collab b {
  font-size: 12px;
}

.fv__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: var(--color-accent);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(54px, 15vw, 72px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.fv__title span {
  display: block;
  white-space: nowrap;
}

.fv__text {
  margin: 22px 0 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.8;
}

.fv__characters {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-top: 14px;
}

.fv__char {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 16px rgba(43, 33, 24, 0.18));
}

.fv__char--man {
  width: 38%;
  transform: translateX(6%);
}

.fv__char--woman {
  width: 36%;
  transform: translateX(-6%) translateY(2%);
}

.fv__ground {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  z-index: 0;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-accent-2);
  opacity: 0.18;
  filter: blur(2px);
}

.fv__side-copy {
  position: absolute;
  top: 270px;
  right: 7px;
  z-index: 6;
  margin: 0;
  color: var(--color-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  writing-mode: vertical-rl;
}

.fv__scroll {
  position: relative;
  inset: auto;
  z-index: 7;
  margin: 18px auto 0;
}

.fv-gallery {
  width: 100%;
  padding: 8px 0 18px;
  overflow: hidden;
  background: var(--color-bg);
}

.fv-gallery__track {
  display: flex;
  width: max-content;
  animation: fv-gallery-flow 26s linear infinite;
  will-change: transform;
}

.fv-gallery__group {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding-right: 8px;
}

.fv-gallery figure {
  width: clamp(138px, 36vw, 176px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-soft);
}

.fv-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-gallery + .intro {
  padding-top: 2.5rem;
}

@keyframes fv-gallery-flow {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-gallery__track {
    animation-play-state: paused;
  }
}

.mobile-lineup {
  padding: 58px 22px 64px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.mobile-lineup__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.mobile-lineup__heading h2 {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mobile-lineup__heading > span:last-child {
  width: 52px;
  height: 1px;
  background: var(--color-accent);
}

.mobile-lineup__mark {
  color: #f1873d;
  font-size: 22px;
}

.mobile-lineup__cards {
  display: grid;
  grid-template-columns: minmax(0, 210px);
  justify-content: center;
}

.mobile-lineup__cards a {
  min-width: 0;
  color: var(--color-text);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.mobile-lineup__cards strong,
.rail-lineup__card strong {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.mobile-lineup__cards img {
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  margin-bottom: 7px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(25, 75, 54, 0.11);
}

.mobile-lineup__button,
.rail-lineup__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-height: 44px;
  border-radius: 6px;
  color: #fff;
  background: var(--color-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.mobile-lineup__button {
  margin: 26px auto 0;
}

.mobile-lineup__button span,
.rail-lineup__button span {
  margin-left: 9px;
}

.rail-lineup,
.right-rail-art {
  display: none;
}

@media (min-width: 900px) {
  :root {
    --side-deco-width: 360px;
  }

  .mobile-lineup {
    display: none;
  }

  .side-deco--left {
    justify-content: center;
  }

  .rail-lineup {
    display: block;
    width: min(300px, calc(100% - 28px));
  }

  .rail-lineup__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--color-accent);
  }

  .rail-lineup__heading p {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.025em;
  }

  .rail-lineup__cards {
    display: grid;
    grid-template-columns: minmax(0, 180px);
    justify-content: center;
  }

  .rail-lineup__card {
    min-width: 0;
    color: var(--color-text);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
  }

  .rail-lineup__card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(25, 75, 54, 0.1);
    transition: transform 0.25s ease;
  }

  .rail-lineup__card:hover img {
    transform: translateY(-4px);
  }

  .rail-lineup__button {
    margin: 26px auto 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .rail-lineup__button span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-3px);
  }

  .rail-lineup__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(19, 184, 106, 0.24);
  }

  .rail-lineup,
  .side-menu,
  .side-deco > .side-menu__cta {
    position: relative;
    z-index: 2;
  }

  .rail-sprinkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }

  .rail-sprinkles img {
    position: absolute;
    height: auto;
    filter: drop-shadow(0 8px 8px rgba(43, 33, 24, 0.08));
  }

  .rail-sprinkles--left img:nth-child(1) {
    top: 5%;
    left: 5%;
    width: 60px;
    transform: rotate(-12deg);
  }

  .rail-sprinkles--left img:nth-child(2) {
    top: 20%;
    right: 4%;
    width: 42px;
    transform: rotate(14deg);
  }

  .rail-sprinkles--left img:nth-child(3) {
    bottom: 22%;
    left: 7%;
    width: 54px;
    transform: rotate(10deg);
  }

  .rail-sprinkles--left img:nth-child(4) {
    right: 7%;
    bottom: 5%;
    width: 68px;
    transform: rotate(-10deg);
  }

  .rail-sprinkles--left img:nth-child(5) {
    top: 43%;
    left: 1%;
    width: 52px;
    transform: rotate(-15deg);
  }

  .side-deco--right {
    position: sticky;
  }

  .rail-sprinkles--right img:nth-child(1) {
    top: 20px;
    right: 18px;
    width: 54px;
    transform: rotate(11deg);
  }

  .rail-sprinkles--right img:nth-child(2) {
    top: 76px;
    left: 18px;
    width: 48px;
    transform: rotate(-9deg);
  }

  .rail-sprinkles--right img:nth-child(3) {
    bottom: 20px;
    left: 18px;
    width: 60px;
    transform: rotate(-11deg);
  }

  .rail-sprinkles--right .rail-sprinkles__oji {
    display: none;
    right: 14px;
    bottom: 30px;
    width: 102px;
    transform: rotate(4deg);
  }
}

@media (max-width: 390px) {
  .fv {
    min-height: 0;
  }

  .fv__title {
    font-size: 50px;
  }

}

/* ==========================================================================
   スマホ専用の絵本イラスト装飾
   PCサイドレールで使っている素材を、見出しや文章の余白へ散りばめる。
   ========================================================================== */
@media (max-width: 899px) {
  .section-head {
    position: relative;
    isolation: isolate;
  }

  .section-head::before,
  .section-head::after {
    position: absolute;
    z-index: -1;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    pointer-events: none;
    filter: drop-shadow(0 5px 5px rgba(43, 33, 24, 0.08));
  }

  .section-head::before {
    top: -8px;
    left: -13px;
    width: 38px;
    height: 38px;
    background-image: url("/assets/images/illust/hoshi.svg");
    transform: rotate(-13deg);
  }

  .section-head::after {
    right: -12px;
    bottom: -9px;
    width: 42px;
    height: 42px;
    background-image: url("/assets/images/illust/ichigo.svg");
    transform: rotate(11deg);
  }

  .intro__lead,
  .lineup__info,
  .gift-card-guide__lead,
  .order-flow__list,
  .reviews__list,
  .blog__list,
  .faq__list {
    position: relative;
  }

  .intro__lead::after,
  .lineup__info::after,
  .gift-card-guide__lead::after,
  .order-flow__list::after,
  .reviews__list::after,
  .blog__list::after,
  .faq__list::after {
    position: absolute;
    z-index: 0;
    display: block;
    width: 46px;
    height: 46px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    pointer-events: none;
    filter: drop-shadow(0 6px 6px rgba(43, 33, 24, 0.08));
  }

  .intro__lead::after {
    top: -50px;
    right: -13px;
    background-image: url("/assets/images/illust/cake.svg");
    transform: rotate(10deg);
  }

  .lineup__info::after {
    right: -18px;
    bottom: -34px;
    width: 52px;
    height: 52px;
    background-image: url("/assets/images/illust/oukan.svg");
    transform: rotate(12deg);
  }

  .gift-card-guide__lead::after {
    top: -42px;
    left: -13px;
    width: 50px;
    height: 50px;
    background-image: url("/assets/images/illust/pan.svg");
    transform: rotate(-12deg);
  }

  .order-flow__list::after {
    right: -15px;
    bottom: -26px;
    background-image: url("/assets/images/illust/onigiri.svg");
    transform: rotate(9deg);
  }

  .reviews__list::after {
    top: -32px;
    right: -12px;
    background-image: url("/assets/images/illust/icecream.svg");
    transform: rotate(12deg);
  }

  .blog__list::after {
    right: -13px;
    bottom: -36px;
    background-image: url("/assets/images/illust/bin.svg");
    transform: rotate(-8deg);
  }

  .faq__list::after {
    bottom: -36px;
    left: -13px;
    width: 50px;
    height: 50px;
    background-image: url("/assets/images/illust/oukan.svg");
    transform: rotate(-13deg);
  }
}
