/* =============================================
   未来BOOK LP - スタイルシート
   緑基調・家庭的デザイン
   スマホファースト設計
   ============================================= */

/* ===== リセット & ベース ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ポップな新緑カラー */
  --green-dark:    #1a6b3e;
  --green-main:    #3cb371;   /* 新緑・ポップグリーン */
  --green-mid:     #52c47a;
  --green-light:   #85daa6;
  --green-pale:    #d8f3dc;
  --green-bg:      #f0faf3;
  --btn-pop:       #44d475;   /* ポップなボタン用 */
  --btn-pop-hover: #2dbf60;
  --accent-yellow: #f9c74f;
  --accent-orange: #f77f00;
  --red:           #e63946;
  --text-dark:     #1b2d26;
  --text-body:     #374840;
  --text-muted:    #6b8070;
  --white:         #ffffff;
  --bg-light:      #f7faf8;
  --bg-white:      #ffffff;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --shadow-sm:     0 2px 8px rgba(60,179,113,.13);
  --shadow-md:     0 6px 20px rgba(60,179,113,.2);
  --shadow-lg:     0 14px 40px rgba(60,179,113,.25);
  --font-base:     'Noto Sans JP', sans-serif;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* スマホでの横スクロール防止 */
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  /* スマホでの左右余白をしっかり確保 */
  padding: 0 16px;
  /* 横溢れ防止 */
  box-sizing: border-box;
  width: 100%;
}

/* ===== セクション ===== */
.section { padding: 56px 0; overflow-x: hidden; }
.section-light       { background: var(--bg-light); }
.section-white       { background: var(--bg-white); }
.section-green-light { background: var(--green-pale); }

/* ===== フェードインアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== セクションヘッダー ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.45;
}

.section-header.sub-header {
  margin-top: 48px;
  margin-bottom: 20px;
}
.section-header.sub-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: .02em;
  /* タップしやすい最低高さ */
  min-height: 48px;
}

/* ポップな新緑プライマリボタン */
.btn-primary {
  background: linear-gradient(135deg, var(--btn-pop), var(--green-main));
  color: var(--white);
  padding: 15px 32px;
  box-shadow: 0 4px 16px rgba(68,212,117,.45);
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--btn-pop-hover), var(--green-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(68,212,117,.5);
}

.btn-secondary {
  background: rgba(255,255,255,.18);
  color: var(--white);
  padding: 13px 26px;
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.btn-hero { font-size: 1rem; }

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  margin-top: 18px;
  width: 100%;
  max-width: 400px;
}

.btn-header {
  background: var(--btn-pop);
  color: var(--white);
  padding: 10px 22px;
  font-size: .88rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(68,212,117,.35);
  min-height: 40px;
}
.btn-header:hover {
  background: var(--btn-pop-hover);
  transform: translateY(-1px);
}

.btn-purchase {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--btn-pop), var(--green-main));
  color: var(--white);
  padding: 18px 24px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(68,212,117,.4);
  text-align: center;
  margin-top: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.btn-purchase:hover {
  background: linear-gradient(135deg, var(--btn-pop-hover), var(--green-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(68,212,117,.5);
}

.btn-final {
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(249,199,79,.4);
  width: 100%;
  max-width: 420px;
}
.btn-final:hover {
  background: #f7b731;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(249,199,79,.5);
}

.btn-floating {
  background: linear-gradient(135deg, var(--btn-pop), var(--green-main));
  color: var(--white);
  padding: 12px 22px;
  font-size: .88rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.btn-floating:hover {
  background: linear-gradient(135deg, var(--btn-pop-hover), var(--green-dark));
  transform: translateY(-2px);
}

/* ===== STICKY HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(60,179,113,.12);
  transform: translateY(-100%);
  transition: transform var(--transition);
}
.site-header.visible { transform: translateY(0); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
}
.logo-accent { color: var(--green-main); }


/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.30)),
    url('../hero-bg-pc.jpg') center 15% / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 0 56px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.0);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  /* 長い文字が折り返せるよう */
  white-space: normal;
  word-break: break-all;
}

.hero-headline {
  font-size: clamp(1.15rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: rgba(255,255,255,.9);
}

.hero-headline-main {
  display: block;
  font-size: clamp(1.7rem, 7.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,.2);
  /* 文字が途切れないよう */
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: clamp(.92rem, 3.5vw, 1.15rem);
  color: rgba(255,255,255,.92);
  line-height: 1.85;
  margin-bottom: 8px;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--text-dark);
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  margin-top: 10px;
  /* 折り返し対応 */
  white-space: normal;
  word-break: keep-all;
}

/* ヒーロー実績カード */
.hero-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.stat-card {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 100px;
  flex: 1;
  max-width: 160px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.stat-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-yellow);
}
.stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
  line-height: 1.4;
}

