@charset "UTF-8";

/* =========================================================
   まんが制作処 茶々丸。 TOP（春ポップ案）
   - 春の配色＋太めの線とずらした影で、漫画のコマのような見せ方
   - PC/SP 共通の1カラム（最大800px）
   - LINE固定導線は1200px以上でパネル／未満は下部バー
   ========================================================= */

:root {
  --sakura: #F2D4D7;   /* 桜色 */
  --waka: #A7D49B;     /* 若草色 */
  --ivory: #F5F3ED;    /* 象牙色 */
  --peach: #FFEFD5;    /* 淡桃色 */
  --ink: #4A3F3F;      /* 文字・線（墨） */
  --ink-sub: #7A6A6A;
  --white: #FFFFFF;
  --ph: #EADFD6;       /* 画像プレースホルダー */

  --heading: "Kaisei Decol", "Hiragino Mincho ProN", serif;
  --body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;

  --line: 2px solid var(--ink);
  --shadow-s: 2px 2px 0 var(--ink);
  --shadow-m: 4px 4px 0 var(--ink);
  --shadow-l: 6px 6px 0 var(--ink);

  --site-w: 800px;
  --pad-x: 24px;
  --pad-y: 72px;
}

@media (min-width: 801px) {
  :root {
    --pad-x: 88px;
    --pad-y: 100px;
  }
}

/* ---------- 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(--body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--peach);
  -webkit-font-smoothing: antialiased;
}

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

.site {
  max-width: var(--site-w);
  margin: 0 auto;
  background: var(--ivory);
  overflow: clip; /* hidden だとヘッダーの sticky が効かないため */
}
@media (min-width: 801px) {
  .site { border-left: var(--line); border-right: var(--line); }
}

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

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo__mark {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--sakura);
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.logo__text {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}
.logo--light .logo__text { color: var(--ivory); }
@media (min-width: 801px) {
  .logo__mark { width: 33px; height: 33px; }
  .logo__text { font-size: 15px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; /* スクロールしても画面上部に固定 */
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad-x);
  background: var(--ivory);
  border-bottom: var(--line);
}
.menu-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  background: var(--waka);
}
.menu-btn span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }

/* ---------- Common parts ---------- */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
}

/* 見出し：番号の丸 → 桜にはさまれたタイトル → 英字 */
.heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.heading__num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  background: var(--sakura);
  box-shadow: var(--shadow-s);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.about .heading__num { background: var(--waka); }
.flow .heading__num { background: var(--peach); }
.heading__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .04em;
  line-height: 1.4;
}
.heading__title::before,
.heading__title::after {
  content: "";
  flex: 0 0 18px;
  width: 18px; height: 18px;
  background: url("../../assets/sakura-pink.svg") center / contain no-repeat;
}
.heading__title::after { background-image: url("../../assets/sakura-green.svg"); }
.heading__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--ink-sub);
}
@media (min-width: 801px) {
  .heading__title { font-size: 30px; }
  .heading__title::before,
  .heading__title::after { flex-basis: 22px; width: 22px; height: 22px; }
}

/* ---------- Buttons（丸いピル＋ずらした影。押すと沈む） ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  padding-bottom: 4px; /* 影の分 */
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  border: var(--line);
  box-shadow: 0 4px 0 var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  transition: transform .15s, box-shadow .15s;
}
.btn::after { content: "▶"; font-size: 10px; }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn--line { background: var(--waka); }
.btn--outline { background: var(--white); }
.btn--sm { padding: 10px 22px; font-size: 13px; }

/* ---------- 1. MV ---------- */
.mv {
  padding: 24px 0 56px;
  background: var(--sakura);
}
.slider { position: relative; }
.slider__viewport { overflow: hidden; touch-action: pan-y; padding: 0 0 8px; }
.slider__track {
  display: flex;
  gap: 16px;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 calc(100% - 40px);
  border-radius: 24px;
  border: var(--line);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  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: 50%;
  width: 52px; height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: var(--line);
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: background-color .2s;
}
.slider__arrow::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-top: 2.5px solid var(--ink);
  border-right: 2.5px solid var(--ink);
}
.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(--waka); }

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

