/* ==========================================================
   UNIPET LP 2026-07 リデザイン
   参考: 塚原さん共有モック（LINE 2026-07-15）
   ブランドカラー #d48c8c は styles.css と共通
   styles.css の後に読み込み、新セクション + 上書きを担当
   ========================================================== */

:root {
  --rd-brand: #d48c8c;
  --rd-brand-dark: #b56060;
  --rd-brand-deep: #8b2e2e;
  --rd-pink-bg: #fdf3f3;
  --rd-pink-soft: #f9e6e6;
  --rd-ink: #3a2e2e;
  --rd-gray: #7a6a6a;
  --rd-line: #f0dcdc;
  --rd-radius: 16px;
  --rd-shadow: 0 8px 30px rgba(180, 120, 120, 0.12);
}

/* ---------- 共通 ---------- */
.rd-section { padding: 72px 0; }
.rd-section--tint { background: var(--rd-pink-bg); }
/* 見出し：足あとは本文と独立させ、テキストが折り返しても左右に固定する */
.rd-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--rd-ink);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.rd-title__text { flex: 0 1 auto; }
.rd-title .rd-paw {
  flex: 0 0 auto;
  color: var(--rd-brand);
  font-size: 0.7em;
  line-height: 1;
  margin: 0;
}
.rd-title-note { text-align: center; color: var(--rd-gray); font-size: 13px; margin-bottom: 32px; }
@media (max-width: 700px) {
  .rd-title { font-size: 19px; gap: 8px; letter-spacing: 0.01em; }
  .rd-title .rd-paw { font-size: 0.75em; }
  .rd-title-note { font-size: 12px; margin-bottom: 26px; }
}
.rd-accent { color: var(--rd-brand); }

/* ---------- Header 上書き ---------- */
.header .header-inner { gap: 16px; }
.header .logo { flex-shrink: 0; }
.header-actions { flex-shrink: 0; }
.header-cta.btn.btn-primary {
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
}

/* ---------- Hero ---------- */
.rd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 140, 140, 0.07) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 100% 100%, rgba(212, 140, 140, 0.06) 0%, rgba(255,255,255,0) 20%),
    linear-gradient(180deg, #ffffff 0%, #fefbfb 100%);
  padding: 0 0 0;
}
.rd-hero::before,
.rd-hero::after {
  content: "\f1b0"; /* paw */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  color: rgba(212, 140, 140, 0.10);
  pointer-events: none;
}
.rd-hero::before { font-size: 180px; top: -30px; left: -30px; transform: rotate(-20deg); }
.rd-hero::after { font-size: 140px; bottom: -20px; right: 4%; transform: rotate(15deg); }
.rd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 12px;
}
.rd-hero__title {
  /* 左カラム幅に合わせて縮小し、「トリミング・ペットサロンの」を1行に保つ */
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.26;
  font-weight: 900;
  color: #262020;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.rd-hero__title strong {
  color: var(--rd-brand);
  font-size: 1.18em;
}
/* 「トリミングサロン・ペットサロンの」は文字数が多いので、
   主役の「予約システム」より一段小さくして左カラム幅に1行で収める */
