/* ============================================
   多汗症（症状ページ）固有CSS（/symptoms/hyperhidrosis/）
   --------------------------------------------
   header.php が「科目/症状ページ」表示時に
   assets/css/subject.css の後へ自動読込する固有CSS層。

   ■ 構成
   不眠症ページ（assets/css/symptoms/insomnia.css）をベースに複製。
   セクション構成が同じ（FV / TOC / STORIES / CAUSE / MEDICINE）ため、
   スコープクラスを .subject-lp--hyperhidrosis に付け替えて流用している。
     - body は class="subject-lp subject-lp--hyperhidrosis"
     - subject.css（共通base）→ このファイルの順で読み込まれるため、
       同一詳細度なら後勝ちでここの記述が優先される。

   ■ 不眠症からの差分
     - FV背景は共通base（assets/img/subjects/fv_bg_*.webp）のまま。
       不眠症は心療内科の背景を流用していたが、多汗症は皮膚科系なので上書きしない。
     - FVの症状ピルが3つ（脇汗・手汗・足汗）／不眠症は2つ。ラベルが2文字なので字送りを調整。
     - メインキャッチが「多汗症のオンライン診療」と短いため、フォントサイズを戻している。
     - STORIES下の対面誘導注記（.stories-note）を追加。

   ※ このファイルは assets/css/symptoms/ 配下のため、画像参照は ../../img/... 基準

   TODO(イラスト入稿後): FVの女性画像（fv_woman.webp）は寸法が変わると位置が崩れます。
   .fv-fg-woman / .fv-pc-fg-woman の値をSP・PCの両方で確認・調整すること。
   ============================================ */


/* ============================================
   多汗症 FV 固有スタイル（.subject-lp--hyperhidrosis）
   ============================================ */

/* --------------------------------------------
   症状テキスト（アイコン円 → テキストのみの横ピル）
   - 共通 subject.css の .fv-symptom（75px円）を上書き
   -------------------------------------------- */


.subject-lp--hyperhidrosis .fv-symptom-label {
  font-size: 15px;
  letter-spacing: 2px;
}

.subject-lp--hyperhidrosis .fv-symptoms {
  justify-content: center;
  margin-top: 0;
  margin-bottom: 10px;
}

.subject-lp--hyperhidrosis .fv-symptom {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 4px 16px;
}

@media (min-width: 480px) {
  .subject-lp--hyperhidrosis .fv-symptom {
    padding: 4px 16px;
  }
}

/* PC：症状テキスト（塊の縦位置は親 .fv-pc-symptoms の top で制御） */
.subject-lp--hyperhidrosis .fv-pc-symptoms {
  top: 62px;
}

.subject-lp--hyperhidrosis .fv-pc-symptom {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 4px 16px;
}
.subject-lp--hyperhidrosis .fv-pc-symptom-label{
  font-size: 15px;
  letter-spacing: 2px;
}
/* --------------------------------------------
   女性画像（assets/img/symptoms/hyperhidrosis/fv_woman.webp 用）
   - 共通baseの位置を起点に、新画像のアスペクト比へ合わせてサーバー確認後に微調整する。
   -------------------------------------------- */
.subject-lp--hyperhidrosis .fv-fg-woman {
  left: -1%;
  bottom: -18%;
  width: 74%;
  max-width: 450px;
}

@media (min-width: 480px) {
  .subject-lp--hyperhidrosis .fv-fg-woman {
    left: -45px;
    bottom: -120px;
    width: 77%;
  }
}

/* PC：女性画像 */
.subject-lp--hyperhidrosis .fv-pc-fg-woman {
  left: -2px;
  bottom: -100px;
  width: 310px;
}

/* メインキャッチ */
.subject-lp--hyperhidrosis .fv-pc-title{
  /* 「多汗症のオンライン診療」＝11文字。共通baseの40pxでも1行に収まる。
     サブタイトル（top:160px）と重ならないよう top を104pxに設定。 */
  font-size: 38px;
  top: 104px;
}
.subject-lp--hyperhidrosis .fv-title {
  font-size: 36px;
}
@media (min-width: 480px) {
  .subject-lp--hyperhidrosis .fv-head{
    padding: 20px 16px 0;
  }
  .subject-lp--hyperhidrosis .fv-title {
    font-size: 44px;
  }
}
.subject-lp--hyperhidrosis .fv-pc-subtitle{
  top: 160px;
}


