/* =========================================
   いちぺじ テーマ v2 — base.css
   トークン / リセット / ヘッダー / フッター
   ボタン / セクション共通 / サブページ
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

:root {
  --mint:       #ee8c62;
  --teal:       #4a6ea0;
  --mint-soft:  #eef3fb;
  --coral:      #ee8c62;
  --coral-deep: #dd7847;
  --yellow:     #f2c14e;
  --navy:       #3d5a82;
  --navy-2:     #2c4463;
  --ink:        #2d3548;
  --sub:        #6b7686;
  --white:      #ffffff;
  --paper:      #fbf8f2;
  --gray:       #f6f8fc;
  --line:       #e8ecf3;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 20px 44px rgba(45,53,72,.07);
  --shadow-sm:  0 8px 20px rgba(45,53,72,.06);
  --ease:       cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

.ic {
  width: 1.5rem; height: 1.5rem;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; display: inline-block; vertical-align: middle;
}


/* =========================================
   スクロールアニメーション
   ========================================= */
.fade-up    { opacity: 0; transform: translateY(34px);  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-left  { opacity: 0; transform: translateX(-34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-right { opacity: 0; transform: translateX(34px);  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }
.delay-6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-left, .fade-right { opacity: 1 !important; transform: none !important; transition: none; }
}


/* =========================================
   ヘッダー
   ========================================= */
.header-fixed {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.header-fixed.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 24px rgba(45,53,72,.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; width: 100%;
  padding: 18px 40px;
  transition: padding .3s var(--ease);
}
.header-fixed.scrolled .header-inner {
  padding: 10px 40px;
}

.logo { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; gap: 2px; }
.logo--img { flex-direction: row; align-items: center; }
.custom-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.custom-logo-link img, .custom-logo { height: 68px; width: auto; display: block; }
.foot-logo .custom-logo-link img, .foot-logo .custom-logo { height: 48px; width: auto; display: block; }
.logo-sub { font-weight: 700; font-size: .66rem; color: var(--sub); letter-spacing: .22em; text-transform: uppercase; }
.logo-main { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.4rem; color: var(--teal); letter-spacing: -.2px; display: flex; align-items: baseline; gap: 5px; }
.logo-main .logo-jp  { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.logo-main .logo-dot { color: var(--coral); font-size: 1.5rem; line-height: 0; }

nav { display: flex; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; margin-left: 28px; transition: color .2s; }
nav a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta {
  background: var(--coral); color: var(--white) !important;
  padding: 10px 22px; border-radius: 50px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(238,140,98,.6);
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--coral-deep) !important; transform: translateY(-2px); }

.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--sub); text-decoration: none; font-size: .9rem; font-weight: 600;
  transition: color .2s;
}
.back-link:hover { color: var(--teal); }


/* =========================================
   フッター
   ========================================= */
footer {
  background: var(--navy); color: rgba(255,255,255,.62);
  padding: 64px 40px 40px; font-size: .85rem; line-height: 2;
}
.foot-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start;
}
.foot-brand { max-width: 360px; }
.foot-logo { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.3rem; color: var(--white); display: flex; align-items: center; gap: 6px; margin-bottom: 14px; justify-content: flex-start; }
.foot-logo .logo-jp  { font-family: 'Noto Sans JP', sans-serif; font-size: 1.05rem; }
.foot-logo .logo-dot { color: var(--coral); }
.foot-desc { color: rgba(255,255,255,.5); font-size: .82rem; line-height: 1.9; }
.foot-col h4 { color: var(--white); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.foot-col a, .foot-col p { display: block; color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; margin-bottom: 8px; }
.foot-col a:hover { color: var(--mint); }
.foot-menu { list-style: none; margin: 0; padding: 0; }
.foot-widget { margin-bottom: 20px; }
.foot-widget:last-child { margin-bottom: 0; }
.foot-bottom {
  max-width: 1120px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .76rem; color: rgba(255,255,255,.4);
}
.foot-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.foot-bottom a:hover { color: var(--mint); }


/* =========================================
   ボタン
   ========================================= */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border-radius: 50px; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn-primary {
  background: var(--coral); color: var(--white);
  padding: 16px 34px; border: none;
  box-shadow: 0 14px 30px -12px rgba(238,140,98,.7);
  position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(238,140,98,.8); background: var(--coral-deep); }
.btn-outline { border: 1.5px solid var(--mint); color: var(--teal); padding: 14.5px 30px; background: transparent; }
.btn-outline:hover { background: var(--mint-soft); transform: translateY(-3px); }
.btn-ghost { color: var(--teal); padding: 12px 8px; background: none; border: none; }
.btn-ghost:hover { gap: 13px; }
.btn-primary .ic, .btn-outline .ic, .btn-ghost .ic { width: 1.15rem; height: 1.15rem; stroke-width: 2; }

/* リップル */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.35); pointer-events: none;
  transform: scale(0); animation: rippleAnim .55s linear forwards;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }


