/* ========================================
 * IHOKUBASE｜伊北ベース 法人向けLP
 * ======================================== */

:root {
  --color-main: #0B2C5C;
  --color-main-dark: #061B3D;
  --color-main-light: #1A4A8C;
  --color-accent: #84BD00;
  --color-accent-light: #C8E94B;
  --color-accent-dark: #5A8200;
  --color-cta: #FF6B35;
  --color-cta-hover: #E55A24;
  --color-cta-soft: #FFE9E0;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F8FB;
  --color-bg-dark: #0A1F3D;
  --color-text: #1A1A1A;
  --color-text-sub: #5A6478;
  --color-border: #E2E8F0;
  --font-jp: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-num: "Helvetica Neue", "Arial", sans-serif;
  --container-max: 1080px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,44,92,0.06);
  --shadow-md: 0 8px 24px rgba(11,44,92,0.10);
  --shadow-lg: 0 20px 50px rgba(11,44,92,0.15);
  --shadow-glow: 0 0 30px rgba(132,189,0,0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-main); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.hl { color: var(--color-accent); font-weight: 700; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-only { display: inline; }
@media (min-width: 600px) { .sp-only { display: none; } }

/* ===== HEADER ===== */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-main);
  letter-spacing: 0.02em;
}
.logo-sub { font-size: 11px; color: var(--color-text-sub); }
.logo-sub small {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.header-nav { display: flex; align-items: center; gap: 16px; }
.header-tel {
  display: none;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
  color: var(--color-main);
}
.tel-label { font-size: 11px; color: var(--color-text-sub); }
.tel-num { font-size: 22px; font-weight: 700; font-family: var(--font-num); letter-spacing: 0.02em; }
.tel-hours { font-size: 10px; color: var(--color-text-sub); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  border: 2px solid transparent;
  font-size: 16px;
  cursor: pointer;
}
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-hover) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,107,53,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,107,53,0.45);
  opacity: 1;
}
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: #fff;
  color: var(--color-main);
  opacity: 1;
}
.btn-cta-header {
  background: var(--color-cta);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 50px;
  display: inline-block;
}
.btn-cta-header:hover { background: var(--color-cta-hover); opacity: 1; transform: translateY(-1px); }
@media (max-width: 768px) {
  .btn-cta-header { display: none; }
  .header-tel { font-size: 13px; }
  .header-tel .tel-hours { display: none; }
}

