@charset "UTF-8";

/* ブラウザ互換性：ベンダープレフィックス用 */
/* 強調箇所用アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

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

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.02); }
}

@keyframes highlight-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 130, 60, 0.2); }
  50% { box-shadow: 0 0 20px 2px rgba(184, 130, 60, 0.25); }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* イラスト画像：ゆっくり滑らかなフェードイン＋ループ */
@keyframes illustBounceIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes illustBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-12px) scale(1.03); }
  50% { transform: translateY(2px) scale(1.01); }
  75% { transform: translateY(-8px) scale(1.02); }
}

/* ヒーロー：ロード時にゆっくりフェードイン → ループ */
.hero-visual picture img {
  opacity: 0;
  animation: illustBounceIn 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards,
             illustBounce 6.5s ease-in-out 2.6s infinite;
}

/* セクションイラスト：表示時にゆっくりフェードイン → ループ */
.animate-target .section-illust img {
  opacity: 0;
}

.animate-target.animate-in .section-illust img {
  animation: illustBounceIn 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
             illustBounce 6.5s ease-in-out 2.4s infinite;
}

.section-illust--sympathy img { animation-delay: 0s, 2.4s; }
.section-illust--solution img { animation-delay: 0s, 2.4s; }
.section-illust--cases img { animation-delay: 0s, 2.4s; }
.section-illust--faq img {
  animation-delay: 0.1s, 2.5s;
}

/* ヒーロー：ロード時フェードイン */
.hero-copy h1 {
  animation: fadeInUp 0.7s ease-out forwards;
}

/* ヒーロー「月4,000円台から」のみフォントサイズ指定 */
.hero-copy h1 .hero-price-lead {
  font-size: 1.05em;
}

.hero-lead {
  animation: fadeInUp 0.7s ease-out 0.15s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeInUp 0.7s ease-out 0.3s forwards;
  opacity: 0;
}

/* スクロールで表示されたらアニメーション */
.animate-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 数字・価格強調：表示時に軽いグロー */
.num-large,
.price.accent,
.plan-card-price--accent {
  transition: box-shadow 0.4s ease;
}

.animate-target.animate-in .num-large,
.animate-target.animate-in .price.accent {
  animation: highlight-glow 2s ease-in-out 0.3s;
}

/* 差別化カード（あなた側）：軽いフロート */
.difference-card.highlight {
  animation: float-subtle 4s ease-in-out infinite;
}