.mv__catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.mv__title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: .06em;
}
.mv__brand {
  padding: 4px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

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

/* ---------- 2. MESSAGE（吹き出し＋キャラクター） ---------- */
.message { background: var(--ivory); }
/* 和紙の質感：色を抜いて模様だけにし、象牙色の背景に乗算で重ねる
   1. grayscale(1)       … 黄みを抜く
   2. brightness(.5125)  … 和紙の平均の明るさ（約249）を、ちょうど中間の灰色に下げる
   3. contrast(5)        … 中間の灰色を中心に、繊維の明暗の差を5倍に広げる
   4. brightness(1.95)   … 全体をほぼ白に戻す（模様だけが少し暗く残る）
   5. sepia(.35)         … 灰色だと冷たく見えるので、ほんのり温かみを足す
   → 乗算すると、象牙色はほぼそのままで、繊維の模様だけが浮かぶ */
.message::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../assets/washi.webp") center / cover;
  filter: grayscale(1) brightness(.5125) contrast(5) brightness(1.95) sepia(.35);
  mix-blend-mode: multiply;
  opacity: .7;
  pointer-events: none;
}
.message > * { position: relative; z-index: 1; }
.bubble {
  position: relative;
  padding: 28px 22px;
  border-radius: 40px;
  border: var(--line);
  background: var(--white);
}
/* 吹き出しのしっぽ（下向き） */
.bubble::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -15px;
  width: 26px; height: 26px;
  border-right: var(--line);
  border-bottom: var(--line);
  border-bottom-right-radius: 4px;
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
}
.message__title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.message__text {
  margin-top: 14px;
  font-size: 13px;
  line-height: 2;
}
.message__chara {
  width: 170px;
  height: auto;
  margin: 18px auto 0;
}
.uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.uses li {
  padding: 8px 20px;
  border-radius: 999px;
  border: var(--line);
  box-shadow: var(--shadow-s);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
}
.uses li:nth-child(1) { background: var(--sakura); }
.uses li:nth-child(2) { background: var(--waka); }
.uses li:nth-child(3) { background: var(--peach); }
.message__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-sub);
}
@media (min-width: 801px) {
  .bubble { padding: 36px 40px; }
  .message__title { font-size: 26px; }
  .message__text { font-size: 15px; }
  .message__chara { width: 210px; }
}

/* ---------- 3. Works & Voice ---------- */
.works { background: var(--peach); }
.works__list {
  display: grid;
  gap: 36px;
  justify-content: center;
  grid-template-columns: minmax(0, 480px);
}
.card {
  padding: 12px 12px 20px;
  border-radius: 24px;
  border: var(--line);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  text-align: left;
}
/* 画像部分がモーダルを開くボタン */
.card__img {
  position: relative;
  display: block;
  width: 100%;
}
.card__img img,
.card__img .ph {
  border-radius: 16px;
  border: 1.5px solid var(--ink);
  transition: transform .2s;
}
.card__img:hover img,
.card__img:hover .ph { transform: scale(.985); }
/* 「続きへ」の案内（JSで追加） */
.card__hint {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
}
.card__hint > span {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--waka);
}
.card__hint > span::after { content: "▶"; margin-left: 6px; font-size: 9px; vertical-align: 1px; }
.card__hint-click { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card__hint-tap { display: none; }
  .card__hint-click { display: inline; }
}
/* 複数ページの作品につくバッジ（JSで追加） */
.card__badge {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 8px 0;
}
.card__tag {
  align-self: flex-start;
  padding: 3px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--sakura);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
}
.card__title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
.voice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--peach);
}
/* 顔写真は大きめ、名前は写真の横 */
.voice__who { display: flex; align-items: center; gap: 14px; }
.voice__photo {
  flex: 0 0 auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--ph) center / cover;
}
.voice__name { font-size: 14px; font-weight: 700; line-height: 1.5; }
.voice__role { font-size: 11px; line-height: 1.5; color: var(--ink-sub); }
.voice__text {
  font-size: 13px;
  line-height: 1.85;
  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: 700;
  letter-spacing: .04em;
  color: var(--ink-sub);
}
.voice__more::after { content: " ＋"; }
.voice.is-open .voice__more::after { content: " －"; }
@media (min-width: 801px) {
  .voice__photo { width: 140px; height: 140px; }
}

/* ---------- 4/7. LINE CTA（白いカード） ---------- */
.cta--green { background: var(--waka); }
.cta--ivory { background: var(--ivory); }
.cta__card {
  padding: 36px 20px;
  border-radius: 28px;
  border: var(--line);
  background: var(--white);
  box-shadow: var(--shadow-l);
}
.cta__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-sub);
}
.cta__label::before,
.cta__label::after {
  content: "";
  width: 18px; height: 18px;
  background: url("../../assets/sakura-pink.svg") center / contain no-repeat;
}
.cta__label::after { background-image: url("../../assets/sakura-green.svg"); }
.cta__copy {
  margin-top: 16px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
}
.cta__sub {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-sub);
}
.cta .btn-row { margin-top: 22px; }
.cta__chara {
  width: 80px;
  height: auto;
  margin: 14px auto 0;
}
.cta__chara + .btn-row { margin-top: 10px; }

/* 右下からひょっこりのぞくキャラクター
   画像の下端（指先）をカード下の枠線の内側にそろえ、枠線を机の天板に見立てる */
.cta__card { position: relative; }
.cta__peek {
  position: absolute;
  right: 22px; /* 角丸のカーブに髪がかからない位置 */
  bottom: 0;
  width: 130px;
  height: auto;
  pointer-events: none;
}
/* SPはボタンと横に重なるので、キャラの高さ分だけカードの下に余白をとる */
.cta__card:has(.cta__peek) { padding-bottom: 92px; }

