/* ============================================
   持ち家の給付金診断サイト - スタイルシート
   参考: おうちキャンバス ハウスメーカー診断
   カラー: オレンジ系
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #412807;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

/* ---------- 共通ユーティリティ ---------- */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 16px 32px;
  background: #E8721C;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(232, 114, 28, 0.35);
  transition: all 0.25s ease;
  position: relative;
}

.btn-cta:hover {
  background: #D4600F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 114, 28, 0.45);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232, 114, 28, 0.3);
}

.btn-cta__arrow {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}

/* ---------- ヘッダー ---------- */
.header {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #f0ebe3;
}

.header__inner {
  max-width: 480px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo-icon {
  font-size: 1.5rem;
}

.header__logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #E8721C;
}

/* ---------- ファーストビュー ---------- */
.hero {
  background: linear-gradient(180deg, #FFF5ED 0%, #FFECD6 40%, #E8721C 40%, #E8721C 100%);
  padding: 24px 16px 40px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero__sub {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: #E8721C;
  padding: 4px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero__title-eyebrow {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #412807;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.hero__title-large {
  font-size: 2.5rem;
  font-weight: 900;
  color: #E8721C;
  display: inline-block;
  letter-spacing: 0.05em;
}

.hero__title-accent {
  font-size: 2.25rem;
  font-weight: 900;
  color: #E8721C;
  display: inline-block;
  line-height: 1.2;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
  position: relative;
}

.hero__lead {
  font-size: 0.875rem;
  font-weight: 500;
  color: #412807;
  line-height: 1.6;
  margin: 0 auto 14px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ============================================
   FV特典カード（CTA直下・冊子立体感デザイン）
   ============================================ */
.hero__benefit-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(135deg, #FFFCF7 0%, #FFFFFF 100%);
  border-radius: 18px;
  margin: 28px auto 0;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid rgba(232, 114, 28, 0.15);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(232, 114, 28, 0.22);
}

.hero__benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E8721C 0%, #FFD700 100%);
  z-index: 2;
}

/* 左：冊子画像エリア */
.hero__benefit-card-image {
  position: relative;
  width: 120px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFF5ED 0%, #FFE5CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px 14px;
}

.hero__benefit-card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow:
    -2px 4px 6px rgba(0, 0, 0, 0.08),
    -6px 10px 18px rgba(0, 0, 0, 0.10);
  transform: rotate(-4deg);
}

/* 🎁を画像右上にぽこっと */
.hero__benefit-card-icon {
  position: absolute;
  top: 6px;
  right: 4px;
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
  transform: rotate(8deg);
  z-index: 3;
}

/* 右：メタ情報エリア */
.hero__benefit-card-meta {
  flex: 1;
  padding: 16px 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 6px;
}

.hero__benefit-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: #E8721C;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  padding: 3px 9px;
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}

.hero__benefit-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2A1A05;
  line-height: 1.35;
  margin: 2px 0 0;
  letter-spacing: 0.01em;
}

.hero__benefit-card-title strong {
  display: block;
  font-size: 1.1875rem;
  font-weight: 900;
  color: #1F0F02;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.hero__benefit-card-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #8A7464;
  margin: 0;
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 12px;
}

.hero__benefit-card-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: #C8A98D;
}

@media (min-width: 769px) {
  .hero__benefit-card {
    max-width: 420px;
  }
  .hero__benefit-card-image {
    width: 140px;
  }
  .hero__benefit-card-title strong {
    font-size: 1.375rem;
  }
}

.hero__checks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero__check-item {
  font-size: 0.75rem;
  font-weight: 700;
  color: #412807;
  background: #fff;
  padding: 5px 12px;
  border-radius: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.hero__check-item::before {
  content: "✓ ";
  font-weight: 900;
  color: #E8721C;
}

.hero__badge {
  position: absolute;
  top: 0;
  right: 8px;
  width: 80px;
  height: 80px;
  background: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero__badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.4;
  text-align: center;
}

.hero__badge-text strong {
  font-size: 1.1rem;
  color: #E8721C;
}

/* スマホモックアップ */
.hero__phone-wrap {
  position: relative;
  width: 240px;
  margin: 16px auto 0;
  padding-bottom: 28px;
}

.hero__phone {
  width: 180px;
  height: 280px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: 28px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 8px;
  position: relative;
}

/* ノッチ */
.hero__phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: #1a1a2e;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

/* ノッチ内カメラ */
.hero__phone::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%) translateX(14px);
  width: 6px;
  height: 6px;
  background: #2a2a4a;
  border-radius: 50%;
  z-index: 3;
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

/* 携帯に重なる診断スタートCTA */
.hero__phone-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 240px;
  padding: 16px 24px;
  background: #FFF5ED;
  color: #E8721C;
  font-size: 1.0625rem;
  font-weight: 900;
  border: none;
  border-radius: 50px;
  box-shadow:
    0 4px 0 #d4d0c8,
    0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.05em;
  font-family: inherit;
}

.hero__phone-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 6px 0 #d4d0c8,
    0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero__phone-cta:active {
  transform: translateX(-50%) translateY(2px);
  box-shadow:
    0 1px 0 #d4d0c8,
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero__phone-cta-arrow {
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  background: #FAFAF6;
  border-radius: 20px;
  overflow: hidden;
  padding: 18px 6px 6px;
}

.hero__phone-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero__phone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #E8721C;
  margin: -18px -6px 0;
  padding: 20px 0 6px;
  border-radius: 20px 20px 0 0;
}

.hero__phone-header-icon {
  font-size: 0.55rem;
}

.hero__phone-header-text {
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* スマホモック Q1プレビュー */
.hero__phone-q1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 6px 6px 4px;
}

.hero__phone-progress {
  margin-bottom: 4px;
}

.hero__phone-progress-text {
  font-size: 0.4rem;
  color: #666;
  font-weight: 500;
}

