@charset "UTF-8";

/* =========================================================
   まんが制作処 茶々丸。 TOP（紺の和デザイン案）
   - PC/SP 共通の1カラム（最大800px）
   - PC左右の余白は .page-bg、LINE固定導線は1200px以上でパネル／未満は下部バー
   ========================================================= */

:root {
  --base: #F3EBDD;     /* 生成り */
  --paper: #FAF6EE;    /* 生成り（明） */
  --gold: #C9A86A;     /* 金 */
  --beni: #B94047;     /* 紅 */
  --matcha: #5B7553;   /* 抹茶 */
  --kon: #1E2A4A;      /* 紺 */
  --kon-sub: #5A6178;
  --ph: #E4D9C5;       /* 画像プレースホルダー */
  --side: #DADCCB;     /* PC左右の余白 */

  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --mincho-logo: "Shippori Mincho B1", var(--mincho);
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --site-w: 800px;
  --pad-x: 28px;
  --pad-y: 80px;
  --corner: 300px;
}

@media (min-width: 801px) {
  :root {
    --pad-x: 96px;
    --pad-y: 112px;
    --corner: 460px;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

body {
  font-family: var(--gothic);
  font-size: 14px;
  line-height: 1.9;
  color: var(--kon);
  background: var(--side);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Page frame ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* 漫画のコラージュ（ベールは画像に入っている）。画像の中央の空き部分と同じ色を下地にする */
  background: var(--side) url("../../assets/bg-collage.webp") center / cover no-repeat;
}
@media (max-width: 800px) {
  .page-bg { display: none; }
}

.site {
  max-width: var(--site-w);
  margin: 0 auto;
  background: var(--base);
  /* hidden だとヘッダーの sticky が効かなくなるので clip にする（はみ出しを切り取る点は同じ） */
  overflow: clip;
}
@media (min-width: 801px) {
  .site { box-shadow: 0 0 24px rgba(30, 42, 74, .08); }
}

/* ---------- Placeholder ---------- */
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--ph);
  color: var(--kon-sub);
  font-size: 12px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 3px;
  background: var(--beni);
  color: var(--base);
  font-family: var(--mincho-logo);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
}
.logo__text {
  font-family: var(--mincho-logo);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
}
.logo--light .logo__text { color: var(--base); }
@media (min-width: 801px) {
  .logo__mark { width: 31px; height: 31px; }
  .logo__text { font-size: 15px; }
}

/* ---------- Header ---------- */
.header {
  /* スクロールしても画面上部に固定 */
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  background: var(--base);
  box-shadow: 0 1px 8px rgba(30, 42, 74, .08);
}
.menu-btn {
  position: relative;
  width: 28px; height: 28px;
}
.menu-btn span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.4px;
  background: var(--kon);
}
.menu-btn span:first-child { top: 10px; }
.menu-btn span:last-child { top: 18px; }

/* ---------- Common parts ---------- */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.section > *:not(.corner) { position: relative; z-index: 1; }

.label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .4em;
  color: var(--gold);
}
.vline {
  display: block;
  width: 1px; height: 28px;
  margin: 24px auto;
  background: var(--gold);
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.heading__num {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--gold);
}
.heading__num::after {
  content: "";
  display: block;
  width: 1px; height: 28px;
  margin: 10px auto 0;
  background: var(--gold);
}
.heading__title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .1em;
  line-height: 1.5;
}
.heading__en {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .4em;
  color: var(--gold);
}
@media (min-width: 801px) {
  .heading__title { font-size: 32px; }
}

