/* =================================================================================
   基本設定 (Base)
================================================================================= */
:root {
  /* ---------- カラーパレット (Color Palette) ---------- */
  /* プライマリカラー */
  --color-navy: #0a2c4e;
  --color-rgb-navy: 10, 44, 78;
  --color-navy-gradient: #1a4a7c;

  /* アクセントカラー */
  --color-gold: #d4af37;
  --color-rgb-gold: 212, 175, 55;

  /* ニュートラルカラー */
  --color-white: #ffffff;
  --color-rgb-white: 255, 255, 255;
  --color-dark-gray: #333333;
  --color-gray: #aaa;
  --color-light-gray: #eee;

  /* 背景色 */
  --color-bg-light-navy: #f3f4f6;

  /* その他のカラー */
  --color-line-green: #06c755;
  --color-line-green-hover: #05b34c;
  --color-danger: #c00;
  --color-badge-text: #8c4a4a;
  --color-badge-star: #b38f2c;
  --color-rgb-black: 0, 0, 0;

  /* ---------- セマンティックカラー (Semantic Colors) ---------- */
  --color-text: var(--color-dark-gray);
  --color-text-inverse: var(--color-white);
  --color-bg-base: var(--color-white);
  --color-bg-alt: var(--color-bg-light-navy);
  --color-bg-card: var(--color-white);
  --color-rgb-card: var(--color-rgb-white);
  --color-border: var(--color-light-gray);

  /* ---------- タイポグラフィ (Typography) ---------- */
  --font-base: "Noto Sans JP", sans-serif;
  --font-en: "Poppins", sans-serif;

  /* ---------- UI要素 (UI Elements) ---------- */
  --border-radius-base: 8px;
  --border-radius-circle: 50%;
  --shadow-base: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-img: 0 4px 10px rgba(0, 0, 0, 0.1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--color-bg-base);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
}

/* =================================================================================
   レイアウト (Layout)
================================================================================= */
.l-section {
  padding: 60px 0;
}
.l-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =================================================================================
   コンポーネント (Component)
================================================================================= */

/* ---------- セクションヘッダー (c-section-header) ---------- */
.c-section-header {
  margin-bottom: 40px;
  text-align: center;
}
.c-section-header__en {
  display: block;
  margin-bottom: 8px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 15px;
}
.c-section-header__title {
  color: var(--color-navy);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.5;
}
.c-section-header__title span {
  display: inline-block;
}
.c-section-header__subtitle {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: normal;
}
.c-section-header__subtitle span {
  display: inline-block;
}

/* ---------- CTAボタン (c-cta-button) ---------- */
.c-cta-button {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 16px 40px 16px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-button);
  background: linear-gradient(90deg, var(--color-navy), var(--color-navy-gradient));
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease;
}
.c-cta-button::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}
.c-cta-button:hover {
  transform: scale(1.05);
}
.c-cta-button--line {
  background: var(--color-line-green);
}
.c-cta-button--line:hover {
  background: var(--color-line-green-hover);
}
.c-cta-button--white {
  border: 2px solid var(--color-navy);
  background: var(--color-bg-card);
  color: var(--color-navy);
}
.c-cta-button--white:hover {
  background: var(--color-navy);
  color: var(--color-bg-card);
}
.c-cta-button--small {
  padding: 10px 30px 10px 15px;
  font-size: 14px;
}
.c-cta-button--small::after {
  right: 12px;
  font-size: 20px;
}

/* ---------- ハイライト (c-highlight) ---------- */
.c-highlight {
  background: linear-gradient(transparent 60%, rgba(var(--color-rgb-gold), 0.5) 60%);
}

/* =================================================================================
   プロジェクト (Project)
================================================================================= */

