:root {
  --bg: #0a1d57;
  --bg-soft: #10286e;
  --white: #ffffff;

  --text-dark: #1b1b1b;
  --text-body: #333333;
  --text-soft: #666666;
  --heading: #1b1b1b;

  --muted-dark: rgba(255, 255, 255, 0.74);
  --line-light: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(10, 29, 87, 0.08);
  --line: rgba(0, 0, 0, 0.08);

  --gold: #cfa64c;
  --gold-soft: #ffd17b;

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);

  --radius: 24px;
  --radius-sm: 18px;

  --max: 1180px;
  --narrow: 860px;
  --header-h: 76px;

  --transition: 260ms ease;
}

/* =========================================
   Base
========================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--bg);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

main {
  background: #ffffff;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), var(--narrow));
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* =========================================
   Typography
========================================= */
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
}

h1,
h2 {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  color: var(--gold);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  color: var(--bg);
}

h3 {
  font-size: 1.18rem;
  color: var(--bg);
}

p {
  margin: 0 0 18px;
  color: var(--text-body);
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.strong-copy,
.mini-note {
  color: var(--gold);
  font-weight: 700;
}

/* =========================================
   Section
========================================= */
.section {
  position: relative;
  padding: 96px 0;
}

.section-dark {
  background: #ffffff;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(207, 166, 76, 0.05), rgba(255, 255, 255, 1)),
    #ffffff;
  border-top: 1px solid rgba(207, 166, 76, 0.18);
  border-bottom: 1px solid var(--line-dark);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading p:last-child {
  max-width: 760px;
}

/* =========================================
   Header
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(10, 29, 87, 0.82);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.brand-text small {
  color: var(--gold-soft);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 0.94rem;
  color: var(--muted-dark);
  transition: color var(--transition);
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #121212 !important;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: var(--transition);
}

/* =========================================
   Hero
========================================= */
.hero.section {
  padding: 0;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.grid-2 {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-fv-image {
  display: block;
  width: 100%;
}

.hero-fv-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.hero-benefits li {
  position: relative;
  padding-left: 28px;
  color: var(--white);
}

.hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.price-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-dark);
}

.price-note strong,
.daily-cost {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  font-weight: 800;
}

/* =========================================
   Button
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 30px rgba(207, 166, 76, 0.25);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.btn-large {
  min-width: 260px;
  min-height: 62px;
}

/* =========================================
   Card / Panel
========================================= */
.glass {
  background: #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.hero-card,
.price-box,
.check-panel,
.benefit-box,
.compare-card,
.content-card,
.cta-box {
  border-radius: var(--radius);
}

.hero-card {
  overflow: hidden;
}

.hero-image-wrap {
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.04);
}

.hero-image-wrap img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-body {
  padding: 20px;
}

.check-panel,
.price-box,
.benefit-box,
.compare-card,
.content-card,
.cta-box {
  padding: 28px;
}

/* =========================================
   List
========================================= */
.check-list,
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li,
.compare-card li {
  position: relative;
  padding-left: 28px;
  color: var(--text-body);
}

.check-list li::before,
.compare-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

/* =========================================
   Stat
========================================= */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-row + .stat-row {
  margin-top: 12px;
}

.stat-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.stat-card strong {
  display: block;
  line-height: 1.45;
}

.stat-card.wide {
  grid-column: 1 / -1;
}

/* =========================================
   Grid Block
========================================= */
.pain-grid,
.logic-grid,
.content-grid {
  display: grid;
  gap: 18px;
}

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

.logic-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

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

.pain-card,
.logic-card,
.content-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.logic-step {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #111;
  font-weight: 900;
}

/* =========================================
   Compare
========================================= */
.compare-grid,
.benefit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compare-card {
  min-height: 100%;
}

.compare-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 0.9rem;
}

.compare-card-negative {
  border: 1px solid rgba(10, 29, 87, 0.08);
  background: #ffffff;
}

.compare-card-positive {
  border: 1px solid rgba(207, 166, 76, 0.24);
  background: linear-gradient(180deg, rgba(207, 166, 76, 0.10), rgba(255, 255, 255, 1));
}

.compare-card-negative .compare-label {
  background: rgba(10, 29, 87, 0.06);
  color: var(--bg);
}

.compare-card-positive .compare-label {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #111;
}

/* =========================================
   Image Panel
========================================= */
.align-center {
  align-items: center;
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}
.image-panel img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   FAQ
========================================= */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 29, 87, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold-soft);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-content {
  padding: 0 24px 22px;
  color: var(--text-body);
}