.hero__phone-progress-time {
  font-size: 0.35rem;
  color: #999;
  float: right;
}

.hero__phone-dots {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-top: 3px;
}

.hero__phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D9D9D9;
}

.hero__phone-dot--current {
  background: #9E8E7E;
}

.hero__phone-question {
  font-size: 0.5rem;
  font-weight: 700;
  color: #E8721C;
  text-align: center;
  line-height: 1.4;
  margin: 6px 0;
}

.hero__phone-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__phone-option {
  padding: 4px 6px;
  border: 1px solid #C9B99A;
  border-radius: 20px;
  font-size: 0.4rem;
  font-weight: 500;
  color: #412807;
  text-align: center;
  background: #fff;
}

.hero__phone-option--selected {
  border-color: #E8721C;
  background: #FFF5ED;
  color: #E8721C;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* ---------- 実績スライダーセクション ---------- */
.cases {
  background: #FFF5ED;
  padding: 32px 0 28px;
  overflow: hidden;
}

.cases__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.cases__lead {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #E8721C;
  margin-bottom: 4px;
}

.cases__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #412807;
  margin-bottom: 20px;
  border-bottom: 3px dashed #E8721C;
  display: inline-block;
  padding-bottom: 4px;
}

.cases__slider-wrap {
  position: relative;
  padding-bottom: 8px;
}

.cases__slider {
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.cases__slider:active {
  cursor: grabbing;
}

.cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  z-index: 10;
  width: 40px;
  height: 40px;
  background: #E8721C;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cases__arrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.cases__arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.cases__arrow--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.cases__arrow:hover {
  background: #D4600F;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(calc(-50% - 14px)) scale(1.1);
}

.cases__arrow--prev {
  left: 6px;
}

.cases__arrow--next {
  right: 6px;
}

.cases__track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  padding: 0 16px;
}

.cases__track.is-dragging {
  transition: none;
}

.cases__slide {
  flex: 0 0 72%;
  min-width: 0;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  position: relative;
  margin-bottom: 28px;
}

.cases__photo {
  overflow: hidden;
  border-radius: 16px;
}

.cases__photo img {
  width: 100%;
  display: block;
}

.cases__photo--stacked {
  border-radius: 16px;
}

.cases__photo--stacked img + img {
  border-top: 2px solid #f0ebe3;
}

.cases__amount {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px solid #E8721C;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  z-index: 2;
  max-width: 95%;
}

.cases__amount-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: #E8721C;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cases__amount-number {
  font-size: 1.25rem;
  font-weight: 900;
  color: #E8721C;
  letter-spacing: 0.01em;
}

.cases__amount-number small {
  font-size: 0.875rem;
  font-weight: 700;
}

.cases__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.cases__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  transition: background 0.3s ease;
  cursor: pointer;
}

.cases__dot--active {
  background: #E8721C;
}

/* ---------- 信頼性訴求セクション ---------- */
.trust {
  background: #FFF5ED;
  padding: 40px 16px;
}

.trust__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.trust__lead {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.trust__lead-accent {
  color: #E8721C;
  font-size: 1.25rem;
}

.trust__desc {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 8px;
}

.trust__desc-accent {
  color: #E8721C;
  font-size: 1.5rem;
  text-decoration: underline;
  text-decoration-color: #FFD700;
  text-underline-offset: 4px;
}

.trust__note {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 24px;
}

.trust__stats {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.trust__stat-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  border: 2px solid #FFD700;
}

.trust__stat-label {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
}

.trust__stat-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #E8721C;
  line-height: 1.2;
}

.trust__stat-big {
  font-size: 2rem;
  font-weight: 900;
}

.trust__stat-number small {
  font-size: 1rem;
}

.trust__stat-sub {
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
}

.btn-cta--trust {
  margin-top: 24px;
}

.trust__scroll-hint {
  margin-top: 24px;
}

.trust__scroll-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #C9B99A;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #C9B99A;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- サービス説明セクション ---------- */
.service {
  background: #fff;
  padding: 40px 16px;
  text-align: center;
}

.service__inner {
  max-width: 480px;
  margin: 0 auto;
}

.service__character {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.service__character-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #FFF5ED;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.service__character-bubble {
  background: #fff;
  border: 2px solid #E8721C;
  border-radius: 12px;
  padding: 10px 14px;
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #412807;
  line-height: 1.6;
  text-align: left;
}

.service__character-bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 16px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid #E8721C;
}

.service__character-bubble::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid #fff;
}


.service__lead {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 4px;
}

.service__main {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.6;
}

.service__main-large {
  font-size: 2rem;
  color: #E8721C;
  font-weight: 900;
}

.service__sub {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 24px;
}

.service__start-label {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 4px;
}

.service__start-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E8721C;
  margin-bottom: 16px;
}

/* ---------- 診断セクション ---------- */
.shindan {
  background: #FAFAF6;
  padding: 32px 0 40px;
  margin-left: -16px;
  margin-right: -16px;
}

.shindan__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* プログレス */
.shindan__progress {
  margin-bottom: 24px;
}

.shindan__step-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  display: inline-block;
}

.shindan__time {
  font-size: 0.75rem;
  color: #999;
  float: right;
  margin-top: 2px;
}

.shindan__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.shindan__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D9D9D9;
  transition: all 0.3s ease;
}

.shindan__dot--done {
  background: #E8721C;
  transform: scale(1);
}

.shindan__dot--current {
  background: #9E8E7E;
}

/* 質問カード */
.shindan__cards {
  position: relative;
}

.shindan__card {
  display: none;
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: slideIn 0.3s ease;
}

.shindan__card--active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* 質問カード内の画像 */
.shindan__card-img {
  margin: -32px -20px 20px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

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

.shindan__question {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E8721C;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.shindan__multi-label {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
}

/* 単一選択（ラジオボタン風） */
.shindan__options--radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shindan__option-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #C9B99A;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #412807;
  transition: all 0.15s ease;
}

.shindan__option-radio:hover {
  border-color: #E8721C;
  background: #FFF5ED;
}

.shindan__option-radio.is-selected {
  border-color: #E8721C;
  background: #FFF5ED;
  color: #E8721C;
  font-weight: 700;
}

/* 複数選択（チェックボックス） */
.shindan__options--checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shindan__option-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #D9D9D9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.shindan__option-check:hover {
  border-color: #E8721C;
}