/* 共通の背景パターン */
.p-problems,
.p-evidence,
.p-strengths,
.p-testimonials,
.p-access,
.p-faq__item,
.p-access__info-dt {
  background-image: linear-gradient(
    135deg,
    rgba(var(--color-rgb-white), 0.02) 25%,
    transparent 25%,
    transparent 50%,
    rgba(var(--color-rgb-white), 0.02) 50%,
    rgba(var(--color-rgb-white), 0.02) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
}

/* 同じ背景が続くセクション間の余白調整 */
.p-evidence + .p-strengths,
.p-strengths + .p-testimonials,
.p-strengths + .p-price,
.p-price + .p-testimonials {
  padding-top: 0;
}

/* ---------- FV Question (p-question-fv) ---------- */
.p-question-fv {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 0;
  background: var(--color-navy-gradient) url(../img/p-question-fv__bg.png) no-repeat center center;
  background-blend-mode: color-burn;
  background-size: cover;
  color: var(--color-text-inverse);
  font-family: var(--font-base);
  text-align: center;
}
.p-question-fv__title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
}
.p-question-fv__title-highlight {
  color: var(--color-gold);
}
.p-question-fv__title-break {
  display: inline-block;
}
.p-question-fv__subtitle {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.7;
}
.p-question-fv__subtitle-highlight {
  margin: 0 2px;
  padding: 2px 5px;
  border-radius: calc(var(--border-radius-base) / 2);
  background-color: var(--color-white);
  color: var(--color-dark-gray);
}

@media (min-width: 768px) {
  .p-question-fv__title {
    font-size: 28px;
  }
  .p-question-fv__subtitle {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ---------- FV (p-fv) ---------- */
.p-fv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  height: calc(100vh - 60px);
  height: calc(100svh - 60px);
  min-height: 660px;
  max-height: 760px;
  margin: 0 auto;
  background-image: url("../img/p-fv__visual__img.jpg?5");
  background-position: center;
  background-size: cover;
  color: var(--color-navy);
  text-align: center;
}
.p-fv--shadow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(var(--color-rgb-navy), 0.5) 0%,
    rgba(var(--color-rgb-navy), 0.4) 65%,
    transparent 100%
  );
}
.p-fv__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px 15px;
}
.p-fv__catchcopy {
  width: 100%;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-align: left;
  text-shadow:
    1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    0 2px 4px rgba(0, 0, 0, 0.4);
}
.p-question-fv__title-break {
  display: inline-block;
}
.p-fv__subcopy {
  width: 100%;
  margin-top: 10px;
  margin-bottom: auto;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  text-align: left;
  text-shadow: 0 1px 2px rgba(var(--color-rgb-black), 0.3);
}
.p-fv__subcopy-line {
  padding: 1px 5px;
  background-color: rgba(var(--color-rgb-black), 0.7);
}
.p-question-fv__subtitle-break {
  display: inline-block;
}
.p-fv__strengths {
  display: flex;
  gap: 10px;
  margin: 32px 0 16px;
}
.p-fv__strength-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 50%;
  box-shadow: none;
  background: url("../img/p-fv__strength-badge__bg.png") no-repeat center center;
  background-size: cover;
  color: var(--color-badge-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 0px rgba(var(--color-rgb-white), 0.3);
}
.p-fv__strengths--simple .p-fv__strength-badge {
  width: 100px;
  height: 100px;
  box-shadow: var(--shadow-base);
  background: rgba(var(--color-rgb-white), 0.7);
  color: var(--color-navy);
  font-size: 12px;
  text-shadow: none;
}
.p-fv__strength-badge-stars {
  position: absolute;
  top: 8px;
  left: 50%;
  color: var(--color-badge-star);
  font-size: 10px;
  text-shadow: 0 1px 1px rgba(var(--color-rgb-white), 0.4);
  letter-spacing: 0.2px;
  opacity: 0.7;
  transform: translateX(-50%);
}
.p-fv__strength-badge-stars--check {
  top: 3px;
  color: var(--color-gold);
  text-shadow: none;
  opacity: 1;
}
.p-fv__strength-badge-text {
  position: relative;
  top: -1px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}
.p-fv__strengths--simple .p-fv__strength-badge-text {
  top: 0;
}
.p-fv__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.p-fv__cta-lead {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.p-fv__scroll {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
}
.p-fv__scroll-arrow {
  width: 8px;
  height: 8px;
  margin: 8px auto 0;
  border-right: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: rotate(45deg);
  animation: bounce 2.5s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(8px) rotate(45deg);
  }
  60% {
    transform: translateY(4px) rotate(45deg);
  }
}

