/* ======================================
   雛人形出張買取LP — style.css
   和風×モダン スマホ特化デザイン
   ====================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Shippori+Mincho:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --navy: #1B2A47;
  --navy-dark: #121C30;
  --navy-light: #2C4167;
  --gold: #C5A351;
  --gold-light: #D4B76A;
  --gold-dark: #A88A3D;
  --washi: #FDF8F0;
  --washi-dark: #F5EDE0;
  --sumi: #2D2D2D;
  --sumi-light: #4A4A4A;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --green-line: #06C755;
  --green-line-hover: #05B34C;
  --orange-phone: #F5811F;
  --orange-phone-hover: #E0741A;
  --gray-light: #F0EDE8;
  --gray-text: #7A7A7A;
  --red-badge: var(--navy); /* エラーや必須バッジにも濃紺を使用し、ダサい赤を排除 */

  /* Typography */
  --font-body: 'Noto Sans JP', sans-serif;
  --font-heading: 'Shippori Mincho', serif;

  /* Spacing */
  --section-padding: 80px 20px; /* 1.5x larger */
  --card-padding: 24px;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-cta: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* --- Media Queries Utility --- */
br.sp_only { display: inline; }
@media (min-width: 481px) {
  br.sp_only { display: none; }
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--sumi);
  background-color: var(--washi);
  line-height: 1.8;
  overflow-x: hidden;
  padding-bottom: 100px; /* 追従CTAの高さ分 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- SVG Icon Utilities --- */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.1em;
}
.icon-svg--inline {
  width: 1.1em;
  height: 1.1em;
}
.icon-svg--warn { color: var(--navy); }
.icon-svg--bad { color: var(--navy-light); }
.icon-svg--good { color: var(--gold-dark); }
.icon-svg--positive { color: var(--green-line); }
.icon-svg--crown { color: var(--gold); }

/* --- Text Color Utilities --- */
.text-dark-brown {
  color: #3e2723 !important;
  font-weight: 900 !important;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.5;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  margin: 12px auto 24px;
  border-radius: 2px;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ======================================
   0. STICKY HEADER
   ====================================== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  height: 60px;
  display: flex;
  align-items: center;
}

.sticky-header__inner {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.sticky-header__logo {
  display: flex;
  align-items: center;
}

.sticky-header__logo-img {
  max-height: 40px;
  width: auto;
}

.sticky-header__logo strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy-dark);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sticky-header__logo strong span {
  font-size: 0.55rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
}

.sticky-header__actions {
  display: flex;
  gap: 16px; /* ボタン同士が密着しないよう十分な余白を確保 */
}

.sticky-header__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px; /* 指の腹で確実に押せる十分な高さと幅 */
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.1s, box-shadow 0.1s;
  transform: translateY(0);
}

.sticky-header__btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.sticky-header__btn-small {
  font-size: 0.55rem;
  font-weight: 500;
  opacity: 0.9;
}

.sticky-header__btn-large {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sticky-header__btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
}