.rd-hero__title-lead {
  display: block;
  font-size: 0.82em;
}
/* 「ならUNIPET（ユニペト）」は見出しの一部だが、主役の「予約システム」より控えめに */
.rd-hero__title-tail {
  display: block;
  margin-top: 2px;
  font-size: 0.62em;
  font-weight: 700;
  color: #4a3f3f;
}
.rd-hero__title-tail em {
  font-style: normal;
  color: var(--rd-brand);
}
.rd-hero__laurel-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.laurel-branch {
  width: auto;
  height: 58px;
  flex-shrink: 0;
}
.laurel-branch--l { transform: scaleX(-1) rotate(-6deg); }
.laurel-branch--r { transform: rotate(-6deg); }
.rd-hero__laurel-body { text-align: center; }
.rd-hero__laurel {
  font-weight: 700;
  color: #262020;
  margin-bottom: 2px;
  font-size: 19px;
}
.rd-hero__laurel .rd-laurel-num { color: var(--rd-brand); font-size: 1.6em; font-weight: 900; margin-right: 2px; }
.rd-hero__laurel-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--rd-ink);
}
.rd-hero__buttons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: 8px;
}
.rd-btn--lg {
  padding: 20px 52px;
  font-size: 19px;
  min-width: 340px;
}
.rd-btn__arrow { margin-left: 10px; }
.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rd-btn:hover { transform: translateY(-2px); }
.rd-btn--primary {
  background: var(--rd-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212, 140, 140, 0.45);
}
.rd-btn--primary:hover { background: var(--rd-brand-dark); color: #fff; }
.rd-btn--outline {
  background: #fff;
  color: var(--rd-brand);
  border: 2px solid var(--rd-brand);
}
.rd-btn--outline:hover { background: var(--rd-pink-soft); }
.rd-btn--line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
}
.rd-btn--line:hover { background: #05b34c; color: #fff; }
.rd-btn--line i { font-size: 1.25em; }

/* ヒーロー下端：ゆるやかな波でピンクの帯に切り替え、できることを3点添える */
.rd-hero__foot { position: relative; margin-top: 10px; }
.rd-hero__wave {
  display: block;
  width: 100%;
  height: clamp(34px, 4.4vw, 66px);
  margin-bottom: -1px;
}
.rd-hero__wave path { fill: var(--rd-pink-soft); }
.rd-hero__foot-band { background: var(--rd-pink-soft); padding: 0 0 22px; }
.rd-hero__benefits {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 78px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rd-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rd-hero__benefit-icon {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(212, 140, 140, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-brand);
  font-size: 25px;
}
.rd-hero__benefit-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #a97b7b;
}

/* 左カラム下部：トリマー写真＋予約管理画面＋LINE吹き出し */
.rd-hero__product {
  position: relative;
  margin-top: 16px;
  min-height: 0;
}
.rd-hero__mockup {
  display: block;
  width: 82%;
  max-width: 400px;
  margin-left: -2%;
  filter: drop-shadow(0 14px 26px rgba(100, 60, 60, 0.16));
}

/* 右カラム：導入サロンの様子を、輪郭をぼかして重ね合わせ、
   1枚の大きな風景のように見せる（写真ごとの枠・影は付けない）。
   位置は「コラージュ領域を100%とした割合」で置く */
.rd-hero__visual {
  position: relative;
  min-height: 640px;
  /* コンテナの左右余白(40px)ぶんだけ外に出して、画面右端まで届かせる。
     50vw を使うと2カラムでは行き過ぎ、右側が画面外へ切れてしまう */
  margin-right: -40px;
  padding-right: 0;
}
.rd-hero__collage { position: absolute; inset: 0; }
.rd-hero__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  /* 四辺それぞれのぼかし量。0% ＝ ぼかさず断ち切り。
     --fade-tr は右上コーナーだけを斜めに抜きたいとき用（既定は 0% ＝ 無効） */
  --fade-l: 14%;
  --fade-r: 14%;
  --fade-t: 12%;
  --fade-b: 14%;
  --fade-tr: 0%;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 var(--fade-l)),
    linear-gradient(to left, transparent 0, #000 var(--fade-r)),
    linear-gradient(to bottom, transparent 0, #000 var(--fade-t)),
    linear-gradient(to top, transparent 0, #000 var(--fade-b)),
    linear-gradient(to bottom left, transparent 0, #000 var(--fade-tr));
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 var(--fade-l)),
    linear-gradient(to left, transparent 0, #000 var(--fade-r)),
    linear-gradient(to bottom, transparent 0, #000 var(--fade-t)),
    linear-gradient(to top, transparent 0, #000 var(--fade-b)),
    linear-gradient(to bottom left, transparent 0, #000 var(--fade-tr));
  mask-composite: intersect;
}
.rd-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 白いプードルを抱えるトリマー（左上・いちばん手前）。
   写真そのものの比率（3:2）に近い枠にして、切り取らず引きで見せる */
.rd-hero__shot--a {
  --fade-l: 22%; --fade-r: 11%; --fade-t: 0%; --fade-b: 12%;
  left: 0; top: 0; width: 52%; height: 46%;
  z-index: 5;
}
/* 緑の壁のサロン（上・中央） */
.rd-hero__shot--b {
  --fade-l: 12%; --fade-r: 10%; --fade-t: 0%; --fade-b: 10%;
  left: 41%; top: 0; width: 41%; height: 52%;
  z-index: 3;
}
/* 右のピースと同じ場所が写らないよう、手前のトリマー側を見せる */
.rd-hero__shot--b img { object-position: 30% center; }
/* 同じサロンの窓際（右上・寄りで切り取って奥行きを出す） */
.rd-hero__shot--e {
  --fade-l: 14%; --fade-r: 0%; --fade-t: 0%; --fade-b: 12%;
  left: 71%; top: 0; width: 29%; height: 50%;
  z-index: 2;
}
.rd-hero__shot--e img {
  object-position: right center;
  transform: scale(1.5);
  transform-origin: right center;
}
/* ピンク髪のトリマー（中央・左寄り） */
.rd-hero__shot--c {
  --fade-l: 14%; --fade-r: 12%; --fade-t: 11%; --fade-b: 13%;
  left: 11%; top: 30%; width: 57%; height: 44%;
  z-index: 6;
}
.rd-hero__shot--c img { object-position: 62% 32%; }
/* ブラックプードルを仕上げるトリマー（右下・大きく・やや右寄せ） */
/* 左辺は隣の2枚（c・g）の「ぼかしきる前の不透明な部分」が必ず上に重なる位置なので、
   ぼかさず断ち切る。両側をぼかすと重ねても不透明にならず背景が透ける */
.rd-hero__shot--d {
  --fade-l: 0%; --fade-r: 0%; --fade-t: 10%; --fade-b: 7%;
  left: 58%; top: 36%; width: 46%; height: 64%;
  z-index: 5;
}
/* 切り取りを左寄りにして、トリマー本人を枠の右側に立たせる */
.rd-hero__shot--d img { object-position: 65% 38%; }
/* トイプードルをカットするトリマー（左下）。縦長写真なので枠を大きめにとり、
   切り取りを下寄せにして被写体の頭上に写り込む壁の余白を落とす。
   いちばん手前に置き、右上は大きくぼかして隣の写真へ溶け込ませる */
.rd-hero__shot--f {
  --fade-l: 16%; --fade-r: 26%; --fade-t: 8%; --fade-b: 8%; --fade-tr: 34%;
  left: 0; top: 40%; width: 38%; height: 60%;
  z-index: 7;
}
/* 下端を基準に少し拡大して、被写体の頭上に写り込む壁を枠の外へ追い出す */
.rd-hero__shot--f img {
  object-position: center bottom;
  transform: scale(1.05);
  transform-origin: center bottom;
}
/* フレンチブルドッグと向き合うトリマー（下・中央）。
   縦長写真なので枠も縦長に寄せ、寄りすぎず全身が入るようにする */
.rd-hero__shot--g {
  --fade-l: 12%; --fade-r: 12%; --fade-t: 12%; --fade-b: 8%;
  left: 28%; top: 52%; width: 39%; height: 48%;
  z-index: 8;
}
/* 顔が切れないよう、上寄りで切り取る */
.rd-hero__shot--g img { object-position: center 30%; }
.rd-hero__circle {
  position: absolute;
  top: -104px;
  left: 68%;
  width: 210px;
  height: 210px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 34px rgba(180, 120, 120, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  padding: 14px 18px 34px;
  z-index: 6;
}
.rd-hero__circle .c-top { font-size: 14px; font-weight: 700; color: #262020; }
.rd-hero__circle .c-zero { font-size: 70px; font-weight: 900; color: var(--rd-brand); line-height: 1; }
.rd-hero__circle .c-zero small { font-size: 28px; font-weight: 900; margin-left: 2px; }
.rd-hero__circle .c-bottom { font-size: 13px; font-weight: 700; color: #262020; }
.rd-hero__circle .c-ribbon {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: var(--rd-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  white-space: nowrap;
  z-index: 2;
}
.rd-hero__circle .c-ribbon::before,
.rd-hero__circle .c-ribbon::after {
  content: "";
  position: absolute;
  top: 4px;
  border: 15px solid var(--rd-brand-dark);
  z-index: -1;
}
.rd-hero__circle .c-ribbon::before { left: -18px; border-left-color: transparent; }
.rd-hero__circle .c-ribbon::after { right: -18px; border-right-color: transparent; }
/* LINEトーク風の吹き出し（LINEグリーン・左下にしっぽ） */
.rd-hero__line-bubble {
  position: absolute;
  right: -2%;
  bottom: 42px;
  background: #06c755;
  border-radius: 26px 26px 26px 6px;
  padding: 16px 22px 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.28);
  z-index: 5;
}
.rd-hero__line-bubble i {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
}
/* しっぽ：左下から尖って出る三角 */
.rd-hero__line-bubble::before {
  content: "";
  position: absolute;
  left: -11px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 18px 14px;
  border-color: transparent transparent #06c755 transparent;
  border-bottom-left-radius: 3px;
}

/* 2カラムのままでは横幅が足りず、コラージュがテキストに食い込むうえ
   0円サークル・LINE吹き出しが写真に埋もれるため、タブレット幅までは縦積みにする */
@media (max-width: 1240px) {
  .rd-hero { padding: 6px 0 0; }
  /* styles.css の .container-fluid{padding:0}（768px以下・旧ヒーロー用）で
     見出しが画面端に張り付くため、ヒーローだけ左右の余白を戻す */
  .rd-hero .container-fluid { padding: 0 20px; }
  .rd-hero__grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  /* テキストは中央揃えで統一し、行間・余白を詰める */
  .rd-hero__left { text-align: center; }
  .rd-hero__title {
    font-size: 27px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  /* 3行が同じ行間で続くよう、強調行だけ背が高くならないようにする。
     title-wrap をブロックにすると <br> が余分な空行になるので消す */
  .rd-hero__title strong { font-size: 1.1em; line-height: 1.3; }
  .rd-hero__title br { display: none; }
  /* 狭い画面では「トリミング／ペットサロンの」で意味の切れ目に改行する */
  .rd-hero__title-wrap { display: block; }
  .rd-hero__laurel { font-size: 16px; }
  .rd-hero__laurel .rd-laurel-num { font-size: 1.5em; }
  .rd-hero__laurel-sub { font-size: 11px; }
  .laurel-branch { width: auto; height: 46px; }
  /* 2行に分かれるスマホでは中黒を出さない */
  .rd-hero__title-dot { display: none; }

  /* 管理画面・0円サークル・LINE吹き出しを1ブロックにまとめて縦を節約する */
  .rd-hero__product {
    position: relative;
    min-height: 0;
    margin-top: 8px;
    padding-bottom: 10px;
  }
  .rd-hero__mockup {
    width: 84%;
    max-width: 330px;
    margin: 0 auto;
  }
  .rd-hero__circle {
    top: -4px;
    right: 4px;
    bottom: auto;
    left: auto;
    transform: none;
    width: 122px;
    height: 122px;
    margin: 0;
    padding: 9px 8px 22px;
  }
  .rd-hero__line-bubble { left: 0; right: auto; bottom: -4px; }

  /* コラージュは画面幅いっぱいに敷き、ファーストビューに収まる高さにする */
  .rd-hero__visual {
    min-height: 0;
    height: clamp(270px, 78vw, 400px);
    padding-bottom: 0;
    margin: 12px calc(50% - 50vw) 0;
  }
  .rd-hero__collage { bottom: 0; }
  .rd-hero__shot {
    --fade-l: 9%; --fade-r: 9%; --fade-t: 8%; --fade-b: 9%;
  }
  .rd-hero__shot--a { --fade-l: 0%; --fade-t: 0%; }
  .rd-hero__shot--b,
  .rd-hero__shot--e { --fade-t: 0%; }
  /* 横幅が狭いぶん、右下の1枚は左へ、中央の1枚は右へずらして重なりを整える */
  .rd-hero__shot--d { --fade-r: 0%; left: 42%; width: 58%; }
  .rd-hero__shot--c { left: 18%; width: 45%; }

  /* 3点は横並びのまま、アイコンを上・文字を下にして幅を確保する */
  .rd-hero__benefits { gap: 6px; }
  .rd-hero__benefits li {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .rd-hero__benefit-icon { width: 42px; height: 42px; font-size: 18px; }
  .rd-hero__benefit-text { font-size: 11.5px; line-height: 1.55; }
  .rd-hero__foot { margin-top: 8px; }
  .rd-hero__foot-band { padding: 0 0 20px; }

  .rd-hero__circle .c-top { font-size: 9px; }
  .rd-hero__circle .c-zero { font-size: 34px; }
  .rd-hero__circle .c-zero small { font-size: 17px; }
  .rd-hero__circle .c-bottom { font-size: 8.5px; }
  .rd-hero__circle .c-ribbon { font-size: 8px; padding: 4px 8px; bottom: 8px; }
  .rd-hero__circle .c-ribbon::before, .rd-hero__circle .c-ribbon::after { border-width: 9px; top: 3px; }
  .rd-hero__circle .c-ribbon::before { left: -11px; }
  .rd-hero__circle .c-ribbon::after { right: -11px; }
  .rd-hero__line-bubble { font-size: 12px; padding: 10px 14px; gap: 7px; border-radius: 18px 5px 18px 18px; }
  .rd-hero__line-bubble i { font-size: 21px; }
  /* しっぽは右上の角から斜め上へ。角丸の内側に底辺を接地させる */
  .rd-hero__line-bubble::before {
    left: auto;
    right: 16px;
    bottom: auto;
    top: -12px;
    border-width: 0 0 14px 17px;
    border-color: transparent transparent #06c755 transparent;
    border-bottom-left-radius: 0;
  }
  .rd-hero__buttons { gap: 14px; }
  .rd-hero__buttons .rd-btn { width: 100%; min-width: 0; }
  .rd-hero__laurel-wrap { display: flex; justify-content: center; width: 100%; }
}

/* ---------- タブレット（縦積みだが画面は広い）---------- */
/* 上のブロックはスマホ基準の寸法なので、タブレットでは一回り大きく戻す */
@media (min-width: 768px) and (max-width: 1240px) {
  .rd-hero .container-fluid { padding: 0 40px; }
  .rd-hero__title { font-size: clamp(30px, 4.3vw, 42px); margin-bottom: 12px; }
  .rd-hero__laurel { font-size: clamp(18px, 2.2vw, 22px); }
  .rd-hero__laurel-sub { font-size: clamp(12px, 1.4vw, 14px); }
  .laurel-branch { height: clamp(52px, 6vw, 62px); }
  .rd-hero__product { margin-top: 14px; padding-bottom: 16px; }
  .rd-hero__mockup { width: 64%; max-width: 470px; }
  .rd-hero__circle {
    top: 8px;
    right: 0;
    width: clamp(148px, 17vw, 176px);
    height: clamp(148px, 17vw, 176px);
    padding: 14px 12px 30px;
  }
  .rd-hero__circle .c-top { font-size: clamp(11px, 1.3vw, 13px); }
  .rd-hero__circle .c-zero { font-size: clamp(42px, 4.9vw, 50px); }
  .rd-hero__circle .c-zero small { font-size: clamp(20px, 2.3vw, 24px); }
  .rd-hero__circle .c-bottom { font-size: clamp(10px, 1.2vw, 12px); }
  .rd-hero__circle .c-ribbon { font-size: clamp(9.5px, 1.1vw, 11px); padding: 5px 10px; bottom: 12px; }
  .rd-hero__circle .c-ribbon::before, .rd-hero__circle .c-ribbon::after { border-width: 11px; top: 4px; }
  .rd-hero__circle .c-ribbon::before { left: -13px; }
  .rd-hero__circle .c-ribbon::after { right: -13px; }
  /* 吹き出しは画面端ではなく、中央寄せしたモックアップの左肩に添える */
  .rd-hero__line-bubble { left: 8%; bottom: 2px; font-size: clamp(13px, 1.5vw, 15px); padding: 12px 18px; }
  .rd-hero__line-bubble i { font-size: clamp(22px, 2.6vw, 26px); }
  /* 写真は横に広がるぶん、高さも確保しないと1枚1枚が薄く潰れる */
  .rd-hero__visual { height: clamp(400px, 50vw, 560px); margin-top: 18px; }
  .rd-hero__benefit-icon { width: 48px; height: 48px; font-size: 20px; }
  .rd-hero__benefit-text { font-size: clamp(12.5px, 1.4vw, 14px); }
}
/* ボタンとアイコン3点は、横に並べても窮屈にならない幅から2カラムに戻す */
@media (min-width: 901px) and (max-width: 1240px) {
  .rd-hero__benefits { gap: 14px; }
  .rd-hero__benefits li { flex-direction: row; text-align: left; gap: 12px; }
  .rd-hero__buttons { gap: 20px; }
  .rd-hero__buttons .rd-btn { width: auto; min-width: 300px; }
}

/* ---------- 導入店舗（2列マーキー） ---------- */
.rd-partners { padding: 56px 0 64px; background: #fff; }
.rd-partners__marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.rd-partners__dog {
  display: block;
  height: 48px;
  width: auto;
  margin: -18px 9% -4px auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.rd-partners__row { overflow: hidden; }
.rd-partners__track {
  display: flex;
  width: max-content;
  --rd-marquee-duration: 42s;
  animation: rd-marquee var(--rd-marquee-duration) linear infinite;
  /* 再生開始位置を流れる向きと逆に2枚分だけ戻す。そのままだと見せたいロゴ
     （上段ユアペティア〜Shippoful／下段犬山〜ペットアミ）が開始直後に
     流れ去ってしまうため。1セット=10枚なので2枚＝0.2周期ぶん。
     負ディレイで0.8周期進める＝0.2周期戻すのと同じ（上段・reverse共通） */
  animation-delay: calc(var(--rd-marquee-duration) * -0.8);
  /* 読み込み直後から流すと、スクロールで到達した頃には主要ロゴが
     流れ去っている。JSで画面に入ったのを検知してから動かす */
  animation-play-state: paused;
}
.rd-partners.is-marquee-on .rd-partners__track { animation-play-state: running; }
.rd-partners__row--reverse .rd-partners__track { animation-direction: reverse; --rd-marquee-duration: 48s; }
.rd-partners__row:hover .rd-partners__track { animation-play-state: paused; }
.rd-partners__set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.rd-partners__item {
  background: #fff;
  border: 2px dashed var(--rd-line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  min-height: 86px;
  width: 190px;
  flex: none;
}
.rd-partners__item img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes rd-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .rd-partners__item { width: 150px; min-height: 74px; padding: 10px 14px; }
  .rd-partners__item img { max-height: 48px; }
  /* スマホは従来どおり先頭から流す（開始位置のずらしはPCのみ） */
  .rd-partners__track { --rd-marquee-duration: 32s; animation-delay: 0s; }
  .rd-partners__row--reverse .rd-partners__track { --rd-marquee-duration: 36s; }
  .rd-partners__dog { height: 38px; }
}
@media (max-width: 900px) {
  /* スマホは一度に2枚ほどしか見えないため、下段だけ並びを差し替える。
     HTML順: 1湘南リーシュ 2犬山 3ジョーカー 4ペットアミ 5森林公園 6アイリス
             7モンプティ 8登戸 9グリーンパーク 10桑原
     表示順: ジョーカー → ペットアミ → 桑原 → 湘南リーシュ →（以降そのまま）→ 犬山 */
  .rd-partners__row--reverse .rd-partners__item:nth-child(3)  { order: 1; }  /* ジョーカー */
  .rd-partners__row--reverse .rd-partners__item:nth-child(4)  { order: 2; }  /* ペットアミ */
  .rd-partners__row--reverse .rd-partners__item:nth-child(10) { order: 3; }  /* 桑原 */
  .rd-partners__row--reverse .rd-partners__item:nth-child(1)  { order: 4; }  /* 湘南リーシュ */
  .rd-partners__row--reverse .rd-partners__item:nth-child(5)  { order: 5; }
  .rd-partners__row--reverse .rd-partners__item:nth-child(6)  { order: 6; }
  .rd-partners__row--reverse .rd-partners__item:nth-child(7)  { order: 7; }
  .rd-partners__row--reverse .rd-partners__item:nth-child(8)  { order: 8; }
  .rd-partners__row--reverse .rd-partners__item:nth-child(9)  { order: 9; }
  .rd-partners__row--reverse .rd-partners__item:nth-child(2)  { order: 10; } /* 犬山 */
}
@media (prefers-reduced-motion: reduce) {
  .rd-partners__track { animation: none; }
  .rd-partners__row { overflow-x: auto; }
}

/* ---------- ニュースリリース ---------- */
.rd-news { background: #fff; }
.rd-news__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  border-top: 1px solid var(--rd-line);
}
.rd-news__item { border-bottom: 1px solid var(--rd-line); }
.rd-news__link {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  color: var(--rd-ink);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.rd-news__link:hover { background: var(--rd-pink-bg); }
.rd-news__date {
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.rd-news__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--rd-brand);
  background: var(--rd-pink-soft);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
  /* 行ごとにバッジ幅が変わってもタイトルの左端を揃える */
  min-width: 120px;
  text-align: center;
}
.rd-news__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.rd-news__link:hover .rd-news__title { color: var(--rd-brand); }
.rd-news__arrow {
  color: var(--rd-brand);
  font-size: 13px;
  transition: transform 0.25s ease;
}
.rd-news__link:hover .rd-news__arrow { transform: translateX(4px); }
.rd-news__more { text-align: center; margin-top: 36px; }

@media (max-width: 700px) {
  .rd-news__link {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 18px 4px;
  }
  .rd-news__cat { justify-self: start; min-width: 0; }
  .rd-news__title { grid-column: 1 / -1; font-size: 14px; }
  .rd-news__arrow { display: none; }
}

/* ---------- お悩み ---------- */
.rd-worries { background: var(--rd-pink-bg); }
.rd-worries__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.rd-worries__card {
  background: #fff;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 26px 16px;
  text-align: center;
}
.rd-worries__card i {
  font-size: 30px;
  color: var(--rd-brand);
  background: var(--rd-pink-soft);
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.rd-worries__img {
  width: 108px;
  height: 108px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rd-pink-soft);
}
.rd-worries__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-worries__card p { font-size: 14px; font-weight: 700; color: var(--rd-ink); line-height: 1.6; }
@media (max-width: 900px) { .rd-worries__grid { grid-template-columns: repeat(2, 1fr); } .rd-worries__grid .rd-worries__card:last-child { grid-column: 1 / -1; } }

/* ---------- まるっとサポート ---------- */
.rd-support { background: #fff; }
/* 見出しと機能一覧の間に、実際に使っている様子＋リード文を置く */
.rd-support__lead {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 36px;
}
.rd-support__photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(150, 105, 105, 0.20);
}
.rd-support__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-support__lead-copy {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--rd-ink);
}
.rd-support__lead-copy strong { color: var(--rd-brand); }
.rd-support__lead-note {
  margin-top: 16px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--rd-gray);
}
.rd-support__points {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.rd-support__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--rd-ink);
}
.rd-support__points i { color: var(--rd-brand); font-size: 17px; }
.rd-support__points strong { color: var(--rd-brand); }
.rd-support__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 44px;
}
.rd-support__item {
  text-align: center;
  padding: 22px 14px;
  border-left: 1px solid var(--rd-line);
}
.rd-support__item:nth-child(5n + 1) { border-left: none; }
.rd-support__item:nth-child(n + 6) { border-top: 1px solid var(--rd-line); }
.rd-support__item i { font-size: 34px; color: var(--rd-brand); margin-bottom: 12px; }
.rd-support__item h3 { font-size: 16px; font-weight: 700; color: var(--rd-ink); margin-bottom: 8px; }
.rd-support__item p { font-size: 13px; color: var(--rd-gray); line-height: 1.7; }
@media (max-width: 900px) {
  /* 縦積みにして、写真は縦長のまま幅を絞る（全幅だと間延びするため） */
  .rd-support__lead {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    margin-top: 26px;
  }
  .rd-support__photo { width: min(240px, 62%); border-radius: 20px; }
  .rd-support__lead-body { text-align: center; }
  /* 半端な位置で折り返さないよう、狭い画面では意味の切れ目で改行する */
  .rd-support__lead-copy { font-size: 21px; }
  .rd-support__lead-copy strong span { display: block; }
  .rd-support__lead-note { font-size: 14px; line-height: 1.85; }
  /* 中央揃えの本文に対し、チェック項目だけは左端を揃えて読みやすくする */
  .rd-support__points {
    justify-items: start;
    width: fit-content;
    margin: 18px auto 0;
    text-align: left;
  }
  .rd-support__points li { font-size: 14px; }
  .rd-support__grid { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .rd-support__item { padding: 22px 18px; }
  .rd-support__item:nth-child(5n + 1) { border-left: 1px solid var(--rd-line); }
  .rd-support__item:nth-child(2n + 1) { border-left: none; }
  .rd-support__item:nth-child(n + 3) { border-top: 1px solid var(--rd-line); }
}
/* タブレットは2カラムのままだが行が短く、「サロンがまわ／る。」のように
   語の途中で折り返してしまうため、意味のかたまりごとに改行させる */
@media (min-width: 901px) and (max-width: 1240px) {
  .rd-support__lead-copy { font-size: 25px; }
  .rd-support__lead-copy strong span { display: inline-block; }
}

/* ---------- 0円バンド ---------- */
.rd-zero-band {
  text-align: center;
  padding: 34px 16px;
  background: var(--rd-pink-soft);
  font-size: 24px;
  font-weight: 700;
  color: var(--rd-ink);
}
.rd-zero-band .rd-zero-num {
  color: var(--rd-brand);
  font-size: 44px;
  vertical-align: -4px;
  margin: 0 4px;
}
/* 帯のアクセントに、使用シーンを丸く切り抜いて添える */
.rd-zero-band__photo {
  flex: none;
  margin: 0;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 10px 24px rgba(180, 120, 120, 0.24);
}
.rd-zero-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 58%;
  display: block;
}
@media (max-width: 600px) {
  .rd-zero-band { font-size: 18px; gap: 14px; }
  .rd-zero-band .rd-zero-num { font-size: 32px; }
  .rd-zero-band__photo { width: 92px; height: 92px; border-width: 4px; }
  /* 「ます！」だけが次行に落ちないよう、意味の切れ目で2行に分ける */
  .rd-zero-band__text { line-height: 1.65; }
  .rd-zero-band__l1,
  .rd-zero-band__l2 { display: block; }
}

/* ---------- 料金 3プラン ---------- */
.rd-pricing { background: var(--rd-pink-bg); }
.rd-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 36px;
}
.rd-plan {
  background: #fff;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--rd-brand);
}
.rd-plan--grow { border-top-color: #e0a54c; }
.rd-plan__name { text-align: center; font-size: 20px; font-weight: 700; color: var(--rd-brand); margin-bottom: 10px; }
.rd-plan--grow .rd-plan__name { color: #cf9337; }
.rd-plan__price { text-align: center; font-size: 40px; font-weight: 700; color: var(--rd-ink); line-height: 1.1; }
.rd-plan__price small { font-size: 15px; font-weight: 700; }
.rd-plan__tax { text-align: center; font-size: 12px; color: var(--rd-gray); margin-top: 2px; }
.rd-plan__for {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--rd-ink);
  background: var(--rd-pink-soft);
  border-radius: 999px;
  padding: 6px 10px;
  margin: 14px 0;
}
.rd-plan--grow .rd-plan__for { background: #faf0dd; }
.rd-plan__desc { text-align: center; font-size: 13px; color: var(--rd-gray); margin-bottom: 14px; line-height: 1.7; }
.rd-plan__list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.rd-plan__list li {
  font-size: 14px;
  color: var(--rd-ink);
  padding: 7px 0 7px 26px;
  position: relative;
  font-weight: 600;
}
.rd-plan__list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--rd-brand);
  position: absolute;
  left: 0;
}
.rd-plan--grow .rd-plan__list li::before { color: #e0a54c; }
/* PCは機能を2カラムで並べる。左列を上から埋めてから右列へ流すことで、
   支給画像の並び（フリー3+2／スモール4+3／成長3+3）と同じ見え方になる。
   ※ columns（multi-column）は Safari だと下のサブグリッド行の中で高さが 0 に潰れ、
     リストがカードからはみ出すため、grid の縦流し（grid-auto-flow: column）で組む。
     行数はプランごとの項目数（5／7／6件）に合わせて指定しているので、
     項目を増減したら下の repeat() の値も見直すこと。
   列幅が足りなくなるタブレット以下は1カラムのまま */
@media (min-width: 1024px) {
  .rd-plan__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: 14px;
    align-content: start;
  }
  .rd-pricing__grid .rd-plan:nth-child(1) .rd-plan__list { grid-template-rows: repeat(3, auto); }
  .rd-pricing__grid .rd-plan:nth-child(2) .rd-plan__list { grid-template-rows: repeat(4, auto); }
  .rd-pricing__grid .rd-plan:nth-child(3) .rd-plan__list { grid-template-rows: repeat(3, auto); }
  .rd-plan__list li { font-size: 13px; padding-left: 22px; }
}
/* 3プランで「プラン名／価格／対象バッジ／説明／機能リスト／ボタン」の各段が
   同じ高さ・同じ位置に並ぶようにサブグリッドで揃える。
   非対応ブラウザ・1列表示のスマホでは、上の flex レイアウトのまま */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .rd-pricing__grid { grid-template-rows: auto auto auto auto 1fr auto; }
    .rd-plan {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      row-gap: 14px;
    }
    .rd-plan__name,
    .rd-plan__for,
    .rd-plan__desc,
    .rd-plan__list { margin: 0; }
    /* 税込表記のある/ないで価格の見え方がずれないよう、段の中で上下中央に置く */
    .rd-plan__price-area {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  }
}
.rd-plan .rd-btn { width: 100%; }
.rd-plan--grow .rd-btn--primary { background: #e0a54c; box-shadow: 0 6px 18px rgba(224, 165, 76, 0.4); }
.rd-plan--grow .rd-btn--primary:hover { background: #cf9337; }
.rd-pricing__note { text-align: center; font-size: 12px; color: var(--rd-gray); margin-top: 22px; }
@media (max-width: 900px) { .rd-pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ---------- 導入事例（ブログ風） ---------- */
.rd-cases { background: #fff; }
.rd-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.rd-case-card {
  background: #fff;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  overflow: hidden;
  box-shadow: var(--rd-shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rd-case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(180, 120, 120, 0.2); }
.rd-case-card__img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block; }
.rd-case-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rd-case-card__shop {
  font-size: 12px;
  font-weight: 700;
  color: var(--rd-brand);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.rd-case-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rd-ink);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.rd-case-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 900px) { .rd-cases__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rd-cases__grid { grid-template-columns: 1fr; } }
/* スマホは1列で縦に長くなるため、トップでは3件までに絞る（残りは「もっと見る」へ） */
@media (max-width: 767px) {
  .rd-cases__grid .rd-case-card:nth-of-type(n+4) { display: none; }
}
/* 7件目以降は一覧ページで見てもらう導線 */
.rd-cases__more { text-align: center; margin-top: 32px; }
/* 導入事例一覧ページ */
.rd-cases-page { padding: 48px 0 80px; background: var(--rd-pink-bg); }
.rd-cases-page .rd-article__cta { margin-top: 48px; }
.rd-cases-page .rd-article__back { margin-top: 28px; }

/* ---------- ピタッと予約ヘッダー調整 ---------- */
.pitatto-header .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.rd-impact-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 2px solid var(--rd-brand);
  color: var(--rd-brand);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.rd-impact-chip small { font-size: 10px; color: var(--rd-gray); font-weight: 400; }

/* ---------- CTAイントロ ---------- */
.rd-cta-intro { background: var(--rd-pink-bg); padding: 64px 0 56px; }
.rd-cta-intro__card {
  background: #fff;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
}
.rd-cta-intro__icon { font-size: 54px; color: var(--rd-brand); }
.rd-cta-intro__title { font-size: 22px; font-weight: 700; color: var(--rd-ink); margin-bottom: 6px; }
.rd-cta-intro__text { font-size: 14px; color: var(--rd-gray); margin-bottom: 10px; }
.rd-cta-intro__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-cta-intro__chips span {
  background: var(--rd-pink-soft);
  color: var(--rd-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
}
.rd-cta-intro__img { width: 120px; }
.rd-cta-intro__br { display: none; }
@media (max-width: 760px) {
  .rd-cta-intro__card { grid-template-columns: 1fr; text-align: center; }
  /* 「まずは無料から／始めてみませんか？」と意味の切れ目で改行する */
  .rd-cta-intro__title { font-size: 19px; }
  .rd-cta-intro__br { display: block; }
  .rd-cta-intro__chips { justify-content: center; }
  .rd-cta-intro__icon { display: none; }
  .rd-cta-intro__img { margin: 0 auto; }
}

/* ---------- 記事ページ ---------- */
.rd-article { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.rd-article__shop { color: var(--rd-brand); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.rd-article h1 { font-size: 30px; font-weight: 700; color: var(--rd-ink); line-height: 1.5; margin-bottom: 8px; }
.rd-article__sub { font-size: 16px; color: var(--rd-gray); margin-bottom: 26px; }
.rd-article__hero { width: 100%; border-radius: var(--rd-radius); margin-bottom: 34px; }
.rd-article h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--rd-ink);
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 5px solid var(--rd-brand);
  line-height: 1.5;
}
.rd-article p { font-size: 16px; line-height: 2; color: var(--rd-ink); margin-bottom: 18px; }
.rd-article blockquote {
  background: var(--rd-pink-bg);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--rd-ink);
  position: relative;
}
.rd-article blockquote p { margin-bottom: 0; }
.rd-article ul { margin: 0 0 18px 4px; padding: 0; list-style: none; }
.rd-article ul li { font-size: 15px; line-height: 1.9; padding-left: 24px; position: relative; color: var(--rd-ink); font-weight: 600; }
.rd-article ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--rd-brand);
  position: absolute;
  left: 0;
}
.rd-article__img { width: 100%; border-radius: 12px; margin: 10px 0 26px; }
.rd-article__cta {
  margin-top: 56px;
  background: var(--rd-pink-bg);
  border-radius: var(--rd-radius);
  text-align: center;
  padding: 36px 24px;
}
.rd-article__cta p { margin-bottom: 18px; font-weight: 700; }
.rd-article__back { display: inline-block; margin-top: 40px; color: var(--rd-brand); font-weight: 700; text-decoration: none; }

/* ---------- 記事ページ ヘッダー/フッター ---------- */
.rd-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--rd-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.rd-article-header img { height: 30px; width: auto; display: block; }
.rd-article-header .rd-btn { padding: 9px 20px; font-size: 13px; }
.rd-article-footer {
  text-align: center;
  padding: 28px 16px;
  background: var(--rd-ink);
  color: #fff;
  font-size: 12px;
}

/* ==========================================================
   2026-07 かわいい化アップデート
   ※ deco イラスト（assets/img/deco/）は削除済み。手描き風スタイルのみ残置
   ========================================================== */

/* ---------- 手描き風カード（点線ボーダー & ゆる角丸） ---------- */
.rd-worries__card {
  border: 2px dashed #f0d0d0;
  box-shadow: 0 6px 20px rgba(180, 120, 120, 0.10);
  border-radius: 24px 20px 26px 20px / 20px 26px 20px 24px;
}
.rd-case-card {
  border: 2px dashed var(--rd-line);
  border-radius: 20px 24px 20px 24px / 24px 20px 24px 20px;
}
.rd-plan { position: relative; border-radius: 18px; }

/* ---------- HubSpot フォーム（タブ切り替え） ---------- */
.hs-forms {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.hs-forms__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: -2px;
}
.hs-forms__tab {
  flex: 1;
  appearance: none;
  border: 2px solid transparent;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.55);
  color: #7a5b5b;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 12px;
  border-radius: 16px 16px 0 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hs-forms__tab i { margin-right: 6px; }
.hs-forms__tab:hover { background: rgba(255, 255, 255, 0.8); }
.hs-forms__tab.is-active {
  background: #fff;
  color: var(--rd-brand);
  cursor: default;
}
.hs-forms__panel {
  display: none;
  background: #fff;
  border-radius: 0 0 18px 18px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(120, 70, 70, 0.14);
}
.hs-forms__panel.is-active { display: block; }
/* HubSpot 側のフォーム幅がはみ出さないように */
.hs-forms__panel .hs-form-frame { max-width: 100%; }
.hs-forms__panel input,
.hs-forms__panel select,
.hs-forms__panel textarea { max-width: 100%; }
@media (max-width: 600px) {
  .hs-forms__tabs { gap: 6px; }
  .hs-forms__tab { font-size: 14px; padding: 13px 8px; }
  .hs-forms__tab i { display: none; }
  .hs-forms__panel { padding: 20px 16px; }
}

/* ---------- ピタッと予約／分業：セクションを表すイラスト ---------- */
.pitatto-illust {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 28px;
  border-radius: 24px 20px 26px 20px / 20px 26px 20px 24px;
  border: 2px dashed var(--rd-line);
  background: var(--rd-pink-bg);
  overflow: hidden;
}
.pitatto-illust img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 760px) {
  .pitatto-illust { max-width: 100%; margin-bottom: 22px; }
}

/* ---------- ピタッと分業：シャンプー担当 → システム → カット担当 ---------- */
.pit-auto {
  display: grid;
  grid-template-columns: 1fr auto minmax(290px, 1.05fr) auto 1fr;
  align-items: center;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 34px;
}
.pit-auto__side { text-align: center; }
.pit-auto__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--rd-line);
  border-radius: 999px;
  color: var(--rd-brand);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 20px;
  margin-bottom: 6px;
}
/* イラストの背後にふわっとした光。人物が浮いて見えないように敷く */
.pit-auto__art {
  position: relative;
  padding: 6px 0;
}
.pit-auto__art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84%;
  padding-bottom: 84%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 214, 214, 0.55) 0%, rgba(253, 241, 241, 0) 70%);
}
.pit-auto__art img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 235px;
  height: auto;
  margin: 0 auto;
}
.pit-auto__cap {
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-ink);
  line-height: 1.7;
  margin: 4px 0 0;
}