:root {
  --color-bg-main: #faf7f2;
  --color-accent: #d3a674;
  --color-accent-strong: #b8823c;
  --color-gold: #c9a227;
  --color-navy: #1e3a5f;
  --color-text-main: #222222;
  --color-text-muted: #777777;
  --color-surface: #ffffff;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.06);
  --radius-large: 36px;
  --radius-pill: 999px;
  --content-width: min(1120px, 100% - 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "メイリオ",
    system-ui, sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background: var(--color-bg-main);
  line-height: 1.75;
}

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

/* 画像CLS軽減・画像最適化（アスペクト比予約） */
.section-illust img,
.hero-visual picture img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

a {
  color: var(--color-accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* アクセシビリティ：フォーカス表示（キーボード操作時） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 2px;
}

/* モバイル：タッチターゲット最小44px（CRO・アクセシビリティ） */
@media (max-width: 640px) {
  .btn,
  .hero-cta .btn,
  .cta-bar-actions .btn,
  .cta-final-actions .btn,
  .form-actions .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
  }
}

/* サイトヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 224, 213, 0.8);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.site-header-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
}

.site-header-logo {
  font-weight: bold;
  font-size: 16px;
  color: var(--color-text-main);
  text-decoration: none;
}

.site-header-logo:hover {
  color: var(--color-accent-strong);
  text-decoration: none;
}

.site-header-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.site-header-nav a {
  font-size: 14px;
  color: var(--color-text-main);
  text-decoration: none;
}

.site-header-nav-inner {
  display: contents;
}

.site-header-nav-title {
  display: none;
}

.site-header-nav .site-header-nav-icon {
  display: none;
}

.site-header-nav a:hover {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

.site-header-cta {
  padding: 6px 14px;
  background: var(--color-accent-strong);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: bold;
}

.site-header-cta:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

.site-header-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.site-header-toggle:hover {
  background: rgba(184, 130, 60, 0.08);
}

.site-header-toggle-inner {
  display: none;
}

.site-header-toggle::before,
.site-header-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header-toggle:hover::before,
.site-header-toggle:hover::after {
  background: var(--color-accent-strong);
}

.site-header-toggle::before {
  top: 14px;
  box-shadow: 0 7px 0 var(--color-text-main);
  border-radius: 2px;
}

.site-header-toggle:hover::before {
  box-shadow: 0 7px 0 var(--color-accent-strong);
}

.site-header-toggle::after {
  bottom: 14px;
}

.site-header-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px var(--color-accent-strong);
}

.site-header-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
  background: var(--color-accent-strong);
}

.site-header-toggle[aria-expanded="true"]::after {
  bottom: 21px;
  transform: rotate(-45deg);
  background: var(--color-accent-strong);
}

.site-header-overlay {
  display: none;
}

@media (max-width: 768px) {
  .site-header-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .site-header.is-open .site-header-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: linear-gradient(180deg, #fdfbf8 0%, #fff 20%);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    overflow-y: auto;
  }

  .site-header.is-open .site-header-nav {
    transform: translateX(0);
  }

  .site-header-nav-inner {
    display: block;
    padding: 20px 0 28px;
    min-height: 100%;
  }

  .site-header-nav-title {
    display: block;
    margin: 0;
    padding: 16px 20px 12px;
    font-size: 12px;
    font-weight: bold;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(232, 224, 213, 0.8);
  }

  .site-header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 0;
  }

  .site-header-nav ul li {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
  }

  .site-header-nav ul li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .site-header-nav ul li a:hover {
    background: rgba(184, 130, 60, 0.06);
    border-left-color: var(--color-accent-strong);
    text-decoration: none;
  }

  .site-header-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(184, 130, 60, 0.12);
    color: var(--color-accent-strong);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
  }

  .site-header-nav .site-header-cta {
    margin-top: 24px;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 20px;
    text-align: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(184, 130, 60, 0.25);
    border-left: none;
  }

  .site-header-nav .site-header-cta:hover {
    background: var(--color-accent-strong);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(184, 130, 60, 0.3);
  }

  .site-header-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
  }
}

.cta-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  z-index: 50;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: transform 0.25s ease, opacity 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-bar.is-visible {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cta-bar-inner {
  width: var(--content-width);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .cta-bar-inner {
    gap: 12px;
    padding: 8px 16px 20px;
  }
}

.cta-bar-text {
  font-size: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.cta-bar-actions {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 640px) {
  .cta-bar-actions {
    gap: 12px;
    width: 100%;
  }
  .cta-bar-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f0e6 65%, #f3eee6 100%);
  color: var(--color-text-main);
  padding: 24px 0 48px;
  border-radius: 0 0 40px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero::before {
  width: 340px;
  height: 340px;
  background: #ffffff;
  top: -120px;
  left: -40px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: #fdf7f0;
  bottom: -120px;
  right: -40px;
}

.hero-inner {
  width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 12px;
  margin-bottom: 8px;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb li::after {
  content: ">";
  margin: 0 4px;
  opacity: 0.5;
}

.breadcrumb li:last-child::after {
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: 12px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #f7efe5;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;

}

.hero-catch {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-navy);
  margin: 0 0 14px;
  text-align: center;
  font-weight: 600;
}
@media (min-width: 641px) {
  .hero-catch {
    font-size: 16px;
  }
}

.hero-copy h1 .hero-price-lead {
  font-size: 1.5em;
  width: 100%;
  text-align: center;
}
.hero-copy h1 .hero-price-lead_2 {
  display: inline-block;
  padding: 6px 16px;
  margin-top: 8px;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  position: relative;
  width: 100%;
  text-align: center;
}

.hero-copy h1 .hero-price-lead_2::after {
  content: "";
  position: absolute;
  inset: -10px -22px;
  border-radius: 999px;
  background: radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.3) 0, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(243, 225, 197, 0.8) 0, transparent 60%);
  z-index: -1;
}
@media (max-width: 640px) {
  .hero-copy h1{
    text-align: center; 
    font-size: 40px;
  }
  .hero-copy h1 span {
    text-align: center;
    font-size: 24px;
  }
  .hero-copy h1 .hero-price-lead {
    font-size: 1.0em;
  }
  .hero-copy h1 .hero-price-lead_2 {
    font-size: 0.6em;
  }
}

.hero-lead {
  font-size: 14px;
  margin-bottom: 14px;
  text-align: center;
}

.hero-lead strong {
  background: #fff4df;
  padding: 0 4px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  justify-content: center;
}

.hero-note {
  font-size: 12px;
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent-strong) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 162, 39, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4ad2a 0%, #c49430 100%);
  border-color: var(--color-gold);
  animation: pulse-soft 1.2s ease-in-out infinite;
}

/* LINE専用：緑はLINE関連のみ */
.btn-line {
  background: #06c118;
  color: #ffffff;
  border-color: #06c118;
}
.btn-line:hover {
  background: #05a814;
  border-color: #05a814;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover {
  background: rgba(30, 58, 95, 0.06);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

.hero-visual {
  position: relative;
  margin-top: 50px;
}

.hero-badge {
  position: absolute;
  top: -30px;
  right: 0;
  background: var(--color-navy);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  text-align: center;
}

.hero-badge-rank {
  display: block;
  font-weight: 700;
}

.hero-visual picture {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* ヒーローナビ：横スクロール（マーキー）＋ドラッグ・スワイプ対応 */
.hero-nav-wrap {
  margin: 26px auto 0;
  max-width: var(--content-width);
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero-nav-wrap::-webkit-scrollbar {
  display: none;
}
.hero-nav-wrap.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.hero-nav-track {
  display: flex;
  width: max-content;
}

@media (prefers-reduced-motion: reduce) {
  .hero-nav-wrap {
    cursor: default;
    overflow-x: visible;
  }
  .hero-nav-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-nav-track .hero-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-nav-track .hero-nav:last-of-type {
    display: none;
  }
}

.hero-nav {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 24px;
  align-items: center;
}

.hero-nav li {
  margin: 0;
}

.hero-nav a {
  display: inline-block;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #f5f1eb;
  color: var(--color-text-main);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-nav a:hover {
  background: #111111;
  color: #ffffff;
}

/* ポータル卒業：手数料カット象徴ブロック */
.portal-graduate {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--color-bg-main) 100%);
}
.portal-graduate-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.portal-graduate-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.portal-graduate-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .portal-graduate {
    padding: 20px 0;
  }
  .portal-graduate-icon {
    width: 56px;
    height: 56px;
  }
}

.section {
  padding: 60px 0;
}

.section-inner {
  width: var(--content-width);
  margin: 0 auto;
}

/* 6位：メリット・デメリット */
.pros-cons-box {
  margin-top: 36px;
  padding: 24px 26px;
  background: #faf8f4;
  border-radius: 20px;
  border: 1px solid #ebe4d8;
}

.pros-cons-box h3 {
  font-size: 18px;
  margin: 0 0 16px;
  text-align: center;
  color: var(--color-text-main);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-cons-col h4 {
  font-size: 16px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.pros-cons-col ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.7;
}

.pros-cons-col.cons ul {
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.section-heading {
  margin-bottom: 28px;
  position: relative;
}

.section-heading.center {
  text-align: center;
}

.eyecatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #f8f0e0 0%, #f4ebdd 100%);
  color: var(--color-gold);
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 2.6vw, 28px);
}

.section-sympathy {
  background: radial-gradient(circle at 0 0, #fdf9f3 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #fbf1de 0, transparent 55%), #ffffff;
}

.sympathy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.sympathy-list {
  list-style: none;
  margin: 0;
  padding: 20px 20px 20px 22px;
  border-radius: 26px;
  background: #f5f1eb;
  position: relative;
  overflow: hidden;
  font-size: 16px;
}

.sympathy-list li + li {
  margin-top: 8px;
}

.sympathy-list li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #ffffff 30%, #e1c39d 100%);
  vertical-align: middle;
}

.sympathy-message {
  background: #111111;
  color: #ffffff;
  border-radius: 26px;
  padding: 20px 22px;
}

.sympathy-arrow {
  margin-top: 10px;
  font-weight: 700;
}
.sympathy-arrow span{
  /* background: #fff4df; */
  padding: 0 4px;
  font-size: 25px;
}

@media (max-width: 640px) {
  .sympathy-arrow span{
    font-size: 20px;
  }
}
.section-solution {
  background: radial-gradient(circle at 100% 0, #f6efe6 0, transparent 55%),
    radial-gradient(circle at 0 100%, #f7e6d1 0, transparent 55%), linear-gradient(180deg, #f8f4ee 0%, #f9f7f3 100%);
}

.solution-flow-visual {
  max-width: 720px;
  margin: 0 auto 28px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.solution-flow-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 28px;
}
.solution-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}


.solution-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 14px 12px 38px;
  box-shadow: var(--shadow-soft);
  font-size: 15px;
  position: relative;
  line-height: 1.5;
}

/* .solution-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #f6d4a3, #f9f0df, #f6d4a3);
  transform: translateY(-50%);
} */

@media (max-width: 768px) {
  .solution-items {
    display: grid;
    grid-template-columns: repeat(1, minmax(0,1fr));
    gap: 10px;
  }
  .solution-item{
    font-size: 17px;
  }
  .solution-text{
    text-align: center;
  }
}

.section-difference {
  background: #ffffff;
}

.difference-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.difference-card {
  background: #f7f3ee;
  border-radius: 26px;
  padding: 18px 18px 18px 20px;
  text-align: center;
}

.difference-card.highlight {
  background: #111111;
  color: #ffffff;
}

.difference-card h3 {
  margin-top: 0;
  font-size: 17px;
}

.difference-card ul {
  list-style-position: inside;
  padding-left: 0;
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
}

.section-numbers {
  background: linear-gradient(180deg, #f5f0e9 0%, #f8f4ee 100%);
}

.numbers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.numbers-box {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.numbers-formula {
  margin: 0 0 8px;
  text-align: center;
}

.num {
  font-weight: 700;
}

.num-large {
  font-weight: 700;
  font-size: 22px;
}

.numbers-note {
  font-size: 15px;
  color: var(--color-text-muted);
}

.numbers-aside {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 15px;
}

.numbers-aside h3 {
  margin-top: 0;
  text-align: center;
}

.numbers-aside table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

.numbers-aside th,
.numbers-aside td {
  border: 1px solid #efe3d2;
  padding: 6px 8px;
}

.numbers-aside th {
  background: #f6eee3;
}

.numbers-aside-note {
  margin-top: 10px;
}

/* 料金シミュレーション */
.numbers-simulator {
  margin-top: 36px;
  padding: 28px 24px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #efe3d2;
}

.numbers-simulator-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
}

.numbers-simulator-lead {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}

.numbers-simulator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px 20px;
  align-items: end;
  max-width: 520px;
  margin: 0 auto 24px;
}

.numbers-simulator-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.numbers-simulator-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
}

.numbers-simulator-row input,
.numbers-simulator-row select {
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #e0d5c4;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text-main);
}

.numbers-simulator-row input:focus,
.numbers-simulator-row select:focus {
  outline: none;
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 2px rgba(184, 130, 60, 0.2);
}

.numbers-simulator-unit {
  font-size: 12px;
  color: var(--color-text-muted);
}

.numbers-simulator-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 4px;
}