.sticky-header__btn--phone {
  background: linear-gradient(135deg, var(--orange-phone), #E0741A);
  border: 1px solid #D06915;
  box-shadow: 0 3px 0 #C25B0D;
}

.sticky-header__btn--phone:active {
  box-shadow: 0 0 0 #C25B0D;
}

.sticky-header__btn--line {
  background: linear-gradient(135deg, var(--green-line), #04A944);
  border: 1px solid #039D3E;
  box-shadow: 0 3px 0 #028C36;
}

.sticky-header__btn--line:active {
  box-shadow: 0 0 0 #028C36;
}

.sticky-header__btn-text {
  line-height: 1;
}

/* ======================================
   1. FLOATING CTA (追従型ボタン)
   ====================================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-cta);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.floating-cta__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}

.floating-cta__inner .cta-btn {
  flex: 1;
}

.cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.cta-btn:active {
  transform: translateY(4px);
}

.cta-btn--line {
  background: linear-gradient(135deg, var(--green-line), #04A944);
  color: var(--white);
  box-shadow: 0 4px 0 #028C36, 0 6px 12px rgba(6, 199, 85, 0.35);
  border: 1px solid #039D3E;
}

.cta-btn--line:active {
  box-shadow: 0 0 0 #028C36, 0 2px 4px rgba(6, 199, 85, 0.35);
}

/* 汎用的なボタンドロップシャドウクラス（フラットデザイン禁止） */
.btn-shadow {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-shadow:active {
  transform: translateY(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-btn--phone {
  background: linear-gradient(135deg, var(--orange-phone), #E0741A);
  color: var(--white);
  box-shadow: 0 4px 0 #C25B0D, 0 6px 12px rgba(245, 129, 31, 0.35);
  border: 1px solid #D06915;
}

.cta-btn--phone:active {
  box-shadow: 0 0 0 #C25B0D, 0 2px 4px rgba(245, 129, 31, 0.35);
}

.cta-btn__micro {
  font-size: 0.65rem;
  opacity: 0.95;
  margin-bottom: 2px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cta-btn__main {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-btn__main .icon {
  font-size: 1.2rem;
}

/* Pulse animation for LINE button */
.cta-btn--line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.5);
  animation: ctaPulse 2.5s infinite;
}

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(6, 199, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

/* ======================================
   2. FIRST VIEW (ファーストビュー - 超圧縮)
   ====================================== */
.top-banner {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  margin-top: 60px; /* offset for sticky header */
}

.hero {
  position: relative;
  background: linear-gradient(175deg, var(--washi) 0%, #FFFFFF 50%, var(--washi-dark) 100%);
  padding: 0 0 48px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B2A47' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* トラストバッジ（メダル型） */
.hero__trust-badges {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 0 16px;
  gap: 8px;
}

.hero__trust-badge--medal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, #FFEBAF 0%, #D4B76A 50%, #A88A3D 100%);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 0 0 3px #C5A351, 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  color: var(--navy-dark);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__trust-badge--medal::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(197, 163, 81, 0.5);
  pointer-events: none;
}

.hero__trust-badge--medal::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -50%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.hero__trust-badge--medal span {
  font-size: 0.65rem;
  font-weight: 900; /* 極太にして視認性を最大化 */
  line-height: 1.1;
  color: #3E2723; /* 濃い茶色で視認性UP */
}

.hero__trust-badge--medal strong {
  font-size: 1.1rem;
  color: #000000; /* 黒色に近い濃色でコントラストを最大化 */
  font-family: var(--font-body); /* ゴシック体で視認性UP */
  font-weight: 900; /* 際立つ太さ */
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.hero__catch {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  line-height: 1.4;
  margin-bottom: 32px;
  text-align: center;
  padding: 0 16px;
}

.hero__catch-small {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero__catch-medium {
  font-size: 1.4rem;
  font-weight: 800;
}

.hero__catch-highlight {
  display: block;
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-top: 12px;
  line-height: 1.1;
  text-shadow: 1px 2px 4px rgba(168, 138, 61, 0.2);
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--border-radius);
  overflow: visible; /* バッジがはみ出しても見えるようにする */
  margin: 0 16px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* 実利アピールバッジ */
.hero__benefit-badge {
  position: absolute;
  top: -24px; /* 上部に引き上げ */
  left: 50%;
  margin-left: -140px; /* 中央寄せから少しずらす等 */
  width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid #D32F2F; /* 目立つ赤色 */
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: rotate(-3deg);
  animation: floatBadge 3s ease-in-out infinite;
  z-index: 10;
}

.hero__benefit-badge::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #D32F2F transparent;
}

.hero__benefit-badge::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 22px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.95) transparent;
}

@keyframes floatBadge {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

.benefit-badge__text1 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.benefit-badge__text2 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #D32F2F;
  margin-bottom: 4px;
}

.benefit-badge__text3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.3;
  background: #FFF8E1;
  padding: 4px 8px;
  border-radius: 4px;
}

/* すべて大歓迎！帯（余白重視） */
.hero__any-ok {
  background: var(--navy);
  padding: 16px 12px;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero__any-ok-jumbo {
  display: inline-block;
  font-size: 1.8rem; /* 特大の文字 */
  font-family: var(--font-heading);
  font-weight: 900;
  color: #FFD700; /* 特大の黄色（ゴールド）文字 */
  line-height: 1.3;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
  margin: 4px 0;
}

.hero__any-ok-normal {
  display: inline-block;
  font-size: 0.9rem; /* 小さめの文字 */
  color: var(--white); /* 白色文字 */
  font-weight: 500;
  line-height: 1.5;
  margin: 4px 0;
}

/* マイクロコピー */
.hero__micro-copy-urgent {
  color: #E64A19; /* 強烈なオレンジレッド */
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.hero__micro-copy {
  font-size: 0.85rem;
  text-align: center;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 24px;
  padding: 0 16px;
}
.hero__micro-copy span.text-highlight {
  color: var(--navy);
  font-size: 1.0rem;
  background: linear-gradient(transparent 70%, rgba(212, 183, 106, 0.3) 70%);
}

/* FV内CTA（全幅・縦並び） */
.hero__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.hero__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.1s, box-shadow 0.1s;
  gap: 8px;
  width: 100%;
  transform: translateY(0);
}

.hero__cta-btn:active {
  transform: translateY(6px);
}

.hero__cta-btn--line {
  background: linear-gradient(135deg, var(--green-line), #04A944);
  color: var(--white);
  box-shadow: 0 6px 0 #028C36, 0 10px 20px rgba(6, 199, 85, 0.35);
  border: 1px solid #039D3E;
}

.hero__cta-btn--line:active {
  box-shadow: 0 0 0 #028C36, 0 4px 8px rgba(6, 199, 85, 0.35);
}

.hero__cta-btn--phone {
  background: linear-gradient(135deg, var(--orange-phone), #E0741A);
  color: var(--white);
  box-shadow: 0 6px 0 #C25B0D, 0 10px 20px rgba(245, 129, 31, 0.35);
  border: 1px solid #D06915;
  flex-direction: column;
  gap: 4px;
}

.hero__cta-btn--phone:active {
  box-shadow: 0 0 0 #C25B0D, 0 4px 8px rgba(245, 129, 31, 0.35);
}

.hero__cta-btn--phone .cta-btn__small-text {
  font-size: 0.75rem;
  font-weight: 500;
}

.hero__cta-btn--phone .cta-btn__large-text {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Flea Market Hook (フリマより楽！) */
.flea-hook {
  margin-bottom: 20px;
}

.flea-hook__vs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--washi);
  border-radius: var(--border-radius);
  padding: 16px 12px;
  box-shadow: var(--shadow-card);
}

.flea-hook__item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.flea-hook__icon {
  font-size: 1.6rem;
}

.flea-hook__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sumi);
}

.flea-hook__desc {
  font-size: 0.7rem;
  color: var(--gray-text);
  line-height: 1.4;
}

.flea-hook__item--bad {
  opacity: 0.6;
}

.flea-hook__item--bad .flea-hook__label {
  text-decoration: line-through;
  color: var(--gray-text);
}

.flea-hook__item--good .flea-hook__label {
  color: var(--navy);
}

.flea-hook__item--good .flea-hook__desc strong {
  color: var(--navy);
}

.flea-hook__arrow {
  font-size: 1.4rem;
  color: var(--gold-dark);
  font-weight: 900;
  flex-shrink: 0;
}

/* ======================================
   3. ANY CONDITION OK (こんな状態でも大丈夫？)
   ====================================== */
.any-condition {
  padding: var(--section-padding);
  background: var(--white);
}

/* Swipe Guide & Dots */
.swipe-guide {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 16px;
  animation: swipeHint 2s infinite;
}

.swipe-guide__text {
  line-height: 1;
}

@keyframes swipeHint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(27, 42, 71, 0.2);
  transition: background-color 0.3s;
}

.carousel-dots .dot.is-active {
  background: var(--navy);
}

.condition-results {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 8px; /* for shadow */
  padding-left: 20px; /* 見切れ感のための余白 */
  padding-right: 20px;
}

.condition-results::-webkit-scrollbar {
  display: none;
}

.condition-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
}

.condition-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  margin: 12px 0 0 12px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.condition-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: -12px;
}

.condition-card__body {
  padding: 14px 16px;
}

.condition-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.condition-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.condition-tag--warn {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFE0B2;
}

.condition-tag--positive {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.condition-card__arrow {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin: 6px 0;
  animation: bounceDown 1.5s infinite;
}

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

.condition-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--border-radius-sm);
  margin: 4px 0;
}

.condition-card__price-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.condition-card__price-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.condition-card__price-value .yen {
  font-size: 0.9rem;
}

.condition-card__location {
  font-size: 0.7rem;
  color: var(--gray-text);
  text-align: right;
  margin-top: 6px;
}

.condition-message {
  text-align: center;
  padding: 20px 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--border-radius);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27, 42, 71, 0.2);
}