/* 担当から担当へ流れるドット。順に灯って「自動で受け渡している」ことを示す */
.pit-auto__flow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rd-brand);
  padding-bottom: 34px;
}
.pit-auto__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rd-brand);
  opacity: 0.28;
  animation: pit-auto-dot 1.8s ease-in-out infinite;
}
.pit-auto__flow .pit-auto__dot:nth-child(2) { animation-delay: 0.22s; }
.pit-auto__flow .pit-auto__dot:nth-child(3) { animation-delay: 0.44s; }
/* 矢印はラッパーの span 側で制御する。Snow Monkey テーマは Font Awesome の
   JS 版を読み込んでいて <i> が <svg> に置換されるため、`.xxx i` を狙った
   指定は本番で効かない（ローカルの静的 HTML では効くので気付きにくい） */
.pit-auto__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 15px;
  opacity: 0.35;
  animation: pit-auto-dot 1.8s ease-in-out 0.66s infinite;
}
/* 横並び（PC）は左右矢印、縦積み（SP）は下向き矢印を出し分ける */
.pit-auto__arrow--v { display: none; }
/* 中央のシステムから左の担当へ振り分ける側。並びを反転して矢印を左端・左向きに置き、
   点灯もパネル側（右）から担当側（左）へ流れるようにする */
