@charset "utf-8";
/* =========================================================
   ひゅれ Official Site — Design System v2
   ふわふわ しろくま天使 / Sky Blue × White
   レイアウトの骨格:
     ・PCは左サイドバー / スマホは下タブバー
     ・セクションは「雲のスカラップ」で区切る
     ・立ち絵が案内役、見出しは吹き出し
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --sky-50:  #f6fbff;
  --sky-100: #e9f5ff;
  --sky-150: #dcefff;
  --sky-200: #c9e7ff;
  --sky-300: #a5d6fb;
  --sky-400: #7ec3f5;
  --sky-500: #56aaea;
  --sky-600: #3b90d8;
  --sky-700: #2b72b4;

  --lav:   #cdd6ff;
  --mint:  #d3f3ee;
  --cream: #fffaf2;

  --ink:      #46597a;
  --ink-soft: #74849e;
  --ink-mute: #a2aec2;
  --white: #fff;

  --bg:     #eef7ff;
  --bg-2:   #ffffff;

  --shadow-sm: 0 4px 14px rgba(95, 160, 220, .13);
  --shadow-md: 0 12px 30px rgba(85, 150, 215, .17);
  --shadow-lg: 0 24px 56px rgba(75, 140, 210, .22);

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-latin: "Quicksand", var(--font-display);

  --side-w: 250px;   /* PCサイドバー幅 */
  --tab-h: 64px;     /* スマホ下タブ高さ */
  --wrap: 1000px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-600); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.5; color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 背景（空＋雪の粒） ---------- */
.sky-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.9), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(205,214,255,.5), transparent 46%),
    linear-gradient(180deg, #eaf6ff 0%, #f7fcff 45%, #e6f4ff 100%);
}
.sky-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.75) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .5;
}
.cloud {
  position: absolute;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(5px);
  animation: drift linear infinite;
}
@keyframes drift { from { transform: translateX(-14vw); } to { transform: translateX(114vw); } }

/* 雪：絵文字を使わずCSS/SVGで描く（スマホでカラー絵文字に化けるのを防ぐ） */
.snow {
  position: fixed; top: -30px;
  z-index: -1; pointer-events: none; user-select: none;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  animation: fall linear infinite;
}
/* 雪の粒 */
.snow--dot {
  border-radius: 50%;
  background-image: radial-gradient(circle at 35% 32%, #fff 0 38%, rgba(255,255,255,.55) 62%, rgba(255,255,255,0) 74%);
  filter: drop-shadow(0 0 3px rgba(150,205,245,.7));
}
/* 雪の結晶（6方向の枝を持つ本物の形） */
.snow--crystal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 1.5v21M2.9 6.75l18.2 10.5M2.9 17.25L21.1 6.75'/%3E%3Cpath d='M12 5.4 9.6 3M12 5.4 14.4 3M12 18.6 9.6 21M12 18.6 14.4 21'/%3E%3Cpath d='M6.9 8.55 3.6 7.7M6.9 8.55 7.75 5.25M17.1 15.45l3.3.85M17.1 15.45l-.85 3.3'/%3E%3Cpath d='M6.9 15.45 3.6 16.3M6.9 15.45 7.75 18.75M17.1 8.55l3.3-.85M17.1 8.55l-.85-3.3'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 0 4px rgba(140,200,245,.9));
}
@keyframes fall {
  0%   { transform: translateY(-5vh) translateX(0) rotate(0); opacity: 0; }
  10%, 90% { opacity: .9; }
  100% { transform: translateY(105vh) translateX(6vw) rotate(360deg); opacity: 0; }
}
.feather {
  position: fixed; top: -30px; z-index: -1; pointer-events: none;
  width: 14px; height: 26px;
  background: linear-gradient(160deg, #fff, rgba(214,238,255,.65));
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  box-shadow: 0 0 10px rgba(180,220,255,.7);
  animation: featherfall linear infinite;
}
@keyframes featherfall {
  0%   { transform: translateY(-6vh) translateX(0) rotate(0); opacity: 0; }
  12%, 88% { opacity: .8; }
  50%  { transform: translateY(48vh) translateX(9vw) rotate(150deg); }
  100% { transform: translateY(106vh) translateX(-4vw) rotate(340deg); opacity: 0; }
}

/* =========================================================
   レイアウトの骨格：サイドバー + メイン
   ========================================================= */
.shell { display: block; }
.main { margin-left: var(--side-w); min-height: 100vh; position: relative; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.block { padding: 76px 0; position: relative; }
.block--tight { padding: 52px 0; }
.center { text-align: center; }

/* ---------- サイドバー（PC） ---------- */
.side {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--side-w);
  z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(150,200,240,.3);
  display: flex; flex-direction: column;
  padding: 26px 18px 20px;
  overflow-y: auto;
}
.side-brand { text-align: center; }
.side-ava {
  display: block;   /* aタグはインラインなので指定必須（無いとナビと重なる） */
  width: 104px; height: 104px; margin: 0 auto 12px; position: relative;
}
.side-ava img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 4px solid #fff; box-shadow: var(--shadow-md);
}
.side-ava::before {   /* 天使の輪 */
  content: ""; position: absolute; left: 50%; top: -12px;
  width: 66%; height: 16px; transform: translateX(-50%) rotate(-8deg);
  border: 3px solid rgba(150,210,255,.95); border-radius: 50%;
  box-shadow: 0 0 14px rgba(150,210,255,.85);
  animation: halo 3.6s ease-in-out infinite;
}
@keyframes halo {
  0%,100% { opacity: .75; transform: translateX(-50%) rotate(-8deg) scale(1); }
  50%     { opacity: 1;   transform: translateX(-50%) rotate(-8deg) scale(1.06); }
}
.side-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; color: var(--ink); }
.side-latin { font-family: var(--font-latin); font-size: .69rem; letter-spacing: .34em; color: var(--sky-500); font-weight: 700; }
.side-role { font-size: .74rem; color: var(--ink-mute); margin-top: 4px; }

.side-nav { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--ink); transition: background .2s, transform .2s;
  white-space: nowrap;   /* 折り返させない */
}
.side-nav a .ic { font-size: 1.1rem; width: 22px; text-align: center; }
.side-nav a .en { margin-left: auto; font-family: var(--font-latin); font-size: .66rem; letter-spacing: .16em; color: var(--sky-400); }
.side-nav a:hover { background: var(--sky-100); transform: translateX(3px); color: var(--sky-700); }
.side-nav a.active { background: linear-gradient(135deg, var(--sky-150), var(--sky-200)); color: var(--sky-700); }
.side-nav a.active .en { color: var(--sky-600); }

