/* ============================================================
   くりさき歯科 歯とお口の健康相談会 LP 専用CSS
   - サイト共通CSSと非干渉にするため全スタイルを .ev-lp 配下にスコープ
   - Figma(fileKey Nh7b5zL3rdDcE0dfqDmkOv) 実数値ベースで実装
   - 原サイトのヘッダーは position:fixed → 各BPで上余白を確保
   - ブレークポイント: PC(>=1280) / TB(769-1279) / SP(<=768)
     PC=横並び(背景写真+左テキスト) / TB・SP=縦積み(上テキスト+下写真全幅)
   ============================================================ */

.ev-lp { color: #534741; -webkit-font-smoothing: antialiased; }
.ev-lp *, .ev-lp *::before, .ev-lp *::after { box-sizing: border-box; }
.ev-lp img { max-width: 100%; height: auto; display: block; }
.ev-lp a { color: inherit; text-decoration: none; }

/* ============================================================
   FV（ファーストビュー）
   ============================================================ */
.ev-fv {
  background: #f9f9f9;
  padding-top: 120px;   /* 固定ヘッダー(115px)分 + Figma開始位置y120 */
  overflow: hidden;
}
.ev-fv__visual {
  position: relative;
  width: 1280px;
  max-width: 100%;
  height: 392px;
  margin: 0 auto;
  background: url("../img/fv-bg.webp") no-repeat center center / cover;
}

/* ---- テキスト（共通） ---- */
.ev-fv__text {
  position: absolute;
  left: 61px;
  top: 70px;
  width: 477px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ev-fv__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 429px;
  height: 74px;
  background: #66b851;
  border-radius: 62px;
  color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: 0.92px;
  text-align: center;
  white-space: nowrap;
}
.ev-fv__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.ev-fv__title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 47px;
  line-height: 1.3;
  color: #534741;
  text-align: center;
  white-space: nowrap;
}
.ev-fv__title-a, .ev-fv__title-b { font-size: inherit; }
.ev-fv__line {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #66b851;
}
.ev-fv__sub {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: #534741;
  text-align: center;
}

/* ---- 写真ブロック（TB/SP用・PCは非表示＝背景に統合） ---- */
.ev-fv__photo { display: none; }

/* ---- バッジ：PC（半ドーム楕円・背景写真の左下） ---- */
.ev-fv__badge--pc {
  position: absolute;
  left: 512px;
  top: 264px;
  width: 256px;
  height: 128px;
  background: url("../img/fv-badge.svg") no-repeat center / 100% 100%;
}
.ev-fv__badge--pc .ev-fv__badge-label {
  position: absolute; left: 0; right: 0; top: 52px;
  font-family: "Noto Serif JP", serif;
  font-size: 22px; line-height: 1.5; letter-spacing: 1.76px; color: #555; text-align: center;
}
.ev-fv__badge--pc .ev-fv__badge-date {
  position: absolute; left: 0; right: 0; top: 84px;
  font-family: "Noto Serif JP", serif; letter-spacing: 1.76px; color: #555; text-align: center;
}
.ev-fv__badge--pc .ev-fv__badge-date strong { font-weight: 400; font-size: 24px; }
.ev-fv__badge--pc .ev-fv__badge-date small  { font-size: 16px; }
/* SP用バッジはPC/TBでは非表示 */
.ev-fv__badge--sp { display: none; }

/* ============================================================
   TB（769〜1279）：縦積み（上テキスト → 下写真全幅／写真にバッジ込み）
   ============================================================ */