.pit-auto__flow--rev { flex-direction: row-reverse; }
@keyframes pit-auto-dot {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  40%      { opacity: 1; transform: scale(1.12); }
}

.pit-auto__core { text-align: center; }
.pit-auto__panel {
  position: relative;
  background: #fff;
  border: 2px dashed var(--rd-brand);
  border-radius: 22px;
  padding: 22px 18px 20px;
  animation: pit-auto-panel 4.8s ease-in-out infinite;
}
/* 上に飛び出す3本の集中線。「ひらめき」の記号として自動処理の瞬間を表す */
.pit-auto__spark,
.pit-auto__spark::before,
.pit-auto__spark::after {
  position: absolute;
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--rd-brand);
}
.pit-auto__spark {
  top: -20px;
  left: 50%;
  margin-left: -1.5px;
  animation: pit-auto-spark 4.8s ease-in-out infinite;
}
.pit-auto__spark::before { content: ""; left: -13px; top: 4px; transform: rotate(-30deg); }
.pit-auto__spark::after  { content: ""; left: 13px;  top: 4px; transform: rotate(30deg); }
.pit-auto__lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--rd-ink);
  letter-spacing: 0.06em;
  margin: 0;
}
.pit-auto__main {
  font-size: 30px;
  font-weight: 800;
  color: var(--rd-brand);
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin: 2px 0 0;
}
.pit-auto__note {
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-ink);
  line-height: 1.8;
  margin: 16px 0 0;
}
.pit-auto__note em { font-style: normal; color: var(--rd-brand); }
@keyframes pit-auto-panel {
  0%, 62%, 100% { box-shadow: 0 0 0 0 rgba(212, 140, 140, 0); }
  16%           { box-shadow: 0 0 0 5px rgba(212, 140, 140, 0.16); }
  40%           { box-shadow: 0 0 0 14px rgba(212, 140, 140, 0); }
}
@keyframes pit-auto-spark {
  0%, 62%, 100% { opacity: 0.55; transform: translateY(0); }
  16%           { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .pit-auto__dot,
  .pit-auto__arrow,
  .pit-auto__panel,
  .pit-auto__spark { animation: none; }
}
@media (max-width: 860px) {
  /* 縦積み。矢印は下向きにして、上から下へ受け渡す流れに読み替える */
  .pit-auto {
    grid-template-columns: 1fr;
    gap: 4px;
    max-width: 420px;
  }
  .pit-auto__flow {
    flex-direction: column;
    gap: 6px;
    /* 下の集中線とぶつからないよう、流れの下に余白をとる */
    padding: 10px 0 26px;
    justify-self: center;
  }
  /* 縦積みなので矢印も下向きに。回転や content 差し替えでは FA の svg 置換に
     負けるので、下向き矢印のアイコンごと入れ替える */
  .pit-auto__arrow--h { display: none; }
  .pit-auto__arrow--v { display: inline-flex; }
  .pit-auto__art img { max-width: 220px; }
  .pit-auto__main { font-size: 27px; }
  .pit-auto__note { font-size: 14px; }
  .pit-auto__note br { display: none; }
}

/* ---------- ピタッと予約：カスタマイズ訴求の一文（旧 pitatto-how の位置） ---------- */
.pitatto-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 34px;
  background: #fff;
  border: 2px dashed var(--rd-line);
  border-radius: 24px 20px 26px 20px / 20px 26px 20px 24px;
  box-shadow: 0 12px 30px rgba(180, 120, 120, 0.12);
  text-align: center;
  font-weight: 700;
  line-height: 1.7;
  color: var(--rd-ink);
}
.pitatto-custom__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pitatto-custom__main { font-size: 20px; }
.pitatto-custom__main strong { color: var(--rd-brand); font-size: 1.12em; }
.pitatto-custom__sub { font-size: 16px; color: var(--rd-gray); }
.pitatto-custom__sub strong { color: var(--rd-brand); }
.pitatto-custom__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rd-pink-soft);
  color: var(--rd-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
@media (max-width: 760px) {
  .pitatto-custom {
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
  }
  .pitatto-custom__icon { width: 44px; height: 44px; font-size: 19px; }
  .pitatto-custom__main { font-size: 17px; }
  .pitatto-custom__sub { font-size: 14px; }
  /* 語の途中で折り返さないよう、意味の切れ目で改行する */
  .pitatto-custom__main strong,
  .pitatto-custom__tail { display: block; }
}

/* ---------- 簡単4ステップ：スマホ実機画像 → イラストに差し替え ---------- */
.step-phone {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin: 0 auto 18px;
  border-radius: 24px 20px 26px 20px / 20px 26px 20px 24px;
  overflow: hidden;
  background: var(--rd-pink-bg);
  border: 2px dashed var(--rd-line);
}
.step-phone img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .step-phone { max-width: 220px; min-height: 0; }
  .step-phone img { height: 100%; max-height: none; }
}

