/* ★★ヘッダー★★ */
/* スマホのみ表示（PCでは消す） */
.sp-only {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .sp-only {
    display: block !important;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 450px; /* 少し高さを増やして迫力を出す */
  overflow: hidden; /* ズームではみ出した部分をカット */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  background-color: #333; /* 画像読み込み前の保険の色 */
}

/* 背景画像（動かすために別レイヤーにします） */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://event21.co.jp/pic/zumen_hadder.jpg"); /* ★画像パスはそのまま */
  background-size: cover;
  background-position: center;
  z-index: 1;
}
/* 画像を暗くするフィルター（グラデーションで高級感アップ） */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(177, 202, 255, 0.2), rgba(21, 169, 255, 0.4));
  z-index: 2;
}
/* タイトル文字の設定（ふわっと出す） */
.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1200px;
  text-align: center;
  /* 文字がふわっと浮き出るアニメーション */
  animation: fadeUp 1.5s ease-out forwards;
  opacity: 0; /* 最初は隠しておく */
}

.hero-content h1 {
  color: #ffffff !important;
  font-size: 2.4rem; /* 文字サイズ微調整 */
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  margin: 0;
  letter-spacing: 0.05em; 
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px; /* 線の太さ */
  background: #5bbeff; 
  z-index: 4;
}

@keyframes zoomEffect {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); } /* 1.15倍までゆっくり拡大 */
}

@keyframes fadeUp {
  0% { 
    opacity: 0; 
    transform: translateY(20px); /* 少し下から */
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); /* 元の位置へ */
  }
}

/* スマホ用の調整 */
@media (max-width: 768px) {
  .hero-section { height: 300px; }
  .hero-content h1 { font-size: 1.3rem; line-height: 1.5; }
}

 /* ★★パンくずリスト★★*/
#breadcrumbs ol { display: block; text-align: right;padding: 0.8em 1rem; }
#breadcrumbs li { display: inline; }
#breadcrumbs li a { display: inline; }
#breadcrumbs li:after { content: " \f105 "; display: inline; font-family: FontAwesome; }

/* パンくずリスト：最後の矢印を消す */
#breadcrumbs li:last-child::after {
content: none;
}
.message_box1 { text-align: center; }
.message_box1 h2 { font-size: 2rem; font-weight: 600; padding: 0; margin: 5% 0 0; }
.message_box1 h3 { font-size: 2rem; line-height: 3.5rem; padding: 1rem; }
.message_box1 p {
margin: 5% 0 3%;
font-size: 1.6rem;
line-height: 2.5rem;
}

#sign-rec{margin-bottom:120px;width: 50%;margin: auto;}
#sign-rec h4{font-size:30px;font-weight:bold;display:inline-block;border-bottom:dotted 1px #000;line-height:2rem;}
#sign-rec h4 i{font-size:40px;margin-right:5px;}

#sign-rec section{display:flex;position:relative;margin: 14px 0 70px 0;}
#sign-rec section:nth-child(even){display:flex;flex-direction: row-reverse;position:relative;}

#sign-rec section div{display:flex-box;}
#sign-rec section img{display:flex-box;width:95px;height:150px; margin: 0;}