.numbers-simulator-result {
  padding-top: 20px;
  border-top: 1px solid #efe3d2;
}

.numbers-simulator-result-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
}

.numbers-simulator-result-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  max-width: 360px;
  margin: 0 auto;
  font-size: 15px;
}

.numbers-simulator-result-list dt {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: normal;
}

.numbers-simulator-result-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--color-text-main);
}

.numbers-simulator-result-list dd.numbers-simulator-highlight {
  color: var(--color-accent-strong);
  font-size: 17px;
}

.numbers-simulator-result-note {
  margin: 14px auto 0;
  max-width: 360px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 640px) {
  .numbers-simulator {
    margin-top: 24px;
    padding: 20px 16px;
  }
  .numbers-simulator-form {
    grid-template-columns: 1fr;
  }
}

.section-plans {
  background: #ffffff;
}

.plans-table-wrapper {
  overflow-x: auto;
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 15px;
}

.plans-table th,
.plans-table td {
  border: 1px solid #eee1d2;
  padding: 14px 16px;
}

.plans-table th {
  background: #f6eee3;
  font-size: 15px;
}

.plan-name {
  font-weight: 700;
  font-size: 16px;
}

.price {
  font-weight: 700;
  font-size: 16px;
}

.price.accent {
  font-size: 20px;
}