.condition-message p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ======================================
   6. MEMORIAL SERVICE (無料供養)
   ====================================== */
/* ======================================
   6. MEMORIAL SERVICE (無料供養)
   ====================================== */
.memorial {
  position: relative;
  padding: 80px 20px;
  margin-top: 80px; /* 余白を広げて分離 */
  background: var(--washi); /* アイボリー */
  overflow: hidden;
  text-align: center;
}

.memorial__container {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.memorial__content {
  background: var(--white);
  padding: 40px 24px;
  border-radius: 16px;
  border: 1px solid rgba(197, 163, 81, 0.3); /* 上品なゴールドの細枠 */
  box-shadow: var(--shadow-card);
}

.memorial__icon {
  color: var(--gold); /* 上品なゴールド */
  margin-bottom: 16px;
}

.memorial__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 24px;
  line-height: 1.4;
}

.memorial__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sumi);
  margin-bottom: 24px;
}

.memorial__desc strong {
  color: var(--navy);
  font-size: 1.05rem;
  background: rgba(27, 42, 71, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.memorial__promise {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-text);
  padding-top: 20px;
  border-top: 1px solid rgba(27, 42, 71, 0.1);
}


/* ======================================
   4. CATEGORY SECTION (買取強化中カテゴリ)
   ====================================== */
.category {
  padding: var(--section-padding);
  background: var(--washi-dark);
  overflow: hidden;
}

.category-carousel {
  position: relative;
}

.category-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 20px 24px;
}