/* --------------------------------------------
   PC：CTAボタン
   -------------------------------------------- */
.subject-lp--hyperhidrosis .fv-foot {
    padding: 0 16px;
}
.subject-lp--hyperhidrosis .fv-pc-cta {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 320px;
  z-index: 3;
}
.subject-lp--hyperhidrosis .fv-note{
  width: 100%;
  z-index: 3;
  font-size: clamp(8px,2.6vw,16px);
  text-align: center;
  padding-top: 10px;
}
.subject-lp--hyperhidrosis .fv-pc-note{
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	z-index: 3;
	padding: 0 16px;
	font-size: 10px;
	margin: 10px auto 0;
	text-align: center;
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .symptoms{
    padding-bottom: 0;
  }
}
/* ============================================
   多汗症 TOC（目次「あなたが知りたいことは？」）
   - PC：2×2グリッド（カード345px・gap10px＝700px） / SP：1カラム
   ============================================ */
.subject-lp--hyperhidrosis .toc {
  padding-top: 0;
}
.subject-lp--hyperhidrosis .toc-title {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.4;
  color: #193255;
  text-align: center;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .toc-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
}

.subject-lp--hyperhidrosis .toc-title-accent {
  color: #00accf;
}

.subject-lp--hyperhidrosis .toc-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* SP：1カラム（全幅） */
.subject-lp--hyperhidrosis .toc-item {
  width: 90%;
}

/* PC：2カラム（345px×2＋gap10px＝700px） */
@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .toc-item {
    width: 345px;
  }
}

.subject-lp--hyperhidrosis .toc-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 8px 12px;
  background: #edf7fc;
  border: 2px solid #bde3f5;
  border-radius: 6px;
  color: #193255;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.subject-lp--hyperhidrosis .toc-link:hover {
  opacity: 0.75;
}

.subject-lp--hyperhidrosis .toc-link-arrow {
  display: block;
  width: 16px;
  height: auto;
}

/* --------------------------------------------
   ページ内アンカーの着地位置（固定ヘッダー分のオフセット）について
   - このサイトは js/common.js のスムーススクロール（a[href^="#"] を JS で処理し
     preventDefault する）でアンカー移動するため、CSS の scroll-padding-top /
     scroll-margin-top は効かない。オフセットは common.js 側で .l-header の高さを
     引いて調整している（全サイト共通）。ここに書いても無効なので注意。
   -------------------------------------------- */


/* ============================================
   多汗症 STORIES（こんな汗のお悩みは〜）
   - カードは共通 subject.css のまま（PCは flex:1 で4等分／SPは縦積み）
   - 4カード下の補足リードのみ追加スタイル
   ============================================ */
.subject-lp--hyperhidrosis .stories-title-accent {
    color: #00accf;
}
.subject-lp--hyperhidrosis .stories-lead {
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .stories-lead {
    max-width: 760px;
    font-size: 16px;
  text-align: center;
  }
  .subject-lp--hyperhidrosis .stories {
    padding-bottom: 30px;
  }
}


/* 対面誘導の注記（ボトックス・ミラドライ・手術／続発性の検査） */
.subject-lp--hyperhidrosis .stories-note {
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
  text-align: left;
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .stories-note {
    max-width: 800px;
    font-size: 13px;
    text-align: center;
  }
}


/* ============================================
   多汗症 CAUSE（多汗症の症状や原因は？）
   - PC：イラスト（左）＋テキスト（右）の2カラム / SP：縦積み
   ============================================ */
.subject-lp--hyperhidrosis .cause-title-accent {
  color: var(--c-accent);
}

.subject-lp--hyperhidrosis .cause-lead {
  text-align: left;            /* SP：左寄せ */
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  margin: 0 0 32px;
}

.subject-lp--hyperhidrosis .cause-subtitle {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--c-text);
  margin: 0 0 24px;
}

.subject-lp--hyperhidrosis .cause-body {
  display: flex;
  flex-direction: column;      /* SP：縦積み（イラスト→テキスト） */
  align-items: center;
  gap: 24px;
}

.subject-lp--hyperhidrosis .cause-img img {
  display: block;
  width: 100%;
  height: auto;
}