/* 麻の葉の角あしらい（中央に向かってフェード） */
.corner {
  position: absolute;
  z-index: 0;
  width: var(--corner);
  height: var(--corner);
  background: url("../../assets/asanoha.svg") 0 0 / 28px auto;
  opacity: .7;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
  pointer-events: none;
}
.corner--tl { top: calc(var(--corner) / -2); left: calc(var(--corner) / -2); }
.corner--tr { top: calc(var(--corner) / -2); right: calc(var(--corner) / -2); }
.corner--bl { bottom: calc(var(--corner) / -2); left: calc(var(--corner) / -2); }
.corner--br { bottom: calc(var(--corner) / -2); right: calc(var(--corner) / -2); }

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  transition: background-color .3s, color .3s, opacity .3s;
}
.btn::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width .3s;
}
.btn:hover::after { width: 26px; }
.btn--line { background: var(--matcha); color: var(--base); }
.btn--line:hover { opacity: .88; }
.btn--outline { border: 1px solid var(--kon); color: var(--kon); }
.btn--outline:hover { background: var(--kon); color: var(--base); }
.btn--sm { padding: 12px 24px; font-size: 13px; gap: 10px; }

/* ---------- 1. MV ---------- */
.mv {
  padding-bottom: 56px;
  background: var(--kon);
}
.slider { position: relative; }
.slider__viewport { overflow: hidden; touch-action: pan-y; }
.slider__track {
  display: flex;
  gap: 0;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 100%;
  transition: opacity .6s;
}
.slider__slide img,
.slider__slide .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* PC：大きな矢印（前後のスライドの上） */
.slider__arrow {
  display: none;
  position: absolute;
  top: calc(40px + 650px / 2);
  width: 48px; height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  background: rgba(243, 235, 221, .9);
  transition: background-color .3s;
}
.slider__arrow::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-top: 1.5px solid var(--kon);
  border-right: 1.5px solid var(--kon);
  transition: border-color .3s;
}
.slider__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.slider__arrow:hover { background: var(--gold); }
.slider__arrow:hover::before { border-color: var(--base); }

/* インジケーター＋SP用の小さな矢印 */
.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider__dots { display: flex; align-items: center; gap: 8px; }
.slider__dot {
  width: 16px; height: 18px;
  position: relative;
}
.slider__dot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 2px;
  background: var(--kon-sub);
  transition: background-color .3s;
}
.slider__dot.is-active { width: 32px; }
.slider__dot.is-active::before { background: var(--gold); }
.slider__mini {
  position: relative;
  width: 28px; height: 28px;
}
.slider__mini::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-top: 1.2px solid var(--gold);
  border-right: 1.2px solid var(--gold);
}
.slider__mini--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider__mini--next::before { transform: translate(-70%, -50%) rotate(45deg); }

.mv__catch { margin-top: 24px; padding: 0 var(--pad-x); text-align: center; }
.mv__title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: .12em;
  color: var(--base);
}
.mv__brand {
  margin-top: 16px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
}

@media (min-width: 801px) {
  .mv { padding-top: 40px; padding-bottom: 72px; }
  .slider__track { gap: 28px; }
  .slider__slide { flex-basis: 520px; opacity: .35; }
  .slider__slide.is-active { opacity: 1; }
  .slider__arrow { display: block; top: 325px; }
  .slider__arrow--prev { left: calc((100% - 520px) / 4 - 24px); }
  .slider__arrow--next { right: calc((100% - 520px) / 4 - 24px); }
  .slider__mini { display: none; }
  .mv__title { font-size: 40px; }
}

/* ---------- 2. MESSAGE（和紙＋麻の葉） ---------- */
.message { background: var(--base); }
.message::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../../assets/washi.webp") center / cover;
  mix-blend-mode: multiply;
  opacity: .7;
}
.message .corner { z-index: 0; }
.message__title {
  margin-top: 28px;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: .08em;
}
.message__chara {
  width: 180px;
  height: auto;
  margin: 28px auto 0;
}
.message__text {
  margin-top: 28px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .04em;
}
.uses {
  display: inline-flex;
  margin-top: 28px;
  border: 1px solid var(--gold);
}
.uses li {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
}
.uses li + li { border-left: 1px solid var(--gold); }
.message__note {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--kon-sub);
}
@media (min-width: 801px) {
  .message__title { font-size: 28px; }
  .message__chara { width: 220px; }
  .message__text { font-size: 16px; }
  .uses li { padding: 10px 22px; }
}