@media (min-width: 768px) {
  .p-fv {
    min-height: 760px;
  }
  .p-fv__inner {
    padding: 20px;
  }
}
@media (min-width: 480px) {
  .p-fv__catchcopy {
    font-size: 36px;
  }
  .p-fv__subcopy {
    font-size: 18px;
  }
}

/* ---------- 課題 (p-problems) ---------- */
.p-problems {
  background-color: var(--color-bg-alt);
}
.p-problems__list {
  max-width: 500px;
  margin: 0 auto;
  list-style: none;
}
.p-problems__item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
  background-color: var(--color-bg-card);
  font-weight: 700;
}
.p-problems__item::before {
  content: "✘";
  flex-shrink: 0;
  margin-top: 4px;
  margin-right: 4px;
  color: var(--color-gold);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}

/* ---------- 解決策 (p-solution) ---------- */
.p-solution {
  text-align: center;
}
.p-solution__message {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}
.p-solution__message--em {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-style: wavy;
  text-decoration-thickness: 1.2px;
  text-underline-offset: 4px;
}
.p-solution__agitation {
  margin-top: 16px;
  color: var(--color-danger);
  font-weight: 700;
}
.p-solution__lead {
  margin: 24px 0 40px;
  font-weight: 700;
}
.p-solution__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.p-solution__benefit-item {
  padding: 20px;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-card);
}
.p-solution__benefit-img {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  border: 4px solid var(--color-bg-alt);
  border-radius: 50%;
  box-shadow: var(--shadow-img);
  object-fit: cover;
}
.p-solution__benefit-title {
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 700;
}
.p-solution__benefit-text {
  margin-top: 8px;
  font-size: 14px;
  text-align: left;
}

/* ---------- 証拠 (p-evidence) ---------- */
.p-evidence {
  background-color: var(--color-bg-alt);
}
.p-evidence__gallery {
  display: grid;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}
.p-evidence__item {
  overflow: hidden;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
  background-color: var(--color-bg-card);
}
.p-evidence__images {
  display: flex;
  gap: 2px;
}
.p-evidence__image-box {
  position: relative;
  flex: 1 1 50%;
  margin: 0;
}
.p-evidence__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-evidence__image-box figcaption {
  position: absolute;
  top: 10px;
  padding: 0.25rem 0.45rem;
  border-radius: calc(var(--border-radius-base) / 2);
  background-color: rgba(var(--color-rgb-navy), 0.7);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.p-evidence__image-box:first-of-type figcaption {
  left: 10px;
}
.p-evidence__image-box:last-of-type figcaption {
  right: 10px;
}
.p-evidence__caption {
  padding: 16px;
  font-weight: 700;
  text-align: center;
}
.p-evidence__caption span {
  display: inline-block;
}

/* ---------- 導入事例 (p-case ---------- */
.p-case {
  background-color: var(--color-bg-alt);
}
.p-case__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.p-case__card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  background-color: var(--color-white);
}
.p-case__card-header {
  margin-bottom: 16px;
  text-align: center;
}
.p-case__card-title {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
}
.p-case__card-subtitle {
  color: var(--color-gold);
  font-size: 16px;
  font-weight: 700;
}
.p-case__card-body {
  margin-bottom: 16px;
}
.p-case__card-text {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}
.p-case__card-comment {
  margin-bottom: 8px;
  color: #555;
  font-style: italic;
}
.p-case__card-person {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.p-case__card-img-wrapper {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}
.p-case__card-img {
  width: 150px;
  height: 150px;
  border: 4px solid var(--color-light-gray);
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .p-case__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 強み (p-strengths) ---------- */
.p-strengths {
  background-color: var(--color-bg-alt);
}
.p-strengths__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}
.p-strengths__item:last-child {
  margin-bottom: 0;
}
.p-strengths__item-img img {
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
}
.p-strengths__item-body {
  text-align: center;
}
.p-strengths__item-reason {
  display: block;
  margin-bottom: 4px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.p-strengths__item-title {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--color-gold);
  font-size: 20px;
  font-weight: 700;
}
.p-strengths__item-title span {
  display: inline-block;
}
.p-strengths__item-text {
  text-align: left;
}

@media (min-width: 768px) {
  .p-strengths__item {
    flex-direction: row;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
  }
  .p-strengths__item--reverse {
    flex-direction: row-reverse;
  }
  .p-strengths__item-img {
    flex-shrink: 0;
    width: 50%;
  }
  .p-strengths__item-body {
    width: 50%;
    text-align: left;
  }
  .p-strengths__item-title {
    text-align: left;
  }
}

/* ---------- 料金プラン (p-price) ---------- */
.p-price {
  background-color: var(--color-bg-alt);
}
.p-price__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.p-price__item {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  background-color: var(--color-white);
  text-align: center;
}
.p-price__item-title {
  margin-bottom: 20px;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 700;
}
.p-price__item-price {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}
.p-price__item-price span {
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 40px;
}
.p-price__item-features {
  margin-bottom: 30px;
  text-align: left;
  list-style: none;
}
.p-price__item-features li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
  font-size: 15px;
}
.p-price__item-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}
.p-price__item-cta {
  margin-top: auto;
  padding-top: 20px;
}
.p-price__note {
  font-size: 14px;
  text-align: center;
  opacity: 0.8;
}

