/*
 * マタニティ整体LP専用スタイル（/maternity/ のみ・page-maternity.php から enqueue）。
 * 2026-08-11 に css/style.css を複製。共用の style.css とは独立＝ここの変更は /maternity/ だけに出る。
 * 中身は複製時点でマタニティLPのまま。マタニティ整体のデザインに合わせて書き換える。
 * ※ テーマの sass/ からは生成されない（style.css 側の系統）。編集はこのファイルを直接。
 */
/* assets/css/style.css */
:root {
  /*
   * 2026-08-11 チラシ（マタニティ整体）の配色に変更。
   * 複製元のピンク系は --primary:#ffadcf / --primary-dark:#ec75a7 / --secondary:#D4A373
   *                  --bg:#FFF5F2 / --surface:#FFFCFA / --subtle:#FBEAE6 だった。
   * accent はチラシの青（浦添院ヘッダ・選ばれる理由ボックス・Point02）、marker は見出し下の黄色。
   */
  --primary: #F3877B;
  --secondary: #D0933E;
  --primary-dark: #E75C5A;
  --accent: #4F9799;
  --accent-dark: #3F8385;
  --marker: #FCEFC2;
  --bg: #FDF8F2;
  --surface: #FFFCF8;
  --subtle: #FBE7E1;
  --text: #4A4040;
  --muted: #786868;
  --line: rgba(74, 64, 64, .12);
  --shadow: 0 14px 34px rgba(16, 24, 40, .10);
  --shadow-sm: 0 8px 18px rgba(16, 24, 40, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 112rem;
  --container-narrow: 90rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

iframe,
video {
  max-width: 100%;
  display: block;
}


body {
  font-family: "Shippori Mincho B1", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: .02em;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
}

.l-container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.l-container--narrow {
  width: min(var(--container-narrow), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163, 92, 92, .12);
}

.l-header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.c-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid var(--primary); */
  /* background: var(--primary); */
  color: #fff;
  padding: 6px 12px;
  letter-spacing: .18em;
  font-weight: 600;
}

.c-logo--footer {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.c-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  color: var(--muted);
}

.c-nav__link {
  transition: opacity .2s ease, color .2s ease;
}

.c-nav__link:hover {
  color: var(--primary);
}

.l-header__cta {
  display: none;
}

.c-iconBtn {
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: var(--muted);
}

/* Drawer */
.c-drawer {
  display: none;
  border-top: 1px solid rgba(163, 92, 92, .12);
  background: rgba(255, 255, 255, .96);
}

.c-drawer.is-open {
  display: block;
}

.c-drawer__inner {
  padding: 14px 16px 18px;
  display: grid;
  gap: 10px;
  /* height: 100%; */
}

.c-drawer__link {
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(251, 234, 230, .6);
  /* display: block; */
}

.c-drawer__cta {
  margin-top: 6px;
}

/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 16px;
}

.c-btn:active {
  transform: translateY(1px);
}

.c-btn--primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(163, 92, 92, .22);
}

.c-btn--primary:hover {
  opacity: .92;
}

.c-btn--outline {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(163, 92, 92, .12);
}

.c-btn--outline:hover {
  background: rgba(251, 234, 230, .7);
}

.c-btn--wide {
  width: min(320px, 100%);
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 1.2rem;
  letter-spacing: .06em;
  width: 100%;
  text-align: center;
  display: inline-block;
}

.c-btn--xl {
  padding: 16px 22px;
  font-size: 16px;
  margin: 0 auto;
}

.c-btn__icon {
  font-size: 16px;
}

/* Hero */
.p-hero {
  padding: 10px 0 90px;
  background: linear-gradient(135deg, var(--bg) 0%, #fff 70%);
  position: relative;
  z-index: 0;
}

.p-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.c-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(163, 92, 92, .18);
  background: var(--primary-dark);
  font-size: 1.4rem;
  color: #fff;
  width: 100%;
  text-align: center;
}

.p-hero__title {
  margin: 14px 0 10px;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: .02em;
  text-align: center;
}

.p-hero__locations {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 6px auto 0;
  padding: 8px 22px;
  background: #fff;
  border: 1px solid rgba(163, 92, 92, .18);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(16, 24, 40, .06);
  font-size: 14px;
  letter-spacing: .04em;
  width: fit-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.p-hero__locationsLabel {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: .12em;
}

.p-hero__locationsDivider {
  width: 1px;
  height: 16px;
  background: rgba(163, 92, 92, .22);
  display: inline-block;
}

.p-hero__locationsAreas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-weight: 600;
}

.p-hero__locationsPin {
  font-size: 16px !important;
  color: var(--primary);
}

@media (max-width: 480px) {
  .p-hero__locations {
    flex-direction: column;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 16px;
  }
  .p-hero__locationsDivider {
    width: 32px;
    height: 1px;
  }
}

.p-hero__lead {
  margin: 0;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  font-size: 20px;
}

.p-hero__points {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.c-point {
  display: grid;
  place-items: center;
  gap: 2rem;
  text-align: center;
}

.c-point__icon {
  width: 12vw;
  height: auto;
  padding: 1rem;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.c-point__text {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.35;
}

.p-hero__ctaRow {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.c-ctaCard {
  display: grid;
  gap: 6px;
  justify-items: center;
  /* justify-content: center; */
}

.c-ctaCard__tag {
  font-size: 16px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--primary-dark);
  color: #fff;
}

.p-hero__visual {}

.c-heroPhoto {
  position: relative;
  height: 80vh;
  border-radius: 28px;
  overflow: hidden;
  background: var(--subtle);
  /* border: 4px solid #fff; */
  box-shadow: var(--shadow);
  width: auto;
}

.c-heroPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.c-heroPhoto__cap {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 16px;
  color: #fff;
  background: rgba(127, 62, 62, .55);
  padding: 4px 8px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

/* Sections */
.p-section {
  padding: 84px 0;
  background: transparent;
  position: relative;
}

.p-section--surface {
  background: #FFFCF8;
  /* max-width: 70rem; */
  /* margin: 0 auto; */
}

.p-section--soft {
  background: var(--subtle);
}

.p-section--warm {
  background: #fff;
}

.c-sectionHead {
  margin-bottom: 34px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.c-sectionHead--center {
  text-align: center;
}

.c-sectionHead__title {
  margin: 0 0 12px;
  font-size: 3rem;
  color: var(--primary-dark);
  line-height: 1.45;
  text-align: center;
}

.c-sectionHead__line {
  width: 64px;
  height: 2px;
  background: var(--secondary);
}

.c-sectionHead--center .c-sectionHead__line {
  margin-inline: auto;
}

.c-centerTitle {
  margin: 0 0 34px;
  text-align: center;
  font-size: 2rem;
  color: var(--text);
}

/* Two cols cards */
.p-twoCols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.c-card {
  background: rgb(255 255 255);
  /* border: 1px solid rgba(163, 92, 92, .10); */
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.c-card__title {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(163, 92, 92, .22);
  padding-bottom: 10px;
  display: inline-block;
}

.c-card__lead {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--muted);
}

.c-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
}

.c-card__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(163, 92, 92, .12);
  height: auto;
  aspect-ratio: 3/2;
}

.c-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Worries */
.p-worries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.c-worryCard {
  position: relative;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .0);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
  overflow: hidden;
}

.c-worryCard__bgIcon {
  position: absolute;
  right: 12px;
  top: 10px;
  opacity: .10;
  font-size: 56px;
  color: var(--primary);
}

.c-worryCard__title {
  margin: 0 0 16px;
  font-size: 1.6rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 999px;
  display: inline-block;
}

.c-checkList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.c-checkList li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.c-checkList .material-icons-outlined {
  color: var(--secondary);
  font-size: 20px;
  margin-top: 1px;
}

.p-worries__note {
  margin: 18px auto 0;
  width: fit-content;
  background: #D94E4C;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 24px;
  letter-spacing: .12em;
  text-align: center;
  border: 3px solid rgba(163, 92, 92, .10);
}

/* Worries - 画像 + 6カード レイアウト */
.p-worries--hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: 36px;
  align-items: center;
  max-width: 1120px;
  margin: 32px auto 0;
}

.p-worries__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(16, 24, 40, .10);
  aspect-ratio: 4 / 3;
  background: var(--subtle);
}

.p-worries__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 22px;
  pointer-events: none;
}

.p-worries__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-worries__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.c-worryItem {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px 14px 18px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
  border: 1px solid rgba(163, 92, 92, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 130px;
  justify-content: center;
}

.c-worryItem::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.c-worryItem__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.c-worryItem__text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 900px) {
  .p-worries--hero {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 640px;
  }
  .p-worries__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .p-worries__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .c-worryItem {
    padding: 18px 10px 14px;
    min-height: 116px;
  }
  .c-worryItem__icon {
    width: 48px;
    height: 48px;
  }
  .c-worryItem__text {
    font-size: 13px;
  }
}

/* Solution - philosophy 下の2枚画像 */
.p-solution__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 36px auto 0;
}

.p-solution__figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(16, 24, 40, .10);
  aspect-ratio: 4 / 3;
  background: var(--subtle);
}