/* ヒーローCTA */
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-cta .btn { width: 100%; max-width: 320px; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 999px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0%   { top: 5px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* ===== PROBLEM ===== */
/* スマホ: 1列 / タブレット以上: 2列 */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(60,179,113,.1);
}

.problem-icon {
  font-size: 1.6rem;
  color: var(--green-mid);
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.problem-card p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-dark);
  font-weight: 500;
  word-break: keep-all;
}

/* スマホ内改行を消す */
.problem-card p br { display: none; }

.problem-resolve {
  background: var(--green-main);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}

.resolve-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--white);
}

/* ===== WHY UNKNOWN ===== */
.wall-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

/* スマホ: 左右ラベルを横並びで上下に配置 */
.wall-left, .wall-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

.wall-figure {
  font-size: 2rem;
}
.wall-side-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.wall-side-label.small { font-size: .76rem; }

.wall-center {
  background: linear-gradient(135deg, #fff7e6, #ffedd5);
  border: 2px solid #f77f00;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  margin: 0 0 4px;
}

.wall-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin-bottom: 12px;
  text-align: center;
}

.wall-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: .93rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(247,127,0,.15);
  line-height: 1.5;
}
.wall-item:last-child { border-bottom: none; }
.wall-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--accent-orange);
  color: var(--white);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
}

.wall-resolve-inner {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.wall-resolve-text {
  font-size: .93rem;
  line-height: 1.85;
  color: var(--text-dark);
}


/* ===== WALL IMAGES ===== */
.wall-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.wall-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

@media (min-width: 600px) {
  .wall-images {
    flex-direction: column;
    gap: 20px;
  }
}












@media (max-width: 599px) {
      }

/* ===== LEGAL ===== */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.legal-card {
  border-radius: var(--radius-md);
  padding: 22px 18px;
}
.legal-ok {
  background: linear-gradient(135deg, #d8f3dc, #b7e4c7);
  border: 2px solid var(--green-main);
}
.legal-ng {
  background: linear-gradient(135deg, #ffe8e8, #ffd1d1);
  border: 2px solid var(--red);
}
.legal-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  margin-bottom: 10px;
}
.legal-badge.ok { background: var(--green-main); color: var(--white); }
.legal-badge.ng { background: var(--red); color: var(--white); }
.legal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
}
.legal-card p {
  font-size: .87rem;
  color: var(--text-body);
  line-height: 1.75;
}
.legal-note {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* ===== BENEFITS ===== */
/* Before/After: スマホは縦積み */
.before-after {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.ba-card {
  border-radius: var(--radius-md);
  padding: 20px 16px;
}
.ba-before {
  background: #fff5f5;
  border: 2px solid #ffc9c9;
}
.ba-after {
  background: var(--green-pale);
  border: 2px solid var(--green-light);
}
.ba-label {
  display: inline-block;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.before-label { background: var(--red); color: var(--white); }
.after-label  { background: var(--green-main); color: var(--white); }

.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,.06);
  line-height: 1.5;
}
.ba-list li:last-child { border-bottom: none; }
.ba-list .fa-times { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.ba-list .fa-check { color: var(--green-main); flex-shrink: 0; margin-top: 3px; }

/* スマホ: 矢印を↓に */
.ba-arrow {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-mid);
  padding: 2px 0;
}

/* ベネフィットグリッド: スマホ1列 */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  border: 1px solid rgba(60,179,113,.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.benefit-card-money {
  background: linear-gradient(135deg, var(--green-pale), #b7e4c7);
  border-color: var(--green-main);
}
.benefit-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--btn-pop), var(--green-main));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}
.benefit-card h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: .86rem;
  color: var(--text-body);
  line-height: 1.7;
}
.benefit-card > div:not(.benefit-icon-wrap) { flex: 1; }

/* 収益シミュレーション */
.simulation-box {
  background: linear-gradient(135deg, #fff9e6, #fffbf0);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 24px 16px;
}
.sim-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.sim-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sim-table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
}
.sim-table th {
  background: var(--green-main);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.sim-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(60,179,113,.1);
  font-size: .88rem;
  color: var(--text-body);
  white-space: normal;
  word-break: break-all;
}
.sim-table tr:last-child td { border-bottom: none; }
.sim-table tr:nth-child(even) td { background: rgba(60,179,113,.04); }
.sim-profit { color: var(--green-dark); font-weight: 700; font-size: .95rem; }
.sim-note {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.75;
}