.shindan__option-check input {
  display: none;
}

.shindan__check-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #C9B99A;
  border-radius: 4px;
  position: relative;
  transition: all 0.15s ease;
}

.shindan__option-check input:checked ~ .shindan__check-box {
  background: #E8721C;
  border-color: #E8721C;
}

.shindan__option-check input:checked ~ .shindan__check-box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.shindan__option-check input:checked ~ .shindan__check-text {
  color: #E8721C;
  font-weight: 700;
}

.shindan__option-check.is-checked {
  border-color: #E8721C;
  background: #FFF5ED;
}

.shindan__check-text {
  font-size: 0.9375rem;
  color: #412807;
  transition: all 0.15s ease;
}

/* 次へボタン */
.btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 24px auto 0;
  padding: 14px 32px;
  background: #4CAF50;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  transition: all 0.25s ease;
}

.btn-next:hover {
  background: #43A047;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.btn-next--submit {
  background: #E8721C;
  box-shadow: 0 4px 12px rgba(232, 114, 28, 0.3);
  width: 240px;
}

.btn-next--submit:hover {
  background: #D4600F;
  box-shadow: 0 6px 16px rgba(232, 114, 28, 0.4);
}

/* 戻るリンク */
.shindan__back {
  text-align: center;
  margin-top: 20px;
}

.shindan__back-btn {
  font-size: 0.8125rem;
  color: #999;
  transition: color 0.2s ease;
}

.shindan__back-btn:hover {
  color: #E8721C;
}

/* ---------- 診断結果モーダル ---------- */
.result-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

.result-overlay.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FAFAF6;
}

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

.result-modal {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.4s ease 0.1s both;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.result-modal__icon {
  margin-bottom: 12px;
  line-height: 1;
}

.result-modal__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #E8721C;
  margin-bottom: 12px;
}

.result-modal__desc {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 20px;
}

.result-modal__line-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #F0FFF0;
  border-radius: 10px;
  border: 1px solid #D4EDDA;
}

.result-modal__line-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.result-modal__line-text {
  font-size: 0.8125rem;
  color: #333;
  text-align: left;
  line-height: 1.5;
  font-weight: 500;
}

.btn-cta--line {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 16px 24px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #06C755, #05B34C);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  gap: 8px;
}

.btn-cta--line:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
}

.btn-cta--line .btn-cta__arrow {
  font-size: 1.2rem;
}

.result-modal__note {
  font-size: 0.6875rem;
  color: #999;
  margin-top: 16px;
  line-height: 1.5;
}

/* ---------- 診断対象外モーダル ---------- */
.ineligible-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s ease;
}

.ineligible-overlay.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ineligible-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.4s ease 0.1s both;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ineligible-modal__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.ineligible-modal__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #999;
  margin-bottom: 16px;
}

.ineligible-modal__desc {
  font-size: 1rem;
  color: #412807;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ineligible-modal__sub {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #FFF5ED;
  border-radius: 10px;
}

.ineligible-modal__sub strong {
  color: #E8721C;
}

.btn-cta--ineligible {
  background: #999;
  max-width: 240px;
}

.btn-cta--ineligible:hover {
  background: #888;
}

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
  padding: 40px 16px;
}

.faq__inner {
  max-width: 480px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #eee;
}

.faq__item:first-child {
  border-top: 1px solid #eee;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #412807;
}

.faq__q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #E8721C;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}

.faq__q-text {
  flex: 1;
}

.faq__toggle {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #999;
  transition: transform 0.3s ease;
  width: 24px;
  text-align: center;
}

.faq__question[aria-expanded="true"] .faq__toggle {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer.is-open {
  max-height: 200px;
  padding-bottom: 16px;
}

.faq__answer p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  padding-left: 38px;
}

/* ---------- フッター ---------- */
.footer {
  background: #E8721C;
  padding: 24px 16px 80px;
}

.footer__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
}

