/* ============================================================
   Foundation
   ============================================================ */

:root {
  /* カラー */
  --color-primary: #F26215;
  --color-primary-hover: #d9560f;
  --color-green: #32B14A;
  --color-green-hover: #2a9a3f;
  --color-text: #222;
  --color-text-light: #555;
  --color-bg: #fff;
  --color-bg-sub: #F8F6F2;
  --color-bg-light: #F5F5F5;
  --color-border: #E0E0E0;
  /* フォント */
  --font-family-base: "M PLUS 1", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* フォントサイズ */
  --fz-hero: clamp(1.75rem, 4vw, 2.75rem);
  --fz-heading: clamp(1.375rem, 3vw, 2rem);
  --fz-subheading: clamp(1.125rem, 2vw, 1.5rem);
  --fz-body: clamp(0.875rem, 1.2vw, 1rem);
  --fz-small: clamp(0.75rem, 1vw, 0.875rem);

  /* レイアウト */
  --section-padding: clamp(3rem, 8vw, 5rem);
  --container-width: 1100px;
  --container-padding: clamp(1rem, 4vw, 2rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--fz-body);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

/* ============================================================
   Layout
   ============================================================ */

.l-container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ---- Header ---- */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #231815;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Footer ---- */
.l-footer {
  color: #fff;
  background-color: #231815;
  padding-bottom: 100px;
}

.l-footer__inner {
  padding-top: 48px;
  padding-bottom: 40px;
  text-align: center;
}

.l-footer__bottom {
  background-color: #1a110f;
  padding: 20px 16px;
  text-align: center;
}

.l-footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Component
   ============================================================ */

/* ---- Section Title ---- */
.c-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.c-section-title__text {
  display: inline-block;
  font-size: var(--fz-heading);
  font-weight: 700;
  border-bottom: 3px solid var(--color-primary);
}

.c-section-title--orange .c-section-title__text {
  color: var(--color-primary);
}

/* ---- Button ---- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 0;
  font-weight: 700;
  font-size: var(--fz-body);
  transition: background-color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.c-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.c-btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

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

.c-btn--phone {
  background-color: var(--color-green);
  color: #fff;
}

.c-btn--phone:hover {
  background-color: var(--color-green-hover);
}

.c-btn--line {
  background-color: var(--color-green);
  color: #fff;
}

.c-btn--line:hover {
  background-color: var(--color-green-hover);
}

.c-btn--sm {
  padding: 8px 16px;
  font-size: var(--fz-small);
}

.c-btn--lg {
  padding: 18px 32px;
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
}

.c-btn--full {
  display: flex;
  width: 100%;
}

.c-btn--half {
  flex: 1;
  display: flex;
}

.c-btn__icon {
  flex-shrink: 0;
}

.c-btn__arrow {
  flex-shrink: 0;
  margin-left: auto;
}

.c-btn__text-main {
  flex: 1;
}

/* ============================================================
   Project
   ============================================================ */

/* ---- Header ---- */
.header__logo {
  padding: 8px 16px;
}

.header__logo-link {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 100px;
  width: auto;
}

.header__cta {
  display: none;
  gap: 0;
  align-self: stretch;
}

.header__cta .c-btn {
  justify-content: flex-start;
  padding: 0 20px;
  font-size: 0.875rem;
  height: 100%;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  padding: 80px 24px 40px;
  transition: right 0.3s ease;
  z-index: 105;
  overflow-y: auto;
}

.header__nav.is-open {
  right: 0;
}

.header__nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #333;
}

.header__nav-close-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
}

.header__nav-close-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__nav-close-line:nth-child(2) {
  transform: translateY(5px) rotate(-45deg);
}

.header__nav-close-text {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
  color: #555;
}

.header__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__nav-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 0.9375rem;
}

.header__nav-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header__nav-cta .c-btn--phone {
  background-color: var(--color-primary);
}

.header__nav-cta .c-btn--phone:hover {
  background-color: var(--color-primary-hover);
}