/* ---------- 3. Works & Voice ---------- */
.works { background: var(--paper); }
.works__list {
  display: grid;
  gap: 40px;
  justify-content: center;
  grid-template-columns: minmax(0, 480px);
}
.card {
  background: var(--base);
  text-align: left;
  box-shadow: 0 8px 24px rgba(30, 42, 74, .06);
}
/* 画像部分がモーダルを開くボタン */
.card__img {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 12px 0;
}
.card__img .ph,
.card__img img { transition: opacity .3s; }
.card__img:hover .ph,
.card__img:hover img { opacity: .85; }
/* 複数ページの作品につく「続きへ」の案内（JSで追加） */
.card__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.6;
  color: var(--kon-sub);
  transition: color .3s;
}
.card__hint::after {
  content: "";
  width: 18px; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.card__img:hover .card__hint { color: var(--kon); }
.card__img:hover .card__hint::after { width: 26px; }
.card__hint-click { display: none; }
/* マウス操作の端末（PC）は「クリック」に */
@media (hover: hover) and (pointer: fine) {
  .card__hint-tap { display: none; }
  .card__hint-click { display: inline; }
}

/* 複数ページの作品につくバッジ（JSで追加） */
.card__badge {
  position: absolute;
  top: 24px; right: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: rgba(30, 42, 74, .78);
  color: var(--base);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 28px;
}
.card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.5;
  color: var(--beni);
}
.card__tag::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--beni);
}
.card__title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: .04em;
}
.voice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
}
/* 顔写真はABOUTの写真と同じくらいの大きさ、名前は写真の横 */
.voice__who { display: flex; align-items: center; gap: 14px; }
.voice__photo {
  flex: 0 0 auto;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--ph) center / cover;
}
.voice__name { font-size: 13px; font-weight: 700; line-height: 1.5; }
.voice__role { font-size: 11px; line-height: 1.5; color: var(--kon-sub); }
.voice__text {
  font-size: 13px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.voice.is-open .voice__text { -webkit-line-clamp: unset; }
.voice__more {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--matcha);
}
.voice__more::after { content: "　＋"; }
.voice.is-open .voice__more::after { content: "　－"; }

/* ---------- 4/7. LINE CTA ---------- */
.cta--dark { background: var(--kon); }
.cta--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../../assets/shippo.svg") 0 0 / 44px 44px;
  opacity: .14;
}
.cta--light { background: var(--base); }
.cta { --pad-y: 72px; }
.cta__copy {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: .06em;
}
.cta--dark .cta__copy { color: var(--base); }
.cta__sub {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: .06em;
}
.cta--dark .cta__sub { color: var(--gold); }
.cta--light .cta__sub { color: var(--kon-sub); }
.cta .btn-row { margin-top: 24px; }

/* LINEボタンの上の辺に手をかけて、ひょっこりのぞくキャラクター
   画像の下端（指先）をボタンの上端にそろえ、ボタンを机の天板に見立てる */
.peek-wrap { position: relative; display: inline-block; }
.btn-peek {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 3px); /* 指先がボタンに少しかかる */
  width: 110px;
  height: auto;
  pointer-events: none;
}
/* キャラの高さ分、ボタンの上に余白をとる */
.cta .btn-row--peek { margin-top: 72px; }
@media (min-width: 801px) {
  .btn-peek { width: 120px; }
  .cta .btn-row--peek { margin-top: 76px; }
}
/* 「LINEからどうぞ」の下に小さくお辞儀のキャラクター */
.cta__chara {
  width: 80px;
  height: auto;
  margin: 16px auto 0;
}
.cta__chara + .btn-row { margin-top: 12px; }
@media (min-width: 801px) {
  .cta { --pad-y: 96px; }
  .cta--dark::before { background-size: 56px 56px; }
  .cta__copy { font-size: 24px; }
}

