/* =========================================================
   GOAT – site stylesheet (FULL REWRITE)
   Author: (rewrite)
   ========================================================= */

/* ------------------------------
   0) Reset
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font: inherit;
}

/* ------------------------------
   1) Tokens / Variables
------------------------------ */
:root {
  /* Color */
  --bg: #fffefe;
  --paper: #ffffff;
  --ink: #1f1a1c;
  --muted: #6f6a6b;
  --line: #ece7ea;

  --accent: #d62d2d;   /* rose */
  --accent-2: #990033; /* orange */
  --accent-3: #ffe3ee; /* pale pink */

  /* Layout */
  --container: 1400px;
  --gutter: clamp(12px, 4vw, 64px);

  /* Effects */
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 40px rgba(234, 76, 137, 0.16);

  /* Header */
  --header-h: 80px;
}

/* ------------------------------
   2) Base
------------------------------ */
body {
  background:
    radial-gradient(80% 60% at 0% 0%, #fff5fa 0%, transparent 50%),
    radial-gradient(70% 50% at 100% 0%, #f4eeff 0%, transparent 45%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.75 "Outfit", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
  padding-top: calc(var(--header-h) + 41px); /* fixed header + top banner height */
}

/* ===== Top Banner ===== */
.top-banner {
  background-color: #FFC700; /* 目立つ黄色 */
  color: var(--ink);
  padding: 10px var(--gutter);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 600;
  position: fixed; /* 常に画面上部に固定 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* ヘッダーより手前に表示 */
  width: 100%;
  margin: 0;
  border: none;
  box-shadow: none;
}

.top-banner p {
  margin: 0;
}

.top-banner a {
  text-decoration: underline;
  font-weight: 700;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: 0;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  box-shadow: var(--shadow-lg);
  transition: 0.25s;
}

.btn-outline:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-lg);
}

.btn-ghost:hover {
  transform: translateY(-1px);
}

/* Section Title */
.section-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 0px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.03em;
}

/* Pill */
.pill {
  display: inline-block;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  background: var(--accent-3);
  color: #7b3b55;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ------------------------------
   3) Header / Nav
------------------------------ */
/* =========================================================
   ナビゲーション - 完全修正版
   ========================================================= */

/* ===== 基本設定（全デバイス共通） ===== */
.site-header {
  position: fixed;
  top: 0; /* トップバナーがない場合は0 */
  z-index: 1000;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  border-top: none; /* バナーとの隙間を無くす */
  padding: 0 var(--gutter);
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
  transition: top 0.3s ease;
}

.top-banner + .site-header {
  top: 40px; /* トップバナーの高さ - 微調整 */
  margin-top: 0;
  border-top: none;
}

.header-bar,
.container.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  min-height: 80px;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  min-width: 120px;
  max-width: 250px;
  flex-shrink: 0;
  height: 60px;
}

.logo a {
  display: block;
  height: 100%;
  line-height: 0;
}