.footer__link {
  color: #fff;
  font-size: 0.8125rem;
  padding: 4px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.footer__link:last-child {
  border-right: none;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- フローティングCTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: transform 0.3s ease;
}

.floating-cta.is-hidden {
  transform: translateY(100%);
}

.btn-cta--floating {
  padding: 14px 24px;
  font-size: 1rem;
}

/* ---------- レスポンシブ（PC対応） ---------- */
@media (min-width: 769px) {
  .header__inner,
  .hero__inner,
  .cases__inner,
  .trust__inner,
  .service__inner,
  .shindan__inner,
  .faq__inner,
  .footer__inner {
    max-width: 640px;
  }

  .cases__slide {
    flex: 0 0 55%;
  }

  .cases__amount {
    gap: 10px;
    padding: 8px 16px;
  }

  .cases__amount-label {
    font-size: 0.6875rem;
    padding: 3px 10px;
  }

  .cases__amount-number {
    font-size: 1.5rem;
  }

  .cases__amount-number small {
    font-size: 1rem;
  }

  .hero {
    padding: 48px 24px 56px;
  }

  .hero__title-large {
    font-size: 3rem;
  }

  .hero__title-accent {
    font-size: 3.5rem;
  }

  .hero__phone-wrap {
    width: 250px;
    padding-bottom: 28px;
  }

  .hero__phone {
    width: 220px;
    height: 360px;
    border-radius: 34px;
    padding: 10px;
  }

  .hero__phone::before {
    width: 56px;
    height: 16px;
    top: 10px;
  }

  .hero__phone::after {
    top: 13px;
    transform: translateX(-50%) translateX(16px);
    width: 7px;
    height: 7px;
  }

  .hero__phone-screen {
    border-radius: 24px;
    padding: 20px 8px 8px;
  }

  .hero__phone-header {
    margin: -20px -8px 0;
    padding: 22px 0 8px;
    border-radius: 24px 24px 0 0;
  }

  .hero__phone-header-text {
    font-size: 0.55rem;
  }

  .hero__phone-cta {
    width: 280px;
    padding: 18px 28px;
    font-size: 1.125rem;
  }

  .hero__phone-question {
    font-size: 0.6rem;
    margin: 8px 0;
  }

  .hero__phone-option {
    padding: 5px 8px;
    font-size: 0.5rem;
  }

  .hero__phone-dots {
    gap: 4px;
  }

  .hero__phone-dot {
    width: 7px;
    height: 7px;
  }

  .hero__phone-progress-text {
    font-size: 0.45rem;
  }

  .hero__badge {
    width: 100px;
    height: 100px;
    right: 60px;
    top: 10px;
  }

  .hero__badge-text {
    font-size: 0.8rem;
  }

  .hero__badge-text strong {
    font-size: 1.3rem;
  }

  .trust__stats {
    max-width: 400px;
    margin: 0 auto;
  }

  .shindan {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .shindan__card {
    padding: 40px 32px;
  }

  .shindan__card-img {
    margin: -40px -32px 20px;
  }

  .shindan__option-radio {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .shindan__option-check {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .result-modal {
    max-width: 440px;
    padding: 40px 32px;
  }

  .floating-cta {
    padding: 12px 24px;
  }

  .btn-cta--floating {
    max-width: 400px;
  }
}

/* ---------- 診断モード用ミニヘッダー ---------- */
.shindan__header {
  display: none;
}

.shindan__header-icon {
  font-size: 1.25rem;
}

.shindan__header-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #E8721C;
}

/* ---------- 診断モード ---------- */
body.is-diagnostic-mode .header,
body.is-diagnostic-mode .hero,
body.is-diagnostic-mode .lineup,
body.is-diagnostic-mode .cases,
body.is-diagnostic-mode .benefit-100,
body.is-diagnostic-mode .trust,
body.is-diagnostic-mode .service__character,
body.is-diagnostic-mode .service__lead,
body.is-diagnostic-mode .service__main,
body.is-diagnostic-mode .service__sub,
body.is-diagnostic-mode .service__start-label,
body.is-diagnostic-mode .service__start-title,
body.is-diagnostic-mode .faq,
body.is-diagnostic-mode .footer,
body.is-diagnostic-mode .floating-cta {
  display: none !important;
}

body.is-diagnostic-mode .service {
  padding-top: 0;
  padding-bottom: 0;
}

body.is-diagnostic-mode .shindan {
  margin: 0;
  min-height: 100vh;
  padding-top: 0;
}

body.is-diagnostic-mode .shindan__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #f0ebe3;
  margin: 0 -16px 0;
}

body.is-diagnostic-mode .shindan__step-bar {
  display: flex;
}

/* ---------- アニメーション: スクロール表示 ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Lineup セクション（FV直下・実例8事例＋給付目安）
   shindan_check から移植 / 2026-04-29
   ============================================ */
.lineup {
  background: #fff;
  padding: 48px 16px;
}

.lineup__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.lineup__lead {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: #E8721C;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.lineup__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #412807;
  margin-bottom: 10px;
  line-height: 1.45;
}

.lineup__title-accent {
  color: #E8721C;
  border-bottom: 3px dashed #E8721C;
  padding-bottom: 2px;
}

.lineup__sub {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.6;
}

.lineup__sub strong {
  color: #E8721C;
  font-weight: 900;
}

.lineup__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lineup__item {
  display: flex;
  align-items: stretch;
  background: #FAFAF6;
  border: 1px solid #F0EBE3;
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.lineup__photo {
  flex: 0 0 36%;
  overflow: hidden;
  background: #eee;
}

.lineup__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lineup__body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.lineup__num {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 900;
  color: #E8721C;
  letter-spacing: 0.1em;
}

.lineup__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.4;
  margin: 0;
}

.lineup__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #E8721C;
  margin: 0;
  line-height: 1.3;
}

.lineup__price strong {
  font-size: 1.375rem;
  font-weight: 900;
}

.lineup__price-label {
  display: inline-block;
  background: #E8721C;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.lineup__more-note {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #412807;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #FFF5ED;
  border-radius: 10px;
  line-height: 1.6;
}

.lineup__more-note strong {
  color: #E8721C;
  font-weight: 900;
  font-size: 1.125rem;
}

.lineup__cta {
  margin-top: 8px;
}

@media (min-width: 769px) {
  .lineup__inner {
    max-width: 640px;
  }
  .lineup__title {
    font-size: 1.75rem;
  }
  .lineup__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .lineup__name {
    font-size: 1rem;
  }
  .lineup__price strong {
    font-size: 1.5rem;
  }
}

/* ============================================
   特典：火災保険適用事例100選セクション
   「欲しい」と思わせるカード設計＋リボン特典バッジ
   2026-04-29
   ============================================ */
.benefit-100 {
  background: linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
  padding: 56px 16px 48px;
}

.benefit-100__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.benefit-100__lead {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 900;
  color: #E8721C;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.benefit-100__lead::before,
.benefit-100__lead::after {
  content: "／";
  display: inline-block;
  margin: 0 6px;
  color: #E8721C;
}

.benefit-100__lead::before { transform: scaleX(-1); }

.benefit-100__title {
  font-size: 1.625rem;
  font-weight: 900;
  color: #412807;
  margin-bottom: 28px;
  line-height: 1.4;
}

.benefit-100__title-accent {
  color: #E8721C;
  font-size: 2rem;
  display: inline-block;
  position: relative;
}

.benefit-100__title-accent::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 8px;
  background: #FFD700;
  z-index: -1;
  opacity: 0.5;
}

.benefit-100__card {
  position: relative;
  background: #fff;
  border: 2px solid #E8721C;
  border-radius: 16px;
  padding: 32px 20px 24px;
  box-shadow: 0 8px 24px rgba(232, 114, 28, 0.12);
}

.benefit-100__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background: #E8721C;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 6px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(232, 114, 28, 0.25);
}