/* ---------- お客様の声 (p-testimonials) ---------- */
.p-testimonials {
  background-color: var(--color-bg-alt);
}
.p-testimonials__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.p-testimonials__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-card);
  text-align: center;
}
.p-testimonials__img-wrapper {
  position: relative;
  margin-bottom: 16px;
}
.p-testimonials__img {
  width: 100px;
  height: 100px;
  padding: 3px;
  border: 3px solid var(--color-gold);
  border-radius: 45% 55% 60% 40% / 60% 40% 55% 45%;
  transition: border-radius 0.3s ease;
  object-fit: cover;
}
.p-testimonials--simple .p-testimonials__img {
  border-radius: 100vmax;
}
.p-testimonials__img:hover {
  border-radius: 50%;
}
.p-testimonials__body {
  position: relative;
}
.p-testimonials__text {
  position: relative;
  margin-bottom: 16px;
  padding: 0 1em;
  text-align: left;
}
.p-testimonials__text::before {
  content: "“";
  position: absolute;
  top: -0.2em;
  left: 0;
  color: var(--color-gold);
  font-size: 3em;
  line-height: 1;
  opacity: 0.5;
}
.p-testimonials__profile {
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .p-testimonials__card {
    flex-direction: row;
    gap: 24px;
    text-align: left;
  }
  .p-testimonials__img-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* ---------- 信頼 (p-trust) ---------- */
.p-trust {
  overflow: hidden;
  background-color: var(--color-navy);
  color: var(--color-white);
}
.p-trust__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.p-trust__img,
.p-trust__body {
  position: relative;
  z-index: 1;
}
.p-trust__img {
  width: 100%;
  max-width: 350px;
}
.p-trust__img img {
  border-radius: var(--border-radius-base);
}
.p-trust__body {
  text-align: center;
}
.p-trust__body .c-section-header {
  margin-bottom: 24px;
}
.p-trust .c-section-header__en {
  color: var(--color-gold);
}
.p-trust .c-section-header__title {
  background: none;
  color: var(--color-white);
}
.p-trust__body p {
  color: rgba(var(--color-rgb-white), 0.9);
  text-align: left;
}

@media (min-width: 768px) {
  .p-trust__content {
    flex-direction: row;
    gap: 50px;
  }
  .p-trust__img {
    flex-shrink: 0;
    width: 40%;
  }
  .p-trust__body {
    width: 60%;
    text-align: left;
  }
  .p-trust__body .c-section-header {
    text-align: left;
  }
}

/* ---------- アクセス (p-access) ---------- */
.p-access {
  background-color: var(--color-bg-alt);
}
.p-access__map {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  padding-top: 55%;
  overflow: hidden;
  border-radius: var(--border-radius-base);
}
.p-access__map:has(img) {
  padding-top: 0;
}
.p-access__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-access__map img {
  width: 100%;
  height: auto;
}
.p-access__info-list {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-base);
}
.p-access__info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
}
.p-access__info-row:last-child {
  border-bottom: none;
}
.p-access__info-dt {
  padding: 16px;
  background-color: var(--color-bg-alt);
  font-weight: 700;
}
.p-access__info-dd {
  margin: 0;
  padding: 16px;
}

