/* =====================================================
   STEP UP BUMPS モック デザインシステム
   ブランドカラー: ロゴ（赤い家・青STEP・黄緑UP・緑BUMPS）
   ===================================================== */
:root {
  --c-primary: #e04a1a;        /* 家ロゴの赤オレンジ */
  --c-primary-dark: #b93708;
  --c-primary-pale: #fdf0e9;
  --c-step: #2b7ec7;           /* STEP ブルー */
  --c-step-pale: #e9f2fa;
  --c-bumps: #4e9e3f;          /* BUMPS グリーン */
  --c-bumps-pale: #eef7ea;
  --c-up: #c9a400;             /* UP イエロー */
  --c-ink: #22292f;
  --c-text: #3d4650;
  --c-muted: #77828d;
  --c-line: #e4e8ec;
  --c-bg: #f5f7f9;
  --c-snow: #fbfdff;
  --c-danger: #c0392b;
  --c-danger-pale: #fdecea;
  --c-warn: #b8860b;
  --c-warn-pale: #fdf6e3;
  --radius-s: 4px;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow: 0 2px 10px rgba(30, 45, 60, .08);
  --shadow-up: 0 8px 28px rgba(30, 45, 60, .14);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
  --fs-xs: .72rem; --fs-sm: .84rem; --fs-base: .95rem;
  --fs-h3: 1.15rem; --fs-h2: 1.55rem; --fs-h1: clamp(1.9rem, 4.5vw, 2.9rem);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-jp); font-size: var(--fs-base);
  color: var(--c-text); background: var(--c-snow); line-height: 1.8;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-step); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--c-ink); line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.ta-c { text-align: center; } .ta-r { text-align: right; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.small { font-size: var(--fs-sm); } .muted { color: var(--c-muted); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.9rem; border-radius: var(--radius-pill);
  background: var(--c-primary); color: #fff; font-weight: 700;
  border: none; cursor: pointer; font-size: var(--fs-base);
  transition: background .15s;
}
.btn:hover { background: var(--c-primary-dark); text-decoration: none; }
.btn.is-blue { background: var(--c-step); }
.btn.is-blue:hover { background: #1f63a0; }
.btn.is-green { background: var(--c-bumps); }
.btn.is-green:hover { background: #3d7f30; }
.btn.is-ghost { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn.is-ghost:hover { border-color: var(--c-ink); }
.btn.is-sm { padding: .45rem 1.1rem; font-size: var(--fs-sm); }
.btn.is-lg { padding: 1rem 2.6rem; font-size: 1.05rem; }
.btn.is-block { display: flex; width: 100%; justify-content: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--c-ink); font-weight: 800; flex: none; }
.brand:hover { text-decoration: none; }
.brand svg { height: 34px; width: auto; }
.brand .word { font-family: var(--font-en); font-size: 1.02rem; letter-spacing: .04em; line-height: 1.15; }
.brand .word .s { color: var(--c-step); } .brand .word .u { color: var(--c-up); } .brand .word .b { color: var(--c-bumps); }
.brand .sub { display: block; font-size: .6rem; color: var(--c-muted); letter-spacing: .14em; }
/* ヘッダー連絡先 */
.h-contact { display: flex; align-items: center; gap: .8rem; margin-left: .8rem; flex: none; }
.h-tel { display: flex; align-items: center; gap: .45rem; color: var(--c-ink); }
.h-tel:hover { text-decoration: none; color: var(--c-primary); }
.h-tel svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
.h-tel .t b { display: block; font-family: var(--font-en); font-size: .95rem; line-height: 1.15; }
.h-tel .t i { display: block; font-style: normal; font-size: .6rem; color: var(--c-muted); line-height: 1.2; }
.h-line svg { width: 30px; height: 30px; display: block; }
.h-line:hover { opacity: .85; }
.gnav { margin: 0 auto; display: flex; gap: .2rem; align-items: center; }
.g-item { position: relative; }
.gnav a {
  padding: .45rem .85rem; border-radius: var(--radius-pill);
  color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
}
.gnav a:hover { background: var(--c-primary-pale); text-decoration: none; color: var(--c-primary); }
.gnav a.is-active { background: var(--c-primary-pale); color: var(--c-primary); }
/* ドロップダウン */
.has-sub > a::after { content: ""; display: inline-block; margin-left: .35rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.has-sub::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.g-sub {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 230px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-s);
  box-shadow: 0 10px 24px rgba(20, 32, 44, .14); padding: .5rem; z-index: 60;
}
.g-sub a { display: block; border-radius: var(--radius-s); font-weight: 500; padding: .55rem .8rem; }
.has-sub:hover .g-sub, .has-sub:focus-within .g-sub { display: block; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--c-primary); color: #fff; font-size: .68rem;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--c-ink); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 30, 45, .12) 40%, rgba(15, 30, 45, .55)); }
.hero .inner { position: relative; z-index: 1; padding: var(--gutter); max-width: var(--maxw); margin: 0 auto; min-height: clamp(420px, 62vh, 580px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero .catch { color: #fff; font-size: var(--fs-h1); font-weight: 800; margin-bottom: .4em; line-height: 1.4; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero .lead { font-size: .95rem; max-width: 34em; color: #eef2f5; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.hero .cta { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ページヒーロー（帯） */
.page-hero { position: relative; color: #fff; overflow: hidden; min-height: 180px; display: flex; align-items: flex-end; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 45, .72), rgba(15, 30, 45, .3)); }
.page-hero .container { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 1.6rem; }
.page-hero .en { font-family: var(--font-en); font-size: .78rem; letter-spacing: .22em; color: #ffd94d; font-weight: 700; }
.page-hero h1 { color: #fff; font-size: var(--fs-h2); margin: .2rem 0 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* パンくず */
.crumbs { font-size: var(--fs-xs); color: var(--c-muted); padding: .7rem 0 0; }
.crumbs a { color: var(--c-muted); }

/* ---------- セクション ---------- */
.section { padding: clamp(2.4rem, 6vw, 4.2rem) 0; }
.section.is-bg { background: var(--c-bg); }
.sec-head { margin-bottom: 1.8rem; }
.sec-head .en { display: block; font-family: var(--font-en); font-size: .78rem; font-weight: 700; letter-spacing: .22em; color: var(--c-primary); }
.sec-head h1, .sec-head h2 { font-size: var(--fs-h2); margin-top: .25rem; }
.sec-head.is-center { text-align: center; }
.sec-head .sub { color: var(--c-muted); font-size: var(--fs-sm); margin-top: .3rem; }

/* ---------- カード ---------- */
.card-grid { display: grid; gap: 1.2rem; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow-up); border-color: #ccd3da; }
.card .thumb { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--c-bg); }
.card .body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.card h3 { font-size: var(--fs-h3); margin: 0; }
.card .tag { align-self: flex-start; }
.card .body p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; flex: 1; }
.card .price { font-weight: 800; color: var(--c-ink); font-size: 1.15rem; }
.card .price small { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 400; }

.tag {
  display: inline-block; padding: .12rem .7rem; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  background: var(--c-primary-pale); color: var(--c-primary);
}
.tag.is-blue { background: var(--c-step-pale); color: var(--c-step); }
.tag.is-green { background: var(--c-bumps-pale); color: var(--c-bumps); }
.tag.is-gray { background: #eef1f4; color: var(--c-muted); }
.tag.is-warn { background: var(--c-warn-pale); color: var(--c-warn); }
.tag.is-danger { background: var(--c-danger-pale); color: var(--c-danger); }

/* ---------- NEWS ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: flex; gap: 1rem; align-items: stretch; padding: .9rem .2rem; border-bottom: 1px solid var(--c-line); }
.n-thumb { flex: none; width: 208px; }
.n-thumb img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; background: var(--c-bg); }
.n-body { flex: 1; min-width: 0; }
.n-meta { display: flex; align-items: center; gap: .7rem; flex-wrap: nowrap; margin-bottom: .2rem; }
.n-meta time { font-family: var(--font-en); font-size: var(--fs-sm); color: var(--c-muted); white-space: nowrap; }
.n-meta .tag { white-space: nowrap; flex: none; }
.news-list .title { color: var(--c-ink); font-weight: 600; line-height: 1.6; }
.news-list a.title:hover { color: var(--c-primary); }
@media (max-width: 720px) {
  .news-list li { gap: .7rem; }
  .n-thumb { width: 124px; }
  .n-meta { gap: .45rem; }
  .n-meta time { font-size: var(--fs-xs); }
  .n-meta .tag { font-size: .62rem; padding: .08rem .5rem; }
}

/* ---------- SNS（Instagram / YouTube / Facebook） ---------- */
.sns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.sns-item h3 { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-base); margin: 0 0 .7rem; }
.sns-item h3 svg { width: 22px; height: 22px; flex: none; }
.sns-item h3 .sub { font-weight: 400; font-size: var(--fs-xs); color: var(--c-muted); margin-left: auto; }
.insta-grid-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.insta-grid-mini a { display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--c-bg); }
.insta-grid-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-grid-mini a:hover img { transform: scale(1.08); }
.yt-embed { aspect-ratio: 16/9; background: #000; }
.yt-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.fb-page { border: 1px solid var(--c-line); border-radius: var(--radius-s); overflow: hidden; background: #fff; }
.fb-cover { display: block; width: 100%; aspect-ratio: 2.7/1; object-fit: cover; }
.fb-body { padding: .6rem .8rem .8rem; }
.fb-name { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; }
.fb-name img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-line); }
.fb-name b { font-size: var(--fs-sm); color: var(--c-ink); display: block; line-height: 1.3; }
.fb-name span { font-size: var(--fs-xs); color: var(--c-muted); }
.fb-post { border-top: 1px solid var(--c-line); padding-top: .55rem; font-size: var(--fs-sm); }
.fb-post .meta { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: .15rem; }
.fb-post p { margin: 0; line-height: 1.6; }
.fb-actions { display: flex; gap: .5rem; padding: 0 .8rem .8rem; }
.fb-like { flex: 1; text-align: center; padding: .4rem; font-size: var(--fs-xs); font-weight: 700; border: 1px solid var(--c-line); border-radius: var(--radius-s); color: var(--c-text); }
.fb-like:hover { background: var(--c-bg); text-decoration: none; }

/* ---------- バナー ---------- */
.banner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.banner { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: .7rem; min-height: 88px; }
.banner img { max-height: 66px; max-width: 100%; width: auto; object-fit: contain; }
.banner:hover { border-color: #bcc6cf; box-shadow: var(--shadow); text-decoration: none; }

@media (max-width: 900px) {
  .sns-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- テーブル ---------- */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: #fff; }
.table th, .table td { padding: .65rem .8rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.table thead th { background: var(--c-bg); color: var(--c-ink); font-weight: 700; white-space: nowrap; }
.table tbody th { color: var(--c-ink); white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.is-dim td { color: var(--c-muted); }

/* ---------- カレンダー ---------- */
.cal-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.cal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--c-line); }
.cal-head h3 { margin: 0; font-size: 1.1rem; }
.cal-head .cal-nav { display: flex; gap: .4rem; }
.cal-head .cal-nav button { border: 1px solid var(--c-line); background: #fff; border-radius: var(--radius-pill); width: 34px; height: 34px; cursor: pointer; color: var(--c-ink); font-size: 1rem; }
.cal-head .cal-nav button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-grid .dow { text-align: center; font-size: var(--fs-xs); font-weight: 700; color: var(--c-muted); padding: .5rem 0; border-bottom: 1px solid var(--c-line); }
.cal-grid .dow.sun { color: var(--c-danger); } .cal-grid .dow.sat { color: var(--c-step); }
.cal-cell { min-height: 86px; border-bottom: 1px solid var(--c-line); border-right: 1px solid var(--c-line); padding: .3rem .35rem; font-size: var(--fs-xs); }
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.is-out { background: var(--c-bg); }
.cal-cell .dnum { font-weight: 700; color: var(--c-muted); font-family: var(--font-en); }
.cal-cell.is-sun .dnum { color: var(--c-danger); } .cal-cell.is-sat .dnum { color: var(--c-step); }
.slot {
  display: block; width: 100%; text-align: left; margin-top: .25rem;
  padding: .18rem .4rem; border-radius: var(--radius-s); border: none; cursor: pointer;
  font-size: .68rem; font-weight: 700; line-height: 1.4; color: #fff; background: var(--c-step);
}
.slot:hover { filter: brightness(1.1); }
.slot.is-green { background: var(--c-bumps); }
.slot.is-orange { background: var(--c-primary); }
.slot.is-full { background: #aab3bc; cursor: not-allowed; }
.slot .cap { opacity: .85; font-weight: 400; }
.slot { word-break: break-all; }
.slot.is-view { cursor: default; }
.slot.is-view:hover { filter: none; }
#cal-list { margin-top: 1.5rem; overflow-x: auto; }
.cal-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--c-muted); margin-top: .7rem; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; }

/* カートサイドバー */
.cart-side { position: sticky; top: 80px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-side header { padding: .9rem 1.1rem; background: var(--c-ink); color: #fff; font-weight: 700; display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.cart-items { list-style: none; margin: 0; padding: .4rem 0; max-height: 320px; overflow: auto; }
.cart-items li { display: flex; gap: .6rem; align-items: center; padding: .6rem 1.1rem; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.cart-items li:last-child { border-bottom: none; }
.cart-items .ci-main { flex: 1; }
.cart-items .ci-name { font-weight: 700; color: var(--c-ink); display: block; }
.cart-items .ci-date { color: var(--c-muted); font-size: var(--fs-xs); }
.cart-items .ci-price { font-weight: 700; white-space: nowrap; }
.cart-items .ci-del { border: none; background: none; color: var(--c-muted); cursor: pointer; font-size: 1rem; padding: .2rem; }
.cart-items .ci-del:hover { color: var(--c-danger); }
.cart-empty { padding: 1.4rem 1.1rem; color: var(--c-muted); font-size: var(--fs-sm); text-align: center; }
.cart-foot { padding: .9rem 1.1rem 1.1rem; border-top: 1px solid var(--c-line); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--c-ink); margin-bottom: .7rem; }
.cart-total .num { font-size: 1.15rem; }

/* ---------- フォーム ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 2rem); }
.form-card + .form-card { margin-top: 1.4rem; }
.f-sec-title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-h3); color: var(--c-ink); margin-bottom: 1rem; }
.f-sec-title .no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-size: .8rem; }
.f-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.f-grid .span2 { grid-column: span 2; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink); margin-bottom: .3rem; }
.field label .req { color: var(--c-danger); font-size: var(--fs-xs); margin-left: .3rem; }
.field label .opt { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 400; margin-left: .3rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field input[type="password"],
.field select, .field textarea {
  width: 100%; padding: .6rem .8rem; border: 1px solid var(--c-line); border-radius: var(--radius-s);
  font: inherit; color: var(--c-ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-step-pale); border-color: var(--c-step); }
.field .hint { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .25rem; }
.check { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--fs-sm); cursor: pointer; }
.check input { margin-top: .3rem; accent-color: var(--c-primary); width: 16px; height: 16px; }

/* 参加者ブロック */
.p-block { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: var(--c-snow); position: relative; }
.p-block h4 { margin: 0 0 .8rem; font-size: var(--fs-base); color: var(--c-ink); display: flex; align-items: center; gap: .6rem; }
.p-block h4 .p-no { font-family: var(--font-en); font-size: .72rem; color: #fff; background: var(--c-step); border-radius: var(--radius-pill); padding: .1rem .65rem; }
.p-block .p-del { position: absolute; top: .9rem; right: 1rem; border: none; background: none; color: var(--c-muted); cursor: pointer; font-size: var(--fs-sm); }
.p-block .p-del:hover { color: var(--c-danger); }
.p-block.is-off { opacity: .55; }
.p-block.is-off input, .p-block.is-off select { pointer-events: none; }
.ec-box { margin-top: .9rem; padding: .8rem .9rem; background: #fff; border: 1px dashed var(--c-line); border-radius: var(--radius-s); }
.ec-box > p { font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink); margin-bottom: .5rem; }
.ec-box .f-grid { gap: .6rem .9rem; }
.same-check { margin-bottom: .8rem; padding: .55rem .8rem; background: var(--c-bumps-pale); border-radius: var(--radius-s); }

/* 同意文 */
.consent-box {
  border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: var(--c-bg); padding: 1rem 1.1rem; font-size: var(--fs-sm);
  max-height: 160px; overflow: auto; margin-bottom: .7rem;
}
.consent-box p { margin: 0 0 .6em; }
.consent-check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; color: var(--c-ink); font-size: var(--fs-sm); }

/* 内訳 */
.sum-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.sum-table th, .sum-table td { padding: .55rem .2rem; border-bottom: 1px solid var(--c-line); }
.sum-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-table tr.total th, .sum-table tr.total td { border-top: 2px solid var(--c-ink); border-bottom: none; font-weight: 800; font-size: 1.05rem; color: var(--c-ink); }
.discount-row td { color: var(--c-bumps); font-weight: 700; }

/* ステップバー */
.steps-bar { display: flex; gap: 0; margin: 0 0 1.6rem; border-radius: var(--radius-pill); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.steps-bar span { flex: 1; text-align: center; padding: .65rem .3rem; font-size: var(--fs-sm); color: var(--c-muted); position: relative; }
.steps-bar span.on { background: var(--c-primary); color: #fff; font-weight: 700; }

/* ---------- 完了・その他 ---------- */
.done-icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: var(--c-bumps-pale); display: flex; align-items: center; justify-content: center; }
.done-icon svg { width: 36px; height: 36px; stroke: var(--c-bumps); }
.note-box { background: var(--c-step-pale); border-radius: var(--radius-s); padding: .9rem 1.1rem; font-size: var(--fs-sm); }
.warn-box { background: var(--c-warn-pale); border-radius: var(--radius-s); padding: .9rem 1.1rem; font-size: var(--fs-sm); }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-ink); color: #cfd6dd; margin-top: 3rem; }
.site-footer .container { padding-top: 2.6rem; padding-bottom: 2rem; }
.f-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .1em; margin: 0 0 .8rem; }
.site-footer p, .site-footer li { font-size: var(--fs-sm); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: #cfd6dd; }
.site-footer a:hover { color: #fff; }
.f-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.f-logo .word { font-family: var(--font-en); font-weight: 800; color: #fff; }
.f-nap span { display: block; }
.copy { text-align: center; font-size: var(--fs-xs); color: #8a939c; border-top: 1px solid #3a424b; margin-top: 2rem; padding-top: 1.2rem; }

/* トースト */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--c-ink); color: #fff; padding: .7rem 1.4rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); opacity: 0; pointer-events: none; transition: .25s; z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================
   管理画面
   ===================================================== */
.admin-body { background: #eef1f5; }
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #1e2732; color: #c7d0da; padding: 1.2rem 0; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-side .a-brand { padding: 0 1.2rem 1rem; border-bottom: 1px solid #313d4b; margin-bottom: .8rem; }
.admin-side .a-brand strong { color: #fff; font-family: var(--font-en); font-size: .95rem; display: block; }
.admin-side .a-brand span { font-size: var(--fs-xs); color: #7f8b98; }
.admin-side nav a { display: flex; gap: .6rem; align-items: center; padding: .55rem 1.2rem; color: #c7d0da; font-size: var(--fs-sm); border-left: 3px solid transparent; }
.admin-side nav a:hover { background: #28323f; color: #fff; text-decoration: none; }
.admin-side nav a.on { background: #28323f; color: #fff; border-left-color: var(--c-primary); }
.admin-side nav .sep { margin: .8rem 1.2rem .3rem; font-size: .62rem; letter-spacing: .15em; color: #6b7885; }
.admin-main { padding: 1.4rem clamp(1rem, 3vw, 2rem) 3rem; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.admin-topbar h1 { font-size: 1.3rem; margin: 0; }
.admin-topbar .who { margin-left: auto; font-size: var(--fs-sm); color: var(--c-muted); }
.a-card { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(20, 30, 40, .07); padding: 1.2rem 1.3rem; }
.a-card + .a-card { margin-top: 1.2rem; }
.a-card h2 { font-size: 1rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.a-grid { display: grid; gap: 1rem; }
.a-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.a-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.a-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(20, 30, 40, .07); padding: 1rem 1.2rem; }
.stat .k { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 700; letter-spacing: .05em; }
.stat .v { font-size: 1.7rem; font-weight: 800; color: var(--c-ink); font-family: var(--font-en); line-height: 1.2; }
.stat .v small { font-size: .8rem; color: var(--c-muted); font-weight: 400; }
.stat.is-alert { border-left: 4px solid var(--c-danger); }
.stat.is-ok { border-left: 4px solid var(--c-bumps); }
.stat.is-info { border-left: 4px solid var(--c-step); }
.stat.is-warn { border-left: 4px solid var(--c-warn); }
.st { display: inline-block; padding: .1rem .6rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.st.pending { background: var(--c-warn-pale); color: var(--c-warn); }
.st.paid { background: var(--c-bumps-pale); color: var(--c-bumps); }
.st.cancelled { background: #eef1f4; color: var(--c-muted); }
.st.refunded { background: #efe9f7; color: #7059a3; }
.st.expired { background: var(--c-danger-pale); color: var(--c-danger); }
.st.open { background: var(--c-step-pale); color: var(--c-step); }
.st.closed { background: #eef1f4; color: var(--c-muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: end; padding: 1rem 1.2rem; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(20, 30, 40, .07); margin-bottom: 1.2rem; }
.filter-bar .field label { font-size: var(--fs-xs); margin-bottom: .15rem; }
.filter-bar .field input, .filter-bar .field select { padding: .4rem .6rem; font-size: var(--fs-sm); }
.a-actions { display: flex; gap: .6rem; margin-left: auto; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #1e2732, #33445a); padding: 1rem; }
.login-card { width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-up); padding: 2rem; }
.login-card .lg-logo { text-align: center; margin-bottom: 1.4rem; }
.participant-mini { font-size: var(--fs-xs); color: var(--c-muted); display: block; }
.progress { height: 6px; border-radius: 3px; background: var(--c-line); overflow: hidden; margin-top: .35rem; }
.progress i { display: block; height: 100%; background: var(--c-bumps); border-radius: 3px; }

/* モック表記 */
.mock-note { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(30, 39, 50, .9); color: #fff; font-size: var(--fs-xs); text-align: center; padding: .3rem; letter-spacing: .05em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  /* ヘッダー: ナビが収まらない幅ではハンバーガー化（電話・LINEの見切れ防止） */
  .site-header .container { gap: .8rem; }
  .brand .sub { display: none; }
  .h-tel .t { display: none; }
  .h-tel svg { width: 20px; height: 20px; }
  .h-contact { order: 2; margin-left: auto; gap: .5rem; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .gnav { position: fixed; inset: 64px 0 auto; background: #fff; flex-direction: column; align-items: stretch; padding: .8rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-up); display: none; max-height: calc(100vh - 64px); overflow-y: auto; }
  .gnav.open { display: flex; }
  .has-sub > a::after { display: none; }
  .has-sub > a { font-weight: 700; }
  .g-sub { display: block; position: static; transform: none; min-width: 0; border: none; border-left: 2px solid var(--c-line); border-radius: 0; box-shadow: none; padding: 0 0 .4rem .9rem; margin: .1rem 0 .5rem .4rem; }
  .g-sub a { padding: .4rem .7rem; }
}
@media (max-width: 900px) {
  .cal-wrap { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .f-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .a-grid.cols-4, .a-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side nav { display: flex; flex-wrap: wrap; }
  .admin-side nav a { border-left: none; border-bottom: 3px solid transparent; }
  .admin-side nav a.on { border-bottom-color: var(--c-primary); }
  .admin-side nav .sep { display: none; }
}
@media (max-width: 720px) {
  .f-grid, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .f-grid .span2 { grid-column: span 1; }
  .cal-cell { min-height: 64px; }
  .steps-bar { flex-wrap: wrap; border-radius: var(--radius-s); }
  .steps-bar span { flex: 1 1 40%; }
}
@media (max-width: 480px) {
  .site-header .container { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand svg { height: 30px; }
  .brand .word { font-size: .92rem; }
}

/* ---- WP legacy content ---- */
.wp-body h3{margin:2rem 0 .8rem;font-size:1.15rem}
.wp-body p{line-height:1.9;margin:.8rem 0}
.wp-body img{max-width:100%;height:auto;border-radius:8px}
.wp-body iframe{max-width:100%;border:0;border-radius:8px}
.wp-body table{border-collapse:collapse}
.wp-body td,.wp-body th{border:1px solid #e2e6ea;padding:.5rem .8rem}
.wp-body .wp-hr{border:0;border-top:1px solid #e2e6ea;margin:2.5rem 0}
.wp-body ul{margin:.8rem 0 .8rem 1.4rem}
.wp-body .acc{color:var(--c-primary)}
.wp-body .acc-g{color:var(--c-bumps)}
.wp-body .lead-catch{font-size:clamp(1.05rem,3vw,1.35rem);font-weight:700;text-align:center;margin:1rem 0 2.2rem;line-height:1.7}
.wp-body .lead-catch small{display:block;font-size:.68em;color:var(--c-muted);font-weight:600;margin-top:.4rem;letter-spacing:.08em}
.wp-body .big-c{font-size:1.15rem;text-align:center;font-weight:700}

.inst-photos{flex:0 0 340px;width:340px;display:flex;gap:.6rem}
.inst-photos img{flex:1;min-width:0;aspect-ratio:1;object-fit:cover;display:block}
@media (max-width:640px){.inst-photos{flex:0 0 100%;width:100%}}

/* レスポンシブ追加: テーブルのはみ出し防止・iOS入力ズーム防止 */
@media (max-width:720px){
  .table{font-size:.78rem}
  .table th,.table td{padding:.45rem .5rem;white-space:normal;overflow-wrap:break-word}
  .field input,.field select,.field textarea{font-size:16px}
}