/* ★★★吹き出し★★★ */
.balloonb{position: relative;padding: 20px;width:60%;margin:auto;background-color: #8fd4f3;border-radius: 30px;}
.balloonb::before{content: '';position: absolute;display: block;border-radius: 50%;background-color: #8fd4f3;left: -35px;bottom: 15px;width: 30px;height: 30px;}
.balloonb::after{content: '';position: absolute;display: block;border-radius: 50%;background-color: #8fd4f3;left: -55px;bottom: 10px;width: 15px;height: 15px;}
.balloonb li{list-style:disc;margin-left:1.2rem;font-size:20px}

/* 吹き出しの尻尾 */
#sign-rec section:nth-child(even) .balloonb::before{content: '';position: absolute;display: block;border-radius: 50%;background-color: #8fd4f3;left: auto;right: -35px !important;bottom: 15px;width: 30px;height: 30px;}
#sign-rec section:nth-child(even) .balloonb::after{content: '';position: absolute;display: block;border-radius: 50%;background-color: #8fd4f3;left: auto;right: -55px;bottom: 10px;width: 15px;height: 15px;}
#sign-rec section:nth-child(even) .balloonb a{display:block;position:absolute;right:0;}
#sign-rec section:nth-child(even) img{margin-left:30px;left: 30px}
#sign-rec section:nth-child(odd) img{margin-right:30px;right: -30px}

@media screen and (max-width: 768px) {
  #sign-rec {
    width: 90%;
    margin-bottom: 60px;
  }

  #sign-rec h4 {
    font-size: 24px;
    line-height: 1.6;
  }

  #sign-rec h4 i {
    font-size: 30px;
    margin-right: 4px;
  }

  #sign-rec section,
  #sign-rec section:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0 50px 0;
  }

  #sign-rec section div {
    width: 100%;
  }

  #sign-rec section img,
  #sign-rec section:nth-child(even) img,
  #sign-rec section:nth-child(odd) img {
    width: 80px;
    height: auto;
    margin: 0 0 20px 0;
    right: auto;
    left: auto;
  }

  .balloonb {
    width: 100%;
    padding: 16px;
    border-radius: 20px;
  }

  .balloonb li {
    font-size: 16px;
    margin-left: 1.2rem;
    line-height: 1.7;
  }

  .balloonb::before,
  .balloonb::after,
  #sign-rec section:nth-child(even) .balloonb::before,
  #sign-rec section:nth-child(even) .balloonb::after {
    display: none;
  }

  #sign-rec section:nth-child(even) .balloonb a {
    position: static;
    display: inline;
  }
}

/* ★★★すぐに問い合わせるボタン★★★ */
.toiawase-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    gap: 12px;
    padding: 14px 16px 14px 32px;
    border-radius: 50px;
    background: linear-gradient(to right, #7de8c8, #7dd4f0);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    min-width: 220px;
    width: 100px;
  }

  .toiawase-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
  }

  .toiawase-btn-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a2e4a;
    white-space: nowrap;
  }

  .toiawase-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a2e4a;
    font-size: 16px;
    font-weight: 900;
  }
/* ★★★制作の流れ★★★ */
    .flow-wrap {
      justify-content: center; /* ← 全体を中央へ */
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: nowrap;
    }

    /* ── カード（全て同サイズ・角丸なし） ── */
    .step-card {
      width: 90px;
      height: 230px;
      border: 2px solid #29aae1;
      border-radius: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 12px 8px;
      opacity: 0;
      transform: translateY(16px);
      animation: fadeUp 0.5s ease forwards;
    }

    .step-card:nth-child(1) { animation-delay: 0.05s; }
    .step-card:nth-child(3) { animation-delay: 0.15s; }
    .step-card:nth-child(5) { animation-delay: 0.25s; }
    .step-card:nth-child(7) { animation-delay: 0.35s; }
    .step-card:nth-child(9) { animation-delay: 0.45s; }
    .step-card:nth-child(11){ animation-delay: 0.55s; }

    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }

    /* ── 番号（縦書き） ── */
    .step-num {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-size: 20px;
      font-weight: 400;
      color: #29aae1;
      letter-spacing: 0.05em;
    }

    /* ── ラベル（縦書き） ── */
    .step-label {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-size: 20px;
      font-weight: 700;
      color: #29aae1;
      line-height: 1.5;
      letter-spacing: 0.05em;
    }

    /* ── 三角形 ── */
    .arrow {
      width: 0;
      height: 0;
      border-top: 14px solid transparent;
      border-bottom: 14px solid transparent;
      border-left: 20px solid #29aae1;
      flex-shrink: 0;
      opacity: 0;
      animation: fadeIn 0.4s ease forwards;
    }

    .arrow:nth-child(2)  { animation-delay: 0.1s; }
    .arrow:nth-child(4)  { animation-delay: 0.2s; }
    .arrow:nth-child(6)  { animation-delay: 0.3s; }
    .arrow:nth-child(8)  { animation-delay: 0.4s; }
    .arrow:nth-child(10) { animation-delay: 0.5s; }

    @keyframes fadeIn { to { opacity: 1; } }

    /* ── レスポンシブ ── */
    @media (max-width: 780px) {
      .flow-wrap { flex-direction: column; justify-content: center;}
      .step-card {
        justify-content: center; /* ← 全体を中央へ */
        width: 200px;
        height: 70px;
        flex-direction: row;
        gap: 8px;
      }
      .step-num, .step-label { writing-mode: horizontal-tb; }
      .arrow {
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 20px solid #29aae1;
        border-bottom: none;
      }
    }