/* ---------- 5. ABOUT ---------- */
/* 漫画のコマを薄く敷いた背景（画像自体が薄く加工済み） */
.about { background: var(--base) url("../../assets/bg-about.webp") center / cover no-repeat; }
.about__photo {
  position: relative;
  width: 152px; height: 152px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.about__photo img {
  position: absolute;
  top: 7px; left: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--ph);
}
.about__name {
  margin-top: 28px;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .1em;
  line-height: 1.5;
}
.about__text {
  margin-top: 28px;
  text-align: left;
  line-height: 2.1;
  letter-spacing: .02em;
}
.about .btn-row { margin-top: 28px; }
@media (max-width: 800px) {
  .about .btn-row { flex-direction: column; align-items: center; }
}
@media (min-width: 801px) {
  .about__text { max-width: 34em; margin-inline: auto; text-align: center; text-wrap: pretty; }
}

/* ---------- 6. FLOW ---------- */
.flow { background: var(--paper); }
/* 見出しのキャラクター
   SP：「FLOW」の下に縦に並べる ／ PC：見出しの右に絶対配置で添える（見出しの中央揃えは崩さない） */
.heading__chara {
  width: 140px;
  height: auto;
  margin-top: 8px;
}
@media (min-width: 801px) {
  .heading__chara {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 150px;
    margin-top: 0;
    transform: translateY(-45%);
  }
}
.timeline {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}
.step {
  position: relative;
  padding: 0 0 24px 28px;
  /* 金の丸（疑似要素は縦線と大きな数字で使うため背景で描く） */
  background: radial-gradient(circle, var(--gold) 4px, transparent 4.6px) 0 10px / 9px 9px no-repeat;
}
.step:last-child { padding-bottom: 0; }
/* 縦線 */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 4px; top: 27px; bottom: 6px;
  width: 1px;
  background: var(--gold);
}
/* 大きな数字（テキストに重ねる） */
.step::after {
  content: attr(data-num);
  position: absolute;
  right: 0; top: -14px;
  z-index: 0;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: .2;
  pointer-events: none;
}
.step__title, .step__text { position: relative; z-index: 1; }
.step__title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .04em;
}
.step__text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--kon-sub);
}
@media (min-width: 801px) {
  .timeline { width: 330px; }
  .step::after { font-size: 76px; top: -10px; right: -12px; }
}

/* ---------- Footer ---------- */
.seigaiha {
  height: 32px;
  background: url("../../assets/seigaiha.svg") 0 0 / 320px 32px repeat-x;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px var(--pad-x) 48px;
  background: var(--kon);
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 22em;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 2;
  color: var(--base);
}
/* 2つ目以降のリンクの前に区切り（間に改行用の .br があっても付くように :not(:first-child) で指定） */
.footer__nav a:not(:first-child)::before {
  content: "／";
  margin: 0 .9em;
  color: var(--kon-sub);
}
.footer__nav a:hover { color: var(--gold); }
.footer__nav .br { display: none; }
@media (max-width: 800px) {
  /* SPは「自己紹介」のあとで改行し、行頭の区切りを消す */
  .footer__nav .br { display: block; flex-basis: 100%; height: 0; }
  .footer__nav .br + a::before { display: none; }
}
.insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
}
.footer__copy { font-size: 10px; letter-spacing: .08em; color: var(--base); }
@media (min-width: 801px) {
  .footer__nav { max-width: none; }
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(375px, 100%);
  padding-bottom: 40px;
  background: var(--base);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .4s;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
body.is-menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(30, 42, 74, .45);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}
.drawer__close { position: relative; width: 28px; height: 28px; }
.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 4px; right: 4px;
  height: 1.4px;
  background: var(--kon);
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
.drawer__nav { display: flex; flex-direction: column; padding: 16px 28px 0; }
.drawer__nav a {
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 168, 106, .5);
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .08em;
}
.drawer__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 28px 0;
}
.insta--dark { color: var(--kon); }

