@charset "UTF-8";
/* ==========================================================================
   top.css
   トップページ リニューアル（試作・レスポンシブ）
   読み込み順：reset.css → style.css → consent.css → top.css
   XD「トップページ_リニューアル – 1」（1920px）の数値で組んでいる

   画面幅
   - PC　　　　：900px 以上（1180px 未満は幅 1180px のまま表示し、横スクロールを出す）
   - タブレット：640〜899px（スマホのデザインをもとに組む。ファイルの最後）
   - スマホ　　：639px 以下（XD「トップページ_リニューアル – 1｜スマホ」どおり。ファイルの最後）

   - 基本の指定は「動きなし」で正しく見える形にしてある
   - html.is-anim（JS が動き、視差効果を減らす設定が OFF のとき）だけ、
     画面の固定・円の広がり・登場アニメーションを足す
   ========================================================================== */

:root {
  --ff-poppins: "Poppins", var(--ff-base);
  --c-navy: #17375B;
  --c-blue: #2864B4;

  /* 動きの速さ（イージング） */
  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  --ease-in-out-quart: cubic-bezier(.76, 0, .24, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  /* 画面の高さの 1%（スマホのアドレスバーで高さが変わらないよう、vh ではなく svh・dvh を使う）
     --svh：アドレスバーが出ているときの高さ（変わらない）。MV の高さ・重ねる量など、ページの長さに関わるところ
     --dvh：いま見えている高さ（アドレスバーの出し入れで変わる）。画面に固定して画面いっぱいに見せるところ
     svh・dvh に対応していないブラウザは vh のまま */
  --svh: 1vh;
  --dvh: 1vh;
}

@supports (height: 1svh) {
  :root {
    --svh: 1svh;
    --dvh: 1dvh;
  }
}

/* PC：幅 1180px 未満では、1180px のまま表示して横スクロールを出す */
@media (min-width: 900px) {
  body {
    min-width: 1180px;
  }
}

/* 中身の画像などが右にはみ出しても、ページの幅は広げない（固定・追従の動きはそのまま使える clip） */
.l-main,
.l-footer {
  overflow-x: clip;
}

.u-bold {
  font-weight: 700;
}

/* ==========================================================================
   Header（XDどおり、ページの一番上に置く。スクロールでは追従しない）
   ========================================================================== */
/* ロゴはページの先頭に置いたまま（スクロールで流れる）。メニューの白い枠だけ画面に固定する */
.l-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 30px 50px 0;
}

.l-header__logo {
  position: relative;
  display: block;
  width: 273px;
}

/* ロゴの下の一文（XDでは SeuratProN-DB。Web フォントがないため LINE Seed JP で代用） */
.l-header__tagline {
  position: absolute;
  top: 36.5px;
  left: 171.9px;
  font-size: 13px;
  line-height: 13px;
  color: var(--c-blue);
  white-space: nowrap;
  transform: translateX(-50%);
}

/* メニューの白い枠：画面の右上に固定（XD：高さ 68px、上から 25px、右から 50px）
   幅は決めず、中のメニューとボタンの幅に合わせる（3項目のときは XD と同じ 749px になる） */
.l-header__menu {
  position: fixed;
  top: 25px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 68px;
  padding: 0 5px 0 50px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .16);
}

.c-gnav__list {
  display: flex;
  gap: 29.5px;
}

.c-gnav__link {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 68px;
  color: var(--c-navy);
}

.l-header__btn {
  margin-left: auto; /* 枠の右端にそろえる */
}

/* メニューを開くボタン（1179px 以下だけ表示） */
.l-header__toggle {
  display: none;
}

/* スマホ・タブレット（899px 以下）用の切り替え：u-br-sp（改行する）／u-sp-only（表示する）／u-sp-hidden（隠す） */
.u-br-sp,
.u-sp-only {
  display: none;
}

/* スマホ・タブレット：ロゴの右に置く歯科医院さま向けボタン（899px 以下だけ表示）
   .c-btn-clinic の display より優先させるため、親から指定する */
.l-header > .l-header__btn-sp {
  display: none;
}

/* ==========================================================================
   Component : 歯科クリニックさま向けボタン（ヘッダー・フッター共通）
   ========================================================================== */
.c-btn-clinic {
  position: relative;
  display: block;
  width: 260px;
  height: 58px;
  padding-top: 9.3px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(to right, #F30265, #F3690A);
  border-radius: 29px;
  transition: opacity .3s;
}

@media (hover: hover) {
  .c-btn-clinic:hover {
    opacity: .8;
  }
}

/* ヘッダーのボタンは、途中にオレンジを1色足す（XD：#F30265 → #F35B17（86%）→ #F3690A）
   .c-btn-clinic の色を上書きするため、そのあとに書く */
.l-header__btn {
  background: linear-gradient(to right, #F30265, #F35B17 86.09%, #F3690A);
}

.c-btn-clinic__main {
  display: block;
  font-size: 15px;
  line-height: 20px;
}

.c-btn-clinic__sub {
  display: block;
  margin-top: 1.4px;
  font-size: 14px;
  line-height: 20px;
}

/* 右端の別ページへのアイコン */
.c-btn-clinic::after {
  content: "";
  position: absolute;
  top: 21.5px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: url("../img/icon_external.svg") no-repeat 0 0 / 100% 100%;
}

/* ==========================================================================
   Component : 丸いラベル（チェックのアイコン付き）
   ========================================================================== */
.c-pill {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 10px 0 3px;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  color: #fff;
  white-space: nowrap;
  background: #28B2A8;
  border-radius: 16px;
}

.c-pill::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  background: url("../img/icon_check.svg") no-repeat 0 0 / 100% 100%;
  opacity: .5;
}

.c-pill--blue {
  background: var(--c-blue);
}

.c-pill__small {
  font-size: 14px;
  font-weight: 400;
}

/* ==========================================================================
   Component : 角の丸いボタン（矢印アイコン付き）
   ========================================================================== */
.c-btn-pill {
  display: flex;
  align-items: center;
  width: 371px;
  height: 64px;
  padding-left: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
  white-space: nowrap;
  border-radius: 32px;
}

.c-btn-pill::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background: url("../img/icon_arrow.svg") no-repeat 0 0 / 100% 100%;
}

.c-btn-pill--outline {
  padding-left: 19px;
  border: 1px solid #fff;
}

.c-btn-pill--dark {
  background: #121212;
}

/* ==========================================================================
   慣性スクロール（Lenis）用の指定（lenis.css と同じ内容）
   Lenis が動いているときは、ブラウザ標準のなめらかスクロールを切る
   ========================================================================== */
html.lenis {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ==========================================================================
   MV
   ========================================================================== */
.p-mv {
  position: relative;
  display: flex;
  align-items: center; /* キャッチコピー〜ご利用ガイドのボタンを、画面の上下中央に */
  height: calc(var(--svh) * 100);
  min-height: 840px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(151.15deg, #75C8C2 10.86%, #67B6C0 23%, var(--c-blue) 79.35%);
}

/* キャッチコピー〜ご利用ガイドのボタン：MV（画面の高さ。840px 未満は 840px）の上下中央
   左端は画面の中央から 760px 左（XD：200px）。画面幅 1620px 以下では、画面の左端から 50px で止める */
.p-mv__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: max(50px, calc(50% - 760px));
}

.p-mv__title {
  text-shadow: 0 3px 3px rgba(0, 0, 0, .16);
}

.p-mv__title-sub {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 72px;
}

.p-mv__title-main {
  display: block;
  margin-top: -4.6px;
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
}

/* 2つずつ並べる（幅で折り返す） */
.p-mv__points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  width: 640px;
  margin-top: 40.3px;
}

/* 黄色の文字＋下半分のマーカー */
.p-mv__marker {
  margin: -2px 0 -2px -7px;
  padding: 0 13px 0 7px;
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  color: #F4EE6F;
  white-space: nowrap;
  background: url("../img/mv_marker.svg") no-repeat 0 calc(100% - 2.4px) / 328px 15px;
}

.p-mv__btns {
  margin-top: 50px;
}

/* 「3分でわかる！導入方法について」：MV の左下に置く（XD：画面の左端から 50px、下端から 50px） */
.p-mv__intro {
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 485px;
  height: 64px;
  padding-left: 10px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(to right, #F30265, #F3690A);
  border-radius: 32px;
  box-shadow: 5px 5px 3px rgba(0, 0, 0, .16);
}

.p-mv__intro-time {
  display: flex;
  align-items: center;
  width: 90px;
  height: 44px;
  padding-left: 9px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: rgba(244, 238, 111, .9);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
}

/* ストップウォッチのアイコン */
.p-mv__intro-time::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 30px;
  margin-right: 3px;
  background: url("../img/icon_watch.svg") no-repeat 0 0 / 100% 100%;
  opacity: .8;
}

.p-mv__intro-num {
  font-size: 28px;
}

.p-mv__intro-lead {
  margin-left: 1px;
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
}

.p-mv__intro-text {
  width: 160px;
  margin-left: 9px;
  text-align: center;
}

.p-mv__intro-small {
  display: block;
  font-size: 16px;
  line-height: 24px;
}