.p-solution__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .p-solution__media {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 480px;
  }
}

/* Philosophy */
.p-philosophy {
  text-align: center;
  max-width: 820px;
  margin-top: 56px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.c-kicker {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--primary-dark);
}

.c-kicker--inverse {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .65);
  display: inline-block;
  padding: 6px 10px;
}

.p-philosophy__title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.55;
}

.p-philosophy__text {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--muted);
}

.p-philosophy__em {
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 0;
  background: linear-gradient(transparent 62%, var(--marker) 62%);
  padding: 0 .1em;
  font-size: 130%;
}

/* Risk (放置リスク 3カラム) */
.p-risk {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1040px;
}

.c-riskCard {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 0 0 28px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
  border: 1px solid rgba(163, 92, 92, .08);
  overflow: hidden;
}

.c-riskCard__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  padding: 8px 14px 10px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(16, 24, 40, .12);
  font-family: "Shippori Mincho B1", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--primary-dark);
  text-align: center;
}

.c-riskCard__num::before {
  content: "No.";
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--primary);
  opacity: .85;
  margin-bottom: 3px;
}

.c-riskCard__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--subtle);
  margin: 0 0 22px;
}

.c-riskCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-riskCard__text {
  margin: 0;
  padding: 0 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 767px) {
  .p-risk {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }
  .c-riskCard {
    padding: 0 0 22px;
  }
  .c-riskCard__num {
    font-size: 22px;
    padding: 6px 12px 8px;
  }
  .c-riskCard__num::before {
    font-size: 9px;
  }
  .c-riskCard__media {
    margin-bottom: 16px;
  }
  .c-riskCard__text {
    font-size: 17px;
    padding: 0 16px;
  }
}

/* FAQ アコーディオン */
.p-faq {
  max-width: 880px;
  margin: 32px auto 0;
}

.p-faq .accordion-container {
  display: grid;
  gap: 14px;
}

.p-faq .accordion-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgb(163 92 92 / 34%);
  /* box-shadow: 0 8px 22px rgba(16, 24, 40, .05); */
  overflow: hidden;
}

.p-faq .accordion-title {
  position: relative;
  margin: 0;
  padding: 22px 64px 22px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity .2s ease, color .2s ease;
}

.p-faq .accordion-title:hover {
  opacity: .7;
}

.p-faq .accordion-title > span {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.p-faq .accordion-title::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}

.p-faq .accordion-title.open::after {
  transform: translateY(-30%) rotate(-135deg);
}

.p-faq .accordion-content {
  display: none;
  padding: 4px 24px 22px;
}

.p-faq .accordion-content p {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 56px;
  background: #FFFAF3;
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.p-faq .accordion-content p::before {
  content: "A";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .p-faq {
    margin-top: 24px;
  }
  .p-faq .accordion-title {
    padding: 18px 52px 18px 18px;
    font-size: 16px;
    gap: 12px;
  }
  .p-faq .accordion-title > span {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .p-faq .accordion-title::after {
    right: 20px;
    width: 9px;
    height: 9px;
  }
  .p-faq .accordion-content {
    padding: 4px 18px 18px;
  }
  .p-faq .accordion-content p {
    padding: 16px 14px 16px 50px;
    font-size: 15px;
  }
  .p-faq .accordion-content p::before {
    left: 14px;
    top: 12px;
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}

/* Voice - 対話風レイアウト */
/* ===== お客様の声（Voice）: 2026-07-13 イラスト版レイアウト（丸140px）に復元。現行の写真版CSS（200px角丸）はこのブロック末尾にコメントで保管 ===== */
.p-voice {
  max-width: 920px;
  margin: 32px auto 0;
  display: grid;
  gap: 36px;
}

.c-voiceCard {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}

.c-voiceCard--right {
  grid-template-columns: 1fr 140px;
}

.c-voiceCard--right .c-voiceCard__avatar {
  order: 2;
}

.c-voiceCard--right .c-voiceCard__bubble {
  order: 1;
}

.c-voiceCard__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  border: 4px solid #fff;
}

.c-voiceCard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.c-voiceCard__bubble {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .07);
  border: 1px solid rgba(163, 92, 92, .12);
}

.c-voiceCard--left .c-voiceCard__bubble::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -12px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-left: 1px solid rgba(163, 92, 92, .12);
  border-bottom: 1px solid rgba(163, 92, 92, .12);
  transform: rotate(45deg);
}

.c-voiceCard--right .c-voiceCard__bubble::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -12px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-right: 1px solid rgba(163, 92, 92, .12);
  border-top: 1px solid rgba(163, 92, 92, .12);
  transform: rotate(45deg);
}

.c-voiceCard__meta {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary-dark);
}

.c-voiceCard__text {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.c-voiceCard__stars {
  display: flex;
  gap: 2px;
  color: #ffb84d;
}

.c-voiceCard__stars .material-icons-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

@media (max-width: 767px) {
  .p-voice {
    gap: 28px;
  }
  .c-voiceCard,
  .c-voiceCard--right {
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: flex-start;
  }
  .c-voiceCard--right .c-voiceCard__avatar { order: initial; }
  .c-voiceCard--right .c-voiceCard__bubble { order: initial; }
  .c-voiceCard__avatar {
    width: 96px;
    height: 96px;
    border-width: 3px;
  }
  .c-voiceCard__bubble {
    padding: 18px 18px;
    border-radius: 16px;
  }
  .c-voiceCard--left .c-voiceCard__bubble::before,
  .c-voiceCard--right .c-voiceCard__bubble::before {
    top: 22px;
    left: -10px;
    right: auto;
    width: 18px;
    height: 18px;
    border-left: 1px solid rgba(163, 92, 92, .12);
    border-bottom: 1px solid rgba(163, 92, 92, .12);
    border-right: 0;
    border-top: 0;
  }
  .c-voiceCard__text {
    font-size: 15px;
  }
}

/* ===== 現行デザインCSS（お客様の声・写真版 200px角丸／2026-07-01時点）: 依頼によりコメントアウト保管 2026-07-13。復活時はこのコメントを外し、上のイラスト版Voice CSSを削除。=====
.c-voiceCard {
  grid-template-columns: 200px 1fr;
}
.c-voiceCard--right {
  grid-template-columns: 1fr 200px;
}
.c-voiceCard__avatar {
  width: 200px;
  height: 200px;
  border-radius: 12px;
}
@media (max-width: 767px) {
  .c-voiceCard,
  .c-voiceCard--right {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .c-voiceCard__avatar {
    width: 60vw;
    height: 60vw;
    max-width: 240px;
    max-height: 240px;
    justify-self: center;
  }
  .c-voiceCard--left .c-voiceCard__bubble::before,
  .c-voiceCard--right .c-voiceCard__bubble::before {
    top: -9px;
    left: 50%;
    right: auto;
    margin-left: -9px;
    border-left: 1px solid rgba(163, 92, 92, .12);
    border-top: 1px solid rgba(163, 92, 92, .12);
    border-right: 0;
    border-bottom: 0;
  }
}
===== 現行デザインCSSここまで ===== */

/* Special */
.p-special {
  padding: 76px 0;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}

.p-special__title {
  margin: 10px 0 6px;
  font-size: 28px;
}

.p-special__sub {
  margin: 0 0 3rem;
  font-size: 18px;
  color: rgb(255 255 255);
}

.p-special__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 70rem;
  margin-inline: auto;
}

.c-miniCard {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(8px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.c-miniCard__num {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: -4rem;
}

.c-miniCard__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.c-miniCard__sub {
  font-size: 1.2rem;
  color: rgb(255 255 255);
}

/* Cases */
.p-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.c-caseCard {
  background: #fff;
  border: 1px solid rgba(163, 92, 92, .12);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.c-caseCard__imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.c-beforeAfter {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--subtle);
  aspect-ratio: 1 / 1;
}

.c-beforeAfter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-beforeAfter__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .18);
}

.c-beforeAfter__label--after {
  background: rgba(0, 0, 0, .10);
}

.c-caseCard__title {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
}

.c-caseCard__text {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Reasons */
.p-reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
  align-items: start;
}

.p-reasons {}

.c-reason {
  display: grid;
  justify-items: center;
}

.c-reason__photo {
  /* width: 22rem; */
  height: auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 4px solid rgba(251, 234, 230, .95);
  box-shadow: 0 12px 26px rgba(16, 24, 40, .08);
  position: relative;
  aspect-ratio: 3/2;
}

.c-reason__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-reason__badge {
  position: absolute;
  right: auto;
  bottom: auto;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 0 0 14px 0;
  font-weight: 700;
}

.c-reason__title {
  margin: 12px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.c-reason__text {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 340px;
}

/* Steps */
.c-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 460px;
  position: relative;
  display: grid;
  gap: 18px;
}

.c-steps::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(163, 92, 92, .22);
}

.c-step {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.c-step__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  z-index: 1;
}

.c-step__text {
  font-weight: 600;
}