@media (max-width: 1279px) {
  .ev-fv { padding-top: 96px; }   /* TB固定ヘッダー分（実機で調整） */
  .ev-fv__visual {
    width: 100%;
    max-width: 768px;
    height: auto;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ev-fv__text {
    position: static;
    left: auto; top: auto;
    width: 100%;
    max-width: 477px;
    margin-top: 14px;
    gap: 8px;
  }
  .ev-fv__pill {
    width: 100%;
    height: 44px;
    font-size: 20px;
    letter-spacing: 0.8px;
  }
  .ev-fv__head { gap: 10px; }
  .ev-fv__title { font-size: 47px; }
  .ev-fv__sub { font-size: 20px; }
  .ev-fv__badge--pc { display: none; }
  .ev-fv__photo {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 29px;
    aspect-ratio: 768 / 344;
    background: url("../img/fv-tb.webp") no-repeat center center / cover;
  }
  /* ピル・サブはTBでは1行 → brを無効化 */
  .ev-br-pill, .ev-br-sub { display: none; }
}

/* ============================================================
   SP（〜767）：縦積み（上テキスト → 下写真全幅＝写真のみ＋正円バッジ）
   ※ 768px は Figma TB のため SP は 767px 以下に限定
   ============================================================ */
@media (max-width: 767px) {
  .ev-fv { padding-top: 64px; }   /* SP固定ヘッダー分（実機で調整） */
  .ev-fv__visual { max-width: 390px; }
  .ev-fv__text {
    max-width: 353px;
    margin-top: 21px;
    gap: 16px;
  }
  .ev-fv__pill {
    width: 330px;
    max-width: 100%;
    height: 55px;
    font-size: 16px;
    letter-spacing: 0.64px;
    line-height: 1.28;
  }
  .ev-fv__head { gap: 14px; }
  .ev-fv__title { font-size: 0; }            /* spanで個別サイズ指定 */
  .ev-fv__title-a { font-size: 33px; }
  .ev-fv__title-b { font-size: 41px; }
  .ev-fv__sub { font-size: 15px; }
  .ev-fv__photo {
    margin-top: 26px;
    aspect-ratio: 390 / 344;
    background: url("../img/fv-sp.webp") no-repeat center center / cover;
  }
  /* ピルはSPでは2行に戻す／サブは1行のまま */
  .ev-br-pill { display: inline; }
  .ev-br-sub  { display: none; }
  /* SP正円バッジ（写真の左下） */
  .ev-fv__badge--sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 8px;
    top: 190px;          /* 写真エリア(y264)基準: 454-264 */
    width: 143px;
    height: 143px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
  }
  .ev-fv__badge--sp .ev-fv__badge-label {
    font-family: "Noto Serif JP", serif;
    font-size: 13px; line-height: 1.5; letter-spacing: 1px; color: #555; text-align: center;
  }
  .ev-fv__badge--sp .ev-fv__badge-date {
    font-family: "Noto Serif JP", serif; letter-spacing: 1px; color: #555; text-align: center; margin-top: 2px;
  }
  .ev-fv__badge--sp .ev-fv__badge-date strong { font-weight: 400; font-size: 20px; }
  .ev-fv__badge--sp .ev-fv__badge-date small  { font-size: 13px; }
}

/* ============================================================
   パンくず（FV と intro の間）  Figma 1444:92 ほか
   ============================================================ */
