/* ═══════════════════════════════════════════════════════════════
   LABO ITO PARTY  —  responsive (mobile-first)
   Design tokens
   ═══════════════════════════════════════════════════════════════ */
:root{
  /* surfaces */
  --cream: #fbf6ec;
  --cream-2: #f6efdf;
  --paper: #ffffff;
  --mint:  #f0f6ee;
  --sky:   #e9f3f5;
  --pink:  #fbe9e4;
  --coral-bg: #fdeee5;

  /* ink */
  --ink:        #1d2c5b;   /* deep navy */
  --ink-soft:   #3a4a78;
  --ink-mute:   #6a7596;
  --ink-faint:  #aab2c8;

  /* brand */
  --yellow:  #f3b945;
  --yellow-2:#f7cf6b;
  --coral:   #ed8a6c;
  --coral-2: #f1a48a;
  --rose:    oklch(72% 0.10 20);
  --leaf:    oklch(72% 0.10 145);
  --sky-c:   oklch(72% 0.08 230);
  --violet:  oklch(72% 0.08 290);

  /* misc */
  --r-card: 22px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(29,44,91,0.04), 0 4px 14px rgba(29,44,91,0.06);
  --shadow-2: 0 2px 4px rgba(29,44,91,0.06), 0 12px 28px rgba(29,44,91,0.10);

  --maxw: 720px;        /* page max width on tablet */
  --maxw-pc: 1080px;    /* on PC */
}

