/* prevention_style.css - prevention.php専用スタイルシート リデザイン版 */
/* 依存ファイル: common.css（共通スタイル） */
/* 呼び出し元: prevention.php */
/* 呼び出し先: なし */
/* ※ 共通スタイルは common.css を参照。ここにはページ固有スタイルのみ記載 */

/* ================================
   CSS変数
   ================================ */
:root {
  --pv-green-dark:   #196519;
  --pv-green-mid:    #2a7d2a;
  --pv-green-light:  #e8f2e8;
  --pv-green-border: #c3dcc3;
  --pv-text-main:    #222;
  --pv-text-sub:     #666;
  --pv-radius:       4px;
}

/* ================================
   セクション見出し
   ================================ */
#long-life {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pv-green-dark);
  border-left: 3px solid var(--pv-green-dark);
  padding-left: 12px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

/* ================================
   タイムラインコンテナ
   ================================ */
.pv-timeline {
  position: relative;
  padding-left: 0;
}

/* 縦の線 */
.pv-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: var(--pv-green-border);
}

/* ================================
   タイムラインアイテム
   ================================ */
.pv-tl-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 20px;
  position: relative;
}

/* 左：ラベル列 */
.pv-tl-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.pv-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pv-green-dark);
  border: 3px solid #fff;
  outline: 1px solid var(--pv-green-dark);
  flex-shrink: 0;
  margin-top: 22px;
}

.pv-tl-tag {
  background: var(--pv-green-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--pv-radius);
  text-align: center;
  white-space: nowrap;
  margin-top: 6px;
}

/* 右：カード */
.pv-tl-card {
  background: #fff;
  border: 1px solid var(--pv-green-border);
  border-radius: var(--pv-radius);
  padding: 20px 24px;
  margin-bottom: 0;
}

.pv-tl-card-title {
  font-size: 0.9rem;
  /* font-weight: 600; */
  /* color: var(--pv-text-sub); */
  /* letter-spacing: 0.12em; */
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pv-green-border);
}

.pv-tl-card p {
  font-size: 0.9rem;
  color: var(--pv-text-main);
  line-height: 1.6;
  margin: 0;
}

/* ================================
   矢印（アイテム間）
   ================================ */
.pv-tl-arrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding-left: 24px;
  height: 24px;
  color: var(--pv-green-mid);
}

.pv-tl-arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--pv-green-mid);
  position: relative;
  z-index: 1;
}

/* ================================
   セルフケア注釈
   ================================ */
.pv-selfcare-note {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--pv-green-light);
  border-left: 3px solid var(--pv-green-dark);
  border-radius: 0 var(--pv-radius) var(--pv-radius) 0;
  margin-bottom: 12px;
}

.pv-selfcare-note h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pv-green-dark);
  margin-bottom: 6px;
}

.pv-selfcare-note p {
  font-size: 0.85rem;
  color: var(--pv-text-sub);
  line-height: 1.6;
  margin: 0;
}

/* ================================
   締めテキスト
   ================================ */
.pv-closing {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.pv-closing p {
  font-size: 0.9rem;
  color: var(--pv-text-sub);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ================================
   ボタン上書き（common.cssの.link_button_subを上書き）
   ================================ */
.pv-btn-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ================================
   レスポンシブ
   ================================ */
@media (max-width: 768px) {

  /* 画像ブロック：スマホでは小さく左寄せ */
  .articleleft_aboutus .aboutus_img {
    width: 120px !important;
    margin-right: 12px !important;
  }

  .articleleft_aboutus .aboutus_img img {
    width: 120px !important;
  }

  .aboutus_runninghead h3 {
    font-size: 0.75rem !important;
  }

  /* タイムライン */
  .pv-timeline::before {
    left: 24px;
  }

  .pv-tl-item {
    grid-template-columns: 52px 1fr;
    gap: 0 12px;
  }

  .pv-tl-tag {
    font-size: 0.65rem;
    padding: 3px 6px;
  }

  .pv-tl-card {
    padding: 16px;
  }

  .pv-tl-arrow {
    padding-left: 16px;
  }
}