.ev-breadcrumb-wrap { background: #f9f9f9; }
.ev-breadcrumb {
  max-width: 1446px;          /* 1920 - 237*2 ≒ Figma左端x237 */
  margin: 0 auto;
  padding: 14px 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #555;
  white-space: nowrap;
}
.ev-breadcrumb a { color: #555; }

/* ============================================================
   intro「お口から考える全身の健康と、お子様のお口の発育」 Figma 1444:37 ほか
   PC(>=1280): 左写真 + 右テキスト（背景 #dae0e0）
   ============================================================ */
.ev-intro {
  position: relative;
  background: #dae0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
}
.ev-intro__photo {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 704px;
  background: url("../img/intro-photo-pc.webp") no-repeat center center / cover;
  opacity: 0.6;
}
.ev-intro__text {
  position: relative; z-index: 1;
  width: 657px; max-width: 90%;
  padding: 0 24px;
  text-align: center;
}
.ev-intro__title {
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 40px; line-height: 1.5; letter-spacing: 3.2px;
  color: #534741; text-align: center;
  white-space: nowrap;
}
.ev-intro__lead {
  margin: 22px 0 0;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 20px; line-height: 1.5; letter-spacing: 1.6px;
  color: #534741; text-align: center;
}
.ev-intro__body {
  margin: 20px 0 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 2;
  color: #555; text-align: center;
}

/* ---- intro TB（左写真 + 右テキスト・背景 #f6f7f7・テキスト左寄せ） ---- */
@media (max-width: 1279px) {
  .ev-intro { background: #f6f7f7; min-height: 440px; }
  .ev-intro__photo {
    width: 45%;
    background-image: url("../img/intro-photo-tb.webp");
    background-position: left center;
  }
  .ev-intro__text {
    width: 657px; max-width: 80%;
    text-align: center;
    padding: 0 24px;
  }
  .ev-intro__title { font-size: 33px; letter-spacing: 2.64px; text-align: center; }
  .ev-intro__lead  { font-size: 17px; letter-spacing: 0.68px; text-align: center; }
  .ev-intro__body  { text-align: center; }
}

/* ---- intro SP（写真背面全面 + 白70%パネル + テキスト中央・本文Noto Serif JP） ---- */
@media (max-width: 767px) {
  .ev-intro {
    position: relative;
    display: block;
    background: none;
  }
  .ev-intro__photo {
    position: absolute; inset: 0;
    flex: none;
    width: 100%; height: 100%;
    background-image: url("../img/intro-photo-sp.webp");
    z-index: 0;
  }
  .ev-intro__text {
    position: relative; z-index: 1;
    flex: none;
    width: auto; max-width: none;   /* base657px/TB80%を解除し全幅(margin16px両側=中央) */
    margin: 60px 16px;
    padding: 28px 14px;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
  }
  .ev-intro__title { font-size: 20px; line-height: 1.4; letter-spacing: 0; text-align: center; }
  .ev-intro__lead  { font-size: 16px; line-height: 1.6; letter-spacing: 0; text-align: center; margin-top: 18px; }
  .ev-intro__body  { font-family: "Noto Serif JP", serif; text-align: center; }
}

/* ============================================================
   おすすめ「このような方におすすめです」 Figma 見出し1444:95 / リスト1451:114
   PC(>=1280): Figmaフレーム(Mask group 1451:27)を全面背景に敷き、見出し中央＋
   チェックリストを重ねる（intro「お口から考える〜」と同じ重ね構造）
   ============================================================ */
.ev-osusume {
  position: relative;
  width: 100%;                  /* aspect-ratio+min-heightで幅が逆算され横溢れするのを防止 */
  background: #eef1f2 url("../img/osusume-bg-pc.webp") no-repeat left center;
  background-size: cover;       /* 1920x770 フレーム全面背景・母娘左+淡色右はデザイン込み */
  aspect-ratio: 1920 / 908;     /* 母娘の上下に余白を足した背景(1920x908)・幅追従スケール */
  min-height: 760px;            /* 狭幅でも中央寄せリストが見出しと重ならない下限 */
  overflow: hidden;
}
.ev-osusume__title {
  position: relative; z-index: 1;
  margin: 0; padding-top: 30px;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  color: #534741; text-align: center;
  line-height: 2; letter-spacing: 2px;
}
.ev-osusume__t-l { font-size: 48px; }
.ev-osusume__t-s { font-size: 40px; }
.ev-br-osusume { display: none; }
.ev-osusume__body { position: static; }
.ev-osusume__photo { display: none; }   /* PCは背景フレームに統合 */
.ev-osusume__list {
  list-style: none; margin: 0; padding: 0;
  width: 604px;
  position: absolute; z-index: 1;
  top: 50%; left: 52%;      /* Figma: 緑チェックx1018/バー左端x1000=幅の52%(母娘の右)・縦中央(min-height760で見出し非干渉) */
  transform: translateY(-50%);
}
.ev-osusume__item {
  position: relative;
  min-height: 63px;
  display: flex; align-items: center;
  padding: 6px 16px 6px 77px;
  background: rgba(255, 255, 255, 0.8);
}
.ev-osusume__item + .ev-osusume__item { margin-top: 23px; }
.ev-osusume__item::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  width: 33px; height: 32px;
  background: url("../img/osusume-check.svg") no-repeat center / contain;
}
.ev-osusume__item p {
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 22px; line-height: 1.4; letter-spacing: 1.76px;
  color: #534741; white-space: nowrap;
}

/* ---- おすすめ TB（縦積み: 見出し → 写真全幅(maskgroup) → リスト1列・PC同サイズ604/22px） ---- */
@media (max-width: 1279px) {
  .ev-osusume {
    background: linear-gradient(160deg, #eef2f3 0%, #e4eaec 60%, #dbe2e5 100%);
    aspect-ratio: auto;        /* PCベースの 1920/770 をTB/SPで解除（縦積みは高さコンテンツ依存） */
    min-height: 0;
    padding: 46px 0 56px;
  }
  .ev-osusume__title { position: static; padding-top: 0; margin: 0 0 22px; }
  .ev-osusume__t-l { font-size: 44px; }
  .ev-osusume__t-s { font-size: 37px; }
  .ev-osusume__body {
    display: block; max-width: 768px; min-height: 0;
    margin: 0 auto; padding: 0 16px;
  }
  .ev-osusume__photo {
    display: block;
    position: static; transform: none;
    width: 100%; height: auto; aspect-ratio: 768 / 421;
    background: url("../img/osusume-tb.webp") no-repeat center center / cover;
    margin: 0 auto 32px;
  }
  .ev-osusume__list {
    position: static; transform: none;
    width: 604px; max-width: 100%; margin: 0 auto;
  }
  /* item は PC継承（バー604 / 22px / 字下げ77 / チェック33 / gap23） */
}

/* ---- おすすめ SP（縦積み: 見出し2行 → 写真全幅 → リスト1列・約0.75倍 453→342/17→13px） ---- */
@media (max-width: 767px) {
  .ev-osusume { padding: 34px 0 42px; }
  .ev-osusume__title { margin-bottom: 18px; line-height: 1.7; }
  .ev-osusume__t-l { font-size: 26px; }
  .ev-osusume__t-s { font-size: 22px; }
  .ev-br-osusume { display: inline; }
  .ev-osusume__body { max-width: 360px; padding: 0; }
  .ev-osusume__photo {
    aspect-ratio: 390 / 273;
    background-image: url("../img/osusume-sp.webp");
    background-position: center center;
    margin-bottom: 22px;
  }
  .ev-osusume__list { width: 342px; max-width: 92%; margin: 0 auto; }
  .ev-osusume__item { min-height: 36px; padding: 3px 8px 3px 44px; }
  .ev-osusume__item + .ev-osusume__item { margin-top: 13px; }
  .ev-osusume__item::before { left: 11px; width: 18px; height: 18px; }
  .ev-osusume__item p { font-size: 13px; letter-spacing: 0.3px; line-height: 1.3; }
}

/* ============================================================
   相談会でお話しする内容（2カードセクション）
   PC: 2カラム・各カード「写真→小見出し→本文」/ TB: 2カラム「小見出し→写真→本文」/ SP: 1カラム縦積み
   ============================================================ */
.ev-talk {
  background: #fff;
  padding: 60px 0 72px;
}
.ev-talk__title {
  margin: 0 0 34px;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 36px; line-height: 1.5; letter-spacing: 3px;
  color: #534741; text-align: center;
}
.ev-talk__panel {
  max-width: 1280px; margin: 0 auto;
  background: #f8f8f8;
  padding: 54px 130px 60px;
}
.ev-talk__cards {
  display: flex;
  justify-content: center;
  gap: 120px;
}
.ev-talk__card {
  display: flex; flex-direction: column;
  width: 420px;
}
.ev-talk__photo {
  width: 100%;
  aspect-ratio: 422 / 228;
  background-repeat: no-repeat;
  background-size: cover; background-position: center;
}
.ev-talk__photo--1 { background-image: url("../img/talk-1.webp"); }
.ev-talk__photo--2 { background-image: url("../img/talk-2.webp"); }
.ev-talk__card-title {
  margin: 22px 0 0;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 22px; line-height: 1.5; letter-spacing: 1px;
  color: #534741; text-align: center;
}
.ev-talk__card-body {
  margin: 16px 0 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.95; letter-spacing: 0.3px;
  color: #555;
}

/* ---- 相談会 TB（2カラム・各カード「小見出し→写真→本文」） ---- */
@media (max-width: 1279px) {
  .ev-talk { padding: 50px 0 56px; }
  .ev-talk__title { font-size: 30px; margin-bottom: 28px; }
  .ev-talk__panel { max-width: 768px; margin: 0 auto; padding: 40px 40px 44px; }
  .ev-talk__cards { gap: 40px; }
  .ev-talk__card { width: auto; flex: 1 1 0; }
  .ev-talk__card-title { order: -1; margin: 0 0 16px; font-size: 21px; }
  .ev-talk__card-body { margin-top: 18px; }
}

/* ---- 相談会 SP（1カラム縦積み・各カード「小見出し→写真→本文」） ---- */
@media (max-width: 767px) {
  .ev-talk { padding: 38px 0 44px; }
  .ev-talk__title { font-size: 24px; letter-spacing: 2px; margin-bottom: 22px; }
  .ev-talk__panel { max-width: none; margin: 0 16px; padding: 28px 20px 32px; }
  .ev-talk__cards { flex-direction: column; gap: 38px; }
  .ev-talk__card { width: auto; }
  .ev-talk__card-title { font-size: 20px; margin: 0 0 14px; }
  .ev-talk__card-body { font-size: 14px; line-height: 1.9; margin-top: 16px; }
}

/* ============================================================
   開催概要＋申込（ev-apply）背景 #f9f9f9
   緑リボン → 大見出し → リード4行 → 白パネル(定義テーブル＋CTA) → 注記
   ============================================================ */
.ev-apply {
  background: #f9f9f9;
  padding: 64px 24px 80px;
}
.ev-apply__head { text-align: center; }
/* 緑リボンは斜め(アーチ＋V字)形状のため画像で表示（旧 .ev-apply__ribbon の擬似要素は不使用） */
.ev-apply__ribbon-img { display: block; margin: 0 auto; width: 480px; max-width: 84%; height: auto; }
.ev-apply__ribbon {
  position: relative;
  display: inline-block;
  padding: 16px 44px;
  background: #66b851;
  color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
}
/* リボン両端の折り返し（濃い緑の三角） */
.ev-apply__ribbon::before,
.ev-apply__ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  border-style: solid;
  border-width: 9px 14px 0 14px;
  border-color: #3f8f33 transparent transparent transparent;
}
.ev-apply__ribbon::before { left: 0; }
.ev-apply__ribbon::after  { right: 0; }
.ev-apply__title {
  margin: 26px 0 0;
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 40px; line-height: 1.4; letter-spacing: 3px;
  color: #534741;
}
.ev-apply__lead {
  margin: 22px 0 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 2; letter-spacing: 0.4px;
  color: #555;
}
.ev-apply__panel {
  max-width: 1288px;
  margin: 40px auto 0;
  background: #fff;
  padding: 50px 132px 54px;
}
.ev-apply__table { margin: 0; }
.ev-apply__row {
  display: flex;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}
.ev-apply__row:first-child { border-top: 1px solid #e6e6e6; }
.ev-apply__th {
  flex: 0 0 240px;
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: 16px; line-height: 1.5; letter-spacing: 1px;
  color: #534741; text-align: center;
}
.ev-apply__td {
  flex: 1; margin: 0; padding-left: 24px;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.85; letter-spacing: 0.4px;
  color: #555;
}
.ev-apply__td-gap { display: block; height: 12px; }
.ev-apply__row--cta { align-items: center; }
.ev-apply__btns { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ev-apply__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 64px; border-radius: 8px;
  font-family: "Noto Serif JP", serif; font-weight: 500;
  color: #fff; letter-spacing: 1px;
}
.ev-apply__btn--tel {
  width: 340px; background: #abb3c7; font-size: 26px; letter-spacing: 1.5px;
}
.ev-apply__tel-ico {
  width: 22px; height: 22px; margin-right: 12px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.61z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.61z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ev-apply__btn--web {
  width: 256px; background: #333; font-size: 22px;
}
/* ボタン文字色を確実に白に（.ev-lp a の color:inherit(0,1,1) に勝つ特異度0,2,0） */
.ev-lp .ev-apply__btn--tel,
.ev-lp .ev-apply__btn--web { color: #fff; }
.ev-apply__note {
  margin: 26px 0 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif;
  font-size: 14px; line-height: 1.7; color: #777; text-align: center;
}

/* ---- 申込 TB ---- */
@media (max-width: 1279px) {
  .ev-apply { padding: 52px 24px 64px; }
  .ev-apply__title { font-size: 33px; }
  .ev-apply__panel { max-width: 768px; padding: 40px 44px 44px; }
  .ev-apply__th { flex-basis: 150px; font-size: 15px; }
  .ev-apply__btns { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ev-apply__btn--tel,
  .ev-apply__btn--web { width: 100%; max-width: 400px; height: 58px; }
  .ev-apply__btn--tel { font-size: 23px; }
  .ev-apply__btn--web { font-size: 20px; }
}

/* ---- 申込 SP ---- */
@media (max-width: 767px) {
  .ev-apply { padding: 40px 16px 48px; }
  .ev-apply__ribbon { padding: 12px 22px; font-size: 16px; white-space: normal; max-width: 90%; }
  .ev-apply__title { margin-top: 20px; font-size: 24px; letter-spacing: 1.5px; }
  .ev-apply__lead { font-size: 14px; line-height: 1.95; text-align: left; margin-top: 18px; }
  .ev-apply__panel { margin-top: 28px; padding: 24px 18px 28px; }
  .ev-apply__row { flex-direction: column; padding: 16px 0; }
  .ev-apply__th { flex: none; text-align: center; font-size: 15px; margin-bottom: 8px; }
  .ev-apply__td { padding-left: 0; font-size: 14px; text-align: center; }
  /* 長い値の行は左寄せ（設計準拠：内容/対象/定員/実施医院） */
  .ev-apply__row--left .ev-apply__td { text-align: left; }
  .ev-apply__row--cta { align-items: stretch; }
  .ev-apply__btns { flex-direction: column; gap: 12px; }
  .ev-apply__btn--tel,
  .ev-apply__btn--web { width: 100%; height: 56px; }
  .ev-apply__btn--tel { font-size: 22px; }
  .ev-apply__btn--web { font-size: 19px; }
  .ev-apply__note { text-align: left; font-size: 13px; }
}

/* ============================================================
   未来のために、今整える（ev-future）PC: 左写真 / 右(見出し+本文)
   DOM順: 見出し → 写真 → 本文（SPで 見出し→写真→本文 に自然整列）
   ============================================================ */
.ev-future { background: #fff; padding: 76px 24px; }
.ev-future__inner {
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: 53% 1fr;
  grid-template-areas:
    "photo title"
    "photo body";
  align-content: center;
  column-gap: 64px; row-gap: 18px;
  align-items: start;
}
.ev-future__title {
  grid-area: title; align-self: end;
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 38px; line-height: 1.5; letter-spacing: 2px;
  color: #534741;
}
.ev-future__photo {
  grid-area: photo;
  width: 100%; aspect-ratio: 860 / 535;
  background: url("../img/future-photo.webp") no-repeat center center / cover;
}
.ev-future__body {
  grid-area: body; align-self: start;
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 2.05; letter-spacing: 0.4px;
  color: #555;
}

/* ============================================================
   家族の健康を考えるきっかけを（ev-family）PC: 左(見出し+本文) / 右写真
   ============================================================ */
.ev-family { background: #fff; padding: 76px 24px; }
.ev-family__inner {
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 47%;
  grid-template-areas:
    "title photo"
    "body  photo";
  column-gap: 64px; row-gap: 18px;
  align-items: start;
}
.ev-family__title {
  grid-area: title; align-self: end;
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 38px; line-height: 1.5; letter-spacing: 2px;
  color: #534741;
}
.ev-family__photo {
  grid-area: photo;
  width: 100%; aspect-ratio: 875 / 597;
  background: url("../img/family-photo.webp") no-repeat center center / cover;
}
.ev-family__body {
  grid-area: body; align-self: start;
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 2.05; letter-spacing: 0.4px;
  color: #555;
}

/* ---- future/family TB（縦積み: 見出し → 写真 → 本文・中央寄せ） ---- */
@media (max-width: 1279px) {
  .ev-future, .ev-family { padding: 56px 24px; }
  .ev-future__inner, .ev-family__inner {
    max-width: 768px;
    display: block;
    text-align: left;
  }
  .ev-future__title, .ev-family__title {
    font-size: 30px; margin-bottom: 24px;
  }
  .ev-future__photo, .ev-family__photo {
    aspect-ratio: 768 / 430; margin: 0 0 26px;
  }
  .ev-future__body, .ev-family__body { text-align: left; }
}

/* ---- future/family SP ---- */
@media (max-width: 767px) {
  .ev-future, .ev-family { padding: 40px 16px; }
  .ev-future__title, .ev-family__title {
    font-size: 22px; letter-spacing: 1px; margin-bottom: 18px; line-height: 1.5;
  }
  .ev-future__photo, .ev-family__photo {
    aspect-ratio: 358 / 220; margin-bottom: 20px;
  }
  .ev-future__body, .ev-family__body {
    font-size: 14px; line-height: 1.95;
  }
}

/* ============================================================
   クロージング（ev-closing）写真背景＋白オーバーレイ
   ============================================================ */
.ev-closing {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 618px;
  padding: 40px 24px;
  background: url("../img/closing-bg.webp") no-repeat center center / cover;
}
.ev-closing__overlay {
  width: 100%; max-width: 1400px;
  padding: 56px 40px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}
.ev-closing__title {
  margin: 0;
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 38px; line-height: 1.55; letter-spacing: 3px;
  color: #534741;
}
.ev-closing__body {
  margin: 22px 0 0;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.95; letter-spacing: 0.4px;
  color: #555;
}

/* ---- クロージング TB ---- */
@media (max-width: 1279px) {
  .ev-closing { min-height: 480px; }
  .ev-closing__overlay { max-width: 680px; padding: 44px 32px; }
  .ev-closing__title { font-size: 30px; letter-spacing: 2px; }
}

/* ---- クロージング SP ---- */
@media (max-width: 767px) {
  .ev-closing { min-height: 420px; padding: 32px 16px; }
  .ev-closing__overlay { padding: 32px 18px; background: rgba(255, 255, 255, 0.7); }
  .ev-closing__title { font-size: 21px; letter-spacing: 1px; line-height: 1.6; }
  .ev-closing__body { font-size: 13.5px; line-height: 1.9; margin-top: 16px; text-align: left; }
}