/* ===== HERO (v6: テキスト込み完パケ画像 + CTAボタン位置に透明オーバーレイのみ) ===== */
.hero {
  background: #fff;
  color: #fff;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.hero-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}
/* ===== HERO CAROUSEL ===== */
.hero-carousel { position: relative; width: 100%; max-width: 100vw; overflow: hidden; }
.hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.hero-slide { flex: 0 0 100%; width: 100%; }
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 10px;
  z-index: 12;
}
.hero-dot {
  width: 11px; height: 11px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 1px 5px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.hero-dot.is-active { background: #fff; transform: scale(1.3); }
.hero-dot:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 2px; }
.hero picture {
  display: block;
  width: 100%;
  max-width: 100%;
}
.hero-fv {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
/* SP用デフォルト：縦長画像 941×1672 内のCTAボタン位置（中央下部） */
.hero-cta-overlay {
  position: absolute;
  display: block;
  top: 90%;
  left: 8%;
  width: 84%;
  height: 6.5%;
  z-index: 10;
  cursor: pointer;
  border-radius: 999px;
}
.hero-cta-overlay:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 2px;
}
.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(132,189,0,0.8);
  animation: pulse 2s infinite;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132,189,0,0.15);
  color: var(--color-accent-light);
  padding: 6px 16px 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(132,189,0,0.4);
  letter-spacing: 0.05em;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(132,189,0,0.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-headline .hl {
  color: var(--color-accent-light);
  background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(132,189,0,0.3) 50%);
  padding: 0 4px;
}
.hero-sub {
  font-size: 15px;
  margin: 0 0 12px;
  opacity: 0.92;
}
.hero-sub .sep { margin: 0 8px; opacity: 0.5; }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 36px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.hero-price .price-num {
  font-family: var(--font-num);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  text-shadow: 0 0 20px rgba(132,189,0,0.5);
  letter-spacing: -0.02em;
}
.hero-price .price-yen {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-light);
}
.hero-price .price-tilde { font-size: 28px; color: var(--color-accent-light); margin-left: 2px; }
.hero-price small { font-size: 12px; opacity: 0.7; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.badge-xm {
  background: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  max-height: 42px;
  width: auto;
}
.badge-docomo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  line-height: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.section-divider svg { display: block; width: 100%; height: 50px; }
.divider-up + .section { margin-top: -1px; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; position: relative; }
.section.problems { background: #fff; padding-top: 100px; }
.section.solutions { background: var(--color-bg-soft); }
.section.reasons { background: #fff; }
.section.pricing { background: var(--color-bg-soft); }
.section.options { background: #fff; }
.section.comparison {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
  color: #fff;
}
.section.comparison .section-title { color: #fff; }
.section.flow { background: var(--color-bg-soft); }
.section.shop-info { background: #fff; }
.section-eyebrow {
  text-align: center;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: 26px;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.45;
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.section-title .hl {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.section-title .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 8px;
  background: var(--color-accent-light);
  z-index: -1;
  opacity: 0.7;
}
.section-lead {
  text-align: center;
  color: var(--color-text-sub);
  margin: 0 auto 48px;
  font-size: 15px;
  max-width: 640px;
}
.section.comparison .section-lead { color: rgba(255,255,255,0.85); }
.section.comparison .section-lead strong { color: var(--color-accent-light); font-size: 22px; font-family: var(--font-num); }

/* ===== PROBLEMS ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
.problem-card {
  background: #fff;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cta);
}
.problem-icon {
  width: 56px;
  height: 56px;
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-num {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-cta);
}
.problem-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--color-main);
  line-height: 1.5;
  font-weight: 800;
}
.problem-card p { margin: 0; color: var(--color-text-sub); font-size: 14px; line-height: 1.7; }

/* ===== SOLUTIONS ===== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.solution-card {
  background: #fff;
  padding: 32px 24px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.solution-tag {
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}
.solution-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 16px rgba(132,189,0,0.3));
}
.solution-icon svg { width: 100%; height: 100%; }
.solution-card h3 { margin: 0 0 12px; font-size: 19px; color: var(--color-main); font-weight: 800; }
.solution-card p { margin: 0; font-size: 14px; color: var(--color-text-sub); line-height: 1.7; }
.solution-card strong { color: var(--color-cta); font-weight: 800; }

/* ===== REASONS ===== */
.reason-list { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.reason-item {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-soft) 100%);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.3s;
}
.reason-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.reason-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-light) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(11,44,92,0.25);
}
.reason-body h3 { margin: 4px 0 8px; font-size: 19px; color: var(--color-main); font-weight: 800; }
.reason-body p { margin: 0; font-size: 14px; color: var(--color-text); line-height: 1.75; }
.reason-item-with-mascot { position: relative; padding-right: 90px; overflow: hidden; }
.reason-mascot {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 100px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
@media (min-width: 600px) {
  .reason-item-with-mascot { padding-right: 130px; }
  .reason-mascot { width: 130px; right: 12px; bottom: -10px; }
}

/* ===== CATALOG ===== */
.catalog { background: #fff; }
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  opacity: 1;
}
.catalog-thumb {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #F5F8FB 0%, #E2E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}
.catalog-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.4s;
  border-radius: 4px;
}
.catalog-card:hover .catalog-thumb img { transform: scale(1.04); }
.catalog-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.catalog-tag {
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.catalog-card h3 { margin: 4px 0 0; font-size: 17px; color: var(--color-main); font-weight: 800; line-height: 1.4; }
.catalog-card p { margin: 0; font-size: 13px; color: var(--color-text-sub); flex-grow: 1; line-height: 1.6; }
.catalog-dl {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-cta);
  letter-spacing: 0.03em;
}
@media (min-width: 600px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== PRICING ===== */
.pricing-table {
  background: #fff;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}
.pricing-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.pricing-cell {
  background: linear-gradient(135deg, #F0F9D8 0%, #D6F086 100%);
  color: var(--color-main-dark);
  padding: 22px 12px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  position: relative;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.pricing-cell:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 20px rgba(132,189,0,0.3);
}
.pricing-cell .gb {
  font-size: 28px;
  font-family: var(--font-num);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pricing-cell .price {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-family: var(--font-num);
  color: var(--color-accent-dark);
  font-weight: 800;
}
.pricing-notes {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 2px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-notes li {
  padding: 4px 0 4px 28px;
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 14px;
  position: relative;
}
.pricing-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* ===== OPTIONS ===== */
.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
.option-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s;
}
.option-card:hover {
  border-color: var(--color-cta);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.option-card h3 { margin: 0; font-size: 16px; color: var(--color-main); font-weight: 800; }
.option-desc { margin: 0; font-size: 13px; color: var(--color-text-sub); flex-grow: 1; }
.option-price {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-sub);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}
.option-price strong { color: var(--color-cta); font-size: 24px; font-family: var(--font-num); font-weight: 800; }

/* ===== COMPARISON ===== */
.comparison-headline {
  text-align: center;
  margin: 32px 0 32px;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.comp-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.comp-amount {
  display: flex;
  align-items: baseline;
  color: var(--color-accent-light);
  text-shadow: 0 0 30px rgba(132,189,0,0.6);
  margin: 4px 0;
}
.comp-num {
  font-family: var(--font-num);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.comp-unit { font-size: 28px; font-weight: 800; margin-left: 4px; }
.comp-suffix {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}
.comparison-table {
  margin-top: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
  color: rgba(255,255,255,0.95);
  font-size: 14px;
}
.comparison-row:last-child { border-bottom: none; }
.comparison-header {
  background: rgba(255,255,255,0.1);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.comparison-header .hl-cell { color: var(--color-accent-light); }
.comparison-highlight {
  background: rgba(132,189,0,0.12);
  border-left: 3px solid var(--color-accent);
}
.comparison-highlight .hl-cell { color: var(--color-accent-light); }
.hl-cell { text-align: right; font-weight: 700; }
.hl-cell strong { font-size: 18px; font-family: var(--font-num); font-weight: 800; }
.comparison-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ===== FLOW ===== */
.flow-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.flow-step {
  background: #fff;
  padding: 28px 24px 24px 80px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s;
  border: 1px solid var(--color-border);
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 28px;
  bottom: 24px;
  width: 2px;
  background: var(--color-accent-light);
  opacity: 0.3;
}
.flow-step:last-child::before { display: none; }
.flow-step:hover {
  transform: translateX(4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 16px;
  top: 24px;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 800;
  padding: 0;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(132,189,0,0.4);
}
.step-num::before { content: ""; }
.flow-step h3 { margin: 4px 0 8px; font-size: 18px; color: var(--color-main); font-weight: 800; }
.flow-step p { margin: 0; font-size: 14px; color: var(--color-text-sub); line-height: 1.7; }

/* ===== COMPANY INFO ===== */
.section.company-info { background: var(--color-bg-soft); }
.company-detail { max-width: 720px; margin: 32px auto 0; }

/* ===== SHOP INFO ===== */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.shop-detail {
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-soft) 100%);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.shop-detail h3 {
  margin: 0 0 24px;
  color: var(--color-main);
  font-size: 22px;
  font-weight: 800;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
}
.shop-detail dl { margin: 0; display: grid; grid-template-columns: 80px 1fr; gap: 16px 12px; }
.shop-detail dt { font-weight: 800; color: var(--color-text-sub); font-size: 12px; letter-spacing: 0.1em; padding-top: 2px; }
.shop-detail dd { margin: 0; font-size: 15px; color: var(--color-text); }
.shop-detail dd small { color: var(--color-text-sub); display: block; font-size: 11px; margin-top: 2px; }
.shop-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.shop-map iframe { display: block; width: 100%; }

/* ===== CTA ===== */
.cta-block {
  background:
    radial-gradient(circle at 80% 20%, rgba(132,189,0,0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  filter: blur(3px) saturate(1.2);
}
.cta-block .container { position: relative; z-index: 2; }
.cta-mascot {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 130px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  opacity: 0;
  animation: mascotIn 0.6s 0.3s ease-out forwards;
}
@keyframes mascotIn {
  from { opacity: 0; transform: translateY(20px) rotate(8deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
@media (min-width: 900px) {
  .cta-mascot { width: 200px; bottom: 20px; right: 30px; }
}
.cta-title { color: var(--color-main); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
.cta-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.cta-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}
.cta-card-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-hover) 100%);
  color: #fff;
  border-color: var(--color-cta);
  box-shadow: 0 12px 28px rgba(255,107,53,0.3);
}
.cta-card-primary:hover {
  border-color: var(--color-cta);
  box-shadow: 0 16px 36px rgba(255,107,53,0.4);
}
.cta-card-primary .cta-badge { background: rgba(255,255,255,0.25); color: #fff; }
.cta-card-primary h3 { color: #fff; }
.cta-card-primary p { color: rgba(255,255,255,0.9); }
.cta-badge {
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.cta-card h3 { margin: 6px 0 0; font-size: 19px; color: var(--color-main); font-weight: 800; }
.cta-card p { margin: 4px 0 12px; font-size: 14px; color: var(--color-text-sub); flex-grow: 1; line-height: 1.7; }
.cta-arrow {
  font-weight: 800;
  font-size: 14px;
  color: var(--color-cta);
  letter-spacing: 0.05em;
}
.cta-card-primary .cta-arrow { color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-logo { font-size: 18px; font-weight: 800; margin: 0 0 6px; color: #fff; letter-spacing: 0.02em; }
.footer-operator { font-size: 12px; margin: 0; opacity: 0.6; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.85); font-size: 13px; }
.footer-copy { margin: 12px 0 0; font-size: 11px; opacity: 0.5; text-align: center; letter-spacing: 0.05em; }

/* ===== RESPONSIVE: Tablet ===== */
@media (min-width: 600px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-row { grid-template-columns: repeat(4, 1fr); }
  .hero-headline { font-size: 36px; }
  .shop-photo-strip { grid-template-columns: repeat(3, 1fr); }
  .shop-photo-strip img { height: 180px; }
}

/* ===== RESPONSIVE: Desktop ===== */
@media (min-width: 900px) {
  body { font-size: 17px; }
  .header-tel { display: flex; }
  .hero { padding: 0; }
  /* PC用：横長画像 1920×1080 内のCTAボタン位置（右下） */
  .hero-cta-overlay {
    top: 80%;
    left: 62%;
    width: 32%;
    height: 11%;
  }
  .hero-headline { font-size: 48px; line-height: 1.4; }
  .hero-sub { font-size: 17px; }
  .hero-price .price-num { font-size: 80px; }
  .hero-price .price-yen { font-size: 28px; }
  .hero-price .price-tilde { font-size: 36px; }
  .section { padding: 110px 0; }
  .section-title { font-size: 36px; }
  .solution-grid { grid-template-columns: repeat(4, 1fr); }
  .option-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .cta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
  .footer-copy { text-align: left; width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .comp-num { font-size: 96px; }
  .comp-unit { font-size: 36px; }
  .comp-suffix { font-size: 20px; }
  .section-divider svg { height: 60px; }
  .hero-wave svg { height: 80px; }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .problem-card, .solution-card, .reason-item, .flow-step, .cta-card, .pricing-cell {
    animation: fadeInUp 0.6s cubic-bezier(0.4,0,0.2,1) backwards;
  }
  .problem-card:nth-child(2), .solution-card:nth-child(2), .reason-item:nth-child(2), .flow-step:nth-child(2), .cta-card:nth-child(2) { animation-delay: 0.08s; }
  .problem-card:nth-child(3), .solution-card:nth-child(3), .reason-item:nth-child(3), .flow-step:nth-child(3), .cta-card:nth-child(3) { animation-delay: 0.16s; }
  .problem-card:nth-child(4), .solution-card:nth-child(4), .reason-item:nth-child(4), .flow-step:nth-child(4) { animation-delay: 0.24s; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== OPTIONS: グループ見出し（かけたい放題／音声／その他）===== */
.option-group-title {
  margin: 40px 0 0;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-accent-dark);
  text-align: center;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.option-group-title + .option-grid { margin-top: 16px; }

/* ===== 料金/オプションの税込(small)を小さく ===== */
.pricing-cell .price small,
.option-price small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-top: 2px;
}

/* スマホで比較表が詰まらないよう微調整 */
@media (max-width: 600px) {
  .comparison-row { font-size: 12px; padding: 12px 10px; }
  .hl-cell { font-size: 11px; }
  .hl-cell strong { font-size: 14px; }
}

/* ===========================================================
   HIGH QUALITY POLISH（ToCサイトの質感に寄せた洗練）
   - セクション背景の抑揚（リズム）
   - カードの装飾アクセント・上質なホバー
   - アイコンを大きく立体的に
   - 配色グラデを抑制、ハイライトを上質に
   =========================================================== */

/* セクションのリズム：交互に薄グレー */
.section.solutions { background: var(--color-bg-soft); }
.section.pricing { background: var(--color-bg-soft); }
.section.flow { background: var(--color-bg-soft); }

/* 見出しの hl をマーカーハイライトに */
.section-title .hl {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  z-index: 0;
  color: var(--color-main);
}
.section-title .hl::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 14px;
  background: linear-gradient(90deg, rgba(132,189,0,0.45) 0%, rgba(132,189,0,0.22) 100%);
  z-index: -1;
  border-radius: 2px;
}

/* お悩みカード：上部のオレンジアクセントバー＋立体ホバー */
.problem-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  padding-top: 36px;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .35s;
}
.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cta) 0%, var(--color-cta-hover) 100%);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11,44,92,0.12);
  border-color: var(--color-cta-soft);
}
.problem-icon {
  width: 80px; height: 80px;
  margin: 4px auto 16px;
}
.problem-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 8px 18px rgba(255,107,53,0.25));
}
.problem-num {
  letter-spacing: 0.18em;
}

/* 解決策カード：上品なリフト */
.solution-card {
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(132,189,0,0.18);
}
.solution-icon {
  width: 92px; height: 92px;
  margin: 8px auto 22px;
}
.solution-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 24px rgba(132,189,0,0.30));
}
.solution-tag {
  letter-spacing: 0.18em;
}

/* 選ばれる理由：番号をダイナミックに＋カードに抑揚 */
.reason-num {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-light) 100%) !important;
  box-shadow: 0 8px 22px rgba(11,44,92,0.28);
  width: 76px !important;
  height: 76px !important;
  font-size: 28px !important;
  font-family: var(--font-num);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.reason-item {
  padding: 32px;
  border: 1px solid var(--color-border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.reason-item:hover {
  transform: translateX(6px);
  border-color: var(--color-main-light);
  box-shadow: 0 14px 32px rgba(11,44,92,0.10);
}
.reason-body h3 {
  letter-spacing: -0.01em;
}

/* 料金セル：グラデを抑制し、白＋淡緑ボーダーで上質に */
.pricing-cell {
  background: #fff !important;
  border: 2px solid #E0EDC2 !important;
  transition: all .25s;
}
.pricing-cell:hover {
  border-color: var(--color-accent) !important;
  background: linear-gradient(180deg, #fff 0%, #F6FBE6 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(132,189,0,0.18);
}
.pricing-cell .gb {
  color: var(--color-main);
  font-weight: 900;
}
.pricing-cell .price {
  color: var(--color-accent-dark);
}

/* フロー：ステップ番号を上質に・縦線を緑グラデに */
.step-num {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%) !important;
  box-shadow: 0 8px 20px rgba(132,189,0,0.4);
}
.flow-step {
  padding: 28px 28px 24px 96px;
}
.flow-step::before {
  left: 38px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(132,189,0,0.2) 100%) !important;
  opacity: 1 !important;
  width: 3px !important;
}
.flow-step:hover {
  transform: translateX(8px);
  border-color: var(--color-accent);
  box-shadow: 0 14px 32px rgba(132,189,0,0.15);
}

/* オプション グループ見出しを緑塗りに（テキストは白） */
.option-group-title {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  border: none !important;
  letter-spacing: 0.12em;
  box-shadow: 0 6px 16px rgba(132,189,0,0.25);
}
.option-card { transition: all .3s; }
.option-card:hover {
  border-color: var(--color-cta);
  box-shadow: 0 12px 28px rgba(11,44,92,0.10);
  transform: translateY(-3px);
}
.option-price strong {
  font-family: var(--font-num);
  letter-spacing: -0.02em;
}

/* 比較セクション：削減額のグロー */
.comp-num {
  filter: drop-shadow(0 4px 18px rgba(132,189,0,0.55));
}

/* CTAカード：ホバーで持ち上げ */
.cta-card {
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.cta-card:hover { transform: translateY(-6px); }

/* ===== HEADER LAYOUT 調整（2026-05-31） =====
   PCではヘッダーinnerだけ画面幅を広めに使い、ロゴを左／電話・CTAを右に振る。
   SPではロゴしか出ていなかった問題を解消し、電話番号とCTAをコンパクトに復活。 */
@media (min-width: 1100px){
  .site-header .header-inner{
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px){
  .header-inner{
    padding: 18px 18px;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  /* ロゴ：SPでは IHOKU BASE / X-mobile取扱店 を並列表示（上下余白を広めに）*/
  .logo{ gap: 12px !important; flex: 0 1 auto; min-width: 0; justify-content: center; }
  .logo-img{ height: 26px; flex-shrink: 1; min-width: 0; max-width: 55%; object-fit: contain; }
  .logo-sep{ display: inline-block; font-size: 20px; flex-shrink: 0; color: #c5ccd4; }
  .logo-img-xm{ display: inline-block !important; height: 21px; flex-shrink: 1; min-width: 0; max-width: 40%; object-fit: contain; }

  /* 右側ナビ（電話＋CTA）はスマホでは下部固定バーへ移動するので非表示 */
  .header-nav{ display: none !important; }
  .header-tel,
  .btn-cta-header{ display: none !important; }
}

@media (max-width: 400px){
  .header-inner{ padding: 16px 14px; gap: 8px; }
  .logo{ gap: 8px !important; }
  .logo-img{ height: 22px; }
  .logo-sep{ font-size: 18px; }
  .logo-img-xm{ height: 18px; }
}

/* ===== モバイル下部固定CTAバー（SP限定・常時追従）===== */
.mobile-cta-bar{ display: none; }

@media (max-width: 768px){
  .mobile-cta-bar{
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 22px rgba(0,0,0,0.10);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 4px 16px;
    text-decoration: none;
    text-align: center;
    color: var(--color-text);
    min-height: 78px;
    transition: opacity .2s, background .2s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-cta-item:active{ opacity: .75; }
  .mobile-cta-item + .mobile-cta-item{
    border-left: 1px solid var(--color-border);
  }
  .mobile-cta-icon{
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
  }
  .mobile-cta-icon svg{ width: 100%; height: 100%; display: block; }
  .mobile-cta-label{
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
  }
  /* 電話：紺アクセント */
  .mobile-cta-tel{ color: var(--color-main); }
  .mobile-cta-tel .mobile-cta-icon{ color: var(--color-main); }
  /* LINE：LINEブランドカラー（#06C755）*/
  .mobile-cta-line{ color: #06C755; }
  .mobile-cta-line .mobile-cta-icon{ color: #06C755; }
  /* 無料相談予約：オレンジで強調・主CTA */
  .mobile-cta-reserve{
    background: linear-gradient(135deg, var(--color-cta), var(--color-cta-hover));
    color: #fff;
    border-left-color: transparent !important;
  }
  .mobile-cta-reserve .mobile-cta-icon{ color: #fff; }
  .mobile-cta-reserve .mobile-cta-label{ color: #fff; font-weight: 800; }

  /* 下部固定バーの高さ分、body末尾に余白を確保（フッターが隠れないように）*/
  body{ padding-bottom: 82px; }
}

@media (max-width: 400px){
  .mobile-cta-bar .mobile-cta-item{ padding: 12px 3px 14px; min-height: 72px; gap: 6px; }
  .mobile-cta-bar .mobile-cta-icon{ width: 28px; height: 28px; }
  .mobile-cta-bar .mobile-cta-label{ font-size: 11.5px; }
  body{ padding-bottom: 76px; }
}

/* ===== ヘッダーロゴ追加スタイル（元 index.html の <head> 内 <style> から統合） ===== */
.logo{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center;gap:10px;}
.logo-img{height:30px;width:auto;display:block;}
.logo-sep{color:#c5ccd4;font-size:24px;font-weight:300;line-height:1;}
.logo-img-xm{height:25px;width:auto;display:block;}
