/*
Theme Name: Tan.San.Sui.
Theme URI:
Author: Watanabe Lab.
Description: アイドルグループ「Tan.San.Sui.」公式サイト用オリジナルテーマ。ライブ・メンバーを管理画面から更新できます。
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tansansui
*/

  :root {
    --teal: #74c6be;
    --yellow: #facd6a;
    --blue: #5bbcee;
    --ink: #22313a;
    --sub: #7a8a92;
    --line: #e3ecef;
    --bg: #ffffff;
    --bg-soft: #f2f9fb;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

  /* ---------- 共通：スクロールで出てくる動き ---------- */
  /* JSが動いている時だけ隠す（JSが読み込めなくても内容は必ず表示される） */
  .js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .12s; }
  .reveal.d2 { transition-delay: .24s; }

  /* 見出し：大きな英字＋小さな日本語 */
  .label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 40px; }
  .label h2 { font: 700 clamp(44px, 7vw, 96px)/1 "Quicksand", sans-serif; letter-spacing: -.02em; }
  .label span { font-size: 13px; color: var(--sub); white-space: nowrap; }

  .arrow-link {
    display: inline-flex; align-items: center; gap: 12px;
    font: 700 14px "Quicksand", sans-serif; letter-spacing: .14em;
  }
  .arrow-link i {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor;
    display: grid; place-items: center; font-style: normal; transition: .3s;
  }
  .arrow-link:hover i { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(4px); }

  /* ---------- header ---------- */
  header { position: fixed; inset: 0 0 auto 0; z-index: 10; }
  /* 半透明の背景は ::before に付ける（ヘッダー本体に付けると、中の全画面メニューがヘッダー内に閉じ込められるため） */
  header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .3s;
  }
  header.scrolled::before, body:not(.home) header::before { opacity: 1; }
  .head-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .head-logo { display: block; max-width: 220px; margin-right: 22px; overflow: hidden; transition: opacity .3s, max-width .4s, margin .4s; }
  body.home header:not(.scrolled) .head-logo { opacity: 0; max-width: 0; margin-right: 0; }
  .head-logo img { height: 32px; width: auto; }
  nav ul { display: flex; gap: 32px; list-style: none; }
  nav a { font: 700 13px "Quicksand", sans-serif; letter-spacing: .14em; position: relative; }
  nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
  nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .menu-btn { display: none; background: none; border: 0; font: 700 13px "Quicksand", sans-serif; letter-spacing: .14em; color: var(--ink); }

  /* ---------- hero ---------- */
  .hero {
    min-height: 100svh; padding: 110px 0 56px;
    display: flex; flex-direction: column; justify-content: center; gap: 48px;
    background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  }
  .hero-logo { width: min(680px, 84vw); margin: 0 auto; animation: pop 1.2s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }

  /* 写真が横に流れ続けるエリア */
  .strip { overflow: hidden; animation: fade 1.2s .3s both; }
  @keyframes fade { from { opacity: 0; } }
  .strip-track { display: flex; gap: 12px; width: max-content; animation: flow 48s linear infinite; padding: 16px 12px 36px 0; }
  .strip:hover .strip-track { animation-play-state: paused; }
  .strip-track img {
    width: clamp(96px, 8vw, 128px); height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 20%;
    border-radius: 14px;
  }
  .strip-track img:nth-child(even) { transform: translateY(20px); }
  @keyframes flow { to { transform: translateX(-50%); } }

  /* ---------- next live ---------- */
  .next { padding: 160px 0 140px; }
  .next-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
  .next-tag { display: inline-block; font: 700 13px "Quicksand", sans-serif; letter-spacing: .2em; padding: 6px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
  .next-date {
    font: 700 clamp(110px, 17vw, 240px)/.9 "Quicksand", sans-serif; letter-spacing: -.04em; margin-top: 20px;
    background: linear-gradient(100deg, var(--teal), var(--blue) 60%, var(--yellow));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .next-date small { font-size: .2em; letter-spacing: .05em; -webkit-text-fill-color: var(--sub); margin-left: .3em; }
  .next-info h3 { font-size: 24px; line-height: 1.5; }
  .next-info p { color: var(--sub); margin-top: 10px; }
  .next-btns { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
  .btn {
    display: inline-block; padding: 16px 44px; border-radius: 999px; background: var(--teal); color: #fff;
    font: 700 14px "Quicksand", sans-serif; letter-spacing: .16em; transition: .3s;
  }
  .btn:hover { background: var(--ink); transform: translateY(-2px); }

  /* ---------- member ---------- */
  .member { padding: 140px 0 200px; background: var(--bg-soft); }
  .member-head { display: flex; justify-content: space-between; align-items: flex-end; max-width: 840px; margin: 0 auto; }
  .member-head .count { font: 700 15px "Quicksand", sans-serif; color: var(--sub); letter-spacing: .1em; margin-bottom: 48px; }
  .member-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; max-width: 840px; margin: 0 auto; }
  .member-list a:nth-child(3n+2) { margin-top: 80px; }
  .member figure { border-radius: 24px; overflow: hidden; aspect-ratio: 2 / 3; }
  .member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .member-list a:hover img { transform: scale(1.06); }
  .member-name { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
  .member-name .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34,49,58,.12); }
  .member-name strong { font: 700 22px/1 "Quicksand", sans-serif; letter-spacing: .02em; }
  .member-name span { font-size: 13px; color: var(--sub); }

  /* ---------- news ---------- */
  .news { padding: 140px 0; }
  .news-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
  .news-list { list-style: none; }
  .news-list a { display: flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .3s, color .3s; }
  .news-list li:first-child a { border-top: 1px solid var(--line); }
  .news-list a:hover { padding-left: 12px; color: var(--teal); }
  .news-list .date { font: 700 14px/1.9 "Quicksand", sans-serif; color: var(--sub); flex: none; }
  .news .arrow-link { margin-top: 32px; }

  /* ---------- footer ---------- */
  footer { background: var(--ink); color: #fff; padding: 120px 0 40px; overflow: hidden; }
  .follow { font: 700 clamp(56px, 11vw, 160px)/1 "Quicksand", sans-serif; letter-spacing: -.03em; }
  .sns-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
  .sns-list a {
    padding: 14px 30px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35);
    font: 700 15px "Quicksand", sans-serif; letter-spacing: .08em; transition: .3s;
  }
  .sns-list a:hover { background: #fff; color: var(--ink); }

  /* ---------- SNSアイコン（ヘッダー・TOP・フッター共通） ---------- */
  .sns-icons { list-style: none; display: flex; align-items: center; }
  .sns-icons a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: .3s; }
  .sns-icons svg { width: 20px; height: 20px; display: block; flex: none; }
  .sns-list.sns-icons svg { width: 18px; height: 18px; }

  /* ヘッダー：メニューと反対側（左）にロゴとSNSを並べる */
  header nav { display: flex; align-items: center; gap: 28px; }
  .head-left { display: flex; align-items: center; }
  .bar-sns { gap: 16px; padding-left: 22px; border-left: 1px solid var(--line); transition: padding .4s, border-color .4s; }
  .bar-sns svg { width: 18px; height: 18px; }
  .bar-sns a:hover { color: var(--teal); transform: translateY(-2px); }
  /* TOPの一番上ではロゴを隠しているので、SNSを左端に寄せて区切り線も消す */
  body.home header:not(.scrolled) .bar-sns { padding-left: 0; border-left-color: transparent; }

  /* メニュー内のSNS（スマホでメニューを開いたときだけ表示） */
  .head-sns { display: none !important; }
  .head-sns a::after { display: none; }
  .foot-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 120px; flex-wrap: wrap; }
  .foot-bottom img { width: 200px; }
  .foot-bottom .contact:hover i { background: #fff; color: var(--ink); border-color: #fff; }
  .foot-bottom small { display: block; width: 100%; font: 500 12px "Quicksand", sans-serif; opacity: .5; margin-top: 8px; }

  /* ---------- 炭酸の泡（描画はmain.jsのcanvas） ---------- */
  /* メインビジュアルで常に立ちのぼる泡 */
  .hero, .page-head { position: relative; overflow: hidden; }
  .hero > *, .page-head > * { position: relative; z-index: 1; }
  .hero > .fizz-layer, .page-head > .fizz-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

  /* ---------- mobile ---------- */
  @media (max-width: 820px) {
    .wrap { padding: 0 20px; }
    .menu-btn { display: block; }
    .hero { min-height: auto; padding: 110px 0 24px; gap: 24px; }
    .head-logo img { height: 26px; }
    .head-logo { margin-right: 14px; }
    .bar-sns { gap: 14px; padding-left: 14px; }
    .bar-sns svg { width: 17px; height: 17px; }
    .strip-track { gap: 8px; padding-right: 8px; animation-duration: 36s; }
    /* スマホでは写真を小さめにし、元写真の比率（2:3）のまま切り抜かずに全身を見せる */
    .strip-track img { width: 80px; aspect-ratio: 2 / 3; border-radius: 12px; }
    .strip-track img:nth-child(even) { transform: translateY(14px); }
    .next { padding: 104px 0 96px; }
    .next-inner { grid-template-columns: 1fr; gap: 24px; }
    .next-info h3 { font-size: 20px; }
    .member { padding: 104px 0 120px; }
    .member-head .count { display: none; }
    .member-list { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
    .member-list a:nth-child(3n+2) { margin-top: 0; }
    .member-list a:nth-child(even) { margin-top: 40px; }
    .member figure { border-radius: 18px; aspect-ratio: 2 / 3; }
    .member-name { margin-top: 12px; gap: 8px; }
    .member-name strong { font-size: 18px; }
    .member-name span { display: none; }
    .news { padding: 120px 0 104px; }
    .news-inner { grid-template-columns: 1fr; gap: 0; }
    .news-list a { flex-direction: column; gap: 2px; padding: 20px 0; }
    footer { padding: 88px 0 32px; }
    .foot-bottom { margin-top: 72px; }
    .foot-bottom img { width: 160px; }
  }
  /* ページ切り替え：前のページがふわっと消え、次のページがふわっと現れる */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: tss-vt-out .22s ease both; }
  ::view-transition-new(root) { animation: tss-vt-in .38s ease both; }
  @keyframes tss-vt-out { to { opacity: 0; } }
  @keyframes tss-vt-in { from { opacity: 0; } }

  @media (prefers-reduced-motion: reduce) {
    .strip-track { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* =========================================================
     下層ページ
     ========================================================= */
  nav a.is-current::after { transform: scaleX(1); }

  .page-head { padding: 168px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
  .page-head h1, .page-head .ph-title { font: 700 clamp(56px, 10vw, 128px)/1 "Quicksand", sans-serif; letter-spacing: -.03em; animation: pop 1s cubic-bezier(.2,.8,.2,1) both; }
  .page-head p { color: var(--sub); font-size: 14px; margin-top: 16px; animation: fade 1s .3s both; }
  .page-head h1 .ph-en { display: block; }
  .page-head h1 .ph-ja { display: block; font: 500 14px/1.6 "Zen Maru Gothic", sans-serif; letter-spacing: 0; color: var(--sub); margin-top: 16px; animation: fade 1s .3s both; }
  .page-body { padding: 80px 0 160px; }

  /* 本文（WordPressのエディタで書いた内容） */
  .entry { max-width: 780px; margin: 0 auto; }
  .entry > * + * { margin-top: 1.4em; }
  .entry h2 { font-size: 26px; line-height: 1.5; margin-top: 2.4em; padding-left: 16px; border-left: 6px solid var(--teal); }
  .entry h3 { font-size: 20px; margin-top: 2em; }
  .entry a { color: var(--blue); text-decoration: underline; }
  .entry img { border-radius: 16px; height: auto; }
  .entry ul, .entry ol { padding-left: 1.4em; }
  .entry table { width: 100%; border-collapse: collapse; }
  .entry th, .entry td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }
  /* WordPress標準の表デザイン（濃い縦線・上線）を打ち消し、薄い横線だけに統一する */
  .entry .wp-block-table table, .entry table { border: 0; }
  .entry .wp-block-table thead, .entry .wp-block-table tfoot { border: 0; }
  .entry .wp-block-table th, .entry .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); }
  .entry table tr:first-child > th, .entry table tr:first-child > td { border-top: 1px solid var(--line); }
  .entry-meta { max-width: 780px; margin: 0 auto 32px; font: 700 14px "Quicksand", sans-serif; color: var(--sub); }
  .entry-title { max-width: 780px; margin: 0 auto 48px; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
  .back { max-width: 780px; margin: 80px auto 0; }

  /* WordPressがグループの中身を包む「中箱」を無いものとして扱う（カードの横並びや余白をそのまま効かせる） */
  .entry .wp-block-group > .wp-block-group__inner-container { display: contents; }

  /* GOODSページ */
  .entry .goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: 32px; }
  .entry .goods-item > * + * { margin-top: 0; }
  .entry .goods-item figure {
    margin: 0 0 16px; aspect-ratio: 4 / 3; border-radius: 20px; background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; padding: 20px; overflow: hidden; transition: transform .4s;
  }
  .entry .goods-item:hover figure { transform: translateY(-4px); }
  .entry .goods-item figure img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
  .entry .goods-item h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.5; }
  .entry .goods-price { font: 700 24px/1.3 "Quicksand", sans-serif; color: var(--teal); }
  .entry .goods-note { font-size: 12px; color: var(--sub); margin-top: 6px; }
  .entry figure.benefit-table { margin-top: 24px; }
  .entry .benefit-table td { padding: 18px 8px; font-size: 16px; }
  .entry .benefit-table td:last-child { text-align: right; white-space: nowrap; font: 700 20px "Quicksand", sans-serif; color: var(--teal); }
  .entry .goods-caution { font-size: 12px; color: var(--sub); margin-top: 40px; }

  /* ABOUTページ */
  .entry.about-entry { max-width: 1000px; }
  .entry .about-block { margin-top: 0; }
  .entry .about-block + .about-block { margin-top: 112px; }
  .entry .about-block > * + * { margin-top: 0; }
  .entry .about-label {
    display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
    font: 700 13px "Quicksand", sans-serif; letter-spacing: .28em; color: var(--teal);
  }
  .entry .about-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .entry .about-name { font: 700 clamp(40px, 6.5vw, 76px)/1.1 "Quicksand", sans-serif; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .entry .about-nick {
    font: 700 15px "Zen Maru Gothic", sans-serif; letter-spacing: .04em; padding: 8px 18px; border-radius: 999px;
    background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line);
  }
  .entry .about-lead { margin-top: 32px; font-size: clamp(17px, 1.9vw, 20px); line-height: 2.2; font-weight: 500; }
  .entry .about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .entry .about-card {
    margin: 0; padding: 40px 36px 44px; border-radius: 28px;
    background: linear-gradient(135deg, rgba(116,198,190,.18), rgba(91,188,238,.14));
  }
  .entry .about-card:nth-child(2) { background: linear-gradient(135deg, rgba(250,205,106,.24), rgba(116,198,190,.12)); }
  .entry .about-card > * + * { margin-top: 0; }
  .entry .about-card-num { font: 700 44px/1 "Quicksand", sans-serif; color: var(--teal); opacity: .8; }
  .entry .about-card:nth-child(2) .about-card-num { color: #e8b440; }
  .entry .about-card-text { margin-top: 18px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.6; }

  /* ギャラリー：高さの違う写真をすき間なく並べる（WordPress標準ギャラリーの配置を上書き） */
  .entry .about-gallery.wp-block-gallery { display: block !important; columns: 3 220px; column-gap: 14px; margin: 0; }
  .entry .about-gallery.wp-block-gallery figure.wp-block-image {
    width: 100% !important; margin: 0 0 14px !important; display: block !important;
    break-inside: avoid; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft);
  }
  .entry .about-gallery.wp-block-gallery figure.wp-block-image img {
    width: 100% !important; height: auto !important; object-fit: initial !important; border-radius: 0;
    transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s;
  }
  .entry .about-gallery figure.wp-block-image:hover img { transform: scale(1.04); }

  /* 拡大表示（ライトボックス） */
  .tss-lightbox {
    position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
    background: rgba(18, 28, 34, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .tss-lightbox.is-open { opacity: 1; visibility: visible; }
  .tss-lightbox img {
    max-width: min(92vw, 1100px); max-height: 84vh; width: auto; height: auto; border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35); transform: scale(.96); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s;
  }
  .tss-lightbox.is-open img { transform: none; }
  .tss-lightbox button {
    position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.14); color: #fff; font: 700 20px "Quicksand", sans-serif; transition: background .2s;
  }
  .tss-lightbox button:hover { background: rgba(255,255,255,.3); }
  .tss-lightbox .lb-close { top: 20px; right: 20px; }
  .tss-lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
  .tss-lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
  .tss-lightbox .lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font: 700 13px "Quicksand", sans-serif; letter-spacing: .14em; }
  body.lb-open { overflow: hidden; }

  /* スケジュール一覧 */
  .live-group + .live-group { margin-top: 96px; }
  .live-group h2 { font: 700 15px "Quicksand", sans-serif; letter-spacing: .2em; color: var(--sub); margin-bottom: 16px; }
  .live-row {
    display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center;
    padding: 32px 0; border-bottom: 1px solid var(--line);
  }
  .live-row:first-of-type { border-top: 1px solid var(--line); }
  .live-row .d { font: 700 56px/1 "Quicksand", sans-serif; letter-spacing: -.03em; color: var(--teal); }
  .live-row:nth-of-type(3n+2) .d { color: var(--blue); }
  .live-row:nth-of-type(3n) .d { color: #e8b440; }
  .live-row .d small { font-size: 14px; letter-spacing: .05em; color: var(--sub); margin-left: 6px; }
  .live-row .d .y { display: block; font-size: 13px; letter-spacing: .1em; color: var(--sub); margin-bottom: 6px; }
  .live-row h3 { font-size: 19px; line-height: 1.5; }
  .live-row h3 a:hover { color: var(--teal); }
  .live-row p { color: var(--sub); font-size: 14px; margin-top: 6px; }
  .live-row .btn { padding: 12px 32px; }
  .is-past .live-row { opacity: .55; }
  .is-past .live-row .d { color: var(--sub); }
  .empty { color: var(--sub); padding: 32px 0; }

  /* ライブ詳細 */
  .live-detail { max-width: 780px; margin: 0 auto; }
  .live-detail .next-date { margin: 0 0 24px; font-size: clamp(88px, 13vw, 160px); }
  .live-detail h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
  .live-spec { margin: 40px 0; border-top: 1px solid var(--line); }
  .live-spec div { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .live-spec dt { font: 700 13px/1.9 "Quicksand", sans-serif; letter-spacing: .14em; color: var(--sub); }

  /* メンバー詳細 */
  .member-single { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 72px; align-items: start; max-width: 1000px; margin: 0 auto; }
  .member-single > figure { border-radius: 24px; overflow: hidden; aspect-ratio: 2 / 3; background: var(--bg-soft); }
  .member-single > figure img { width: 100%; height: 100%; object-fit: cover; }
  .entry figure.wp-block-table { margin-left: 0; margin-right: 0; margin-bottom: 0; }
  .entry th { white-space: nowrap; width: 8em; font-size: 14px; color: var(--sub); }
  .member-single .dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34,49,58,.12); }
  .member-single .kana { font-size: 13px; color: var(--sub); margin-top: 4px; letter-spacing: .08em; }
  .member-single .en-name { font: 700 clamp(48px, 6vw, 80px)/1 "Quicksand", sans-serif; letter-spacing: -.02em; margin-top: 16px; }
  .member-single h1 { font-size: 22px; margin-top: 14px; line-height: 1.5; }
  .member-single .color { font-size: 14px; color: var(--sub); margin-top: 12px; }
  .member-single .entry { margin: 40px 0 0; }
  .member-sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
  .member-sns a { padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--ink); font: 700 14px "Quicksand", sans-serif; transition: .3s; }
  .member-sns a:hover { background: var(--ink); color: #fff; }
  .member-page .member-list { margin-bottom: 80px; }

  /* ページ送り */
  .pager { display: flex; justify-content: center; gap: 8px; margin-top: 64px; font: 700 15px "Quicksand", sans-serif; }
  .pager .page-numbers { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line); }
  .pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* WordPressにログイン中の管理バーとヘッダーが重ならないように */
  body.admin-bar header { top: 32px; }
  @media (max-width: 782px) { body.admin-bar header { top: 46px; } }
  @media (max-width: 600px) { #wpadminbar { position: fixed; } }

  /* スマホのメニュー */
  .menu-btn { position: relative; z-index: 12; cursor: pointer; }
  @media (max-width: 820px) {
    /* 全画面メニュー：ふわっと開閉し、項目が少しずつ順番に現れる */
    body.menu-open { overflow: hidden; }
    header nav {
      display: flex; position: fixed; inset: 0; z-index: 11; background: #fff;
      flex-direction: column; align-items: center; justify-content: center; gap: 44px;
      opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
    }
    body.menu-open header nav { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
    header nav > ul:not(.sns-icons) { flex-direction: column; align-items: center; gap: 26px; }
    header nav a { font-size: 26px; }
    header nav li, .head-sns {
      opacity: 0; transform: translateY(14px);
      transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1);
    }
    body.menu-open header nav li, body.menu-open .head-sns { opacity: 1; transform: none; }
    body.menu-open header nav > ul > li:nth-child(1) { transition-delay: .06s; }
    body.menu-open header nav > ul > li:nth-child(2) { transition-delay: .1s; }
    body.menu-open header nav > ul > li:nth-child(3) { transition-delay: .14s; }
    body.menu-open header nav > ul > li:nth-child(4) { transition-delay: .18s; }
    body.menu-open header nav > ul > li:nth-child(5) { transition-delay: .22s; }
    body.menu-open header nav > ul > li:nth-child(6) { transition-delay: .26s; }
    body.menu-open .head-sns { transition-delay: .3s; }
    .head-sns { display: flex !important; flex-direction: row !important; gap: 30px !important; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .head-sns li { opacity: 1 !important; transform: none !important; }
    .head-sns svg { width: 26px; height: 26px; }
    /* 押したリンクの色を変えて「反応した」ことが分かるように */
    header nav a.is-going { color: var(--teal); }
    .page-head { padding: 128px 0 48px; }
    .page-body { padding: 56px 0 104px; }
    .live-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
    .entry .goods-grid { grid-template-columns: 1fr; gap: 32px; }
    .entry .about-block + .about-block { margin-top: 80px; }
    .entry .about-cards { grid-template-columns: 1fr; gap: 14px; }
    .entry .about-card { padding: 28px 24px 32px; border-radius: 22px; }
    .entry .about-card-num { font-size: 34px; }
    .entry .about-gallery.wp-block-gallery { columns: 2; column-gap: 8px; }
    .entry .about-gallery.wp-block-gallery figure.wp-block-image { margin-bottom: 8px !important; border-radius: 12px; }
    .tss-lightbox button { width: 44px; height: 44px; }
    .tss-lightbox .lb-prev { left: 8px; }
    .tss-lightbox .lb-next { right: 8px; }
    .live-row .d { font-size: 44px; }
    .live-row .btn { justify-self: start; margin-top: 8px; }
    .member-single { grid-template-columns: 1fr; gap: 32px; }
    .member-single > figure { max-width: 320px; }
    .live-spec div { grid-template-columns: 96px 1fr; }
  }