.benefit-100__card-img {
  margin: 0 auto 18px;
  max-width: 220px;
  position: relative;
}

.benefit-100__card-img::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px dashed #FFD700;
  border-radius: 12px;
  z-index: 0;
}

.benefit-100__card-img img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-100__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.4;
  margin: 0 0 14px;
}

.benefit-100__card-title strong {
  display: inline-block;
  font-size: 1.625rem;
  font-weight: 900;
  color: #E8721C;
  letter-spacing: 0.02em;
}

.benefit-100__card-desc {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #412807;
  line-height: 1.7;
  margin: 0 0 18px;
}

.benefit-100__card-desc strong {
  color: #E8721C;
  font-weight: 900;
  font-size: 1.125rem;
}

.benefit-100__card-list {
  list-style: none;
  padding: 16px 12px;
  margin: 0 0 18px;
  background: #FFF8F0;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  text-align: left;
}

.benefit-100__card-list li {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #412807;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.benefit-100__card-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #E8721C;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-100__card-note {
  font-size: 0.875rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.6;
  margin: 0;
  padding: 12px 14px;
  background: #FFF5ED;
  border-radius: 8px;
}

@media (min-width: 769px) {
  .benefit-100__inner {
    max-width: 560px;
  }
  .benefit-100__title {
    font-size: 1.875rem;
  }
  .benefit-100__title-accent {
    font-size: 2.25rem;
  }
  .benefit-100__card {
    padding: 36px 28px 28px;
  }
  .benefit-100__card-img {
    max-width: 260px;
  }
  .benefit-100__card-title strong {
    font-size: 1.875rem;
  }
  .benefit-100__card-list li {
    font-size: 0.875rem;
  }
}

/* ============================================
   0320版から移植：4STEP診断UI＋結果モーダル拡張
   2026-04-30
   ============================================ */
/* ステップバー（カテゴリ用） */
.shindan__step-bar {
  display: none;
  gap: 4px;
  margin-bottom: 24px;
}

.shindan__step-node {
  flex: 1;
  text-align: center;
  padding: 10px 4px 8px;
  background: #EDEDED;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.shindan__step-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.shindan__step-name {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #999;
  line-height: 1.3;
}

.shindan__step-node--active {
  background: #FFF5ED;
  border: 2px solid #E8721C;
}

.shindan__step-node--active .shindan__step-label,
.shindan__step-node--active .shindan__step-name {
  color: #E8721C;
}

.shindan__step-node--done {
  background: #E8721C;
}

.shindan__step-node--done .shindan__step-label,
.shindan__step-node--done .shindan__step-name {
  color: #fff;
}

/* カテゴリページ */
.shindan__category {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: slideIn 0.3s ease;
}

.shindan__category-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #E8721C;
  text-align: center;
  margin-bottom: 8px;
}

.shindan__category-desc {
  font-size: 0.8125rem;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.shindan__category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shindan__category-error {
  text-align: center;
  color: #E53935;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 16px;
}

/* カテゴリ内 質問カード */
.shindan__q-card {
  padding-bottom: 24px;
  border-bottom: 1px solid #F0EBE3;
}

.shindan__q-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shindan__q-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.shindan__q-id {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  background: #E8721C;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 6px;
}

.shindan__q-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.6;
  margin: 0;
}

/* カテゴリ内 質問画像 */
.shindan__q-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.shindan__q-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shindan__q-card--highlight {
  animation: highlightPulse 0.8s ease;
}

@keyframes highlightPulse {
  0%, 100% { background: transparent; }
  50% { background: #FFF5ED; }
}

/* カテゴリ内のラジオボタンは左揃え・角丸12px */
.shindan__category .shindan__option-radio {
  justify-content: flex-start;
  border-radius: 12px;
  padding: 14px 16px;
}

.result-modal__note--bottom {
  margin-bottom: 0;
}

.result-modal__trust + .btn-cta--line {
  margin-top: 28px;
}

/* ---- 結果モーダル: 実績スライダー ---- */
.result-modal__cases {
  margin: 28px -24px 0;
  padding: 24px 0;
  border-top: 1px dashed #ddd;
  background: #FFF5ED;
  overflow: hidden;
  text-align: center;
}

.result-modal__cases .cases__slide {
  flex: 0 0 88%;
  margin-bottom: 32px;
}

.result-modal__cases .cases__amount {
  max-width: 92%;
  font-size: 0.875rem;
  padding: 5px 8px;
  gap: 4px;
}

.result-modal__cases .cases__amount-label {
  font-size: 0.5625rem;
  padding: 2px 5px;
}

.result-modal__cases .cases__amount-number {
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.result-modal__cases .cases__amount-number small {
  font-size: 0.75rem;
}

/* ---- 結果モーダル: 受給実績 ---- */
.result-modal__trust {
  margin: 0 -24px 24px;
  padding: 24px;
  background: #FFF5ED;
}

.result-modal__claim {
  font-size: 1.125rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.7;
  margin-bottom: 16px;
}

.result-modal__claim-accent {
  color: #E8721C;
  font-size: 1.5rem;
  font-weight: 900;
}

.result-modal__stats {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.result-modal__stat-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  border: 2px solid #FFD700;
}

.result-modal__stat-label {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
}

.result-modal__stat-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #E8721C;
  line-height: 1.2;
}

.result-modal__stat-big {
  font-size: 2rem;
  font-weight: 900;
}

.result-modal__stat-number small {
  font-size: 1rem;
}

.result-modal__stat-sub {
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
}


/* ============================================
   0320版から最終同期（診断UI完全一致）
   2026-04-30
   ============================================ */



/* ---------- 実績スライダーセクション ---------- */
.cases {
  background: #FFF5ED;
  padding: 32px 0 28px;
  overflow: hidden;
}



.cases__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}