.p-mv__intro-main {
  display: block;
  margin-top: 1.5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

/* 導入ガイドの表紙（ボタンの上に少しはみ出す） */
.p-mv__intro::after {
  content: "";
  align-self: flex-start;
  flex-shrink: 0;
  width: 93px;
  height: 68px;
  margin: -12px 0 0 8px;
  background: url("../img/mv_thumb.webp") no-repeat 0 0 / 100% 100%;
}

/* 右の画像：大きさは固定（XD：幅 1183px）。画面の中央から位置を決める（XD：x=737 → 中央から 223px 左）
   狭い画面では右側が画面の外に出て切れる（.p-mv の overflow: hidden） */
.p-mv__img {
  position: absolute;
  top: calc(50% - 325px);
  left: calc(50% - 223px);
  width: 1183px;
  max-width: none;
  height: auto;
}

/* 1920px 以上：XD（幅 1920px）との比率のまま拡大する。右端は画面の右端にそろえる
   幅 1183 ÷ 1920 = 61.615%、中央から上へ 325 ÷ 1920 = 16.927%（margin の % は幅が基準） */
@media (min-width: 1920px) {
  .p-mv__img {
    top: 50%;
    right: 0;
    left: auto;
    width: max(1183px, 61.615%);
    margin-top: min(-325px, -16.927%);
  }
}

/* 円が広がるあいだ、MV を画面に固定する（.p-opening の中だけ固定される） */
.is-anim .p-mv {
  position: sticky;
  top: 0;
}

/* 読み込み時に順にふわっと出す */
.is-anim .p-mv__title,
.is-anim .p-mv__points,
.is-anim .p-mv__btns,
.is-anim .p-mv__intro {
  animation: mv-in 1.4s var(--ease-out-expo) both;
}

.is-anim .p-mv__title { animation-delay: .3s; }
.is-anim .p-mv__points { animation-delay: .5s; }
.is-anim .p-mv__btns { animation-delay: .7s; }
.is-anim .p-mv__intro { animation-delay: .9s; }

.is-anim .p-mv__img {
  animation: mv-img 1.8s var(--ease-out-expo) .2s both;
}

@keyframes mv-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@keyframes mv-img {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   次の歯科検診、いつだったか覚えていますか？
   ========================================================================== */
/* 見出しが1画面目の上下中央に来るように上の余白を取る（ご指示により XD の位置より下げている） */
/* 下の 383px には次の「仕組み」の緑の面が重なる（XD：本文の下から背景の下端まで 488px） */
.p-remind__stage {
  padding: max(120px, calc(var(--svh) * 50 - 26px)) 0 488px;
  color: #fff;
  background: linear-gradient(28.85deg, #75C8C2 10.86%, var(--c-blue) 79.35%);
}

.p-remind__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  text-align: center;
  text-shadow: 0 3px 3px rgba(0, 0, 0, .16);
}

/* 見出しの下の筆のような線 */
.p-remind__title::after {
  content: "";
  display: block;
  width: 760px;
  height: 39px;
  margin: 8.75px auto 0;
  background: url("../img/remind_line.svg") no-repeat 0 0 / 100% 100%;
  opacity: .31;
}

.p-remind__cards {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 80px;
}

.p-remind__item {
  position: relative;
  width: 300px;
}

.p-remind__item--02 {
  width: 320px;
}

/* 床の影 */
.p-remind__item::after {
  content: "";
  position: absolute;
  top: calc(100% + 10px);
  left: calc(50% - 80px);
  width: 160px;
  height: 25px;
  background: radial-gradient(closest-side, #005F67, rgba(0, 95, 103, 0));
  opacity: .46;
}

.p-remind__card {
  height: 188px;
  padding: 30px 30px 0;
  color: #17858E;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 3px rgba(1, 136, 130, .16);
}

.p-remind__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-remind__who {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: .04em;
}

/* 人のアイコン */
.p-remind__who::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  background: url("../img/icon_person.svg") no-repeat 0 0 / 100% 100%;
}

.p-remind__cycle {
  width: 120px;
  padding-left: 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: .04em;
  color: #fff;
  text-align: left;
  background: #26A6B1;
  border-radius: 15px;
}

.p-remind__clinic {
  margin-top: 15.9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: .04em;
  text-align: center;
}

.p-remind__next {
  margin-top: 11.1px;
  font-size: 14px;
  line-height: 34px;
  letter-spacing: .04em;
  text-align: center;
  border-top: 1px solid #26A6B1;
  border-bottom: 1px solid #26A6B1;
}

/* イラスト：カードの右下に立たせる（カードの右端から 10px はみ出し、床の位置にそろえる） */
.p-remind__person {
  position: absolute;
  right: -10px;
  bottom: -50px;
  width: 52px;
}

.p-remind__text {
  margin-top: 122.1px;
  font-size: 18px;
  line-height: 36px;
  letter-spacing: .04em;
  text-align: justify; /* 両端揃え。改行の前の行・最後の行は中央（XD どおり中央に見える） */
  text-align-last: center;
}

/* ---------- 動きあり ---------- */
.is-anim .p-remind {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--svh) * -100); /* MV に重ねて、MV の上で円を広げる */
  /* MV の上に1画面ぶん重なるので、そのままだと MV のボタンが押せなくなる。
     この面自体はクリックを受け取らず、中身（__stage）だけが受け取るようにする。
     __stage は clip-path で切り抜かれており、円が小さいうちは当たり判定も無いので、
     MV のボタンがそのまま押せる */
  pointer-events: none;
}

.is-anim .p-remind__stage {
  pointer-events: auto;
}

/* Cookieの同意バナーが出ているあいだは、MV の「3分でわかる」を持ち上げて重ならないようにする。
   バナーは画面の下に固定、こちらも下端ぞろえなので、そのままだと下の端が隠れる。
   :has() に対応していないブラウザでは持ち上がらないが、隠れるのは下端の十数pxだけ */
body:has(.c-consent.is-shown) .p-mv__intro {
  bottom: 81px;
}

/* 円が広がるあいだだけ画面の上に固定し（高さは JS で調整）、そのあとはふつうにスクロール */
.is-anim .p-remind__stage {
  position: sticky;
  top: 0;
  clip-path: circle(var(--r, 0px) at 50% calc(var(--dvh) * 50)); /* 画面の中央から広がる */
}

/* 円が広がりきったら切り抜きをやめる（JS で is-open を付ける） */
.is-anim .p-remind__stage.is-open {
  clip-path: none;
}

/* 見出しの下の線：左から引かれる */
.is-anim .p-remind__title::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-in-out-quart) .2s;
}

.is-anim .p-remind.is-active .p-remind__title::after {
  clip-path: inset(0);
}

/* カード：縦の軸を中心に 1 回転と 3/4（630°）回って正面を向く。最後はゆっくり止まる */
.is-anim .p-remind__card {
  opacity: 0;
  transform: perspective(1600px) rotateY(-630deg);
  transition:
    opacity .25s linear,
    transform 1.6s cubic-bezier(.22, .61, .36, 1);
}

/* イラストと床の影：カードが回ったあとに出る */
.is-anim .p-remind__person {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s linear, transform .8s var(--ease-out-expo);
}

.is-anim .p-remind__item::after {
  opacity: 0;
  transition: opacity .6s linear;
}

.is-anim .p-remind__text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s linear, transform .8s var(--ease-out-quart);
}

/* 円が広がりきったあと、カードが画面の 75% の位置まで来たら順番に回る */
.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__card {
  opacity: 1;
  transform: perspective(1600px) rotateY(0deg);
}

.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__person {
  opacity: 1;
  transform: none;
}

.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item::after {
  opacity: .46;
}

.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item--01 { --d: 0s; }
.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item--02 { --d: .5s; }
.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item--03 { --d: 1s; }

.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__card {
  transition-delay: var(--d);
}

.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__person,
.is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item::after {
  transition-delay: calc(var(--d) + 1.2s); /* カードが回り終わるころ */
}

.is-anim .p-remind.is-active .p-remind__cards.is-inview + .p-remind__text {
  opacity: 1;
  transform: none;
  transition-delay: 2.6s;
}

/* ==========================================================================
   仕組み・特長（.p-about）
   上の 383px は「次の歯科検診…」に重ねる（下の背景がそのまま見える）
   その下は、青が薄くなりながら白へ → さらに薄いグレー（#ECF2F7）へ
   ========================================================================== */