/* 各項目のタイトル  */
h3{font-size:30px;text-align:center;font-weight:normal;}
h3 br{display:none;}
h3:before, h3:after {content: "";flex-grow: 1;height: 1px;background: #444;display: inline-block;width:50px;vertical-align: middle;}
h3:before{margin-right: .4em;}
h3:after{margin-left: .4em;}

@media (max-width: 780px) {
  h3{font-size:20px;text-align:center;font-weight:normal;}
 }


/* プラン一覧 */
/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */


  body {
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    /* padding: 60px 80px; */
  }


  .header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeDown 0.8s ease both;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
  }

  h1 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
  }

  h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .subtitle {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.05em;
    font-weight: 300;
  }

  .divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 28px auto 0;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    margin: auto;
    background: var(--border);
    border: 2px solid var(--border);
    
  }

  .card {
    width: 100%;
    background: var(--surface);
    padding: 48px 40px 44px;
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease;
    animation: fadeUp 0.7s ease both;
  }

  @media screen and (max-width: 1024px) {
  .card {
    padding: 36px 24px 32px;
  }
}

@media screen and (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px 20px 24px;
  }
}
  .card:nth-child(1) { animation-delay: 0.1s; }
  .card:nth-child(2) { animation-delay: 0.2s; }
  .card:nth-child(3) { animation-delay: 0.3s; }

  .card.featured {
    background: #eaf6fd;
  }

  .card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .card:hover {
    background: #f0f0f0;
  }

  .card-img{
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.card-img img{
  width: 100%;
  height: auto;
  display: block;
}

  .badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(41,170,225,0.4);
    padding: 4px 12px;
    margin-bottom: 28px;
  }

  .plan-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
  }

@media screen and (max-width: 767px) {
  .plan-name {
    font-size: 18px;
  }
}

  .plan-desc {
    font-size: 18px;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-bottom: 36px;
    font-weight: 300;
  }

  .currency {
    font-size: 16px;
    color: var(--gold);
    margin-top: 8px;
    font-weight: 300;
  }


  .period {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
    letter-spacing: 0.1em;
    font-weight: 300;
  }

  .features {
    list-style: none;
    margin-bottom: 44px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .features li {
    font-size: 18px;
    color: #444444;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
    letter-spacing: 0.04em;
  }

  .features li::before {
    content: '—';
    color: var(--gold);
    font-size: 11px;
    flex-shrink: 0;
  }

  .features li.muted {
    color: var(--muted);
  }

  .features li.muted::before {
    opacity: 0.3;
  }

  .btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(41,170,225,0.35);
    background: transparent;
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
  }

  .btn:hover {
    background: rgba(41,170,225,0.08);
    border-color: var(--gold);
  }

  .btn.primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    font-weight: 600;
  }

  .btn.primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