@media (min-width: 801px) {
  .cta__card { padding: 44px 40px; }
  .cta__copy { font-size: 24px; }
  /* PCはボタンの右側に収まるので、余白は増やさない */
  .cta__peek { right: 34px; width: 164px; }
  .cta__card:has(.cta__peek) { padding-bottom: 44px; }
}

/* ---------- 5. ABOUT ---------- */
/* 漫画のコマを薄く敷いた背景（画像自体が薄く加工済み） */
.about { background: var(--ivory) url("../../assets/bg-about-pop.webp") center / cover no-repeat; }
/* 桜色の丸を後ろに少しずらして重ねる */
.about__photo {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto;
}
.about__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: var(--line);
  background: var(--sakura);
  transform: translate(14px, 10px);
}
.about__photo img {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: var(--line);
  object-fit: cover;
}
.about__name {
  margin-top: 30px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  line-height: 1.5;
}
.about__text {
  margin-top: 20px;
  text-align: left;
  line-height: 2;
}
.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(--sakura); }
/* 見出しのキャラクター：SPは「FLOW」の下、PCは見出しの右 */
.heading__chara {
  width: 140px;
  height: auto;
  margin-top: 6px;
}
@media (min-width: 801px) {
  .heading__chara {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 150px;
    margin-top: 0;
    transform: translateY(-45%);
  }
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 20px;
  border: var(--line);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
/* 番号の丸（data-num から表示。色は順番に3色） */
.step::before {
  content: attr(data-num);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  background: var(--waka);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.step:nth-child(3n+2)::before { background: var(--peach); }
.step:nth-child(3n)::before { background: var(--sakura); }
.step__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.step__text { font-size: 12px; line-height: 1.7; color: var(--ink-sub); }

/* ---------- Footer ---------- */
.seigaiha--pop {
  height: 40px;
  background: url("../../assets/seigaiha-pop.svg") 0 0 / 360px 40px repeat-x;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 44px var(--pad-x);
  background: var(--ink);
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 2;
  color: var(--ivory);
}
/* 2つ目以降のリンクの前に区切り（間に改行用の .br があっても付くように :not(:first-child) で指定） */
.footer__nav a:not(:first-child)::before {
  content: "／";
  margin: 0 .9em;
  color: var(--ink-sub);
}
.footer__nav a:hover { color: var(--sakura); }
.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;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--sakura);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.footer__copy { font-size: 10px; letter-spacing: .06em; color: var(--ivory); }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(375px, 100%);
  padding-bottom: 40px;
  background: var(--ivory);
  border-left: var(--line);
  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(74, 63, 63, .4);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: var(--line);
}
.drawer__close {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  background: var(--sakura);
}
.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 12px; right: 12px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink);
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 24px 0; }
.drawer__nav a {
  padding: 18px 0;
  border-bottom: 1.5px dashed var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}
.drawer__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px 0;
}

/* ---------- 作品モーダル ---------- */
.viewer {
  /* 3:4の画像が画面の高さに収まる幅（見出し＋ページ番号の分 136px を引く） */
  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(--ivory);
  overflow: visible;
}
.viewer::backdrop { background: rgba(50, 42, 42, .92); }
.viewer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 8px 16px;
}
.viewer__title { font-family: var(--heading); font-weight: 700; font-size: 15px; 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: 2px;
  border-radius: 2px;
  background: var(--ivory);
}
.viewer__close::before { transform: rotate(45deg); }
.viewer__close::after { transform: rotate(-45deg); }
.viewer__stage { position: relative; }
.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; cursor: pointer; }
.viewer__page img,
.viewer__page .ph { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
/* Instagram風の矢印：画像の左右中央に重ねる白い半透明の丸 */
.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); }
.viewer__arrow:disabled { opacity: 0; pointer-events: none; }
.viewer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0;
}
.viewer.is-single .viewer__nav { visibility: hidden; }
.viewer__count {
  min-width: 4em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  color: var(--waka);
}
/* 最後のページでだけ出すお礼（場所は確保しておき、高さが変わらないようにする） */
.viewer__hint {
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: rgba(245, 243, 237, .75);
  visibility: hidden;
}
.viewer.is-last .viewer__hint { visibility: visible; }
.viewer.is-last .viewer__page { cursor: default; }

/* ---------- 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: 84px;
  padding-bottom: 4px;
  background: var(--ivory);
  border-top: var(--line);
}
@media (max-width: 1199px) {
  .footer { padding-bottom: 132px; }
}
@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: 12px;
    width: 208px;
    padding: 24px 20px 28px;
    border-radius: 24px;
    border: var(--line);
    background: var(--white);
    box-shadow: 5px 5px 0 var(--ink);
    text-align: center;
  }
  .line-panel__en { display: none; }
  .line-panel__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
  }
  .line-panel__title::before {
    content: "";
    width: 16px; height: 16px;
    background: url("../../assets/sakura-pink.svg") center / contain no-repeat;
  }
  .line-panel__qr { width: 132px; }
  .line-panel__qr .ph { aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--ink); }
  .line-panel__note { font-size: 11px; line-height: 1.5; color: var(--ink-sub); }
}