/* ---- Hero ---- */
.p-hero {
  position: relative;
  margin-top: 116px;
  overflow: hidden;
}

.p-hero__bg {
  position: relative;
  z-index: 0;
}

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

.p-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 32px var(--container-padding);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.p-hero__content {
  max-width: 520px;
}

.p-hero__license {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 8px;
  background-color: rgba(0, 0, 0, 0.55);
  display: inline-block;
  padding: 6px 12px;
}

.p-hero__title {
  font-size: clamp(2.5rem, 8vw, 3.4375rem);
  font-weight: 800;
  line-height: 1.145;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.p-hero__subtitle {
  font-size: clamp(1.25rem, 3.5vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.p-hero__description {
  font-size: clamp(1.125rem, 3vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 16px;
  background-color: rgba(0, 0, 0, 0.55);
  display: inline-block;
  padding: 6px 12px;
}

.p-hero__badges {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  align-items: flex-start;
}

.p-hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 240px;
  padding: 12px 24px;

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  border-radius: 0;
}

.p-hero__badge--blue {
  background-color: #2972C6;
}

.p-hero__badge--red {
  background-color: #C7494B;
}

.p-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.p-hero__cta .c-btn {
  max-width: 320px;
  justify-content: flex-start;
}

.p-hero__cta .c-btn--primary {
  background-color: rgba(242, 98, 21, 0.9);
}

.p-hero__cta .c-btn--primary:hover {
  background-color: rgba(217, 86, 15, 0.95);
}

.p-hero__cta .c-btn--line {
  background-color: rgba(50, 177, 74, 0.9);
}

.p-hero__cta .c-btn--line:hover {
  background-color: rgba(42, 154, 63, 0.95);
}

/* ---- Hero SP CTA (MV下ボタン) ---- */
.p-hero-sp-cta {
  display: block;
  padding-bottom: 88px;
  background-color: #F4F2F2;
}

.p-hero-sp-cta__badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.p-hero-sp-cta__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.p-hero-sp-cta__badge--blue {
  background-color: #2972C6;
}

.p-hero-sp-cta__badge--red {
  background-color: #C7494B;
}

.p-hero-sp-cta__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.p-hero-sp-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.p-hero-sp-cta__btn--primary {
  background-color: var(--color-primary);
}

.p-hero-sp-cta__btn--primary:hover {
  background-color: var(--color-primary-hover);
}

.p-hero-sp-cta__btn--line {
  background-color: var(--color-green);
}

.p-hero-sp-cta__btn--line:hover {
  background-color: var(--color-green-hover);
}

.p-hero-sp-cta__icon {
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .p-hero-sp-cta__badges {
    grid-template-columns: 1fr 1fr;
  }

  .p-hero-sp-cta__buttons {
    grid-template-columns: 1fr 1fr;
  }
}

/* SP時: PC用バッジ・CTAを非表示 */
.p-hero__badges {
  display: none;
}

.p-hero__cta {
  display: none;
}

/* ---- Intro ---- */
.p-intro {
  padding: 0 0 var(--section-padding);
  background-color: #F4F2F2;
}

.p-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-intro__image {
  margin-top: calc(-1 * var(--section-padding));
  margin-inline: calc(-1 * var(--container-padding));
}

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

.p-intro__title {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.p-intro__text {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 2;
}

.p-intro__staff {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-intro__staff-role {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 4px;
}

.p-intro__staff-name {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.p-intro__staff-profile {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ---- Results ---- */
.p-results {
  padding: var(--section-padding) 0;
}

.p-results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}

.p-results__card {
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
}

.p-results__card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-results__card-body {
  padding: 8px 0 0;
  text-align: center;
}

.p-results__card-name {
  font-size: var(--fz-small);
  font-weight: 500;
  margin-bottom: 4px;
}

.p-results__card-price {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--color-primary);
}

.p-results__card-yen {
  font-size: 0.75rem;
  font-weight: 700;
}

.p-results__card-note {
  font-size: 0.75rem;
  color: var(--color-text);
  margin-top: 4px;
}

.p-results__card-info {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ---- Reasons ---- */
.p-reasons {
  padding: var(--section-padding) 0;
  background-color: #F4F2F2;
}

.p-reasons__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.p-reasons__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-reasons__item-image {
  width: 100%;
  margin-inline: calc(-1 * var(--container-padding));
  width: calc(100% + 2 * var(--container-padding));
}

.p-reasons__item-image img {
  width: 100%;
  height: auto;
}

.p-reasons__item-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.p-reasons__item-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

.p-reasons__item-subheading {
  font-size: var(--fz-body);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.p-reasons__item-text {
  line-height: 1.9;
}

/* ---- CTA Middle ---- */
.p-cta-middle {
  padding: 0;
  background-color: #F4F2F2;
}

.p-cta-middle__inner {
  text-align: center;
}

.p-cta-middle__label {
  font-size: clamp(1rem, 3vw, 1.875rem);
  font-weight: 700;
  padding: 16px 16px 0;
  margin-bottom: 0;
  color: var(--color-text);
}

.p-cta-middle .c-btn--primary {
  background-color: var(--color-primary);
  font-size: clamp(0.95rem, 3.5vw, 2.125rem);
  padding: 24px clamp(12px, 3vw, 40px);
  text-align: left;
}

.p-cta-middle .c-btn--primary .c-btn__arrow {
  width: clamp(32px, 8vw, 56px);
  height: clamp(32px, 8vw, 56px);
}

.p-cta-middle .c-btn__text-accent {
  font-size: clamp(1.25rem, 5vw, 2.75rem);
  font-weight: 800;
}

.p-cta-middle .c-btn--primary:hover {
  background-color: var(--color-primary-hover);
}

/* ---- Condition ---- */
.p-condition {
  padding: var(--section-padding) 0;
  background-color: #F4F2F2;
}

.p-condition__heading-box {
  margin-bottom: 32px;
  text-align: center;
}

.p-condition__title {
  font-size: clamp(1.75rem, 4vw, 2.4375rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 0;
}

.p-condition__subtitle {
  color: var(--color-text);
  font-size: 1.3125rem;
  font-weight: 700;
}

.p-condition__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.p-condition__item-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-condition__item-caption {
  font-size: var(--fz-small);
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.5;
}

/* ---- Appeal ---- */
.p-appeal {
  background-color: var(--color-bg-sub);
  padding: 40px 0 0;
}

.p-appeal__inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}

.p-appeal__img {
  width: clamp(160px, 30vw, 240px);
  flex-shrink: 0;
  object-fit: cover;
}

.p-appeal__content {
  align-self: center;
}

.p-appeal__text {
  font-size: clamp(1rem, 2.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.p-appeal__highlight {
  font-size: clamp(1rem, 2.5vw, 1.625rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.4;
}

/* ---- Flow ---- */
.p-flow {
  padding: var(--section-padding) 0;
}

.p-flow__list {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-inline: auto;
}

.p-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.p-flow__step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
}

.p-flow__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
}

.p-flow__step-heading {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.2;
}

.p-flow__step-text {
  font-size: var(--fz-body);
  color: var(--color-text-light);
  line-height: 1.3;
}

.p-flow__step-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

/* ---- FAQ ---- */
.p-faq {
  padding: var(--section-padding) 0;
  background-color: #F4F2F2;
}

.p-faq__list {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-inline: auto;
  gap: 40px;
}

.p-faq__item-question {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.p-faq__item-q {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--color-text);
  flex-shrink: 0;
}

.p-faq__item-q-text {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--color-primary);
  font-weight: 700;
}

.p-faq__item-answer {
  color: var(--color-text);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
}

/* ---- About ---- */
.p-about {
  padding: var(--section-padding) 0;
}

.p-about__image {
  margin-bottom: 32px;
  margin-inline: calc(-1 * var(--container-padding));
}

.p-about__img {
  width: 100%;
  height: auto;
}

.p-about__message {
  text-align: center;
  line-height: 2.2;
  font-size: var(--fz-body);
  font-weight: 700;
}

/* ---- Company ---- */
.p-company {
  padding: var(--section-padding) 0;
}

.p-company__name {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 900;
  margin-bottom: 4px;
}

.p-company__department {
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.6;
}

.p-company__table {
  max-width: 700px;
  margin-inline: auto;
}

.p-company__table-row {
  padding: 24px clamp(24px, 15vw, 140px);
  border-bottom: 1px dashed var(--color-border);
}

.p-company__table-label {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.p-company__table-value {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.6;
}

/* ---- CTA Closing ---- */
.p-cta-closing {
  padding: var(--section-padding) 0;
}

.p-cta-closing__inner {
  text-align: center;
}

.p-cta-closing__message {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.8;
  margin-bottom: 32px;
}

.p-cta-closing__highlight {
  color: var(--color-primary);
}

.p-cta-closing__label {
  font-size: clamp(1rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.p-cta-closing .c-btn--primary {
  background-color: #F24815;
  font-size: clamp(0.95rem, 3.5vw, 2.125rem);
  padding: 24px clamp(12px, 3vw, 40px);
  margin-inline: calc(-1 * var(--container-padding));
  width: calc(100% + 2 * var(--container-padding));
  margin-bottom: 0;
  text-align: left;
}

.p-cta-closing .c-btn--primary .c-btn__arrow {
  width: clamp(32px, 8vw, 56px);
  height: clamp(32px, 8vw, 56px);
}

.p-cta-closing .c-btn__text-accent {
  font-size: clamp(1.25rem, 5vw, 2.75rem);
  font-weight: 800;
}

.p-cta-closing .c-btn--primary:hover {
  background-color: #d93d0f;
}

.p-cta-closing .c-btn--phone {
  background-color: #F26215;
}

.p-cta-closing .c-btn--phone:hover {
  background-color: #d9560f;
}

.p-cta-closing__buttons {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  margin-inline: calc(-1 * var(--container-padding));
  width: calc(100% + 2 * var(--container-padding));
}

.p-cta-closing__buttons .c-btn--half {
  flex: 1;
  font-size: clamp(0.95rem, 3.5vw, 2.125rem);
  padding: 24px clamp(12px, 3vw, 40px);
  justify-content: center;
}

.p-cta-closing__buttons .c-btn__arrow {
  width: clamp(32px, 8vw, 56px);
  height: clamp(32px, 8vw, 56px);
}

/* ---- Footer ---- */
.footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 100px;
  width: auto;
}

.footer__info {
  font-size: var(--fz-body);
  line-height: 1.5;
  color: #fff;
  font-weight: 700;
}

.footer__address {
  margin-bottom: 16px;
}

.footer__contact {
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer__nav-link {
  color: #fff;
  font-size: var(--fz-body);
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.footer__nav-link:hover {
  opacity: 0.7;
}

/* ---- Fixed Banner (SP) ---- */
.p-fixed-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.p-fixed-banner__inner {
  position: relative;
  width: 100%;
}

.p-fixed-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* 透明タップエリア：画像の上に重ねる */
.p-fixed-banner__btn {
  position: absolute;
  top: 0;
  height: 100%;
  display: block;
  z-index: 1;
}

/* 左半分 = 電話（画像に合わせて約55%） */
.p-fixed-banner__btn--tel {
  left: 0;
  width: 55%;
}

/* 右半分 = LINE（残り約45%） */
.p-fixed-banner__btn--line {
  right: 0;
  width: 45%;
}

/* ============================================================
   Utility
   ============================================================ */

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

.u-pc-only {
  display: none;
}


/* ---- Overlay (SP Nav) ---- */
.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* SP用余白（固定バナー分）→ フッター背景で覆う */
body {
  padding-bottom: 0;
}

/* ============================================================
   Responsive — PC (768px〜)
   ============================================================ */

@media (min-width: 768px) {
  /* --- Utility --- */
  .u-sp-only {
    display: none;
  }

  .u-pc-only {
    display: inline;
  }

  body {
    padding-bottom: 0;
  }

  .l-footer {
    padding-bottom: 0;
  }

  /* --- Header --- */
  .header__cta {
    display: flex;
  }

  .header__hamburger {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    display: none;
  }

  /* --- Hero --- */
  .p-hero {
    margin-top: 116px;
    min-height: calc(100vh - 116px);
    display: flex;
    align-items: stretch;
  }

  .p-hero__bg {
    position: absolute;
    inset: 0;
  }

  .p-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .p-hero__inner {
    position: relative;
    inset: auto;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-end;
    justify-content: space-between;
    padding: 32px var(--container-padding);
  }

  .p-hero__license {
    font-size: 0.8125rem;
    margin-bottom: 0;
  }

  .p-hero__title {
    font-size: clamp(1.75rem, 5vw, 3.4375rem);
  }

  .p-hero__subtitle {
    font-size: clamp(0.9375rem, 1.8vw, 1.1875rem);
  }

  .p-hero__description {
    font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  }

  .p-hero__content {
    flex: 0 1 auto;
  }

  .p-hero__badges {
    display: flex;
    margin-bottom: 0;
  }

  .p-hero__cta {
    display: flex;
    flex: 0 0 auto;
    align-self: flex-end;
    margin-top: 0;
  }

  .p-hero__cta .c-btn {
    max-width: none;
    width: 280px;
  }

  /* SP用ボタンをPC時に非表示 */
  .p-hero-sp-cta {
    display: none;
  }

  /* --- Intro --- */
  .p-intro__inner {
    flex-direction: row;
    gap: 48px;
  }

  .p-intro__image {
    flex: 0 0 50%;
    align-self: stretch;
    margin-top: 0;
    margin-inline: 0;
  }

  .p-intro__content {
    flex: 1;
  }

  /* --- Results --- */
  .p-results__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* --- Reasons --- */
  .p-reasons__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .p-reasons__item-image {
    flex: 0 0 55%;
    margin-inline: 0;
    width: auto;
  }

  .p-reasons__item-content {
    flex: 1;
  }


  /* --- CTA Middle --- */
  .p-cta-middle {
    padding: 40px 0;
  }

  .p-cta-middle__label {
    padding: 0;
    margin-bottom: 16px;
  }

  .p-cta-middle .c-btn--primary {
    text-align: center;
  }

  /* --- CTA Closing --- */
  .p-cta-closing .c-btn--primary {
    margin-inline: 0;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  .p-cta-closing__buttons {
    flex-direction: row;
    margin-inline: 0;
    width: 100%;
    margin-top: 16px;
  }

  /* --- Condition --- */
  .p-condition__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* --- Appeal --- */
  .p-appeal__inner {
    gap: 40px;
  }

  .p-appeal__text {
    font-size: 1.75rem;
  }

  .p-appeal__highlight {
    font-size: 1.75rem;
  }

  /* --- About --- */
  .p-about__message {
    font-size: 1.0625rem;
  }

  /* --- Footer --- */
  .l-footer__inner {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  /* --- Fixed Banner --- */
  .p-fixed-banner {
    display: none;
  }
}

/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

/* ============================================================
   スクロールアニメーション（js-inview）
   ============================================================ */
.js-inview {
  opacity: 1;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-inview.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SPロゴサイズ調整
   ============================================================ */
@media (max-width: 767px) {
  /* ロゴサイズ */
  .header__logo-img {
    height: 52px;
    width: auto;
  }
  /* ヒーロー上余白をヘッダー高さに合わせる */
  .p-hero {
    margin-top: 68px;
  }
  /* フッター前の白い余白を除去 */
  .p-cta-closing {
    padding-bottom: 0;
  }
}