/* --ov：「次の歯科検診…」に重ねる量（タブレット・スマホでは小さくする） */
.p-about {
  --ov: 383px;
  position: relative;
  z-index: 2;
  margin-top: calc(var(--ov) * -1);
  overflow-x: clip; /* 狭い画面で右にはみ出す画像を切る（横スクロールを出さない） */
  background:
    linear-gradient(rgba(236, 242, 247, 0) calc(var(--ov) + 400px), #ECF2F7 calc(var(--ov) + 600px)),
    linear-gradient(transparent var(--ov), rgba(40, 100, 180, .35) var(--ov), rgba(40, 100, 180, 0) calc(var(--ov) + 600px)),
    linear-gradient(transparent var(--ov), #fff var(--ov));
}

/* ==========================================================================
   歯科検診の時期を「覚えておく」から気づける「仕組み」へ
   ========================================================================== */
/* スマートフォンの画像とその影は、下の特長（カード・写真・文章）より手前に重ねる（XD と同じ重なり順） */
.p-system {
  container-type: inline-size; /* 右の図の吹き出しの位置を、セクションの幅（cqw）から決めるため */
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
}

/* 左の緑の面：画面の左端から。XD：幅 890px、本文の左端 200px */
.p-system__body {
  position: relative;
  flex-shrink: 0;
  width: calc(50% - 70px);
  height: 733px;
  margin-top: 87px; /* 右の図の1つ目のラベルが、緑の面より 87px 上から始まる */
  padding: 91.3px 0 0 max(40px, calc(50% - 760px));
  color: #fff;
  background: #28B2A8;
  border-radius: 0 100px 100px 0;
}

/* 「そんなお悩みを解決!」：緑の面の右上（XD：面の右端から 48.5px、面の上端から 81.5px はみ出す） */
.p-system__badge {
  position: absolute;
  top: -81.5px;
  right: 48.5px;
  width: 171px;
  height: 163px;
  padding-top: 40.4px;
  color: #28B2A8;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-indent: .04em; /* 文字間の分、中心がずれないように */
  background: url("../img/system_badge.svg") no-repeat 0 0 / 100% 100%;
}

.p-system__badge-sub {
  display: block;
  font-size: 16px;
  line-height: 24px;
}

.p-system__badge-main {
  display: block;
  margin-top: 4.8px;
  font-size: 48px;
  line-height: 48px;
}

.p-system__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 48px;
}

.p-system__logo {
  margin-top: 21.7px;
}

.p-system__logo img {
  width: 176px;
}

.p-system__text {
  width: min(540px, 100%);
  margin-top: 26px;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .04em;
  text-align: justify; /* 両端揃え */
}

.p-system__logo + .p-system__text {
  margin-top: 52.9px;
}

.p-system__btn {
  margin-top: 53.1px;
}

/* 右の図：XD の x=916 から */
.p-system__visual {
  position: relative;
  flex-shrink: 0;
  width: 1004px;
  height: 820px; /* 緑の面の下端まで（下の文章・影ははみ出して表示） */
  margin-left: 26px;
}

/* 3つの手順（歯のアイコン・点・白いラベル）。図の一部として位置を決めて置く */
/* 手順の吹き出し：右の図（幅 1004px・大きさ固定）の中で、右端の位置を決める
   XD の位置（図の右端から 707px／439px／143px）を基本に、画面が狭いときは
   画面の右端から 40px 内側に収まるよう左へずらす
   （図の左端 = 50cqw - 44px なので、図の右端から「1000px - 50cqw」以上離せば画面に収まる）
   スマートフォンの画像と重なったときは吹き出しを上にする */
.p-system__flow-item {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
}

.p-system__flow-item--01 { top: 0;     right: max(707px, 1000px - 50cqw); }
.p-system__flow-item--02 { top: 60px;  right: max(439px, 1000px - 50cqw); }
.p-system__flow-item--03 { top: 120px; right: max(143px, 1000px - 50cqw); }

/* 歯のアイコン */
.p-system__flow-item::before {
  content: "";
  width: 50px;
  height: 50px;
  background: url("../img/icon_tooth.svg") no-repeat 0 0 / 50px 50px;
}

/* 歯の中にアイコンを重ねる（QR コード・カレンダー・吹き出し） */
.p-system__flow-item--01::before {
  background:
    url("../img/icon_qr.svg") no-repeat 15px 10px / 20px 20px,
    url("../img/icon_tooth.svg") no-repeat 0 0 / 50px 50px;
}

.p-system__flow-item--02::before {
  background:
    url("../img/icon_calendar_green.svg") no-repeat 15px 10px / 20px 20px,
    url("../img/icon_tooth.svg") no-repeat 0 0 / 50px 50px;
}

.p-system__flow-item--03::before {
  background:
    url("../img/icon_chat.svg") no-repeat 15px 10px / 21px 20px,
    url("../img/icon_tooth.svg") no-repeat 0 0 / 50px 50px;
}

/* 白い点 ×3 */
.p-system__flow-item::after {
  content: "";
  order: 1;
  width: 36px;
  height: 10px;
  margin: 0 5px;
  background: radial-gradient(circle at 5px 5px, #fff 4.6px, transparent 5px) 0 0 / 13px 10px repeat-x;
}

.p-system__flow-label {
  order: 2;
  height: 44px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 42px;
  color: #28B2A8;
  white-space: nowrap;
  background: #fff;
  border-radius: 22px;
}

.p-system__flow-em {
  font-size: 20px;
  line-height: 1;
}

.p-system__shadow {
  position: absolute;
  top: 561.2px;
  left: 287.3px;
  width: 716.7px;
  opacity: .45;
  mix-blend-mode: multiply;
}

/* スマートフォンの画像：4枚を重ねて、XD の1枚の画像（幅 952.4px）と同じ見た目にする */
.p-system__img {
  position: absolute;
  top: 99px;
  left: 29px;
  width: 952.4px;
  height: 826.8px;
}

.p-system__phone {
  position: absolute;
  height: auto;
}

.p-system__phone--base { top: 311.8px; left: 450.6px; width: 501.8px; }
.p-system__phone--lock { top: 100.9px; left: 381.4px; width: 332.6px; }
.p-system__phone--form { top: 41.7px;  left: 212.3px; width: 245.9px; }
.p-system__phone--qr   { top: 10.4px;  left: 11.8px;  width: 218px; }

.p-system__caption {
  position: relative;
  padding: 684.3px 0 0 29px;
  font-size: 28px;
  font-weight: 700;
  line-height: 48px;
  color: #121212;
  text-align: left;
}

/* ---------- 動きあり ----------
   スマートフォンが下から上がる → 3つの画面が順にふわっとフェードイン
   （QR コードの読み取り画面 → 登録画面 → ロック画面）→ 手順のラベルが順に出る → 下の文章 */
.is-anim .p-system__flow-item,
.is-anim .p-system__phone--base,
.is-anim .p-system__shadow,
.is-anim .p-system__caption {
  opacity: 0;
  transition: opacity .8s linear, transform 1.2s var(--ease-out-expo);
}

.is-anim .p-system__flow-item {
  transform: translateY(16px);
}

.is-anim .p-system__phone--base {
  transform: translateY(60px);
}

/* 3つの画面：ぼかしが取れながら、少しだけ浮き上がって、ふわっとフェードイン */
.is-anim .p-system__phone:not(.p-system__phone--base) {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition:
    opacity 1.4s cubic-bezier(.33, 0, .2, 1),
    filter 1.4s cubic-bezier(.33, 0, .2, 1),
    transform 1.8s var(--ease-out-quart);
}

.is-anim .p-system__visual.is-inview .p-system__phone:not(.p-system__phone--base) {
  filter: none;
}

.is-anim .p-system__caption {
  transform: translateY(30px);
}

.is-anim .p-system__visual.is-inview .p-system__flow-item,
.is-anim .p-system__visual.is-inview .p-system__phone,
.is-anim .p-system__visual.is-inview .p-system__caption {
  opacity: 1;
  transform: none;
}

.is-anim .p-system__visual.is-inview .p-system__shadow {
  opacity: .45;
}

.is-anim .p-system__visual.is-inview .p-system__phone--base,
.is-anim .p-system__visual.is-inview .p-system__shadow { transition-delay: .1s; }
.is-anim .p-system__visual.is-inview .p-system__phone--qr { transition-delay: .6s; }
.is-anim .p-system__visual.is-inview .p-system__phone--form { transition-delay: 1s; }
.is-anim .p-system__visual.is-inview .p-system__phone--lock { transition-delay: 1.4s; }
.is-anim .p-system__visual.is-inview .p-system__flow-item--01 { transition-delay: 2.2s; }
.is-anim .p-system__visual.is-inview .p-system__flow-item--02 { transition-delay: 2.45s; }
.is-anim .p-system__visual.is-inview .p-system__flow-item--03 { transition-delay: 2.7s; }
.is-anim .p-system__visual.is-inview .p-system__caption { transition-delay: 2.9s; }


/* ==========================================================================
   特長（3つのカード）
   ========================================================================== */
.p-feature {
  padding: 100px 0;
}

.p-feature__item {
  position: relative;
}

.p-feature__item + .p-feature__item {
  margin-top: 50px;
}

.p-feature__item--01 + .p-feature__item {
  margin-top: 63px;
}

/* 01・03：左が丸く、画面の右端まで（XD：左端 x=200） */
.p-feature__card {
  margin-left: max(40px, calc(50% - 760px));
  padding: 89.3px 0 83.1px 100px;
  background: linear-gradient(to right, #DBE5F2 .7%, #ECF2F7 92%);
  border-radius: 100px 0 0 100px;
}

.p-feature__item--01 .p-feature__card {
  padding-bottom: 100px;
}

/* 02：01・03 と左右逆。右が丸く、画面の左端から（XD：幅 1720px、本文 x=1000〜1620）
   01・03 を左右反転した位置決め：カードの右端は 01・03 の左端と同じ余白、本文（幅 620px）はカードの右端から 100px 内側
   padding-left の 100% はカードの外側（画面）の幅 */
.p-feature__item--02 .p-feature__card {
  margin: 0 max(40px, calc(50% - 760px)) 0 0;
  padding-right: 100px;
  padding-left: calc(100% - max(40px, 50% - 760px) - 720px);
  background: linear-gradient(to right, #ECF2F7, #DBE5F2);
  border-radius: 0 100px 100px 0;
}

.p-feature__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 52px;
  color: var(--c-blue);
}

.p-feature__title-small {
  font-size: 18px;
  line-height: 1;
}

/* 見出しの下の筆のような線（見出しの文字の幅に合わせた長さ） */
.p-feature__title::after {
  content: "";
  display: block;
  height: 20px;
  margin-top: -5.3px;
  background: no-repeat 0 0 / 100% 100%;
}

.p-feature__title--01::after { width: 532px; background-image: url("../img/feature_line_01.svg"); }
.p-feature__title--02::after { width: 438px; background-image: url("../img/feature_line_02.svg"); }
.p-feature__title--03::after { width: 455px; background-image: url("../img/feature_line_03.svg"); }

.p-feature__text {
  width: 620px;
  margin-top: 22.8px;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .04em;
  color: #26384D;
  text-align: justify; /* 両端揃え */
}

.p-feature__text--after {
  margin-top: 17.9px;
}

.p-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 620px;
  margin-top: 33.1px;
}

/* アイコン付きの枠（予約リマインド・複数の医院） */
.p-feature__box {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  width: fit-content;
  height: 65px;
  margin-top: 23.1px;
  padding: 0 8px 0 9px;
  color: var(--c-blue);
  text-align: left;
  border: 1px solid var(--c-blue);
  border-radius: 8px;
}

.p-feature__box::before {
  content: "";
  grid-row: 1 / 3;
  align-self: center;
  margin-right: 10px;
  background: no-repeat 0 0 / 100% 100%;
}

.p-feature__box--calendar::before {
  width: 40px;
  height: 45px;
  margin-left: 1px;
  background-image: url("../img/icon_calendar.svg");
}

.p-feature__box--clinic::before {
  width: 45px;
  height: 45px;
  background-image: url("../img/icon_clinic.svg");
}

.p-feature__box-small {
  display: block;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .04em;
}

.p-feature__box-main {
  display: block;
  margin-top: 1.5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .04em;
}

/* 写真：カードの上端から少しはみ出す（XD の位置。画面の中央から決める）
   狭い画面で文章と重なったときは、写真を下にする（文章が z-index: 2、写真が z-index: 1） */
.p-feature__img {
  position: absolute;
  z-index: 1;
  height: auto;
}

.p-feature__title,
.p-feature__text,
.p-feature__tags,
.p-feature__box {
  position: relative;
  z-index: 2;
}

.p-feature__item--01 .p-feature__img { top: -31px; left: calc(50% + 40px); width: 640px; }
.p-feature__item--02 .p-feature__img { top: -24px; right: calc(50% + 40px); width: 640px; } /* 01・03 と左右逆（画面の中央から右端を決める） */
.p-feature__item--03 .p-feature__img { top: -24px; left: calc(50% + 40px); width: 640px; }

/* ---------- 動きあり：見出しの下の線が左から引かれる ---------- */
.is-anim .p-feature__title::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-in-out-quart) .4s;
}

.is-anim .p-feature__title.is-inview::after {
  clip-path: inset(0);
}

/* ==========================================================================
   Component : スクロールで出てくる（動きありのとき）
   ========================================================================== */
.is-anim .c-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s linear, transform 1.2s var(--ease-out-expo);
}

.is-anim .c-fade.is-inview {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Component : 円が広がって、丸が横に流れるセクション（STEP）
   ========================================================================== */
.c-flow__stage {
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background: var(--c-blue);
}

.c-flow__track {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px 130px;
}

.c-flow__steps {
  display: contents;
}

/* ---------- 円（見出し） ---------- */
.c-flow__head {
  position: relative;
  flex-shrink: 0;
  width: 500px;
  height: 500px;
  padding-top: 205px;
}

.c-flow__head::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 50%;
}

.c-flow__title {
  position: relative;
  text-align: center;
}

.c-flow__title-en {
  display: block;
  font-family: var(--ff-poppins);
  font-size: 44px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: .04em;
}

.c-flow__title-ja {
  display: block;
  margin-top: 27px;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .04em;
}

/* ---------- 円（ステップ） ---------- */
.c-flow__step {
  position: relative;
  flex-shrink: 0;
  width: 500px;
  height: 500px;
  padding-top: 145px;
  color: var(--c-blue);
  text-align: center;
  isolation: isolate; /* 白い円（::before）を文字の下に敷くため */
}

/* 白い円 */
.c-flow__step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: 50%;
}

.c-flow__num {
  font-family: var(--ff-poppins);
  font-size: 18px;
  line-height: 18px;
  letter-spacing: .1em;
  text-align: center;
}