.logo img {
  max-height: 56px;
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ナビゲーション（PC版） */
.nav {
  display: flex;
  align-items: center;
  height: 60px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-size: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul li {
  display: block;
  margin: 0;
  padding: 0;
}

.nav a {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.2s;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
}

.nav a:hover {
  opacity: 0.7;
}

.nav a i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav .btn {
  padding: 12px 20px;
  border-radius: 24px;
  color: #fff !important;
}

.nav .btn i {
  font-size: 16px;
  width: 18px;
  color: #fff !important;
}

/* ハンバーガーメニューボタン（初期状態は非表示） */
.nav-toggle {
  display: none;
}

/* ===== スマホ対応（761px以下） ===== */
@media (max-width: 761px) {
  body {
    padding-top: calc(64px + 50px); /* スマホ用ヘッダー高さ + バナー高さ */
  }

  .top-banner {
    padding: 10px var(--gutter);
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .top-banner + .site-header {
    top: 48px; /* スマホでのバナー高さ - 微調整 */
    margin-top: 0;
  }

  .site-header {
    min-height: 64px;
  }

  .header-bar,
  .container.header-bar {
    padding: 12px 0;
    min-height: 64px;
  }

  .logo {
    height: 48px;
  }

  .logo img {
    max-height: 40px;
    height: 40px;
  }

  /* ハンバーガーメニューボタン */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 52px; /* 少し大きく */
    height: 52px; /* 少し大きく */
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 2000;
  }

  .nav-toggle__icon {
    display: flex;
    flex-direction: column;
    gap: 5px; /* バーの間隔を少し広げる */
    height: auto;
  }

  .nav-toggle__bar {
    width: 24px; /* バーを少し長く */
    height: 2.5px; /* バーを少し太く */
    background: #333;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-toggle__label {
    font-size: 10px;
    color: #444;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  /* メニューが開いた時のハンバーガーアイコン */
  .is-menu-open .nav-toggle__icon .nav-toggle__bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg); /* アニメーション位置を調整 */
  }

  .is-menu-open .nav-toggle__icon .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .nav-toggle__icon .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg); /* アニメーション位置を調整 */
  }

  /* ナビゲーションメニュー（スマホ版） */
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    height: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 20px 16px;
    max-height: calc(100vh - 80px - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    /* 初期状態：非表示 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s linear 0.3s;
    /* スクロールバーを非表示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  /* トップバナーがない場合 */
  .site-header .nav {
    top: 80px;
  }
  /* トップバナーがある場合 */
  .top-banner + .site-header .nav {
    top: 105px; /* 41px (banner) + 64px (header) */
  }

  /* メニューが開いた時 */
  .is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.35s,
      transform 0.35s,
      visibility 0s;
  }

  /* ul を縦並びに */
  .nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* li 項目 */
  .nav ul li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .nav ul li:last-child {
    border-bottom: none;
  }

  /* a リンク */
  .nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 12px !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 15px !important;
  }

  .nav a i {
    font-size: 18px !important;
    width: 20px !important;
  }

  /* ボタン */
  .nav .btn {
    margin-top: 8px;
    padding: 14px 20px !important;
    color: #fff !important;
  }

  .nav .btn i {
    color: #fff !important;
  }
}

/* ------------------------------
   4) Footer
------------------------------ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 0px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 48px 0 32px;
  align-items: flex-start;
}

.footer-brand .footer-logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-logo img {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 8px;
}

.footer-brand .footer-meta {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-btn {
  margin-top: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 20px;
}

.footer-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: #333;
}

.footer-links ul {
  display: grid;
  gap: 4px;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 16px;
  color: var(--muted);
  font-size: 0.75rem;
}

/* スマホ */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 16px 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .footer-brand .footer-meta {
    font-size: 0.85rem;
  }

  .footer-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ------------------------------
   5) HERO
------------------------------ */
.hero {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 245, 250, 0.05), rgba(244, 238, 255, 0.2)),
    url("../../images/hero-bg.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.hero-2 {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 245, 250, 0.05), rgba(244, 238, 255, 0.2)),
    url("../../images/back-02.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.hero-3 {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 245, 250, 0.05), rgba(244, 238, 255, 0.2)),
    url("../../images/back-03.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 40%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.hero__col {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px);
}

.eyebrow {
  font-size: clamp(16px, 2.5vw, 28px);
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 800;
}

.hero__title {
  font-weight: 800;
  line-height: 1.15;
  margin: 0.4em 0 0.2em;
}

.hero__title .jp {
  display: block;
  font-size: clamp(28px, 4.6vw, 56px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #ffffff;
}

.hero__title .en {
  display: block;
  margin-top: 0.2em;
  font-size: clamp(22px, 3.4vw, 44px);
  white-space: nowrap;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--paper);
  font-size: 1.05rem;
  margin: 10px 0 24px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 0;
}

.hero__chips li {
  padding: 0.45em 0.8em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero--price {
  background:
    url("../../images/hero-bg-02.jpg") center / cover no-repeat;
}

/* ------------------------------
   6) Features
------------------------------ */
.features {
  padding: 72px var(--gutter);
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 30px auto 72px;
}

.feature-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.92);
}

.feature-card:hover::before {
  opacity: 0.8;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff0);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(234, 76, 137, 0.12);
  margin-bottom: 10px;
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  stroke-width: 2;
}