.category-carousel__track::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 45%; /* モバイルで2枚+α見えるように */
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.category-card.is-active {
  border-color: var(--navy);
  box-shadow: var(--shadow-card-hover);
}

.category-card:active {
  transform: scale(0.97);
}

.category-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.category-card__label {
  text-align: center;
  padding: 10px 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sumi);
  font-family: var(--font-heading);
}

.category-details {
  margin-top: 16px;
}

.category-detail__inner {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--navy);
}

.category-detail__inner h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.category-detail__inner p {
  font-size: 0.85rem;
  color: var(--sumi-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.category-detail__inner .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-detail__inner .tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(27, 42, 71, 0.08), rgba(27, 42, 71, 0.04));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(27, 42, 71, 0.15);
}

/* ======================================
   5. COMPARISON SECTION (比較セクション)
   ====================================== */
.comparison {
  padding: var(--section-padding);
  background: var(--white);
}

.comparison-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.comparison-card__header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comparison-card--other .comparison-card__header {
  background: var(--gray-light);
  color: var(--sumi-light);
}

.comparison-card--ours .comparison-card__header {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
}

.comparison-card__body {
  background: var(--white);
  padding: 16px;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  gap: 8px;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row__label {
  font-size: 0.8rem;
  color: var(--gray-text);
  flex-shrink: 0;
  min-width: 70px;
}

.comparison-row__value {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
}

.comparison-card--other .comparison-row__value {
  color: var(--sumi-light);
}

.comparison-card--ours .comparison-row__value {
  color: var(--navy);
  font-weight: 700;
}

.comparison-card--ours .comparison-row__value .icon {
  color: var(--gold);
}

.comparison-card__ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 32px;
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ======================================
   7. CONDITION FREE APPEAL (状態不良歓迎アピール)
   ====================================== */
.condition-appeal {
  padding: 0 16px;
  margin-top: -40px; /* 上に少し食い込ませる */
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}

.condition-appeal__inner {
  background: linear-gradient(135deg, #FF9800, #F57C00); /* 暖色系の安心カラー */
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245, 124, 0, 0.3);
  border: 2px solid #FFF3E0;
}

.condition-appeal__main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.condition-appeal__main strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFF176; /* 目立つイエロー */
}

.condition-appeal__sub {
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
}

/* ======================================
   5. REASONS SECTION (選ばれる理由)
   ====================================== */
.reasons {
  padding: var(--section-padding);
  background: var(--white);
}

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

.reason-item {
  background: var(--washi);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(197, 163, 81, 0.15);
  transition: box-shadow 0.3s;
}

.reason-item.is-open {
  box-shadow: var(--shadow-card-hover);
}

.reason-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.reason-header:active {
  background-color: var(--washi-dark);
}

.reason-header__num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.reason-header__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.4;
  flex: 1;
}

.reason-header__chevron {
  font-size: 1.2rem;
  color: var(--gray-text);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.reason-item.is-open .reason-header__chevron {
  transform: rotate(180deg);
}

.reason-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.reason-body__inner {
  padding: 0 16px 24px;
  font-size: 0.85rem;
  color: var(--sumi-light);
  line-height: 1.8;
}

.reason-body__inner .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.reason-body__inner .tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(27, 42, 71, 0.08), rgba(27, 42, 71, 0.04));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(27, 42, 71, 0.15);
}