/* ===== COST COMPARE ===== */
/* 2パターン: スマホ1列 */
.cost-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.cost-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  border: 1px solid rgba(60,179,113,.15);
  box-shadow: var(--shadow-sm);
}
.cost-best {
  background: linear-gradient(135deg, var(--green-pale), #b7e4c7);
  border: 2px solid var(--green-main);
}
.cost-rank {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cost-card h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.45;
}
.cost-card p {
  font-size: .84rem;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.6;
}
.cost-price       { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.cost-price.green { color: var(--green-dark); }
.cost-price.red   { color: var(--red); }
.cost-price-sub   { font-size: .76rem; color: var(--text-muted); margin-top: 4px; }

.cost-compare {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(60,179,113,.15);
}
.cost-compare-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.cost-compare-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cost-compare-item.highlight {
  background: #fff5f5;
  border: 1px solid #ffc9c9;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.cost-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.cost-value { font-size: 1.05rem; font-weight: 700; word-break: break-all; overflow-wrap: anywhere; }
.cost-value.red   { color: var(--red); }
.cost-value.green { color: var(--green-dark); }
.cost-compare-arrow {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-muted);
}
.cost-note {
  font-size: .76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ===== SERVICE ===== */
.main-product-box {
  background: linear-gradient(135deg, #eaf7ee, var(--green-pale));
  border: 2px solid var(--green-main);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  margin-bottom: 48px;
  text-align: center;
}
.main-product-label {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.main-product-title {
  font-size: clamp(1.1rem, 4.5vw, 1.55rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 12px;
  line-height: 1.45;
}
.main-product-title-sub {
  display: block;
  font-size: clamp(.82rem, 3vw, 1rem);
  font-weight: 700;
  color: var(--green-mid);
  margin-top: 4px;
}
.main-product-desc {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
  text-align: left;
}
.main-product-list {
  text-align: left;
  margin-bottom: 20px;
}
.main-product-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(60,179,113,.12);
  line-height: 1.55;
}
.main-product-list li:last-child { border-bottom: none; }
.main-product-list .fa-play-circle       { color: var(--green-main); flex-shrink: 0; margin-top: 3px; }
.main-product-list .fa-tools             { color: var(--green-mid);  flex-shrink: 0; margin-top: 3px; }
.main-product-list .fa-chalkboard-teacher{ color: var(--green-mid);  flex-shrink: 0; margin-top: 3px; }
.main-product-list .fa-lightbulb         { color: var(--accent-yellow); flex-shrink: 0; margin-top: 3px; }
.main-product-list .fa-shield-alt        { color: var(--green-dark); flex-shrink: 0; margin-top: 3px; }

/* オプショングリッド: スマホ1列 */
.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.option-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  border: 1px solid rgba(60,179,113,.12);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.option-card-featured {
  border: 2px solid var(--green-main);
  background: linear-gradient(135deg, #eaf7ee, var(--green-pale));
}
.option-icon { font-size: 1.6rem; color: var(--green-main); margin-bottom: 10px; }
.option-card h4 { font-size: .98rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.option-card p  { font-size: .86rem; color: var(--text-body); line-height: 1.72; }
.option-badge {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 8px;
}

/* 裁断デメリット */
.cutting-issues {
  background: #fff8f0;
  border: 2px solid #f77f00;
  border-radius: var(--radius-md);
  padding: 22px 18px;
}
.cutting-title {
  font-size: .96rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 14px;
}
.cutting-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.cutting-list span {
  background: var(--white);
  border: 1px solid #f77f00;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  word-break: keep-all;
  max-width: 100%;
}
.cutting-list .fas { color: var(--accent-orange); }
.cutting-resolve {
  font-size: .93rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.6;
}

/* ===== PURCHASE ===== */
.section-purchase {
  background: linear-gradient(160deg, var(--green-dark), var(--green-main));
  padding: 60px 0;
}
.section-purchase .section-tag.white {
  background: rgba(255,255,255,.22);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.section-purchase h2.white { color: var(--white); }
.purchase-sub { font-size: .9rem; margin-top: 8px; }
.purchase-sub.white { color: rgba(255,255,255,.85); }

/* スマホ: 1列積み */
.purchase-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}
.purchase-includes h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.purchase-includes ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  line-height: 1.55;
}
.purchase-includes ul li:last-child { border-bottom: none; }
.purchase-includes .fa-check-circle { color: var(--accent-yellow); flex-shrink: 0; margin-top: 3px; }

.purchase-price-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.price-tag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 12px;
  width: 100%;
}
.price-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 5px;
}
.price-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-yellow);
}
.purchase-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.purchase-guarantee .fas { color: var(--accent-yellow); }
.purchase-ssl {
  font-size: .76rem;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}
.purchase-ssl .fas { color: var(--accent-yellow); }

/* ===== TRACK RECORD ===== */
/* スマホ: 2列 */
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.record-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  border: 1px solid rgba(60,179,113,.12);
  box-shadow: var(--shadow-sm);
}
.record-icon { font-size: 1.6rem; color: var(--green-main); margin-bottom: 8px; }
.record-num {
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.2;
}
.record-suffix { font-size: .88rem; font-weight: 700; }
.record-label { font-size: .76rem; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.record-message {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  font-size: .9rem;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: center;
}

/* ===== TESTIMONIALS ===== */
/* スマホ: 1列 */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(60,179,113,.1);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.testimonial-avatar { font-size: 2.4rem; color: var(--green-light); flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .92rem; color: var(--text-dark); }
.testimonial-detail { font-size: .76rem; color: var(--text-muted); margin-top: 2px; }
.stars { color: var(--accent-yellow); font-size: .82rem; margin-top: 3px; }
.testimonial-text { font-size: .88rem; line-height: 1.82; color: var(--text-body); font-style: italic; }
.testimonial-note { font-size: .7rem; color: var(--text-muted); margin-top: 7px; }
.testimonial-disclaimer { font-size: .76rem; color: var(--text-muted); text-align: center; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(60,179,113,.15);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-base);
  gap: 12px;
  transition: background var(--transition);
  line-height: 1.5;
  /* タップ領域の確保 */
  min-height: 52px;
}
.faq-question:hover { background: var(--green-pale); }
.faq-question.open  { background: var(--green-pale); color: var(--green-dark); }
.faq-question .fa-chevron-down {
  flex-shrink: 0;
  color: var(--green-main);
  transition: transform var(--transition);
}
.faq-question.open .fa-chevron-down { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 18px;
}
.faq-answer.open { max-height: 320px; padding: 14px 18px 18px; }
.faq-answer p { font-size: .88rem; line-height: 1.82; color: var(--text-body); }

/* ===== COMPANY ===== */
/* スマホ: 1列 */
.company-box {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.company-name { font-size: 1.35rem; font-weight: 900; color: var(--green-dark); margin-bottom: 6px; }
.company-tagline { font-size: .92rem; color: var(--green-mid); font-weight: 600; margin-bottom: 12px; }
.company-desc { font-size: .87rem; color: var(--text-body); line-height: 1.9; }
.company-table table { width: 100%; border-collapse: collapse; }
.company-table th {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 10px 14px;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  width: 38%;
  border-bottom: 1px solid rgba(60,179,113,.15);
  vertical-align: top;
}
.company-table td {
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(60,179,113,.1);
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ===== FINAL CTA ===== */
.section-final-cta {
  background: linear-gradient(160deg, var(--green-dark), var(--green-main));
  padding: 72px 0;
}
.final-cta-content { text-align: center; color: var(--white); }
.final-cta-headline {
  font-size: clamp(1.3rem, 5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--white);
}
.final-cta-headline span { color: var(--accent-yellow); }
.final-cta-sub {
  font-size: clamp(.88rem, 3.2vw, 1rem);
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  margin-bottom: 28px;
}
.final-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}
.final-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}
.final-stats .fas { color: var(--accent-yellow); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.72);
  padding: 40px 0 24px;
}
.footer-inner { text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.footer-logo span { color: var(--green-light); }
.footer-copy { font-size: .83rem; margin-bottom: 18px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  line-height: 1.8;
  word-break: break-all;
}
.footer-nav a:hover { color: var(--green-light); }
.footer-legal {
  font-size: .72rem;
  color: rgba(255,255,255,.42);
  line-height: 1.85;
  margin-bottom: 10px;
}
.footer-copyright { font-size: .75rem; color: rgba(255,255,255,.38); }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 16px;
  right: 12px;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== ユーティリティ ===== */
.text-green { color: var(--green-main); }
.sp-only { display: none; }

/* =============================================
   タブレット (600px ～ 900px)
   ============================================= */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .section { padding: 68px 0; }

  .problem-grid     { grid-template-columns: repeat(2, 1fr); }
  .problem-card p br { display: inline; }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 横並びのとき縦積みレイアウトに戻す */
  }
  .benefit-card { flex-direction: column; }
  .benefit-icon-wrap { width: 48px; height: 48px; min-width: 48px; }

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

  .wall-visual { flex-direction: row; align-items: flex-start; gap: 12px; }
  .wall-left, .wall-right { flex: 0 0 100px; flex-direction: column; padding: 0; }
  .wall-center { flex: 1; }

  .before-after { flex-direction: row; align-items: stretch; }
  .ba-arrow { display: flex; align-items: center; flex-shrink: 0; font-size: 1.8rem; padding: 0; }

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

  .purchase-box { flex-direction: row; padding: 32px 28px; }
  .purchase-includes, .purchase-price-area { flex: 1; }

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

  .company-box { flex-direction: row; align-items: flex-start; }
  .company-intro, .company-table { flex: 1; }

  .cost-compare-inner { flex-direction: row; align-items: center; justify-content: center; }
  .cost-compare-arrow { flex-shrink: 0; }

  .final-stats { flex-direction: row; justify-content: center; }
}