/* Price box */
.c-priceBox {
  max-width: 70rem;
  margin-inline: auto;
  /* background: #fff; */
  /* border: 1px solid var(--primary); */
  /* padding: 28px; */
  /* border-radius: 10px; */
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.c-priceBox__head {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.c-priceBox__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.c-priceBox__unit {
  color: var(--muted);
  font-size: 16px;
}

.c-priceBox__yen {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: .02em;
}

.c-priceBox__price.-normal .c-priceBox__yen {
  text-decoration: line-through;
}

.c-priceBox__tax {
  color: var(--muted);
  font-size: 16px;
}

.c-priceBox__note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  margin-top: -1rem;
}

/* Shops */
.p-shops {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.c-shop {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.c-shop__name {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
}

.c-shop__info {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.c-shop__head {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
  align-items: start;
  margin: 0 0 12px;
}

.c-shop__photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #F3EAE4;
}

.c-shop__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-shop__map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: auto;
  /* aspect-ratio: 3/2; */
  /* object-fit: cover; */
}

.c-shop__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}

.c-shop__mapLabel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  /* background: rgba(0, 0, 0, .26); */
}

/* DL */
.c-smallTitle {
  margin: 0 0 18px;
  text-align: center;
  font-size: 16px;
  letter-spacing: .22em;
  font-weight: 700;
}

.c-dl {
  border-top: 1px solid rgba(163, 92, 92, .14);
  background: transparent;
}

.c-dl__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(163, 92, 92, .14);
}