/* ======================================
   7. CUSTOMER VOICE (お客様の声)
   ====================================== */
.voice {
  padding: var(--section-padding);
  background: var(--washi-dark);
}

.voice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.voice-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.voice-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  border: 1px solid var(--gold-light);
}

.voice-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voice-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sumi);
}

.voice-card__area {
  font-size: 0.7rem;
  color: var(--gray-text);
}

.voice-card__stars {
  color: #F5A623;
  font-size: 0.85rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.voice-card__bubble {
  position: relative;
  background: var(--washi);
  border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-light);
}

.voice-card__bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--gray-light);
}

.voice-card__bubble::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 17px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--washi);
}

.voice-card__bubble p {
  font-size: 0.85rem;
  color: var(--sumi-light);
  line-height: 1.7;
}

.voice-card__bubble strong {
  color: var(--navy);
}

.voice-card__result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-light);
}

.voice-card__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: var(--gray-light);
}

.voice-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.voice-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #D32F2F;
  font-size: 0.9rem;
}

/* ======================================
   7. STEPS SECTION (買取ステップ)
   ====================================== */
.steps {
  padding: var(--section-padding);
  background: var(--white);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 32px;
}

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

/* Connecting line */
.step-item::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 23px;
  width: 2px;
  height: calc(100% - 48px);
  background: linear-gradient(to bottom, var(--gold), rgba(197, 163, 81, 0.2));
}

.step-item:last-child::before {
  display: none;
}

.step-item__num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(27, 42, 71, 0.2);
}

.step-item__content {
  flex: 1;
  padding-top: 4px;
}

.step-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sumi);
  margin-bottom: 4px;
}

.step-item__icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.step-item__desc {
  font-size: 0.85rem;
  color: var(--sumi-light);
  line-height: 1.7;
}

.step-item__desc strong {
  color: var(--navy);
}

/* ======================================
   8. FAQ SECTION (よくある質問)
   ====================================== */
.faq {
  padding: var(--section-padding);
  background: var(--washi-dark);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s;
}

.faq-question:active {
  background-color: var(--washi);
}

.faq-question__badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}

.faq-question__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sumi);
  line-height: 1.5;
  flex: 1;
}

.faq-question__chevron {
  font-size: 1rem;
  color: var(--gray-text);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question__chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer__inner {
  padding: 0 16px 16px;
  padding-left: 42px;
  font-size: 0.85rem;
  color: var(--sumi-light);
  line-height: 1.8;
}

.faq-answer__inner strong {
  color: var(--navy);
}

.cta-btn__stacked-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.cta-btn__stacked-small {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
}

.cta-btn__stacked-large {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ======================================
   9. ENTRY FORM (申込フォーム)
   ====================================== */
.entry-form-section {
  padding: var(--section-padding);
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
}

.entry-form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='m0 40 40-40H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.entry-form-section .section-title {
  color: var(--white);
  position: relative;
}

.entry-form-section .section-divider {
  background: linear-gradient(90deg, var(--gold-light), rgba(255,255,255,0.3));
}

.entry-form__wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.entry-form__time-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(197, 163, 81, 0.3);
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-of-type {
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sumi);
  margin-bottom: 6px;
}

.form-label .required {
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--sumi);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.form-input::placeholder {
  color: #C0C0C0;
}

.form-input--error {
  border-color: var(--red-badge);
}

.form-error {
  font-size: 0.75rem;
  color: var(--red-badge);
  margin-top: 4px;
  display: none;
}

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

.form-row {
  display: flex;
  gap: 8px;
}

.form-row .form-group {
  flex: 1;
}

.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--sumi);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%237A7A7A' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px;
}

.form-select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-checkbox-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.form-checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px;
  background: var(--washi-dark);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gray-light);
  width: 100%;
}

.form-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--navy);
  cursor: pointer;
}

.form-checkbox-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sumi);
}

.form-checkbox-text .legal-link {
  color: #00E5FF; /* 暗い背景でも目立つ明るい水色 */
  text-decoration: underline;
  transition: opacity 0.2s;
}

.form-submit {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #FF3D00, #DD2C00); /* より強く目立つ赤・オレンジ系グラデーション */
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: 0 8px 0 #9F1900, 0 15px 25px rgba(221, 44, 0, 0.5); /* 非常に強いシャドウでボタンを浮かせる */
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.form-submit:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #BF360C, 0 4px 8px rgba(230, 74, 25, 0.4);
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: ctaShimmer 3s infinite;
}