/* ---------- 最終CTA (p-final-cta) ---------- */
.p-final-cta {
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
}
.p-final-cta .c-section-header__en {
  color: var(--color-gold);
}
.p-final-cta .c-section-header__title {
  background: none;
  color: var(--color-white);
}
.p-final-cta__price-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 30px 20px;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-card);
  color: var(--color-text);
}
.p-final-cta__price-box::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 2px dashed var(--color-gold);
  border-radius: calc(var(--border-radius-base) / 2);
}
.p-final-cta__price-lead {
  font-weight: 700;
}
.p-final-cta__price-title {
  margin: 12px 0;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.p-final-cta__price-title span {
  display: block;
}
.p-final-cta__price-text {
  font-size: 15px;
  line-height: 1.6;
}
.p-final-cta__price-text span {
  display: inline-block;
}
.p-final-cta__price {
  font-size: 20px;
  font-weight: 700;
}
.p-final-cta__price--em {
  margin: 0 8px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 48px;
}
.p-final-cta__price-note {
  font-size: 14px;
}
.p-final-cta__price-remarks {
  font-size: 12px;
  opacity: 0.8;
}
.p-final-cta__cta {
  margin: 0;
}
.p-final-cta__cta-lead {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.p-final-cta__limited-offer {
  margin-top: 12px;
  color: var(--color-gold);
  font-weight: 700;
}
.p-final-cta__cta-note {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

@keyframes cta-glow {
  0% {
    box-shadow:
      0 4px 15px rgba(var(--color-rgb-black), 0.2),
      0 0 5px rgba(var(--color-rgb-gold), 0.5),
      0 0 10px rgba(var(--color-rgb-gold), 0.3);
  }
  50% {
    box-shadow:
      0 4px 25px rgba(var(--color-rgb-black), 0.3),
      0 0 20px rgba(var(--color-rgb-gold), 0.8),
      0 0 30px rgba(var(--color-rgb-gold), 0.5);
  }
  100% {
    box-shadow:
      0 4px 15px rgba(var(--color-rgb-black), 0.2),
      0 0 5px rgba(var(--color-rgb-gold), 0.5),
      0 0 10px rgba(var(--color-rgb-gold), 0.3);
  }
}
.p-final-cta .c-cta-button {
  animation: cta-glow 2.5s infinite ease-in-out;
}
.p-final-cta .c-cta-button {
  border: 2px solid var(--color-gold);
}

@media (min-width: 768px) {
  .p-final-cta__price-title span {
    display: inline;
  }
}

/* ---------- FAQ (p-faq) ---------- */
.p-faq {
  background-color: var(--color-bg-base);
}
.p-faq__list {
  max-width: 700px;
  margin: 0 auto;
}
.p-faq__item {
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-base);
  background: var(--color-bg-alt);
}
.p-faq__q {
  position: relative;
  padding: 16px 40px 16px 16px;
  font-size: 16px;
  cursor: pointer;
}
.p-faq__q::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-weight: 700;
}
.p-faq__q::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--color-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  transform: translateY(-50%);
}
.p-faq__item.is-open .p-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.p-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.p-faq__a p {
  padding: 0 16px 16px;
}
.p-faq__a p::before {
  content: "A.";
  margin-right: 8px;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-weight: 700;
}

/* ---------- フッター (p-footer) ---------- */
.p-footer {
  padding: 30px 20px 90px;
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  text-align: center;
}
.p-footer__nav {
  margin-bottom: 16px;
}
.p-footer__link {
  color: var(--color-white);
  font-size: 12px;
  text-decoration: underline;
}
.p-footer__link:hover {
  text-decoration: none;
}
.p-footer__copyright {
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- スティッキーフッター (p-sticky-footer) ---------- */
.p-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  padding: 10px 20px 5px;
  background: linear-gradient(
    to top,
    rgba(var(--color-rgb-card), 1) 0%,
    rgba(var(--color-rgb-card), 0.95) 82%,
    rgba(var(--color-rgb-card), 0) 100%
  );
  pointer-events: none;
}
.p-sticky-footer .c-cta-button {
  pointer-events: auto;
}
.p-sticky-footer__button {
  max-width: none;
  max-width: 770px;
}