.c-dl__row dt {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.c-dl__row dd {
  margin: 0;
  font-size: 16px;
}

/* Form */
.c-contactHead {
  text-align: center;
  margin-bottom: 24px;
}

.c-contactHead__title {
  margin: 0 0 6px;
  font-size: 30px;
  color: var(--primary);
}

.c-contactHead__sub {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.c-form {
  display: grid;
  gap: 14px;
}

.c-field {
  display: grid;
  gap: 6px;
}

.c-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.c-required {
  font-size: 14px;
  color: #ff6b6b;
  margin-left: 6px;
}

.c-input,
.c-select,
.c-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(163, 92, 92, .22);
  border-radius: 10px;
  padding: 12px 12px;
  outline: none;
  color: var(--text);
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(163, 92, 92, .12);
}

.c-form__actions {
  padding-top: 16px;
  text-align: center;
  margin: 0 auto;
}

.c-form__note {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* Closing */
.p-closing {
  padding: 76px 0;
  background: var(--subtle);
  text-align: center;
}

.p-closing__title {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.55;
}

.p-closing__text {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Footer */
.l-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}

.l-footer__inner {
  text-align: center;
}

.l-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 18px;
  font-size: 16px;
  color: rgb(255 255 255);
}

.l-footer__links a:hover {
  color: #fff;
}

.l-footer__copy {
  margin: 0;
  font-size: 14px;
  color: rgb(255 255 255);
}

/* Responsive */
@media (min-width: 1000px) {
  .c-nav {
    display: flex;
  }

  .l-header__cta {
    display: inline-flex;
  }

  .l-header__menuBtn {
    display: none;
  }

  .p-hero__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 42px;
  }

  .p-hero__title {
    font-size: 3rem;
    text-align: center;
  }

  .p-hero__ctaRow {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    max-width: 70rem;
    margin: 0 auto;
    margin-top: 5rem;
  }

  .p-twoCols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 70rem;
    margin: 0 auto;
  }

  .p-worries {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-special__grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .p-cases {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-reasons {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-shops {
    grid-template-columns: repeat(3, 1fr);
  }

  .c-dl__row {
    grid-template-columns: 160px 1fr;
    align-items: start;
    gap: 18px;
  }
}

.c-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 10001;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.c-drawer.is-open {
  transform: translateX(0);
}

[data-drawer-overlay] {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 10000;
}

[data-drawer-overlay].is-open {
  opacity: 1;
  pointer-events: auto;
}

body.is-menu-open {
  overflow: hidden;
  touch-action: none;
}

.c-drawer {
  transform: translateX(100%);
  transition: .25s;
}

.c-drawer.is-open {
  transform: translateX(0);
  z-index: 360;
  width: 90%;
  height: 100vh;
}

.c-drawer {
  display: block;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 10001;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.h-logo img {
  width: 13rem;
}

.c-priceBox__price.-normal .c-priceBox__yen {
  text-decoration: line-through;
  font-size: 1rem;
}

.c-priceBox__price.-normal.-nostrike .c-priceBox__yen {
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  a.c-btn.c-btn--primary.l-header__cta {
    display: none;
  }

  p.p-hero__lead {
    margin-top: 1rem;
  }
}

.arrow {
  /* content: "↓"; */
  position: relative;
  display: flex;
  align-content: center;
  justify-content: center;
  font-weight: 900;
  font-family: 'Noto Serif JP';
  color: var(--primary);
  font-size: 1.4rem;
  margin: -1rem;
}

.c-shop__map iframe {
  aspect-ratio: 2/1;
  object-fit: cover;
  width: 100%;
}



/* Flow section */
.p-flow {
  padding: 80px 0;
}

.p-flow__lead {
  text-align: center;
  margin: 20px auto 50px;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* Kids Space - two column layout */
.p-kidsSpace {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.p-kidsSpace__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.p-kidsSpace__bg::before,
.p-kidsSpace__bg::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  background: rgba(255, 173, 207, 0.12);
}

.p-kidsSpace__bg::before {
  top: -80px;
  left: -80px;
}

.p-kidsSpace__bg::after {
  top: -60px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(251, 234, 230, 0.6);
}

.p-kidsSpace__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 70rem;
  margin: 0 auto;
}

@media screen and (min-width: 960px) {
  .p-kidsSpace__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.p-kidsSpace__imgWrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(163, 92, 92, 0.12);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.p-kidsSpace__imgWrap img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.p-kidsSpace__body {
  position: relative;
  padding: 24px 0;
}

.p-kidsSpace__num {
  position: absolute;
  top: 0;
  right: 0;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 173, 207, 0.2);
  pointer-events: none;
  user-select: none;
  text-transform: lowercase;
}

.p-kidsSpace__title {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: bold;
  line-height: 1.5;
  color: var(--primary-dark);
  position: relative;
  z-index: 1;
}

.p-kidsSpace__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 736px) {
  .p-kidsSpace__text {
    font-size: 16px;
  }
}

/* Steps */
.p-flow__steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  max-width: 70rem;
}

/* 
.p-special__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 70rem;
  margin-inline: auto;
}
 */
.p-flowStep {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  position: relative;
}

.p-flowStep__num {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-flowStep__body {
  flex: 1;
}

.p-flowStep__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.p-flowStep__text {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

.p-flowStep__media {
  flex: 0 0 auto;
  width: 160px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--subtle);
  box-shadow: 0 6px 14px rgba(16, 24, 40, .08);
}

.p-flowStep__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .p-flowStep {
    text-align: center;
    padding: 20px;
    gap: 14px;
  }

  .p-flowStep__media {
    width: 120px;
    height: 84px;
  }

  .c-priceBox {
    grid-template-columns: 1fr;
  }

  .c-shop__head {
    grid-template-columns: 1fr 120px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .c-shop__head {
    grid-template-columns: 1fr 100px;
    gap: 10px;
  }

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

@media (max-width: 480px) {
  .p-flowStep {
    flex-wrap: wrap;
  }
  .p-flowStep__media {
    width: 100%;
    height: 160px;
    order: 3;
  }
  .p-flowStep__num {
    order: 1;
  }
  .p-flowStep__body {
    order: 2;
    width: calc(100% - 66px);
    text-align: left;
  }
}

/* ===== Flow line & arrow ===== */
.p-flowStep {
  position: relative;
}

/* 縦のライン */
.p-flowStep::after {
  content: "";
  position: absolute;
  left: 38px;
  /* 丸数字の中心に合わせる */
  bottom: -18px;
  width: 2px;
  height: 18px;
  background: rgba(255, 122, 92, 0.35);
}

/* 矢印 */
/* .p-flowStep::before {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -10px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 122, 92, 0.55);
  border-bottom: 2px solid rgba(255, 122, 92, 0.55);
  transform: rotate(45deg);
} */

/* 最後のステップは線を消す */
.p-flowStep:last-child::after,
.p-flowStep:last-child::before {
  display: none;
}

/* ===== Drawer: default closed ===== */
.c-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);

  transform: translateX(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
  z-index: 10001;

  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

/* open */
.c-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media screen and (max-width: 767px) {

  html,
  body {
    overflow-x: hidden;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .l-container,
  .l-header {
    width: 100%;
    padding: 0 2vw;
  }

}

.c-priceBox__note span {
  background: #E75C5A;
  color: #fff;
  padding: 0.1rem 1.5rem;
  line-height: 2.2;
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 1rem;
}

@media screen and (max-width: 767px) {
  span.material-icons-outlined {
    font-size: 4rem;
  }

  .c-sectionHead__title {
    margin: 0 0 12px;
    font-size: 6vw;
    line-height: 1.45;
    text-align: center;
  }

  .p-hero {
    padding: 10px 0 30px;
    background: linear-gradient(135deg, var(--bg) 0%, #fff 70%);
  }
}


/*---コンテンツ幅ごと非表示--*/
@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}

@media screen and (max-width: 780px) {
  .pc-only {
    display: none !important;
  }
}
/*---タブレットだけ表示--*/
@media screen and (max-width: 767px),
       screen and (min-width: 1025px) {
  .tab-only {
    display: none !important;
  }
}

/*---タブレットだけ非表示--*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tab-none {
    display: none !important;
  }
}

@media screen and (min-width: 1023px){
  .no-pc{
    display: none !important;
  }
}

/*---br管理--*/
/*---スマホ時改行--*/
@media screen and (max-width: 480px) {
  .pc-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: block;
  }
}

/*---タブレット時改行--*/
@media screen and (min-width:481px) and (max-width: 1020px) {
  .pc-br {
    display: none;
  }

  .tb-br {
    display: block;
  }

  .sp-br {
    display: none;
  }
}

/*---PC時改行--*/
@media screen and (min-width:1021px) {
  .pc-br {
    display: block;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: none;
  }
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

span.material-icons-outlined.c-btn__icon {
  font-size: 1rem;
  margin-left: 1rem;
}

.l-container.l-container--narrow {
  max-width: 70rem;
}


@media screen and (max-width: 767px) {
  .p-hero__points {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    margin: 0 auto;
    justify-items: stretch;
    justify-content: space-between;
    margin-top: 2rem;
  }

  .c-point {
    display: grid;
    grid-template-columns: 10% 60%;
    gap: 1rem;
    text-align: center;
    align-content: center;
    text-align: center;
    justify-content: center;
  }

  .c-point__text {
    text-align: left;
    margin-left: 0;
  }

  span.material-icons-outlined.c-btn__icon {
    font-size: 1rem;
  }

  .c-point__icon {
    width: 3rem;
    padding: 0.4rem;
  }

  .p-special__grid {
    gap: 2rem;
  }

  .p-hero__ctaRow {
    gap: 2rem;
    margin-top: 3rem;
  }

  .c-heroPhoto {
    height: auto;
  }

  p.c-badge {
    font-size: 1rem;
  }

  .p-hero__title {
    text-align: center;
    font-size: 1.6rem;
  }

  .l-footer__links nav.c-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.p-hero:before {
  position: fixed;
  content: "";
  background-image: url(../images/top/bg.jpg);
  background-attachment: fixed;
  width: 80%;
  z-index: 110;
  height: 80%;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  opacity: .1;
}

/* アンカー先のズレ */
[id] {
  scroll-margin-top: 96px;
}

/* .p-section--surface:before {
  position: fixed;
  content: "";
  background-image: url(../images/top/bg02.jpg);
  background-attachment: fixed;
  width: 80%;
  z-index: 110;
  height: 80%;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: .1;
} */

.p-closing__illust {
  margin: 0 auto;
  width: 9rem;
  margin-top: 2rem;
}

.l-footer__links .c-nav__link {
  color: #fff;
}

/*SP固定*/
.sp_cta {
  position: fixed;
  width: 100%;
  display: block;
  height: 55px;
  bottom: 0;
  z-index: 2;
  background: #fff;
  display: flex;
  align-items: center;
  z-index: 11;
  padding: 8px;
}

.sp_cta a {
  display: block;
  height: 100%;
  text-align: center;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 0;
  font-family: "Shippori Mincho B1", serif;
  /* font-weight: 700; */
  color: #ffffff;
  background: #E75C5A;
  position: relative;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: #E75C5A;
  border-radius: 5px;
}

.sp_cta a::before {
  /* position: absolute; */
  content: "";
  background-image: url(../images/top/tel-black.svg);
  background-repeat: no-repeat;
  background-size: contain;
  top: 1.8rem;
  left: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(0%) hue-rotate(151deg) brightness(101%) contrast(105%);
}

.sp_cta a span {
  font-weight: 700;
}

.sp_cta a:nth-child(3) {
  background: #F3877B;
  color: #fff;
}

/* .sp_cta a:last-child::before {
    position: absolute;
    content: "";
    background-image: url(../images/top/header_icon001.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 1.5rem;
    left: 2rem;
    width: 2.5rem;
    height: 2rem;
} */

.bg-soft {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.bg-soft::before {
  content: "";
  position: absolute;
  inset: -25%;

  background:
    radial-gradient(circle at 10% 30%,
      rgba(255, 173, 207, .90),
      transparent 65%),
    radial-gradient(circle at 65% 35%,
      rgba(231, 92, 90, .85),
      transparent 68%),
    radial-gradient(circle at 40% 85%,
      rgba(255, 255, 255, .75),
      transparent 75%);

  filter: blur(55px) saturate(1.15);
  transform: translateZ(0);
  animation: blobMove 18s ease-in-out infinite;
}


.bg-soft>* {
  position: relative;
  z-index: 1;
}

@keyframes blobMove {
  0% {
    transform: translate(-2%, -1%) scale(1.02);
  }

  50% {
    transform: translate(2%, 2%) scale(1.06);
  }

  100% {
    transform: translate(-2%, -1%) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-soft::before {
    animation: none;
  }
}


/*spメニュー*/
/* SPメニュー（スマホだけ） */
@media screen and (max-width: 767px) {

  /* アンカー先のズレ */
  [id] {
    scroll-margin-top: 40px;
  }

  .c-logo {
    display: none;
  }

  .header-sp {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
  }

  .header-sp.-sub {
    background-color: #fff;
  }

  .header-sp__top {
    align-items: center;
    display: flex;
    padding: 2px 0 2px 1vw;
    height: 14vw;
    margin-top: 1rem;
  }

  .header-sp__logo {
    position: relative;
    width: 45vw;
    z-index: 1;
  }

  .hamburger {
    border: none;
    cursor: pointer;
    height: 14vw;
    outline: none;
    padding: 0;
    position: absolute;
    right: 7px;
    top: 7px;
    width: 13.5vw;
    z-index: 40;
    background: #000;
    transition: background-color .5s ease-out;
  }

  .hamburger span {
    background-color: #fff;
    height: .35vw;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    transition: all .5s ease-out;
    width: 4.7vw;
  }

  .hamburger__lineTop {
    top: 5.1vw;
  }

  .hamburger__lineCenter {
    top: 6.4vw;
  }

  .hamburger__lineBottom {
    top: 7.7vw;
  }

  .p-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 40;
  }

  .nav-drawer {
    align-items: center;
    background-color: #fff;
    height: 100vh;
    justify-content: center;
    overflow-y: scroll;
    padding: 18vw 0 15vw;
    position: fixed;
    text-align: center;
    top: 0;
    right: 100%;
    width: 80%;
    z-index: 99;
    transition: all .4s;
  }

  /* SCSSの &.open をCSSに修正 */
  .nav-drawer.open {
    right: 20%;
  }

  .nav-drawer_ttl {
    font-size: 2rem;
    background: #FFFCF8;
    color: var(--text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 14vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-drawer__list {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: #333;
    padding-left: 0;
  }

  .nav-drawer__link {
    padding: 1.8rem 1rem;
    width: 70vw;
    font-weight: 600;
    color: #333;
    font-size: 3.5vw;
    text-align: center;
  }

  .nav-drawer__btn {
    background: #000;
    color: #fff;
    display: inline-block;
    font-size: 4vw;
    margin-top: 7vw;
    padding: 4vw;
  }

  .nav-drawer__tel {
    font-size: 4vw;
    margin-top: 7vw;
    color: #333;
  }

  .nav-drawer__time {
    font-size: 4vw;
    margin-top: 3vw;
    color: #333;
  }

  .nav-drawer__time span {
    border: 1px solid #333;
    display: inline-block;
    padding: 1vw 2vw;
    margin: 0 1rem 0 0;
    font-size: 3vw;
  }

  .open .hamburger__lineTop {
    top: 6.7vw;
    transform: rotate(45deg);
  }

  .open .hamburger__lineCenter {
    display: none;
  }

  .open .hamburger__lineBottom {
    top: 6.7vw;
    transform: rotate(-45deg);
  }

  .nav-drawer__link {
    padding: 0.8rem 1rem;
    width: 70vw;
    font-weight: 600;
    color: #555;
    font-size: 3.5vw;
    text-align: left;
    position: relative;
    line-height: 1;
    /* border-bottom: 1px solid #000000; */
    display: flex;
  }

  .nav-drawer__list {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    color: #2e2b8f;
    list-style: none;
    list-style-type: none;
  }

  .nav-drawer__link::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: solid transparent;
    border-width: 5px 0 5px 8px;
    border-left-color: #E75C5A;
    color: #000000;
  }

  .header-sp .nav-drawer__btn {
    display: inline-block;
    font-size: 4vw;
    margin-top: 7vw;
    margin-bottom: 8vw;
    padding: 2vw;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 500;
    width: 70vw;
    border-radius: 13vw;
  }
  .nav-drawer__tel {
    font-size: 4vw;
    margin-top: 7vw;
    color: #2e2b8f;
}
.nav-drawer__tel a {
  display: inline-block;
  margin-left: 4vw;
  position: relative;
  font-size: 3rem;
  font-weight: 600;
}
.nav-drawer__tel a::before {
  background-image: url(../images/common/tel-black.svg);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  content: "";
  height: 4vw;
  left: -5vw;
  margin: auto;
  position: absolute;
  top: 0;
  width: 4vw;
}
.nav-drawer__nav {
  padding-left: 0;
  padding-top: 0;
}
.hamburger {
  border: none;
  cursor: pointer;
  height: 14vw;
  outline: none;
  padding: 0;
  position: absolute;
  right: 7px;
  top: 7px;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
  width: 13.5vw;
  z-index: 40;
  background: rgb(31, 137, 214);
  background: -moz-linear-gradient( left, rgba(31, 137, 214, 1) 0%, rgba(46, 43, 143, 1) 100% );
  background: -webkit-linear-gradient(left, rgba(31, 137, 214, 1) 0%, rgba(46, 43, 143, 1) 100%);
  background: linear-gradient(to right, rgba(31, 137, 214, 1) 0%, rgba(46, 43, 143, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#2e2b8f', GradientType=1);
  transition: background-color 0.5s ease-out;
}
.header-sp .hamburger {
  background: #F3A493;
  border-radius: 50px;
  /* margin: 2vw; */
  box-shadow: 0 10px 28px rgb(255 255 255 / 22%);
}
.nav-drawer {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
  /* display: none; */
  height: 100vh;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow-y: scroll;
  padding-bottom: 15vw;
  padding-top: 18vw;
  position: fixed;
  text-align: center;
  top: 0;
  right: 100%;
  width: 80%;
  z-index: 99;
  transition: all 0.4s;
}
  .nav-drawer p {
    font-size: 1.2rem;
}
  .nav-drawer__reserveTelItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0rem;
}
  p.nav-drawer__reserveTelShop {
    font-size: 16px;
    margin: 0;
}
  a.nav-drawer__reserveTelNum {
    display: block;
    height: 100%;
    text-align: center;
    width: 70%;
    font-size: 16px;
    padding: 8px;
    font-family: "Shippori Mincho B1", serif;
    /* font-weight: 700; */
    color: #ffffff;
    background: var(--primary);
    position: relative;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: #E75C5A;
    border-radius: 5px;
}
  .nav-drawer__reserveTelItem:first-child a.nav-drawer__reserveTelNum {
    background: var(--primary-dark);
}
  a.nav-drawer__reserveTelNum:before {
    /* position: absolute; */
    content: "";
    background-image: url(../images/top/tel-black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 1.8rem;
    left: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(0%) hue-rotate(151deg) brightness(101%) contrast(105%);
}
 .p-worries__note {
    font-size: 1.2rem;
}
.sp_cta a:nth-child(1):after {
    content: "南風原本院";
    position: absolute;
    top: -50%;
    background: #ffffff;
    color: var(--text);
    font-size: 10px;
    padding: 1px 11px;
    border: 1px solid var(--primary);
    border-radius: 26px;
}
.sp_cta a:nth-child(2):after {
      content: "那覇浦添院";
    position: absolute;
    top: -50%;
    background: #ffffff;
    color: var(--text);
    font-size: 10px;
    padding: 1px 11px;
    border: 1px solid var(--primary);
    border-radius: 26px;
}
.sp_cta a:nth-child(3):after {
      content: "与那原西原院";
    position: absolute;
    top: -50%;
    background: #ffffff;
    color: var(--text);
    font-size: 10px;
    padding: 1px 11px;
    border: 1px solid var(--primary);
    border-radius: 26px;
}
  
}
.c-ctaCard__tag{
  display: inline-block;
  position: relative;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--text);
  margin-bottom: 10px;
}

/* 下向きの三角（しっぽ） */
.c-ctaCard__tag::after{
  content: "";
  position: absolute;
  left: 45%;
  bottom: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 7px 0 7px;
  border-color: #FBE7E1 transparent transparent transparent;
}

@media screen and (max-width: 767px) {
.p-philosophy__title {
    font-size: 6vw;
}
  .c-centerTitle {
    font-size: 6vw;
}
  .p-closing__title {
    font-size: 6vw;
}
  .l-footer {
    padding: 20px 0 80px;
}
}

/* =========================
  Thanks Page
========================= */

.finish{
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 20px 80px;
}

.finish .icn{
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.finish .icn img{
  width: 76px;
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(57%) sepia(14%) saturate(2034%) hue-rotate(290deg) brightness(105%) contrast(85%);
}

.finish h2{
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  margin: 0 0 22px;
}

.finish .box_text{
  background: #fff;
  /* border: 1px solid rgba(0,0,0,.10); */
  border-radius: 16px;
  padding: 22px 22px;
  box-shadow: 0 4px 44px rgba(16,24,40,.10);
}

.finish .box_text p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #222;
  text-align: center;
}

.finish .box_text p + p{
  margin-top: 12px;
}

.finish .back{
  display: flex;
  justify-content: center;
  margin: 26px 0 0;
}

.finish .com_link_text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  width: 20rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.finish .com_link_text:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  opacity: .95;
}

.finish .com_link_text:active{
  transform: translateY(0);
}

/* ふわっと出る */
.fadein{
  animation: thanksFade .55s ease-out both;
}

@keyframes thanksFade{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* SP調整 */
@media screen and (max-width: 767px){
  .finish{
    padding: 44px 16px 64px;
  }

  .finish .icn img{
    width: 64px;
  }

  .finish h2{
    font-size: 22px;
    margin-bottom: 16px;
  }

  .finish .box_text{
    padding: 18px 16px;
    border-radius: 14px;
  }

  .finish .box_text p{
    font-size: 15px;
    line-height: 1.85;
  }

  .finish .com_link_text{
    width: 100%;
    max-width: 320px;
    min-height: 50px;
  }
}


.c-form__policyBox {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  border-radius: 10px;
}

.c-form__policyTitle {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.c-form__policyScroll {
  height: 180px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #cfcfcf;
  background: #fff;
  font-size: 13px;
  line-height: 1.7;
  color: #333;
}

.c-form__policyScroll p {
  margin: 0 0 12px;
}

.c-form__policyScroll strong {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #111;
}

.c-form__policyNote {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .c-form__policyBox {
    padding: 14px;
  }

  .c-form__policyScroll {
    height: 160px;
    font-size: 12.5px;
  }
}

.error404 section.p-sec01 {
    text-align: center;
    margin: 2vw;
}

.error404 .c-mv__img {
    width: 5rem;
    margin: 0 auto;
    margin-top: 2rem;
}
.error404 h1.c-mv__tit {
    text-align: center;
}

.error404 a.c-btnB.c-btnB--white {
    background: var(--primary-dark);
    padding: 1rem;
    margin: 2rem 0 4rem;
    color: #fff;
}

.error404 main#notfound {
    margin: 2rem 0 6rem;
}

.error404 .p-sec01__btnArea {
    margin: 3rem 0;
}

.error404 a.c-btnB.c-btnB--white {
    background: var(--primary-dark);
    padding: 1rem;
    margin: 2rem 0 4rem;
    color: #fff;
}
/* Contact Form 7 送信ボタン */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-block;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-dark);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: opacity 0.2s;
  width: auto;
  min-width: 200px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  opacity: 0.92;
}

.wpcf7-spinner {
  display: none;
  visibility: hidden;
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 24px;
  position: relative;
  display: none;
}

.c-priceBox2 {
  max-width: 70rem;
  margin-inline: auto;
  background: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  padding: 28px;
  border-radius: 10px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  color: #fff;
}
.c-pricegroup {
  background: #fff;
  border: 1px solid var(--primary-dark);
  max-width: 70rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
}

/* CTAセクション（参考画像：ピンク背景＋白角丸コンテナ） */
.p-cta {
  padding: 2rem 0;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(255, 173, 207, 0.92) 100%);
}

.p-cta .l-container {
  max-width: 56rem;
}

.p-cta__box {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.75rem;
  box-shadow: 0 4px 24px rgba(231, 92, 90, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.p-cta__heading {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.75rem;
}

.p-cta__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.p-cta__labelWrap {
  text-align: center;
  margin-bottom: 0.5rem;
}

.p-cta__label {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: inline-block;
  box-shadow: none;
  letter-spacing: 0.04em;
}

.p-cta__labelBracket {
  font-size: 1.4em;
  font-weight: 800;
  margin: 0 4px;
  vertical-align: -0.08em;
  color: var(--primary-dark);
}

.p-cta__labelPrice {
  font-size: 1.6em;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.p-cta__labelYen {
  font-size: 0.6em;
  font-weight: 700;
  vertical-align: 0.35em;
  margin-left: 1px;
}

.p-cta__clinics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.p-cta__clinic {
  text-align: center;
  padding: 1rem 0.75rem;
  background: rgba(251, 234, 230, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(231, 92, 90, 0.12);
}

.p-cta__tag {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(231, 92, 90, 0.25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.p-cta__name {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.p-cta__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.p-cta__tel:hover {
  background: rgba(231, 92, 90, 0.12);
  color: var(--primary-dark);
  text-decoration: none;
}

.p-cta__telIcon {
  font-size: 1.35rem;
  opacity: 0.9;
}

.p-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 22px 32px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #E0574F 50%, var(--primary) 100%);
  border-radius: 9999px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 32px rgba(231, 92, 90, 0.5), 0 4px 16px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.04em;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.p-cta__btn:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 16px rgba(231, 92, 90, 0.35), 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #fff;
  text-decoration: none;
}

.p-cta__btnIcon {
  font-size: 1.6rem;
}

.p-cta__btnSub {
  display: contents;
  font-size: 0.7em;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 767px) {
  .p-cta__clinics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .p-cta__clinic {
    padding: 1rem;
  }
  .p-cta__heading {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
  }
  .p-cta__heading::after {
    width: 40px;
  }
  .p-cta__box {
    padding: 1.25rem 1rem;
  }
  .p-cta__label {
    font-size: 1.2rem;
  }
  .p-cta__btn {
    padding: 14px 20px;
    font-size: 1.15rem;
  }
  .p-cta__icon {
    font-size: 1.5rem;
  }
}

.c-priceBox2 h3 {
  text-align: center;
  font-size: 2rem;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .c-priceBox2 h3 {
    text-align: center;
    font-size: 1.3rem;
    margin: 0;
}
.c-priceBox2 {
  padding: 14px;
}
.c-pricegroup {
  margin: 0 auto;
  padding: 1rem;
}
.c-miniCard .c-point__icon {
  width: 8rem;
}
.material-icons-outlined.p-cta__icon.p-cta__telIcon {
  font-size: 2rem;
}
.material-icons-outlined.p-cta__icon.p-cta__btnIcon {
  font-size: 1.5rem;
}
}


/* ==================================================================
 * マタニティ整体LP（/maternity/）専用スタイル
 * 2026-08-11 全面整理版（2回目）。以前は追記と正規表現削除で
 * メディアクエリの閉じ忘れが3箇所でき、以降の指定が丸ごと無効になっていた。
 * ここを唯一の追加分とし、必ず波括弧の対応をチェックしてから結合する。
 *
 * 構成: 1.幅 2.見出し 3.FV 4.お悩み 5.3つのポイント 6.解決 7.料金
 *       8.院の色 9.あしらい 10.特徴の帯 11.@768以上 12.@1000以上 13.@767以下
 * ================================================================== */

/* ---------- 1. コンテンツ幅 -------------------------------------- */
:root {
  --container: 1120px;
  --container-narrow: 880px;
  --clinic-green: #5C9E7C;
  --marker: #FCEFC2;
}

/* iOSで文字が自動拡大されるのを防ぐ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.l-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* 内側ブロックは独自の max-width を持たせずコンテナに揃える */
.p-reasons,
.p-flow__steps,
.p-worries,
.p-worries__panel,
.p-points,
.p-shops,
.p-cta__box,
.p-faq,
.c-pricegroup,
.c-priceBox,
.c-priceBox-txt {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

/* ---------- 2. 見出し -------------------------------------------- */
/* ※ユーザー指定 */
.c-sectionHead__title {
  margin: 0 0 12px;
  font-size: 2.5rem;
  color: var(--primary-dark);
  line-height: 1.45;
  text-align: center;
}

.c-sectionHead__lead,
.c-sectionHead__title .c-sectionHead__sub,
.c-centerTitle .c-sectionHead__sub {
  display: block;
  margin: 12px 0 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  /* 見出しが中央寄せなのでサブも中央に揃える */
  text-align: center;
}

/* ---------- 3. FV ------------------------------------------------
 * 支給画像（人物切り抜き＋キャッチ焼き込み）を img で置く。
 * 背景画像だと幅によって位置が崩れるため使わない。
 * 1000px以上: テキスト左 / 画像右（画面右端まではみ出す）
 * 1000px未満: テキスト上 / 画像下
 * ---------------------------------------------------------------- */
.p-heroBar {
  margin: 0;
  padding: 12px 16px;
  background: var(--primary-dark);
  color: #fff;
  font-size: clamp(1.4rem, 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: center;
}

.p-heroBar__hl {
  color: #FEE376;
}

.p-hero--cover {
  padding: 0;
  background: linear-gradient(135deg, var(--bg) 0%, #fff 72%);
}

.p-hero--cover::before {
  display: none;
}

.p-hero--cover .p-hero__media {
  display: block;
  min-height: 0;
  background: none;
}

.p-hero--cover .p-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 24px;
}

.p-hero--cover .p-hero__copy {
  order: 1;
  max-width: none;
}

.p-hero--cover .p-hero__title {
  text-align: left;
}

.p-hero__title .p-hero__em {
  display: inline-block;
  padding: 0 .06em;
  color: var(--primary-dark);
  font-size: 1.8em;
  line-height: 1.2;
  background: linear-gradient(transparent 78%, #FBE06B 78%, #FBE06B 92%, transparent 92%);
}

.p-hero__locations {
  position: relative;
  left: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 6px 0 0;
  padding: 8px 22px;
  background: #fff;
  border: 1px solid rgba(163, 92, 92, .18);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(16, 24, 40, .06);
  font-size: 14px;
  letter-spacing: .04em;
}

/* タグは3列グリッド（※ユーザー指定） */
.p-hero__tags {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.p-hero__tags li {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  /* 3列に収めるため上限を抑える（「つわり・不調」6文字が1行に入るサイズ） */
  font-size: clamp(1.6rem, 1.65vw, 2.05rem);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.p-hero__photo {
  order: 2;
  margin: 8px 0 0;
}

.p-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 4. こんなお悩みありませんか？ -----------------------
 * 左に悩むママの写真、右に8項目（先頭にチェックマーク）。
 * 写真は images/maternity/worry-main.jpg（推奨 600×800px の縦長）。
 * ---------------------------------------------------------------- */
.p-worries--flyer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.p-worries--flyer .p-worries__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(163, 92, 92, .12);
}

.p-worries__panel {
  padding: 8px 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.p-worries__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-worryCheck {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px dashed rgba(163, 92, 92, .25);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}

.c-worryCheck:first-child {
  border-top: 1px dashed rgba(163, 92, 92, .25);
}

/* 先頭のチェックマーク */
.c-worryCheck::before {
  content: "";
  width: 26px;
  height: 26px;
  margin-top: .15em;
  border-radius: 50%;
  background-color: var(--primary-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 13l4.5 4.5L19 7%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

/* 注記（※ユーザー指定） */
.p-worries__note {
  margin: 18px auto 0;
  width: 80%;
  background: #D94E4C;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 24px;
  letter-spacing: .12em;
  text-align: center;
  border: 3px solid rgba(163, 92, 92, .10);
}

/* ---------- 5. 妊娠中のママに選ばれる3つのポイント ---------------- */
.p-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-point3 {
  padding-bottom: 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.c-point3__media {
  position: relative;
  margin-bottom: 16px;
}

.c-point3__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.c-point3__num {
  position: absolute;
  left: 14px;
  bottom: -18px;
  display: grid;
  /* 行が円の高さいっぱいに引き伸ばされて Point と数字が離れるため、
     行は内容ぴったり＋全体を中央寄せにする（メダルと同じ対処） */
  grid-auto-rows: min-content;
  align-content: center;
  justify-items: center;
  row-gap: 0;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(163, 92, 92, .2);
}

.c-point3__num em {
  display: block;
  margin-bottom: 1px;
  font-style: normal;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: .04em;
}

.c-point3--point02 .c-point3__num {
  background: var(--accent);
}

.c-point3--point03 .c-point3__num {
  background: #E7A265;
}

/* ※ユーザー指定 */
.c-point3__title {
  margin: 26px 20px 8px;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.c-point3--point02 .c-point3__title {
  color: var(--accent-dark);
}

.c-point3--point03 .c-point3__title {
  color: #C97F3D;
}

.c-point3__text {
  margin: 0 20px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

/* ---------- 6. 解決（参考: naga-tsubamesanjo.com） ---------------
 * PC: 上に横長写真（全幅）→ 下に小写真2枚（左）＋テキスト群（右）。
 *     セクション見出しもテキスト群の中に入れる。
 * SP: 3枚を縦に並べ、その下にテキスト。
 * 影は付けず余白で見せる。画像は cover なので支給サイズが多少違っても崩れない。
 *   横長: sol-main.jpg（推奨 1400×560）
 *   縦 : sol-sub01.jpg / sol-sub02.jpg（推奨 600×800）
 * ---------------------------------------------------------------- */
.p-solution3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.p-solution3 figure {
  position: relative;
  margin: 0;
  background: none;
  box-shadow: none;
}

.p-solution3 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.p-solution3__main {
  aspect-ratio: 5 / 2;
}

.p-solution3__sub--a {
  aspect-ratio: 4 / 3;
}

.p-solution3__sub--b {
  aspect-ratio: 1 / 1;
}

.p-solution3__head {
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 1.6vw, 2.1rem);
  line-height: 1.7;
  letter-spacing: .04em;
  text-align: left;
}

.p-solution3__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 2.3;
  letter-spacing: .02em;
  color: var(--text);
}

.p-solution3__text:last-child {
  margin-bottom: 0;
}

/* ---------- 7. 料金（チラシのキャンペーン枠） -------------------- */
.c-priceBox {
  display: block;
}

.c-priceBox-img {
  display: none;
}

.p-priceMain__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
  align-items: center;
  justify-content: center;
}

.p-priceMain__lead {
  text-align: center;
}

.p-priceMain__lead .c-priceBox__head {
  margin: 1rem 0 0;
}

.p-priceMain__normal {
  margin: 0;
  font-size: 1.7rem;
  color: var(--text);
}

.p-priceMain__normalYen {
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: var(--primary);
}

/* 2回目以降（通常価格の下）。継続して有効な価格なので打ち消し線は付けない */
.p-priceMain__repeat {
  margin: 4px 0 0;
  font-size: 1.7rem;
  color: var(--text);
}

.p-priceMain__repeatYen {
  font-size: 2.2rem;
  font-weight: 700;
}

.p-priceMain__tax {
  font-size: 1.2rem;
  color: var(--muted);
}

.p-priceMain__arrow {
  width: 0;
  height: 0;
  margin: 18px auto 14px;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 20px solid var(--primary);
}

/* ※ユーザー指定 */
.p-priceMain__campaign {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.p-priceMain__label {
  padding: 7px 16px;
  border-radius: 8px;
  background: var(--subtle);
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.p-priceMain__yen {
  font-family: "Shippori Mincho B1", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--primary-dark);
}

.p-priceMain__yenUnit {
  margin-left: .04em;
  font-size: .55em;
}

.p-priceMain .c-priceBox__note {
  margin-top: 20px;
  text-align: center;
}

/* ---------- 8. 院ごとの色（本院=コーラル / 那覇浦添院=グリーン） --
 * :nth-child(2) が那覇浦添院。店舗の並びを変えたら要調整。
 * ---------------------------------------------------------------- */
.c-shop__name {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  letter-spacing: .04em;
}

.p-shops .c-shop:nth-child(2) .c-shop__name {
  background: var(--clinic-green);
}

.p-shops .c-shop:nth-child(2) .c-shop__info {
  padding-left: 12px;
}

.p-cta__clinics {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2026-10-04: 与那原西原院を追加し3院に */
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.p-cta__clinics .p-cta__clinic:nth-child(2) .p-cta__tag {
  color: var(--clinic-green);
  border-color: rgba(92, 158, 124, .4);
}

.p-cta__clinics .p-cta__clinic:nth-child(2) .p-cta__name,
.p-cta__clinics .p-cta__clinic:nth-child(2) .p-cta__tel,
.p-cta__clinics .p-cta__clinic:nth-child(2) .p-cta__tel .p-cta__icon {
  color: var(--clinic-green);
}

.sp_cta a:nth-child(2) {
  background: var(--clinic-green);
}

.sp_cta a:nth-child(2):after {
  border-color: var(--clinic-green);
}

/* ---------- 9. あしらい（支給素材） ------------------------------ */
.c-ribbon {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 34px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
}

.c-ribbon--accent {
  background: var(--accent);
}

.c-medal {
  display: inline-grid;
  place-items: center;
  width: 106px;
  height: 106px;
  background: url(../images/maternity/medal.png) no-repeat center / contain;
}

/* 行が高さいっぱいに引き伸ばされて字間が開くため、行は内容ぴったり＋中央寄せ */
.c-medal__inner {
  display: grid;
  grid-auto-rows: min-content;
  align-content: center;
  justify-items: center;
  row-gap: 0;
  width: 80%;
  height: 80%;
  color: #fff;
  line-height: 1;
  text-align: center;
}

/* このテーマは 1rem = 16px なのでメダル内は px 指定 */
.c-medal__inner em {
  display: block;
  font-style: normal;
  font-size: 14px;
  line-height: 1.05;
  white-space: nowrap;
}

.c-medal__inner strong {
  display: block;
  margin: -1px 0;
  font-size: 30px;
  line-height: 1;
}

/* 数字の隣に小さく単位を置く（例: 74% / 10名様）。
   数字とベースラインを揃え、字間を詰めて円の中で balanced に見せる。 */
.c-medal__unit {
  display: inline-block;
  margin-left: .06em;
  font-size: .5em;
  letter-spacing: 0;
  vertical-align: baseline;
}

.c-medal--lg {
  width: 220px;
  height: 220px;
}

.c-medal--lg .c-medal__inner em {
  font-size: 24px;
  letter-spacing: .06em;
}

.c-medal--lg .c-medal__inner strong {
  font-size: 52px;
}

.c-medal--teal {
  background-image: url(../images/maternity/medal-teal.png);
}

.p-priceMain__off {
  width: 96px;
  height: 96px;
}

.p-priceMain__off .c-medal__inner em {
  font-size: 14px;
}

.p-priceMain__off .c-medal__inner strong {
  font-size: 30px;
}

/* 葉っぱ（支給素材）。左は反転して対にする。
   見出しが2行になっても葉が左右の定位置に来るよう flex で組む
   （inline のままだと折り返し時に右の葉が行の中に入り込んで崩れる）。
   ページ内の h2 見出しはすべて対象。 */
.c-sectionHead__title,
.c-centerTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.c-sectionHead__title::before,
.c-sectionHead__title::after,
.c-centerTitle::before,
.c-centerTitle::after {
  content: "";
  flex: 0 0 auto;
  width: 58px;
  height: 28px;
  margin: 0;
  background: url(../images/maternity/illust01.png) no-repeat center / contain;
}

.c-sectionHead__title::before,
.c-centerTitle::before {
  transform: scaleX(-1);
}

/* 解決セクションの見出しとCTAの見出しには葉を付けない（※ユーザー指定） */

.p-philosophy__em {
  padding: 0 .1em;
  border-bottom: 0;
  background: linear-gradient(transparent 62%, var(--marker) 62%);
}

/* ---------- 9-2. 院名の表示 --------------------------------------
 * ロゴ画像に院名が入っていないため、ヘッダー・店舗名・CTAに院名を添える。
 * ---------------------------------------------------------------- */
.c-logo__clinic {
  margin: 2px 0 0;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-align: center;
}

.header-sp__clinic {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.c-shop__clinic {
  display: block;
  font-size: .68em;
  font-weight: 500;
  letter-spacing: .06em;
  opacity: .85;
}

.p-solution3__clinic {
  font-weight: 700;
  color: var(--primary-dark);
}

.p-cta__clinicName {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary-dark);
  text-align: center;
}

/* ---------- 10. 特徴の帯（アイコン付きチップ） -------------------
 * 文字数の差が大きい（「完全予約制」〜「マタニティ整体を専門とする施術者が対応します！」）ため、
 * 等幅グリッドだと崩れて見える。内容に応じて幅が決まるチップを中央寄せで並べる。
 * ---------------------------------------------------------------- */
.p-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 30px;
  padding: 0;
  list-style: none;
  background: none;
  box-shadow: none;
}

.p-features__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid rgba(163, 92, 92, .16);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(163, 92, 92, .06);
  font-size: clamp(1.35rem, 1.05vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.p-features__item::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.p-features__item--reserve::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234F9799%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%223%22/%3E%3Cpath d=%22M8 3v4M16 3v4M3 10h18%22/%3E%3Cpath d=%22M9 15l2 2 4-4%22/%3E%3C/svg%3E");
}

.p-features__item--time::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234F9799%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5.5l3.5 2%22/%3E%3C/svg%3E");
}

.p-features__item--kids::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234F9799%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2213%22 r=%227.5%22/%3E%3Cpath d=%22M9.5 12h.01M14.5 12h.01%22/%3E%3Cpath d=%22M9.5 16c1.6 1.2 3.4 1.2 5 0%22/%3E%3Cpath d=%22M6 7c1-2.2 3.4-3.6 6-3.6S17 4.8 18 7%22/%3E%3C/svg%3E");
}

.p-features__item--parking::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234F9799%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%223.5%22 width=%2217%22 height=%2217%22 rx=%224%22/%3E%3Cpath d=%22M10 17V8h3.2a2.9 2.9 0 0 1 0 5.8H10%22/%3E%3C/svg%3E");
}

/* 一番長い項目も他と同じ見た目にする（※ユーザー指定） */
.p-features__item--pro::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234F9799%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 12.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z%22/%3E%3Cpath d=%22M4.5 20c.9-3.6 3.9-5.6 7.5-5.6s6.6 2 7.5 5.6%22/%3E%3C/svg%3E");
}

/* ==================================================================
 * 11. 768px 以上
 * ================================================================== */
@media (min-width: 768px) {
  .p-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .p-solution3 {
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(16px, 2vw, 28px);
    align-items: start;
  }

  /* 上段: 横長写真を全幅 */
  .p-solution3__main {
    grid-column: 1 / -1;
  }

  /* 下段: 左に小写真2枚（高さと位置をずらしてランダムに見せる）、右にテキスト群 */
  .p-solution3 .p-solution3__sub--a {
    grid-column: 1 / 5;
    margin-top: clamp(10px, 1.5vw, 26px);
  }

  /* .p-solution3 figure{margin:0} の方が詳細度が高く margin が消えるため、
     セレクタを1段強くしている */
  .p-solution3 .p-solution3__sub--b {
    grid-column: 5 / 8;
    align-self: start;
    margin-top: clamp(70px, 9vw, 140px);
    margin-left: clamp(-24px, -1.5vw, 0px);
  }

  .p-solution3__body {
    grid-column: 8 / 13;
    padding-left: clamp(8px, 1.5vw, 24px);
  }

  .p-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    padding: 24px 28px;
  }

  .p-features__item--pro {
    grid-column: 1 / -1;
  }
}

/* ==================================================================
 * 12. 1000px 以上（PC）
 * ================================================================== */
@media (min-width: 1000px) {
  /* FVの表示領域を 16:9 にする。絶対配置の画像の基準もここに置く */
  .p-hero--cover .p-hero__media {
    position: relative;
    /* ※ユーザー指定 */
    aspect-ratio: 20 / 9;
    overflow: hidden;
  }

  .p-hero--cover .p-hero__inner {
    height: 100%;
    /* 垂直中央をやめて上寄せにする */
    align-content: start;
    padding-top: clamp(24px, 3vw, 52px);
  }

  /* お悩み: 左に写真・右に8項目（※ユーザー指定の比率） */
  .p-worries--flyer {
    grid-template-columns: 1.5fr 1fr;
    gap: 44px;
  }

  /* FV: テキストと画像を 5:5。画像は画面の右端まで。
     コンテナ幅の制約は外し（max-width なし）、テキスト側だけ左に余白を取る。 */
  .p-hero--cover .p-hero__inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 0 0 0 clamp(20px, 3.2vw, 56px);
  }

  .p-hero--cover .p-hero__copy {
    padding: 18px 0;
  }

  .p-hero--cover .p-hero__title {
    /* 左カラム（画面の半分）いっぱいまで大きくする */
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
    line-height: 1.5;
  }

  .p-hero__locations {
    font-size: clamp(14px, 1.05vw, 17px);
  }

  .p-hero--cover .p-hero__tags {
    max-width: none;
    gap: 8px;
    margin-top: clamp(18px, 2vw, 30px);
  }

  .p-hero__photo {
    /* order は初期値のまま（テキスト→画像）。PCでは左テキスト・右画像になる */
    margin: 0;
    align-self: stretch;
  }

  /* 画像は絶対配置で右にはみ出させる（※ユーザー指定）。
     16:9 の枠に全体が収まるよう下端に合わせる */
  .p-hero__photo img,
  .p-hero__photo picture {
    display: block;
    height: auto;
    position: absolute;
    left: auto;
    right: -4vw;
    bottom: 0;
    top: auto;
    /* 画像内の焼き込みキャッチが左のテキストに重ならない幅に抑える */
    width: 62vw;
    z-index: 0;
  }

  /* 料金: メダル｜リボン＋メニュー＋通常価格 の2カラム */
  .p-priceMain__top {
    grid-template-columns: max-content auto;
    gap: 28px;
    justify-items: start;
    margin: 0 auto;
  }

  .p-priceMain__lead {
    text-align: left;
  }

  .p-priceMain__lead .c-ribbon {
    margin-inline: 0 auto;
  }

  .p-shops {
    grid-template-columns: repeat(3, 1fr); /* 2026-10-04: 3院に */
  }

  .p-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: start;
  }
}

/* ==================================================================
 * 13. 767px 以下（SP）
 * ================================================================== */
@media screen and (max-width: 767px) {
  /* SPは左右の余白を詰める（※ユーザー指定） */
  .l-container,
  .l-header {
    width: 100%;
    padding: 0 2vw;
    width: min(var(--container), calc(100% - 20px)) !important;
  }

  /* 解決: SPは小写真2枚を2カラムに（※ユーザー指定） */
  .p-solution3 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .p-solution3__main {
    grid-column: 1 / -1;
  }

  .p-solution3__sub--a {
    grid-column: 1;
  }

  .p-solution3__sub--b {
    grid-column: 2;
  }

  .p-solution3__sub--a,
  .p-solution3__sub--b {
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  .p-solution3__body {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  /* 施術の流れ（※ユーザー指定） */
  .p-flowStep {
    display: flex;
    align-items: baseline;
  }

  /* お悩みの注記（※ユーザー指定） */
  .p-worries__note {
    width: 100%;
    font-size: 1em;
  }

  /* CTAの「＼初回1,980円で予約する／」が折り返して ／ だけ下に落ちるのを防ぐ。
     1行固定にして、狭い画面では文字を縮める。 */
  .p-cta__label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
    font-size: min(1.5rem, 4vw);
  }

  .p-cta__labelBracket {
    flex: 0 0 auto;
  }

  /* CTAの院ブロックは1列に（※ユーザー指定） */
  .p-cta__clinics {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  /* FV: SPは中央揃え（※ユーザー指定） */
  .p-hero--cover .p-hero__copy {
    text-align: center;
  }

  .p-hero--cover .p-hero__title {
    text-align: center;
    /* 画面幅に追従。iPhone(393px)で「マタニティ整体」が折り返さない上限に合わせている。
       明朝体は字幅が広いので、見た目の実寸で余裕を持たせること。 */
    font-size: min(6vw, 1.5rem) !important;
    line-height: 1.5;
  }

  /* 強調（マタニティ整体）はSPでは倍率を下げて1行に収める */
  .p-hero__title .p-hero__em {
    font-size: 1.6em;
  }

  .p-hero__locations {
    margin-left: auto;
    margin-right: auto;
  }

  /* FV: バッジは1行に収める。
     流用元に @media(max-width:480px){flex-direction:column} があるので
     row を明示し、区切り線も縦線に戻す（縦積みで巨大な楕円になっていた）。 */
  .p-hero__locations {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  .p-hero__locationsLabel,
  .p-hero__locationsAreas {
    white-space: nowrap;
  }

  .p-hero__locationsDivider {
    flex: 0 0 auto;
    width: 1px;
    height: 12px;
    margin: 0;
  }

  /* FVの画像は左右・下の余白をなくして画面幅いっぱいに */
  .p-hero__photo {
    width: calc(100% + 40px);
    margin: 12px -20px 0;
  }

  .p-hero--cover .p-hero__inner {
    padding-bottom: 0;
  }

  /* FV: タグは2列（3列だと画面からはみ出す） */
  .p-hero__tags {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 16px;
  }

  .p-hero__tags li {
    padding: 6px 10px;
    font-size: 1.5rem;
  }

  .p-hero--cover .p-hero__inner {
    padding-top: 4px;
  }

  .p-hero__photo {
    margin-top: 12px;
  }

  .c-worryCheck {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    min-height: 76px;
    padding: 14px 40px 14px 14px;
  }

  .c-worryCheck::before {
    width: 46px;
    height: 46px;
    background-size: 26px 26px;
  }

  /* ※ユーザー指定 */
  .c-ribbon {
    padding: 8px 26px;
    font-size: 1.2rem;
  }

  .c-medal {
    width: 88px;
    height: 88px;
  }

  .c-medal__inner em {
    font-size: 12px;
  }

  .c-medal__inner strong {
    font-size: 25px;
  }

  .c-medal--lg {
    width: 150px;
    height: 150px;
  }

  .c-medal--lg .c-medal__inner em {
    font-size: 18px;
  }

  .c-medal--lg .c-medal__inner strong {
    font-size: 40px;
  }

  /* 料金: SPは「初回限定 ＋ 74%OFFメダル」を1行目、価格を2行目に置く */
  /* ※ユーザー指定 */
  .p-priceMain__campaign {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 4px 10px;
    align-items: end;
  }

  .p-priceMain__label {
    grid-column: 1;
    grid-row: 1;
    padding: 6px 12px;
    font-size: 1.3rem;
  }

  .p-priceMain__off {
    grid-column: 2;
    grid-row: 1;
    width: 72px;
    height: 72px;
  }

  .p-priceMain__yen {
    grid-column: 1;
    grid-row: 2;
    font-size: 3.4rem;
  }

  .p-priceMain__tax {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  /* SPは全体的に大きすぎたので詰める */
  .p-priceMain__lead .c-priceBox__head {
    font-size: 1.8rem;
  }

  .p-priceMain__normal {
    font-size: 1.4rem;
  }

  .p-priceMain__normalYen,
  .p-priceMain__repeatYen {
    font-size: 1.8rem;
  }

  .p-priceMain__repeat {
    font-size: 1.4rem;
  }

  .p-priceMain__arrow {
    margin: 12px auto 10px;
    border-left-width: 13px;
    border-right-width: 13px;
    border-top-width: 15px;
  }

  .p-priceMain .c-priceBox__note {
    margin-top: 14px;
    font-size: 1.25rem;
    line-height: 1.8;
  }

  /* ※ユーザー指定 */
  .c-sectionHead__title {
    font-size: 1.38rem;
  }

  .c-sectionHead__title,
  .c-centerTitle {
    gap: 8px;
  }

  /* ※ユーザー指定 */
  .c-sectionHead__title::before,
  .c-sectionHead__title::after,
  .c-centerTitle::before,
  .c-centerTitle::after {
    width: 28px;
    height: 12px;
  }

  .p-features {
    gap: 8px;
  }

  /* ※ユーザー指定 */
  .p-features__item {
    padding: 10px 16px;
    font-size: 1.1rem;
    width: 100%;
  }
}