.feature-card__title {
  margin: 2px 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card__text {
  margin: 0;
  color: var(--ink);
  opacity: 0.9;
  line-height: 1.7;
  font-size: 0.85rem;
}

/* ------------------------------
   7) GOATが選ばれる理由 (kb-benefits)
------------------------------ */
.kb-benefits {
  padding: 72px var(--gutter);
  background:
    radial-gradient(65% 85% at 12% -10%, var(--accent-3) 0%, transparent 60%),
    radial-gradient(60% 70% at 90% 110%, var(--accent-3) 0%, transparent 55%),
    #fff;
}

.kb-benefits .kbb-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.kb-benefits .kb-b-head {
  text-align: center;
  margin-bottom: 28px;
}

.kb-benefits .kb-b-kicker {
  display: inline-block;
  padding: 0.35em 0.8em;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.kb-benefits .kb-b-title {
  margin: 10px 0 8px;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.25;
  font-weight: 900;
  color: #2a2f38;
}

.kb-benefits .grad-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kb-benefits .kb-b-lead {
  margin: 0 auto 8px;
  max-width: 740px;
  color: #536175;
  line-height: 1.9;
}

.kb-benefits .kb-b-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: var(--container);
  margin: 0 auto;
}

.kb-benefits .kb-b-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 12px 32px rgba(14, 21, 47, 0.07),
    0 2px 6px rgba(14, 21, 47, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.kb-benefits .kb-b-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.kb-benefits .kb-b-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px rgba(14, 21, 47, 0.1),
    0 3px 10px rgba(14, 21, 47, 0.06);
}

.kb-benefits .kb-b-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent-3), #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.kb-benefits .kb-b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-benefits .kb-b-content {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kb-benefits .kb-b-ico {
  display: none !important;
}

.kb-benefits .kb-b-ttl {
  margin: 0 0 0.5em;
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--accent);
}

.kb-benefits .kb-b-txt {
  margin: 0;
  color: #2f3d52;
  font-size: 15px;
  line-height: 1.85;
  flex: 1;
  text-align: justify;
  text-justify: inter-ideograph;
}

.kb-benefits .kb-b-cta {
  text-align: center;
  margin-top: 28px;
}