/* =============================================
   PC (900px 以上)
   ============================================= */
@media (min-width: 900px) {
  /* ベースフォントを18pxに（全体のremが比例して大きくなる） */
  html { font-size: 20px; }

  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  /* セクション見出し */
  .section-header h2 { font-size: 2.2rem; }
  .section-tag       { font-size: .88rem; }

  /* 本文・カード類 */
  .problem-card p    { font-size: 1rem; }
  .benefit-card h3   { font-size: 1.1rem; }
  .benefit-card p    { font-size: .95rem; }
  .option-card h4    { font-size: 1.05rem; }
  .option-card p     { font-size: .95rem; }
  .cost-card h3      { font-size: 1.05rem; }
  .cost-card p       { font-size: .92rem; }
  .cost-price        { font-size: 1.1rem; }
  .cost-value        { font-size: 1.15rem; }

  /* 購入エリア */
  .purchase-includes ul li { font-size: 1rem; }
  .purchase-includes h3    { font-size: 1.2rem; }
  .price-value             { font-size: 1.6rem; }

  /* 実績 */
  .record-label      { font-size: .88rem; }

  /* お客様の声 */
  .testimonial-text  { font-size: .98rem; }
  .testimonial-name  { font-size: 1rem; }

  /* FAQ */
  .faq-question      { font-size: 1.02rem; }
  .faq-answer p      { font-size: .98rem; }

  /* 会社情報 */
  .company-desc      { font-size: .96rem; }
  .company-table th,
  .company-table td  { font-size: .92rem; }

  /* フッター */
  .footer-nav a      { font-size: .86rem; }
  .footer-legal      { font-size: .8rem; }

  .problem-grid     {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .problem-card     {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 20px;
    overflow: hidden;
    min-width: 0;
  }
  .problem-card p   {
    font-size: 1.05rem;
    line-height: 1.7;
    width: 100%;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .problem-icon     { font-size: 2rem; margin-bottom: 12px; }
  .problem-card p br { display: none; }

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

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

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

  .hero-cta .btn    { width: auto; max-width: none; }

  .btn-large        { width: auto; }
}

/* =============================================
   スマホ横溢れ防止（総合）
   ============================================= */
@media (max-width: 599px) {
  .hero-section {
    min-height: 100svh;
    background-attachment: scroll;
    background:
      linear-gradient(160deg,
        rgba(0,0,0,.30),
        rgba(0,0,0,.30)
      ),
      url('../hero-bg-sp.jpg') center center / cover no-repeat;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ただし画像・アイコンは除外しない */
  img { max-width: 100%; height: auto; }

  /* ヒーロー統計カード: 3つが横に並ぶ場合の最小幅を抑える */
  .stat-card {
    min-width: 80px;
    padding: 10px 8px;
    flex: 1 1 80px;
  }
  .stat-num {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  /* ヒーローCTAボタン: 1列に */
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
  }

  /* シミュレーション表のフォント縮小 */
  .sim-table th,
  .sim-table td {
    font-size: .76rem;
    padding: 8px 6px;
  }

  /* コスト比較の内部テキスト */
  .cost-value {
    font-size: .92rem;
  }

  /* 裁断デメリットタグ: 折り返し */
  .cutting-list {
    gap: 6px;
  }
  .cutting-list span {
    font-size: .78rem;
    padding: 5px 10px;
  }

  /* 購入エリアのリスト */
  .purchase-includes ul li {
    font-size: .84rem;
    word-break: break-all;
  }

  /* メイン商品リスト */
  .main-product-list li {
    font-size: .84rem;
    word-break: break-all;
  }

  /* 会社情報テーブルの列幅 */
  .company-table th { width: 42%; font-size: .76rem; }
  .company-table td { font-size: .76rem; }

  /* フッターナビ */
  .footer-nav {
    gap: 4px 10px;
  }
  .footer-nav a {
    font-size: .72rem;
  }

  /* 壁画像 */
  .wall-img {
    border-radius: var(--radius-sm);
  }

  /* 問題カード */
  .problem-card p {
    font-size: .86rem;
    word-break: break-all;
  }
}

/* 安心してください タグを大きく */
#legal .section-tag {
  font-size: 1.56rem;
  padding: 8px 28px;
}

/* ヒーロー フレーズ */
.hero-phrase {
  display: block;
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: .02em;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

/* 含まれるもの サブリスト */
.purchase-includes ul li {
  align-items: flex-start;
}
.sub-list {
  list-style: none;
  padding: 0;
  margin-top: 6px;
}
.sub-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  padding: 3px 0;
  border-bottom: none !important;
  line-height: 1.5;
}
.sub-list .fa-arrow-right {
  color: var(--accent-yellow);
  flex-shrink: 0;
  margin-top: 4px;
  font-size: .72rem;
}

/* ===== オプションカード 料金表 ===== */
.option-condition {
  font-size: .78rem;
  color: var(--green-dark);
  background: rgba(60,179,113,.12);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin: 10px 0 8px;
  font-weight: 600;
}
.option-condition .fas { margin-right: 4px; }

.option-price-table {
  width: 100%;
  border: 1px solid rgba(60,179,113,.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 10px 0 8px;
}

.opt-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(60,179,113,.12);
  gap: 8px;
}
.opt-price-row:last-child { border-bottom: none; }
.opt-price-row:nth-child(odd) { background: rgba(60,179,113,.05); }

.opt-plan {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.opt-plan em {
  font-style: normal;
  color: var(--green-dark);
  font-weight: 700;
}
.opt-price {
  font-size: .82rem;
  color: var(--text-dark);
  text-align: right;
}
.opt-price strong {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 900;
}
.opt-price small {
  font-size: .68rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.option-note {
  font-size: .74rem !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  margin-top: 6px;
}

/* 裁断料金 縦並びレイアウト */
.opt-price-row.vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
}
.opt-plan-v {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.opt-plan-v.em {
  font-size: .85rem;
  color: var(--green-dark);
  font-weight: 700;
}
.opt-price-v {
  font-size: .82rem;
  color: var(--text-dark);
  margin-top: 2px;
}
.opt-price-v strong {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 900;
}
.opt-price-row.shipping {
  background: rgba(60,179,113,.08);
  font-size: .78rem;
}
.opt-price-row.shipping .fas {
  color: var(--green-main);
  margin-right: 3px;
}

/* セミナーブロック */
.seminar-block {
  border-left: 3px solid var(--green-main);
  padding: 10px 12px;
  margin-bottom: 12px;
  background: rgba(60,179,113,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.seminar-label {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.seminar-meta {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.seminar-meta strong {
  color: var(--green-dark);
  font-size: .96rem;
}
.seminar-meta small {
  font-size: .72rem;
  color: var(--text-muted);
}
.seminar-desc {
  font-size: .84rem !important;
  color: var(--text-body) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* 定価（打消し線） */
.price-value-orig {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-value-orig small {
  font-size: .72em;
  font-weight: 400;
}

/* 価格エリア 拡大 */
.price-tag {
  padding: 24px 28px;
}
.price-value-orig {
  font-size: 1.3rem !important;
}
.price-label {
  font-size: 1rem !important;
  color: rgba(255,255,255,.85) !important;
}
.price-value {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: var(--accent-yellow) !important;
  line-height: 1.2;
  margin-top: 4px;
}

/* ===== メイン商品 2カラム ===== */
.main-product-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-direction: column;
}
.main-product-left {
  flex: 1;
  text-align: left;
  width: 100%;
}
.main-product-right {
  width: 100%;
}

@media (min-width: 700px) {
  .main-product-inner {
    flex-direction: row;
  }
  .main-product-left { width: auto; }
  .main-product-right {
    flex: 0 0 220px;
    min-width: 200px;
  }
}

/* 特典ソフトボックス */
.software-box {
  background: linear-gradient(135deg, var(--green-dark), #1e7a47);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  color: var(--white);
  position: sticky;
  top: 80px;
}
.software-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 14px;
  letter-spacing: .03em;
}
.software-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.software-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.software-list .fa-check {
  color: var(--accent-yellow);
  flex-shrink: 0;
  font-size: .8rem;
}

/* ソフトボックスをリストの右横に配置 */
@media (min-width: 700px) {
  .main-product-inner {
    flex-wrap: wrap;
  }
  .main-product-left {
    flex: 1;
    min-width: 0;
  }
  .main-product-right {
    flex: 0 0 200px;
    align-self: flex-start;
  }
  /* ボタンはinner全幅で下に */
  .main-product-left .btn-large {
    display: inline-flex;
  }
}

/* ===== 特典ソフト バッジエリア ===== */
.software-badge-area {
  margin: 20px 0 8px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26,107,62,.08), rgba(60,179,113,.12));
  border: 1.5px solid rgba(60,179,113,.3);
  border-radius: var(--radius-md);
}
.software-badge-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.software-badge-label .fas {
  color: var(--accent-yellow);
  margin-right: 4px;
}
.software-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dark);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.software-badge .fas {
  font-size: .75rem;
  opacity: .85;
}

/* ソフトバッジ 中央揃え */
.software-badge-area {
  text-align: center;
}
.software-badge-label {
  justify-content: center;
  display: flex;
  align-items: center;
}
.software-badge-list {
  justify-content: center;
}

/* ===== LEGAL 下部 2カラム ===== */
.legal-cost-wrap {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-direction: column;
}

@media (min-width: 700px) {
  .legal-cost-wrap { flex-direction: row; align-items: stretch; }
  .legal-cost-left  { flex: 1; }
  .legal-expert-right { flex: 1; }
}

/* 左：コストカード */
.legal-cost-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-cost-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  border: 1px solid rgba(60,179,113,.15);
  box-shadow: var(--shadow-sm);
}
.legal-cost-best {
  background: linear-gradient(135deg, var(--green-pale), #b7e4c7);
  border: 2px solid var(--green-main);
}
.legal-cost-rank {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.legal-cost-card h3 {
  font-size: .96rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.45;
}
.legal-cost-card p {
  font-size: .84rem;
  color: var(--text-body);
  margin-bottom: 8px;
}
.legal-cost-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
}
.legal-cost-price.green { color: var(--green-dark); }
.legal-cost-sub {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 右：弁護士監修プレースホルダー */
.legal-expert-right {
  display: flex;
}
.legal-expert-placeholder {
  flex: 1;
  border: 2px dashed rgba(60,179,113,.35);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  color: var(--text-muted);
  background: rgba(60,179,113,.04);
  min-height: 180px;
}
.legal-expert-placeholder .fas {
  font-size: 2.4rem;
  color: var(--green-light);
}
.legal-expert-placeholder p {
  font-size: .88rem;
  text-align: center;
  line-height: 1.7;
  font-weight: 600;
}

/* ===== legal-grid を2倍大きく ===== */
#legal .legal-card {
  padding: 32px 28px;
}
#legal .legal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
#legal .legal-card p {
  font-size: 1rem;
  line-height: 1.85;
}
#legal .legal-badge {
  font-size: 1rem;
  padding: 6px 20px;
  margin-bottom: 14px;
}

/* ===== コスト試算表 ===== */
.cost-calc {
  margin-top: 14px;
  background: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(60,179,113,.2);
}
.cost-calc-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.cost-calc-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cost-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  gap: 8px;
}
.cost-calc-row .calc-label {
  font-size: .78rem;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 80px;
}
.cost-calc-row .calc-val {
  font-size: .82rem;
  font-weight: 600;
}
.cost-calc-row.plus .calc-val { color: var(--green-dark); }
.cost-calc-row.minus .calc-val { color: var(--red); }
.cost-calc-row small { font-size: .68rem; font-weight: 400; color: var(--text-muted); }

.cost-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 4px;
  margin-top: 4px;
  border-top: 2px solid var(--green-main);
}
.cost-calc-total .calc-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
}
.calc-total-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
}
.cost-calc-note {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ===== 弁護士監修カード ===== */
.lawyer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: linear-gradient(135deg, #f8f9ff, #eef0ff);
  border: 2px solid #c5cae9 !important;
}

.lawyer-photo-wrap {
  margin-bottom: 4px;
}
.lawyer-photo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(57,73,171,.25);
}
.lawyer-photo-placeholder .fas {
  font-size: 2.4rem;
  color: rgba(255,255,255,.9);
}