.cases__lead {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #E8721C;
  margin-bottom: 4px;
}



.cases__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #412807;
  margin-bottom: 20px;
  border-bottom: 3px dashed #E8721C;
  display: inline-block;
  padding-bottom: 4px;
}



.cases__slider-wrap {
  position: relative;
  padding-bottom: 8px;
}



.cases__slider {
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}



.cases__slider:active {
  cursor: grabbing;
}



.cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  z-index: 10;
  width: 40px;
  height: 40px;
  background: #E8721C;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}



.cases__arrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}



.cases__arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}



.cases__arrow--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}



.cases__arrow:hover {
  background: #D4600F;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(calc(-50% - 14px)) scale(1.1);
}



.cases__arrow--prev {
  left: 6px;
}



.cases__arrow--next {
  right: 6px;
}



.cases__track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  padding: 0 16px;
}



.cases__track.is-dragging {
  transition: none;
}



.cases__slide {
  flex: 0 0 72%;
  min-width: 0;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  position: relative;
  margin-bottom: 28px;
}



.cases__photo {
  overflow: hidden;
  border-radius: 16px;
}



.cases__photo img {
  width: 100%;
  display: block;
}



.cases__photo--stacked {
  border-radius: 16px;
}



.cases__photo--stacked img + img {
  border-top: 2px solid #f0ebe3;
}



.cases__amount {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px solid #E8721C;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  z-index: 2;
  max-width: 95%;
}



.cases__amount-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: #E8721C;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}



.cases__amount-number {
  font-size: 1.25rem;
  font-weight: 900;
  color: #E8721C;
  letter-spacing: 0.01em;
}



.cases__amount-number small {
  font-size: 0.875rem;
  font-weight: 700;
}



.cases__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}



.cases__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  transition: background 0.3s ease;
  cursor: pointer;
}



.cases__dot--active {
  background: #E8721C;
}



/* ---------- 診断セクション ---------- */
.shindan {
  background: #FAFAF6;
  padding: 32px 0 40px;
  margin-left: -16px;
  margin-right: -16px;
}



.shindan__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}



/* ステップバー（カテゴリ用） */
.shindan__step-bar {
  display: none;
  gap: 4px;
  margin-bottom: 24px;
}



.shindan__step-node {
  flex: 1;
  text-align: center;
  padding: 10px 4px 8px;
  background: #EDEDED;
  border-radius: 8px;
  transition: all 0.3s ease;
}



.shindan__step-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}



.shindan__step-name {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #999;
  line-height: 1.3;
}



.shindan__step-node--active {
  background: #FFF5ED;
  border: 2px solid #E8721C;
}



.shindan__step-node--active .shindan__step-label,
.shindan__step-node--active .shindan__step-name {
  color: #E8721C;
}



.shindan__step-node--done {
  background: #E8721C;
}



.shindan__step-node--done .shindan__step-label,
.shindan__step-node--done .shindan__step-name {
  color: #fff;
}



/* Q1 プログレス（ランディングページ用） */
.shindan__progress {
  margin-bottom: 24px;
}



.shindan__step-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  display: inline-block;
}



.shindan__time {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  margin-bottom: 12px;
}



/* カテゴリページ */
.shindan__category {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: slideIn 0.3s ease;
}



.shindan__category-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #E8721C;
  text-align: center;
  margin-bottom: 8px;
}



.shindan__category-desc {
  font-size: 0.8125rem;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}



.shindan__category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



.shindan__category-error {
  text-align: center;
  color: #E53935;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 16px;
}



/* カテゴリ内 質問カード */
.shindan__q-card {
  padding-bottom: 24px;
  border-bottom: 1px solid #F0EBE3;
}



.shindan__q-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}



.shindan__q-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}



.shindan__q-id {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  background: #E8721C;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 6px;
}



.shindan__q-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.6;
  margin: 0;
}



/* カテゴリ内 質問画像 */
.shindan__q-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}



.shindan__q-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}



.shindan__q-card--highlight {
  animation: highlightPulse 0.8s ease;
}



@keyframes highlightPulse {
  0%, 100% { background: transparent; }
  50% { background: #FFF5ED; }
}



/* カテゴリ内のラジオボタンは左揃え・角丸12px */
.shindan__category .shindan__option-radio {
  justify-content: flex-start;
  border-radius: 12px;
  padding: 14px 16px;
}



/* 質問カード */
.shindan__cards {
  position: relative;
}



.shindan__card {
  display: none;
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: slideIn 0.3s ease;
}



.shindan__card--active {
  display: block;
}



@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}




/* 質問カード内の画像 */
.shindan__card-img {
  margin: -32px -20px 20px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}



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



.shindan__question {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E8721C;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}



.shindan__multi-label {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
}



/* 単一選択（ラジオボタン風） */
.shindan__options--radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}



.shindan__option-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #C9B99A;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #412807;
  transition: all 0.15s ease;
}



.shindan__option-radio:hover {
  border-color: #E8721C;
  background: #FFF5ED;
}



.shindan__option-radio.is-selected {
  border-color: #E8721C;
  background: #FFF5ED;
  color: #E8721C;
  font-weight: 700;
}



/* 複数選択（チェックボックス） */
.shindan__options--checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.shindan__option-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #D9D9D9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}



.shindan__option-check:hover {
  border-color: #E8721C;
}



.shindan__option-check input {
  display: none;
}



.shindan__check-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #C9B99A;
  border-radius: 4px;
  position: relative;
  transition: all 0.15s ease;
}



.shindan__option-check input:checked ~ .shindan__check-box {
  background: #E8721C;
  border-color: #E8721C;
}



.shindan__option-check input:checked ~ .shindan__check-box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}



.shindan__option-check input:checked ~ .shindan__check-text {
  color: #E8721C;
  font-weight: 700;
}



