/* ============================================
   リンパ整体ひまわり - TOPページ専用スタイル
   高齢者向け高視認性設計
   ============================================ */

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(168,136,42,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(212,112,74,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* 装飾円 */
.hero-decoration { position: absolute; pointer-events: none; }

.hero-deco--circle1 {
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,136,42,0.10) 0%, transparent 70%);
}

.hero-deco--circle2 {
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,112,74,0.08) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 32px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* テキストエリア */
.hero-text { order: 1; }

/* エリアバッジ：視認性最優先 */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-green);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* キャッチコピー：高齢者が読める大きさ */
.hero-catch {
  font-family: var(--font-main);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-catch em {
  font-style: normal;
  color: var(--color-green);
  border-bottom: 3px solid var(--color-warm);
}

/* サブコピー */
.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 24px;
}

/* 初回お試しバッジ（情報表示：白背景＋枠線） */
.hero-trial {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--color-warm);
  border: 2px solid var(--color-warm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-trial__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-right: 1px solid var(--color-warm);
  padding-right: 14px;
}

.hero-trial__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.hero-trial__original {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: line-through;
  color: #aaa;
  white-space: nowrap;
}

.hero-trial__arrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-warm);
  white-space: nowrap;
}

.hero-trial__price {
  font-size: min(1.4rem, 7vw);
  font-weight: 700;
  color: var(--color-warm);
  white-space: nowrap;
}

/* ヒーローCTAボタン：横並びで収まるよう少しコンパクトに・均等幅 */
.hero-text .btn-group .btn {
  flex: 1;
  min-width: 0;
  padding: 16px 28px;
  font-size: 1rem;
  white-space: normal;
  text-align: center;
}

/* ビジュアル */
.hero-visual { order: 2; position: relative; }

/* 施術者キャプション：PCでは非表示 */
.hero-therapist-caption { display: none; }

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-green-light) 0%, var(--color-warm-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
}

.hero-img-placeholder .icon { font-size: 3.5rem; opacity: 0.4; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* フローティングバッジ */
.hero-float-badge {
  position: absolute;
  bottom: -16px; left: -16px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  border: 1px solid var(--color-border);
}

.hero-float-badge__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-warm-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.hero-float-badge__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-float-badge__text span {
  font-size: 0.78rem;
  color: var(--color-warm);
  font-weight: 600;
}

.hero-float-badge2 {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--color-green);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-float-badge2 strong { display: block; font-size: 1.1rem; font-weight: 700; }
.hero-float-badge2 span   { font-size: 0.75rem; opacity: 0.9; }

/* スクロール誘導 */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.15em;
  color: var(--color-text-light);
}

.hero-scroll__line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--color-warm), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.5; }
}

/* ---------- 実写真スタイル ---------- */

/* ヒーロー写真 */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
}

/* アバウトセクション写真 */
.about-img__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 4/3;
}

/* 温熱セクション写真 */
.thermal-img__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 4/3;
}

/* 施術者紹介写真（円形） */
.intro-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------- 既存スタイルの上書き・補完 ---------- */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.worry-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--color-warm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-warm);
}

.worry-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.worry-item__icon { font-size: 1.5rem; flex-shrink: 0; }

/* 高齢者向け：お悩み文字を大きく・濃く */
.worry-item__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

.worry-closing {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 32px;
}

/* ---------- ひまわりについて ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-green-light), var(--color-warm-light));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.about-img-placeholder .icon { font-size: 3rem; opacity: 0.4; }

.about-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-mid);
}

.about-feature__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-warm);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---------- 温熱ケア ---------- */
.thermal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.thermal-img { order: 2; }
.thermal-text { order: 1; }
.thermal-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* ---------- 施術者紹介（TOP短縮版）---------- */
.intro-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.intro-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-green);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.intro-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-green-light), var(--color-warm-light));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.intro-photo-placeholder .icon { font-size: 2.5rem; opacity: 0.4; }

/* 高齢者向け：名前を大きく・濃く */
.intro-name {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.intro-name-ruby {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: block;
}

/* ---------- 訪問エリア ---------- */
.area-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.area-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  /* 高齢者向け */
  font-size: 1rem;
  color: var(--color-text);
}

.area-list__item--main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green);
}

.area-list__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-warm);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.area-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  background: var(--color-green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-light);
  font-size: 0.88rem;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-border);
}

.area-map .icon { font-size: 2rem; opacity: 0.4; }

/* 実写真用エリアマップ */
.area-map-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-green-light);
}

.area-map__photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.area-map-img:hover .area-map__photo {
  transform: scale(1.02);
}

/* ---------- 初回案内カード ---------- */
.trial-card {
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-mid));
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.trial-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.trial-card__title {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative; z-index: 1;
  color: #FFFFFF;
}

.trial-card__original {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
  position: relative; z-index: 1;
}

.trial-card__price {
  font-family: var(--font-main);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative; z-index: 1;
  color: #FFFFFF;
}

.trial-card__price span { font-size: 1.2rem; }

.trial-card__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.9;
  margin-bottom: 32px;
  position: relative; z-index: 1;
}

/* ============================================
   TOPページ レスポンシブ
   ============================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
    padding-bottom: 48px;
  }
  .hero-scroll { display: none; }
  .hero-text  { order: 1; }
  .hero-visual {
    order: 2;
    max-width: 200px;
    margin: 0 auto;
  }
  .hero-img-wrap {
    border-radius: 50%;
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(59,107,74,0.25);
    border: 3px solid var(--color-green-light);
  }
  .hero-img {
    aspect-ratio: 1/1;
    border-radius: 0;
    object-position: center 12%;
  }
  .hero-therapist-caption {
    display: block;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-green);
    margin-top: 12px;
    letter-spacing: 0.03em;
  }
  .hero-img-placeholder { aspect-ratio: 3/2; }

  .worry-grid { grid-template-columns: 1fr 1fr; }

  .about-grid,
  .thermal-grid { grid-template-columns: 1fr; gap: 32px; }
  .thermal-img  { order: -1; }

  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-photo { margin: 0 auto; }

  .area-content { grid-template-columns: 1fr; }
  .trial-card   { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .worry-grid { grid-template-columns: 1fr; }
  .hero-float-badge, .hero-float-badge2 { display: none; }
  .trial-card__price { font-size: min(2.8rem, 14vw); }
}

@media (max-width: 480px) {
  /* ヒーローCTAボタン：幅が狭い端末では縦並び・幅いっぱいに戻す */
  .hero-text .btn-group {
    flex-direction: column;
  }
  .hero-text .btn-group .btn {
    flex: none;
    width: 100%;
  }
  /* 初回お試しバッジの余白を縮小 */
  .hero-trial {
    gap: 8px;
    padding: 10px 16px;
  }
  .hero-trial__label {
    padding-right: 8px;
  }
  /* フローティングバナーを小型化 */
  .floating-line {
    padding: 10px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }
  /* 長いボタンテキストの右端切れを防止 */
  .btn--lg {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
}