.kb-benefits .kb-b-btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow:
    0 10px 26px color-mix(in srgb, var(--accent) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.kb-benefits .kb-b-btn:hover {
  transform: translateY(-1px);
}

.kb-benefits .kb-b-note {
  margin: 0.6em 0 0;
  color: var(--muted);
  font-size: 13px;
}

.kb-benefits .io {
  opacity: 0;
  transform: translateY(10px);
}

.kb-benefits .io._v {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* ------------------------------
   8) Price Digest
------------------------------ */
.price-digest {
  padding: 72px var(--gutter);
  text-align: center;
}

/* 料金リスト（flexboxベース） */
.price-list {
  position: relative;
  max-width: 500px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.price-list::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.price-list > * {
  position: relative;
  z-index: 1;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.price-item:last-child {
  border-bottom: none;
}

.price-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  flex-shrink: 0;
}

.price-value {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}

.price-digest .btn {
  display: block;
  width: max-content;
  margin: 14px auto 0;
}

/* ------------------------------
   9) Access
------------------------------ */
.access {
  padding: 72px var(--gutter);
  text-align: center;
}

.map-frame {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
  display: block;
}

@media (max-width: 768px) {
  .map-frame iframe {
    height: 420px;
  }
}

/* ------------------------------
   10) CTA bottom
------------------------------ */
.cta {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(140, 122, 230, 0.15) 0%, transparent 60%),
    radial-gradient(120% 120% at 0% 100%, rgba(234, 76, 137, 0.18) 0%, transparent 55%),
    #fff;
  text-align: center;
  padding: 88px var(--gutter);
  border-top: 1px solid var(--line);
}

.cta-title {
  font-size: clamp(20px, 3.2vw, 28px);
  margin: 0 0 16px;
}

/* Fixed CTA (mobile) */
.cta-fixed {
  display: none; /* PCではデフォルトで非表示 */
}

/* スマホ表示（画面幅768px以下）の場合のみ表示 */
@media (max-width: 768px) {
  .cta-fixed {
    display: flex; /* 表示する */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    /* iPhoneのノッチ（下部バー）などを考慮した安全な余白 */
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    justify-content: center;
    align-items: center;
  }
}

.cta-fixed .btn {
  width: 90%;
  max-width: 400px;
  padding: 14px 20px; /* ボタンのサイズ */
  border-radius: 8px; /* 四角いボタンに */
  justify-content: center;
  margin: 0;
  min-width: auto; /* min-widthをリセット */
}

/* =========================================================
   NEWS (Notion feed)
   ========================================================= */

/* Section */
.news-section {
  background: #fff;
  padding: 72px var(--gutter);
}

.news-section > .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Grid: SP1 / TB2 / PC4 */
.news-section .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

@media (min-width: 680px) {
  .news-section .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-section .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.news-section .news-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-section .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.news-section .news-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Media */
.news-section .thumb {
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  overflow: hidden;
}

.news-section .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-section .news-card:hover .thumb img {
  transform: scale(1.05);
}

/* Content paddings */
.news-section .meta {
  padding: 14px 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #555;
}

.news-section .title {
  padding: 6px 20px 0;
  margin: 0;
  color: #111;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-section .excerpt {
  padding: 6px 20px 18px;
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badges */
.news-section .date {
  color: #333;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.news-section .badge-new {
  margin-left: auto;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, #ff4b2b, #ff8a00);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.news-section .cat {
  display: inline-block;
  padding: 0.25em 0.6em;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #4a90e2, #2196f3);
}

/* Footer button */
.news-section .news-footer {
  text-align: center;
  margin-top: 40px;
}

.news-section .news-footer .btn {
  min-width: 220px;
  justify-content: center;
}

/* Small tweaks */
@media (max-width: 599px) {
  .news-section .news-card .meta {
    padding: 12px 16px 0;
  }

  .news-section .news-card .title {
    padding: 6px 16px 0;
    font-size: 15.5px;
  }

  .news-section .news-card .excerpt {
    padding: 6px 16px 16px;
  }

  .news-section .news-card .badge-new {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ------------------------------
   12) Responsive
------------------------------ */
@media (min-width: 680px) {
  .kb-benefits .kb-b-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .kb-benefits .kb-b-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .foot-grid {
  }

  .hero {
    min-height: 60vh;
    background-attachment: scroll;
  }

  .hero__col {
    padding: 48px 20px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   NEWS DETAIL PAGE
   ========================================================= */
.news-detail-section {
  background: #fff;
  padding: 80px var(--gutter) 100px;
  min-height: 60vh;
}

/* Loading & Error */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* Article Container */
.news-detail {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

/* Hero Image */
.detail-hero {
  margin: 0 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Header */
.detail-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--line);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px;
}

.detail-meta .cat {
  display: inline-block;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #4a90e2, #2196f3);
}

.detail-meta .date {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.detail-meta .badge-new {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, #ff4b2b, #ff8a00);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.detail-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* Content */
.detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.detail-content p {
  margin: 0 0 24px;
}

.detail-content h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  margin: 48px 0 20px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
}

.detail-content h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--ink);
}

.detail-content h4 {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--ink);
}

.detail-content ul,
.detail-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
  list-style: disc;
}

.detail-content ol {
  list-style: decimal;
}

.detail-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.detail-content figure {
  margin: 32px 0;
  text-align: center;
}

.detail-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.detail-content figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Footer */
.detail-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--line);
  text-align: center;
}

.detail-footer .btn {
  min-width: 220px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .news-detail-section {
    padding: 48px 15px 80px;
  }

  .news-detail-section .container {
    padding: 0;
  }

  .news-detail-section .news-detail {
    padding: 0 15px;
  }

  .news-detail-section .detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .detail-title {
    font-size: 22px;
  }

  .news-detail-section .detail-content {
    font-size: 15px;
  }

  .news-detail-section .detail-content h2 {
    margin: 36px 0 16px;
    padding-left: 10px;
  }

  .news-detail-section .detail-content h3 {
    margin: 28px 0 12px;
  }

  .news-detail-section .detail-footer {
    margin-top: 48px;
    padding-top: 32px;
  }

  /* heroセクションのリード文をスマホで小さく */
  .hero__lead {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* heroセクションの背景画像をスマホで最適化 */
  .hero {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 60vh;
  }
}

/* =========================================================
   Price Section Enhancements
   ========================================================= */
.price-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px auto;
  max-width: 1024px;
}

.price-plan {
  flex: 1;
}

.price-table {
  margin-bottom: 0;
  height: 100%;
}

.campaign-info {
  position: relative;
  flex: 1;
  padding: 24px;
  background-color: #fffaf8;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.campaign-info::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.campaign-info h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 800;
}

.campaign-info p {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.8;
  margin: 0;
}

.campaign-info p span {
  color: var(--accent);
  font-size: 1.5em;
}

.campaign-info .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: normal;
}

