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

:root {
  --primary:    #2e86ab;
  --primary-lt: #e8f4f8;
  --accent:     #4caf82;
  --accent-lt:  #e8f5ee;
  --text:       #2d3748;
  --text-sub:   #5a6a7a;
  --bg:         #ffffff;
  --bg-gray:    #f7fafc;
  --line-green: #06c755;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --max-w:      760px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

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

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

/* ===== ユーティリティ ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--gray { background: var(--bg-gray); }
.section--blue { background: var(--primary-lt); }
.section--green { background: var(--accent-lt); }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title span { color: var(--primary); }

.section-lead {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ===== CTAボタン ===== */
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--line-green);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(6,199,85,.35);
  transition: transform .18s, box-shadow .18s;
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: .02em;
}

.btn-line:hover, .btn-line:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,.42);
}

.btn-line:active { transform: translateY(0); }

.btn-line svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 10px;
}

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 20px;
}

.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.header__logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: .05em;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--line-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(6,199,85,.3);
  transition: transform .18s;
}

.header__cta:hover { transform: translateY(-1px); }

.header__cta svg { width: 18px; height: 18px; }

/* ===== ファーストビュー ===== */
.hero {
  background: linear-gradient(160deg, #e8f4f8 0%, #e8f5ee 100%);
  padding: 56px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(46,134,171,.07);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(76,175,130,.07);
  pointer-events: none;
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border: 1.5px solid var(--accent);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.hero__title {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 18px;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(180deg, transparent 60%, rgba(46,134,171,.2) 60%);
}

.hero__sub {
  font-size: clamp(15px, 3.5vw, 17px);
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__image {
  width: 100%;
  max-width: 480px;
  height: 220px;
  background: linear-gradient(135deg, #c8e6f5 0%, #c8eedd 100%);
  border-radius: var(--radius-lg);
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero__image-inner {
  text-align: center;
  color: var(--primary);
}

.hero__image-icon {
  font-size: 64px;
  margin-bottom: 8px;
  display: block;
}

.hero__image-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* ===== 共感セクション ===== */
.worries__grid {
  display: grid;
  gap: 14px;
}

.worry-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}

.worry-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.worry-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.worry-card__text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

.worry-card__sub {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ===== サービスカード ===== */
.services__grid {
  display: grid;
  gap: 18px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
  opacity: 0;
  transform: translateY(24px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card__body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== 強み ===== */
.strengths__list {
  display: grid;
  gap: 14px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.strength-item__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-item__body {}

.strength-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.strength-item__text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== 料金 ===== */
.pricing__table {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pricing__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8f0f5;
  gap: 16px;
}

.pricing__row:last-child { border-bottom: none; }

.pricing__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
}

.pricing__name-icon { font-size: 24px; }

.pricing__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.pricing__note {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--primary-lt);
  border-radius: var(--radius-sm);
  line-height: 1.7;
}

/* ===== 利用の流れ ===== */
.flow__steps {
  display: grid;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 18px;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 52px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.flow-step__left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(46,134,171,.35);
}

.flow-step__body {
  padding-bottom: 32px;
  flex: 1;
}

.flow-step:last-child .flow-step__body { padding-bottom: 0; }

.flow-step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 8px;
}

.flow-step__text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== 安心の約束 ===== */
.promises__list {
  display: grid;
  gap: 12px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.promise-item__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.promise-item__text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq__list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  transition: background .15s;
  user-select: none;
}

.faq-item__q:hover { background: var(--primary-lt); }

.faq-item__q::marker, .faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.faq-item__q-text { flex: 1; }

.faq-item__q-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary);
  transition: transform .25s;
  margin-top: 2px;
}

details[open] .faq-item__q-arrow { transform: rotate(180deg); }

.faq-item__a {
  padding: 0 22px 20px 64px;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== 最終CTA ===== */
.final-cta {
  background: linear-gradient(160deg, var(--primary) 0%, #1a6e8a 100%);
  padding: 72px 20px;
  text-align: center;
  color: #fff;
}

.final-cta__title {
  font-size: clamp(22px, 5.5vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 14px;
}

.final-cta__sub {
  font-size: 16px;
  opacity: .88;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-line {
  background: var(--line-green);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.final-cta .btn-sub { color: rgba(255,255,255,.7); }

/* ===== フッター ===== */
.footer {
  background: #1a2332;
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
  line-height: 1.9;
}

.footer a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
}

/* ===== 固定CTAバー（スマホ） ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 12px 16px 20px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -2px 16px rgba(0,0,0,.12);
}

.sticky-cta .btn-line {
  max-width: 100%;
  font-size: 17px;
  padding: 16px 20px;
}

/* ===== アニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sticky-cta { display: block; }

  body { padding-bottom: 80px; }

  .section { padding: 48px 0; }

  .pricing__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