/* ---------- 作品モーダル ---------- */
.viewer {
  /* 3:4の画像が画面の高さに収まる幅（見出し＋ページ送りの分 136px を引く）
     4:5の画像は、上下に少し余白が出る形で全体が収まる */
  width: min(100vw, 560px, calc((100vh - 136px) * 3 / 4));
  width: min(100vw, 560px, calc((100svh - 136px) * 3 / 4));
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--base);
  overflow: visible;
}
.viewer::backdrop { background: rgba(20, 26, 46, .92); }
.viewer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 8px 16px;
}
.viewer__title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1.5;
}
.viewer__close { position: relative; flex: 0 0 44px; width: 44px; height: 44px; }
.viewer__close::before,
.viewer__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 12px; right: 12px;
  height: 1.4px;
  background: var(--base);
}
.viewer__close::before { transform: rotate(45deg); }
.viewer__close::after { transform: rotate(-45deg); }

/* 横スクロール＋スナップでページ送り（スマホは指でスワイプ） */
.viewer__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__page { flex: 0 0 100%; scroll-snap-align: center; }
.viewer__page img,
.viewer__page .ph { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }

.viewer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0;
}
.viewer__page { cursor: pointer; }

/* 最後のページでだけ出すお礼（場所は確保しておき、表示の切り替えで高さが変わらないようにする） */
.viewer__hint {
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.6;
  color: rgba(243, 235, 221, .7);
  visibility: hidden;
}
.viewer.is-last .viewer__hint { visibility: visible; }
.viewer.is-last .viewer__page { cursor: default; }
.viewer.is-single .viewer__nav { visibility: hidden; }
.viewer__count {
  min-width: 4em;
  font-size: 13px;
  letter-spacing: .12em;
  text-align: center;
  color: var(--gold);
}
/* Instagram風の矢印：画像の左右中央に重ねる白い半透明の丸
   ボタン自体は44pxでタップしやすく、見た目の丸は30px */
.viewer__stage { position: relative; }
.viewer__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px; height: 44px;
  margin-top: -22px;
  transition: opacity .3s;
}
.viewer__arrow--prev { left: 4px; }
.viewer__arrow--next { right: 4px; }
.viewer__arrow::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  transition: background-color .3s;
}
.viewer__arrow:hover::after { background: rgba(255, 255, 255, .92); }
.viewer__arrow::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: 7px; height: 7px;
  border-top: 1.5px solid #333;
  border-right: 1.5px solid #333;
}
.viewer__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.viewer__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
/* 最初のページでは「前へ」、最後のページでは「次へ」を消す（Instagramと同じ） */
.viewer__arrow:disabled { opacity: 0; pointer-events: none; }

/* ---------- LINE 固定導線 ---------- */
.line-panel { display: none; }
.line-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background: var(--kon);
}
@media (max-width: 1199px) {
  .footer { padding-bottom: 128px; }
}
@media (min-width: 1200px) {
  .line-bar { display: none; }
  .line-panel {
    position: fixed;
    top: 160px;
    right: calc((100vw - var(--site-w)) / 4 - 104px);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 208px;
    padding: 26px 22px;
    background: var(--base);
    border: 1px solid var(--gold);
    text-align: center;
  }
  .line-panel__en { font-size: 9px; font-weight: 500; letter-spacing: .4em; line-height: 1.5; color: var(--gold); }
  .line-panel__title { font-family: var(--mincho); font-weight: 700; font-size: 16px; letter-spacing: .08em; line-height: 1.5; }
  .line-panel__qr { width: 132px; }
  .line-panel__qr .ph { aspect-ratio: 1; background: var(--paper); }
  .line-panel__note { font-size: 11px; line-height: 1.5; color: var(--kon-sub); }
}