.c-flow__en {
  margin-top: 20px;
  font-family: var(--ff-poppins);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.c-flow__name {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.c-flow__name--wide {
  letter-spacing: .15em;
}

/* 説明文：円の左端から 90px の位置から置く */
.c-flow__text {
  width: 320px;
  margin: 44px 0 0 90px;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}

.c-flow__text--wide {
  width: 345px;
}

.c-flow__text--left {
  font-size: 14px;
  text-align: justify; /* 両端揃え */
}

/* 番号のない円（「学校卒業と同時に…」） */
.c-flow__step--note {
  padding-top: 214.4px;
}

.c-flow__note {
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

/* ---------- 円の右の点（5つ）：見出しの円と、--dots を付けた円のあとに出す ----------
   1枚目：白い輪 ×5（20px 間隔）／2枚目：輪の中を流れる光（動きありのときだけ動かす）
   mask で丸の形に切り抜く */
.c-flow__head::after,
.c-flow__step--dots::after {
  content: "";
  position: absolute;
  top: 245px;
  left: calc(100% + 20px);
  width: 90px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, transparent 3.6px, #fff 4px 4.6px, transparent 5px) 0 0 / 20px 10px repeat-x,
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0)) -60px 0 / 60px 10px no-repeat;
  -webkit-mask: radial-gradient(circle at 5px 5px, #000 4.6px, transparent 5px) 0 0 / 20px 10px repeat-x;
  mask: radial-gradient(circle at 5px 5px, #000 4.6px, transparent 5px) 0 0 / 20px 10px repeat-x;
}

/* ---------- 円のあとに続く文章 ---------- */
.c-flow__lead {
  flex-shrink: 0;
  width: 709px;
  font-size: 18px;
  line-height: 36px;
  letter-spacing: .04em;
  text-align: center;
}

.c-flow__message {
  flex-shrink: 0;
  width: 600px;
  text-align: center;
}

/* 英字の中心は、下の文章の中心より 10px 左（XD どおり） */
.c-flow__message-en {
  margin-right: 20px;
  font-family: var(--ff-poppins);
  font-size: 20px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(255, 255, 255, .6);
  text-align: center;
}

.c-flow__message-en::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 34px auto 0;
  background: rgba(255, 255, 255, .4);
}

.c-flow__message-text {
  margin-top: 18.8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: .04em;
  text-align: center;
}

/* ---------- 動きあり ---------- */
.is-anim .c-flow {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--overlap, var(--svh) * 50) * -1); /* ひとつ前のセクションに重ねて、その上で円を広げる */
  scroll-margin-top: calc(var(--svh) * -100); /* メニューから飛んだときは、円が広がりきった位置に着く */
}

.p-step {
  --overlap: calc(var(--svh) * 25); /* ひとつ前（特長）の下の余白が少ないので、重ねる量を減らす */
}

/* 重ねた部分より下は、特長と同じ薄いグレーにする（円の外が白くならないように） */
.is-anim .p-step {
  background: linear-gradient(transparent var(--overlap), #ECF2F7 var(--overlap));
}

.is-anim .c-flow__stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: calc(var(--dvh) * 100);
  padding: 0;
  overflow: hidden;
  clip-path: circle(var(--r, 0px) at 50% 50%);
}

.is-anim .c-flow__stage.is-open {
  clip-path: none;
}

/* 円どうしの間隔は、点があるところ 130px、ないところ 20px */
.is-anim .c-flow__track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  padding-left: calc(50% - 250px); /* 見出しの円を画面の中央に */
  will-change: transform;
}

.is-anim .c-flow__step {
  margin-left: 130px;
}

.is-anim .c-flow__step--near {
  margin-left: 20px;
}

.is-anim .c-flow__lead {
  margin-left: 64px;
}

/* XD：文章の右端から 350px の位置が中心。上下は中央より 8px 下 */
.is-anim .c-flow__message {
  margin: 16.8px 0 0 50px;
}

/* 見出しの円：文字は最初から表示。白い線の円は、青い円が半分ほど広がったところでフェードイン（JS で is-head） */
.is-anim .c-flow__head::before {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .8s linear, transform 1.2s var(--ease-out-expo);
}

.is-anim .c-flow.is-head .c-flow__head::before {
  opacity: 1;
  transform: none;
}

/* ステップの円：白い円が 0 から開く */
.is-anim .c-flow__step::before {
  transform: scale(0);
  transition: transform .9s var(--ease-in-out-quart);
}

.is-anim .c-flow__step > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s linear, transform .7s var(--ease-out-quart);
}

.is-anim .c-flow__head::after,
.is-anim .c-flow__step--dots::after {
  opacity: 0;
  transition: opacity .3s linear;
}

.is-anim .c-flow.is-active .c-flow__step::before {
  transform: none;
  transition-delay: calc(.15s + var(--n) * .12s);
}

.is-anim .c-flow.is-active .c-flow__step > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(.75s + var(--n) * .12s);
}

.is-anim .c-flow.is-active .c-flow__head::after,
.is-anim .c-flow.is-active .c-flow__step--dots::after {
  opacity: 1;
  transition-delay: calc(.6s + var(--n, 0) * .12s);
  animation: flow-dots 1.5s linear infinite;
}

/* 点の輪の中を、白い光が左から右へ流れる */
@keyframes flow-dots {
  0%   { background-position: 0 0, -60px 0; }
  70%  { background-position: 0 0, 90px 0; }
  100% { background-position: 0 0, 90px 0; }
}

.c-flow__steps .c-flow__step:nth-child(1) { --n: 1; }
.c-flow__steps .c-flow__step:nth-child(2) { --n: 2; }
.c-flow__steps .c-flow__step:nth-child(3) { --n: 3; }
.c-flow__steps .c-flow__step:nth-child(4) { --n: 4; }
.c-flow__steps .c-flow__step:nth-child(5) { --n: 5; }

/* ---------- 最後の円（STEP の「登録完了」）：画面の中央に着いたら完了の動き（JS で is-complete） ----------
   白い円が弾む → 外側に光が3回広がる → 見出しが弾む → 「ご登録は完了」に下線が引かれる
   光：半透明の白で塗った円＋白い光彩（box-shadow）。白い円の後ろにあるので、円の外側だけ見える */
.c-flow__step--complete::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255, 255, 255, .45);
  border-radius: 50%;
  box-shadow: 0 0 30px 12px rgba(255, 255, 255, .35);
  opacity: 0;
  pointer-events: none;
}

.c-flow__mark {
  background: linear-gradient(transparent 62%, rgba(117, 200, 194, .45) 62%) no-repeat 0 0 / 100% 100%;
}

.is-anim .c-flow__mark {
  background-size: 0 100%;
  transition: background-size .8s var(--ease-in-out-quart);
}

.is-anim .c-flow__step--complete.is-complete::before {
  animation: flow-complete-bounce .9s var(--ease-out-quart);
}

.is-anim .c-flow__step--complete.is-complete::after {
  animation: flow-complete-ripple 1.6s cubic-bezier(.22, .61, .36, 1) .25s 3;
}

.is-anim .c-flow__step--complete.is-complete .c-flow__name {
  animation: flow-complete-pop .7s var(--ease-out-quart) .35s;
}

.is-anim .c-flow__step--complete.is-complete .c-flow__mark {
  background-size: 100% 100%;
  transition-delay: .9s;
}

@keyframes flow-complete-bounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.06); }
  65%  { transform: scale(.98); }
  100% { transform: scale(1); }
}

@keyframes flow-complete-ripple {
  0%   { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}

@keyframes flow-complete-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* 円のあとの文章：横に流れて画面の右から入ってきたら、ふわっと出る（JS で is-shown） */
.is-anim .c-flow__lead,
.is-anim .c-flow__message {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s linear, transform 1.4s var(--ease-out-expo);
}

.is-anim .c-flow__lead.is-shown,
.is-anim .c-flow__message.is-shown {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   ご利用開始（ページの最後）
   ========================================================================== */
.p-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(151.15deg, #75C8C2 10.86%, var(--c-blue) 79.35%);
}

/* XD：左端 x=420 */
.p-cta__body {
  position: relative;
  z-index: 1;
  padding: 134.25px 0 0 max(40px, calc(50% - 540px));
}

.p-cta__title {
  text-shadow: 0 3px 3px rgba(0, 0, 0, .16);
}

.p-cta__title-sub {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 72px;
}

.p-cta__title-main {
  display: block;
  margin-top: -4.6px;
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
}

/* 見出しの下の筆のような線 */
.p-cta__title-main::after {
  content: "";
  display: block;
  width: 426.8px;
  height: 25.85px;
  margin-top: -4.66px;
  background: url("../img/cta_line.svg") no-repeat 0 0 / 100% 100%;
}

.p-cta__logo {
  margin-top: 60.15px;
}

.p-cta__logo img {
  width: 293px;
}

/* チェックの一覧・無料のマーク・ボタン（マークの位置の基準） */
.p-cta__action {
  position: relative;
  width: fit-content;
  margin-top: 37.1px;
}

.p-cta__points {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.p-cta__point {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
}

.p-cta__point::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  background: url("../img/icon_check.svg") no-repeat 0 0 / 100% 100%;
  opacity: .8;
}

/* 吹き出しの形の「FREE 無料」（XD：一覧の左端から 356px、上端から 77px） */
.p-cta__badge {
  position: absolute;
  top: 76.9px;
  left: 356px;
  width: 100px;
  height: 100px;
  padding-top: 26.65px;
  color: #28B2A8;
  text-align: center;
  isolation: isolate; /* 吹き出しの形（::before）を文字の下に敷くため */
}

.p-cta__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/cta_badge.svg") no-repeat 0 0 / 100% 100%;
  opacity: .8;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .15));
}

.p-cta__badge-en {
  display: block;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: .1em;
}

.p-cta__badge-ja {
  display: block;
  margin-top: 3.65px;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
}

.p-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56.9px;
}

/* 注意書き：XD では中心が x=1370（画面の中央から 410px 右）。狭い画面では右端から 40px に収める */
/* 注意書き：画面の中央にそろえる（XD：中心 x=960、1行ずつ）。画像より手前に表示 */
.p-cta__notes {
  position: relative;
  z-index: 1;
  margin-top: 90.4px;
  padding: 0 40px 11.6px;
}

.p-cta__note {
  font-size: 12px;
  line-height: 20px;
  text-align: justify; /* 両端揃え。1行ずつなので中央に見える */
  text-align-last: center;
}

.p-cta__note + .p-cta__note {
  margin-top: 8px;
}

/* 利用規約・プライバシーポリシーへのリンク（太字・下線） */
.p-cta__link {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .3s;
}

@media (hover: hover) {
  .p-cta__link:hover {
    opacity: .7;
  }
}

/* 右の画像：右端まで切れていない画像（cta_img.webp）。どの画面幅でも大きさ固定（幅 1191px）
   画面幅 1920px のときに右端がちょうど画面の右端に来る位置（中央から 231px 左）。上端はセクションの上から 80px（XD） */
.p-cta__img {
  position: absolute;
  top: 80px;
  left: calc(50% - 231px);
  width: 1191px;
  max-width: none;
  height: auto;
}

/* ---------- 動きあり ---------- */
.is-anim .p-cta__title-main::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-in-out-quart) .5s;
}

.is-anim .p-cta__title.is-inview .p-cta__title-main::after {
  clip-path: inset(0);
}

/* 無料のマーク：ぽんと弾んで出る */
.is-anim .p-cta__badge {
  opacity: 0;
  transform: scale(.4);
  transition: opacity .3s linear, transform .7s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: .5s;
}

.is-anim .p-cta__badge.is-inview {
  opacity: 1;
  transform: none;
}

.is-anim .p-cta__img {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s linear, transform 1.6s var(--ease-out-expo);
}