@media (min-width: 768px) {
  .p-sticky-footer__line-button {
    font-size: 16px;
  }
}

/* ---------- 離脱防止ポップアップ (p-exit-popup) ---------- */
.p-exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--color-rgb-black), 0.7);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.p-exit-popup-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.p-exit-popup {
  position: relative;
  width: 90%;
  max-width: 450px;
  padding: 30px 20px;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-card);
  text-align: center;
  transition: transform 0.3s ease;
  transform: scale(0.95);
}
.p-exit-popup-overlay:not(.is-hidden) .p-exit-popup {
  transform: scale(1);
}
.p-exit-popup__close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  color: var(--color-gray);
  font-size: 28px;
  cursor: pointer;
}
.p-exit-popup__title {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 24px;
}
.p-exit-popup__text {
  margin-bottom: 20px;
}
.p-exit-popup__offer {
  margin-bottom: 24px;
  padding: 20px;
  border: 2px dashed var(--color-gold);
  border-radius: var(--border-radius-base);
  background-color: var(--color-bg-alt);
}
.p-exit-popup__discount {
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
}
.p-exit-popup__code {
  padding: 2px 8px;
  border-radius: calc(var(--border-radius-base) / 2);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-en);
}
.p-exit-popup__cta {
  margin: 0 auto;
}
.p-exit-popup__text--on-leave,
.p-exit-popup__text--on-scroll-up {
  display: none;
}

/* ---------- 下層ページ (p-page) ---------- */
.p-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.p-page-title {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-bg-alt);
  font-size: 24px;
  text-align: center;
}
.p-page-back-link {
  padding: 20px 0 40px;
  text-align: center;
}
.p-page-back-link a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- 特商法ページ (p-tokusho) ---------- */
.p-tokusho__list {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-base);
}
.p-tokusho__list dt {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  font-weight: 700;
}
.p-tokusho__list dd {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-base);
}
.p-tokusho__list dt:last-of-type,
.p-tokusho__list dd:last-of-type {
  border-bottom: none;
}

/* ---------- 施術の流れ (p-flow) ---------- */
.p-flow {
  background-color: var(--color-bg-base);
}
.p-flow__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px; /* スマホでの矢印分のマージンを考慮 */
  max-width: 420px; /* スマホでの最大幅を制限 */
  margin: 0 auto; /* 中央揃え */
}
.p-flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-card);
  text-align: center;
}
/* スマホ用の下向き矢印 */
.p-flow__item:not(:last-child)::after {
  content: "▼";
  position: absolute;
  bottom: -32px; /* アイテムの下外側に配置 */
  left: 50%;
  color: var(--color-gold);
  font-size: 20px;
  transform: translateX(-50%);
}
.p-flow__item-head {
  margin-bottom: 12px;
}
.p-flow__item-step {
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
}
.p-flow__item-icon {
  margin: 8px 0;
}
/* アイコン画像を丸くする */
.p-flow__item-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-bg-alt);
}
.p-flow__item-title {
  color: var(--color-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.p-flow__item-body {
  margin-top: auto;
  padding-top: 12px;
}
.p-flow__item-text {
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* PC用のスタイル */
@media (min-width: 1024px) {
  .p-flow__list {
    display: flex;
    gap: 0;
    align-items: stretch; /* 高さを揃える */
    justify-content: space-between;
    max-width: none; /* PCでは最大幅の制限を解除 */
  }
  .p-flow__item {
    width: 22%;
  }
  /* PC用の横向き矢印 */
  .p-flow__item:not(:last-child)::after {
    content: "▶";
    top: 50%;
    right: -28px;
    bottom: auto; /* スマホ用のスタイルをリセット */
    left: auto; /* スマホ用のスタイルをリセット */
    font-size: 24px;
    transform: translateY(-50%);
  }
}