.plans-note {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}

/* モバイル用プランカード（デフォルトは非表示） */
.plans-cards {
  display: none;
}

.plan-card {
  background: #fff;
  border: 1px solid #eee1d2;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.plan-card:last-child {
  margin-bottom: 0;
}

.plan-card-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  border-bottom: 2px solid #f6eee3;
  padding-bottom: 8px;
}

.plan-card-content {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--color-text-main);
}

.plan-card-prices {
  margin: 0 0 12px;
}

.plan-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 16px;
}

.plan-card-price-row:last-child {
  margin-bottom: 0;
}

.plan-card-label {
  font-size: 14px;
  color: var(--color-text-muted);
  min-width: 4.5em;
  text-align: left;
}

.plan-card-price {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.plan-card-price-row .plan-card-price {
  font-size: 18px;
}

.plan-card-price--accent {
  font-size: 20px;
  color: var(--color-accent-strong);
}

.plan-card-unit {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.plan-card-note {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.plan-card-target {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.plan-card--pro {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(184, 130, 60, 0.08);
}

.section-cases {
  background: radial-gradient(circle at 0 100%, #f7e1d0 0, transparent 55%),
    radial-gradient(circle at 100% 0, #f5efe8 0, transparent 55%), #f8f4ee;
}

.cases-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  line-height: 1.75;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.case-card::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #ffffff 30%, #f1ddc1 100%);
  opacity: 0.7;
}

.case-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  padding-bottom: 12px;
  border-bottom: 2px solid #f6eee3;
}

.case-card dl {
  margin: 0;
}

.case-card dt {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-accent-strong);
  margin-top: 14px;
  padding: 6px 0 4px;
  display: block;
}

.case-card dt:first-of-type {
  margin-top: 0;
}

.case-card dd {
  margin: 0;
  padding: 0 0 2px;
  color: var(--color-text-main);
}

.cases-note {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.section-faq {
  background: #ffffff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f7f3ee;
  border-radius: 24px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.faq-item::before {
  content: "Q";
  position: absolute;
  right: 14px;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.is-open .faq-body {
  margin-top: 6px;
  max-height: 500px;
}

/* FAQ見出し：QAイラスト → よくある質問タグ → タイトルの縦並び */
.section-heading.faq-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.faq-heading-left,
.faq-heading-right {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-heading-left {
  order: -1;
}

.faq-heading-right {
  text-align: center;
}

.faq-heading-left .section-illust,
.section-illust--faq {
  position: static !important;
  max-width: 220px;
  margin: 0 auto;
}

.section-illust {
  position: absolute;
  right: -12px;
  top: -16px;
  max-width: 220px;
}

/* PC版: 解決策セクションのイラストは左側に配置 */
.section-illust--solution {
  left: -12px;
  right: auto;
  max-width: 340px;
}

.section-illust--solution img {
  position: relative;
  left: 40px;
  right: auto;
}

/* PC版: 導入事例セクションのイラストを大きく表示・テキストとかぶらないよう右に配置 */
.section-illust--cases {
  right: -20px;
  max-width: 340px;
}


.section-illust img {
  display: block;
  width: 60%;
  height: auto;
  position: relative;
  right: -30px;
  top:-50px;
}

.section-illust--cases img{
  position: relative;
  right: -100px;
  top: 0px;
}

.section-illust--faq img{
  width: 160px;
  position: none;
  left: 0px;
  top: 0px;
}

@media (max-width: 640px) {
  .faq-heading {
    flex-direction: column;
    text-align: center;
  }

  .faq-heading-right {
    text-align: center;
  }

  /* モバイル: タイトルはすべて中央揃え */
  .section-heading,
  .section-heading h2 {
    text-align: center;
  }

  /* モバイル: 各セクションの画像をタイトルの上に表示 */
  .section-heading.center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-heading .section-illust {
    order: -1;
    position: static;
    margin: 0 auto 12px;
    max-width: 220px;
  }

  /* モバイル: キラキライラスト（共感セクション）は非表示 */
  .section-illust--sympathy {
    display: none !important;
  }

  /* モバイル: PC操作イラスト（解決策セクション）は大きく表示 */
  .section-illust--solution {
    max-width: 300px;
  }

  /* モバイル: 導入事例イラストも少し大きく */
  .section-illust--cases {
    max-width: 260px;
  }
  .section-illust--cases img{
    width: 100%;
    position: relative;
    left: 0;
  }

  .section-heading .eyecatch {
    order: 0;
  }

  .section-heading h2 {
    order: 1;
  }

  .section-illust--solution{
    margin: 0 auto;
  }
  .section-illust--solution img {
    width: 100%;
    position: relative;
    left: 0;
    top:10px;
  }
}

.section-cta-final {
  background: linear-gradient(135deg, #111111, #2c2721);
  color: #ffffff;
}

.cta-final-card {
  border-radius: 32px;
  padding: 26px 22px;
  background: radial-gradient(circle at top left, #3b332a 0, #17130f 50%, #111111 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-final-card h2 {
  margin-top: 0;
}

.cta-final-note {
  font-weight: 700;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.cta-final-actions .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

/* 無料診断：ステップ式 */
.section-diagnosis {
  background: linear-gradient(180deg, #f8f4ee 0%, #ffffff 100%);
}

.diagnosis-wizard {
  max-width: 560px;
  margin: 0 auto;
}

.diagnosis-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.diagnosis-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8e0d5;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: bold;
  transition: background 0.25s ease, color 0.25s ease;
}

.diagnosis-step-dot.is-current {
  background: var(--color-accent-strong);
  color: #fff;
}

.diagnosis-step-dot.is-done {
  background: #c9b896;
  color: #fff;
}

.diagnosis-step-line {
  width: 24px;
  height: 2px;
  background: #e8e0d5;
}

.diagnosis-panel {
  display: none;
  padding: 20px 0;
}

.diagnosis-panel.is-visible {
  display: block;
}

.diagnosis-question {
  font-size: 19px;
  margin: 0 0 20px;
  color: var(--color-text-main);
  line-height: 1.5;
}

.diagnosis-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diagnosis-choice {
  display: block;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-text-main);
  background: #fff;
  border: 2px solid #e8e0d5;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.diagnosis-choice:hover {
  border-color: var(--color-accent);
  background: #fdf9f5;
}

.diagnosis-choice:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 2px;
}

.diagnosis-result {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f0e8dc;
  box-shadow: var(--shadow-soft);
}

.diagnosis-result-label {
  font-size: 14px;
  color: var(--color-accent-strong);
  margin: 0 0 8px;
  font-weight: bold;
}

.diagnosis-result-plan {
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--color-text-main);
}

.diagnosis-result-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 14px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.diagnosis-result-price {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-accent-strong);
  margin: 0 0 22px;
}

.diagnosis-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.diagnosis-nav {
  margin-top: 20px;
  text-align: center;
}

.diagnosis-prev {
  min-width: 120px;
}

/* ブログセクション（LP内） */
.section-blog {
  background: linear-gradient(180deg, #f8f4ee 0%, #ffffff 100%);
}

.blog-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  margin: 0;
}

.blog-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ebe4d8;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--color-text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.blog-card a:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--color-text-main);
}

.blog-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ebe4d8;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.blog-card time,
.blog-card h3,
.blog-card p,
.blog-card-link {
  padding-left: 20px;
  padding-right: 20px;
}

.blog-card time {
  padding-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.blog-card h3 {
  margin: 8px 0 12px;
  padding-top: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: bold;
}

.blog-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
}

.blog-card-link {
  display: block;
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--color-accent-strong);
  font-weight: bold;
}

.blog-section-more {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card time,
  .blog-card h3,
  .blog-card p,
  .blog-card-link {
    padding-left: 18px;
    padding-right: 18px;
  }

  .blog-card-link {
    padding-bottom: 18px;
  }

  .blog-card h3 {
    font-size: 15px;
  }
}

.section-contact,
.section-line {
  background: #ffffff;
}

.contact-line-actions {
  text-align: center;
  margin: 16px 0 8px;
}

.contact-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.contact-lead {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.consultation-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-message {
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-main);
}

.form-row .required {
  color: #c62828;
  font-size: 12px;
  font-weight: normal;
}

.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"],
.consultation-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 2px rgba(184, 130, 60, 0.15);
}

.consultation-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 24px;
  text-align: center;
}

.form-actions .btn {
  min-width: 200px;
}

.form-trust {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

.footer {
  margin-top: 0; 
  margin-bottom: 100px;
  padding: 28px 0 22px;
  background: #111111;
  color: #f5f5f5;
}

.footer-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.footer-inner h3 {
  margin-top: 0;
}

.footer-publisher {
  font-size: 14px;
  line-height: 1.65;
}

.footer-publisher strong {
  display: block;
  margin-bottom: 4px;
}

.footer-publisher .footer-address,
.footer-publisher .footer-meo,
.footer-publisher .footer-contact {
  margin: 8px 0 0;
}

.footer-publisher .footer-meo a {
  color: #ffe0ad;
  text-decoration: none;
}
.footer-publisher .footer-meo a:hover {
  text-decoration: underline;
}

.footer-updated {
  grid-column: 1 / -1;
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
  margin: 8px 0 0;
}

.footer-inner a {
  color: #ffe0ad;
}

.footer-nav ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 4px;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 13px;
  margin: 4px 0 0;
  text-align: center;
  opacity: 0.7;
}

.br-sp {
  display: none;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .sympathy-grid,
  .solution-grid,
  .difference-cards,
  .numbers-grid,
  .cases-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-nav-wrap {
    border-radius: 20px;
    padding: 14px 0;
  }

  .hero-nav {
    padding: 0 16px;
    gap: 10px;
  }

  .cases-grid {
    gap: 20px;
  }

  .case-card {
    padding: 20px 18px;
    text-align: center;
  }

  .case-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .case-card dt {
    margin-top: 12px;
    font-size: 15px;
  }

  .hero-nav a {
    font-size: 13px;
    padding: 10px 14px;
  }

  .section {
    padding: 44px 0;
  }

  .cta-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-bar-text {
    font-size: 14px;
    text-align: center;
  }

  /* モバイル: 料金はカード表示に切り替え（表は非表示） */
  .plans-table-wrapper {
    display: none;
  }

  .plans-cards {
    display: block;
  }

  .br-sp {
    display: inline;
  }
  .footer {
    text-align: center;
  }
}