.is-anim .p-cta__img.is-inview {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   Footer
   XD：黒い帯（高さ 248px）。中身は幅 1080px（x=420〜1500）を画面の中央に置く
   左：ロゴ・歯科クリニックさま向けボタン　右：メニュー2段（点線で区切る）・コピーライト（右寄せ）
   ========================================================================== */
.l-footer {
  padding: 53px 0 52px;
  color: #fff;
  background: #121212;
  border-top: 1px solid #70C2C1; /* XD：黒い帯の上に 1px の線 */
}

.l-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(1080px, 100% - 100px);
  margin: 0 auto;
}

.l-footer__logo {
  display: block;
  width: 293px;
}

.l-footer__btn {
  margin-top: 25px;
}

.l-footer__nav {
  padding-top: 4.65px;
  text-align: right;
}

.l-footer__menu {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

/* 2段目：上に点線（XD：幅 494px、白の 50%、線 3px・間隔 3px） */
.l-footer__menu--sub {
  gap: 20px;
  margin-top: 17.35px;
  padding-top: 18.65px; /* 点線 1px の下から 17.65px */
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .5) 0 3px, transparent 3px 6px) no-repeat 100% 0 / 494px 1px;
}

.l-footer__link {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  transition: opacity .3s;
}

@media (hover: hover) {
  .l-footer__link:hover {
    opacity: .7;
  }
}

.l-footer__copy {
  margin-top: 33.75px;
  text-align: right;
  font-size: 12px;
  line-height: 20px;
}

.l-footer__copy small {
  font-size: inherit;
}


/* ==========================================================================
   Header：1179px 以下はメニューを開くボタンにする
   900〜1179px は PC のレイアウトを幅 1180px のまま表示する（横スクロール）が、
   画面に固定するメニューの白い枠（幅 749px）はロゴに重なるため、ここからボタンに切り替える
   ========================================================================== */