/* ---------- 簡単4ステップ：スマホの横スクロールを気づかせるヒント ---------- */
.booking-swipe { display: none; }
@media (max-width: 768px) {
  .booking-swipe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
  }
  /* スワイプ案内（指アイコンが左右に動く） */
  .booking-swipe__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--rd-pink-soft);
    color: var(--rd-brand);
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .booking-swipe__hint i {
    font-size: 15px;
    animation: bk-swipe-hand 1.6s ease-in-out infinite;
  }
  /* スクロールしたら用済みなので消す */
  .booking-swipe__hint.is-hidden {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
  }
  /* 現在位置のドット */
  .booking-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .booking-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rd-line);
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .booking-dot.is-active {
    background: var(--rd-brand);
    transform: scale(1.35);
  }
  /* 初回に少しだけ横に動かして「まだ続きがある」と伝える */
  .booking-steps.is-nudge .booking-step { animation: bk-nudge 1.1s ease-in-out 1; }
}
@keyframes bk-swipe-hand {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(5px); }
}
@keyframes bk-nudge {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-22px); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-swipe__hint i { animation: none; }
  .booking-steps.is-nudge .booking-step { animation: none; }
}

/* ---------- 0円バンド ---------- */
.rd-zero-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- 各セクションの相対配置 ---------- */
.rd-worries,
.rd-support,
.rd-cases,
.flow-section,
.cta-band,
.rd-cta-intro__card { position: relative; }