/*  おすすめポイント */

  .container {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 24px 80px;
    position: relative;
    z-index: 1;
  }

  /* Header */
  .header {
    text-align: center;
    margin-bottom: 56px;
    animation: fadeUp 0.7s ease both;
  }

  .header h1 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .header h1 span {
    color: var(--accent);
    position: relative;
  }

  .header h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    z-index: -1;
    border-radius: 3px;
  }

  .header p {
    color: var(--text-mid);
    font-size: 18px;
    line-height: 1.8;
  }

  /* Divider */
  .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeUp 0.7s 0.1s ease both;
  }
  .divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary));
  }
  .divider::after { background: linear-gradient(to left, transparent, var(--primary)); }
  .divider span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-dark);
    text-transform: uppercase;
  }

  /* Feature list */
  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--primary-light);
    padding: 28px 28px;
    box-shadow: 0 4px 24px rgba(91,189,232,0.1), 0 1px 4px rgba(26,122,170,0.06);
    border: 1.5px solid rgba(143,212,243,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    animation: fadeUp 0.6s ease both;
    position: relative;
    overflow: hidden;
  }

  .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 4px 0 0 4px;
  }

  .feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(91,189,232,0.22), 0 2px 8px rgba(26,122,170,0.1);
  }

  .feature-item:nth-child(1) { animation-delay: 0.15s; }
  .feature-item:nth-child(2) { animation-delay: 0.30s; }
  .feature-item:nth-child(3) { animation-delay: 0.45s; }

  .feature-content {
    flex: 1;
    padding-top: 2px;
  }

  .feature-number {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .feature-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
  }

  /* Footer note */
  .footer-note {
    text-align: center;
    margin-top: 52px;
    animation: fadeUp 0.7s 0.6s ease both;
    opacity: 0;
  }

  .footer-note p {
    color: var(--text-light);
    font-size: 13px;
  }

  .cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 24px rgba(26,122,170,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(26,122,170,0.4);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 750px) {
    .feature-item { padding: 20px 18px; gap: 14px; }
  }

  /*★★★制作例★★★*/