.side-sns { margin-top: auto; padding-top: 20px; }
.side-sns .lbl { font-family: var(--font-latin); font-size: .67rem; letter-spacing: .24em; color: var(--ink-mute); text-align: center; display: block; margin-bottom: 9px; }
.side-sns .row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.side-sns a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--sky-600); box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s, color .2s;
}
.side-sns a:hover { transform: translateY(-3px); background: var(--sky-500); color: #fff; }
.side-sns svg { width: 17px; height: 17px; }
.side-copy { text-align: center; margin-top: 16px; font-family: var(--font-latin); font-size: .68rem; color: var(--ink-mute); letter-spacing: .06em; }

/* ---------- スマホ：上バー＋下タブ ---------- */
.topbar { display: none; }
.tabbar { display: none; }

@media (max-width: 1000px) {
  .side { display: none; }
  .main { margin-left: 0; padding-bottom: calc(var(--tab-h) + 14px); }

  .topbar {
    display: flex; align-items: center; gap: 10px;
    position: sticky; top: 0; z-index: 80;
    height: 58px; padding: 0 16px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(150,200,240,.3);
  }
  .topbar img { width: 36px; height: 36px; border-radius: 50%; box-shadow: var(--shadow-sm); }
  .topbar b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
  .topbar .tb-latin { font-family: var(--font-latin); font-size: .66rem; letter-spacing: .28em; color: var(--sky-500); display: block; margin-top: -5px; }
  .topbar .tb-sns { margin-left: auto; display: flex; gap: 7px; }
  .topbar .tb-sns a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); }
  .topbar .tb-sns svg { width: 15px; height: 15px; }

  .tabbar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    height: var(--tab-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(150,200,240,.35);
    box-shadow: 0 -6px 20px rgba(90,160,220,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--ink-mute); font-size: .68rem; font-family: var(--font-display); font-weight: 700;
  }
  .tabbar a .ic { font-size: 1.22rem; line-height: 1; transition: transform .2s; }
  .tabbar a.active { color: var(--sky-600); }
  .tabbar a.active .ic { transform: translateY(-3px) scale(1.12); }
  .tabbar a.active::before {
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 26px; height: 3px;
    background: var(--sky-500); border-radius: 0 0 4px 4px;
  }
  .tabbar a { position: relative; }
}

/* =========================================================
   雲のスカラップ（セクションの区切り）
   ========================================================= */