/* ---------- 2026-07-31 スマホ表示の調整 ---------- */
/* 導入の流れ：カード間をつなぐ白線が、次カードの「STEP」ラベルを縦に貫いて
   見えてしまうため、縦積みになるスマホでは非表示にする */
@media (max-width: 768px) {
  .flow-step-card:not(:last-child)::after { display: none; }
}

/* CTA：見出しが大きすぎて「今／日から」と不自然に折り返すため縮小 */
@media (max-width: 600px) {
  .cta-band { padding: 56px 0; }
  .cta-title { font-size: 24px; line-height: 1.5; margin-bottom: 12px; }
  .cta-text { font-size: 14px; margin-bottom: 32px; }
}

/* ---------- 未来セクション（お悩みの裏返し） ---------- */
/* お悩み（薄ピンク背景）から白へ抜けるグラデーションで、
   「悩み → 明るい未来」の切り替わりを視覚的に伝える */
.rd-future {
  background: linear-gradient(180deg, var(--rd-pink-bg) 0%, #fff 55%);
  padding-top: 0;
  overflow: visible;
}
/* お悩みセクションから続く導入帯。下向きの三角で視線を次へ送る */
.rd-future__bridge {
  position: relative;
  background: var(--rd-brand);
  color: #fff;
  text-align: center;
  padding: 20px 16px 22px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rd-future__bridge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 20px solid var(--rd-brand);
}
.rd-future .container { padding-top: 68px; }
.rd-future__lead {
  text-align: center;
  font-size: 16px;
  color: var(--rd-gray);
  line-height: 1.9;
  margin-top: 18px;
}
.rd-future__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.rd-future__card {
  background: #fff;
  border: 1px solid var(--rd-line);
  border-radius: 20px;
  box-shadow: var(--rd-shadow);
  padding: 20px 18px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rd-future__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(180, 120, 120, 0.20);
}
.rd-future__img {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--rd-pink-soft);
  margin-bottom: 18px;
}
.rd-future__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-future__card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--rd-brand-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}
.rd-future__card p {
  font-size: 13px;
  color: var(--rd-gray);
  line-height: 1.8;
}
.rd-future__closing {
  text-align: center;
  margin-top: 44px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rd-ink);
}
.rd-future__closing strong {
  color: var(--rd-brand);
  font-size: 26px;
}
.sp-br { display: none; }

@media (max-width: 900px) {
  .rd-future__bridge { font-size: 18px; padding: 16px 16px 18px; }
  .rd-future__bridge::after { border-left-width: 18px; border-right-width: 18px; border-top-width: 16px; }
  .rd-future .container { padding-top: 52px; }
  .rd-future__lead { font-size: 14px; }
  .rd-future__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rd-future__card { padding: 16px 12px 20px; }
  .rd-future__card h3 { font-size: 14px; }
  .rd-future__card p { font-size: 12px; line-height: 1.7; }
  .rd-future__closing { font-size: 16px; margin-top: 32px; }
  .rd-future__closing strong { font-size: 20px; }
  .sp-br { display: inline; }
}

/* ==========================================================
   ピタッと予約：ビフォーアフターのガントチャート（2026-08-05）
   旧アニメーション（.pitatto-visuals）を置き換え。
   PCは横軸＝時間、SPは縦軸＝時間に転置する。
   バー位置は --s/--e（10:00 を 0 とした時間数）で指定し、
   10:00〜18:00 の 8 時間を 100% として計算する。
   ========================================================== */
.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* .pitatto-card は flex column + align-items:center で内容幅になるため、
   チャートを目一杯使えるよう予約セクションだけ幅を通す */
.pitatto-reservation .pitatto-card { width: 100%; }
.pit-compare {
  width: 100%;
  max-width: 1080px;
  margin: 30px auto 6px;
}
.pit-chart {
  position: relative;
  background: #fff;
  border: 1px solid var(--rd-line);
  border-radius: 18px;
  box-shadow: var(--rd-shadow);
  padding: 104px 30px 22px;
}
/* 左上から垂れ下がる旗型のラベル */
.pit-chart__ribbon {
  position: absolute;
  top: 0;
  left: 28px;
  width: 104px;
  padding: 14px 0 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.pit-chart--before .pit-chart__ribbon { background: #8fbfa4; }
.pit-chart--after .pit-chart__ribbon { background: var(--rd-brand); }

.pit-grid {
  --pit-label: 104px;
  --pit-span: 8; /* 横軸の時間数。分業は 6 に上書きする */
}

/* 時間目盛り：グリッド線の真上に中央揃えで載せる */
.pit-times {
  position: relative;
  height: 22px;
  margin-left: var(--pit-label);
  margin-bottom: 8px;
}
.pit-times span {
  position: absolute;
  left: calc(var(--i) * 100% / var(--pit-span));
  transform: translateX(-50%);
  font-size: 13px;
  color: #4a4a4a;
  white-space: nowrap;
}

.pit-tracks { position: relative; }
/* 行をまたいで縦に貫くグリッド線 */
.pit-tracks::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pit-label);
  right: 0;
  background-image: repeating-linear-gradient(to right, #bdbdbd 0 1px, transparent 1px calc(100% / var(--pit-span)));
  z-index: 0;
}
.pit-tracks::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: #bdbdbd;
  z-index: 0;
}