@media (min-width: 768px) {
  .price-grid {
    flex-direction: row;
    align-items: stretch;
  }
}

/* SP: campaign-info font size adjustment */
@media (max-width: 767px) {
  .campaign-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .campaign-info p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .campaign-info p span {
    font-size: 1.4em;
  }

  .campaign-info .note {
    font-size: 0.8rem;
  }
}

/* ===== Price Digest Section Styles ===== */

/* 料金プランの枠デザイン */
.price-plan {
  position: relative;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
}

.price-plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

/* 料金リストのスマホ対応 */
.price-list {
  max-width: 100%;
  margin: 0 0 18px;
}

.price-item {
  padding: 16px 20px;
  gap: 12px;
}

.price-name {
  font-size: 0.95rem;
}

.price-value {
  font-size: 1.05rem;
}

/* ===========================================
   全ボタン・バッジなどのグラデーション撤廃
   =========================================== */
.btn-primary,
.kb-b-btn,
.cta .btn-primary,
.cta-fixed .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  box-shadow: 0 3px 10px rgba(214, 45, 45, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover,
.kb-b-btn:hover,
.cta .btn-primary:hover,
.cta-fixed .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(214, 45, 45, 0.4);
}

/* アウトラインボタン（グラデーション統一） */
.btn-outline {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
}

.btn-outline:hover {
  transform: translateY(-1px);
}

