/**
 * Component: symptoms-section.css
 * Usage: お悩みセクション共通コンポーネント
 * Source: base.css から分割
 *
 * 構成:
 * - .bl_symptomsIntro: イントロセクション
 * - .bl_symptomsSlider: Swiperスライダー
 * - .bl_symptomsSlide: スライドアイテム
 * - .bl_symptomsCatList: カテゴリー別お悩みリスト
 * - .bl_symptomsCatGroup: カテゴリーグループ
 */

/* ================================================
   お悩みセクション（モバイルファースト）
   ================================================ */

/* イントロセクション */
.bl_symptomsIntro {
  margin-bottom: var(--space-xl);
  max-width: var(--max-width-content);
  margin-inline: auto;
}

.bl_symptomsIntro_left {
  margin-bottom: var(--space-sm);
}

.bl_symptomsIntro_label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--color-gold);
}

.bl_symptomsIntro_labelCircle {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-yellow);
}

.bl_symptomsIntro_ttl {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.bl_symptomsIntro_txt {
  font-size: var(--font-base);
  font-feature-settings: 'palt';
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .bl_symptomsIntro_txt {
    font-size: 14px;
  }
}

/* Swiperスライダー */
.bl_symptomsSlider {
  position: relative;
  margin-bottom: 60px;
}

.symptomsSwiper.swiper {
  overflow: visible !important;
}


.bl_symptomsSlide_link {
  display: flex;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
  background: #fff;
  padding: 8px;
  border-radius: 16px;
}

.bl_symptomsSlide_link:hover {
  opacity: 0.85;
}

.bl_symptomsSlide_thumb {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: lightgray;
  box-shadow: 4px 4px 20px 4px rgba(35, 24, 21, 0.05);
  overflow: hidden;
}

.bl_symptomsSlide_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.bl_symptomsSlide_link:hover .bl_symptomsSlide_thumb img {
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .bl_symptomsSlide_thumb{
    max-width: 80px;
  }
}
.bl_symptomsSlide_content {
  padding: 10px 10px 10px 0;
  width: 100%;
}

.bl_symptomsSlide_ttl {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #001E3C;
  padding-bottom: 12px;
  border-bottom: 1px solid #001E3C;
}
@media screen and (max-width: 768px) {
  .bl_symptomsSlide_ttl {
    font-size: 16px;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
}
.bl_symptomsSlide_txt {
  font-size: 14px;
}

.bl_sympltomsSlider_btn__wrapper{
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items:center;
  margin-top :40px;
}
.bl_sympltomsSlider_btn__wrapper .swiper-pagination{
  position: relative;
}
.bl_symptomsSlider_btn {
  z-index: 10;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bl_symptomsSlider_btn:hover {
  opacity: 0.8;
}

.bl_symptomsSlider_btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bl_symptomsSlider_btn .el_arrowBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* カテゴリー別お悩みリスト */
.bl_symptomsCatList {
  display: flex;
  flex-direction: column;
  max-width: var(--max-width-content);
  margin-inline: auto;
}

.bl_symptomsCatGroup {
  padding: var(--space-lg) var(--space-md);
  color: #fff;
  border-top: 1px solid #fff;
}

.bl_symptomsCatGroup_ttl {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
    margin-bottom: 10px;
}
.bl_symptomsCatGroup_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.bl_symptomsCatGroup_item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 8px;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  line-height: 1.2;
  position: relative;
  padding-right: 32px;
  transition: background 0.3s ease;
}
.bl_symptomsCatGroup_item::after{
  content: url('../../img/icons/button_arrow.svg');
  background: #FFFFFF1A;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl_symptomsCatGroup_item:hover {
  background: rgba(255,255,255, 0.2);
}
@media screen and (max-width: 768px) {
  .bl_symptomsCatGroup_item {
    min-height: 42px;
    font-size: 13px;
    letter-spacing: 0;
  }
}
.bl_symptomsCatList_empty {
  padding: var(--space-2xl) var(--space-20);
  text-align: center;
  color: #666;
}

.bl_symptomsCatList_note {
  margin-top: 60px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .bl_symptomsCatList_note {
    font-size: 12px;
    margin-top: 40px;
  }
}

/* ================================================
   SP時アコーディオン
   ================================================ */

/* 表示領域 */
.bl_symptomsCatList_visible {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}


/* 展開時はグラデーション非表示 */
.bl_symptomsCatList.is_open .bl_symptomsCatList_visible::after {
  opacity: 0;
}

/* 非表示領域（SP時） */
.bl_symptomsCatList_hidden {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.bl_symptomsCatList_hidden.is_open {
  display: flex;
}

/* もっと見るボタン */
.bl_symptomsCatList_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-primary);
  font-size: var(--font-base);
  font-weight: 700;
}

.bl_symptomsCatList_toggle_txt {
  color: var(--color-dark);
}

.bl_symptomsCatList_toggle_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #8fc31f;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.bl_symptomsCatList_toggle_icon .el_arrowBtn_icon__pc {
  display: none;
}

/* 展開時：アイコン上向きに回転 */
.bl_symptomsCatList.is_open .bl_symptomsCatList_toggle_icon {
  transform: rotate(-90deg);
}

/* ================================================
   Tablet (768px〜)
   ================================================ */
@media screen and (min-width: 768px) {

  /* アコーディオン無効化 */
  .bl_symptomsCatList_visible,
  .bl_symptomsCatList_hidden {
    display: contents;
  }

  .bl_symptomsCatList_visible::after {
    display: none;
  }

  .bl_symptomsCatList_toggle {
    display: none;
  }

  /* イントロ */
  .bl_symptomsIntro {
    margin-bottom: 60px;
  }

  .bl_symptomsIntro_left {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .bl_symptomsIntro_label {
    margin-bottom: var(--space-sm);
    font-size: var(--font-lg);
  }

  .bl_symptomsIntro_labelCircle {
    width: 8px;
    height: 8px;
  }

  .bl_symptomsIntro_ttl {
    font-size: 48px;
    margin-bottom: 40px;
  }

  .bl_symptomsIntro_right {
    padding-top: 32px;
  }

  /* スライダー */
  .bl_symptomsSlider {
    margin-bottom: 80px;
  }

  .bl_symptomsCatGroup {
    padding: var(--space-xl) var(--space-lg) var(--space-xl) var(--space-2xl);
  }

  .bl_symptomsCatGroup_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .bl_symptomsCatList_note {
    margin-top: 48px;
  }
}

/* ================================================
   PC (1024px〜)
   ================================================ */
@media screen and (min-width: 1024px) {
  .bl_symptomsIntro {
    padding-inline: 40px;
  }

  /* スライダー */
  .bl_symptomsSlider {
    max-width: 1400px;
    margin-inline: auto;
  }

  /* カテゴリー別リスト */
  .bl_symptomsCatList {

  }

  .bl_symptomsCatGroup {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
  }

  .bl_symptomsCatGroup_ttl {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 280px;
  }

  .bl_symptomsCatGroup_list {
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
  }

}