.pit-row {
  display: grid;
  grid-template-columns: var(--pit-label) 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pit-row--avail {
  border-top: 2px solid #3a3a3a;
  border-bottom: 2px solid #3a3a3a;
}
.pit-row__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-ink);
  text-align: center;
  padding-right: 12px;
}
/* 「まとまった空き枠ができた結果、1件多く受けられる」ことを示すバッジ */
.pit-gain {
  display: block;
  width: fit-content;
  margin: 4px auto 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--rd-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.pit-gain strong { font-size: 13px; }
.pit-row__track {
  position: relative;
  height: 56px;
}
.pit-row--avail .pit-row__track { height: 42px; }

/* 予約可否の ○ / × */
.pit-mark {
  position: absolute;
  top: 50%;
  left: calc(var(--i) * 100% / var(--pit-span));
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
}
.pit-mark--o {
  border: 2px solid var(--rd-brand);
  border-radius: 50%;
}
.pit-mark--x::before,
.pit-mark--x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 3px;
  background: #2b2b2b;
}
.pit-mark--x::before { transform: translate(-50%, -50%) rotate(45deg); }
.pit-mark--x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* 予約バー */
.pit-bar {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: calc(var(--s) * 100% / var(--pit-span));
  /* 予約バーと空き枠が隣り合うと境目が分かりにくいので、右端を削って間隔をとる */
  width: calc((var(--e) - var(--s)) * 100% / var(--pit-span) - 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
}
.pit-bar--trim { background: #a9cfbb; color: #2f5e46; }
.pit-bar--ok { background: var(--rd-brand); color: #fff; }
/* ピタッと予約：まとまった予約可能枠を「パズルがはまる」ように見せる。
   ふわっと持ち上がってからカチッと落ち、着地の瞬間に枠が光って
   両端でキラッと弾ける。これを一定間隔で繰り返す */
.pit-chart--after .pit-bar--ok {
  border-radius: 7px;
  z-index: 1;
  /* 両端のキラキラをバーの外まで出すため、共通の overflow: hidden を解除 */
  overflow: visible;
  /* 下端を接地面に見立てて、着地でつぶれるように見せる */
  transform-origin: center bottom;
}
/* 着地の瞬間に左右の端で弾ける光。十字＋中心の玉で「キラッ」を作る */
.pit-chart--after .pit-bar--ok::before,
.pit-chart--after .pit-bar--ok::after {
  content: "";
  position: absolute;
  top: calc(50% - 13px);
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(ellipse 58% 7% at 50% 50%, #ffc233 0%, rgba(255, 194, 51, 0) 80%),
    radial-gradient(ellipse 7% 58% at 50% 50%, #ffc233 0%, rgba(255, 194, 51, 0) 80%);
}
.pit-chart--after .pit-bar--ok::before { left: -13px; }
.pit-chart--after .pit-bar--ok::after { right: -13px; }
/* 負ディレイで周期の 70%（＝持ち上がり始め）から再生する。
   画面に入ってすぐ1回目の落下を見せるため */
.pit-chart--after.is-fit-on .pit-bar--ok {
  animation:
    pit-fit-drop 3.6s calc(var(--pit-fit-delay, 0ms) - 2520ms) infinite,
    pit-fit-glow 3.6s calc(var(--pit-fit-delay, 0ms) - 2520ms) infinite;
}
.pit-chart--after.is-fit-on .pit-bar--ok::before,
.pit-chart--after.is-fit-on .pit-bar--ok::after {
  animation: pit-fit-spark 3.6s calc(var(--pit-fit-delay, 0ms) - 2520ms) infinite;
}
@keyframes pit-fit-drop {
  /* 静止 → ゆっくり浮く → 一気に落ちる → 着地でつぶれて戻る */
  0%, 70% { transform: translateY(0) scaleY(1); animation-timing-function: cubic-bezier(0.4, 0, 0.5, 1); }
  85%     { transform: translateY(-6px) scaleY(1); animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.35); }
  92%     { transform: translateY(0) scaleY(0.92); animation-timing-function: ease-out; }
  96%     { transform: translateY(0) scaleY(1.04); }
  100%    { transform: translateY(0) scaleY(1); }
}
/* box-shadow は影の個数が揃っていないと補間されないので、全キーフレームで3つ書く。
   外側2つ＝枠の光の輪、inset＝ピースがはまった瞬間の内側のふち取り */
@keyframes pit-fit-glow {
  0%, 88%, 100% {
    box-shadow: 0 0 0 0 rgba(233, 179, 64, 0), 0 0 0 0 rgba(233, 179, 64, 0), inset 0 0 0 0 rgba(255, 236, 179, 0);
  }
  93% {
    box-shadow: 0 0 0 3px rgba(233, 179, 64, 0.4), 0 0 16px 4px rgba(233, 179, 64, 0.5), inset 0 0 0 2px rgba(255, 236, 179, 0.65);
  }
  99% {
    box-shadow: 0 0 0 9px rgba(233, 179, 64, 0), 0 0 24px 7px rgba(233, 179, 64, 0), inset 0 0 0 2px rgba(255, 236, 179, 0);
  }
}
@keyframes pit-fit-spark {
  0%, 88%, 100% { opacity: 0; transform: scale(0.25) rotate(0deg); }
  93%           { opacity: 1; transform: scale(1.25) rotate(25deg); }
  99%           { opacity: 0; transform: scale(0.85) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pit-chart--after.is-fit-on .pit-bar--ok,
  .pit-chart--after.is-fit-on .pit-bar--ok::before,
  .pit-chart--after.is-fit-on .pit-bar--ok::after { animation: none; }
}
.pit-bar--rest { background: #cfcfcf; color: #555; }
.pit-bar--ng {
  background: #fff;
  border: 1px dotted var(--rd-brand);
  color: var(--rd-brand);
  font-size: 11px;
  line-height: 1.3;
}
/* 営業時間外へ続くバーの端をギザギザにして「まだ続く」ことを示す */
/* ギザギザ分だけ文字を左に寄せて、端で見切れないようにする */
.pit-bar--cont { padding-right: 10px; }
.pit-bar--cont::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: radial-gradient(circle at 0 50%, #fff 0 4px, transparent 4px) 0 0 / 8px 8px repeat-y;
}

.pit-chart__footer {
  margin-top: 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--rd-ink);
}
.pit-chart--before .pit-chart__footer strong { color: var(--rd-brand-dark); }
.pit-chart--after .pit-chart__footer strong {
  color: var(--rd-brand);
  font-size: 1.12em;
}

.pit-compare__arrow {
  text-align: center;
  padding: 16px 0;
  font-size: 30px;
  color: var(--rd-brand);
}

/* ---------- SP：縦軸＝時間に転置 ---------- */
@media (max-width: 780px) {
  .pit-chart { padding: 92px 14px 18px; }
  .pit-chart__ribbon { left: 16px; width: 88px; font-size: 14px; padding: 12px 0 20px; }

  .pit-grid {
    --pit-labelH: 48px;
    display: flex;
    align-items: stretch;
    /* 縦軸に転置するとトラックの高さを決めるものがなくなるので、
       ラベル行 + 8時間ぶんの高さを明示する */
    height: calc(var(--pit-labelH) + var(--pit-span) * 52px);
  }
  /* 「予約＋1件」バッジのぶんだけラベル行を高くする */
  .pit-chart--after .pit-grid { --pit-labelH: 70px; }
  .pit-gain { margin-top: 3px; padding: 1px 7px; font-size: 10px; }
  .pit-gain strong { font-size: 12px; }
  .pit-times {
    flex: 0 0 54px;
    width: 54px;
    height: auto;
    margin: 0;
    padding-top: var(--pit-labelH);
    box-sizing: border-box;
  }
  .pit-times span {
    left: auto;
    right: 8px;
    top: calc(var(--pit-labelH) + var(--i) * (100% - var(--pit-labelH)) / var(--pit-span));
    transform: translateY(-50%);
    font-size: 12px;
  }

  .pit-tracks {
    flex: 1;
    display: flex;
    min-width: 0;
  }
  .pit-tracks::before {
    left: 0;
    right: 0;
    top: var(--pit-labelH);
    bottom: 0;
    background-image: repeating-linear-gradient(to bottom, #bdbdbd 0 1px, transparent 1px calc(100% / var(--pit-span)));
  }
  .pit-tracks::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }

  .pit-row {
    display: flex;
    flex-direction: column;
    /* PC の align-items:center を打ち消さないと、
       中身が空のトラックが幅0に潰れてバーが描画されない */
    align-items: stretch;
    flex: 1;
    min-width: 0;
  }
  .pit-row--avail {
    flex: 0 0 62px;
    border: none;
    border-right: 2px solid #3a3a3a;
  }
  .pit-row__label {
    height: var(--pit-labelH);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    line-height: 1.25;
  }
  .pit-row__name { display: block; }
  .pit-row__track {
    flex: 1;
    height: auto;
  }
  .pit-row--avail .pit-row__track { height: auto; }

  .pit-mark {
    left: 50%;
    top: calc(var(--i) * 100% / var(--pit-span));
    width: 22px;
    height: 22px;
  }
  .pit-mark--x::before,
  .pit-mark--x::after { width: 24px; }

  .pit-bar {
    left: 5px;
    right: 5px;
    width: auto;
    top: calc(var(--s) * 100% / var(--pit-span));
    height: calc((var(--e) - var(--s)) * 100% / var(--pit-span) - 2px);
    bottom: auto;
    font-size: 12px;
  }
  /* 縦書きにするとバーの高さに収まらず、1文字ずつ右から左に折り返して
     読めなくなるため、スマホでも横書きのまま折り返して見せる */
  .pit-bar > span {
    writing-mode: horizontal-tb;
    padding: 0 4px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .pit-bar--ng { font-size: 10px; }
  .pit-bar--cont::after {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 8px;
    background: radial-gradient(circle at 50% 0, #fff 0 4px, transparent 4px) 0 0 / 8px 8px repeat-x;
  }

  .pit-chart__footer { font-size: 14px; margin-top: 14px; }
  .pit-compare__arrow { font-size: 24px; padding: 12px 0; }
}

/* ==========================================================
   ピタッと分業：ピタッと予約と同じチャート表現を、
   5ステップの横スライドで見せる（2026-08-05）
   チャート部分（.pit-grid / .pit-row / .pit-bar）は共通で、
   ここでは横軸 6 時間ぶんへの上書きと分業用の色だけを足す。
   ========================================================== */
.pit-grid--bungyou { --pit-span: 6; }

.pit-slider {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 26px auto 0;
}
.pit-slider__viewport { overflow: hidden; }
.pit-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.pit-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .pit-slider__track { transition: none; }
}

/* ステップ見出し（リボンの右側に置く） */
.pit-chart--step { padding: 24px 30px 24px; }
.pit-step__head {
  margin-left: 124px;
  min-height: 78px;
  margin-bottom: 14px;
}
.pit-step__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}
.pit-step__body {
  font-size: 13.5px;
  color: var(--rd-gray);
  line-height: 1.75;
}
.pit-chart--step .pit-chart__ribbon {
  top: 0;
  left: 28px;
  width: 84px;
  font-size: 15px;
  line-height: 1.3;
}
.pit-chart--ng .pit-chart__ribbon { background: #9a9a9a; }
.pit-chart--ok .pit-chart__ribbon { background: var(--rd-brand); }
.pit-chart--step .pit-grid { --pit-label: 104px; }
/* 担当名は主役ではないので、名前の下に小さく添える */
.pit-grid--bungyou .pit-row__name {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--rd-gray);
}
/* ピタッと予約の「予約可否」行に相当する区切りがないので、
   時間軸との境目に同じ太さの線を引く */
.pit-grid--bungyou .pit-tracks { border-top: 2px solid #3a3a3a; }

/* 分業用のバー色。シャンプー＝水色 / カット＝緑で担当を describe する */
.pit-bar--shampoo { background: #a9c6de; color: #24506f; }
.pit-bar--cut { background: #a9cfbb; color: #2f5e46; }
.pit-bar--reject {
  background: repeating-linear-gradient(
    -45deg,
    #f3d9d9 0 6px,
    #fbeded 6px 12px
  );
  border: 1px dashed var(--rd-brand);
  color: var(--rd-brand-deep);
}
/* 新しく入った枠は少し浮かせて、どこが変わったか分かるようにする */
.pit-bar.is-new {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rd-brand);
  z-index: 2;
}
.pit-bar > span { line-height: 1.35; }

/* 引き継ぎ矢印の行 */
.pit-row--handoff .pit-row__track { height: 30px; }
.pit-handoff {
  position: absolute;
  top: 50%;
  left: var(--hp);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--rd-brand);
  background: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--rd-line);
  z-index: 2;
}
.pit-handoff__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Font Awesome の JS 版（<i> → <svg> 置換）対策の保険。
   何らかの理由で svg が 0 サイズになっても、原寸で描画されて
   周囲を覆ってしまわないようにはみ出しを止めておく。
   FA 本体が svg:not(:host).svg-inline--fa で overflow:visible を当てているので、
   詳細度で勝てるように :not(:root) を挟んでいる */
.pit-handoff svg:not(:root).svg-inline--fa,
.pit-auto__flow svg:not(:root).svg-inline--fa { overflow: hidden; }

/* スライダーの操作系 */
.pit-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--rd-brand);
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(150, 105, 105, 0.28);
  transition: background 0.2s ease, opacity 0.2s ease;
  z-index: 3;
}
.pit-slider__nav:hover:not(:disabled) { background: var(--rd-pink-soft); }
.pit-slider__nav:disabled { opacity: 0.32; cursor: default; }
.pit-slider__nav--prev { left: -14px; }
.pit-slider__nav--next { right: -14px; }

/* 「まだ続きがある・押せる」ことに気づいてもらうため、次へボタンだけ塗りにして
   波紋を出しつつ小さく揺らす。一度でも操作したら（.is-touched）静かにする */
.pit-slider__nav--next:not(:disabled) {
  background: var(--rd-brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(212, 140, 140, 0.55);
  animation: pit-nav-nudge 2.6s ease-in-out infinite;
}
.pit-slider__nav--next:not(:disabled):hover {
  background: var(--rd-brand-dark);
  animation: none;
}
.pit-slider__nav--next:not(:disabled)::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--rd-brand);
  animation: pit-nav-ping 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pit-nav-nudge {
  0%, 58%, 100% { transform: translate(0, -50%); }
  68% { transform: translate(6px, -50%); }
  78% { transform: translate(0, -50%); }
  88% { transform: translate(4px, -50%); }
}
@keyframes pit-nav-ping {
  0%   { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
.pit-slider.is-touched .pit-slider__nav--next:not(:disabled) { animation: none; }
.pit-slider.is-touched .pit-slider__nav--next::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .pit-slider__nav--next:not(:disabled) { animation: none; }
  .pit-slider__nav--next:not(:disabled)::after { animation: none; opacity: 0; }
}

.pit-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.pit-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--rd-line);
  background: #fff;
  color: #a99;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pit-dot.is-active {
  border-color: var(--rd-brand);
  background: var(--rd-brand);
  color: #fff;
  transform: scale(1.08);
}
/* 操作方法のヒント。PCでも出し、一度操作したら静かに消す */
.pit-slider__hint {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--rd-gray);
  transition: opacity 0.4s ease;
}
.pit-slider__hint i {
  color: var(--rd-brand);
  animation: pit-hint-tap 2.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes pit-hint-tap {
  0%, 62%, 100% { transform: translateX(0); }
  72% { transform: translateX(5px); }
  84% { transform: translateX(0); }
}
.pit-slider.is-touched .pit-slider__hint { opacity: 0; }
.pit-slider.is-touched .pit-slider__hint i { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pit-slider__hint i { animation: none; }
}

@media (max-width: 780px) {
  .pit-slider { margin-top: 18px; }
  .pit-chart--step { padding: 20px 14px 18px; }
  .pit-chart--step .pit-chart__ribbon { left: 14px; width: 68px; font-size: 13px; padding: 10px 0 18px; }
  .pit-step__head {
    margin-left: 80px;
    min-height: 76px;
    margin-bottom: 10px;
  }
  .pit-step__title { font-size: 14px; }
  .pit-step__body { font-size: 12px; line-height: 1.7; }
  .pit-chart--step .pit-grid { --pit-label: 104px; }
  /* 分業は 6 時間ぶんなので、SP の縦軸もその高さに合わせる */
  /* 縦書きの「シャンプー」が1列に収まる高さを確保する */
  .pit-grid--bungyou { height: calc(56px + 6 * 60px); }
  .pit-grid--bungyou .pit-row__label { font-size: 11px; }
  /* 「シャンプー」5文字が縦1列に収まるサイズ */
  .pit-grid--bungyou .pit-bar { font-size: 11px; }
  .pit-grid--bungyou .pit-row__name { font-size: 10px; font-weight: 500; color: var(--rd-gray); }

  /* SP は縦軸なので、引き継ぎは行ではなく列間の矢印になる */
  .pit-row--handoff { flex: 0 0 26px; }
  .pit-row--handoff .pit-row__track { height: auto; }
  .pit-handoff {
    left: 50%;
    top: var(--hp);
    gap: 0;
    padding: 4px;
  }
  /* 親に font-size:0 を掛けると、FA の svg（height:1em）が 0 サイズになり
     iOS Safari では原寸の巨大な矢印として描画されてしまう。
     文字は要素ごと隠し、アイコンは span 側でサイズと向きを指定する */
  .pit-handoff__txt { display: none; }
  .pit-handoff__icon { font-size: 12px; transform: rotate(-90deg); }

  .pit-slider__nav { width: 38px; height: 38px; font-size: 15px; }
  .pit-slider__nav--prev { left: -6px; }
  .pit-slider__nav--next { right: -6px; }
  .pit-dot { width: 30px; height: 30px; font-size: 12px; }
  .pit-slider__hint { display: block; font-size: 11px; padding: 0 6px; }
}

/* ============================================================
   記事ページ（single）2カラム＋サイドバー / 一覧カードのSP修正
   2026-08-17 追加
   ============================================================ */

/* --- 記事ページのレイアウト --- */
.msm-single { padding: 56px 0 90px; background: #fff; }
.msm-single__wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.msm-single__main { min-width: 0; }

/* 記事ヘッダー */
.msm-single .single-header { margin-bottom: 32px; }
.msm-single .single-date { color: var(--rd-gray); font-size: 14px; }
.msm-single .single-title { font-size: 30px; font-weight: 700; line-height: 1.5; margin: 10px 0 0; }
.msm-single .single-categories { margin-top: 14px; }
.msm-single .single-thumbnail { margin-bottom: 36px; }
.msm-single .single-thumbnail img { width: 100%; height: auto; border-radius: var(--rd-radius); display: block; }

/* 前後の記事 */
.msm-single .single-nav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rd-line); }
.msm-single .single-nav__inner { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.msm-single .single-nav a { color: var(--rd-brand); text-decoration: none; }
.msm-single .single-nav a:hover { text-decoration: underline; }

/* --- サイドバー --- */
/* 導入事例＋お知らせの2ブロックを並べると縦に長くなるため sticky にはしない
   （sticky だと画面高より高いときにサイドバー下部が見られなくなる） */
.msm-side { display: grid; gap: 22px; align-content: start; }
.msm-side__block {
  background: #fff;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 22px 20px;
}
.msm-side__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--rd-ink);
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--rd-brand);
  line-height: 1.4;
}