.lawyer-badge {
  display: inline-block;
  background: #3949ab;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.lawyer-name {
  font-size: 1.05rem !important;
  font-weight: 700;
  color: #1a237e !important;
  margin: 0 !important;
}

.lawyer-desc {
  font-size: .84rem !important;
  color: var(--text-body) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

.lawyer-firm {
  font-size: .76rem;
  color: #5c6bc0;
  font-weight: 600;
  border-top: 1px solid rgba(92,107,192,.2);
  padding-top: 8px;
  width: 100%;
}

/* 弁護士写真（実画像） */
.lawyer-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid #c5cae9;
  box-shadow: 0 4px 14px rgba(57,73,171,.2);
  display: block;
  margin: 0 auto;
}

/* 弁護士写真：丸なし・大きく */
.lawyer-photo {
  width: 100% !important;
  height: auto !important;
  max-width: 260px !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}
.lawyer-photo-wrap {
  width: 100%;
  text-align: center;
}

/* 弁護士説明文を cost-card h3 と同サイズに */
.lawyer-desc {
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  line-height: 1.6 !important;
}

/* コストセクション リード文 */
.cost-lead {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-top: 12px;
}

/* 裁断イメージ画像 */
.saidan-img-wrap {
  margin: 24px auto 0;
  text-align: center;
  max-width: 480px;
}
.saidan-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
  margin: 0 auto;
}