/* =========================================
   セクション共通
   ========================================= */
section { padding: 108px 40px; }
.sec-inner { max-width: 1120px; margin: 0 auto; }

.sec-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Poppins', sans-serif; font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; color: var(--teal); text-transform: uppercase; margin-bottom: 18px;
}
.sec-label::before { content: ''; width: 26px; height: 2px; background: var(--mint); border-radius: 2px; }
.sec-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; color: var(--navy);
  line-height: 1.34; margin-bottom: 18px; letter-spacing: -.01em;
}
.sec-sub { color: var(--sub); font-size: 1rem; line-height: 1.95; max-width: 620px; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .sec-label { justify-content: center; }
.sec-head .sec-sub { margin: 0 auto; }

.no-posts { text-align: center; color: var(--sub); padding: 40px 0; font-size: .94rem; }


/* =========================================
   スクロールトップ
   ========================================= */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; width: 50px; height: 50px;
  background: var(--navy); color: var(--white); border: none; border-radius: 50%;
  cursor: pointer; box-shadow: 0 10px 28px -8px rgba(45,53,72,.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 200; display: flex; align-items: center; justify-content: center;
}
.scroll-top .ic { width: 1.3rem; height: 1.3rem; stroke-width: 2.2; }
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--teal); transform: translateY(-4px); }


/* =========================================
   サブページ共通
   ========================================= */
.page-hero {
  background: var(--navy);
  padding: 120px 40px 76px;
  text-align: center;
  position: relative; overflow: hidden;
  margin-top: 67px; /* header height */
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 320px at 12% -10%, rgba(238,140,98,.20), transparent 70%),
    radial-gradient(380px 300px at 92% 120%, rgba(45,53,72,.18), transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; color: var(--mint);
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px;
}
.page-hero-label::before { content: ''; width: 22px; height: 2px; background: var(--mint); }
.page-hero h1 { color: var(--white); font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; }
.page-hero p, .page-hero .lead { color: rgba(255,255,255,.82); font-size: .97rem; margin-top: 14px; line-height: 1.8; }

.content-wrap { max-width: 820px; margin: 64px auto 96px; padding: 0 24px; }


/* =========================================
   記事ページ 2カラムレイアウト（本文＋サイドバー）
   ========================================= */