.subject-lp--hyperhidrosis .cause-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.subject-lp--hyperhidrosis .cause-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
}

.subject-lp--hyperhidrosis .cause-note {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0;
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .cause-lead {
    text-align: center;        /* PC：中央寄せ */
    font-size: 16px;
  }
  .subject-lp--hyperhidrosis .cause-subtitle {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .subject-lp--hyperhidrosis .cause-body {
    flex-direction: row;       /* PC：イラスト左／テキスト右 */
    align-items: flex-start;   /* イラストとテキストの上端を揃える */
    justify-content: space-between;
    gap: 32px;
  }
  .subject-lp--hyperhidrosis .cause-img {
    flex: 0 0 48%;
    max-width: 48%;
  }
  .subject-lp--hyperhidrosis .cause-text {
    flex: 1;
  }
}


/* ============================================
   多汗症 MEDICINE（オンライン診療で処方できるお薬）
   ============================================ */
.subject-lp--hyperhidrosis .medicine-title-accent {
  color: var(--c-accent);
}

.subject-lp--hyperhidrosis .medicine-lead {
  text-align: left;            /* SP：左寄せ */
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  margin: 0 0 24px;
}

/* テーブル（SPは横スクロール） */
.subject-lp--hyperhidrosis .medicine-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;                 /* スクロールバー分の余白 */
  scrollbar-width: thin;                                  /* Firefox */
  scrollbar-color: #93C5E3 rgba(255, 255, 255, 0.5);     /* 口コミと同色 */
}

/* スクロールバーの装飾（WebKit）— 口コミ .review-list と同じ */
.subject-lp--hyperhidrosis .medicine-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.subject-lp--hyperhidrosis .medicine-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.subject-lp--hyperhidrosis .medicine-table-wrap::-webkit-scrollbar-thumb {
  background: #93C5E3;
  border-radius: 4px;
}
.subject-lp--hyperhidrosis .medicine-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #7BB3D6;
}

.subject-lp--hyperhidrosis .medicine-table {
  width: 100%;
  min-width: 640px;            /* SPで横スクロールさせる幅 */
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  color: var(--c-text);
}

.subject-lp--hyperhidrosis .medicine-table th,
.subject-lp--hyperhidrosis .medicine-table td {
  border: 1px solid #d9e3ea;
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}

.subject-lp--hyperhidrosis .medicine-table thead th {
  background: #eaf1f6;
  font-weight: 700;
  white-space: nowrap;
}

.subject-lp--hyperhidrosis .medicine-table .medicine-name {
  font-weight: 700;
  white-space: nowrap;
}

.subject-lp--hyperhidrosis .medicine-table .medicine-name-reading {
  display: block;
  font-weight: 400;
  font-size: 12px;
  margin-top: 2px;
  /* 一般名が長い（例：グリコピロニウムトシル酸塩水和物）ため、
     .medicine-name の nowrap を打ち消して折り返す。列幅が伸びるのを防ぐ。 */
  white-space: normal;
}

/* 列幅の目安 */
.subject-lp--hyperhidrosis .medicine-th-name { width: 30%; }
.subject-lp--hyperhidrosis .medicine-th-type { width: 24%; white-space: nowrap; }

/* 初診処方不可ボックス */
.subject-lp--hyperhidrosis .medicine-note-box {
  margin-top: 24px;
  padding: 24px 20px;
  background: #f3f5f7;
  border-radius: 12px;
}

.subject-lp--hyperhidrosis .medicine-note-title {
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 12px;
}

.subject-lp--hyperhidrosis .medicine-note-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 8px;
}

.subject-lp--hyperhidrosis .medicine-note-text:last-child {
  margin-bottom: 0;
}

/* CTA（共通 .cta-btn をセンタリング） */
.subject-lp--hyperhidrosis .medicine-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 35px;
}

@media (min-width: 768px) {
  .subject-lp--hyperhidrosis .medicine-lead {
    text-align: center;        /* PC：中央寄せ */
  }
  .subject-lp--hyperhidrosis .medicine-table {
    min-width: 0;              /* PCはコンテナ幅に収める */
  }
  .subject-lp--hyperhidrosis .medicine-table th,
  .subject-lp--hyperhidrosis .medicine-table td {
    padding: 16px 20px;
  }
}


