/* =========================
  ① Design
   ========================= */
:root {
  --bg: #0f1115;
  --surface: #151923;
  --text: #e7eaf0;
  --muted: #a4adbd;
  --line: #252a36;
  /*--brand: #7aa2ff;
  --brand-2: #6ee7d2;
*/
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, "Helvetica Neue", Arial, sans-serif;

  --fs-12: 12px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-24: 24px; --fs-32: 32px;
  --lh-normal: 1.55;

  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;

  --content-w: 1200px;

  
  --nav-height: 54px;
  --nav-band-bg: linear-gradient(180deg, #3f4248, #24272c 60%, #15171a);
  --nav-tab-border: rgba(255, 255, 255, .14);
  --nav-en-color: #d0d4dc;   /* 英語 */
  --nav-jp-color: #e3e3e7;   /* 日本語 */


  --hi-accent: #e7c884;   /* TELの強調色（薄い金） */
  --hi-muted:  #b7bfcd;   /* 情報テキスト */

 
  --card-bg: color-mix(in oklab, var(--surface) 78%, transparent); /* うっすら透ける */
  --card-border: color-mix(in oklab, var(--text) 10%, transparent);
  --card-row: color-mix(in oklab, var(--text) 8%, transparent);
  --meta-label-w: 140px; /* ラベル欄の幅 */
}

/* =========================
  ② Reset / Base
   ========================= */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; border: 0; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(1200px 800px at 70% -10%, rgba(122,162,255,.12), transparent 55%), var(--bg);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
h1 { margin: 0; padding: 0; border: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { opacity:.9; }
img, svg, video { display: block; max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--content-w); margin: 0 auto; padding: 0 var(--space-4); }

/* =========================
   ③ Section Title (h3) 
   ========================= */
h3{
  margin: 25px 0 25px;
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  position: relative;
}
h3 .en{
  display: inline-block;
  font-family: 'Allura','Great Vibes','Parisienne','Dancing Script','Segoe UI',sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: .04em;
  vertical-align: middle;
}
h3 .jp{
  display: inline-block;
  margin-left: .5em;
  font-family: var(--font-sans, system-ui, -apple-system, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .08em;
  color: var(--muted, #a4adbd);
  vertical-align: middle;
  transform: translateY(2px);
}

h3::before,
h3::after{
  content:"";
  display:block;
  position:absolute;
  top: 50%;
  width: 18%;
  height: 0.5px;
  background: color-mix(in oklab, var(--text, #e7eaf0) 25%, transparent);
}
h3::before{ left: 0; transform: translateY(-50%); }
h3::after { right: 0; transform: translateY(-50%); }

/* =========================
   ④ Header / Navigation 
   ========================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background:#000; /* color-mix(in oklab, var(--surface) 95%, transparent); */
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.header-bar{
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 6px var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand__name {
  margin: 0; padding: 0; border: 0;
  font-size: 11px; letter-spacing: .04em;
  color: var(--text);
  text-align: left;
}

.brand { display: flex; align-items: center; gap: 12px; margin: 5px 10px; }
.brand img { height: 62px; width: auto; }

.header-info{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hi-muted);
  font-size: 14px;
  line-height: 1.25;
  flex-wrap: wrap;
  white-space: normal;
  justify-content: flex-end;
  text-align: right;
}
.header-info .hi__sep{ opacity:.55; }
.header-info .hi__bizsep{ opacity:.55; }
.header-info .hi__tel{
  display:inline-flex; align-items:center; gap:6px;
  color: var(--hi-accent); font-weight: 600; text-decoration: none;
  width: 100%;
  justify-content: flex-end;
}
.header-info .hi__tel:hover{ opacity:.9; }

.header-info .hi__label{ opacity:.9; font-weight:600; font-size: 16px; }
.header-info .hi__val{ font-size: 20px; letter-spacing:.02em; }

.header-info .hi__addr{
  max-width: 76ch; overflow:hidden; text-overflow:ellipsis;
  display:inline-block; vertical-align:middle;
}
.header-info .hi__hours, .header-info .hi__holiday{ display:inline-block; }


.nav{
  width: 100vw; max-width: 100vw;
  margin-inline: calc(50% - 50vw);

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(140px, 16vw, 220px);
  justify-content: center;
  align-items: stretch;
  gap: 0;

  background: var(--nav-band-bg);
  border-top:    1px solid var(--nav-tab-border);
  /*border-bottom: 1px solid var(--nav-tab-border);*/
}

.nav .nav__link,
.nav a{
  min-height: var(--nav-height);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 10px 8px;
  color: var(--nav-jp-color);
  border-left: 1px solid var(--nav-tab-border);
  font-size: 12px; line-height: 1.1;
  transition: background .2s ease, color .2s ease;
}
.nav .nav__link:last-child, .nav a:last-child { border-right: 1px solid var(--nav-tab-border); }
.nav .nav__link:hover, .nav a:hover { background: rgba(255,255,255,.05); }


.nav a::before{
  order: -1;
  content: attr(data-en);
  font-family: 'Allura', 'Great Vibes', 'Parisienne', 'Dancing Script', 'Segoe UI', sans-serif;
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--nav-en-color);
  margin-bottom: 4px;
  text-transform: none;
}


.nav a:nth-child(1):not([data-en])::before { content: "Top"; }
.nav a:nth-child(2):not([data-en])::before { content: "Cast"; }
.nav a:nth-child(3):not([data-en])::before { content: "System"; }
.nav a:nth-child(4):not([data-en])::before { content: "Gallery"; }
.nav a:nth-child(5):not([data-en])::before { content: "Access"; }
.nav a:nth-child(6):not([data-en])::before { content: "Event"; }


#nav-toggle { display: none; }
.hamburger { display: none; }



@media (max-width:1049px){
  .header-info{ display:none !important; }

  #nav-toggle { display: none; }
  .hamburger{
    display:grid; place-items:center;
    position:fixed; top:10px; right:12px; z-index:1001;
    width:44px; height:44px; border-radius:10px;
    border:1px solid #3a3f4a; background:#2b2f38;
    box-shadow:0 2px 6px rgba(0,0,0,.25);
  }

  .hamburger span{
    width:22px; height:2px; background:#e7eaf0;
    position:relative; display:block;
  }
  .hamburger span::before,
  .hamburger span::after{
    content:"";
    position:absolute; left:0; right:0;
    height:2px;
    background:#e7eaf0;
  }
  .hamburger span::before{ top:-6px; }
  .hamburger span::after { top: 6px; }

  .nav{
    position:fixed; top:0; right:0;
    width:86vw; max-width:480px; height:100vh;
    margin:0;
    background:#000; color:#eee;
    padding:72px 0 24px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    display:block; overflow-y:auto; transition:transform .25s ease;
    border-left:1px solid #222; z-index:1000;
    transform:translateX(100%);
  }

  /* 透過オーバーレイを無効化（必要なら残してOK） */
  .nav::before{
    content:none !important;
    display:none !important;
  }

  #nav-toggle:checked ~ .hamburger span{
    background: transparent !important;
  }
  #nav-toggle:checked ~ .hamburger span::before{
    top:0 !important;
    transform:rotate(45deg);
  }
  #nav-toggle:checked ~ .hamburger span::after{
    top:0 !important;
    transform:rotate(-45deg);
  }

  #nav-toggle:checked ~ .hamburger ~ .nav{ transform:translateX(0); }

  .nav .nav__link,
  .nav a{
    display:flex;
    flex-direction: row !important;
    align-items:center;
    gap:5px;
    width:100%;
    padding:10px 44px 10px 18px !important;
    color:#ccc; background:#111; text-decoration:none;
    border-top:1px solid #222;

    /* ★ここ：全体には右ボーダーを消さない（消すと最後も消える） */
    border-right: 1px solid #222;

    font-size:12px !important;
    line-height:1; letter-spacing:.02em;
    white-space: nowrap; flex-wrap: nowrap;
  }

  /* ★ここ：最後（アクセス）も右ボーダーを必ず付ける（保険） */
  @media (max-width:1049px){
  .nav .nav__link:last-child,
  .nav a:last-child{
    border-bottom: 1px solid var(--hb-menu-border) !important;
  }
}


  .nav a:first-child{ border-top:1px solid #222; }
  .nav a + a{ border-top:1px solid #222; }

  .nav .nav__link::after,
  .nav a::after{
    content:"\203A";
    margin-left:auto; font-size:20px; line-height:1; color:#ccc;
    flex:0 0 auto;
  }

  .nav .nav__link::before,
  .nav a::before{
    order: 0;
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 6px;
    font-family: 'Allura', 'Great Vibes', 'Parisienne', 'Dancing Script', 'Segoe UI', sans-serif;
    font-size: 22px;
    letter-spacing: .06em;
    color: #ccc;
    text-transform: none;
    content: attr(data-en) " /";
  }

  .nav .nav__link:nth-child(1):not([data-en])::before,
  .nav a:nth-child(1):not([data-en])::before{ content:"Top /"; }
  .nav .nav__link:nth-child(2):not([data-en])::before,
  .nav a:nth-child(2):not([data-en])::before{ content:"Cast /"; }
  .nav .nav__link:nth-child(3):not([data-en])::before,
  .nav a:nth-child(3):not([data-en])::before{ content:"System /"; }
  .nav .nav__link:nth-child(4):not([data-en])::before,
  .nav a:nth-child(4):not([data-en])::before{ content:"Gallery /"; }
  .nav .nav__link:nth-child(5):not([data-en])::before,
  .nav a:nth-child(5):not([data-en])::before{ content:"Access /"; }
  .nav .nav__link:nth-child(6):not([data-en])::before,
  .nav a:nth-child(6):not([data-en])::before{ content:"event /"; }

  .nav .nav__link, .nav a{ border-left:none; }
}






/* =========================
   ⑤ Footer
   ========================= */
.site-footer{
  border-top: 1px solid var(--line);
  background:#111;
  padding: 36px 0 44px;
  margin-top:30px;
  color: var(--text);
}
.footer__container{
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.footer__banners{
  display: flex;
  justify-content: center;  
  align-items: center;
  gap: 16px;                
  margin: 0 auto 16px; 
  flex-wrap: wrap; 
}

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

.footer__banner-img{
  display: block;
  height: 150px;  
  width: auto;
  border:solid 1px #CCC;
}

.footer__logo{
  height: 56px; width: auto;
  margin: 0 auto 16px;
}
.footer__line{
  margin: 6px 0;
  font-size: 14px;
  color: var(--text);
}
.footer__address{ opacity: .95; }
.footer__biz{ opacity: .9; }
.footer__hours, .footer__holiday{ display: inline-block; }
.footer__sep{
  display: inline-block;
  margin: 0 8px;
  opacity: .6;
}
.footer__tel{
  margin: 16px 0 12px;
  font-size: 22px;
  letter-spacing: .02em;
  color: #e7c884;
  font-weight: 600;
}
.footer__tel a{ color: #e7c884; text-decoration: none; }
.footer__tel-label{ margin-right: 6px; opacity: .95; }
.footer__copy{
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(231,234,240,.85);
}

@media (max-width: 767px){
  .footer__banner-img{
    height: 75px;
  }
}


/* =========================
   ⑥Hero　トップバナー
   ========================= */

.hero { margin-top: 10px; margin-bottom: 16px;}
.hero.hero--image.card{
  --hero-h: clamp(260px, 42vw, 520px);   /* PC高さ */
  --reveal-duration: 1600ms;             /* ぼかし解除の所要時間(PC) */
  --reveal-blur: 28px;       /* 初期ぼかし量（例: 16px/28px/40px） */
  --reveal-zoom: 1.06;       /* 初期ズーム（1.02〜1.10 推奨） */
  --reveal-brightness: 0.94; /* 初期明るさ（0.90〜1.00） */
  --reveal-saturation: 0.88; /* 初期彩度（0.80〜1.00） */
  position: relative;
  height: var(--hero-h);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  isolation: isolate;
}

.hero.hero--image.card .hero-frame{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero.hero--image.card .hero-frame > picture{
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
}

.hero.hero--image.card .hero-frame > picture > img.hero-media{
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  
  filter: blur(var(--reveal-blur)) brightness(var(--reveal-brightness)) saturate(var(--reveal-saturation));
  transform: scale(var(--reveal-zoom));
  opacity: .92;

  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, filter, opacity;

  animation:
    heroReveal var(--reveal-duration) cubic-bezier(.2,.9,.2,1) 80ms forwards,
    heroKB 18s ease-in-out infinite alternate var(--reveal-duration),
    heroFloat 9s ease-in-out infinite var(--reveal-duration);
}

.hero.hero--image.card::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
              rgba(0,0,0,0) 45%, rgba(0,0,0,.24) 100%);
  pointer-events: none; z-index: 1;
}
.hero.hero--image.card::before{
  content: "";
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0.06'/></feComponentTransfer></filter>\
<rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events: none; z-index: 2;
  animation: grainMove 6s linear infinite;
}


@media (max-width: 767px){

  .hero.hero--image.card{
    --reveal-duration: 1200ms;
    height: auto !important;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0,0,0,.16);
  }

  .hero.hero--image.card .hero-frame{
    position: static !important;
    width: 100%; height: auto !important;
  }
  .hero.hero--image.card .hero-frame > picture{
    position: static !important;
    display: block;
    width: 100%; height: auto !important;
  }

  .hero.hero--image.card .hero-frame > picture > img.hero-media{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;

    animation:
      heroReveal var(--reveal-duration) cubic-bezier(.2,.9,.2,1) 40ms forwards !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero.hero--image.card .hero-frame > picture > img.hero-media,
  .hero.hero--image.card::before{
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@keyframes heroReveal{
  0%{
    filter: blur(var(--reveal-blur)) brightness(var(--reveal-brightness)) saturate(var(--reveal-saturation));
    transform: scale(var(--reveal-zoom));
    opacity: .92;
  }
  60%{
    filter: blur(calc(var(--reveal-blur) * 0.22)) brightness(1.00) saturate(0.98);
    transform: scale(calc(1 + (var(--reveal-zoom) - 1) * 0.3));
    opacity: 1;
  }
  100%{
    filter: blur(0) brightness(1) saturate(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes heroKB{
  0%   { transform: scale(1.00) translate3d( 0%,   0%, 0); }
  50%  { transform: scale(1.02) translate3d(-0.6%, 0.4%, 0); }
  100% { transform: scale(1.04) translate3d( 0.8%,-0.6%, 0); }
}

@keyframes heroFloat{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-0.3%); }
}

@keyframes grainMove{
  0%   { transform: translate3d(0,0,0)      scale(1.05); }
  50%  { transform: translate3d(-2%,1.5%,0) scale(1.05); }
  100% { transform: translate3d(0,0,0)      scale(1.05); }
}




/* ========================= 
   ⑦Gallery
   ========================= */
/* indexページ */
.mloop{
  /* ここだけ調整すればOK（px固定：Safari誤差を排除） */
  --thumb-w: 220px;   /* 1枚の幅 */
  --thumb-h: 140px;   /* 1枚の高さ（比率は使わず固定） */
  --gap: 10px;        /* 画像間隔 */
  --dur: 52s;         /* 移動時間（小さいほど速い） */
}


@media (max-width:1200px){ .mloop{ --thumb-w: 200px; --thumb-h: 128px; --dur: 50s; } }
@media (max-width: 992px){ .mloop{ --thumb-w: 180px; --thumb-h: 116px; --dur: 48s; } }
@media (max-width: 768px){ .mloop{ --thumb-w: 160px; --thumb-h: 104px; --dur: 46s; } }
@media (max-width: 480px){ .mloop{ --thumb-w: 140px; --thumb-h:  92px; --dur: 44s; } }

.mloop__viewport{
  height: var(--thumb-h);
  overflow: hidden;
}

.mloop__track{ margin:0; padding:0; list-style:none; }

.mloop__track{
  display: inline-flex;
  gap: var(--gap);
  align-items: stretch;
  white-space: nowrap;
  width: max-content;

  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
  animation: mloop-slide var(--dur) linear infinite;
}

.mloop__item{
  flex: 0 0 var(--thumb-w);
  width: var(--thumb-w);
  height: var(--thumb-h);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.15);
}

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

@keyframes mloop-slide{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-33.333333%,0,0); }
}



/* =========================Gallery Detail========================= */
.gallery-view{
  --gap: 8px;
  --radius: 14px;
  --thumb-size: 88px;
  --frame: color-mix(in oklab, var(--text, #e7eaf0) 10%, transparent);
  --panel: color-mix(in oklab, var(--surface, #151923) 65%, transparent);
  display: grid;
  gap: var(--gap);
}

.gallery-view input[type="radio"]{
  position: absolute; inline-size: 1px; block-size: 1px; margin: 0; padding: 0;
  opacity: 0; pointer-events: none; clip-path: inset(50%);
}

.gallery-view .gv-stage{
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gallery-view .gv-stage::before{ content:none !important; display:none !important; }
.gallery-view .gv-photos{ position: static !important; padding:0 !important; margin:0 !important; }
.gallery-view .gv-photo{ position: static !important; display:none !important; margin:0 !important; }

.gallery-view .gv-photo > img{
  display:block !important;
  width:100% !important;
  height:auto !important;    /* 画像の比率そのまま */
  background: transparent !important;
  object-fit: contain !important; /* height:auto なので実質無効だが明示 */
}

.gallery-view .gv-thumbs{
  display:grid; grid-auto-flow: column; grid-auto-columns: var(--thumb-size);
  gap: var(--gap);
  padding: 6px;
  border-radius: calc(var(--radius) - 6px);
  background: var(--panel);
  border: 1px solid var(--frame);
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.gallery-view .gv-thumb{
  display:block; position:relative;
  border-radius: 10px; overflow:hidden;
  outline: none;
  border: 1px solid color-mix(in oklab, var(--text, #e7eaf0) 8%, transparent);
  background: #111;
}
.gallery-view .gv-thumb img{
  width:100%; height:100%; display:block;
  aspect-ratio: 1; object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.gallery-view .gv-thumb:hover img,
.gallery-view .gv-thumb:focus-visible img{ transform: scale(1.04); }
.gallery-view .gv-thumb::after{
  content:"";
  position:absolute; inset:auto 0 0 0; height:3px;
  background: color-mix(in oklab, var(--brand, #7aa2ff) 75%, transparent);
  opacity:0; transition: opacity .25s ease;
}
.gallery-view .gv-thumb.is-active::after{ opacity:1; }
.gallery-view .gv-thumb.is-active img{ filter: saturate(115%); }

/* ===== ラジオ → メイン画像切替（displayで制御） ===== */
.gallery-view:has(#gv-0:checked) .gv-photo:nth-child(1),
.gallery-view:has(#gv-1:checked) .gv-photo:nth-child(2),
.gallery-view:has(#gv-2:checked) .gv-photo:nth-child(3),
.gallery-view:has(#gv-3:checked) .gv-photo:nth-child(4),
.gallery-view:has(#gv-4:checked) .gv-photo:nth-child(5),
.gallery-view:has(#gv-5:checked) .gv-photo:nth-child(6),
.gallery-view:has(#gv-6:checked) .gv-photo:nth-child(7),
.gallery-view:has(#gv-7:checked) .gv-photo:nth-child(8),
.gallery-view:has(#gv-8:checked) .gv-photo:nth-child(9),
.gallery-view:has(#gv-9:checked) .gv-photo:nth-child(10){ display:block !important; }

.gallery-view:not(:has(input:checked)) .gv-photo:first-child{ display:block !important; }

.gallery-view:has(#gv-0:checked) .gv-thumb:nth-child(1),
.gallery-view:has(#gv-1:checked) .gv-thumb:nth-child(2),
.gallery-view:has(#gv-2:checked) .gv-thumb:nth-child(3),
.gallery-view:has(#gv-3:checked) .gv-thumb:nth-child(4),
.gallery-view:has(#gv-4:checked) .gv-thumb:nth-child(5),
.gallery-view:has(#gv-5:checked) .gv-thumb:nth-child(6),
.gallery-view:has(#gv-6:checked) .gv-thumb:nth-child(7),
.gallery-view:has(#gv-7:checked) .gv-thumb:nth-child(8),
.gallery-view:has(#gv-8:checked) .gv-thumb:nth-child(9),
.gallery-view:has(#gv-9:checked) .gv-thumb:nth-child(10){ outline:0; }
.gallery-view:has(#gv-0:checked) .gv-thumb:nth-child(1)::after,
.gallery-view:has(#gv-1:checked) .gv-thumb:nth-child(2)::after,
.gallery-view:has(#gv-2:checked) .gv-thumb:nth-child(3)::after,
.gallery-view:has(#gv-3:checked) .gv-thumb:nth-child(4)::after,
.gallery-view:has(#gv-4:checked) .gv-thumb:nth-child(5)::after,
.gallery-view:has(#gv-5:checked) .gv-thumb:nth-child(6)::after,
.gallery-view:has(#gv-6:checked) .gv-thumb:nth-child(7)::after,
.gallery-view:has(#gv-7:checked) .gv-thumb:nth-child(8)::after,
.gallery-view:has(#gv-8:checked) .gv-thumb:nth-child(9)::after,
.gallery-view:has(#gv-9:checked) .gv-thumb:nth-child(10)::after{ opacity:1; }
.gallery-view:has(#gv-0:checked) .gv-thumb:nth-child(1) img,
.gallery-view:has(#gv-1:checked) .gv-thumb:nth-child(2) img,
.gallery-view:has(#gv-2:checked) .gv-thumb:nth-child(3) img,
.gallery-view:has(#gv-3:checked) .gv-thumb:nth-child(4) img,
.gallery-view:has(#gv-4:checked) .gv-thumb:nth-child(5) img,
.gallery-view:has(#gv-5:checked) .gv-thumb:nth-child(6) img,
.gallery-view:has(#gv-6:checked) .gv-thumb:nth-child(7) img,
.gallery-view:has(#gv-7:checked) .gv-thumb:nth-child(8) img,
.gallery-view:has(#gv-8:checked) .gv-thumb:nth-child(9) img,
.gallery-view:has(#gv-9:checked) .gv-thumb:nth-child(10) img{ filter: saturate(115%); }

@media (max-width: 767px){
  .gallery-view{ --gap: 8px; --thumb-size: 82px; }
}



/* =========================
   ⑧Cast
   ========================= */

.cast-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:1px;
}


@media (max-width:1049px){
  .cast-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}

@media (max-width:767px){
  .cast-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}


.cast-card{
  padding:0;
  overflow:hidden;
  background:transparent;
}

.cast-thumb{
  position:relative;
  aspect-ratio:3 / 4;
  overflow:hidden;
  box-sizing:border-box;
  padding:1px;        
}

.cast-thumb > img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .25s ease, filter .25s ease;
}


.cast-link:hover .cast-thumb > img{ transform:scale(1.03); }

.ribbon{
  position:absolute;
  z-index:2;
  width:72px;           /* リボンの横幅 */
  height:42px;          /* リボンの縦幅（回転前） */
  line-height:68px;
  font-size:10px;
  padding-right:18px;
  font-weight:800;
  letter-spacing:.08em;
  color:#fff;
  text-align:center;
  transform:rotate(-45deg);
  pointer-events:none;
  user-select:none;
}

.ribbon.new{
	top:0;
	left:0;
	transform-origin:top left;
	transform:rotate(-45deg) translate(-37%, -37%);
	background-color: #F36;
}


.cast-name{
  position:absolute;
  right:5px;
  bottom:5px;
  z-index:2;
  color:#fff;
  font-weight:700;
  font-size:13px;
  text-shadow:
    0 1px 2px rgba(0,0,0,.7),
    0 0 12px rgba(0,0,0,.45);
}

.cast-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.cast-card .cast-body{ display:none; }



/* =========================Cast Detail========================= */

.cast-detail{display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:18px;align-items:start}
@media(max-width:1049px){.cast-detail{grid-template-columns:minmax(0,1fr) 400px}}
@media(max-width:767px){.cast-detail{grid-template-columns:1fr}}
.cd-left{min-width:0}
.cd-right{min-width:0}

.cd-left .card{padding:0!important;margin:0 0 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}

.cast-photo{--gap:8px;--radius:0;--thumb:86px;--focus-y:12%;display:grid;gap:var(--gap)}
.cast-photo input[type="radio"]{position:absolute;inline-size:1px;block-size:1px;margin:0;padding:0;opacity:0;pointer-events:none;clip-path:inset(50%)}

.cd-stage{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  margin:0;padding:0;border:0;
  border-radius:var(--radius);
  overflow:hidden;
  background:transparent;
  line-height:0;
  font-size:0;
  -webkit-mask-image:-webkit-radial-gradient(white,black);
}
@media(max-width:1049px){.cd-stage{aspect-ratio:4/5}}
@media(max-width:767px){.cd-stage{aspect-ratio:1/1}}

.cd-photos{position:absolute;inset:0;margin:0;padding:0}
.cd-photo{position:absolute;inset:0;margin:0;padding:0;opacity:0;transition:opacity .28s ease}
.cd-photo>img{
  position:absolute;inset:0;
  width:100%!important;height:100%!important;
  object-fit:cover!important;
  object-position:50% var(--focus-y)!important;
  display:block;margin:0;padding:0;background:transparent;
  vertical-align:top;transform:translateZ(0);
}

.cast-photo:has(#cd-0:checked) .cd-photo:nth-child(1),
.cast-photo:has(#cd-1:checked) .cd-photo:nth-child(2),
.cast-photo:has(#cd-2:checked) .cd-photo:nth-child(3),
.cast-photo:has(#cd-3:checked) .cd-photo:nth-child(4),
.cast-photo:has(#cd-4:checked) .cd-photo:nth-child(5),
.cast-photo:has(#cd-5:checked) .cd-photo:nth-child(6),
.cast-photo:has(#cd-6:checked) .cd-photo:nth-child(7),
.cast-photo:has(#cd-7:checked) .cd-photo:nth-child(8),
.cast-photo:has(#cd-8:checked) .cd-photo:nth-child(9),
.cast-photo:has(#cd-9:checked) .cd-photo:nth-child(10){opacity:1}
.cast-photo:not(:has(input:checked)) .cd-photo:first-child{opacity:1}

.cd-ribbon{position:absolute;inset:0;pointer-events:none}
.ribbon{position:absolute;width:78px;height:42px;line-height:65px;font-size:10px;font-weight:700;color:#fff;padding-left:0;transform:rotate(-45deg);z-index:2}
.ribbon.new{top:0;left:0;background:#e53935;transform-origin:top left;transform:rotate(-45deg) translate(-35%,-35%)}

.cd-thumbs{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--thumb),1fr));
  gap:var(--gap);
  padding:6px 2px;margin:0;
  overflow-x:hidden;overflow-y:visible;
}
@media(max-width:1049px){.cd-thumbs{grid-template-columns:repeat(5,1fr)}}
@media(max-width:767px){.cd-thumbs{grid-template-columns:repeat(5,1fr)}}

.cd-thumb{display:block;position:relative;border-radius:10px;overflow:hidden;outline:0}
.cd-thumb img{width:100%;height:100%;display:block;aspect-ratio:1;object-fit:cover;transition:transform .2s ease,filter .2s ease}
.cd-thumb:hover img,.cd-thumb:focus-visible img{transform:scale(1.04)}
.cd-thumb::after{content:"";position:absolute;inset:auto 0 0 0;height:3px;background:color-mix(in oklab, var(--brand, #7aa2ff) 75%, transparent);opacity:0;transition:opacity .2s ease}
.cast-photo:has(#cd-0:checked) .cd-thumb:nth-child(1),
.cast-photo:has(#cd-1:checked) .cd-thumb:nth-child(2),
.cast-photo:has(#cd-2:checked) .cd-thumb:nth-child(3),
.cast-photo:has(#cd-3:checked) .cd-thumb:nth-child(4),
.cast-photo:has(#cd-4:checked) .cd-thumb:nth-child(5),
.cast-photo:has(#cd-5:checked) .cd-thumb:nth-child(6),
.cast-photo:has(#cd-6:checked) .cd-thumb:nth-child(7),
.cast-photo:has(#cd-7:checked) .cd-thumb:nth-child(8),
.cast-photo:has(#cd-8:checked) .cd-thumb:nth-child(9),
.cast-photo:has(#cd-9:checked) .cd-thumb:nth-child(10){outline:0}
.cast-photo:has(#cd-0:checked) .cd-thumb:nth-child(1)::after,
.cast-photo:has(#cd-1:checked) .cd-thumb:nth-child(2)::after,
.cast-photo:has(#cd-2:checked) .cd-thumb:nth-child(3)::after,
.cast-photo:has(#cd-3:checked) .cd-thumb:nth-child(4)::after,
.cast-photo:has(#cd-4:checked) .cd-thumb:nth-child(5)::after,
.cast-photo:has(#cd-5:checked) .cd-thumb:nth-child(6)::after,
.cast-photo:has(#cd-6:checked) .cd-thumb:nth-child(7)::after,
.cast-photo:has(#cd-7:checked) .cd-thumb:nth-child(8)::after,
.cast-photo:has(#cd-8:checked) .cd-thumb:nth-child(9)::after,
.cast-photo:has(#cd-9:checked) .cd-thumb:nth-child(10)::after{opacity:1}
.cast-photo:has(#cd-0:checked) .cd-thumb:nth-child(1) img,
.cast-photo:has(#cd-1:checked) .cd-thumb:nth-child(2) img,
.cast-photo:has(#cd-2:checked) .cd-thumb:nth-child(3) img,
.cast-photo:has(#cd-3:checked) .cd-thumb:nth-child(4) img,
.cast-photo:has(#cd-4:checked) .cd-thumb:nth-child(5) img,
.cast-photo:has(#cd-5:checked) .cd-thumb:nth-child(6) img,
.cast-photo:has(#cd-6:checked) .cd-thumb:nth-child(7) img,
.cast-photo:has(#cd-7:checked) .cd-thumb:nth-child(8) img,
.cast-photo:has(#cd-8:checked) .cd-thumb:nth-child(9) img,
.cast-photo:has(#cd-9:checked) .cd-thumb:nth-child(10) img{filter:saturate(115%)}

.detail-panel{background:color-mix(in oklab, var(--surface, #151923) 70%, transparent);border:1px solid color-mix(in oklab, var(--text, #e7eaf0) 10%, transparent);border-radius:12px;padding:14px}
.detail-header h2{margin:0 0 6px;font-size:20px;font-weight:700}
.detail-header .kana,.detail-header .shop-line{opacity:.9;font-size:14px}
.type-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.type-badge{display:inline-block;padding:2px 10px;border:1px solid color-mix(in oklab, var(--text, #e7eaf0) 14%, transparent);border-radius:999px;font-size:12px}
.profile-table{width:100%;border-collapse:collapse;font-size:14px}
.profile-table th,.profile-table td{padding:8px;border-bottom:1px solid color-mix(in oklab, var(--text, #e7eaf0) 10%, transparent);vertical-align:top}
.profile-table th{text-align:left;opacity:.9;white-space:nowrap;width:30%}
@media(max-width:767px){.detail-panel{padding:12px}.detail-header h2{font-size:18px}.profile-table th,.profile-table td{padding:7px}}



/* =========================
   ⑨ News
   ========================= */
.card.news-card {
  padding: 14px 12px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dotted #555;   /* リスト上枠：#555 のドットライン */
}

.news-row {
  position: relative;                      /* ← 絶対配置のアンカー（＞用） */
  display: grid;
  grid-template-columns: 120px 1fr;        /* PCは 日付 / タイトル の2カラム */
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 36px 12px 10px;            /* 右に余白（＞のため） */
  border-bottom: 1px dotted #555;          /* ← アンダーバー：#555 のドットライン */
  box-sizing: border-box;
  transition: background .2s ease;
}
.news-row:hover { background: rgba(0,0,0,.03); }

.news-row .date {
  color: #6b7280;  /* muted */
  font-size: 14px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.news-row > a,
.news-row > span:not(.date):not(.more) {
  color: #ccc;                          /* ご指定カラーを維持 */
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}
.news-row > a:hover { text-decoration: underline; }

.news-row .more {
  position: absolute;
  top: 50%;                              /* ← これで常に行の縦中央 */
  right: 10px;                           /* 行右端に寄せる */
  transform: translateY(-50%);
  text-align: right;
  opacity: .7;
  font-size: 0;                          /* “more” の文字は視覚的に隠す（SRは読む） */
  line-height: 1;
  pointer-events: none;                  /* 誤クリック防止（必要なら外してください） */
}
.news-row .more::before {
  content: '＞';
  font-size: 16px;
  display: inline-block;
  line-height: 1;
  transform: translateX(0);
  transition: transform .18s ease, opacity .18s ease;
}
.news-row:hover .more::before {
  transform: translateX(2px);
  opacity: .95;
}

@media (max-width: 767px) {
  .news-row {
    grid-template-columns: 1fr;          /* 1カラム（本文エリアのみ） */
    align-items: start;
    row-gap: 6px;
    padding: 12px 36px 12px 8px;         /* 右に “＞” のぶんの余白を確保 */
  }

  /* 日付は1行目いっぱいに */
  .news-row .date {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    opacity: .85;
  }

  /* タイトルは2行目 */
  .news-row > a,
  .news-row > span:not(.date):not(.more) {
    grid-column: 1 / -1;
    font-size: 15px;
    line-height: 1.6;
  }

  /* “＞” はPC同様、absoluteのまま縦中央固定（2行になっても中央） */
  .news-row .more {
    right: 8px;                          /* スマホは少し詰める */
  }
}

/* 先頭行の上枠も明確に（カード内に入れている前提） */
.card .news-list .news-row:first-child {
  border-top: 1px solid rgba(0,0,0,.14);
}

/* =========================News Detail========================= */

.news-detail .news-header{
  margin-bottom: 8px;
}
.news-detail .news-header .meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  justify-content: flex-end; /* 全体を右端へ */
  text-align: right;
  font-size:13px;
}
.news-detail .news-header .meta .date{
  margin-left: 0;
}

@media (min-width:768px){
  .news-detail{
    display:block; /* グリッドをやめてフロート回り込みを可能に */
  }
  .news-detail .news-hero{
    float:left;
    width: clamp(220px, 28vw, 320px);
    margin: 0 18px 10px 0; /* 右と下に間隔。上は詰める */
  }
  .news-detail .news-hero img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio: 4 / 5;   /* 小さめ縦長 */
    object-fit: cover;
    border-radius: 2px;
  }

  .news-detail .content-body,
  .news-detail .target-shops{
    margin-top: 0;
  }

  .news-detail .target-shops .subtitle{
    font-size: 20px;
    font-weight: 700;
    margin: 6px 0 6px;
  }

  .news-detail::after{
    content:"";
    display:block;
    clear: both;
  }
}

@media (max-width:767px){
  .news-detail{ display:block; }
  .news-detail .news-hero{
    float:none;
    width: 100%;
    margin: 0 0 10px 0;
  }
  .news-detail .news-hero img{
    width:100%;
    height:auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}

.news-detail .content-body{
  line-height: 1.75;
}

.news-detail .news-header .title{
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  text-align: center;
}


/* =========================
   ⑩ Coupon
   ========================= */
.sd-coupons{
  margin-top:16px;
}

.coupon-grid{
  list-style: none !important;    /* ・を消す */
  margin: 0 !important;
  padding: 0 !important;
  padding-inline-start: 0 !important; /* Safari対策 */
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr); /* PC */
}

@media (max-width: 1049px){
  .coupon-grid{
    grid-template-columns: repeat(2, 1fr); /* Tablet */
  }
}

@media (max-width: 767px){
  .coupon-grid{
    grid-template-columns: 1fr; /* SP */
    gap: 12px;
  }
}

.coupon-card{
  list-style: none !important; /* 保険でマーカー無効化 */
  cursor: pointer;
}

.ticket{
  position:relative;
  border:1px solid #555;
  border-radius:4px;
  padding:12px;
  min-height:160px;
}

.ticket__corner{
	position:absolute;
	top:-10px;
	right:-10px;
	color:#fff;
	border-radius:50%;
	width:40px;
	height:40px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:10px;
	background-color: #F33;
}

.ticket__label{
  font-size:22px;
  letter-spacing:.08em;
  opacity:.7;
  font-family: 'Allura','Great Vibes','Parisienne','Dancing Script','Segoe UI',sans-serif;
  text-align:center;
}

.ticket img{
  display:block;
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:8px;
  margin:6px 0 8px;
}

.ticket__title{
  margin: 6px 0 8px;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;

  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
  text-underline-offset: .2em;      /* 文字から少し離す */
  text-decoration-thickness: from-font; /* 太さはフォントに合わせる */
}


.ticket__meta{
  margin:0;
  display:grid;
  gap:6px;
  font-size:13px;
}

.ticket__meta > div{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:8px;
}

.ticket__meta dt{
  opacity:.7;
}
.ticket__meta dd{
  margin:0;
}

.ticket__actions{
  margin-top:10px;
  display: flex;               /* 子要素の配置を制御 */
  justify-content: flex-end;   /* 右寄せ */
}

.btn-more{
  padding:6px 10px;
  border:1px solid #111;
  border-radius:8px;
  background:#fff;
}

/* =========================Coupon Detail========================= */
.coupon-detail{
  max-width: 920px;
  margin: 0 auto;
}

.coupon-detail .ticket{
  padding: 14px;            /* 一覧は12px、個別は14pxだったので合わせたい場合 */
  min-height: initial;      /* 個別は高さ固定不要 */
}

.ticket__image{
  margin: 8px 0 12px;
}
.ticket__image img{
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ticket__section{
  margin: 10px 0;
}
.ticket__section-title{
  font-size: 16px;
  margin: 0 0 4px;
  color:#960;
}
.ticket__section-body{
  line-height: 1.7;
  white-space: normal;
  word-break: break-word;
}


/* ========================= 
   ⑪ Event
   ========================= */

.sd-events{
  margin-top: 16px;
}

.sd-events .sd-card{
  border: 1px solid #333;
  border-radius: 12px;
  padding: 12px;
}

.ev-list{
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;         /* 主要ブラウザ */
  padding-inline-start: 0 !important;  /* 論理プロパティ */
  -webkit-padding-start: 0 !important; /* iOS Safari の古い癖対策 */

  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr); /* PC: 4列 */
}

@media (max-width: 1049px){
  .ev-list{
    grid-template-columns: repeat(3, 1fr); /* Tablet: 3列 */
  }
}

@media (max-width: 767px){
  .ev-list{
    grid-template-columns: repeat(2, 1fr); /* SP: 2列 */
  }
}

.ev-item{
  list-style: none;            /* 念のため */
  display: grid;
  grid-template-columns: 1fr;  /* 1カラムにして縦並び */
  gap: 12px;
  align-items: start;
}

.thumb-link{
  display: block;
  width: 100%;
}
.thumb{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;   /* 旧: 120x80 ≒ 3:2。比率を維持 */
  object-fit: cover;
  border-radius: 8px;
}

.ev-body{
  min-width: 0; /* テキスト折返し用 */
}

.ev-title{
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.excerpt{
  opacity: .75;
}

/* =========================Event Detail ========================= */

.ev-detail{
  max-width: 920px;
  margin: 0 auto;
}

.ev-detail-title{
  font-weight: 700;
  font-size: 20px;
  margin: 8px 0 12px;
  line-height: 1.4;
}

.ev-hero{
  margin: 8px 0 16px;
}

.ev-hero img{
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.ev-section{
  margin: 16px 0;
}

.ev-section h2{
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.4;
}

.ev-content{
  white-space: pre-wrap;
  line-height: 1.7;
  word-break: break-word;
}

.ev-shops{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.ev-shops .sep{
  opacity: .5;
}


/* =========================
  ⑫ System
   ========================= */
.sd-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 12px;
  margin: 12px 0;
  backdrop-filter: saturate(120%) blur(1px);
  -webkit-backdrop-filter: saturate(120%) blur(1px);
}


.sd-card.--gold{
  --card-bg: color-mix(in oklab, #b0893b 14%, var(--surface) 76%);
  --card-border: color-mix(in oklab, #b0893b 28%, transparent);
}
.sd-card.--blue{
  --card-bg: color-mix(in oklab, #3a6ee7 14%, var(--surface) 76%);
  --card-border: color-mix(in oklab, #3a6ee7 28%, transparent);
}

.sd-meta{
  display: grid;
  gap: 8px;
}
.sd-meta-row{
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--card-row);
}
.sd-meta-row:first-child{ border-top: 0; }


.sd-meta .label{
  flex: 0 0 var(--meta-label-w);
  max-width: var(--meta-label-w);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.sd-meta .value{
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  line-height: 1.6;
  word-break: break-word;
}


.sd-meta .value a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767x){
  .sd-meta-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  .sd-meta .label{
    flex: none;
    max-width: none;
    color: color-mix(in oklab, var(--muted) 85%, transparent);
    font-weight: 600;
    font-size: 12px;
    opacity: .9;
  }

  .sd-card > h5{ font-size: 15px; }
  .sd-list{ font-size: 13.5px; line-height: 1.75; }
}


.sd-price { margin-top: 16px; }
.sd-price .sd-price__title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--text);
  opacity: .95;
}

.sd-table-wrap {
  /* overflow:auto;  ← これが横スクロールの原因なので外す */
  overflow: visible;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  backdrop-filter: saturate(120%) blur(1px);
  -webkit-backdrop-filter: saturate(120%) blur(1px);
}


.price-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;                 /* ← 自然な列幅配分 */
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.price-table th,
.price-table td{
  padding: 10px 12px;
  border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
  vertical-align: middle;
  text-align: left;                   /* ← 基本は左寄せ */
  word-break: normal;
  overflow-wrap: break-word;          /* 長い語だけ適度に折返し */
}

.price-table thead th{
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  color: color-mix(in oklab, var(--text) 92%, transparent);
  font-weight: 600;
}

.price-table .num{
  white-space: nowrap;                /* ← 1,000円を必ず1行に */
  font-variant-numeric: tabular-nums; /* 桁をきれいに揃える */
}


.price-table--time4 thead th:nth-child(4),
.price-table--time4 tbody td:nth-child(4){  /* 備考列を広めに */
  width: 40%;
}


.price-table--other3 thead th:nth-child(3),
.price-table--other3 tbody td:nth-child(3){ /* 備考列を広めに */
  width: 40%;
}