.blog-layout-wrap { max-width: 1120px; margin: 64px auto 96px; padding: 0 24px; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-main { min-width: 0; }
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.blog-sidebar .widget { padding: 26px; }
.blog-sidebar .widget-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.blog-sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar .widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.blog-sidebar .widget li:last-child { border-bottom: none; }
.blog-sidebar .widget a { color: var(--ink); text-decoration: none; }
.blog-sidebar .widget a:hover { color: var(--teal); }
.blog-sidebar .widget img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card--table { overflow: hidden; }
.card--padded { padding: 48px; }

.updated { text-align: right; font-size: .8rem; color: var(--sub); margin-top: 22px; }


/* =========================================
   テーブル（法的ページ）
   ========================================= */
table { width: 100%; border-collapse: collapse; }
tr { border-bottom: 1px solid var(--line); }
tr:last-child { border-bottom: none; }
th {
  width: 230px; background: var(--mint-soft); color: var(--navy);
  font-weight: 700; font-size: .88rem; padding: 20px 24px;
  text-align: left; vertical-align: top; border-right: 1px solid var(--line); white-space: nowrap;
}
td { padding: 20px 24px; font-size: .92rem; color: var(--ink); line-height: 1.9; vertical-align: top; }
td a { color: var(--teal); text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
.note-mini { font-size: .82rem; color: var(--sub); }


/* =========================================
   プライバシーポリシー
   ========================================= */
.intro { font-size: .96rem; line-height: 2; color: var(--ink); margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.policy-section { margin-bottom: 38px; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h2 { font-size: 1.06rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.policy-section h2 .pn { font-family: 'Poppins', sans-serif; font-size: .9rem; color: var(--teal); border: 1.5px solid var(--mint); border-radius: 8px; padding: 1px 9px; font-weight: 700; flex-shrink: 0; }
.policy-section p, .policy-section li { font-size: .92rem; color: var(--ink); line-height: 2; }
.policy-section ul { list-style: none; padding: 0; margin-top: 8px; }
.policy-section ul li { padding: 4px 0 4px 22px; position: relative; }
.policy-section ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.policy-section a { color: var(--teal); text-decoration: none; font-weight: 600; }
.policy-section a:hover { text-decoration: underline; }


/* =========================================
   お知らせ一覧セクション
   ========================================= */
#news { background: var(--white); }
.news-list { max-width: 760px; margin: 0 auto; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-link { display: flex; align-items: center; gap: 16px; padding: 20px 8px; text-decoration: none; color: var(--ink); transition: background .2s; }
.news-link:hover { background: var(--gray); }
.news-date  { font-family: 'Poppins', sans-serif; font-size: .82rem; color: var(--sub); white-space: nowrap; flex-shrink: 0; }
.news-cat   { background: var(--mint-soft); color: var(--teal); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; white-space: nowrap; flex-shrink: 0; }
.news-title { flex: 1; font-size: .95rem; font-weight: 600; color: var(--navy); line-height: 1.6; }


/* =========================================
   ブログ一覧（archive.php / home.php）
   ========================================= */
#blog-archive { background: var(--gray); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb-noimg { background: var(--gray); display: flex; align-items: center; justify-content: center; color: var(--sub); }
.blog-thumb-noimg .ic { width: 2rem; height: 2rem; }
.blog-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-date  { font-family: 'Poppins', sans-serif; font-size: .79rem; color: var(--sub); }
.blog-cat   { background: var(--mint-soft); color: var(--teal); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.blog-title { font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.blog-title a { text-decoration: none; color: inherit; }
.blog-title a:hover { color: var(--teal); }
.blog-excerpt { font-size: .86rem; color: var(--sub); line-height: 1.8; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: .83rem; font-weight: 700; color: var(--teal); text-decoration: none; }
.blog-more .ic { width: 1rem; height: 1rem; }

.pagination-wrap { margin-top: 52px; display: flex; justify-content: center; }
.pagination-wrap .nav-links { display: flex; gap: 8px; align-items: center; }
.pagination-wrap .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .88rem;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination-wrap .page-numbers.dots { border: none; cursor: default; }


/* =========================================
   シングル記事
   ========================================= */
.single-thumb { margin-bottom: 36px; }
.single-thumb img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; }
.single-content { font-size: .95rem; line-height: 2.1; color: var(--ink); }
.single-content h2 { font-size: 1.3rem; font-weight: 900; color: var(--navy); margin: 40px 0 16px; padding-left: 16px; border-left: 4px solid var(--mint); }
.single-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 28px 0 12px; }
.single-content p { margin-bottom: 18px; }
.single-content a { color: var(--teal); text-decoration: underline; }
.single-content ul, .single-content ol { padding-left: 1.5em; margin-bottom: 18px; }
.single-content li { margin-bottom: 6px; }
.single-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.single-content img.howto-shot {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin: 8px 0 28px;
}
.single-nav { display: flex; gap: 16px; justify-content: space-between; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.single-nav-link { display: flex; align-items: center; gap: 10px; color: var(--sub); text-decoration: none; font-size: .88rem; font-weight: 700; max-width: 48%; transition: color .2s; }
.single-nav-link:hover { color: var(--teal); }
.single-nav-link.next { flex-direction: row-reverse; text-align: right; }


/* =========================================
   サービス詳細ページ（page-service.php）
   ========================================= */
.sv-content-wrap { max-width: 860px; }
.sv-intro { font-size: 1rem; line-height: 1.9; margin-bottom: 52px; color: var(--ink); }
.sv-intro strong { color: var(--teal); }
.sv-section-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); text-align: center; margin: 0 0 36px; }

/* プランカード */
.sv-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; align-items: stretch; }
.sv-plan-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); position: relative; display: flex; flex-direction: column; }
.sv-plan-card.sv-popular { box-shadow: 0 24px 56px -16px rgba(45,53,72,.28); border-top: 3px solid var(--teal); }
.sv-popular-badge { position: absolute; top: 12px; right: 12px; background: var(--coral); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; letter-spacing: .05em; }
.sv-plan-header { padding: 28px 24px 22px; color: #fff; }
.sv-plan-header.sv-ai { background: linear-gradient(135deg, #6f7dbd 0%, #46579c 100%); }
.sv-plan-header.sv-standard { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); }
.sv-plan-header.sv-domain { background: linear-gradient(135deg, #e2895c 0%, #c26a3f 100%); }
.sv-plan-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; opacity: .85; display: block; margin-bottom: 8px; }
.sv-plan-price { font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.sv-yen { font-size: 1.2rem; vertical-align: top; margin-top: 4px; display: inline-block; }
.sv-tax { font-size: .72rem; font-weight: 400; opacity: .8; }
.sv-plan-lead { font-size: .82rem; opacity: .9; margin: 8px 0 0; }
.sv-plan-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sv-include-list { list-style: none; padding: 0; margin: 0 0 18px; }
.sv-include-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--ink); padding: 7px 0; border-bottom: 1px solid var(--line); }
.sv-include-list li:last-child { border-bottom: none; }
.sv-include-list .ic { width: 16px; height: 16px; fill: var(--teal); flex-shrink: 0; margin-top: 2px; }
.sv-include-list li.sv-plus { color: var(--teal); font-weight: 700; }
.sv-note-box { font-size: .8rem; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 20px; line-height: 1.6; }
.sv-note-box strong { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .82rem; }
.sv-note-box .ic { width: 14px; height: 14px; }
.sv-note-warning { background: #fff5eb; border-left: 3px solid var(--coral); color: #7a3c00; }
.sv-note-warning .ic { fill: var(--coral); }
.sv-note-info { background: var(--mint-soft); border-left: 3px solid var(--teal); color: var(--navy); }
.sv-plan-btn { display: block; text-align: center; border-radius: 10px; padding: 13px 18px; font-size: .88rem; font-weight: 700; text-decoration: none; transition: all .22s; margin-top: auto; }
a.btn-primary.sv-plan-btn { background: linear-gradient(90deg, var(--teal), var(--navy)); color: #fff; }
a.btn-primary.sv-plan-btn:hover { opacity: .88; }
a.btn-outline.sv-plan-btn { border: 2px solid var(--teal); color: var(--teal); }
a.btn-outline.sv-plan-btn:hover { background: var(--teal); color: #fff; }

/* プラン比較表 */
.sv-compare-wrap { overflow-x: auto; margin-bottom: 64px; }
.sv-compare { width: 100%; border-collapse: collapse; min-width: 480px; }
.sv-compare th, .sv-compare td { padding: 12px 16px; font-size: .88rem; border: 1px solid var(--line); text-align: center; vertical-align: middle; }
.sv-compare th { background: var(--gray); font-weight: 700; color: var(--navy); }
.sv-th-feature { text-align: left; width: 30%; }
.sv-popular-col { background: rgba(238,140,98,.07); }
.sv-compare-price { display: block; font-size: .72rem; font-weight: 400; color: var(--sub); margin-top: 2px; }
.sv-check { color: var(--teal); font-weight: 700; }
.sv-cross { color: #bbb; }
.sv-em { color: var(--coral); font-weight: 700; }

/* CTAボックス */
.sv-cta-box { background: linear-gradient(135deg, var(--paper) 0%, #fff1e8 100%); border-radius: var(--radius); padding: 52px 40px; text-align: center; margin-top: 16px; }
.sv-cta-box h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.sv-cta-box p { color: var(--sub); margin-bottom: 28px; font-size: .95rem; }
.sv-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sv-cta-btns .btn-primary, .sv-cta-btns .btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 15px 32px; border-radius: 12px; font-size: .95rem; font-weight: 700; text-decoration: none; transition: all .22s; }
.sv-cta-btns .btn-primary { background: linear-gradient(90deg, var(--teal), var(--navy)); color: #fff; }
.sv-cta-btns .btn-primary:hover { opacity: .88; }
.sv-cta-btns .btn-outline { border: 2px solid var(--teal); color: var(--teal); }
.sv-cta-btns .btn-outline:hover { background: var(--teal); color: #fff; }
.sv-cta-btns .ic { width: 18px; height: 18px; fill: currentColor; }

/* =========================================
   レスポンシブ（共通）
   ========================================= */
@media (max-width: 768px) {
  .header-inner { padding: 14px 20px; }
  .header-fixed.scrolled .header-inner { padding: 8px 20px; }
  .header-fixed nav { display: none; }
  section { padding: 72px 22px; }
  .foot-inner { gap: 32px; }
  .news-link { flex-wrap: wrap; gap: 8px; }
  .news-title { width: 100%; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .scroll-top { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* =========================================
   ボトムナビ（モバイル専用）
   ========================================= */
.bottom-nav { display: none; }

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bnav-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--sub);
    font-size: .62rem; font-weight: 700; letter-spacing: .04em;
    transition: color .2s;
  }
  .bnav-item .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .bnav-item:hover, .bnav-item:active { color: var(--teal); }
  .bnav-cta { color: var(--coral); }
  .bnav-cta .ic { stroke: var(--coral); }
  .bnav-cta:hover, .bnav-cta:active { opacity: .75; }
}
@media (max-width: 860px) {
  .sv-plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .sv-plan-card.sv-popular { transform: none; }
  .sv-cta-box { padding: 36px 24px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 90px 22px 54px; }
  .content-wrap { margin: 44px auto 72px; }
  .card--padded { padding: 30px 22px; }
  .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  th { width: 100%; display: block; border-right: none; border-bottom: 1px solid var(--line); white-space: normal; }
  td { display: block; }
  tr { display: block; }
  table, tbody { display: block; }
  .single-nav-link { max-width: 100%; }
  .sv-cta-btns { flex-direction: column; align-items: center; }
}