/* ===== スキャン紹介 ===== */
.scan-intro {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scan-intro-text {
  text-align: center;
}

.scan-intro-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.scan-intro-desc {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.7;
}

.scan-img-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.scan-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ===== 合法セクション セパレーター ===== */
.legal-cost-separator {
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.legal-cost-separator::before,
.legal-cost-separator::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(60,179,113,.3), transparent);
}
.legal-cost-sep-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  background: var(--green-pale);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(60,179,113,.3);
}

/* ===== 合法セクション 新レイアウト ===== */
.legal-top-wrap {
  display: flex;
  gap: 24px;
  flex-direction: column;
  margin-bottom: 8px;
}

@media (min-width: 700px) {
  .legal-top-wrap {
    flex-direction: row;
    align-items: flex-start;
  }
  .legal-left-col { flex: 1.4; }
  .legal-right-col { flex: 1; }
}

.legal-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-right-col .lawyer-card {
  height: 100%;
}

/* 💡 ポイントブロック */
.legal-point {
  background: linear-gradient(135deg, #fff9e6, #fffbf0);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.legal-point-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legal-point-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.legal-point p {
  font-size: .96rem;
  line-height: 1.85;
  color: var(--text-dark);
}
.legal-point strong {
  color: var(--green-dark);
}

/* ===== 未来BOOKの経営ストーリー ===== */
.legal-story {
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green-main);
  padding: 20px 20px 20px 18px;
  box-shadow: var(--shadow-sm);
}

