/* =============================================================
   NAORU整体院 — symptom.css
   症状別ページ専用スタイル（main.css に追加読み込み）
   ============================================================= */

/* -------------------------------------------------------------
   パンくずリスト
   ------------------------------------------------------------- */
.breadcrumb {
  background: var(--color-bg-sub);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  margin-top: var(--header-h);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-sub);
}

.breadcrumb__list li + li::before {
  content: '/';
  color: var(--color-border);
}

.breadcrumb__list a {
  color: var(--color-text-sub);
  transition: color var(--duration-base);
}

.breadcrumb__list a:hover {
  color: var(--color-primary);
}

.breadcrumb__list [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}


/* -------------------------------------------------------------
   症状ページ ヒーロー
   ------------------------------------------------------------- */
.symptom-hero {
  min-height: 60svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
  /* パンくずの分を引く（breadcrumb は header の下に来るため） */
  margin-top: 0;
}

.symptom-hero__bg {
  position: absolute;
  inset: 0;
}

.symptom-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.symptom-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 5, 5, 0.75) 0%,
    rgba(10, 5, 5, 0.40) 70%,
    transparent 100%
  );
}

.symptom-hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-2xl);
}

.symptom-hero__label {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.symptom-hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.symptom-hero__lead {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.symptom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@media (max-width: 767px) {
  .symptom-hero {
    min-height: 50svh;
  }

  .symptom-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .symptom-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* -------------------------------------------------------------
   症状セクション（テキスト + 画像 の2カラム）
   ------------------------------------------------------------- */
.symptom-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .symptom-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  /* 逆順レイアウト（画像左・テキスト右） */
  .symptom-section__inner--rev .symptom-section__image {
    order: -1;
  }
}

.symptom-section__text p + p {
  margin-top: var(--space-md);
}

.symptom-section__text .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.symptom-section__text .section-label {
  text-align: left;
}

.symptom-section__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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


/* -------------------------------------------------------------
   チェックリスト
   ------------------------------------------------------------- */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
  .check-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.7;
  transition:
    border-color var(--duration-base),
    box-shadow var(--duration-base);
}

.check-list__item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.check-list__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.symptom-check__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}


/* -------------------------------------------------------------
   原因カード（cause-card）
   ------------------------------------------------------------- */
.cause-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .cause-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cause-card {
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

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

.cause-card__num {
  font-family: var(--font-en);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.cause-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cause-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
}


/* -------------------------------------------------------------
   FAQ
   ------------------------------------------------------------- */
.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__q {
  font-size: var(--text-base);
  font-weight: 700;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.faq__q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-top: 1px;
}

.faq__a {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
  padding: 0 var(--space-lg) var(--space-md) calc(var(--space-lg) + 28px + var(--space-sm));
  border-top: 1px solid var(--color-border);
}


/* -------------------------------------------------------------
   SP ユーティリティ
   ------------------------------------------------------------- */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}