/* reset */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin:0; padding:0; }
html { -webkit-text-size-adjust: 100%; }
body{
  font-family:"Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul{ list-style:none; padding:0; margin:0; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 16px;
  background: rgba(251,246,236,0.0);
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.scrolled{
  background: rgba(251,246,236,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(29,44,91,0.06);
}
.site-header.scrolled .logo-text { color: var(--ink); }
.site-header.scrolled .logo-mark svg path { fill: var(--ink); }

.logo{
  display:flex; align-items:center; gap: 8px;
  min-height: 44px; padding: 4px 6px;
}
.logo-mark{
  width: 32px; height: 32px; display:inline-flex;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}
.logo-mark svg{ width:100%; height:100%; }
.logo-text{
  display:flex; flex-direction:column; line-height: 1; color:#fff;
  font-family:"Quicksand", sans-serif; font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.logo-line1{ font-size: 16px; }
.logo-line2{ font-size: 10px; opacity: 0.95; margin-top: 2px; letter-spacing: 0.18em; }

.hamburger{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 5px;
  box-shadow: var(--shadow-1);
}
.hamburger span{
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* slide-in menu */
.site-menu{
  position: fixed;
  top: 0; right: 0;
  width: min(78vw, 340px);
  height: 100dvh;
  background: var(--cream);
  z-index: 60;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -8px 0 24px rgba(29,44,91,0.12);
  padding-top: 64px;
  overflow-y: auto;
}
.site-menu.open{ transform: translateX(0); }
.menu-inner{ padding: 8px 24px 32px; }
.site-menu li a{
  display: block;
  padding: 16px 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px dashed rgba(29,44,91,0.15);
  min-height: 44px;
}
.menu-foot{
  margin-top: 24px;
  font-size: 11px;
  color: var(--ink-mute);
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0.08em;
}
.menu-scrim{
  position: fixed; inset: 0;
  background: rgba(29,44,91,0.4);
  z-index: 55;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.menu-scrim.show{ opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero{
  margin-top: -60px;   /* tuck under sticky header */
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(214, 70%, 25%);
  container-type: inline-size;
}

/* 閉じカーテン（疑似要素で表示） */
.hero::before,
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 10;
  background-image: url("https://labo-ito-party.jp/wp-content/uploads/2025/12/cs_curtain.webp");
  background-repeat:no-repeat;
  background-size:cover;
  opacity: 1;
  pointer-events:none;
  will-change: transform, opacity;
  animation-duration: 2.8s;
  animation-timing-function: ease-in-out;
  animation-delay: 0.15s;
  animation-fill-mode: forwards;
}
.hero::before{
  clip-path: inset(0 50% 0 0);
  background-position: left center;
  animation-name: curtain-open-left;
}
.hero::after{
  clip-path: inset(0 0 0 50%);
  background-position: right center;
  animation-name: curtain-open-right;
}

/* 背景画像（stage/curtain）共通 */
.hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-stage{ z-index: 1; }
.hero-curtain{ z-index: 2; }

/* 子ども画像 共通 */
.hero__kids{
  position: absolute;
  z-index: 3;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transform-origin: 50% 85%;
  will-change: transform, opacity;
}

/* ヒーロー ブランドタイトル */
.hero__brand{
  position: absolute;
  z-index: 4;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  font-family: "Bowlby One", "Fredoka", "Quicksand", sans-serif;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-shadow:
    0 0 1px rgba(29, 44, 91, 0.5),
    0 4px 0 rgba(29, 44, 91, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.45);
  -webkit-text-stroke: 2px #1d2c5b;
  paint-order: stroke fill;
}
.hero__brand-line1{
  display: block;
  font-size: clamp(20px, 5vw, 40px);
  letter-spacing: 0.18em;
}
.hero__brand-line2{
  display: block;
  font-size: clamp(32px, 9vw, 64px);
  margin-top: 0.1em;
  white-space: nowrap;
}

.hero__brand,
.hero-kids-dancing,
.hero-kids-romejuli{
  opacity: 0;
}

.hero__brand{ animation: hero-fade-up 1.2s ease-out forwards; animation-delay: 1.2s; }

.hero-kids-dancing{
  width: clamp(0px, 40cqw, 540px);
  left: 32%;
  top: 72%;
  animation:
    hero-fade-up 1.2s ease-out forwards,
    kids-bounce 2.8s ease-in-out infinite;
  animation-delay: 2.6s, 3.8s;
}
.hero-kids-romejuli{
  width: clamp(0px, 26cqw, 330px);
  left: 68%;
  top: 65%;
  animation:
    hero-fade-up 1.2s ease-out forwards,
    romejuli-act 6.2s cubic-bezier(.2,.8,.2,1) infinite;
  transform-origin: 55% 88%;
  animation-delay: 2.6s, 3.8s;
}

@keyframes hero-fade-up{
  from{ opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to  { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes curtain-open-left{
  0%   { transform: translateX(0);    opacity: 1; }
  60%  { transform: translateX(-55%); opacity: .25; }
  100% { transform: translateX(-120%);opacity: 0; }
}
@keyframes curtain-open-right{
  0%   { transform: translateX(0);    opacity: 1; }
  60%  { transform: translateX(55%);  opacity: .25; }
  100% { transform: translateX(120%); opacity: 0; }
}
@keyframes kids-bounce{
  0%   { transform: translate(-50%, -50%) scale(1) rotate(-0.5deg); }
  25%  { transform: translate(-50%, -52%) scale(1.02) rotate(0.5deg); }
  50%  { transform: translate(-50%, -50%) scale(1) rotate(-0.3deg); }
  75%  { transform: translate(-50%, -51%) scale(1.01) rotate(0.3deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(-0.5deg); }
}
@keyframes romejuli-act{
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  25%  { transform: translate(-50%, -49%) scale(1.01) rotate(-1.5deg); }
  55%  { transform: translate(-48.5%, -50%) scale(1.04) rotate(0.8deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

.hero-copy{
  position: relative;
  text-align: center;
  padding: 16px 24px 20px;
  background: var(--cream);
}
.hero-title{
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 8px;
}
.hero-title span{ display: block; }
.hero-sub{
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}
.hero-note{
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.dec{ position: absolute; pointer-events: none; opacity: 0.9; }
.dec-stars-left{ width: 54px; top: 10px; left: 8px; transform: rotate(-12deg); }
.dec-leaves-right{ width: 54px; top: 14px; right: 8px; transform: rotate(8deg); }

/* ═══════════════════════════════════════════════════════════════
   PRIMARY CTA
   ═══════════════════════════════════════════════════════════════ */
.cta-btn{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 20px;
  min-height: 56px;
  background: linear-gradient(180deg, var(--coral-2), var(--coral));
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 0 rgba(192, 99, 67, 0.4), 0 8px 18px rgba(237,138,108,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-btn:active{
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(192, 99, 67, 0.4), 0 4px 10px rgba(237,138,108,0.35);
}
.cta-icon{
  width: 24px; height: 24px;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.cta-icon svg{ width: 100%; height: 100%; }
.cta-text{ flex: 1; text-align: left; }
.cta-arrow{
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════ */
.cat-nav{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cat-card{
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 10px 10px 10px 8px;
  position: relative;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(29,44,91,0.04);
  min-height: 64px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:active{ transform: translateY(1px); }
.cat-card--c1{ background: linear-gradient(180deg, #fbe9e4, #fff); }
.cat-card--c2{ background: linear-gradient(180deg, #fff5e0, #fff); }
.cat-card--c3{ background: linear-gradient(180deg, #e6efe1, #fff); }
.cat-card--c4{ background: linear-gradient(180deg, #e3ecf6, #fff); }
.cat-card .cat-ico img{ filter: drop-shadow(0 2px 4px rgba(29,44,91,0.12)); }
.cat-ico{
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.cat-ico img{
  width: 145%; height: 145%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(29,44,91,0.10));
}
.cat-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.cat-card::after{
  content: '›';
  color: var(--coral);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 2px;
}
.cat-title{
  font-family:"Quicksand", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cat-sub{
  font-size: 11px;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-title-dup{
  display: none;
}
.cat-sub-dup{
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS  (shared)
   ═══════════════════════════════════════════════════════════════ */
.section{
  position: relative;
  isolation: isolate;
  padding: 40px 20px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-head{
  text-align: center;
  margin-bottom: 22px;
}
.section-en{
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-jp{
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.04em;
}
.section-rule{
  display: block;
  width: 32px; height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}

.lead{
  text-align: center;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 auto 12px;
  max-width: 36em;
  text-wrap: pretty;
}
.lead-sm{
  font-size: 13px;
  color: var(--ink-mute);
}

/* section bg colors */
.section-whats { background: var(--pink); }
.section-ito   { background: var(--mint); }
.section-intl  { background: var(--sky); }
.section-class { background: var(--cream); }
.section-trial { background: var(--mint); }
.section-blog  { background: var(--cream); }
.section-members { background: var(--sky); }

/* widen full-bleed bg behind section while keeping content centered */
.section{ width: auto; }
.section::before{
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}

/* full-bleed bg trick:  use wrappers */
section.section{ max-width: none; }
.section > *{ max-width: var(--maxw); margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.section > .dec-float{ z-index: 0; max-width: none; margin: 0; }
.section > .section-head{ display: block; }

/* ═══════════════════════════════════════════════════════════════
   WAVE DIVIDERS
   ═══════════════════════════════════════════════════════════════ */
.wave{
  display: block;
  width: 100%;
  height: 30px;
  line-height: 0;
  position: relative;
  margin: -1px 0;
}
.wave svg{ width: 100%; height: 100%; display: block; }
/* All waves use the same downward-fill SVG path:
   background = top (previous) section color
   path fill  = bottom (next) section color */
.wv-cream-mint  { background: var(--cream); }
.wv-cream-mint  svg path{ fill: var(--mint); }
.wv-cream-pink  { background: var(--cream); }
.wv-cream-pink  svg path{ fill: var(--pink); }
.wv-pink-mint   { background: var(--pink); }
.wv-pink-mint   svg path{ fill: var(--mint); }
.wv-mint-sky    { background: var(--mint); }
.wv-mint-sky    svg path{ fill: var(--sky); }
.wv-mint-sky2   { background: var(--mint); }
.wv-mint-sky2   svg path{ fill: var(--sky); }
.wv-sky-cream   { background: var(--sky); }
.wv-sky-cream   svg path{ fill: var(--cream); }
.wv-cream-coral { background: var(--cream); }
.wv-cream-coral svg path{ fill: var(--coral-bg); }
.wv-coral-cream { background: var(--coral-bg); }
.wv-coral-cream svg path{ fill: var(--cream); }
.wv-coral-mint  { background: var(--coral-bg); }
.wv-coral-mint  svg path{ fill: var(--mint); }

/* ═══════════════════════════════════════════════════════════════
   PHOTO / PLACEHOLDER CARDS
   ═══════════════════════════════════════════════════════════════ */
/* photo-card: wrapper hugs the image; centered via auto margins */
.photo-card{
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--paper);
  line-height: 0;
}
.photo-card img{
  display: block;
  max-width: 560px;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* center the card and let it hug image width (capped by viewport) */
.section > .photo-card{
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* on small screens, ensure image scales down; card hugs its image and stays centered */
@media (max-width: 600px){
  .photo-card img{ max-width: 100%; }
  .section > .photo-card{ width: max-content; max-width: 100%; }
}

.placeholder-card{
  margin: 20px auto;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: var(--shadow-1);
}
.ph-stripes{
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(29,44,91,0.04) 0 12px,
      rgba(29,44,91,0.0) 12px 24px),
    linear-gradient(180deg, var(--cream-2), #fff);
}
.ph-label{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  background: rgba(255,255,255,.85);
  padding: 6px 12px;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   LINK LIST
   ═══════════════════════════════════════════════════════════════ */
.link-list{
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  margin-top: 20px;
}
.link-list li + li{ border-top: 1px solid rgba(29,44,91,0.06); }
.link-list a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  gap: 12px;
}
.link-list .chev{
  color: var(--coral);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   GHOST BTN GROUPS
   ═══════════════════════════════════════════════════════════════ */
.dual-btns, .trio-btns{
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.dual-btns{ grid-template-columns: 1fr 1fr; }
.trio-btns{ grid-template-columns: 1fr; }
.ghost-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1.5px solid rgba(29,44,91,0.10);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform .15s ease, border-color .2s ease;
}
.ghost-btn:active{ transform: translateY(1px); }
.ghost-btn--full{ width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   CLASS LIST
   ═══════════════════════════════════════════════════════════════ */
.class-list{
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.class-row{
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-1);
  position: relative;
  border-left: 6px solid var(--coral);
}
.class-row--playroom { border-left-color: oklch(78% 0.10 20); }
.class-row--kid      { border-left-color: oklch(82% 0.12 70); }
.class-row--elem     { border-left-color: oklch(78% 0.12 145); }
.class-row--high     { border-left-color: oklch(75% 0.10 230); }
.class-row--fellow   { border-left-color: oklch(72% 0.10 290); }

.class-tag{
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.class-age{
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin: 2px 0 12px;
}
.class-times{
  display: grid;
  gap: 6px;
  border-top: 1px dashed rgba(29,44,91,0.10);
  padding-top: 10px;
}
.class-times li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.class-times .day{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 2px 8px;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.class-times .time{
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   TRIAL & ACCESS
   ═══════════════════════════════════════════════════════════════ */
.info-card{
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 24px 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-1);
}
.info-title{
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.info-en{
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
}
.cta-btn--inline{ margin-top: 4px; }

.tel-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7ee, #fdeee0);
  border: 1.5px solid var(--coral-2);
  min-height: 56px;
}
.tel-btn > .tel-text{
  display: flex; flex-direction: column; align-items: flex-start;
}
.tel-ico{
  width: 36px; height: 36px;
  display: inline-flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  flex-shrink: 0;
}
.tel-ico svg{ width: 18px; height: 18px; }
.tel-num{
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--coral);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.tel-sub{
  font-size: 11px;
  color: var(--ink-mute);
}

.access-text{
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.8;
}
.map-embed{
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(29,44,91,0.06);
  box-shadow: var(--shadow-1);
}
.map-embed iframe{
  display: block;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════════ */
.blog-list{
  margin-top: 18px;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.blog-list li + li{ border-top: 1px solid rgba(29,44,91,0.06); }
.blog-list a{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 20px;
  min-height: 56px;
}
.blog-date{
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--coral);
}
.blog-title{
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBERS
   ═══════════════════════════════════════════════════════════════ */
.member-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}
.member-list a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  min-height: 48px;
  background: var(--paper);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(29,44,91,0.05);
}
.member-list a::after{ content: '›'; color: var(--coral); font-size: 18px; }

.search{
  margin-top: 20px;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(29,44,91,0.08);
  border-radius: var(--r-pill);
  padding: 4px 6px 4px 18px;
  height: 48px;
}
.search input{
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  font-size: 14px;
  min-width: 0;
}
.search button{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
}
.search button svg{ width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer{
  position: relative;
  background: linear-gradient(180deg, #1d2c5b 0%, #16224a 100%);
  color: #fff;
  padding: 80px 20px 100px;     /* extra bottom for tab bar */
  overflow: hidden;
}
.footer-stage{ position: absolute; inset: 0; }
.footer-stars{
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 32% 70%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(2px 2px at 60% 30%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 60%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2px 2px at 88% 18%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 50%, rgba(255,255,255,.7), transparent 60%);
}
.footer-inner{
  position: relative;
  text-align: center;
}
.footer-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand{
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.footer-copy{
  margin: 8px 0 0;
  font-size: 11px;
  opacity: 0.7;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM TAB BAR
   ═══════════════════════════════════════════════════════════════ */
.tab-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(29,44,91,0.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(29,44,91,0.06);
}
.tab-bar a{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px 10px;
  min-height: 56px;
  font-size: 10px;
  color: var(--ink-soft);
  font-weight: 600;
}
.tab-bar a svg{ width: 20px; height: 20px; }
.tab-bar a:active{ color: var(--coral); }

/* ═══════════════════════════════════════════════════════════════
   FLOATING DECORATIONS
   ═══════════════════════════════════════════════════════════════ */
.dec-float{
  position: absolute;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
  opacity: 0.7;
  width: 80px;
}
/* A案：統一ルール
   - 主役(a / 末尾なし) : 上右コーナー / mobile 70×55 → desktop 100×80
   - 副 (b)            : 下左コーナー / mobile 50×40 → desktop 75×60
   - 不透明度は1.0で統一（透明PNGで完結）
   - max-width/max-heightで縦長・横長の見た目の重さを揃える
   - 横位置は max() でコンテンツ幅の端にスナップ（ワイド画面でも本文から離れない） */
.dec-float-1,
.dec-float-2,
.dec-float-3,
.dec-float-blog-a,
.dec-float-class-a,
.dec-float-trial-a,
.dec-float-members-a{
  top: 24px;
  right: max(10px, calc((100% - var(--maxw)) / 2 - 60px));
  width: auto; height: auto;
  max-width: 70px; max-height: 55px;
}

.dec-float-1b,
.dec-float-2b,
.dec-float-3b,
.dec-float-blog-b,
.dec-float-class-b,
.dec-float-trial-b,
.dec-float-members-b{
  bottom: 24px;
  left: max(10px, calc((100% - var(--maxw)) / 2 - 50px));
  width: auto; height: auto;
  max-width: 50px; max-height: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE  —  TABLET (≥ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px){
  body{ font-size: 16px; }

  .hero-copy{ padding: 20px 32px 28px; }

  .cat-nav{ grid-template-columns: repeat(2, 1fr); padding: 28px 24px; }

  .section{ padding: 64px 32px 72px; }

  .dual-btns{ max-width: 480px; }
  .trio-btns{ grid-template-columns: repeat(3, 1fr); max-width: 640px; }

  .class-row{ padding: 22px 24px; }
  .class-times{
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 16px;
  }

  .blog-list a{
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 16px;
  }

  .member-list{ grid-template-columns: repeat(2, 1fr); }

  .dec-float-1,
  .dec-float-2,
  .dec-float-3,
  .dec-float-blog-a,
  .dec-float-class-a,
  .dec-float-trial-a,
  .dec-float-members-a{
    top: 32px;
    right: max(20px, calc((100% - var(--maxw)) / 2 - 80px));
    max-width: 100px; max-height: 80px;
  }

  .dec-float-1b,
  .dec-float-2b,
  .dec-float-3b,
  .dec-float-blog-b,
  .dec-float-class-b,
  .dec-float-trial-b,
  .dec-float-members-b{
    bottom: 32px;
    left: max(20px, calc((100% - var(--maxw)) / 2 - 70px));
    max-width: 75px; max-height: 60px;
  }

  .tab-bar{ display: none; }
  .site-footer{ padding-bottom: 60px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE  —  DESKTOP (≥ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px){
  :root{ --maxw: 880px; }
  body{ font-size: 16px; }

  .site-header{ padding: 14px 32px; }

  .hero{ max-height: 720px; }

  .section{ padding: 80px 40px 88px; }

  .cat-nav{ grid-template-columns: repeat(4, 1fr); max-width: var(--maxw-pc); padding: 36px 40px; }
  .cat-card{ padding: 14px 14px 14px 12px; gap: 10px; }
  .cat-ico{ width: 64px; height: 64px; }
  .cat-title{ font-size: 14px; }
  .cat-sub{ font-size: 12px; }

  .section > *{ max-width: var(--maxw); }

  .member-list{ grid-template-columns: repeat(3, 1fr); }

  .lead{ font-size: 15px; }
}

/* prevent iOS auto-zoom on form fields */
@supports(-webkit-touch-callout: none){
  .search input{ font-size: 16px; }
}

/* utility */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* === トップページ ヘッダー余白の修正 === */
/* 1) WP/Cocoon が足す上部余白を打ち消す */
body.labo-home-page { padding-top: 0 !important; }

/* 2) ヘッダーを sticky → fixed にして浮かせる（フロー占有をなくす） */
.labo-home-page .site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
}

/* 3) もう負マージンの潜り込みは不要 */
.labo-home-page .hero { margin-top: 0 !important; }

/* 4) 管理者ログイン時だけ出る WP バーぶんを避ける（任意） */
body.labo-home-page.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.labo-home-page.admin-bar .site-header { top: 46px; }
}