.shindan__option-check.is-checked {
  border-color: #E8721C;
  background: #FFF5ED;
}



.shindan__check-text {
  font-size: 0.9375rem;
  color: #412807;
  transition: all 0.15s ease;
}



/* 次へボタン */
.btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 24px auto 0;
  padding: 14px 32px;
  background: #4CAF50;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  transition: all 0.25s ease;
}



.btn-next:hover {
  background: #43A047;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}



.btn-next--submit {
  background: #E8721C;
  box-shadow: 0 4px 12px rgba(232, 114, 28, 0.3);
  width: 240px;
}



.btn-next--submit:hover {
  background: #D4600F;
  box-shadow: 0 6px 16px rgba(232, 114, 28, 0.4);
}



/* 戻るリンク */
.shindan__back {
  text-align: center;
  margin-top: 20px;
}



.shindan__back-btn {
  font-size: 0.8125rem;
  color: #999;
  transition: color 0.2s ease;
}



.shindan__back-btn:hover {
  color: #E8721C;
}



/* ---------- 診断結果モーダル ---------- */
.result-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}



.result-overlay.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FAFAF6;
}



.result-modal {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.4s ease 0.1s both;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}



.result-modal__icon {
  margin-bottom: 12px;
  line-height: 1;
}



.result-modal__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #E8721C;
  margin-bottom: 12px;
}



.result-modal__desc {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 20px;
}



.result-modal__line-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #F0FFF0;
  border-radius: 10px;
  border: 1px solid #D4EDDA;
}



.result-modal__line-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}



.result-modal__line-text {
  font-size: 0.8125rem;
  color: #333;
  text-align: left;
  line-height: 1.5;
  font-weight: 500;
}



.btn-cta--line {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 16px 24px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #06C755, #05B34C);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  gap: 8px;
}



.btn-cta--line:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
}



.btn-cta--line .btn-cta__arrow {
  font-size: 1.2rem;
}



.result-modal__note {
  font-size: 0.6875rem;
  color: #999;
  margin-top: 16px;
  line-height: 1.5;
}



.result-modal__note--bottom {
  margin-bottom: 0;
}



.result-modal__trust + .btn-cta--line {
  margin-top: 28px;
}



/* ---- 結果モーダル: 実績スライダー ---- */
.result-modal__cases {
  margin: 28px -24px 0;
  padding: 24px 0;
  border-top: 1px dashed #ddd;
  background: #FFF5ED;
  overflow: hidden;
  text-align: center;
}



.result-modal__cases .cases__slide {
  margin-bottom: 32px;
}



.result-modal__cases .cases__amount {
  max-width: 90%;
  font-size: 0.875rem;
}



/* ---- 結果モーダル: 受給実績 ---- */
.result-modal__trust {
  margin: 0 -24px 24px;
  padding: 24px;
  background: #FFF5ED;
}



.result-modal__claim {
  font-size: 1.125rem;
  font-weight: 700;
  color: #412807;
  line-height: 1.7;
  margin-bottom: 16px;
}



.result-modal__claim-accent {
  color: #E8721C;
  font-size: 1.5rem;
  font-weight: 900;
}



.result-modal__stats {
  display: flex;
  gap: 12px;
  justify-content: center;
}



.result-modal__stat-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  border: 2px solid #FFD700;
}



.result-modal__stat-label {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
}



.result-modal__stat-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #E8721C;
  line-height: 1.2;
}



.result-modal__stat-big {
  font-size: 2rem;
  font-weight: 900;
}



.result-modal__stat-number small {
  font-size: 1rem;
}



.result-modal__stat-sub {
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
}



/* ---------- 診断対象外モーダル ---------- */
.ineligible-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s ease;
}



.ineligible-overlay.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



.ineligible-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.4s ease 0.1s both;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



.ineligible-modal__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}



.ineligible-modal__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #999;
  margin-bottom: 16px;
}



.ineligible-modal__desc {
  font-size: 1rem;
  color: #412807;
  line-height: 1.8;
  margin-bottom: 16px;
}



.ineligible-modal__sub {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #FFF5ED;
  border-radius: 10px;
}



.ineligible-modal__sub strong {
  color: #E8721C;
}



.btn-cta--ineligible {
  background: #999;
  max-width: 240px;
}



.btn-cta--ineligible:hover {
  background: #888;
}



/* ---------- 診断モード用ミニヘッダー ---------- */
.shindan__header {
  display: none;
}



.shindan__header-icon {
  font-size: 1.25rem;
}



.shindan__header-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #E8721C;
}



/* ---------- 診断モード ---------- */
body.is-diagnostic-mode .header,
body.is-diagnostic-mode .hero,
body.is-diagnostic-mode .examples,
body.is-diagnostic-mode .cases,
body.is-diagnostic-mode .trust,
body.is-diagnostic-mode .service__character,
body.is-diagnostic-mode .service__lead,
body.is-diagnostic-mode .service__main,
body.is-diagnostic-mode .service__sub,
body.is-diagnostic-mode .service__start-label,
body.is-diagnostic-mode .service__start-title,
body.is-diagnostic-mode .faq,
body.is-diagnostic-mode .footer,
body.is-diagnostic-mode .floating-cta {
  display: none !important;
}



body.is-diagnostic-mode .service {
  padding-top: 0;
  padding-bottom: 0;
}



body.is-diagnostic-mode .shindan {
  margin: 0;
  min-height: 100vh;
  padding-top: 0;
}



body.is-diagnostic-mode .shindan__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #f0ebe3;
  margin: 0 -16px 0;
}



body.is-diagnostic-mode .shindan__step-bar {
  display: flex;
}
/* ============================================
   結果モーダル内に追加した特典＋Lineupセクション
   モーダル幅(360px / padding 24px)に収める調整
   2026-04-30
   ============================================ */
.result-modal__benefit {
  margin: 24px -24px 0;
  padding: 24px 16px;
  background: linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
  border-top: 1px dashed #ddd;
}