.cloudline { position: relative; height: 42px; line-height: 0; }
.cloudline::before,
.cloudline::after { content: ""; position: absolute; left: 0; right: 0; }
/* 下向きに膨らむ雲（上のセクションの終わり） */
.cloudline--down::before {
  top: 0; height: 42px;
  background: radial-gradient(circle at 50% 0, var(--cl, #fff) 0 21px, transparent 22px) repeat-x;
  background-size: 58px 42px;
}
.cloudline--down::after {
  top: 0; height: 30px; opacity: .55;
  background: radial-gradient(circle at 50% 0, var(--cl, #fff) 0 15px, transparent 16px) repeat-x;
  background-size: 40px 30px;
  transform: translateX(19px);
}
/* 上向きに膨らむ雲（下のセクションの始まり） */
.cloudline--up::before {
  bottom: 0; height: 42px;
  background: radial-gradient(circle at 50% 100%, var(--cl, #fff) 0 21px, transparent 22px) repeat-x;
  background-size: 58px 42px;
}
.cloudline--up::after {
  bottom: 0; height: 30px; opacity: .55;
  background: radial-gradient(circle at 50% 100%, var(--cl, #fff) 0 15px, transparent 16px) repeat-x;
  background-size: 40px 30px;
  transform: translateX(19px);
}
/* 白帯のセクション */
.band { background: #fff; position: relative; }
.band--soft { background: linear-gradient(180deg, #fff, var(--sky-50)); }

/* =========================================================
   吹き出し（見出し・本文）
   ========================================================= */
.bubble {
  position: relative;
  background: #fff;
  border: 2px solid var(--sky-200);
  border-radius: 28px;
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}
/* しっぽは向きを指定した吹き出しにだけ作る。
   `.bubble` 全体に付けると、向き指定のないものに既定の枠線（濃紺3px）が残り、
   小さな黒い四角として見えてしまう。 */
.bubble--l::before, .bubble--l::after,
.bubble--r::before, .bubble--r::after,
.bubble--b::before, .bubble--b::after {
  content: ""; position: absolute; width: 0; height: 0; border-style: solid;
}
/* しっぽ：左向き */
.bubble--l::before { left: -20px; top: 42px; border-width: 11px 20px 11px 0; border-color: transparent var(--sky-200) transparent transparent; }
.bubble--l::after  { left: -16px; top: 42px; border-width: 11px 20px 11px 0; border-color: transparent #fff transparent transparent; }
/* しっぽ：右向き */
.bubble--r::before { right: -20px; top: 42px; border-width: 11px 0 11px 20px; border-color: transparent transparent transparent var(--sky-200); }
.bubble--r::after  { right: -16px; top: 42px; border-width: 11px 0 11px 20px; border-color: transparent transparent transparent #fff; }
/* しっぽ：下向き */
.bubble--b::before { bottom: -20px; left: 46px; border-width: 20px 11px 0 11px; border-color: var(--sky-200) transparent transparent transparent; }
.bubble--b::after  { bottom: -16px; left: 46px; border-width: 20px 11px 0 11px; border-color: #fff transparent transparent transparent; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sky-100); color: var(--sky-700);
  font-family: var(--font-display); font-weight: 700; font-size: .76rem;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 8px;
}
.bubble h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); font-weight: 800; }
.bubble h2 .en {
  display: block; font-family: var(--font-latin); font-size: .67rem;
  letter-spacing: .26em; color: var(--sky-400); font-weight: 700; margin-bottom: 2px;
}
.bubble p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 0; }
.bubble p + p { margin-top: .8em; }

/* =========================================================
   ジグザグ：立ち絵が案内するセクション
   ========================================================= */
.zig { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center; }
.zig--rev { grid-template-columns: 1fr 250px; }
.zig--rev .zig-fig { order: 2; }
.zig-fig { position: relative; display: grid; place-items: center; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- 立ち絵の顔だけを切り抜いて大きく見せる ----
   立ち絵は 627x820 の全身で、顔は画像全体の 15% ほどしかない。
   そのまま縮小すると表情が潰れるので、丸フレームで顔を拡大表示する。
   数値の意味： height=拡大率 / left,top=顔の中心をフレーム中央に合わせる量  */
.pose-clip {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(165deg, var(--sky-100), #fff 70%);
  animation: floaty 6s ease-in-out infinite;
  flex: none;
}
.pose-clip img {
  position: absolute;
  height: 430%;      /* 顔が枠いっぱいになる拡大率 */
  width: auto;
  max-width: none;
  left: -111%;       /* 顔の中心（横 約49%）をフレーム中央へ */
  top: -10%;         /* 顔の中心（縦 約15%）をフレーム中央へ */
}
.pose-clip::after {   /* ガラスのような光沢 */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(150deg, rgba(255,255,255,.5), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.pose-clip--sm { width: 150px; height: 150px; border-width: 5px; animation: none; }

.zig-fig::after {   /* 足元の雲 */
  content: ""; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  width: 190px; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  filter: blur(2px); z-index: -1;
}
.zig-body { min-width: 0; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero { position: relative; padding: 46px 0 0; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr .92fr; gap: 24px; align-items: center;
  min-height: min(72vh, 560px);
}
/* ロゴ自体が見出し（h1）。テキストの名前と重複させない */
.hero-title { position: relative; margin: 0; line-height: 0; max-width: 420px; }
/* ロゴが白フチ＋淡い水色なので、背後にぼかした空色のオーラを敷いて輪郭を立たせる。
   パネルのような硬い枠にすると、ふわふわした雰囲気が壊れるため輪郭は持たせない */
.hero-title::before {
  content: "";
  position: absolute; inset: 4% -5% 6% -5%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(96,166,232,.52) 0%, rgba(112,180,238,.34) 52%, rgba(155,207,245,0) 100%);
  filter: blur(16px);
  pointer-events: none;
  animation: logo-in 1.1s cubic-bezier(.2,.9,.3,1) both;
}
.hero-logo {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  filter: drop-shadow(0 2px 6px rgba(66,126,192,.42));
  animation: logo-in .9s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.hero-lead { font-family: var(--font-display); font-size: clamp(.98rem, 2.2vw, 1.16rem); color: var(--ink-soft); margin: 18px 0 22px; }
.hero-lead .hl { color: var(--sky-600); font-weight: 800; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(200,232,255,.55) 44%, rgba(200,232,255,0) 72%);
  animation: pulse 5.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
.hero-char {
  position: relative; z-index: 1; max-height: 500px; width: auto;
  filter: drop-shadow(0 24px 40px rgba(90,150,210,.3));
  animation: floaty 6.5s ease-in-out infinite;
}

/* あいさつ吹き出し */
.greet {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; border: 2px solid var(--sky-200);
  border-radius: 22px 22px 22px 6px;
  padding: 10px 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.greet .g-ico { font-size: 1.2rem; }
.greet b { font-family: var(--font-display); font-weight: 800; color: var(--sky-700); font-size: 1rem; display: block; }
.greet small { color: var(--ink-mute); font-size: .74rem; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 28px; border-radius: 999px; border: none;
  font-family: var(--font-display); font-weight: 800; font-size: .96rem;
  transition: transform .22s cubic-bezier(.3,1.4,.5,1), box-shadow .22s;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--sky-400), var(--sky-600)); box-shadow: 0 10px 22px rgba(70,150,220,.34); }
.btn-primary:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 30px rgba(70,150,220,.44); }
.btn-ghost { color: var(--sky-700); background: #fff; border: 2px solid var(--sky-200); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--sky-50); color: var(--sky-700); }

/* =========================================================
   次の配信（トップ）
   ========================================================= */
.next-live {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 2px solid var(--sky-200); border-radius: 26px;
  padding: 22px 26px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
/* 今日・明日・開催中は目立たせる */
.next-live.is-soon { border-color: var(--sky-400); box-shadow: 0 12px 30px rgba(85,150,215,.22); }
.next-live.is-soon::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--sky-400), var(--sky-600));
}

.nl-head { text-align: center; min-width: 116px; }
.nl-tag {
  display: block; font-family: var(--font-latin); font-weight: 700;
  font-size: .66rem; letter-spacing: .18em; color: var(--sky-500); margin-bottom: 2px;
}
.nl-when {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; color: var(--ink); line-height: 1.3;
}
.nl-time {
  display: block; font-family: var(--font-latin); font-weight: 700;
  font-size: 1rem; color: var(--sky-600);
}
.nl-body { min-width: 0; }
.nl-cat {
  display: inline-block; font-size: .74rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 6px;
  background: var(--sky-100); color: var(--sky-700);
}
.nl-cat.horror { background: #ece9ff; color: #6f5fb0; }
.nl-cat.rhythm { background: #ddf5f2; color: #2b8f8c; }
.nl-cat.event  { background: #ffe4ef; color: #d76a8b; }
.nl-cat.other  { background: #fff2e0; color: #c8842f; }
.nl-range {
  display: inline-block; margin-left: 8px; font-family: var(--font-latin);
  font-weight: 700; font-size: .78rem; color: var(--ink-mute);
}
.nl-title { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
.nl-note { display: block; color: var(--ink-mute); font-size: .82rem; margin-top: 2px; }
.nl-act { text-align: center; }
.nl-more {
  display: block; margin-top: 8px; font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; color: var(--sky-600);
}

@media (max-width: 760px) {
  .next-live { grid-template-columns: 1fr; gap: 14px; text-align: center; padding: 20px; }
  .nl-head { min-width: 0; }
  .nl-act .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   実績リボン（現在は未使用。復活させたくなったら .ribbon を使う）
   ========================================================= */
.ribbon {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: #fff; border: 2px solid var(--sky-200); border-radius: 26px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.ribbon .cell { text-align: center; padding: 20px 10px; border-right: 1px dashed var(--sky-200); }
.ribbon .cell:last-child { border-right: none; }
.ribbon .ic { font-size: 1.3rem; }
.ribbon .num { display: block; font-family: var(--font-latin); font-weight: 700; font-size: 1.5rem; color: var(--sky-600); line-height: 1.3; }
.ribbon .num .u { font-size: .58em; color: var(--ink-soft); margin-left: 2px; }
.ribbon .lab { font-size: .74rem; color: var(--ink-mute); font-family: var(--font-display); font-weight: 700; }

/* =========================================================
   配信ジャンル（雲形パネル）
   ========================================================= */
.genres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.genre {
  position: relative; background: #fff; border-radius: 30px; padding: 34px 24px 26px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .28s, box-shadow .28s;
  border-bottom: 5px solid var(--g, var(--sky-300));
}
.genre::before {   /* 雲のふち */
  content: ""; position: absolute; top: -13px; left: 12px; right: 12px; height: 26px;
  background: radial-gradient(circle at 50% 100%, #fff 0 13px, transparent 14px) repeat-x;
  background-size: 34px 26px;
}
.genre:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.genre .g-emoji {
  width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem;
  background: var(--gs, var(--sky-100));
}
.genre h3 { font-size: 1.16rem; font-weight: 800; }
.genre h3 .en { display: block; font-family: var(--font-latin); font-size: .66rem; letter-spacing: .22em; color: var(--g, var(--sky-500)); }
.genre p { color: var(--ink-soft); font-size: .88rem; margin: 10px 0 0; }
.genre.talk   { --g: #56aaea; --gs: #e9f5ff; }
.genre.horror { --g: #8d7fd6; --gs: #ece9ff; }
.genre.rhythm { --g: #4ec3c0; --gs: #ddf5f2; }

/* =========================================================
   リンクカード
   ========================================================= */
.sns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sns-card {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 24px 14px; border-radius: 26px; background: #fff; text-align: center;
  box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.sns-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--ink); }
.sns-card .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sns-card .ico svg { width: 25px; height: 25px; }
.sns-card b { font-family: var(--font-display); font-size: .98rem; }
.sns-card small { color: var(--ink-mute); font-size: .78rem; }
.ico-x { background: #111; }
.ico-dc { background: #5865f2; }
.ico-az { background: linear-gradient(135deg, #ffb15c, #ff8a3d); }

/* リンクカードは公式カラーの画像をそのまま丸く表示する */
.ico-img { background: none !important; overflow: hidden; }
.sns-card .ico.ico-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* サイドバー・上バーの小さい丸は、SVGアイコンと同じ大きさ・同じ色味で揃える */
.side-sns a img { width: 17px; height: 17px; }
.topbar .tb-sns a img { width: 15px; height: 15px; }
/* ホバーで背景が濃くなるので、画像アイコンも白く反転させる */
.side-sns a:hover img { filter: brightness(0) invert(1); }

/* =========================================================
   コンテンツ案内カード
   ========================================================= */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.menu-card {
  position: relative; display: flex; align-items: center; gap: 18px;
  background: #fff; border-radius: 26px; padding: 24px 26px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .26s, box-shadow .26s;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.menu-card .m-ic {
  width: 62px; height: 62px; flex: none; border-radius: 20px;
  display: grid; place-items: center; font-size: 1.8rem;
  background: linear-gradient(135deg, var(--sky-100), var(--lav));
}
.menu-card h3 { font-size: 1.08rem; color: var(--ink); }
.menu-card p { color: var(--ink-soft); font-size: .86rem; margin: 4px 0 0; }
.menu-card .go { margin-left: auto; color: var(--sky-500); font-size: 1.2rem; flex: none; transition: transform .2s; }
.menu-card:hover .go { transform: translateX(4px); }

/* =========================================================
   ハッシュタグ
   ========================================================= */
.hash-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hash {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--sky-200); color: var(--sky-700);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  padding: 9px 22px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s;
}
.hash:hover { transform: translateY(-3px); background: var(--sky-50); color: var(--sky-700); }
.hash small { color: var(--ink-mute); font-weight: 500; font-size: .76rem; }

/* =========================================================
   ページ見出し（下層ページ）
   ========================================================= */
.page-head { position: relative; padding: 40px 0 16px; }
.page-head .ttl { display: flex; align-items: center; gap: 16px; }
.page-head .ttl .pic { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-sm); flex: none; object-fit: cover; }
.page-head h1 { font-size: clamp(1.5rem, 4vw, 2.05rem); font-weight: 800; }
.page-head h1 .en { display: block; font-family: var(--font-latin); font-size: .66rem; letter-spacing: .3em; color: var(--sky-500); }
.page-head .crumb { margin-top: 8px; color: var(--ink-mute); font-size: .76rem; font-family: var(--font-latin); letter-spacing: .1em; }

/* =========================================================
   プロフィール
   ========================================================= */
.pf { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.pf-photo { position: relative; }
.pf-photo img { border-radius: 30px; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.pf-photo .ring { position: absolute; inset: -13px; border: 2px dashed var(--sky-300); border-radius: 42px; animation: spin 40s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 13px 10px; border-bottom: 2px dotted var(--sky-200); vertical-align: top; }
.spec th { width: 128px; color: var(--sky-700); font-family: var(--font-display); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.spec td { color: var(--ink); font-size: .94rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { background: var(--sky-100); color: var(--sky-700); padding: 4px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; }

/* 表情：文字は入れず画像だけを並べる */
.face-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 18px; }
.face { background: #fff; border-radius: 24px; padding: 16px 12px; box-shadow: var(--shadow-sm); transition: transform .24s; }
.face:hover { transform: translateY(-6px) rotate(-1.5deg); }
.face .pose-clip { margin: 0 auto; }

/* =========================================================
   スケジュール
   ========================================================= */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day {
  background: #fff; border-radius: 22px; padding: 16px 10px; text-align: center;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--sky-200); min-height: 142px;
  transition: transform .22s;
}
.day:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.day .dow { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.day .dow .en { display: block; font-family: var(--font-latin); font-size: .66rem; letter-spacing: .2em; color: var(--sky-400); }
.day.sat { border-top-color: var(--sky-400); }
.day.sun { border-top-color: #f5b8cd; }
.day.sun .dow { color: #e58aa6; }
.day .slot { margin-top: 10px; font-size: .8rem; color: var(--ink-soft); }
.day .slot b { display: block; color: var(--sky-600); font-size: .96rem; font-family: var(--font-display); }
.day.off .slot { color: var(--ink-mute); }
.day .off-b { display: inline-block; margin-top: 20px; color: var(--ink-mute); font-size: .8rem; }

/* =========================================================
   月間カレンダー（公開ページ）
   ========================================================= */
.cal-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--sky-600); box-shadow: var(--shadow-sm);
  font-size: 1.1rem; transition: transform .2s, background .2s, color .2s;
}
.cal-nav:hover { transform: translateY(-2px); background: var(--sky-500); color: #fff; }
.cal-now { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.cal-now b { font-family: var(--font-latin); font-size: 1.5rem; color: var(--sky-600); margin: 0 2px; }
.cal-today {
  font-size: .78rem; font-weight: 700; color: var(--sky-700);
  background: var(--sky-100); padding: 5px 14px; border-radius: 999px;
}

.cal-legend { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cal-legend .lg {
  font-size: .74rem; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  background: var(--sky-100); color: var(--sky-700);
}
.cal-legend .horror { background: #ece9ff; color: #6f5fb0; }
.cal-legend .rhythm { background: #ddf5f2; color: #2b8f8c; }
.cal-legend .event  { background: #ffe4ef; color: #d76a8b; }
.cal-legend .other  { background: #fff2e0; color: #c8842f; }
.cal-legend .off    { background: #eef1f6; color: var(--ink-mute); }

.cal-pub { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cp-dow {
  text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: .8rem; color: var(--ink-mute); padding: 2px 0 4px;
}
.cp-dow.sun { color: #e58aa6; }
.cp-dow.sat { color: var(--sky-600); }
.cp-cell {
  background: #fff; border-radius: 18px; min-height: 104px; padding: 8px 8px 10px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.cp-cell.empty { background: transparent; box-shadow: none; min-height: 0; }
.cp-cell.has:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cp-cell.today { border-color: var(--sky-400); }
.cp-num { font-family: var(--font-latin); font-weight: 700; font-size: .88rem; color: var(--ink-mute); }
.cp-cell.sun .cp-num { color: #e58aa6; }
.cp-cell.sat .cp-num { color: var(--sky-600); }
.cp-cell.today .cp-num { color: var(--sky-700); }
.cp-ev {
  margin-top: 5px; padding: 6px 9px; border-radius: 12px;
  background: var(--sky-100); color: var(--sky-700);
  font-size: .74rem; line-height: 1.5;
}
.cp-ev b { display: block; font-family: var(--font-latin); font-size: .8rem; }
.cp-ev span { display: block; font-family: var(--font-display); font-weight: 700; }
.cp-ev small { display: block; color: var(--ink-mute); font-size: .68rem; margin-top: 2px; }
.cp-ev.horror { background: #ece9ff; color: #6f5fb0; }
.cp-ev.rhythm { background: #ddf5f2; color: #2b8f8c; }
.cp-ev.event  { background: #ffe4ef; color: #d76a8b; }
.cp-ev.other  { background: #fff2e0; color: #c8842f; }
.cp-ev.off    { background: #eef1f6; color: var(--ink-mute); }

/* 複数日にまたがる予定は、帯としてつながって見えるようにする */
.cp-ev.is-span { position: relative; }
.cp-ev.is-span:not(.is-start) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cp-ev.is-span:not(.is-end)   { border-top-right-radius: 0; border-bottom-right-radius: 0; }
/* 続きの日は、左右の余白ぶんまで伸ばして隣とつなげる */
.cp-ev.is-span:not(.is-start) { margin-left: -14px; padding-left: 10px; }
.cp-ev.is-span:not(.is-end)   { margin-right: -14px; padding-right: 10px; }
/* 週の折り返し（日曜・土曜）では伸ばさず、角を丸めて折り返しを示す */
.cp-ev.is-span.is-rowstart { margin-left: 0; padding-left: 9px; border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.cp-ev.is-span.is-rowend   { margin-right: 0; padding-right: 9px; border-top-right-radius: 12px; border-bottom-right-radius: 12px; }
.cp-ev.is-span.is-start { box-shadow: inset 3px 0 0 currentColor; }
.cp-ev.is-span em {
  display: block; font-style: normal; font-family: var(--font-latin);
  font-weight: 700; font-size: .68rem; opacity: .75;
}
.cp-ev.is-span:not(.is-start) span { opacity: .82; }

@media (max-width: 900px) {
  .cp-ev.is-span:not(.is-start) { margin-left: -6px; padding-left: 5px; }
  .cp-ev.is-span:not(.is-end)   { margin-right: -6px; padding-right: 5px; }
  .cp-ev.is-span em { font-size: .66rem; }
}

@media (max-width: 900px) {
  .cal-pub { gap: 4px; }
  .cp-cell { min-height: 74px; padding: 5px 4px 7px; border-radius: 12px; }
  .cp-num { font-size: .76rem; }
  .cp-ev { padding: 3px 5px; font-size: .68rem; border-radius: 8px; }
  .cp-ev b { font-size: .66rem; }
  .cp-ev small { display: none; }
}

/* トップのお知らせ見出し */
.news-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: 780px; margin: 0 auto 18px;
}
.news-head h2 { font-size: 1.3rem; font-weight: 800; }
.news-head h2 .en {
  display: block; font-family: var(--font-latin); font-size: .66rem;
  letter-spacing: .26em; color: var(--sky-400); font-weight: 700;
}
.news-more {
  margin-left: auto; font-family: var(--font-display); font-weight: 700;
  font-size: .84rem; color: var(--sky-600);
}
.news-head .chip { margin-bottom: 0; }

.news { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.news-item {
  display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: center;
  background: #fff; padding: 15px 22px; border-radius: 22px; box-shadow: var(--shadow-sm);
}
.news-item time { font-family: var(--font-latin); font-weight: 700; color: var(--ink-mute); font-size: .82rem; white-space: nowrap; }
.news-item .cat { font-size: .7rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--sky-100); color: var(--sky-700); white-space: nowrap; }
.news-item .cat.live { background: #ffe4ef; color: #d76a8b; }
.news-item .cat.event { background: var(--mint); color: #2fa892; }
.news-item p { margin: 0; font-size: .92rem; }

/* リンクが設定されたお知らせは、行ごと押せる */
.news-item.is-link {
  position: relative; padding-right: 46px;
  color: var(--ink); text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.news-item.is-link:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  background: var(--sky-50); color: var(--ink);
}
.news-item.is-link:active { transform: translateY(-1px); }
.news-go {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky-100); color: var(--sky-600);
  font-size: .82rem; line-height: 1; transition: background .2s, color .2s;
}
.news-item.is-link:hover .news-go { background: var(--sky-500); color: #fff; }

/* =========================================================
   ギャラリー（スクラップブック風）
   ========================================================= */
/* ⚠️ CSSの段組み（columns）は使わないこと。
   iOS / iPadOS の Safari は、段組みの中に置いた loading="lazy" の画像を
   「まだ画面外にある」と誤判定して読み込まないことがあり、
   後ろの段の絵（＝最後の1枚）が出ないという不具合になる。
   iPhoneでは1列にして回避したが、iPadは2〜3段のままだったので再発した。
   段組みをやめてグリッドにすれば、どの幅でも起きない。 */
.scrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 22px;
  align-items: start;      /* 高さがバラバラでも上端をそろえる＝貼った感じが出る */
}
.scrap figure {
  margin: 0; position: relative;
  background: #fff; padding: 12px 12px 42px;
  border-radius: 6px; box-shadow: var(--shadow-md);
  cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.scrap figure:nth-child(3n+1) { transform: rotate(-1.8deg); }
.scrap figure:nth-child(3n+2) { transform: rotate(1.4deg); }
.scrap figure:nth-child(3n)   { transform: rotate(-.7deg); }
.scrap figure:hover { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); z-index: 2; }
.scrap figure::before {   /* マスキングテープ */
  content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 86px; height: 24px;
  background: repeating-linear-gradient(45deg, rgba(168,214,250,.75) 0 7px, rgba(198,231,255,.75) 7px 14px);
  border-radius: 2px; box-shadow: 0 2px 5px rgba(90,150,210,.2);
}
/* 画像は width/height 属性から縦横比を決めるので、読み込み前から場所が確保される */
.scrap img { width: 100%; height: auto; border-radius: 3px; }
.scrap figcaption {
  position: absolute; left: 0; right: 0; bottom: 12px;
  text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; color: var(--ink-soft);
}

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(30,55,90,.82); backdrop-filter: blur(8px); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; animation: fade .25s; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.lightbox img { max-width: min(92vw, 900px); max-height: 84vh; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: none; background: #fff; color: var(--ink); font-size: 1.4rem; box-shadow: var(--shadow-md); }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; }

/* =========================================================
   おしごと
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.work { background: #fff; border-radius: 26px; padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .26s, box-shadow .26s; }
.work:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.work .w-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--sky-100), var(--lav)); margin-bottom: 12px; }
.work h3 { font-size: 1.08rem; }
.work p { color: var(--ink-soft); font-size: .88rem; margin: 9px 0 0; }
/* 制作実績カードの中のサイト一覧。行ごと押せるようにして指でも押しやすくする */
.w-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.w-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 13px; border-radius: 13px;
  background: var(--sky-50); border: 1px solid var(--sky-150);
  font-family: var(--font-display); font-weight: 700; font-size: .87rem;
  color: var(--sky-700); text-decoration: none;
  transition: background .18s, border-color .18s, transform .18s;
}
.w-links a:hover { background: #fff; border-color: var(--sky-400); transform: translateX(3px); }
.w-links a span { color: var(--sky-500); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 28px 14px 20px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600)); color: #fff;
  font-family: var(--font-latin); font-weight: 700; box-shadow: 0 6px 14px rgba(70,150,220,.38);
}
.step b { display: block; font-family: var(--font-display); font-size: .98rem; margin-bottom: 3px; }
.step small { color: var(--ink-soft); font-size: .8rem; line-height: 1.7; display: block; }

.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 14px; }
.contact-method { padding: 20px; border-radius: 22px; background: var(--sky-50); border: 2px solid var(--sky-150); text-align: center; transition: transform .22s; }
.contact-method:hover { transform: translateY(-4px); background: #fff; }
.contact-method .ci { font-size: 1.7rem; }
.contact-method b { display: block; margin: 5px 0 2px; font-family: var(--font-display); color: var(--ink); }
.contact-method small { color: var(--ink-mute); font-size: .78rem; }

/* =========================================================
   フッター
   ========================================================= */
.foot { position: relative; background: linear-gradient(180deg, #fff, var(--sky-100)); padding: 44px 0 30px; margin-top: 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 50px; height: 50px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.foot-brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; }
.foot-brand span { display: block; font-family: var(--font-latin); font-size: .68rem; letter-spacing: .3em; color: var(--sky-500); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { font-family: var(--font-latin); font-weight: 700; color: var(--ink-soft); font-size: .78rem; letter-spacing: .12em; }
.foot-nav a:hover { color: var(--sky-600); }
.foot-copy { text-align: center; margin-top: 26px; color: var(--ink-mute); font-size: .74rem; font-family: var(--font-latin); letter-spacing: .08em; }

/* =========================================================
   ローディング
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: linear-gradient(180deg, #f2f9ff, #dcefff); transition: opacity .6s, visibility .6s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader img { width: 116px; margin: 0 auto 16px; animation: floaty 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(120,180,235,.4)); }
.loader .bar { width: 170px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.75); overflow: hidden; margin: 0 auto; }
.loader .bar i { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--sky-400), var(--sky-600)); animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%) } 100% { transform: translateX(350%) } }
.loader p { margin-top: 13px; color: var(--sky-600); font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; font-size: .88rem; }

/* =========================================================
   吊り下げビーズ（ヘッダー画像の宝石モチーフ）
   ========================================================= */
.beads { position: absolute; top: 0; left: 0; right: 0; height: 210px; pointer-events: none; overflow: hidden; z-index: 1; }
.strand { position: absolute; top: 0; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
.strand .cord { width: 1px; margin-inline: auto; background: linear-gradient(rgba(160,205,245,.7), rgba(160,205,245,.1)); }
.gem {
  width: 12px; height: 12px; margin: 7px auto; border-radius: 3px; transform: rotate(45deg);
  background: linear-gradient(140deg, rgba(255,255,255,.98), var(--sky-200) 45%, var(--lav));
  box-shadow: 0 0 12px rgba(160,215,255,.85), inset 0 0 6px rgba(255,255,255,.9);
  animation: twinkle 3.4s ease-in-out infinite;
}
.gem.hex { border-radius: 50%; width: 8px; height: 8px; transform: none; }
.gem.long { width: 7px; height: 18px; border-radius: 4px; transform: none; }
@keyframes sway { 0%,100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes twinkle { 0%,100% { opacity: .85; } 50% { opacity: 1; filter: brightness(1.18); } }

/* =========================================================
   見積もりフォーム
   ========================================================= */
.q-card {
  background: #fff;
  border-radius: 26px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.q-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.q-ic {
  width: 50px; height: 50px; flex: none; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--sky-100), var(--lav));
}
.q-head b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.q-head small { display: block; color: var(--ink-mute); font-size: .82rem; line-height: 1.6; }
.q-multi {
  display: inline-block !important; margin-left: 8px;
  background: var(--sky-100); color: var(--sky-700);
  font-size: .66rem !important; font-weight: 700;
  padding: 2px 10px; border-radius: 999px; vertical-align: middle;
}

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.opts--inline { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.opt {
  position: relative;               /* .opt-rec（オススメのタブ）の基準 */
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  border: 2px solid var(--sky-150);
  border-radius: 18px;
  background: var(--sky-50);
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.opt:hover { border-color: var(--sky-300); background: #fff; transform: translateY(-2px); }
.opt input { accent-color: var(--sky-500); width: 18px; height: 18px; flex: none; margin: 0; cursor: pointer; }
.opt-body { flex: 1; min-width: 0; }
.opt-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--ink); }
.opt-desc { display: block; color: var(--ink-mute); font-size: .76rem; line-height: 1.5; }
.opt-price {
  flex: none; font-family: var(--font-latin); font-weight: 700;
  font-size: .82rem; color: var(--sky-600);
}
.opt.is-on { border-color: var(--sky-500); background: #fff; box-shadow: 0 6px 16px rgba(80,150,215,.18); }
.opt--unknown { border-style: dashed; }
.opt--unknown .opt-price { color: var(--ink-mute); }
.opt--unknown.is-on { border-style: solid; border-color: var(--lav-2, #a9b6ff); }

/* ---- セール告知 ---- */
.sale-banner {
  position: relative; overflow: hidden;
  border-radius: 26px; padding: 22px 26px;
  background: linear-gradient(120deg, #ff9dc0, #ffb15c 45%, #7ec3f5);
  box-shadow: 0 14px 30px rgba(255,150,180,.32);
  color: #fff; text-align: center;
}
.sale-banner::after {   /* きらめきが流れる */
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0% { left: -50%; } 60%, 100% { left: 115%; } }
.sale-tag {
  display: inline-block; background: rgba(255,255,255,.9); color: #e0568c;
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  padding: 3px 16px; border-radius: 999px; margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.sale-main { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.sale-off {
  font-family: var(--font-latin); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  text-shadow: 0 3px 0 rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.18);
  letter-spacing: -.02em;
}
.sale-off small { font-size: .5em; }
.sale-txt { font-family: var(--font-display); font-weight: 700; font-size: .96rem; text-align: left; line-height: 1.7; }
.sale-spark {   /* きらめきも文字ではなくSVGで描く */
  position: absolute; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 4.8 10.8 12 12-7.2 1.2-11.4 5.4-12 12-.6-6.6-4.8-10.8-12-12C7.2 10.8 11.4 6.6 12 0z' fill='%23ffffff'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: sparkle 2.4s ease-in-out infinite;
}
.sale-spark      { top: 14%;  left: 8%; }
.sale-spark.s2   { top: 62%;  left: 24%; animation-delay: .8s; }
.sale-spark.s3   { top: 26%;  right: 12%; left: auto; animation-delay: 1.5s; }
@keyframes sparkle { 0%,100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

/* ---- ベース料金カード ---- */
.q-card--base { background: linear-gradient(135deg, #fff, var(--sky-50)); border: 2px solid var(--sky-200); }
.base-list { color: var(--ink-mute); font-weight: 500; margin-left: 6px; }
.base-final { color: #e0568c; font-family: var(--font-latin); font-weight: 700; margin-left: 6px; }

/* ---- セール対象外の質問 ---- */
.q-nodisc {
  display: inline-block !important; margin-left: 8px;
  background: #fff0f6; color: #c2557f; border: 1px dashed #f2c2d6;
  font-size: .69rem !important; font-weight: 700;
  padding: 1px 9px; border-radius: 999px; vertical-align: middle;
}
.q-card--nodisc { border: 2px dashed var(--sky-200); }

/* 割引後の価格表示 */
.opt-price s { display: block; font-size: .74rem; color: var(--ink-mute); font-weight: 500; }
.opt-price b { color: #e0568c; }

/* 選択肢の補足（ドメインの注意など） */
.opt-note {
  margin-top: 12px; padding: 12px 16px;
  background: #fffdf5; border: 1px solid #f3e6c8; border-radius: 14px;
  font-size: .84rem; color: var(--ink-soft); line-height: 1.7;
}
.opt-note b { color: var(--sky-700); }
/* 選択に関係なく常に出す注記（ロゴの制作者・実績掲載の扱いなど） */
.opt-note--always { background: var(--sky-50); border-color: var(--sky-150); }
.opt-note--always a { color: var(--sky-700); font-weight: 700; }
/* 複数の補足を並べるときの区切りと見出し */
.note-sep { border: 0; border-top: 1px dashed #e6dcc0; margin: 12px 0; }
.note-of  { display: block; color: var(--ink) !important; margin-bottom: 2px; }

/* おすすめの選択肢につくバッジ。
   ラベルの隣に置くと長い項目名だけ折り返して高さが不揃いになるため、カード上辺のタブにする */
.opt-rec {
  position: absolute; top: -9px; left: 14px;
  background: linear-gradient(135deg, #ffd66e, #ffb03a);
  color: #6b4a00; font-family: var(--font-display);
  font-size: .62rem; font-weight: 700; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px;
  box-shadow: 0 2px 5px rgba(224,168,40,.35);
}
.opt.is-on .opt-rec { box-shadow: 0 2px 7px rgba(224,168,40,.5); }

/* 見本画像（ロゴ） */
.q-samples {
  /* 見本が4点あるので2列固定。auto-fit だと1列に4枚並んで1点ずつが小さくなる */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px; margin-bottom: 14px;
}
@media (max-width: 560px) { .q-samples { grid-template-columns: minmax(0, 1fr); } }
.q-samples figure { margin: 0; }
.q-samples img {
  display: block; width: 100%;
  /* 見本ごとに縦横比が違うので枠をそろえ、中で収める（並べたときガタつかない） */
  aspect-ratio: 5 / 2; height: auto; object-fit: contain;
  /* ロゴが淡い色で白地だと沈むため背景を敷く。ロゴの色に合わせて
     個別に上書きできるよう、ここは既定の空色だけを持たせる（prices.php の samples.bg） */
  background: linear-gradient(135deg, var(--sky-300), var(--sky-400));
  border-radius: 16px; padding: 10px 12px;
}
.q-samples figcaption {
  margin-top: 7px; text-align: center;
  font-size: .74rem; color: var(--ink-mute); line-height: 1.5;
}
.q-samples-note {
  margin: 0 0 16px; text-align: center;
  font-size: .78rem; color: var(--ink-mute);
}

/* ---- 参考サイト（複数） ---- */
.ref-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ref-row input { flex: 1; min-width: 0; }
.ref-del {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--sky-150); background: #fff; color: var(--ink-mute);
  font-size: 1.1rem; line-height: 1; transition: background .18s, color .18s, border-color .18s;
}
.ref-del:hover { background: #fff0f6; border-color: #f2c2d6; color: #c2557f; }
.ref-add {
  margin-top: 4px; border: 2px dashed var(--sky-200); background: var(--sky-50);
  color: var(--sky-700); font-family: var(--font-display); font-weight: 700; font-size: .86rem;
  padding: 9px 20px; border-radius: 999px; transition: background .18s, border-color .18s;
}
.ref-add:hover:not(:disabled) { background: #fff; border-color: var(--sky-400); }
.ref-add:disabled { opacity: .5; cursor: default; }

.field { margin-top: 18px; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; color: var(--ink); margin-bottom: 7px;
}
.field .req {
  display: inline-block; margin-left: 6px; font-size: .68rem; font-weight: 700;
  background: #ffe4ef; color: #d76a8b; padding: 2px 9px; border-radius: 999px;
}
.field input[type="text"],
.field input[type="url"],
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  padding: 13px 16px;
  border: 2px solid var(--sky-150);
  border-radius: 16px;
  background: var(--sky-50);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(126,195,245,.22);
}
.field textarea { resize: vertical; line-height: 1.8; }

/* ---- 利用規約への同意 ---- */
.agree-box {
  margin-top: 22px; padding: 20px 24px;
  background: linear-gradient(135deg, #fff, var(--sky-50));
  border: 2px solid var(--sky-200); border-radius: 22px;
  transition: border-color .2s, background .2s;
}
.agree-box.is-error { border-color: #f2a8c4; background: #fff6fa; animation: shake .4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); } 75% { transform: translateX(6px); }
}
.agree { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.agree input { width: 22px; height: 22px; flex: none; accent-color: var(--sky-500); margin: 0; cursor: pointer; }
.agree > span { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.terms-open {
  background: none; border: none;
  /* 見た目は文中のリンクのまま、指で押しやすいよう当たり判定だけ広げる */
  padding: 11px 5px; margin: -11px -5px;
  font-family: inherit; font-weight: 800; font-size: 1em;
  color: var(--sky-600); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.terms-open:hover { color: var(--sky-700); }

/* 同意前は送信ボタンを押せなくする */
.btn.is-disabled, .btn:disabled {
  background: var(--sky-200); color: #fff; box-shadow: none; cursor: not-allowed;
}
.btn.is-disabled:hover, .btn:disabled:hover { transform: none; box-shadow: none; }

/* ---- 利用規約モーダル ---- */
.terms-modal {
  position: fixed; inset: 0; z-index: 600;
  display: grid; place-items: center; padding: 24px;
  background: rgba(30, 55, 90, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s;
}
.terms-modal.is-open { opacity: 1; }
.terms-modal[hidden] { display: none; }
.terms-sheet {
  width: min(100%, 760px); max-height: min(86vh, 900px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .28s cubic-bezier(.3,1.2,.5,1);
}
.terms-modal.is-open .terms-sheet { transform: none; }

.terms-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px; border-bottom: 2px solid var(--sky-100);
  background: linear-gradient(135deg, var(--sky-50), #fff);
}
.terms-head h2 { font-size: 1.1rem; font-weight: 800; line-height: 1.5; }
.terms-head p { margin: 2px 0 0; font-size: .76rem; color: var(--ink-mute); font-family: var(--font-latin); }
.terms-close {
  margin-left: auto; flex: none;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--sky-100); color: var(--ink); font-size: 1.3rem; line-height: 1;
  transition: background .2s;
}
.terms-close:hover { background: var(--sky-200); }

.terms-body { padding: 22px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.terms-body:focus { outline: none; }
.terms-body .terms-lead {
  background: var(--sky-50); border: 1px solid var(--sky-150); border-radius: 14px;
  padding: 13px 16px; font-size: .86rem; color: var(--ink-soft);
}
.terms-body h3 {
  font-size: .96rem; font-weight: 800; color: var(--sky-700);
  margin: 22px 0 7px; padding-left: 11px; border-left: 4px solid var(--sky-300);
}
.terms-body p { font-size: .87rem; color: var(--ink-soft); margin: 0 0 .5em; line-height: 1.9; }
.terms-body ul { margin: 6px 0 10px; padding-left: 2px; }
.terms-body li {
  font-size: .85rem; color: var(--ink-soft); line-height: 1.8;
  padding-left: 18px; position: relative;
}
.terms-body li::before {
  content: "・"; position: absolute; left: 2px; color: var(--sky-400);
}

.terms-foot {
  display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
  padding: 16px 24px; border-top: 2px solid var(--sky-100); background: var(--sky-50);
}
@media (max-width: 640px) {
  .terms-modal { padding: 12px; }
  .terms-sheet { max-height: 92vh; border-radius: 20px; }
  .terms-body { padding: 18px 18px; }
  .terms-foot { padding: 14px 16px; }
  .terms-foot .btn { flex: 1; justify-content: center; padding: 13px 18px; }
}

/* おしごとページからの導線 */
.estimate-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  border-color: var(--sky-300);
  background: linear-gradient(135deg, #fff, var(--sky-50));
}
.estimate-cta-btn { text-align: center; }
@media (max-width: 760px) {
  .estimate-cta { grid-template-columns: 1fr; text-align: center; }
  .estimate-cta .chip { margin-inline: auto; }
}

/* 合計バー（画面下に固定） */
.total-bar {
  position: fixed; left: var(--side-w); right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--sky-200);
  box-shadow: 0 -8px 24px rgba(90,160,220,.16);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.3,1.1,.5,1);
}
.total-bar.is-ready { transform: translateY(0); }
/* 合計バーに隠れないよう下に余白をとる */
.main.has-totalbar { padding-bottom: 96px; }
@media (max-width: 1000px) {
  .main.has-totalbar { padding-bottom: calc(var(--tab-h) + 92px); }
}
.tb-in {
  width: min(100% - 48px, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
}
.tb-label { min-width: 0; }
.tb-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--ink); }
.tb-note {
  display: block; color: var(--ink-mute); font-size: .74rem; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tb-right { text-align: right; flex: none; }
.tb-price {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  color: var(--sky-700); white-space: nowrap; line-height: 1.15;
}
.tb-tilde { margin: 0 .18em; color: var(--ink-mute); font-size: .7em; }

/* セール中の表示 */
.total-bar.is-sale { border-top-color: #ffb7d0; }
.total-bar.is-sale .tb-price { color: #e0568c; }
.tb-list {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  font-family: var(--font-latin); font-size: .78rem; color: var(--ink-mute);
  white-space: nowrap; line-height: 1.2;
}
.tb-badge {
  background: linear-gradient(120deg, #ff9dc0, #ff7fae); color: #fff;
  font-weight: 700; font-size: .68rem; padding: 2px 9px; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(255,140,175,.4);
}
.tb-saved {
  font-family: var(--font-display); font-weight: 700; font-size: .74rem;
  color: #e0568c; white-space: nowrap; line-height: 1.3;
}

/* 送信完了画面の金額 */
.done-price {
  margin-top: 14px; padding: 18px 20px; border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, #fff6fa, var(--sky-50));
  border: 2px solid #ffd3e3;
}
.done-list { font-family: var(--font-latin); font-size: .84rem; color: var(--ink-mute); }
.done-final {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.1rem); color: #e0568c; line-height: 1.2; margin: 2px 0 4px;
}
.done-saved { font-family: var(--font-display); font-weight: 700; font-size: .86rem; color: #c2557f; }

@media (max-width: 1000px) {
  .total-bar { left: 0; bottom: var(--tab-h); }
  .tb-in { width: min(100% - 32px, 720px); padding: 10px 0; }
}
@media (max-width: 480px) {
  .tb-note { display: none; }
  .tb-saved { font-size: .68rem; }
}

/* =========================================================
   ユーティリティ
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.edit-note { display: inline-block; margin-top: 6px; font-size: .7rem; color: #c98aa8; background: #fff0f6; border: 1px dashed #f2c2d6; border-radius: 8px; padding: 2px 8px; }
.note { color: var(--ink-mute); font-size: .82rem; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1240px) {
  :root { --side-w: 206px; }
  .side { padding: 22px 12px 18px; }
  .side-nav a { font-size: .9rem; padding: 10px 12px; gap: 9px; }
  .side-nav a .en { display: none; }   /* 幅が足りないENラベルは省く */
  .side-ava { width: 88px; height: 88px; }
  .hero-char { max-height: 420px; }
}
@media (max-width: 1000px) {
  .wrap { width: min(100% - 32px, 720px); }
  .block { padding: 58px 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 12px; min-height: 0; }
  .hero-title { margin-inline: auto; }   /* 1カラムではロゴ（＝h1）ごと中央へ */
  .hero-logo { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .greet { border-radius: 22px; }
  .zig, .zig--rev { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .zig--rev .zig-fig { order: 0; }
  .zig-fig .pose { max-height: 230px; }
  .bubble--l::before, .bubble--l::after,
  .bubble--r::before, .bubble--r::after { display: none; }
  .bubble--b::before { bottom: auto; top: -20px; border-width: 0 11px 20px 11px; border-color: transparent transparent var(--sky-200) transparent; left: 50%; margin-left: -11px; }
  .bubble--b::after  { bottom: auto; top: -16px; border-width: 0 11px 20px 11px; border-color: transparent transparent #fff transparent; left: 50%; margin-left: -11px; }
  .genres { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .pf { grid-template-columns: 1fr; gap: 26px; }
  .pf-photo { max-width: 300px; margin-inline: auto; }
  .scrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}
@media (max-width: 400px) {
  /* 画面が狭いと写真まわりの点線が端に届いてしまうので、写真を少し小さく */
  .pf-photo { max-width: 250px; }
}
@media (max-width: 640px) {
  .ribbon { grid-template-columns: 1fr; }
  .ribbon .cell { border-right: none; border-bottom: 1px dashed var(--sky-200); }
  .ribbon .cell:last-child { border-bottom: none; }
  .sns-grid { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 5px; }
  .scrap { grid-template-columns: minmax(0, 1fr); }
  .spec th { width: 96px; font-size: .84rem; }
  .bubble { padding: 22px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