.slider {
  width: 100%;
  margin: 10px auto 10px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slider li {
  padding: 0 4px;
  box-sizing: border-box;
}

.slider li a {
  display: block;
  text-decoration: none;
  color: #333;
}

.slider li a img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.slide-title {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.slick-slide {
  box-sizing: border-box;
}

.slick-prev,
.slick-next {
  z-index: 10;
}

.slick-prev:before,
.slick-next:before {
  color: #333;
}

.slick-dots {
  bottom: -40px;
}

.slick-dots li button:before {
  font-size: 12px;
}


/* ★★★料金表★★★ */
:root {
      --gold: #29aae1;
    --gold-light: #7ecef3;
    --bg: #ffffff;
    --surface: #f8f9fa;
    --border: rgba(41,170,225,0.2);
    --text: #1a1a1a;
    --muted: #505050;
    
    --primary: #8fd4f3;
    --primary-dark: #5bbde8;
    --accent: #1a7aaa;
    --accent-deep: #0d5a82;
    --light: #d0edfb;
    --pale: #eef8fd;
    --text-dark: #0d2d3f;
    --text-mid: #2c6080;
    --text-light: #6aafce;
    --white: #ffffff;
    --gray: #f5f8fa;
    --border: rgba(143,212,243,0.4);
    --text-mid: #2c6080;
    --text-light: #6aafce;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  .ryoukin-heading {
    text-align: center;
    /* margin-bottom: 48px; */
  }

  .ryoukin-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--light);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
  }

  .ryoukin-heading h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .ryoukin-heading p {
    color: var(--text-mid);
    font-size: 14px;
  }

  .ryoukin-table-outer {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    animation: ryoukinFadeUp 0.6s 0.15s ease both;
    opacity: 0;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(91,189,232,0.15);
  }

  .ryoukin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
  }

  .ryoukin-table thead tr {
    background: var(--white);
  }

  .ryoukin-table th {
    padding: 0;
    font-weight: 700;
    vertical-align: top;
  }

  .ryoukin-plan-head {
    padding: 28px 16px 24px;
    text-align: center;
    border-left: 1px solid var(--border);
    position: relative;
  }

  .ryoukin-plan-head.ryoukin-popular {
    color: var(--text-dark);
  }

  .ryoukin-plan-head.ryoukin-popular .ryoukin-plan-title,
  .ryoukin-plan-head.ryoukin-popular .ryoukin-plan-price,
  .ryoukin-plan-head.ryoukin-popular .ryoukin-plan-unit,
  .ryoukin-plan-head.ryoukin-popular .ryoukin-plan-caption {
    color: inherit;
  }

  .ryoukin-popular-badge {
    display: inline-block;
    background: var(--white);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .ryoukin-plan-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-mid);
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .ryoukin-plan-price {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
  }

  .ryoukin-plan-unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 4px;
  }

  .ryoukin-plan-caption {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 6px;
  }

  .ryoukin-table tbody tr {
    border-top: 1px solid var(--border);
    transition: background 0.2s;
  }

  .ryoukin-table tbody tr:hover {
    background: var(--pale);
  }

  .ryoukin-cell {
    padding: 16px 12px;
    text-align: center;
    font-size: 20px;
    color: var(--text-dark);
    border-left: 1px solid var(--border);
    vertical-align: middle;
  }

  .ryoukin-cell.ryoukin-cell-accent {
    background: rgba(143,212,243,0.08);
  }

  .ryoukin-cta-row td {
    padding: 20px 12px;
    border-top: 2px solid var(--border);
    background: var(--white);
  }

  .ryoukin-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
  }

  .ryoukin-btn-outline {
    border: 2px solid var(--primary-dark);
    color: var(--accent);
    background: var(--white);
  }

  .ryoukin-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91,189,232,0.25);
  }

 
  .ryoukin-option-sep th,
  .ryoukin-option-sep td {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 20px;
    border: none !important;
  }

  .ryoukin-footnote {
    max-width: 900px;
    margin: 20px auto 0;
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    animation: ryoukinFadeUp 0.6s 0.3s ease both;
    opacity: 0;
  }

  @keyframes ryoukinFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media screen and (max-width: 768px) {
  .ryoukin-table-outer {
    max-width: 100%;
    overflow-x: visible;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(91,189,232,0.12);
  }

  .ryoukin-table {
    min-width: auto;
    width: 100%;
    table-layout: fixed;
  }

  .ryoukin-heading h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .ryoukin-heading p {
    font-size: 12px;
    line-height: 1.6;
  }

  .ryoukin-plan-head {
    padding: 14px 6px 12px;
  }

  .ryoukin-popular-badge {
    font-size: 8px;
    padding: 2px 6px;
    margin-bottom: 6px;
  }

  .ryoukin-plan-title {
    font-size: 10px;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
    line-height: 1.4;
  }

  .ryoukin-plan-price {
    font-size: 16px;
    line-height: 1.1;
  }

  .ryoukin-plan-unit {
    font-size: 10px;
    margin-top: 2px;
  }

  .ryoukin-plan-caption {
    font-size: 9px;
    line-height: 1.4;
    margin-top: 4px;
  }

  .ryoukin-cell {
    padding: 10px 4px;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
  }

  .ryoukin-cta-row td {
    padding: 10px 4px;
  }

  .ryoukin-btn {
    padding: 7px 8px;
    font-size: 10px;
    border-radius: 30px;
    white-space: normal;
    line-height: 1.4;
  }

  .ryoukin-option-sep th,
  .ryoukin-option-sep td {
    font-size: 10px;
    padding: 6px 8px;
    letter-spacing: 0.04em;
  }

  .ryoukin-footnote {
    font-size: 10px;
    line-height: 1.6;
    text-align: left;
  }
}