.result-modal__benefit .benefit-100__inner {
  max-width: 100%;
}

.result-modal__lineup {
  margin: 28px -24px 0;
  padding: 24px 16px;
  background: #fff;
  border-top: 1px dashed #ddd;
}

.result-modal__lineup .lineup__inner {
  max-width: 100%;
}

/* モーダル内ではPC対応の2列グリッドを無効化（狭幅で崩れるため） */
.result-modal__lineup .lineup__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* ============================================
   緊急修正（2026-04-30）
   1. is-diagnostic-mode が結果モーダル内のbenefit-100/lineupまで
      非表示にしてしまうバグ修正
   2. STEP2以降のチェックボックス選択肢を確実に左揃えにする
   ============================================ */

/* 1. 結果モーダル内のセクションは診断モードでも表示させる */
body.is-diagnostic-mode .result-modal .benefit-100,
body.is-diagnostic-mode .result-modal .lineup,
body.is-diagnostic-mode .result-modal__benefit,
body.is-diagnostic-mode .result-modal__lineup {
  display: block !important;
}

/* 2. カテゴリ内のチェックボックス選択肢を強制左揃え */
.shindan__category .shindan__option-check {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  gap: 12px !important;
}

.shindan__category .shindan__check-text {
  text-align: left !important;
  flex: 1 !important;
}

/* カテゴリ内のラジオも念押しで左揃え */
.shindan__category .shindan__option-radio {
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* 結果モーダル内のFV風ミニ特典カード：上下マージン＋縦幅圧縮 */
.result-modal__benefit-mini {
  margin: 16px auto 20px !important;
  max-width: 300px !important;
}

/* 内部要素を圧縮して縦幅を小さく */
.result-modal__benefit-mini .hero__benefit-card-image {
  width: 96px !important;
  padding: 12px 10px !important;
}

.result-modal__benefit-mini .hero__benefit-card-image img {
  box-shadow:
    -1px 3px 5px rgba(0, 0, 0, 0.08),
    -4px 8px 14px rgba(0, 0, 0, 0.08) !important;
}

.result-modal__benefit-mini .hero__benefit-card-icon {
  font-size: 1.25rem !important;
  top: 4px !important;
  right: 2px !important;
}

.result-modal__benefit-mini .hero__benefit-card-meta {
  padding: 12px 14px 12px 12px !important;
  gap: 4px !important;
}

.result-modal__benefit-mini .hero__benefit-card-tag {
  font-size: 0.5625rem !important;
  padding: 2px 7px !important;
}

.result-modal__benefit-mini .hero__benefit-card-title {
  font-size: 0.8125rem !important;
  margin: 1px 0 0 !important;
}

.result-modal__benefit-mini .hero__benefit-card-title strong {
  font-size: 1.0625rem !important;
  margin-top: 1px !important;
}

.result-modal__benefit-mini .hero__benefit-card-sub {
  font-size: 0.625rem !important;
  padding-left: 10px !important;
}

/* ============================================
   2026-05-02 urihome踏襲リデザイン: 表示崩れ修正
   - カテゴリタイトル/説明文を左揃え（中央揃え長文の改行が不自然なため）
   - 所要時間表示を float から block + text-align right に
   - STEP4「アンケート」表示で4ノードが詰まる対策
   - 横方向オーバーフローの防止（診断ファースト化で .service padding 干渉が顕在化）
   ============================================ */

/* 横スクロール禁止（保険） */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 診断モード時の最外コンテナを viewport 内に収める */
body.is-diagnostic-mode .service {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.is-diagnostic-mode .shindan {
  margin: 0 !important;
}

body.is-diagnostic-mode .shindan__inner {
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* カテゴリ/ステップバーが親幅を超えないよう強制（overflowはテキストを切らないvisibleキープ） */
body.is-diagnostic-mode .shindan__step-bar,
body.is-diagnostic-mode .shindan__category {
  max-width: 100%;
  box-sizing: border-box;
}

/* 質問カード/画像も親幅を超えない */
.shindan__q-card,
.shindan__q-img,
.shindan__category-list,
.shindan__q-text {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

/* 質問テキストのオーバーフロー対策 */
.shindan__q-header {
  flex-wrap: wrap;
}

/* 全要素 box-sizing デフォルト */
*, *::before, *::after {
  box-sizing: border-box;
}

/* カテゴリページの上部見出しを左揃え（タイトルにアクセントバー付与） */
.shindan__category-title {
  text-align: left !important;
  position: relative;
  padding-left: 14px;
  font-size: 1.375rem !important;
  margin-bottom: 6px !important;
}

.shindan__category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: #E8721C;
  border-radius: 2px;
}

.shindan__category-desc {
  text-align: left !important;
  margin-bottom: 24px !important;
  padding-left: 14px;
  line-height: 1.7 !important;
}

/* エラー文言は強調のため中央キープ */
.shindan__category-error {
  text-align: center !important;
}

/* 所要時間: float→block化して step-bar と category の間で素直に右寄せ */
.shindan__time {
  float: none !important;
  display: block;
  text-align: right;
  margin: -16px 0 12px 0 !important;
  font-size: 0.75rem;
  color: #999;
}

/* STEP4 化に伴い 4 ノード対応: 詰めを軽くして「アンケート」も収まりよく */
body.is-diagnostic-mode .shindan__step-bar {
  gap: 6px;
  margin-bottom: 16px;
}

.shindan__step-node {
  padding: 9px 2px 7px !important;
}

.shindan__step-label {
  font-size: 0.5625rem !important;
  letter-spacing: 0 !important;
}

.shindan__step-name {
  font-size: 0.625rem !important;
}

/* カテゴリパネルの内側余白を整理（左パディングを少し抑える） */
.shindan__category {
  padding: 24px 18px 28px !important;
}

/* 戻るボタン: STEP1で非表示の時に空白が残らないよう height 0 化 */
.shindan__back {
  margin-top: 16px;
}