.legal-story-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.legal-story-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.legal-story-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.4;
}

.legal-story-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-story-body > p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.85;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(60,179,113,.08);
}
.legal-story-body > p:last-of-type {
  border-bottom: none;
}

.legal-story-body strong {
  color: var(--green-dark);
}

.legal-story-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fff9e6, #fffbf0);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 4px;
}

.legal-story-point span {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.legal-story-point p {
  font-size: .88rem !important;
  line-height: 1.8 !important;
  color: var(--text-dark) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
}

/* 経営ストーリーをOK/NGカードと同じ枠スタイルに */
.legal-story {
  background: linear-gradient(135deg, #fff9e6, #fffdf5) !important;
  border: 2px solid var(--accent-yellow) !important;
  border-left: 2px solid var(--accent-yellow) !important;
  border-radius: var(--radius-md) !important;
  padding: 22px 20px !important;
  box-shadow: var(--shadow-sm) !important;
}
.legal-story-title {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: var(--text-dark) !important;
}

/* cost-grid-2 を3枚対応に */
@media (min-width: 900px) {
  .cost-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 2枚の場合は2列、3枚になった場合もgridが自動対応 */

/* 試算後のまとめテキスト */
.cost-summary-text {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(60,179,113,.1);
  border-left: 3px solid var(--green-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.6;
}

/* 処分注記（枠外） */
.cost-disposal-note {
  text-align: center;
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.7;
}

/* ===== 未来BOOKの考え方ブロック ===== */
.miraebook-policy {
  margin-bottom: 20px;
}
.miraebook-policy-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #f0faf3, #e8f5e9);
  border: 1.5px solid rgba(60,179,113,.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.policy-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.policy-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.policy-desc {
  font-size: .85rem;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
}

/* 自炊比較画像 */
.jisuihikaku-wrap {
  margin-top: 20px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.jisuihikaku-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

/* まとめ注記 複数行対応 */
.cost-disposal-note p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  margin: 2px 0;
}

/* 1冊あたり表示 */
.calc-per-book {
  text-align: right;
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(60,179,113,.25);
}

/* 発売日表示 */
.release-date {
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 12px;
  text-align: center;
}