/* 小バッジやラベル類 */
.kb-benefits .kb-b-kicker,
.news-section .badge-new,
.news-section .cat,
.pill {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

/* グラデ削除＋タイトル強調 */
.grad-text,
.feature-card__title {
  background: none;
  color: var(--ink);
}

/* 最終トークン上書き */
:root {
  --accent: #e50914; /* 赤（Netflix系の深みのある赤） */
  --accent-dark: #b0060f; /* hover時の赤 */
  --ink: #111; /* 黒 */
  --paper: #fff; /* 白 */
}

/* 決定版ヘッダー/ラベル */
.news-section .section-header,
.section-header {
  text-align: center !important;
  margin-bottom: 48px;
}

.news-section .section-label,
.section-label {
  display: inline-block !important;
  margin-bottom: 1rem !important;
  padding: 0.4em 1.2em !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  background: var(--accent) !important;
  color: #fff !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  text-align: center !important;
}

.news-section .section-lead,
.section-lead {
  text-align: center !important;
  margin: 8px auto 0 !important;
  max-width: 720px;
}

.hero-campaign__note {
  font-size: 0.7rem; /* 文字サイズを小さく */
  text-align: center;
  margin: 1.25rem 0 0;
  color: #ddd;
  opacity: 0.9; /* 少し透明に */
}
.hero-campaign__note a {
  color: #fff;
  text-decoration: underline;
}
/* ヒーローセクションのキャンペーン */
.hero__title--campaign .jp {
  font-size: clamp(24px, 4vw, 48px);
}
.hero__title--campaign .en {
  font-size: clamp(18px, 2.8vw, 36px);
}

.hero-campaign {
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 640px; /* 少し幅を広げます */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.hero-campaign__list {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  gap: 1rem;
}

.hero-campaign__list li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.hero-campaign__list li span {
  font-size: 0.9rem;
  color: #eee;
  margin-bottom: 0.5rem; /* 少し間隔を広げます */
  font-weight: 600;
}
.hero-campaign__list li span small {
  font-size: 0.8em;
  text-decoration: line-through;
  opacity: 0.8;
}

/* 金額を目立たせるための新しいスタイル */
.price-highlight {
  background-color: var(--accent);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 3px solid #fff;
}

.hero-campaign__list li strong {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem; /* サイズを小さい方に統一 */
  font-weight: 800;
  color: #fff; /* 色を白に */
  line-height: 1;
  text-shadow: none; /* テキストシャドウを削除 */
}

.hero-campaign__list li strong small {
  font-size: 0.4em;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 640px) {
  .hero-campaign {
    /* スマホ表示で左右に余白を追加 */
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero-campaign__list {
    /* 縦並びを解除し、要素間の隙間を調整 */
    gap: 0.5rem;
    align-items: flex-start; /* 上揃えにする */
  }
  .hero-campaign__list li span {
    font-size: 0.75rem; /* ラベルの文字を少し小さく */
    min-height: 2.5em; /* 高さを確保してガタつき防止 */
  }

  .price-highlight {
    /* 円を小さくする */
    width: 90px;
    height: 90px;
  }
  .hero-campaign__list li strong {
    /* 円の中の文字を小さくする */
    font-size: 1.8rem; /* スマホでのサイズを小さい方に統一 */
  }
}

/* 限定人数のバッジ */
.campaign-limit {
  display: inline-block;
  padding: 0.3em 1em;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
}

.hero-campaign .campaign-limit {
  color: #fff;
  border-color: #fff;
}

/* 料金ページの限定バッジを塗りつぶしスタイルに */
.campaign-info .campaign-limit {
  background-color: var(--accent);
  color: #fff;
}

/* ====================================
   アクセス・ページ固有のスタイル (access.html)
   ==================================== */

/* ヒーローセクションの調整（priceと同じく、背景画像をアクセス用に変更する想定） */
/* .hero--access {
    background-image: url('../images/hero-access.jpg');
    background-position: center center;
} */

/* 道順ステップのレイアウト */
.direction-guide .steps {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

/* ステップカードの基本スタイル */
.step-card {
    background-color: var(--white); /* 背景は白など、清潔感のある色 */
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-card h4 {
    font-size: 1.25rem;
    color: var(--primary); /* プランマーの色を使う */
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent); /* アクセントカラーで区切り線 */
}

.step-card img {
    width: 100%;
    height: auto;
    max-height: 250px; /* 画像の高さを制限 */
    object-fit: cover;
    margin-top: 15px;
    border-radius: 4px;
}


/* レスポンシブ対応 (2列レイアウト) */
@media (min-width: 768px) {
    .direction-guide .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* feature-card-grid (所在地情報) の微調整は既存スタイルを使用 */

/* ====================================
   コンセプト・ページ固有のスタイル (concept.html)
   ==================================== */

/* under-construction セクションのスタイル */
.under-construction {
    background-color: var(--light-gray); /* 背景に薄い色を付けて強調 */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.under-construction i {
    /* アイコンの揺れアニメーション */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/*
 * btn-secondary スタイル案
 * プライマリボタンとは対照的に、目立たせすぎないデザインにする
 */

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px; /* primaryと同じ丸み */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    
    /* 基本デザイン: 輪郭線（アウトライン） */
    color: var(--primary, #007bff); /* 文字色はプライマリカラー */
    background-color: transparent; /* 背景は透明 */
    border: 2px solid var(--primary, #007bff); /* プライマリカラーの線 */
}

/* ホバー時のデザイン */
.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--white, #ffffff); /* 文字色は白に反転 */
    background-color: var(--primary, #007bff); /* 背景色をプライマリカラーに反転 */
    border-color: var(--primary, #007bff);
}

/* ====================================
   クラス・ページ固有のスタイル (class.html)
   ==================================== */

/* クラスカードグリッド */
.class-card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.class-card {
    background-color: var(--paper);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.class-card__thumb img {
    width: 100%;
    height: 200px; /* 画像の高さを統一 */
    object-fit: cover;
}

.class-card__body {
    padding: 20px;
}

.class-card .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: var(--white);
}

/* タグの色分け（テーマカラーに合わせ調整してください） */
.tag--beginner {
    background-color: var(--accent); /* プライマリ/アクセントカラー */
}
.tag--fitness {
    background-color: #f7a800; /* オレンジ系 */
}
.tag--technique {
    background-color: #17a2b8; /* シアン系 */
}

.class-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--ink);
}

.class-card__text {
    font-size: 0.95rem;
    color: var(--muted);
}


/* タイムテーブル */
.timetable-wrapper {
    overflow-x: auto; /* スマホで横スクロール可能にする */
}

.timetable {
    width: 100%;
    min-width: 700px; /* スマホでも見やすい最小幅を設定 */
    border-collapse: collapse;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden; /* 角丸を効かせる */
}

.timetable th,
.timetable td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--line);
    font-size: 0.9rem;
}

.timetable thead th {
    background-color: var(--primary, #d62d2d); /* テーマカラー */
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.timetable tbody tr:nth-child(even) {
    background-color: var(--paper-hover); /* 縞模様で読みやすく */
}

.timetable .time-slot {
    font-weight: 700;
    background-color: var(--light-gray);
    color: var(--ink);
    width: 100px; /* 時間帯の列幅を固定 */
}

.timetable td {
    color: var(--muted);
}