/* CTAカード */
.msm-side__cta { background: var(--rd-pink-bg); border-color: transparent; text-align: center; }
.msm-side__cta-lead { font-size: 15px; font-weight: 700; color: var(--rd-ink); margin: 0 0 8px; }
.msm-side__cta-lead strong { color: var(--rd-brand); font-size: 22px; }
.msm-side__cta-text { font-size: 13px; line-height: 1.8; color: var(--rd-gray); margin: 0 0 16px; }
.msm-side__cta-btn {
  display: block;
  background: var(--rd-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 14px;
  border-radius: 999px;
  transition: opacity .2s ease;
}
.msm-side__cta-btn:hover { opacity: .85; color: #fff; }

/* 最新記事リスト */
.msm-side__list { list-style: none; margin: 0; padding: 0; }
.msm-side__item + .msm-side__item { border-top: 1px solid var(--rd-line); }
.msm-side__link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
}
/* アイキャッチのない記事（ニュースなど）はサムネ用の列を作らない */
.msm-side__link--nothumb { grid-template-columns: minmax(0, 1fr); }
.msm-side__thumb { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--rd-pink-bg); }
.msm-side__thumb img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.msm-side__body { display: block; min-width: 0; }
.msm-side__date { display: block; font-size: 11px; color: var(--rd-gray); margin-bottom: 4px; }
.msm-side__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--rd-ink);
}
.msm-side__link:hover .msm-side__text { color: var(--rd-brand); }
.msm-side__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rd-brand);
  text-decoration: none;
}
.msm-side__more:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .msm-single__wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .msm-side { max-width: 620px; width: 100%; margin: 0 auto; }
}

@media (max-width: 767px) {
  .msm-single { padding: 36px 0 64px; }
  .msm-single__wrap { padding: 0 16px; gap: 40px; }
  .msm-single .single-title { font-size: 23px; }
  .msm-single .single-nav__inner { flex-direction: column; gap: 12px; }
}

/* --- カテゴリーアーカイブのカード一覧 ---
   styles.css の .news-grid は SP で2カラムになり、
   さらにテーマ側の img{height:auto} で .news-thumbnail の
   固定高さ(180px)と画像高さがずれて下に余白ができていたため、ここで上書きする */
.archive-custom .news-grid { gap: 28px; }
.archive-custom .news-thumbnail {
  height: auto;
  aspect-ratio: 16 / 10;
}
.archive-custom .news-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.archive-custom .news-title { font-size: 1.05em; }

@media (max-width: 900px) {
  .archive-custom .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  /* SPは1カラム。2カラムだとタイトルが途中で切れて読めなくなる */
  .archive-custom .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  .archive-custom .news-thumbnail { aspect-ratio: 16 / 9; }
  .archive-custom .news-content { padding: 18px 18px 22px; }
  .archive-custom .news-title { font-size: 1.1em; -webkit-line-clamp: 3; }
  .archive-custom .news-description { -webkit-line-clamp: 2; }
  .archive-custom .archive-title { font-size: 28px; }
}

/* カテゴリーバッジ（記事ページ）。旧インラインstyleをCSSへ移動 */
.msm-single .single-cat {
  display: inline-block;
  padding: 5px 13px;
  margin: 0 8px 8px 0;
  background: var(--rd-brand);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* アーカイブページの見出し。旧インラインstyleをCSSへ移動 */
.archive-custom .archive-main { padding: 72px 0 90px; background: #fff; }
.archive-custom .archive-header { text-align: center; margin-bottom: 48px; }
.archive-custom .archive-title { font-size: 36px; font-weight: 700; margin: 0 0 10px; line-height: 1.4; }
.archive-custom .archive-description { color: var(--rd-gray); font-size: 15px; line-height: 1.9; }

@media (max-width: 767px) {
  .archive-custom .archive-main { padding: 40px 0 64px; }
  .archive-custom .archive-header { margin-bottom: 28px; }
}

/* --- ページ送り（カテゴリーアーカイブ） --- */
.msm-pagination {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.msm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--rd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.msm-pagination a.page-numbers:hover {
  background: var(--rd-pink-bg);
  border-color: var(--rd-brand);
  color: var(--rd-brand);
}
.msm-pagination .page-numbers.current {
  background: var(--rd-brand);
  border-color: var(--rd-brand);
  color: #fff;
}
.msm-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 24px;
  padding: 0;
}
.msm-pagination .prev,
.msm-pagination .next { font-weight: 700; }

@media (max-width: 767px) {
  .msm-pagination { margin-top: 36px; gap: 6px; }
  .msm-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
  /* SPでは「前へ/次へ」が長いので折り返しを許す */
  .msm-pagination .prev,
  .msm-pagination .next { padding: 0 14px; }
}