@media (max-width: 1179px) {

  /* メニューを開くボタン：白い丸。線3本 → 開いたら × */
  .l-header__toggle {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 12;
    display: block;
    width: 60px;
    height: 60px;
    background:
      linear-gradient(var(--c-navy), var(--c-navy)) no-repeat 50% 50% / 24px 2px,
      #fff;
    border-radius: 50%;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .16);
    transition: background-size .3s;
  }

  .l-header__toggle::before,
  .l-header__toggle::after {
    content: "";
    position: absolute;
    left: 18px;
    width: 24px;
    height: 2px;
    background: var(--c-navy);
    transition: transform .3s var(--ease-out-quart);
  }

  .l-header__toggle::before { top: 21px; }
  .l-header__toggle::after { top: 37px; }

  .is-menu-open .l-header__toggle {
    background-size: 0 2px, auto;
  }

  .is-menu-open .l-header__toggle::before { transform: translateY(8px) rotate(45deg); }
  .is-menu-open .l-header__toggle::after { transform: translateY(-8px) rotate(-45deg); }

  /* メニュー：画面いっぱい（MV と同じグラデーション）。ふわっと開く */
  .l-header__menu {
    inset: 0;
    z-index: 11;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    width: auto;
    height: auto;
    padding: 100px 30px;
    overflow-y: auto;
    background: linear-gradient(151.15deg, #75C8C2 10.86%, #67B6C0 23%, var(--c-blue) 79.35%);
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s linear, visibility 0s linear .4s;
  }

  .is-menu-open .l-header__menu {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s linear;
  }

  /* 開いているあいだ、後ろのページはスクロールしない */
  .is-menu-open,
  .is-menu-open body {
    overflow: hidden;
  }

  .c-gnav__list {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .c-gnav__link {
    font-size: 20px;
    line-height: 64px;
    color: #fff;
  }

  .l-header__btn {
    margin: 0;
  }

}

/* ==========================================================================
   Responsive（899px 以下）の土台
   PC の指定を、縦1列の並びに組み替える（この上に、次の「スマホ・タブレット」の指定を重ねる）
   - 組み合わせの図（カード・スマートフォンの画像など）は、PC の形のまま zoom で縮める
   - 動きは PC と同じ（円が広がる・カードの回転・STEP の横流れなど）
   ========================================================================== */
@media (max-width: 899px) {

  /* ---------- Header ---------- */
  .l-header {
    padding: 24px 30px 0;
  }

  .l-header__logo {
    zoom: .8;
  }

  /* ---------- 共通の部品 ---------- */
  .c-pill {
    height: 30px;
    font-size: 15px;
    line-height: 30px;
  }

  .c-pill::before {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }

  .c-btn-pill {
    width: min(371px, 100%);
    height: 58px;
    font-size: 17px;
  }

  /* ---------- MV ---------- */
  .p-mv {
    align-items: flex-start;
    min-height: 860px;
  }

  .p-mv__body {
    padding: 150px 40px 0;
  }

  .p-mv__title-sub {
    font-size: 28px;
    line-height: 48px;
  }

  .p-mv__title-main {
    margin-top: 0;
    font-size: 40px;
    line-height: 56px;
  }

  .p-mv__points {
    gap: 10px;
    width: 100%;
    margin-top: 28px;
  }

  .p-mv__marker {
    font-size: 17px;
    background-size: 280px 13px;
  }

  .p-mv__btns {
    margin-top: 32px;
  }

  /* 画像：下の「3分でわかる」の上に、右へ少しはみ出して置く */
  .p-mv__img {
    top: auto;
    bottom: 110px;
    left: auto;
    right: -12%;
    width: 100%;
    max-width: 760px;
  }

  .p-mv__intro {
    bottom: 30px;
    left: 30px;
    zoom: .9;
  }

  /* ---------- 次の歯科検診… ---------- */
  /* 下の 200px には「仕組み」の緑の面が重なる（.p-about の --ov と同じ） */
  .p-remind__stage {
    padding: max(100px, calc(var(--svh) * 50 - 40px)) 40px calc(200px + 100px);
  }

  .p-remind__title {
    font-size: 28px;
    line-height: 44px;
  }

  .p-remind__title::after {
    width: min(560px, 100%);
    height: 28px;
  }

  .p-remind__cards {
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin-top: 60px;
  }

  .p-remind__item--02 {
    width: 300px;
  }

  .p-remind__text {
    margin-top: 110px;
    font-size: 16px;
    line-height: 32px;
  }

  /* ---------- 仕組み・特長 ---------- */
  .p-about {
    --ov: 200px;
  }

  .p-system {
    flex-direction: column;
    align-items: stretch;
  }

  /* 緑の面：画面の左端から、右側の余白 40px まで */
  .p-system__body {
    width: auto;
    height: auto;
    margin: 0 40px 0 0;
    padding: 70px 50px 70px 40px;
    border-radius: 0 80px 80px 0;
  }

  .p-system__badge {
    top: -100px;
    right: 30px;
    zoom: .85;
  }

  .p-system__title {
    font-size: 26px;
    line-height: 44px;
  }

  .p-system__text {
    width: 100%;
  }

  .p-system__logo + .p-system__text {
    margin-top: 36px;
  }

  .p-system__btn {
    margin-top: 40px;
  }

  /* 右の図：手順の吹き出しは縦に並べ、その下にスマートフォンの画像（PC の形のまま縮める） */
  .p-system__visual {
    display: grid;
    grid-template-columns: max-content;
    justify-content: center;
    justify-items: center;
    width: auto;
    height: auto;
    margin: 60px 40px 0;
  }

  .p-system__flow {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .p-system__flow-item {
    position: relative;
    top: auto;
    right: auto;
  }

  /* スマートフォンの画像と影：同じ場所に重ねる（影は画像の左上から 258.3px・462.2px） */
  .p-system__img,
  .p-system__shadow {
    position: relative;
    top: auto;
    left: auto;
    grid-area: 2 / 1;
    align-self: start;
    zoom: .56;
  }

  .p-system__img {
    margin-top: 40px;
  }

  .p-system__shadow {
    margin: calc(40px + 462.2px) 0 0 258.3px;
    justify-self: start;
  }

  .p-system__img {
    justify-self: start;
  }

  .p-system__caption {
    grid-area: 3 / 1;
    margin-top: -40px;
    padding: 0;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
  }

  /* 特長：写真を上、カードを下に（写真はカードに少し重ねる） */
  .p-feature {
    padding: 100px 0;
  }

  .p-feature__item {
    display: flex;
    flex-direction: column-reverse;
  }

  .p-feature__item + .p-feature__item,
  .p-feature__item--01 + .p-feature__item {
    margin-top: 60px;
  }

  .p-feature__card,
  .p-feature__item--01 .p-feature__card {
    margin: -60px 0 0 40px;
    padding: 90px 40px 60px 50px;
    border-radius: 80px 0 0 80px;
  }

  .p-feature__item--02 .p-feature__card {
    margin: -60px 40px 0 0;
    padding: 90px 50px 60px 40px;
    border-radius: 0 80px 80px 0;
  }

  .p-feature__img,
  .p-feature__item--01 .p-feature__img,
  .p-feature__item--02 .p-feature__img,
  .p-feature__item--03 .p-feature__img {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 3;
    width: min(560px, 80%);
    margin: 0 auto;
  }

  .p-feature__title {
    font-size: 24px;
    line-height: 40px;
  }

  .p-feature__title::after {
    max-width: 100%;
    margin-top: 2px;
  }

  .p-feature__text,
  .p-feature__tags {
    width: 100%;
  }

  .p-feature__box {
    max-width: 100%;
    height: auto;
    min-height: 65px;
    padding-block: 8px;
  }

  /* ---------- STEP：円の大きさ（--c）を画面に合わせて小さくする ---------- */
  .c-flow {
    --c: 420px;
  }

  .c-flow__head,
  .c-flow__step {
    width: var(--c);
    height: var(--c);
  }

  .c-flow__head {
    padding-top: calc(var(--c) * .41);
  }

  .c-flow__step {
    padding-top: calc(var(--c) * .25);
  }

  .c-flow__title-en {
    font-size: 40px;
    line-height: 40px;
  }

  .c-flow__title-ja {
    margin-top: 20px;
    font-size: 22px;
  }

  .c-flow__num {
    font-size: 16px;
    line-height: 16px;
  }

  .c-flow__en {
    margin-top: 14px;
    font-size: 28px;
    line-height: 28px;
  }

  .c-flow__name {
    margin-top: 16px;
    font-size: 21px;
  }

  .c-flow__text {
    width: calc(var(--c) * .66);
    margin: 28px 0 0 calc(var(--c) * .17);
  }

  .c-flow__text--left {
    font-size: 13px;
    line-height: 26px;
  }

  /* 円の右の点：円と円の間（--gap）の真ん中に */
  .c-flow__head::after,
  .c-flow__step--dots::after {
    top: calc(var(--c) / 2 - 5px);
    left: calc(100% + (var(--gap) - 90px) / 2);
  }

  .c-flow {
    --gap: 130px;
  }

  /* 動きなし（円を縦に並べるとき）は、円の右の点を出さない */
  html:not(.is-anim) .c-flow__head::after,
  html:not(.is-anim) .c-flow__step--dots::after {
    display: none;
  }

  .is-anim .c-flow__track {
    padding-left: calc(50% - var(--c) / 2);
  }

  .is-anim .c-flow__step {
    margin-left: var(--gap);
  }

  /* ---------- ご利用開始 ---------- */
  .p-cta {
    display: flex;
    flex-direction: column;
  }

  .p-cta__body {
    padding: 100px 40px 0;
  }

  .p-cta__title-sub {
    font-size: 28px;
    line-height: 48px;
  }

  .p-cta__title-main {
    margin-top: 0;
    font-size: 40px;
    line-height: 56px;
  }

  .p-cta__title-main::after {
    width: min(426.8px, 100%);
    margin-top: 0;
  }

  .p-cta__logo {
    margin-top: 40px;
  }

  .p-cta__logo img {
    width: 240px;
  }

  .p-cta__action {
    width: 100%;
    margin-top: 32px;
  }

  .p-cta__point {
    font-size: 17px;
  }

  /* 無料のマーク：一覧の右上 */
  .p-cta__badge {
    top: -10px;
    right: 0;
    left: auto;
  }

  .p-cta__btns {
    margin-top: 40px;
  }

  /* 画像はボタンの下（右に少しはみ出す）、注意書きはその下 */
  .p-cta__img {
    position: relative;
    top: auto;
    left: auto;
    order: 2;
    width: 110%;
    max-width: none;
    margin: 30px 0 0 5%;
  }

  .p-cta__notes {
    order: 3;
    margin-top: 10px;
    padding: 0 40px 40px;
  }

  /* ---------- Footer：縦に並べて中央に ---------- */
  .l-footer {
    padding: 60px 0;
  }

  .l-footer__inner {
    flex-direction: column;
    align-items: center;
    width: auto;
    margin: 0 40px;
  }

  .l-footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .l-footer__logo {
    width: 240px;
  }

  .l-footer__nav {
    width: 100%;
    margin-top: 50px;
    padding-top: 0;
    text-align: center;
  }

  .l-footer__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 25px;
  }

  .l-footer__menu--sub {
    gap: 12px 20px;
    margin-top: 20px;
    padding-top: 21px;
    background-position: 50% 0;
    background-size: 100% 1px;
  }

  .l-footer__copy {
    margin-top: 40px;
    text-align: center;
  }
}

/* ==========================================================================
   スマホ・タブレット（899px 以下）
   XD「トップページ_リニューアル – 1｜スマホ」（幅 390px）の数値で組む
   タブレット（640〜899px）も同じ組み方。広い画面に合わせる指定は、このあとの「タブレット」で上書きする
   - 余白：画面の左右 20px。カード・緑の面は、片側だけ画面の端まで
   - 背景のグラデーション：XD の2枚の面（上は上が緑・下が青、下の面はその上下反転）を、境目がつながるように 1080px の高さで描く
     （XD のグラデーションの向きは、面の幅・高さ 390×1080px のときの角度に直している）
   - 動きは PC と同じ。「次の歯科検診…」のカード3枚は、画面を固定して縦スクロールで横に流す（JS）
   ========================================================================== */
@media (max-width: 899px) {

  .u-br-sp,
  .u-sp-only {
    display: inline;
  }

  .u-sp-hidden {
    display: none;
  }

  /* ---------- Header ---------- */
  /* ロゴ：PC のロゴ（幅 273px）を 0.553 倍。XD：左から 10px、上から 18px */
  .l-header {
    padding: 18px 0 0 10px;
  }

  .l-header__logo {
    zoom: .553;
  }

  /* 歯科医院さま向けボタン：ロゴの右（XD：上から 8px、メニューのボタンの左 5px） */
  .l-header > .l-header__btn-sp {
    display: grid;
    position: absolute;
    top: 8px;
    right: 67px;
    width: 140px;
  }

  /* メニューを開くボタン：画面の右上の黒い四角（XD：62px 角。白い線 28×3px が 10px 間隔） */
  .l-header__toggle {
    top: 0;
    right: 0;
    width: 62px;
    height: 62px;
    background:
      linear-gradient(#fff, #fff) no-repeat 17px 30px / 28px 3px,
      #121212;
    border-radius: 0;
    box-shadow: none;
  }

  .l-header__toggle::before,
  .l-header__toggle::after {
    left: 17px;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
  }

  .l-header__toggle::before { top: 20px; }
  .l-header__toggle::after { top: 40px; }

  .is-menu-open .l-header__toggle {
    background-size: 0 3px, auto;
  }

  .is-menu-open .l-header__toggle::before { transform: translateY(10px) rotate(45deg); }
  .is-menu-open .l-header__toggle::after { transform: translateY(-10px) rotate(-45deg); }

  .l-header__menu {
    gap: 40px;
    padding: 90px 20px;
  }

  .c-gnav__link {
    font-size: 18px;
    line-height: 58px;
  }

  .l-header__btn {
    width: 180px;
  }

  /* ---------- 歯科医院さま向けボタン（ヘッダー・メニュー・フッター共通） ----------
     XD：角の丸い四角（高さ 46px）。左に別ページへのアイコン、右に2行の文字（まとめて中央に） */
  .c-btn-clinic {
    display: grid;
    grid-template-columns: 10px auto;
    align-content: center;
    justify-content: center;
    column-gap: 6px;
    height: 46px;
    padding: 0;
    font-family: "Hiragino Sans", var(--ff-base);
    font-weight: 500;
    letter-spacing: .04em;
    text-align: left;
    background: linear-gradient(to right, #F30265, #F3690A);
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
  }

  .c-btn-clinic__main,
  .c-btn-clinic__sub {
    grid-column: 2;
    margin: 0;
    line-height: 13px;
  }

  .c-btn-clinic__main {
    font-size: 11.5px;
  }

  .c-btn-clinic__sub {
    font-size: 10px;
  }

  .c-btn-clinic::after {
    position: static;
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: center;
    width: 10px;
    height: 10px;
  }

  /* ---------- 共通の部品 ---------- */
  /* 丸いラベル：XD 高さ 23px・文字 11px・チェック 17px */
  .c-pill {
    height: 23px;
    padding: 0 10px 0 3px;
    font-size: 11px;
    line-height: 23px;
  }

  .c-pill::before {
    width: 17px;
    height: 17px;
    margin-right: 5px;
  }

  .c-btn-pill {
    width: 100%;
    height: 54px;
    padding-left: 19px;
    font-size: 16px;
  }

  .c-btn-pill::before {
    width: 16px;
    height: 16px;
    margin-right: 10px;
  }

  /* ---------- MV ---------- */
  /* XD：左上が緑のグラデーション（高さ 1080px 分） */
  /* 縦に並べる（HTML では「3分でわかる」のあとにある画像を、ボタンの下に出す） */
  .p-mv {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding-bottom: 38px;
    background: linear-gradient(160.52deg, #75C8C2 7.75%, #67B6C0 20%, var(--c-blue) 76.81%) no-repeat 0 0 / 100% 1080px;
  }

  /* 動きありのときは、MV を画面の高さ（svh）以上にする（下の「次の歯科検診…」を MV の上で広げるため） */
  .is-anim .p-mv {
    min-height: calc(var(--svh) * 100);
  }

  /* アドレスバーが隠れて画面が高くなったとき、MV の下にできるすき間も MV と同じ背景にする */
  .is-anim .p-opening {
    background: linear-gradient(160.52deg, #75C8C2 7.75%, #67B6C0 20%, var(--c-blue) 76.81%) no-repeat 0 0 / 100% 1080px var(--c-blue);
  }

  .p-mv__body {
    padding: 86.4px 20px 0;
    text-align: center;
  }

  .p-mv__title-sub {
    font-size: 20px;
    line-height: 44px;
  }

  /* 幅 375px 以下の画面では、1行に収まるよう文字を少し小さくする */
  .p-mv__title-main {
    margin-top: -6px;
    font-size: min(36px, calc((100vw - 40px) / 9.5));
    line-height: 44px;
  }

  .p-mv__points {
    justify-content: center;
    gap: 5px;
    width: auto;
    margin-top: 18.6px;
  }

  /* 黄色の文字＋緑の平行四辺形（XD：幅 323px・高さ 15px、文字の下半分に敷く） */
  .p-mv__marker {
    width: 100%;
    margin: 2.2px 0 1px;
    padding: 0;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    background: url("../img/mv_marker_sp.svg") no-repeat 50% calc(100% - 2px) / 323.286px 15px;
  }

  .p-mv__btns {
    margin-top: 16px;
  }

  .p-mv__btns .c-btn-pill {
    width: 300px;
    height: 52px;
    margin: 0 auto;
    font-size: 14px;
  }

  .p-mv__btns .c-btn-pill::before {
    margin-right: 8px;
  }

  /* 画像：ボタンの下に置く（XD：幅 488px、画面の中央から 229px 左。右は画面の外で切れる） */
  .p-mv__img {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 1;
    align-self: flex-start;
    width: 488px;
    max-width: none;
    margin: 21px 0 0 calc(50% - 229px);
  }

  /* 「3分でわかる！導入方法について」：画像の下。XD：幅は画面の左右 20px まで、高さ 54px、角の丸い四角 */
  .p-mv__intro {
    position: relative;
    bottom: auto;
    left: auto;
    order: 2;
    width: auto;
    height: 54px;
    margin: 9px 20px 0;
    padding-left: 5px;
    background: linear-gradient(to right, #F30265, #F3690A);
    border-radius: 8px;
    box-shadow: 0 5px 3px rgba(0, 0, 0, .16);
    zoom: 1;
  }

  .p-mv__intro-time {
    width: 67px;
    padding-left: 4px;
    font-size: 14px;
    border-color: #fff;
    border-radius: 6px;
  }

  .p-mv__intro-time::before {
    width: 24px;
    height: 25px;
    opacity: 1;
  }

  .p-mv__intro-num {
    font-size: 24px;
  }

  .p-mv__intro-lead {
    margin-left: 5px;
    font-size: 14px;
  }

  .p-mv__intro-text {
    width: 128px;
    margin-left: 0;
  }

  .p-mv__intro-small {
    font-size: 12px;
    line-height: 18px;
  }

  .p-mv__intro-main {
    margin-top: 2px;
    font-size: 16px;
    line-height: 20px;
  }

  /* 画面の下から 20px に固定して追従（JS で is-fixed。固定中は body の直下に移る）
     MV には、ボタンの高さ 54px ＋ 画像との間 9px の余白を残す */
  /* Cookieの同意バナーが出ているあいだは、さらに上へ（バナーは3行で約150px） */
  body:has(.c-consent.is-shown) .p-mv__intro.is-fixed {
    bottom: 171px;
  }

  .p-mv__intro.is-fixed {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 9;
    margin: 0;
  }

  .p-mv.is-intro-fixed {
    padding-bottom: calc(38px + 63px);
  }

  /* 導入ガイドの表紙：ボタンの中の右端（XD：66×44px） */
  .p-mv__intro::after {
    align-self: center;
    width: 66px;
    height: 44px;
    margin: 0 5px 0 auto;
    background-image: url("../img/mv_thumb_sp.webp");
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .16);
  }

  /* ---------- 次の歯科検診… ---------- */
  /* 背景：MV と同じグラデーションの下の部分（下端で「仕組み」の背景とつながる） */
  .p-remind__stage {
    padding: 51.4px 0 0;
    background: linear-gradient(160.52deg, #75C8C2 7.75%, #67B6C0 20%, var(--c-blue) 76.81%) no-repeat 0 100% / 100% 1080px;
  }

  .p-remind__title {
    margin: 0 20px;
    font-size: 20px;
    line-height: 32px;
  }

  .p-remind__title::after {
    width: 276px;
    height: 14px;
    margin-top: -2.4px;
  }

  /* カード：横に1列（1枚目を画面の中央に。イラストのはみ出し 10px を含めて中央） */
  .p-remind__cards {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    margin-top: 30px;
    padding-left: calc(50% - 155px);
  }

  /* 2枚目は PC と同じ幅 320px（「お子さま①」と「3ヶ月ごと」が詰まらないように） */
  .p-remind__item {
    flex-shrink: 0;
  }

  .p-remind__item--02 {
    width: 320px;
  }

  .p-remind__text {
    margin: 69px 20px 0;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0;
    text-align: justify; /* 両端揃え（最後の行は左） */
    text-align-last: auto;
  }

  .p-remind__text br ~ br {
    display: none;
  }

  /* 389px 以下では1行目が収まらないため、改行せずに続けて流す */
  @media (max-width: 389px) {
    .p-remind__text br {
      display: none;
    }
  }

  /* 動きなし：カードは指で横にスクロールする */
  html:not(.is-anim) .p-remind__cards {
    margin-bottom: -70px;
    padding: 0 calc(50% - 155px) 70px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  html:not(.is-anim) .p-remind__item {
    scroll-snap-align: center;
  }

  /* 動きなし：MV と「次の歯科検診…」の背景は外側（.p-opening）に1枚で描く */
  html:not(.is-anim) .p-opening {
    background: linear-gradient(160.52deg, #75C8C2 7.75%, #67B6C0 20%, var(--c-blue) 76.81%) no-repeat 0 100% / 100% 100%;
  }

  html:not(.is-anim) .p-mv,
  html:not(.is-anim) .p-remind__stage {
    background: none;
  }

  /* 動きあり：画面の高さいっぱいにして、中身を上下中央に（固定しているあいだにカードが横に流れる） */
  .is-anim .p-remind__stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(var(--dvh) * 100);
    padding: 40px 0 60px;
  }

  /* 幅はカード3枚分（横に流しても一覧が画面にかかったままになり、is-inview が外れない） */
  .is-anim .p-remind__cards {
    width: max-content;
    will-change: transform;
  }

  /* スマホ・タブレットは回転を 3/4 回転（270°）に抑える。PC は 630° のまま */
  .is-anim .p-remind__card {
    transform: perspective(1600px) rotateY(-270deg);
    transition:
      opacity .25s linear,
      transform 1.2s cubic-bezier(.22, .61, .36, 1);
  }

  /* カードは、横に流れて画面に入ってきたものから回る（JS で is-shown）。PC の順番の遅れはなし */
  .is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item {
    --d: 0s;
  }

  .is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item:not(.is-shown) .p-remind__card {
    opacity: 0;
    transform: perspective(1600px) rotateY(-270deg);
  }

  .is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item:not(.is-shown) .p-remind__person {
    opacity: 0;
    transform: translateY(16px);
  }

  .is-anim .p-remind.is-active .p-remind__cards.is-inview .p-remind__item:not(.is-shown)::after {
    opacity: 0;
  }

  .is-anim .p-remind.is-active .p-remind__cards.is-inview + .p-remind__text {
    transition-delay: 1.4s;
  }

  /* 見出しが画面の中央から上がりきるまで（JS で is-ready が付くまで）、カードと文章は出さない */
  .is-anim .p-remind.is-active:not(.is-ready) .p-remind__cards.is-inview .p-remind__card {
    opacity: 0;
    transform: perspective(1600px) rotateY(-270deg);
    transition-delay: 0s;
  }

  .is-anim .p-remind.is-active:not(.is-ready) .p-remind__cards.is-inview .p-remind__person {
    opacity: 0;
    transform: translateY(16px);
    transition-delay: 0s;
  }

  .is-anim .p-remind.is-active:not(.is-ready) .p-remind__cards.is-inview .p-remind__item::after {
    opacity: 0;
    transition-delay: 0s;
  }

  .is-anim .p-remind.is-active:not(.is-ready) .p-remind__cards.is-inview + .p-remind__text {
    opacity: 0;
    transform: translateY(20px);
    transition-delay: 0s;
  }

  .is-anim .p-remind__title {
    will-change: transform;
  }

  /* ---------- 仕組み ---------- */
  /* 上の「次の歯科検診…」に 1px だけ重ねる（境目に細い隙間が出ないように） */
  .p-about {
    --ov: 1px;
    background: #ECF2F7;
  }

  /* 背景：上はグラデーション（左下が緑）。緑の面の下端から 228px 上で白に切り替わり、
     白から薄いグレー（#ECF2F7）へ。緑の面の下 20px でグレーになる（XD どおり） */
  .p-system {
    flex-direction: column-reverse;
    padding-bottom: 20px;
    background:
      linear-gradient(rgba(236, 242, 247, 0) calc(100% - 247px), #ECF2F7),
      linear-gradient(transparent calc(100% - 248px), #fff calc(100% - 248px)),
      linear-gradient(19.48deg, #75C8C2 7.75%, #67B6C0 20%, var(--c-blue) 76.81%) no-repeat 0 0 / 100% 1080px;
  }

  /* 緑の面：画面の左端から、右側の余白 20px まで。上の図（スマートフォンの画像）が 56px 重なる */
  .p-system__body {
    margin: -56px 20px 0 0;
    padding: 85.4px 20px 40px;
    border-radius: 0 50px 50px 0;
  }

  /* 「そんなお悩みを解決!」：緑の面の左上（XD：面の左端から 19.5px、上端から 48.5px はみ出す） */
  .p-system__badge {
    top: -48.5px;
    right: auto;
    left: 19.5px;
    width: 123px;
    height: 117px;
    padding-top: 31.9px;
    zoom: 1;
  }

  .p-system__badge-sub {
    font-size: 12px;
    line-height: 18px;
  }

  .p-system__badge-main {
    margin-top: 1.9px;
    font-size: 36px;
    line-height: 36px;
  }

  /* XD では1行目が緑の面の余白（右 20px）に少しはみ出す。折り返さない */
  .p-system__title {
    font-size: min(20px, calc((100vw - 40px) / 17));
    line-height: 32px;
    white-space: nowrap;
  }

  /* ロゴ：画面の中央（緑の面の中央より 10px 右。XD どおり） */
  .p-system__logo {
    margin: 30px 0 0 calc(50% - 78px);
  }

  .p-system__text,
  .p-system__logo + .p-system__text {
    margin-top: 28px;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0;
  }

  /* 2つ目の文章：白い線の枠で囲む */
  .p-system__text--box {
    margin-top: 17.5px;
    padding: 7.5px 14px;
    border: 1px solid #fff;
  }

  .p-system__text--box br {
    display: none;
  }

  .p-system__btn,
  .p-system__caption {
    display: none;
  }

  /* 上の図：手順の吹き出し（PC と同じ形を少し小さく）→ スマートフォンの画像（PC の画像を 0.4447 倍） */
  .p-system__visual {
    position: relative;
    z-index: 1;
    justify-content: start;
    justify-items: start;
    margin: 0;
    padding: 55px 0 0 20px;
  }

  .p-system__flow {
    gap: 10px;
  }

  .p-system__flow-item--02 { margin-left: 45px; }
  .p-system__flow-item--03 { margin-left: 91px; }

  .p-system__flow-label {
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 32px;
    border-radius: 16px;
  }

  .p-system__flow-em {
    font-size: 16px;
  }

  /* 出る順番：上から順に（手順の吹き出し3つ → スマートフォン → 3つの画面） */
  .is-anim .p-system__visual.is-inview .p-system__flow-item--01 { transition-delay: .1s; }
  .is-anim .p-system__visual.is-inview .p-system__flow-item--02 { transition-delay: .35s; }
  .is-anim .p-system__visual.is-inview .p-system__flow-item--03 { transition-delay: .6s; }
  .is-anim .p-system__visual.is-inview .p-system__phone--base,
  .is-anim .p-system__visual.is-inview .p-system__shadow { transition-delay: .9s; }
  .is-anim .p-system__visual.is-inview .p-system__phone--qr { transition-delay: 1.4s; }
  .is-anim .p-system__visual.is-inview .p-system__phone--form { transition-delay: 1.8s; }
  .is-anim .p-system__visual.is-inview .p-system__phone--lock { transition-delay: 2.2s; }

  /* zoom をかけた要素の余白は zoom 後の大きさになるので、0.4447 で割った値にする（11px） */
  .p-system__img,
  .p-system__shadow {
    zoom: .4447;
  }

  .p-system__img {
    margin-top: 24.74px;
  }

  /* 影は画像の下端より 70.4px（31px）下まではみ出すが、図の高さには含めない（緑の面に重ねる） */
  .p-system__shadow {
    margin: calc(24.74px + 462.2px) 0 -70.4px 258.3px;
  }

  /* ---------- 特長 ---------- */
  /* 写真はカードの中の上（カードの上端から 30px、左右 20px）。カードを写真の上へ 210px 広げる */
  .p-feature {
    padding: 50px 0 40px;
  }

  .p-feature__item + .p-feature__item,
  .p-feature__item--01 + .p-feature__item {
    margin-top: 50px;
  }

  .p-feature__card,
  .p-feature__item--01 .p-feature__card {
    margin: -210px 0 0 20px;
    padding: 226px 20px 17px;
    border-radius: 50px 0 0 50px;
  }

  .p-feature__item--01 .p-feature__card {
    padding-bottom: 30px;
  }

  .p-feature__item--02 .p-feature__card {
    margin: -210px 20px 0 0;
    padding: 226px 20px 17px;
    border-radius: 0 50px 50px 0;
  }

  .p-feature__img,
  .p-feature__item--01 .p-feature__img,
  .p-feature__item--02 .p-feature__img,
  .p-feature__item--03 .p-feature__img {
    width: calc(100% - 60px);
    height: 180px;
    margin: 0 0 0 40px;
    object-fit: cover;
  }

  .p-feature__item--02 .p-feature__img {
    margin-left: 20px;
  }

  .p-feature__title {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
  }

  .p-feature__title-small {
    font-size: 13px;
  }

  .p-feature__title::after {
    height: 16.56px;
    margin: 4px auto 0;
  }

  /* 下の線：スマホのデザインの線（XD から書き出し） */
  .p-feature__title--01::after { width: 252.3px; background-image: url("../img/feature_line_01_sp.svg"); }
  .p-feature__title--02::after { width: 282.34px; background-image: url("../img/feature_line_02_sp.svg"); }
  .p-feature__title--03::after { width: 302.36px; background-image: url("../img/feature_line_03_sp.svg"); }

  .p-feature__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 28px;
  }

  .p-feature__text--after {
    margin-top: 14.5px;
  }

  /* 情報のラベル：XD の並び（1段目に「登録者区分」まで）。2段に収まるよう、右の余白に 10px まではみ出してよい */
  .p-feature__tags {
    gap: 3px;
    width: auto;
    margin: 13px -10px 0 0;
  }

  .p-feature__tags .c-pill {
    height: 22px;
    padding-right: 7px;
    font-weight: 400;
    line-height: 22px;
  }

  .p-feature__tags .c-pill::before {
    width: 16px;
    height: 16px;
    margin-right: 2px;
  }

  .p-feature__tags .c-pill:nth-child(3),
  .p-feature__tags .c-pill:nth-child(5) {
    order: 1;
  }

  .c-pill__small {
    font-size: 8px;
  }

  /* アイコン付きの枠：カードの中央 */
  .p-feature__box {
    height: 57px;
    min-height: 0;
    margin: 12.5px auto 0;
    padding: 0 10px;
  }

  .p-feature__box--clinic {
    height: 65px;
  }

  .p-feature__box::before {
    margin-right: 5px;
  }

  .p-feature__box--calendar::before {
    width: 32px;
    height: 36px;
    margin-left: 0;
  }

  .p-feature__box--clinic::before {
    width: 36px;
    height: 36px;
  }

  .p-feature__box-small {
    font-size: 12px;
    line-height: 18px;
  }

  .p-feature__box-main {
    margin-top: 0;
    font-size: 16px;
    line-height: 22px;
  }

  /* ---------- STEP ---------- */
  /* 見出しの円：XD 直径 250px。ステップの円は文章が入るよう 330px のまま */
  .c-flow {
    --c: 330px;
    --gap: 110px;
  }

  .c-flow__head {
    width: 250px;
    height: 250px;
    padding-top: 92px;
  }

  .c-flow__step {
    padding-top: calc(var(--c) * .17);
  }

  .c-flow__title-en {
    font-size: 28px;
    line-height: 28px;
  }

  .c-flow__title-ja {
    margin-top: 20px;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .c-flow__num {
    font-size: 14px;
    line-height: 14px;
  }

  .c-flow__en {
    margin-top: 10px;
    font-size: 24px;
    line-height: 24px;
  }

  .c-flow__name {
    margin-top: 12px;
    font-size: 18px;
    line-height: 22px;
  }

  .c-flow__text {
    width: 220px;
    margin: 16px 0 0 55px;
  }

  .c-flow__text--left {
    font-size: 12px;
    line-height: 21px;
  }

  /* 円の右の点（5つ）：円の右 10px から（円と円の間の真ん中） */
  .c-flow__head::after,
  .c-flow__step--dots::after {
    top: calc(50% - 5px);
    left: calc(100% + (var(--gap) - 90px) / 2);
  }

  .is-anim .c-flow__track {
    padding-left: calc(50% - 125px);
  }

  /* ---------- ご利用開始 ---------- */
  /* XD：MV と同じ向きのグラデーション（高さ 1128px） */
  .p-cta {
    background: linear-gradient(161.29deg, #75C8C2 7.68%, var(--c-blue) 76.75%);
  }

  .p-cta__body {
    padding: 72px 20px 0;
    text-align: center;
  }

  .p-cta__title-sub {
    font-size: 20px;
    line-height: 44px;
  }

  .p-cta__title-main {
    margin-top: -6px;
    font-size: 36px;
    line-height: 44px;
  }

  /* 下の線：スマホのデザインの線（XD から書き出し） */
  .p-cta__title-main::after {
    width: 302.78px;
    height: 16px;
    margin: 3px auto 0;
    background-image: url("../img/cta_line_sp.svg");
  }

  .p-cta__logo {
    margin-top: 39px;
    text-align: center;
  }

  .p-cta__logo img {
    width: 226px;
    margin: 0 auto;
  }

  .p-cta__action {
    margin-top: 36.5px;
  }

  .p-cta__points {
    gap: 0;
  }

  .p-cta__point {
    font-size: 14px;
    line-height: 30px;
    text-align: left;
  }

  .p-cta__point::before {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }

  /* 無料のマーク：一覧の右（XD：右端から 20px、一覧の上端から 29px） */
  .p-cta__badge {
    top: 35px;
    right: 0;
    width: 80px;
    height: 80px;
    padding-top: 20px;
    zoom: 1;
  }

  .p-cta__badge-en {
    font-size: 12px;
    line-height: 14px;
  }

  .p-cta__badge-ja {
    margin-top: 2px;
    font-size: 24px;
    line-height: 26px;
  }

  .p-cta__btns {
    gap: 15px;
    margin-top: 34.5px;
  }

  /* 画像：ボタンの下（XD：MV と同じ画像。幅 538px、画面の中央から 254px 左） */
  .p-cta__img {
    width: 542px;
    margin: 30px 0 0 calc(50% - 254px);
  }

  .p-cta__notes {
    margin-top: 15px;
    padding: 0 20px 72px;
  }

  .p-cta__note {
    font-size: 11px;
    line-height: 20px;
    text-align: justify; /* 両端揃え（最後の行は左） */
    text-align-last: auto;
  }

  /* ---------- Footer ----------
     XD：メニュー（2列・線で区切る）→ 歯科医院さま向けボタン → 2段目のメニュー（ボタンの形・2列）→ コピーライト
     HTML の順番（ロゴ・ボタン／メニュー・コピーライト）を、display: contents で1列に並べ替える */
  /* 上の線：左が青、右が緑のグラデーション（XD） */
  .l-footer {
    padding: 0 0 86px;
    border-image: linear-gradient(to right, var(--c-blue), #75C8C2) 1;
  }

  .l-footer__inner {
    align-items: stretch;
    margin: 0;
  }

  .l-footer__info,
  .l-footer__nav,
  .l-footer__nav > nav {
    display: contents;
  }

  .l-footer__logo {
    display: none;
  }

  .l-footer__menu {
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: center;
  }

  .l-footer__menu-item {
    border-bottom: 1px solid #313131;
  }

  .l-footer__menu-item:nth-child(odd) {
    border-right: 1px solid #313131;
  }

  /* 項目が奇数のとき、最後の1つは2列分の幅にする（右の空きマスを作らない） */
  .l-footer__menu-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .l-footer__link {
    font-size: 13px;
    line-height: 50px;
  }

  .l-footer__btn {
    order: 2;
    align-self: center;
    width: 180px;
    margin-top: 25px;
  }

  .l-footer__menu--sub {
    order: 3;
    gap: 10px;
    margin: 25px 20px 0;
    padding: 0;
    background: none;
  }

  .l-footer__menu--sub .l-footer__menu-item {
    border: 0;
  }

  .l-footer__menu--sub .l-footer__link {
    font-size: 12px;
    line-height: 36px;
    background: linear-gradient(#26384D, #171F29);
    border-radius: 6px;
  }

  .l-footer__copy {
    order: 4;
    margin-top: 23px;
    font-size: 10px;
    letter-spacing: .06em;
    color: #818181;
    text-align: center;
  }
}

/* ==========================================================================
   タブレット（640〜899px）
   スマホのデザインのまま、広い画面に合わせて調整する
   - 文章・ボタン・写真などの中身は、幅 560px にそろえて画面の中央に
   - カード・緑の面は、片側を画面の端まで（反対側の余白は 40px）
   - 画像（MV・スマートフォン・最後の画像）は、スマホより大きくする
   ========================================================================== */
@media (min-width: 640px) and (max-width: 899px) {

  /* ---------- MV ---------- */
  /* 画像：幅 680px（スマホと同じく、画面の中央から少し左寄りに置き、右は画面の外で切れる） */
  .p-mv__img {
    width: 680px;
    margin-left: calc(50% - 319px);
  }

  /* 「3分でわかる」ボタン：幅 560px で中央に（固定したときも同じ） */
  .p-mv__intro {
    align-self: center;
    width: 560px;
    margin-right: 0;
    margin-left: 0;
  }

  .p-mv__intro.is-fixed {
    right: auto;
    left: calc(50% - 280px);
  }

  /* ---------- 次の歯科検診… ---------- */
  .p-remind__text {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  /* ---------- 仕組み ---------- */
  /* 図（手順の吹き出し・スマートフォンの画像）は中央に。画像は 0.6 倍 */
  .p-system__visual {
    justify-content: center;
    padding-left: 0;
  }

  .p-system__img,
  .p-system__shadow {
    zoom: .6;
  }

  /* 画像との間 11px（zoom 0.6 で割った値） */
  .p-system__img {
    margin-top: 18.33px;
  }

  .p-system__shadow {
    margin-top: calc(18.33px + 462.2px);
  }

  /* 緑の面：右の余白 40px。中身は幅 560px（左右の余白は同じ。padding の % は画面の幅が基準） */
  .p-system__body {
    margin-right: 40px;
    padding-right: calc((100% - 600px) / 2);
    padding-left: calc((100% - 600px) / 2);
  }

  .p-system__badge {
    left: calc((100% - 560px) / 2 - .5px);
  }

  /* ロゴ：画面の中央（スマホと同じ） */
  .p-system__logo {
    margin-left: calc(50% - 68px);
  }

  /* ---------- 特長 ---------- */
  /* 写真：幅 560px・高さ 305px（スマホと同じ比率）。カードの中央（カードの外の余白 40px を除いた中央）に置く */
  .p-feature__card,
  .p-feature__item--01 .p-feature__card {
    margin: -335px 0 0 40px;
    padding: 351px calc((100% - 600px) / 2) 17px;
  }

  .p-feature__item--01 .p-feature__card {
    padding-bottom: 30px;
  }

  .p-feature__item--02 .p-feature__card {
    margin: -335px 40px 0 0;
    padding: 351px calc((100% - 600px) / 2) 17px;
  }

  .p-feature__img,
  .p-feature__item--01 .p-feature__img,
  .p-feature__item--02 .p-feature__img,
  .p-feature__item--03 .p-feature__img {
    width: 560px;
    height: 305px;
    margin-left: calc(50% - 260px);
  }

  .p-feature__item--02 .p-feature__img {
    margin-left: calc(50% - 300px);
  }

  .p-feature__tags {
    margin-right: 0;
  }

  /* ---------- ご利用開始 ---------- */
  .p-cta__action,
  .p-cta__notes {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .p-cta__notes {
    padding-right: 0;
    padding-left: 0;
  }

  /* 画像：幅 760px（スマホと同じく、画面の中央から少し左寄り） */
  .p-cta__img {
    width: 760px;
    margin-left: calc(50% - 356px);
  }

  /* ---------- Footer ---------- */
  .l-footer__menu--sub {
    width: 560px;
    margin-right: auto;
    margin-left: auto;
  }
}