@keyframes ctaShimmer {
  100% { left: 100%; }
}

/* ======================================
   12. SAFETY & MICRO COPY (安心・安全バッジとマイクロコピー)
   ====================================== */
.safety-badge {
  background: var(--white); /* 白背景 */
  border: 1px solid var(--navy); /* 濃紺の細い枠線 */
  border-radius: 8px;
  padding: 20px;
  margin: 0 0 24px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(27, 42, 71, 0.05);
}

.safety-badge__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.safety-badge__icon {
  color: var(--gold); /* ゴールドで信頼感を演出 */
  flex-shrink: 0;
}

.safety-badge__title {
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.safety-badge__desc {
  color: var(--sumi-light);
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 500;
}

.safety-badge__desc strong {
  color: var(--navy); /* 上品な濃紺 */
  font-weight: 700;
}

.form-micro-copy {
  margin-top: 24px; /* ボタンが沈む分を考慮 */
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.6;
  font-weight: 500;
}

.form-micro-copy p {
  margin-bottom: 4px;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-privacy {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-text);
  margin-top: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--navy);
  text-decoration: underline;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: var(--sumi);
  padding: 40px 20px;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer__company-info {
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  text-align: left;
}

.footer__company-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__company-info dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  font-size: 1rem; /* 通常サイズ */
  color: var(--white); /* ハッキリ読める白 */
}

.footer__company-info dt {
  width: 30%;
  font-weight: 700;
  color: var(--gold-light);
}

.footer__company-info dd {
  width: 70%;
  margin: 0;
}

.footer__license {
  margin: 24px auto;
  border: 1px solid var(--gold-dark);
  padding: 16px;
  display: inline-block;
  font-size: 1rem; /* 通常サイズ */
  color: var(--white); /* ハッキリ読める白 */
  border-radius: 4px;
  background: rgba(168, 138, 61, 0.1);
  line-height: 1.6;
}

.footer__license strong {
  font-weight: 700;
  color: var(--gold);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

/* プライバシーポリシー等の法的リンク（審査対策・ダークパターン排除） */
.legal-link {
  color: #0066c0 !important; /* 明確なリンクカラー（青） */
  text-decoration: underline !important; /* 必ず下線を引く */
  font-weight: 600;
  transition: color 0.2s;
}

.legal-link:hover {
  color: #c45500 !important;
}

/* スワイプ案内（手のアイコンとアニメーション） */
.icon-svg--swipe {
  margin-right: 6px;
  color: var(--gold-dark);
  animation: swipeHand 2s infinite ease-in-out;
}

@keyframes swipeHand {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(-10px); opacity: 1; }
}

.footer__links .legal-link {
  display: inline-block;
  margin: 5px 10px;
  font-size: 0.9rem;
  color: #4FC3F7 !important; /* 暗い背景でも読みやすい明るい水色 */
  text-decoration: underline !important;
}

.footer__info {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 対応エリア一覧 */
.footer__area-list {
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer__area-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-align: center;
}

.footer__area-body {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.footer__area-category {
  font-weight: 700;
  color: var(--white);
  margin-top: 10px;
  margin-bottom: 4px;
}

.footer__area-detail {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* お客様の声 シルエットアバター */
.voice-card__avatar-silhouette {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ======================================
   RESPONSIVE (Tablet & Desktop)
   ====================================== */
@media (min-width: 481px) {
  .container {
    max-width: 640px;
  }

  .hero__catch {
    font-size: 1.7rem;
  }

  .hero__stamp {
    font-size: 0.7rem;
  }

  .hero__stamp strong {
    font-size: 0.75rem;
  }

  .category-card {
    flex: 0 0 220px;
  }

  .category-card:first-child {
    margin-left: calc((100% - 220px) / 2);
  }

  .category-card:last-child {
    margin-right: calc((100% - 220px) / 2);
  }


  .cta-btn {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .hero {
    padding: 60px 32px;
    min-height: auto;
  }

  .hero__content {
    max-width: 640px;
    margin: 0 auto;
  }

  .condition-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .condition-results .condition-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .comparison-cards {
    flex-direction: row;
    align-items: stretch;
  }

  .comparison-card {
    flex: 1;
  }

  .steps-list {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (min-width: 960px) {
  .category-carousel__track {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .category-card:first-child {
    margin-left: 0;
  }
  .category-card:last-child {
    margin-right: 0;
  }
  .category .swipe-guide,
  #category-dots,
  .any-condition .swipe-guide,
  #condition-dots {
    display: none;
  }
}