/* =========================================
   Footer
========================================= */
.site-footer {
  padding: 36px 0 120px;
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-dark);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================
   Floating CTA
========================================= */
.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(92%, 420px);
}

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

.floating-cta a {
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* =========================================
   Decorative
========================================= */
.bg-orb {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

.bg-orb-1 {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 120px;
  background: rgba(207, 166, 76, 0.22);
}

.bg-orb-2 {
  width: 220px;
  height: 220px;
  right: -40px;
  top: 50%;
  background: rgba(255, 209, 123, 0.18);
}

/* =========================================
   Motion
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Flow / CTA
========================================= */
.flow-section {
  padding: 80px 0;
  background: #ffffff;
}

.flow-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 29, 87, 0.12);
  border: 1px solid rgba(10, 29, 87, 0.08);
}

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

.fv-cta {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
}

.fv-cta img {
  width: min(92%, 520px);
  height: auto;
  display: inline-block;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.entry-cta-section {
  background: #ffffff;
  padding: 28px 0 36px;
  text-align: center;
}

.entry-cta-wrap {
  display: flex;
  justify-content: center;
}

.entry-cta-link {
  display: inline-block;
  width: min(92%, 520px);
  transition: transform 0.2s ease;
}

.entry-cta-link:hover {
  transform: translateY(-2px);
}

.entry-cta-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================
   After Panel
========================================= */
.after-panel {
  background: #ffffff;
  color: #222;
}

.after-panel h3 {
  color: var(--bg);
}

.after-panel .check-list li {
  color: var(--text-body);
}

.after-panel .check-list li::before {
  color: var(--gold);
}

.after-panel .mini-note {
  color: var(--gold);
}

/* =========================================
   Before / After
========================================= */
.before-images,
.after-images {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.after-images {
  margin-top: 50px;
}

.before-images::before,
.after-images::before {
  position: absolute;
  top: -18px;
  left: 0;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}

.before-images::before {
  content: "BEFORE";
  background: var(--bg);
  color: #fff;
}

.after-images::before {
  content: "AFTER";
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #111;
}

.before-images img,
.after-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 560px) {

  .before-images img,
  .after-images img {
    border-radius: 12px;
  }

  .before-images::before,
  .after-images::before {
    font-size: 0.75rem;
    padding: 4px 10px;
    top: -14px;
  }
}/* =========================================
   Terms
========================================= */
.terms-page {
  background: #ffffff;
}

.terms-wrap {
  max-width: 860px;
}

.terms-eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terms-page h1 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.terms-lead {
  margin-bottom: 36px;
  font-size: 0.98rem;
  line-height: 2;
  color: var(--text-soft);
}

.terms-box {
  margin-bottom: 20px;
  padding: 24px 26px;
  background: #fbfbf9;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.terms-box h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--heading);
}

.terms-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-soft);
}

.terms-article {
  margin-top: 44px;
}

.terms-article h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.6;
}

.terms-article p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-soft);
}

.terms-date {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: #888;
}

/* =========================================
   Law
========================================= */
.law-page {
  background: #ffffff;
}

.law-wrap {
  max-width: 860px;
}

.law-eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.law-page h1 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--heading);
}

.law-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.law-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fbfbf9;
  border: 1px solid var(--line);
}

.law-label {
  font-weight: 600;
  color: var(--heading);
}

.law-value {
  color: var(--text-soft);
  line-height: 1.8;
}

.law-value small {
  font-size: 0.85rem;
  color: #888;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1080px) {
  .hero-grid,
  .grid-2,
  .cta-box,
  .benefit-columns,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .logic-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: rgba(10, 29, 87, 0.96);
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  .pain-grid,
  .logic-grid,
  .content-grid,
  .before-images,
  .after-images {
    grid-template-columns: repeat 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .law-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .before-images,
  .after-images {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .logic-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .logic-card {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 18px !important;
    min-height: auto !important;
    height: auto !important;
  }

  .logic-step {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 !important;
  }

  .logic-content {
    flex: 1;
  }

  .logic-card h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .logic-card p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  .price-note {
    font-size: 28px;
  }

  #difference {
    padding: 64px 0;
    background: url("img/meary.JPG") center 20% / cover no-repeat;
  }

  #difference::before {
    background: rgba(255,255,255,0.65);
  }

  #difference .compare-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #difference .compare-card {
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.50);
  }

  .entry-price-box {
    text-align: left;
    padding: 0 12px;
  }

  .intro-text {
    text-align: left;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(calc(100% - 20px), var(--max));
  }

  .before-images img,
  .after-images img {
    border-radius: 12px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .btn,
  .btn-large,
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .price-note {
    display: grid;
    gap: 2px;
  }

  .check-panel,
  .benefit-box,
  .compare-card,
  .content-card,
  .price-box,
  .cta-box {
    padding: 22px;
  }

  .faq-item summary {
    padding: 18px 20px;
  }

  .faq-content {
    padding: 0 20px 18px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .terms-wrap {
    width: min(calc(100% - 20px), 860px);
  }

  .terms-page h1,
  .law-page h1 {
    font-size: 1.7rem;
  }

  .terms-box {
    padding: 20px 18px;
  }

  .terms-article h2 {
    font-size: 1.05rem;
  }

  .terms-article p,
  .terms-box p,
  .terms-lead {
    font-size: 0.92rem;
  }
}
/* =========================
   Logic Card 背景画像（最適版）
========================= */
.logic-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
}

/* 背景画像 */
.logic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    var(--bg-image);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 1; /* ←ここ重要（ぼやけ防止） */
}

/* テキスト前面 */
.logic-card * {
  position: relative;
  z-index: 1;
}

/* 各カード */
.card-1 { --bg-image: url("img/bg1.png"); }
.card-2 { --bg-image: url("img/bg2.png"); }
.card-3 { --bg-image: url("img/bg3.png"); }

@media (max-width: 768px) {
  .logic-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .logic-card {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 18px !important;
    min-height: auto !important;
    height: auto !important;
  }

  .logic-step {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 !important;
  }

  .logic-content {
    flex: 1;
  }

  .logic-card h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .logic-card p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
}

/* =========================
   背景フル画像
========================= */
.price-section {
  position: relative;
  background: url("img/サムネ１.jpg") center/cover no-repeat;
}

/* 白のフィルター（読みやすくする） */
.price-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55); /* ←ここ調整できる */
  z-index: 0;
}

/* 中身を前に出す */
.price-section .container {
  position: relative;
  z-index: 1;
}

/* 中のカード（ガラス風） */
.price-section .container > div {
  background: rgba(255, 255, 255, 0.6); /* ←透明度 */
  backdrop-filter: blur(10px);          /* ←ぼかし */
  -webkit-backdrop-filter: blur(10px);  /* Safari対応 */

  border-radius: 20px;
  padding: 40px;
}

.price-note {
  color: #111 !important;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 8px 0 24px;
}

@media (max-width: 768px) {
  .price-note {
    font-size: 28px;
  }
}

/* =========================
   difference 比較カード
========================= */
#difference {
  position: relative;
  overflow: hidden;
  background: url("img/サムネ１.jpg") center center / cover no-repeat;
  padding: 100px 0;
}

#difference::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  z-index: 0;
}

#difference .container {
  position: relative;
  z-index: 1;
}

#difference .compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

#difference .compare-card {
  background: rgba(255,255,255,0.50);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

#difference .compare-label {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 20px;
}

#difference .compare-card-negative .compare-label {
  background: #eef1f7;
  color: #1b2f6b;
}

#difference .compare-card-positive .compare-label {
  background: #d8b15a;
  color: #1b2f6b;
}

#difference .compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#difference .compare-card li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #222;
  font-weight: 600;
}

#difference .compare-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d8b15a;
  font-weight: 800;
}

/* スマホ */
@media (max-width: 768px) {
  #difference {
    padding: 64px 0;
    background: url("img/meary.JPG") center 20% / cover no-repeat;
  }

  #difference::before {
    background: rgba(255,255,255,0.65);
  }

  #difference .compare-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #difference .compare-card {
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.50);
  }
}