/* ========================================
  Site Header
======================================== */

.site-header {
  --site-header-navy: #001c34;
  --site-header-white: #fff;
  --site-header-border: rgba(255, 255, 255, 0.22);

  position: relative;
  z-index: 1000;
  width: 100%;
  height: 126px;
  color: var(--site-header-white);
  background-color: var(--site-header-navy);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 80px), 1360px);
  height: 100%;
  margin: 0 auto;
}

.site-header__logo {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.site-header__logo-link {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 112px;
}

.site-header__logo-symbol {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header__logo-text {
  width: 198px;
  height: 105px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header__nav {
  margin-left: auto;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.15vw, 34px);
}

.site-header__nav-item {
  flex-shrink: 0;
}

.site-header__nav-link {
  display: block;
  position: relative;
  padding: 10px 0;
  color: var(--site-header-white);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.site-header__nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background-color: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.site-header__nav-link:hover {
  opacity: 0.75;
}

.site-header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-header__menu-button {
  display: none;
}

/* ========================================
  Site Header - Tablet
======================================== */

@media (max-width: 1200px) and (min-width: 768px) {
  .site-header__inner {
    width: calc(100% - 48px);
  }

  .site-header__logo-link {
    gap: 2px;
  }

  .site-header__logo-symbol {
    width: 90px;
    height: 90px;
  }

  .site-header__logo-text {
    width: 150px;
    height: 90px;
  }

  .site-header__nav-list {
    gap: 16px;
  }

  .site-header__nav-link {
    font-size: 16px;
  }
}

/* ========================================
  Site Header - SP
======================================== */

@media (max-width: 767px) {
  .site-header {
    height: 95px;
  }

  .site-header__inner {
    width: 100%;
    padding: 0 20px;
  }

  .site-header__logo-link {
    gap: 2px;
    height: 72px;
  }

  .site-header__logo-symbol {
    width: 59px;
    height: 59px;
  }

  .site-header__logo-text {
    width: 105px;
    height: 60px;
  }

  /* ハンバーガーボタン */

  .site-header__menu-button {
    position: relative;
    z-index: 3;
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--site-header-white);
    background-color: transparent;
    cursor: pointer;
  }

  .site-header__menu-line {
    display: block;
    width: 26px;
    height: 2px;
    background-color: currentColor;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .site-header__menu-button--active
    .site-header__menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .site-header__menu-button--active
    .site-header__menu-line:nth-child(2) {
    opacity: 0;
  }

  .site-header__menu-button--active
    .site-header__menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* SPメニュー */

  .site-header__nav {
    position: absolute;
    z-index: 2;
    top: 95px;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background-color: var(--site-header-navy);
    border-top: 1px solid var(--site-header-border);
    transform: translateY(-10px);
    transition:
      max-height 0.45s ease,
      visibility 0.45s ease,
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .site-header__nav--open {
    max-height: calc(100dvh - 95px);
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-header__nav-list {
    display: block;
    width: 100%;
  }

  .site-header__nav-item {
    width: 100%;
    border-bottom: 1px solid var(--site-header-border);
  }

  .site-header__nav-link {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    font-size: 17px;
    text-align: center;
  }

  .site-header__nav-link::after {
    display: none;
  }

  .site-header__nav-link::before {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

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

/* ========================================
  Hero
======================================== */

.hero {
  --hero-background: #faf8f1;
  --hero-black: #050505;
  --hero-navy: #001c34;
  --hero-red: #a00000;
  --hero-gold: #b19767;

  position: relative;
  min-height: 1120px;
  overflow: hidden;
  color: var(--hero-navy);
  background-color: var(--hero-background);
  background-image: url("../images/fv-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 434px;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 728px minmax(0, 1fr);
  grid-template-areas:
    "copy visual"
    "features visual"
    "action visual";
  align-content: start;
  width: min(calc(100% - 48px), 1220px);
  min-height: 1150px;
  margin: 0 auto;
}

/* ----------------------------------------
  Copy
---------------------------------------- */

.hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 3;
  width: 700px;
  padding-top: 176px;
}

.hero__lead {
  color: #181818;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.hero__title {
  margin-top: 42px;
  color: var(--hero-black);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: 0.025em;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title-line--accent {
  color: var(--hero-red);
}

.hero__description {
  margin-top: 28px;
  color: #202020;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.035em;
}

/* ----------------------------------------
  Main visual
---------------------------------------- */

.hero__visual {
  position: absolute;
  z-index: 1;
  top: 55px;
  left: 50%;
  width: min(calc(100vw - 48px), 2000px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.hero__visual-image {
  display: block;
  width: 50%;
  /* max-width: 900px; */
  max-width: 730px;
  height: auto;
  margin-left: auto;
}

/* ----------------------------------------
  Gold clouds
---------------------------------------- */

.hero__gold-cloud {
  position: absolute;
  z-index: 4;
  height: auto;
  pointer-events: none;
}

.hero__gold-cloud--left {
  top: 48px;
  left: max(32px, calc(50% - 690px));
  width: 150px;
}

.hero__gold-cloud--right {
  top: 72px;
  left: calc(50% - 160px);
  width: 205px;
}

/* ----------------------------------------
  Hero Feature
---------------------------------------- */

.hero__features {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 728px;
  margin-top: 35px;
}

.hero__feature {
  position: relative;
  display: flex;
  height: 200px;
  padding: 25px 10px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  color: var(--hero-navy);
  background-color: var(--hero-background);
  border: 4px solid var(--hero-gold);
}

/* 内側の細い枠線 */
.hero__feature::before {
  position: absolute;
  z-index: 0;
  inset: 7px;
  border: 1px solid var(--hero-gold);
  content: "";
  pointer-events: none;
}

/* 四隅の小さな正方形 */
.hero__feature::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    /* 左上 */
    linear-gradient(var(--hero-gold), var(--hero-gold))
      22px 7px / 1px 16px no-repeat,
    linear-gradient(var(--hero-gold), var(--hero-gold))
      7px 22px / 16px 1px no-repeat,

    /* 右上 */
    linear-gradient(var(--hero-gold), var(--hero-gold))
      right 22px top 7px / 1px 16px no-repeat,
    linear-gradient(var(--hero-gold), var(--hero-gold))
      right 7px top 22px / 16px 1px no-repeat,

    /* 左下 */
    linear-gradient(var(--hero-gold), var(--hero-gold))
      left 22px bottom 7px / 1px 16px no-repeat,
    linear-gradient(var(--hero-gold), var(--hero-gold))
      left 7px bottom 22px / 16px 1px no-repeat,

    /* 右下 */
    linear-gradient(var(--hero-gold), var(--hero-gold))
      right 22px bottom 7px / 1px 16px no-repeat,
    linear-gradient(var(--hero-gold), var(--hero-gold))
      right 7px bottom 22px / 16px 1px no-repeat;
  content: "";
  pointer-events: none;
}

.hero__feature-icon,
.hero__feature-text {
  position: relative;
  z-index: 1;
}

.hero__feature-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.hero__feature:nth-child(2) .hero__feature-icon {
  width: 82px;
  height: 82px;
}

.hero__feature:nth-child(3) .hero__feature-icon {
  width: 70px;
  height: 70px;
}

.hero__feature-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ----------------------------------------
  CTA
---------------------------------------- */

.hero__action {
  grid-area: action;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  width: 728px;
  margin-top: 42px;
  margin-left: 15px;
}

.hero__button {
  display: flex;
  width: 570px;
  min-height: 82px;
  align-items: center;
  overflow: hidden;
  border: 5px solid var(--hero-black);
  border-radius: 25px;
  color: #fff;
  background-color: var(--hero-red);
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.hero__button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.hero__button:focus-visible {
  outline: 3px solid #d7b342;
  outline-offset: 4px;
}

.hero__button-icon {
  display: grid;
  width: 104px;
  min-height: 72px;
  flex: 0 0 104px;
  place-items: center;
}

.hero__button-icon-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hero__button-text {
  flex: 1;
  padding-right: 55px;
  margin-top: 5px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

/* ----------------------------------------
  Bird
---------------------------------------- */

.hero__bird {
  position: absolute;
  z-index: 4;
  bottom: 140px;
  left: -96px;
  width: 230px;
  height: auto;
  pointer-events: none;
}

/* ----------------------------------------
  Wave
---------------------------------------- */

.hero__wave {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 70px;
  margin-top: 0;
  background-image: url("../images/nami-bg.webp");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  background-color: #faf8f1;
  pointer-events: none;
}

/* ========================================
  Hero - Tablet
======================================== */

@media (max-width: 1200px) and (min-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    min-height: 800px;
  }

  .hero__copy {
    width: 620px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__title {
    font-size: clamp(31px, 3.5vw, 42px);
  }

  .hero__description {
    font-size: 18px;
  }

  .hero__features {
    order: 3;
    width: 100%;
    gap: 10px;
    margin-top: 17px;
  }

  .hero__feature {
    height: 100px;
    padding: 13px 4px 10px;
    border-width: 3px;
  }

  .hero__feature::before {
    inset: 5px;
  }

  .hero__feature::after {
    background:
      /* 左上 */
      linear-gradient(var(--hero-gold), var(--hero-gold))
        17px 5px / 1px 13px no-repeat,
      linear-gradient(var(--hero-gold), var(--hero-gold))
        5px 17px / 13px 1px no-repeat,

      /* 右上 */
      linear-gradient(var(--hero-gold), var(--hero-gold))
        right 17px top 5px / 1px 13px no-repeat,
      linear-gradient(var(--hero-gold), var(--hero-gold))
        right 5px top 17px / 13px 1px no-repeat,

      /* 左下 */
      linear-gradient(var(--hero-gold), var(--hero-gold))
        left 17px bottom 5px / 1px 13px no-repeat,
      linear-gradient(var(--hero-gold), var(--hero-gold))
        left 5px bottom 17px / 13px 1px no-repeat,

      /* 右下 */
      linear-gradient(var(--hero-gold), var(--hero-gold))
        right 17px bottom 5px / 1px 13px no-repeat,
      linear-gradient(var(--hero-gold), var(--hero-gold))
        right 5px bottom 17px / 13px 1px no-repeat;
  }

  .hero__feature-icon {
    width: 48px;
    height: 48px;
  }

  .hero__feature:nth-child(2) .hero__feature-icon {
    width: 50px;
    height: 50px;
  }

  .hero__feature:nth-child(3) .hero__feature-icon {
    width: 44px;
    height: 44px;
  }

  .hero__feature-text {
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.45;
  }

  .hero__button {
    width: 520px;
  }

  .hero__bird {
    display: none;
  }
}

/* ========================================
  Hero - SP
======================================== */

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-bottom: 54px;
    background-position: center top;
    background-size: auto 224px;
  }

  .hero__inner {
    display: flex;
    /* width: calc(100% - 28px); */
    min-height: 0;
    flex-direction: column;
    align-items: center;
  }

  /* Copy */

  .hero__copy {
    order: 1;
    width: 100%;
    padding-top: 100px;
    text-align: center;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.62;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .hero__title {
    margin-top: 11px;
    font-size: clamp(23px, 7.1vw, 28px);
    line-height: 1.72;
    letter-spacing: 0;
  }

  .hero__title-line {
    white-space: nowrap;
  }

  .hero__description {
    display: none;
  }

  /* Visual */

  .hero__visual {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: min(358px, 100%);
    margin: 5px auto 0;
    pointer-events: auto;
  }

  .hero__visual-image {
    width: 100%;
  }

  /* Gold clouds */

  .hero__gold-cloud--left {
    top: 15px;
    left: 9px;
    width: 73px;
  }

  .hero__gold-cloud--right {
    top: 18px;
    right: 9px;
    left: auto;
    width: 75px;
  }

  /* Features */

  .hero__features {
    order: 3;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 17px;
  }

  .hero__feature {
    height: 100px;
    padding: 6px 3px 8px;
    border-width: 2px;
  }

  .hero__feature::before {
    inset: 4px;
  }

  .hero__feature::after {
    display: none;
  }

  .hero__feature-icon {
  width: 56px;
    height: 48px;
}

.hero__feature:nth-child(2) .hero__feature-icon {
  width: 58px;
    height: 50px;
    margin-bottom: -4px;
}

.hero__feature:nth-child(3) .hero__feature-icon {
  width: 40px;
    height: 40px;
    margin-bottom: 2px;
}

  .hero__feature-text {
    margin-top: 3px;
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.25;
  }

  .hero__feature-text--small {
    margin-top: 1px;
    font-size: clamp(8px, 2.35vw, 9.5px);
    line-height: 1.45;
  }

  /* CTA */

  .hero__action {
    order: 4;
    width: min(358px, 100%);
    margin-top: 43px;
  }

  .hero__button {
    width: 100%;
    min-height: 57px;
    border-width: 4px;
    border-radius: 18px;
  }

  .hero__button-icon {
    width: 66px;
    min-height: 49px;
    flex-basis: 66px;
  }

  .hero__button-icon-image {
    width: 38px;
    height: 38px;
  }

  .hero__button-text {
    padding-right: 17px;
    font-size: clamp(15px, 4.35vw, 17px);
  }

  /* Bird */

  .hero__bird {
    display: none;
  }

  /* Wave */

  .hero__wave {
    display: none;
  }
}


/* ========================================
  Product Features
======================================== */

.product-features {
  --features-background: #faf8f1;
  --features-navy: #001c34;
  --features-gold: #b19767;
  --features-line: #8d7952;

  position: relative;
  overflow: hidden;
  padding: 81px 24px 96px;
  color: var(--features-navy);
  background-color: var(--features-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.product-features__inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ----------------------------------------
  Lead
---------------------------------------- */

.product-features__lead {
  position: relative;
  display: grid;
  width: min(620px, 100%);
  height: 113px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
}

.product-features__lead-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165.2%;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.product-features__lead-text {
  position: relative;
  z-index: 1;
  padding-bottom: 5px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(60, 0, 0, 0.3);
}

/* ----------------------------------------
  Heading
---------------------------------------- */

.product-features__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 45px;
}

.product-features__heading-decoration {
  width: 145px;
  height: 70px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.product-features__title {
  flex-shrink: 0;
  color: #000;
  font-size: 43px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}

/* ----------------------------------------
  Features List
---------------------------------------- */

.product-features__list {
  display: grid;
  width: min(936px, 100%);
  margin: 98px auto 0;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: space-between;
  column-gap: 80px;
  row-gap: 63px;
}

.product-features__item {
  min-width: 0;
}

/* ----------------------------------------
  Feature Card
---------------------------------------- */

.product-features__card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 578px;
  padding: 52px 24px 29px;
  grid-template-rows: auto 1fr auto;
  background-color: var(--features-background);
  border: 5px solid var(--features-gold);
  text-align: center;
}

.product-features__card::before {
  position: absolute;
  z-index: 1;
  inset: 6px;
  border: 1px solid var(--features-line);
  content: "";
  pointer-events: none;
}

/* ----------------------------------------
  Feature Number
---------------------------------------- */

.product-features__number {
  position: absolute;
  z-index: 4;
  top: -32px;
  left: 50%;
  min-width: 137px;
  padding: 11px 20px 10px;
  color: #fff;
  background-color: var(--features-navy);
  border: 6px solid #000;
  border-radius: 31px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ----------------------------------------
  Card Corners
---------------------------------------- */

.product-features__corner {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  background-color: var(--features-background);
  border: 1px solid var(--features-line);
  pointer-events: none;
}

.product-features__corner--top-left {
  top: 6px;
  left: 6px;
}

.product-features__corner--top-right {
  top: 6px;
  right: 6px;
}

.product-features__corner--bottom-left {
  bottom: 6px;
  left: 6px;
}

.product-features__corner--bottom-right {
  right: 6px;
  bottom: 6px;
}

/* ----------------------------------------
  Card Content
---------------------------------------- */

.product-features__card-title {
  position: relative;
  z-index: 3;
  color: var(--features-navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.015em;
  text-align: center;
}

.product-features__image-area {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 315px;
  align-items: center;
  justify-content: center;
}

.product-features__image {
  display: block;
  width: 315px;
  max-width: 100%;
  height: 315px;
  object-fit: contain;
}

.product-features__description {
  position: relative;
  z-index: 3;
  color: var(--features-navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.015em;
  text-align: center;
}

.product-features__description--V2H {
  font-size: 20px !important;
  line-height: 2 !important;
  margin-bottom: 5px;
}

/* ----------------------------------------
  Product Features：Tablet
---------------------------------------- */

@media (max-width: 1200px) and (min-width: 768px) {
  .product-features__list {
    width: min(900px, 100%);
    grid-template-columns: repeat(2, minmax(0, 420px));
    gap: 60px 40px;
  }

  .product-features__card-title {
    font-size: 29px;
  }

  .product-features__description {
    font-size: 24px;
  }

  .product-features__description--V2H {
    font-size: 20px !important;
    line-height: 2 !important;
    margin-bottom: 5px;
  }
}

/* ----------------------------------------
  Product Features：SP
---------------------------------------- */

@media (max-width: 767px) {
  .product-features {
    padding: 29px 20px 88px;
  }

  .product-features__lead {
    width: min(300px, 100%);
    height: 58px;
  }

  .product-features__lead-background {
    width: 165.2%;
  }

  .product-features__lead-text {
    padding-bottom: 3px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.035em;
  }

  .product-features__heading {
    gap: 4px;
    margin-top: 21px;
  }

  .product-features__heading-decoration {
    width: 75px;
    height: 42px;
  }

  .product-features__title {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }

  .product-features__list {
    width: min(290px, 100%);
    margin-top: 75px;
    grid-template-columns: minmax(0, 1fr);
    gap: 62px;
  }

  .product-features__card {
    min-height: 400px;
    padding: 46px 15px 25px;
    border-width: 5px;
  }

  .product-features__card::before {
    inset: 5px;
  }

  .product-features__number {
    top: -25px;
    min-width: 96px;
    padding: 9px 13px 8px;
    border-width: 5px;
    border-radius: 25px;
    font-size: 19px;
  }

  .product-features__corner {
    width: 21px;
    height: 21px;
  }

  .product-features__corner--top-left {
    top: 5px;
    left: 5px;
  }

  .product-features__corner--top-right {
    top: 5px;
    right: 5px;
  }

  .product-features__corner--bottom-left {
    bottom: 5px;
    left: 5px;
  }

  .product-features__corner--bottom-right {
    right: 5px;
    bottom: 5px;
  }

  .product-features__card-title {
    font-size: 21px;
    line-height: 1.4;
  }

  .product-features__image-area {
    min-height: 218px;
  }

  .product-features__image {
    width: 218px;
    height: 218px;
  }

  .product-features__description {
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .product-features__description--V2H {
    font-size: 14px !important;
  }
}

/* ========================================
  Reasons
======================================== */

.reasons {
  --reasons-background: #faf8f1;
  --reasons-navy: #001c34;
  --reasons-red: #a30808;
  --reasons-gold: #b19767;
  --reasons-line: #8d7952;

  position: relative;
  overflow: hidden;
  padding: 29px 24px 112px;
  color: var(--reasons-navy);
  background-color: var(--reasons-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.reasons__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ----------------------------------------
  Lead
---------------------------------------- */

.reasons__lead {
  position: relative;
  display: grid;
  width: min(620px, 100%);
  height: 112px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
}

.reasons__lead-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165.2%;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.reasons__lead-text {
  position: relative;
  z-index: 1;
  padding-bottom: 4px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(60, 0, 0, 0.3);
}

/* ----------------------------------------
  Section Heading
---------------------------------------- */

.reasons__title {
  margin-top: 21px;
  color: #000;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
}

.reasons__title-accent {
  color: var(--reasons-red);
}

/* ----------------------------------------
  Decorations
---------------------------------------- */

.reasons__decoration {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.reasons__decoration--top-left {
  top: -22px;
  left: max(24px, calc(50% - 720px));
  width: 200px;
}

.reasons__decoration--top-right {
  top: -28px;
  right: max(2px, calc(50% - 720px));
  width: 230px;
}

.reasons__decoration--bottom-left {
  bottom: 54px;
  left: max(25px, calc(50% - 720px));
  width: 180px;
}

.reasons__decoration--bottom-right {
  right: max(40px, calc(50% - 670px));
  bottom: 0;
  width: 300px;
  z-index: 3;
}

/* ----------------------------------------
  Reasons List
---------------------------------------- */

.reasons__list {
  display: grid;
  width: min(1000px, 100%);
  margin: 50px auto 0;
  gap: 27px;
}

.reasons__item {
  min-width: 0;
}

/* ----------------------------------------
  Reason Card
---------------------------------------- */

.reasons__card {
  position: relative;
  display: grid;
  min-height: 295px;
  padding: 22px 32px 20px;
  grid-template-columns: 475px minmax(0, 1fr);
  grid-template-areas: "content visual";
  align-items: center;
  column-gap: 20px;
  background-color: var(--reasons-background);
  border: 5px solid var(--reasons-gold);
}

.reasons__card::before {
  position: absolute;
  z-index: 1;
  inset: 6px;
  border: 1px solid var(--reasons-line);
  content: "";
  pointer-events: none;
}

.reasons__card--reverse {
  grid-template-columns: minmax(0, 1fr) 475px;
  grid-template-areas: "visual content";
}

/* ----------------------------------------
  Card Corners
---------------------------------------- */

.reasons__corner {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  background-color: var(--reasons-background);
  border: 1px solid var(--reasons-line);
  pointer-events: none;
}

.reasons__corner--top-left {
  top: 6px;
  left: 6px;
}

.reasons__corner--top-right {
  top: 6px;
  right: 6px;
}

.reasons__corner--bottom-left {
  bottom: 6px;
  left: 6px;
}

.reasons__corner--bottom-right {
  right: 6px;
  bottom: 6px;
}

/* ----------------------------------------
  Card Content
---------------------------------------- */

.reasons__content {
  position: relative;
  z-index: 3;
  min-width: 0;
  grid-area: content;
}

.reasons__heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  column-gap: 7px;
}

.reasons__number {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
}

.reasons__number-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.reasons__number-text {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 3px 2px 0 0;
  color: #fff;
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 1px rgba(70, 0, 0, 0.25);
}

.reasons__heading-body {
  min-width: 0;
}

.reasons__card-title {
  padding: 0 15px;
  color: var(--reasons-red);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.reasons__heading-line {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.reasons__description {
  margin-top: 29px;
  padding-left: 30px;
  color: var(--reasons-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.015em;
}

/* ----------------------------------------
  Card Illustration
---------------------------------------- */

.reasons__visual {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  min-width: 0;
  height: 250px;
  grid-area: visual;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.reasons__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
}

/* ----------------------------------------
  Reasons：Tablet
---------------------------------------- */
@media (max-width: 1350px) and (min-width: 768px) {
  .reasons__decoration--bottom-left,
  .reasons__decoration--bottom-right {
    display: none;
  }
}

@media (max-width: 1200px) and (min-width: 768px) {
  .reasons__lead-text {
    font-size: 38px;
  }

  .reasons__title {
    font-size: 38px;
  }

  .reasons__card,
  .reasons__card--reverse {
    padding-right: 34px;
    padding-left: 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .reasons__heading {
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 7px;
  }

  .reasons__number {
    width: 62px;
    height: 62px;
  }

  .reasons__number-text {
    font-size: 34px;
  }

  .reasons__card-title {
    font-size: clamp(23px, 2.5vw, 30px);
  }

  .reasons__description {
    font-size: 17px;
  }

  .reasons__visual {
    height: 225px;
  }

  .reasons__image {
    width: 100%;
    height: auto;
  }
}

/* ----------------------------------------
  Reasons：SP
---------------------------------------- */

@media (max-width: 767px) {
  .reasons {
    padding: 29px 20px 68px;
  }

  .reasons__lead {
    width: min(300px, 100%);
    height: 58px;
  }

  .reasons__lead-background {
    width: 165.2%;
  }

  .reasons__lead-text {
    padding-bottom: 2px;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.025em;
  }

  .reasons__title {
    margin-top: 54px;
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .reasons__decoration--top-left {
    top: 68px;
    left: -8px;
    width: 100px;
  }

  .reasons__decoration--top-right {
    top: 64px;
    right: -26px;
    width: 110px;
  }

  .reasons__decoration--bottom-left {
    diplay: block;
    bottom: -15px;
    left: max(-10px, calc(50% - 720px));
    width: 120px;
    z-index: 3;
  }

  .reasons__decoration--bottom-right {
    diplay: block;
    right: max(-2px, calc(50% - 670px));
    bottom: 0;
    width: 100px;
    z-index: 3;
  }

  .reasons__list {
    width: min(294px, 100%);
    margin-top: 39px;
    gap: 36px;
  }

  .reasons__card,
  .reasons__card--reverse {
    display: grid;
    min-height: 0;
    padding: 5px 19px 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "content";
    row-gap: 8px;
    border-width: 3px;
  }

  .reasons__card::before {
    inset: 4px;
  }

  .reasons__corner {
    width: 11px;
    height: 11px;
  }

  .reasons__corner--top-left {
    top: 4px;
    left: 4px;
  }

  .reasons__corner--top-right {
    top: 4px;
    right: 4px;
  }

  .reasons__corner--bottom-left {
    bottom: 4px;
    left: 4px;
  }

  .reasons__corner--bottom-right {
    right: 4px;
    bottom: 4px;
  }

  .reasons__visual {
    width: 100%;
    height: 143px;
    align-items: flex-start;
    overflow: hidden;
  }

  .reasons__image {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .reasons__content {
    width: 100%;
  }

  .reasons__heading {
    grid-template-columns: 43px minmax(0, 1fr);
    column-gap: 6px;
  }

  .reasons__number {
    width: 43px;
    height: 43px;
  }

  .reasons__number-text {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1;
  }

  .reasons__card-title {
    padding: 0 2px;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .reasons__heading-line {
    width: 100%;
    margin-top: 1px;
  }

  .reasons__description {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .reasons__description br {
    display: none;
  }

  .reasons__pc-break {
    display: none;
  }
}

/* ========================================
  Cost Comparison
======================================== */

.cost-comparison {
  --cost-comparison-background: #faf8f1;
  --cost-comparison-navy: #001c34;
  --cost-comparison-red: #a80000;
  --cost-comparison-gold: #b49863;
  --cost-comparison-gray: #8b8b8b;

  overflow: hidden;
  padding: 65px 24px 92px;
  color: var(--cost-comparison-navy);
  background-color: var(--cost-comparison-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.cost-comparison__inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ----------------------------------------
  Section Heading
---------------------------------------- */

.cost-comparison__lead {
  position: relative;
  display: grid;
  width: min(470px, 100%);
  height: 84px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
}

.cost-comparison__lead-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165.2%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.cost-comparison__lead-text {
  position: relative;
  z-index: 1;
  padding-bottom: 3px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.cost-comparison__title {
  margin-top: 17px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.cost-comparison__title-accent {
  color: var(--cost-comparison-red);
}

.cost-comparison__title-separator {
  color: var(--cost-comparison-navy);
}

.cost-comparison__introduction {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* ----------------------------------------
  Case
---------------------------------------- */

.cost-comparison__case {
  width: min(920px, 100%);
  margin: 46px auto 0;
  padding: 29px 18px 25px;
  background-color: var(--cost-comparison-background);
  border: 4px solid var(--cost-comparison-gold);
  box-shadow: inset 0 0 0 1px #927c55;
}

.cost-comparison__case-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 25px;
}

.cost-comparison__case-heading {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
}

.cost-comparison__case-number {
  position: relative;
  z-index: 2;
  display: flex;
  width: 70px;
  height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: var(--cost-comparison-navy);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.cost-comparison__case-number-label {
  font-size: 16px;
  line-height: 1;
}

.cost-comparison__case-number-value {
  font-size: 36px;
  line-height: 1.05;
}

.cost-comparison__case-heading-body {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  overflow: hidden;
}

.cost-comparison__case-heading-background {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 158%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.cost-comparison__case-title {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

/* ----------------------------------------
  Introduction Flow
---------------------------------------- */

.cost-comparison__flow {
  display: grid;
  margin-top: 11px;
  grid-template-columns:
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr);
  align-items: center;
  gap: 5px;
}

.cost-comparison__flow-card {
  height: 286px;
  overflow: hidden;
  border: 1px solid #999;
  border-radius: 10px;
}

.cost-comparison__flow-card--after {
  border-color: var(--cost-comparison-red);
}

.cost-comparison__flow-title {
  padding: 7px 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.cost-comparison__flow-title--before {
  background-color: var(--cost-comparison-gray);
}

.cost-comparison__flow-title--equipment {
  background-color: var(--cost-comparison-gold);
}

.cost-comparison__flow-title--after {
  background-color: var(--cost-comparison-red);
}

.cost-comparison__flow-body {
  padding: 5px 7px 12px;
}

.cost-comparison__flow-image {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  object-fit: contain;
}

.cost-comparison__flow-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.cost-comparison__flow-arrow {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ----------------------------------------
  Achievement
---------------------------------------- */

.cost-comparison__achievement {
  padding-top: 11px;
  text-align: center;
}

.cost-comparison__achievement-label {
  font-size: 14px;
  font-weight: 700;
}

.cost-comparison__achievement-subject {
  margin-top: 9px;
  font-size: 23px;
  font-weight: 700;
}

.cost-comparison__achievement-result {
  position: relative;
  margin-top: 20px;
}

.cost-comparison__achievement-period {
  display: block;
  color: var(--cost-comparison-red);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.cost-comparison__achievement-amount {
  position: relative;
  z-index: 1;
  color: var(--cost-comparison-red);
  line-height: 1;
}

.cost-comparison__achievement-amount strong {
  font-size: 64px;
}

.cost-comparison__achievement-amount span {
  margin-left: 4px;
  font-size: 28px;
  font-weight: 700;
}

.cost-comparison__achievement-line {
  position: absolute;
  z-index: 0;
  top: 63px;
  left: 50%;
  width: 230px;
  height: auto;
  transform: translateX(-50%);
}

.cost-comparison__achievement-text {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--cost-comparison-red);
  font-size: 30px;
  font-weight: 700;
}

.cost-comparison__achievement-breakdown {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 4px solid var(--cost-comparison-gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.cost-comparison__achievement-row {
  display: flex;
  justify-content: center;
}

.cost-comparison__achievement-row dt::after {
  content: " ";
}

.cost-comparison__achievement-row--total {
  margin-top: 4px;
}

/* ----------------------------------------
  Savings
---------------------------------------- */

.cost-comparison__savings {
  display: grid;
  width: min(920px, 100%);
  margin: 38px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.cost-comparison__saving-card {
  padding: 20px 11px 25px;
  background-color: var(--cost-comparison-background);
  border: 4px solid var(--cost-comparison-gold);
  box-shadow: inset 0 0 0 1px #927c55;
}

.cost-comparison__saving-heading {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-bottom: 4px solid var(--cost-comparison-gold);
}

.cost-comparison__saving-icon {
  width: 72px;
  height: 62px;
  object-fit: contain;
}

.cost-comparison__saving-title {
  font-size: 26px;
  font-weight: 700;
}

.cost-comparison__saving-compare {
  display: grid;
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
}

.cost-comparison__price {
  overflow: hidden;
  border: 1px solid #999;
  border-radius: 10px;
  text-align: center;
}

.cost-comparison__price--after {
  border-color: var(--cost-comparison-red);
}

.cost-comparison__price-label {
  padding: 7px 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.cost-comparison__price-label--before {
  background-color: var(--cost-comparison-gray);
}

.cost-comparison__price-label--after {
  background-color: var(--cost-comparison-red);
}

.cost-comparison__price-name {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

.cost-comparison__price-value {
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
}

.cost-comparison__price--after .cost-comparison__price-value {
  color: var(--cost-comparison-red);
}

.cost-comparison__saving-arrow {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.cost-comparison__saving-result {
  position: relative;
  margin-top: 27px;
  text-align: center;
}

.cost-comparison__saving-result-text {
  position: relative;
  z-index: 1;
  color: var(--cost-comparison-red);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.cost-comparison__saving-result-text strong {
  margin: 0 5px;
  font-size: 43px;
}

.cost-comparison__saving-result-line {
  position: absolute;
  z-index: 0;
  bottom: -2px;
  left: 50%;
  width: 190px;
  height: auto;
  transform: translateX(-50%);
}

.cost-comparison__saving-note {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/* ----------------------------------------
  Operation
---------------------------------------- */

.cost-comparison__operation {
  width: min(920px, 100%);
  margin: 37px auto 0;
  padding: 27px 19px 31px;
  background-color: var(--cost-comparison-background);
  border: 4px solid var(--cost-comparison-gold);
  box-shadow: inset 0 0 0 1px #927c55;
}

.cost-comparison__operation-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.cost-comparison__operation-description {
  margin-top: 15px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.cost-comparison__operation-flow {
  display: grid;
  margin-top: 30px;
  grid-template-columns:
    minmax(0, 1fr)
    62px
    minmax(0, 1fr)
    62px
    minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.cost-comparison__operation-card {
  height: 352px;
  overflow: hidden;
  border: 1px solid var(--cost-comparison-navy);
  border-radius: 10px;
}

.cost-comparison__operation-card--night {
  border-color: var(--cost-comparison-red);
}

.cost-comparison__operation-label {
  padding: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.cost-comparison__operation-label--daytime {
  background-color: var(--cost-comparison-navy);
}

.cost-comparison__operation-label--surplus {
  background-color: var(--cost-comparison-gold);
}

.cost-comparison__operation-label--night {
  background-color: var(--cost-comparison-red);
}

.cost-comparison__operation-body {
  padding: 13px 15px 18px;
}

.cost-comparison__operation-image {
  width: 190px;
  height: 125px;
  margin: 0 auto;
  object-fit: contain;
}

.cost-comparison__operation-main {
  padding-bottom: 13px;
  border-bottom: 4px solid var(--cost-comparison-gold);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.cost-comparison__operation-detail {
  margin-top: 17px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.cost-comparison__operation-arrow {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.cost-comparison__operation-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 31px;
  font-size: 20px;
  font-weight: 700;
}

.cost-comparison__operation-emphasis {
  display: inline-block;
  padding: 8px 18px;
  color: #fff;
  background-color: var(--cost-comparison-red);
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ----------------------------------------
  Notes
---------------------------------------- */

.cost-comparison__notes {
  margin-top: 43px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

/* ----------------------------------------
  Cost Comparison：Tablet
---------------------------------------- */

@media (max-width: 1000px) and (min-width: 768px) {
  .cost-comparison__case-main {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .cost-comparison__case-title {
    font-size: 20px;
  }

  .cost-comparison__flow {
    grid-template-columns:
      minmax(0, 1fr)
      28px
      minmax(0, 1fr)
      28px
      minmax(0, 1fr);
  }

  .cost-comparison__flow-arrow,
  .cost-comparison__saving-arrow {
    width: 28px;
    height: 28px;
  }

  .cost-comparison__saving-title {
    font-size: 22px;
  }

  .cost-comparison__saving-result-text {
    font-size: 21px;
  }

  .cost-comparison__saving-result-text strong {
    font-size: 35px;
  }

  .cost-comparison__operation-flow {
    grid-template-columns:
      minmax(0, 1fr)
      40px
      minmax(0, 1fr)
      40px
      minmax(0, 1fr);
  }

  .cost-comparison__operation-arrow {
    width: 40px;
    height: 40px;
  }
}

/*
 * Cost Comparison / SP
 * 既存の @media (max-width: 767px) ブロックと差し替えてください。
 * PC・タブレット用の指定は変更しません。
 */
@media (max-width: 767px) {
  .cost-comparison,
  .cost-comparison *,
  .cost-comparison *::before,
  .cost-comparison *::after {
    box-sizing: border-box;
  }

  .cost-comparison {
    padding: 28px 20px 58px;
  }

  .cost-comparison__inner {
    max-width: none;
  }

  /* 見出し */
  .cost-comparison__lead {
    width: min(300px, 100%);
    height: 61px;
  }

  .cost-comparison__lead-background {
    width: 165.2%;
  }

  .cost-comparison__lead-text {
    padding-bottom: 0;
    font-size: 15px;
    line-height: 1.4;
  }

  .cost-comparison__title {
    margin-top: 7px;
    font-size: 21px;
    line-height: 1.45;
  }

  .cost-comparison__introduction {
    width: min(340px, 100%);
    margin: 12px auto 0;
    font-size: 13px;
    line-height: 1.65;
  }

  /* 導入事例 */
  .cost-comparison__case {
    position: relative;
    width: min(300px, 100%);
    margin-top: 29px;
    padding: 17px 14px 18px;
    border-width: 2px;
  }

  .cost-comparison__case-main {
    display: block;
  }

  .cost-comparison__case-heading {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .cost-comparison__case-number {
    width: 45px;
    height: 54px;
  }

  .cost-comparison__case-number-label {
    font-size: 11px;
  }

  .cost-comparison__case-number-value {
    font-size: 25px;
  }

  .cost-comparison__case-heading-body {
    min-height: 54px;
  }

  .cost-comparison__case-heading-background {
    left: 45%;
    width: 185%;
  }

  .cost-comparison__case-title {
    padding: 0 31px;
    font-size: 16px;
    line-height: 1.55;
    white-space: normal;
  }

  .cost-comparison__flow {
    display: grid;
    margin-top: 28px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .cost-comparison__flow-card {
    width: 100%;
    height: 134px;
    border-radius: 5px;
  }

  .cost-comparison__flow-title {
    min-height: 29px;
    padding: 6px 5px;
    font-size: 11px;
    line-height: 1.45;
  }

  .cost-comparison__flow-body {
    display: grid;
    height: 103px;
    padding: 3px 8px 6px;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
  }

  .cost-comparison__flow-image {
    width: 95px;
    height: 91px;
  }

  .cost-comparison__flow-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .cost-comparison__flow-arrow {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  /* 削減実績：左に金額、右に内訳 */
  .cost-comparison__achievement {
    position: relative;
    display: grid;
    width: 100%;
    height: 150px;
    margin-top: 18px;
    padding-top: 7px;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "label breakdown"
      "subject breakdown"
      "result breakdown";
    text-align: center;
  }

  .cost-comparison__achievement-label {
    grid-area: label;
    font-size: 8px;
    line-height: 1.4;
    margin-top: 13px;
  }

  .cost-comparison__achievement-subject {
    grid-area: subject;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.4;
  }

  .cost-comparison__achievement-result {
    grid-area: result;
    width: 132px;
    margin: 7px 0 0;
    padding-right: 8px;
  }

  .cost-comparison__achievement-period {
    font-size: 14px;
  }

  .cost-comparison__achievement-amount strong {
    font-size: 39px;
  }

  .cost-comparison__achievement-amount span {
    margin-left: 2px;
    font-size: 15px;
  }

  .cost-comparison__achievement-line {
    top: 35px;
    width: 127px;
  }

  .cost-comparison__achievement-text {
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.2;
  }

  .cost-comparison__achievement-breakdown {
    position: static;
    display: flex;
    width: auto;
    margin: 0;
    padding: 40px 0 40px 9px;
    align-self: center;
    flex-direction: column;
    grid-area: breakdown;
    border-top: 0;
    font-size: 11px;
    line-height: 1.7;
    border-left: 2px solid var(--cost-comparison-gold);
  }

  .cost-comparison__achievement-row {
    display: flex;
    justify-content: center;
  }

  .cost-comparison__achievement-row--total {
    margin-top: 2px;
  }

  /* 電気代・ガソリン代 */
  .cost-comparison__savings {
    width: min(300px, 100%);
    margin-top: 49px;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .cost-comparison__saving-card {
    min-height: 275px;
    padding: 12px 6px 13px;
    border-width: 2px;
  }

  .cost-comparison__saving-heading {
    min-height: 57px;
    gap: 12px;
    border-bottom-width: 2px;
  }

  .cost-comparison__saving-icon {
    width: 48px;
    height: 43px;
  }

  .cost-comparison__saving-title {
    font-size: 20px;
  }

  .cost-comparison__saving-compare {
    margin-top: 21px;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  }

  .cost-comparison__price {
    border-radius: 5px;
  }

  .cost-comparison__price-label {
    min-height: 25px;
    padding: 5px 2px;
    font-size: 12px;
    line-height: 1.6;
  }

  .cost-comparison__price-name {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
  }

  .cost-comparison__price-value {
    padding-bottom: 8px;
    font-size: 20px;
    line-height: 1.5;
  }

  .cost-comparison__saving-arrow {
    width: 24px;
    height: 24px;
    margin-left: -2px;
  }

  .cost-comparison__saving-result {
    margin-top: 15px;
  }

  .cost-comparison__saving-result-text {
    font-size: 16px;
    line-height: 1.3;
  }

  .cost-comparison__saving-result-text strong {
    margin: 0 3px;
    font-size: 30px;
  }

  .cost-comparison__saving-result-line {
    width: 124px;
  }

  .cost-comparison__saving-note {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
  }

  /* 運用イメージ */
  .cost-comparison__operation {
    width: min(300px, 100%);
    margin-top: 48px;
    padding: 27px 11px 20px;
    border-width: 2px;
  }

  .cost-comparison__operation-title {
    font-size: 16px;
    line-height: 1.5;
  }

  .cost-comparison__operation-description {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
  }

  .cost-comparison__operation-flow {
    margin-top: 19px;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .cost-comparison__operation-card {
    width: 100%;
    height: 150px;
    border-radius: 5px;
  }

  .cost-comparison__operation-label {
    min-height: 29px;
    padding: 5px;
    font-size: 11px;
    line-height: 1.7;
  }

  .cost-comparison__operation-body {
    display: grid;
    height: 119px;
    padding: 7px 9px 9px;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
  }

  .cost-comparison__operation-image {
    width: 110px;
    height: 91px;
    grid-row: 1 / 3;
  }

  .cost-comparison__operation-main {
    padding-bottom: 6px;
    border-bottom-width: 2px;
    font-size: 14px;
    line-height: 1.5;
  }

  .cost-comparison__operation-detail {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.5;
  }

  .cost-comparison__operation-arrow {
    width: 34px;
    height: 34px;
    margin: -1px auto;
    transform: rotate(90deg);
  }

  .cost-comparison__operation-summary {
    display: flex;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px 3px;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.5;
  }

  .cost-comparison__operation-emphasis {
    padding: 4px 7px;
  }

  /* 注記 */
  .cost-comparison__notes {
    width: min(300px, 100%);
    margin: 15px auto 0;
    font-size: 10px;
    line-height: 1.65;
  }
}

/* ========================================
  Installation Flow
======================================== */

.installation-flow {
  --installation-flow-background: #faf8f1;
  --installation-flow-navy: #001c34;
  --installation-flow-red: #a30808;
  --installation-flow-gold: #b19767;
  --installation-flow-line: #8d7952;

  position: relative;
  overflow: hidden;
  padding: 63px 24px 101px;
  color: var(--installation-flow-navy);
  background-color: var(--installation-flow-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.installation-flow__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ----------------------------------------
  Section Heading
---------------------------------------- */

.installation-flow__lead {
  position: relative;
  display: grid;
  width: min(520px, 100%);
  height: 104px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
}

.installation-flow__lead-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165.2%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.installation-flow__lead-text {
  position: relative;
  z-index: 1;
  padding-bottom: 5px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.installation-flow__title {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.installation-flow__title-accent {
  color: var(--installation-flow-red);
}

.installation-flow__introduction {
  margin-top: 23px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.installation-flow__introduction-accent {
  color: var(--installation-flow-red);
  font-size: 42px;
}

/* ----------------------------------------
  Header Decorations
---------------------------------------- */

.installation-flow__decoration {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.installation-flow__decoration--gold-left {
  top: 95px;
  left: max(20px, calc(50% - 610px));
  width: 160px;
}

.installation-flow__decoration--gold-right {
  top: 13px;
  right: max(22px, calc(50% - 610px));
  width: 195px;
}

/* ----------------------------------------
  Steps
---------------------------------------- */

.installation-flow__steps {
  position: relative;
  width: min(1045px, 100%);
  margin: 88px auto 0;
}

.installation-flow__list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 455px));
  justify-content: space-between;
  column-gap: 135px;
  row-gap: 64px;
}

.installation-flow__item:nth-child(even) {
  transform: translateY(185px);
}

/* ----------------------------------------
  Scenery
---------------------------------------- */

.installation-flow__scenery {
  position: absolute;
  z-index: 2;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.installation-flow__scenery--pine {
  top: -72px;
  right: 120px;
  width: 235px;
}

.installation-flow__scenery--plum {
  top: 1080px;
  left: 78px;
  width: 330px;
}

/* ----------------------------------------
  Timeline
---------------------------------------- */

.installation-flow__timeline {
  position: absolute;
  z-index: 1;
  top: -16px;
  bottom: -190px;
  left: 50%;
  width: 8px;
  background-color: var(--installation-flow-red);
  transform: translateX(-50%);
}

.installation-flow__timeline-marker {
  position: absolute;
  left: 50%;
  width: 31px;
  height: 31px;
  background-color: var(--installation-flow-red);
  transform: translate(-50%, -50%) rotate(45deg);
}

.installation-flow__timeline-marker::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--installation-flow-background);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.installation-flow__timeline-marker:nth-child(1) {
  top: 6%;
}

.installation-flow__timeline-marker:nth-child(2) {
  top: 20%;
}

.installation-flow__timeline-marker:nth-child(3) {
  top: 35%;
}

.installation-flow__timeline-marker:nth-child(4) {
  top: 49%;
}

.installation-flow__timeline-marker:nth-child(5) {
  top: 64%;
}

.installation-flow__timeline-marker:nth-child(6) {
  top: 80%;
}

/* ----------------------------------------
  Step Card
---------------------------------------- */

.installation-flow__card {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 300px;
  padding: 27px 20px 25px 20px;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  column-gap: 5px;
  background-color: var(--installation-flow-background);
  border: 5px solid var(--installation-flow-gold);
}

.installation-flow__card::before {
  position: absolute;
  z-index: 1;
  inset: 6px;
  border: 1px solid var(--installation-flow-line);
  content: "";
  pointer-events: none;
}

/* ----------------------------------------
  Step Number
---------------------------------------- */

.installation-flow__number {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 39px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
}

.installation-flow__number-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.installation-flow__number-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
}

/* ----------------------------------------
  Step Illustration
---------------------------------------- */

.installation-flow__visual {
  position: relative;
  z-index: 3;
  display: flex;
  width: 145px;
  height: 150px;
  align-self: end;
  align-items: center;
  justify-content: center;
}

.installation-flow__image {
  display: block;
  width: 145px;
  height: 145px;
  object-fit: contain;
}

/* ----------------------------------------
  Card Content
---------------------------------------- */

.installation-flow__content {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.installation-flow__card-title {
  /* padding-bottom: 7px; */
  border-bottom: 5px solid var(--installation-flow-gold);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.installation-flow__description {
  margin-top: 35px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

/* ----------------------------------------
  Flow Arrows
---------------------------------------- */

.installation-flow__arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: none;
  width: 83px;
  height: 83px;
  object-fit: contain;
  pointer-events: none;
  transform: translateY(-50%);
}

.installation-flow__item:nth-child(odd)
  .installation-flow__arrow--left {
  right: -73px;
  display: block;
}

.installation-flow__item:nth-child(even)
  .installation-flow__arrow--right {
  left: -73px;
  display: block;
}

/* ----------------------------------------
  Promise
---------------------------------------- */

.installation-flow__promise {
  position: relative;
  display: grid;
  width: min(835px, 100%);
  min-height: 190px;
  margin: 250px auto 0;
  padding: 31px 135px;
  place-items: center;
  background-color: var(--installation-flow-background);
  border: 5px solid var(--installation-flow-gold);
  box-shadow: inset 0 0 0 1px var(--installation-flow-line);
}

.installation-flow__promise-text {
  position: relative;
  z-index: 3;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.installation-flow__promise-first-line,
.installation-flow__promise-second-line {
  display: block;
}

.installation-flow__promise-second-line strong {
  color: var(--installation-flow-red);
}

.installation-flow__promise-line {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 50%;
  width: 510px;
  height: auto;
  transform: translateX(-50%);
}

.installation-flow__promise-decoration {
  position: absolute;
  z-index: 3;
  object-fit: contain;
}

.installation-flow__promise-decoration--lantern {
  top: 43px;
  left: 48px;
  width: 102px;
  height: 102px;
}

.installation-flow__promise-decoration--bamboo {
  top: 34px;
  right: 22px;
  width: 130px;
  height: 130px;
}

/* ----------------------------------------
  Wave
---------------------------------------- */

.installation-flow__wave {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  width: calc(100% - 48px);
  max-width: 1220px;
  height: 70px;
  object-fit: fill;
  object-position: center bottom;
  pointer-events: none;
  transform: translateX(-50%);
}

/* ----------------------------------------
  Installation Flow：Tablet
---------------------------------------- */

@media (max-width: 1100px) and (min-width: 768px) {
  .installation-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 115px;
  }

  .installation-flow__card {
    padding-right: 22px;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 18px;
  }

  .installation-flow__visual {
    width: 120px;
    height: 135px;
  }

  .installation-flow__image {
    width: 120px;
    height: 120px;
  }

  .installation-flow__number {
    left: 26px;
  }

  .installation-flow__card-title {
    font-size: 27px;
  }

  .installation-flow__description {
    font-size: 15px;
  }

  .installation-flow__arrow {
    width: 70px;
    height: 70px;
  }

  .installation-flow__item:nth-child(odd)
    .installation-flow__arrow--left {
    right: -70px;
  }

  .installation-flow__item:nth-child(even)
    .installation-flow__arrow--right {
    left: -70px;
  }

  .installation-flow__scenery--pine {
    right: 95px;
    width: 200px;
  }

  .installation-flow__scenery--plum {
    left: 35px;
    width: 280px;
  }
}

/* ----------------------------------------
  Installation Flow：SP
---------------------------------------- */

@media (max-width: 767px) {
  .installation-flow {
    padding: 29px 20px 53px;
  }

  .installation-flow__lead {
    width: min(300px, 100%);
    height: 58px;
  }

  .installation-flow__lead-text {
    padding-bottom: 2px;
    font-size: 17px;
  }

  .installation-flow__title {
    margin-top: 13px;
    font-size: 23px;
  }

  .installation-flow__introduction {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.9;
    white-space: nowrap;
  }

  .installation-flow__introduction-accent {
    font-size: 27px;
  }

  .installation-flow__decoration--gold-left {
    top: 92px;
    left: -11px;
    width: 92px;
  }

  .installation-flow__decoration--gold-right {
    top: 88px;
    right: -25px;
    width: 103px;
  }

  .installation-flow__steps {
    width: min(340px, 100%);
    margin-top: 24px;
  }

  .installation-flow__scenery {
    display: none;
  }

  .installation-flow__list {
    display: block;
    width: 100%;
    padding-left: 54px;
  }

  .installation-flow__item {
    width: 100%;
  }

  .installation-flow__item:nth-child(even) {
    transform: none;
  }


  .installation-flow__item + .installation-flow__item {
    margin-top: 29px;
  }

  .installation-flow__timeline {
    top: -9px;
    bottom: -3px;
    left: 21px;
    width: 3px;
    transform: none;
  }

  .installation-flow__timeline-marker {
    width: 14px;
    height: 14px;
  }

  .installation-flow__timeline-marker::before {
    width: 5px;
    height: 5px;
  }

  .installation-flow__timeline-marker:nth-child(1) {
    top: 4%;
  }

  .installation-flow__timeline-marker:nth-child(2) {
    top: 21%;
  }

  .installation-flow__timeline-marker:nth-child(3) {
    top: 38%;
  }

  .installation-flow__timeline-marker:nth-child(4) {
    top: 55%;
  }

  .installation-flow__timeline-marker:nth-child(5) {
    top: 72%;
  }

  .installation-flow__timeline-marker:nth-child(6) {
    top: 89%;
  }

  .installation-flow__card {
    display: grid;
    min-height: 176px;
    padding: 20px 15px 17px;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: 49px 1fr;
    grid-template-areas:
      "number content"
      "visual content";
    column-gap: 9px;
    border-width: 2px;
  }

  .installation-flow__card::before {
    inset: 4px;
  }

  .installation-flow__number {
    position: relative;
    top: auto;
    left: auto;
    width: 49px;
    height: 49px;
    margin-left: 7px;
    grid-area: number;
  }

  .installation-flow__number-text {
    font-size: 27px;
  }

  .installation-flow__visual {
    display: flex;
    width: 88px;
    height: 91px;
    grid-area: visual;
    align-self: auto;
  }

  .installation-flow__image {
    width: 88px;
    height: 88px;
  }

  .installation-flow__content {
    grid-area: content;
  }

  .installation-flow__card-title {
    padding-bottom: 4px;
    border-bottom-width: 2px;
    font-size: 18px;
    line-height: 1.45;
  }

  .installation-flow__description {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.6;
  }

  .installation-flow__description br {
    display: none;
  }

  .installation-flow__arrow {
    top: 39px;
    width: 47px;
    height: 47px;
    transform: none;
  }

  .installation-flow__item:nth-child(odd)
    .installation-flow__arrow--left {
    display: none;
  }

  .installation-flow__item:nth-child(even)
    .installation-flow__arrow--right,
  .installation-flow__item:nth-child(odd)
    .installation-flow__arrow--right {
    left: -31px;
    display: block;
  }

  .installation-flow__promise {
    width: min(378px, calc(100% + 2px));
    min-height: 88px;
    margin: 15px auto 0;
    padding: 18px 55px;
    border-width: 2px;
  }

  .installation-flow__promise-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .installation-flow__promise-first-line,
  .installation-flow__promise-second-line {
    white-space: nowrap;
  }

  .installation-flow__promise-line {
    bottom: 5%;
    width: 230px;
  }

  .installation-flow__promise-decoration--lantern {
    top: 17px;
    left: 0;
    width: 57px;
    height: 57px;
  }

  .installation-flow__promise-decoration--bamboo {
    top: 13px;
    right: 0;
    width: 60px;
    height: 66px;
  }

  .installation-flow__wave {
    height: 31px;
  }
}

/* ========================================
  FAQ
======================================== */

.faq {
  --faq-background: #faf8f1;
  --faq-navy: #001c34;
  --faq-red: #a30808;
  --faq-gold: #b19767;
  --faq-line: #8d7952;

  overflow: hidden;
  padding: 80px 24px 92px;
  color: var(--faq-navy);
  background-color: var(--faq-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

.faq__inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ----------------------------------------
  Section Heading
---------------------------------------- */

.faq__lead {
  position: relative;
  display: grid;
  width: min(560px, 100%);
  height: 105px;
  margin: 0 auto;
  overflow: hidden;
  place-items: center;
}

.faq__lead-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165.2%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.faq__lead-text {
  position: relative;
  z-index: 1;
  padding-bottom: 5px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.faq__title {
  margin-top: 21px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.faq__title-accent {
  color: var(--faq-red);
}

.faq__introduction {
  margin-top: 20px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.faq__heading-decoration {
  display: grid;
  width: min(790px, 100%);
  margin: 36px auto 0;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
}

.faq__heading-line {
  display: block;
  height: 6px;
  background-color: var(--faq-red);
  border-radius: 50%;
}

.faq__heading-flower {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* ----------------------------------------
  FAQ List
---------------------------------------- */

.faq__list {
  display: grid;
  width: min(880px, 100%);
  margin: 63px auto 0;
  gap: 24px;
}

/* ----------------------------------------
  FAQ Item
---------------------------------------- */

.faq__item {
  position: relative;
  display: grid;
  min-height: 205px;
  padding: 28px 26px 27px 139px;
  grid-template-columns: minmax(0, 1fr) 170px;
  grid-template-areas: "content visual";
  align-items: center;
  column-gap: 24px;
  background-color: var(--faq-background);
  border: 5px solid var(--faq-gold);
}

.faq__item::before {
  position: absolute;
  z-index: 1;
  inset: 6px;
  border: 1px solid var(--faq-line);
  content: "";
  pointer-events: none;
}

/* ----------------------------------------
  Question Mark
---------------------------------------- */

.faq__question-mark {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 31px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
}

.faq__question-mark-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq__question-mark-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

/* ----------------------------------------
  FAQ Content
---------------------------------------- */

.faq__content {
  position: relative;
  z-index: 3;
  min-width: 0;
  grid-area: content;
}

.faq__question {
  padding: 0 10px 9px;
  border-bottom: 5px solid var(--faq-gold);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.45;
}

.faq__answer {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.faq__visual {
  position: relative;
  z-index: 3;
  display: flex;
  width: 170px;
  height: 145px;
  grid-area: visual;
  align-items: center;
  justify-content: center;
}

.faq__image {
  display: block;
  width: 145px;
  height: 145px;
  object-fit: contain;
}

/* ----------------------------------------
  Contact Message
---------------------------------------- */

.faq__contact-message {
  position: relative;
  display: grid;
  width: min(880px, 100%);
  min-height: 200px;
  margin: 28px auto 0;
  padding: 31px 180px;
  place-items: center;
  background-color: var(--faq-background);
  border: 5px solid var(--faq-gold);
  box-shadow: inset 0 0 0 1px var(--faq-line);
}

.faq__contact-text {
  position: relative;
  z-index: 3;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.faq__contact-first-line,
.faq__contact-second-line {
  display: block;
}

.faq__contact-second-line strong {
  color: var(--faq-red);
}

.faq__contact-line {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  width: 440px;
  height: auto;
  transform: translateX(-50%);
}

.faq__contact-decoration {
  position: absolute;
  z-index: 3;
  object-fit: contain;
}

.faq__contact-decoration--lantern {
  top: 34px;
  left: 60px;
  width: 140px;
  height: 140px;
}

.faq__contact-decoration--cloud {
  top: 46px;
  right: 60px;
  width: 140px;
  height: 115px;
}

/* ----------------------------------------
  FAQ：Tablet
---------------------------------------- */

@media (max-width: 1000px) and (min-width: 768px) {
  .faq__item {
    padding-left: 125px;
    grid-template-columns: minmax(0, 1fr) 145px;
  }

  .faq__question {
    font-size: 27px;
  }

  .faq__answer {
    font-size: 15px;
  }

  .faq__visual {
    width: 145px;
  }

  .faq__image {
    width: 130px;
    height: 130px;
  }

  .faq__contact-text {
    font-size: 27px;
  }
}

/* ----------------------------------------
  FAQ：SP
---------------------------------------- */

@media (max-width: 767px) {
  .faq {
    padding: 29px 20px 48px;
  }

  .faq__lead {
    width: min(300px, 100%);
    height: 58px;
  }

  .faq__lead-text {
    padding-bottom: 2px;
    font-size: 15px;
  }

  .faq__title {
    margin-top: 13px;
    font-size: 23px;
  }

  .faq__introduction {
    width: min(300px, 100%);
    margin: 17px auto 0;
    font-size: 17px;
    line-height: 1.9;
  }

  .faq__heading-decoration {
    width: min(313px, 100%);
    margin-top: 17px;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    column-gap: 10px;
  }

  .faq__heading-line {
    height: 2px;
  }

  .faq__heading-flower {
    width: 26px;
    height: 26px;
  }

  .faq__list {
    width: min(295px, 100%);
    margin-top: 31px;
    gap: 20px;
  }

  .faq__item {
    display: grid;
    min-height: 298px;
    padding: 20px 25px 23px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 120px auto;
    grid-template-areas:
      "visual"
      "content";
    row-gap: 7px;
    border-width: 2px;
  }

  .faq__item::before {
    inset: 4px;
  }

  .faq__question-mark {
    top: 15px;
    left: 16px;
    width: 48px;
    height: 48px;
  }

  .faq__question-mark-text {
    font-size: 24px;
  }

  .faq__visual {
    width: 100%;
    height: 120px;
  }

  .faq__image {
    width: 125px;
    height: 125px;
  }

  .faq__content {
    width: 100%;
  }

  .faq__question {
    padding: 0 6px 8px;
    border-bottom-width: 3px;
    font-size: 20px;
    line-height: 1.55;
    text-align: center;
  }

  .faq__answer {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.85;
  }

  .faq__answer br {
    display: none;
  }

  .faq__contact-message {
    width: min(328px, calc(100% + 26px));
    min-height: 78px;
    margin: 19px auto 0;
    padding: 14px 65px;
    border-width: 2px;
  }

  .faq__contact-text {
    font-size: 13px;
    line-height: 1.7;
  }

  .faq__contact-first-line,
  .faq__contact-second-line {
    white-space: nowrap;
  }

  .faq__contact-line {
    bottom: 5px;
    width: 200px;
  }

  .faq__contact-decoration--lantern {
    top: 11px;
    left: 7px;
    width: 58px;
    height: 58px;
  }

  .faq__contact-decoration--cloud {
    top: 17px;
    right: 5px;
    width: 50px;
    height: 43px;
  }
}

/* ========================================
  Contact
======================================== */

.contact {
  --contact-background: #faf8f1;
  --contact-navy: #001c34;
  --contact-red: #9f0b0b;
  --contact-gold: #b19767;
  --contact-light-gold: #e1a928;
  --contact-gray: #999;
  --contact-field-background: #fff;
  overflow: hidden;
  padding: 72px 24px 100px;
  color: var(--contact-navy);
  background-color: var(--contact-background);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(340px, 440px);
  grid-template-areas:
    "primary primary"
    "appeal appeal"
    "form benefits"
    "form visual";
  justify-content: center;
  column-gap: 70px;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.contact__primary-title {
  grid-area: primary;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(38px, 4.1vw, 55px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
}

.contact__primary-emphasis,
.contact__appeal-emphasis {
  color: var(--contact-red);
}

.contact__appeal {
  grid-area: appeal;
  margin-top: 10px;
  margin-bottom: 30px;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-weight: 700;
  text-align: center;
}

.contact__appeal-first {
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1.4;
}

.contact__appeal-second {
  font-size: clamp(34px, 3.45vw, 48px);
  line-height: 1.5;
}

.contact__form {
  grid-area: form;
  position: relative;
  border: 5px solid var(--contact-gold);
  background-color: var(--contact-background);
}

.contact__form::before {
  position: absolute;
  z-index: 0;
  inset: 6px;
  border: 1px solid var(--contact-gold);
  content: "";
  pointer-events: none;
}

.contact__form-inner {
  position: relative;
  z-index: 1;
  padding: 59px 26px 42px;
}

.contact__form-heading {
  display: grid;
  grid-template-columns: 95px auto 95px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin-bottom: 47px;
}

.contact__form-decoration {
  width: 95px;
}

.contact__form-title {
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact__form-title-wrap {
  text-align: center;
}

.contact__form-caption {
  margin: 12px 0 0;
  color: #a90000;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

/* 住宅タイプを確認してから、既存の入力フォームを表示します。 */
.contact__housing {
  --housing-eligible-color: #168262;
  --housing-eligible-background: #edf8f3;
  --housing-ineligible-color: var(--contact-red);
  --housing-ineligible-background: #fff3f1;
  padding-top: 22px;
  border-top: 3px solid #d9e3e7;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  line-height: 1.7;
}

.contact__housing--eligible {
  border-top-color: var(--housing-eligible-color);
}

.contact__housing--ineligible {
  border-top-color: var(--housing-ineligible-color);
}

.contact__housing-scope {
  margin-bottom: 20px;
  color: #536974;
  font-size: 16px;
}

.contact__housing-fieldset,
.contact__details {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact__housing-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
}

.contact__housing-required {
  flex: 0 0 auto;
  padding: 3px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--contact-red);
  font-size: 16px;
}

.contact__housing-options {
  display: grid;
  gap: 10px;
}

.contact__housing-options .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact__housing-options label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid #d6e1e6;
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.contact__housing-options input[type="radio"] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid #91a7b3;
  border-radius: 50%;
  appearance: none;
  background: #fff;
  cursor: pointer;
}

.contact__housing--eligible .is-selected {
  color: var(--housing-eligible-color);
  border-color: var(--housing-eligible-color);
  background: var(--housing-eligible-background);
  box-shadow: inset 0 0 0 1px var(--housing-eligible-color);
}

.contact__housing--ineligible .is-selected {
  color: var(--housing-ineligible-color);
  border-color: var(--housing-ineligible-color);
  background: var(--housing-ineligible-background);
  box-shadow: inset 0 0 0 1px var(--housing-ineligible-color);
}

.contact__housing-options input[type="radio"]:checked {
  border-color: var(--housing-eligible-color);
  background: radial-gradient(circle at center, var(--housing-eligible-color) 0 5px, #fff 6px);
}

.contact__housing--ineligible input[type="radio"]:checked {
  border-color: var(--housing-ineligible-color);
  background: radial-gradient(circle at center, var(--housing-ineligible-color) 0 5px, #fff 6px);
}

.contact__housing-message {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 12px;
  color: #536974;
  font-size: 16px;
}

.contact__housing-message--eligible {
  color: var(--housing-eligible-color);
  background: var(--housing-eligible-background);
}

.contact__housing-message--ineligible {
  color: var(--housing-ineligible-color);
  background: var(--housing-ineligible-background);
}

.contact__housing-message-title {
  margin-bottom: 6px;
  color: var(--contact-navy);
  font-size: 20px;
  font-weight: 700;
}

.contact__housing-message--eligible .contact__housing-message-title {
  color: var(--housing-eligible-color);
}

.contact__housing-message--ineligible .contact__housing-message-title {
  color: var(--housing-ineligible-color);
}

.contact__housing-message-note {
  margin-top: 4px;
  font-size: 14px;
}

/* 保存済みの旧フォームHTMLでも、進むボタンを表示しません。 */
.contact__housing-next {
  display: none !important;
}

.contact__details {
  margin-top: 32px;
}

.contact__housing [hidden],
.contact__details[hidden] {
  display: none !important;
}

.contact__fields {
  display: grid;
  gap: 20px;
}

.contact__field {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
}

.contact__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.contact__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 28px;
  padding: 2px 6px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.contact__status--required {
  background-color: var(--contact-red);
}

.contact__status--optional {
  background-color: var(--contact-gray);
}

.contact__field-control {
  min-width: 0;
}

.contact__field-control .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact__control {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--contact-navy);
  background-color: var(--contact-field-background);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 18px;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact__control::placeholder {
  color: #c5c5c5;
  opacity: 1;
}

.contact__control:focus {
  border-color: var(--contact-gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(177, 151, 103, 0.2);
}

/* 生年月日：西暦・月・日のプルダウン */
.contact__birthday {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact__birthday .contact__birthday-select {
  flex: 1 1 62px;
  width: auto;
  min-width: 62px;
  padding: 9px 6px;
  font-size: 16px;
  appearance: auto;
}

.contact__birthday .contact__birthday-select:first-child {
  flex-basis: 110px;
  min-width: 110px;
}

.contact__birthday-select:required:invalid {
  color: #777;
}

.contact__birthday-select option {
  color: var(--contact-navy);
}

.contact__field--choices {
  align-items: start;
}

.contact__choices {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.contact__choices .wpcf7-list-item {
  display: block;
  margin: 6px 10px 20px;
}

.contact__choices .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.contact__choices input[type="checkbox"] {
  position: relative;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid var(--contact-navy);
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
}

.contact__choices input[type="checkbox"] {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid var(--contact-navy);
  border-radius: 50%;
  appearance: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.contact__choices input[type="checkbox"]:checked {
  background-image: radial-gradient(
    circle at center,
    var(--contact-red) 0,
    var(--contact-red) 3.5px,
    transparent 4px
  );
}

/* 以前の疑似要素を無効化 */
.contact__choices input[type="checkbox"]::after {
  content: none;
}

.contact__choices input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--contact-red);
  outline-offset: 3px;
}

.contact__choices input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--contact-red);
  outline-offset: 3px;
}

.contact__choices .wpcf7-list-item-label {
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.contact__field--textarea {
  margin-top: 4px;
}

.contact__textarea {
  min-height: 110px;
  resize: vertical;
}

.contact__submit {
  position: relative;
  width: min(345px, 100%);
  margin: 40px auto 0;
}

.contact__submit::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 28px;
  width: 44px;
  height: 44px;
  background-image: url("../images/contact-deco06.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.contact__submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 69px;
  padding: 12px 20px 12px 73px;
  border-radius: 5px;
  color: #fff;
  background-color: var(--contact-red);
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact__submit-button:hover {
  opacity: 0.85;
}

.contact__submit-button:active {
  transform: translateY(1px);
}

.contact__submit .wpcf7-spinner {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.contact__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 63px;
}

.contact__form-note-flower {
  width: 39px;
  flex: 0 0 auto;
}

.contact__form-note-text {
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.contact__benefits {
  grid-area: benefits;
  display: grid;
  align-content: start;
  gap: 28px;
  padding-top: 100px;
}

.contact__benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 5px 25px;
  border: 5px solid var(--contact-gold);
  box-shadow: inset 0 0 0 5px var(--contact-background);
  outline: 1px solid var(--contact-gold);
  outline-offset: -9px;
}

.contact__benefit-icon {
  flex: 0 0 auto;
  object-fit: contain;
}

.contact__benefit-icon--consultation {
  width: 51px;
  height: 51px;
}

.contact__benefit-icon--estimate {
  width: 46px;
  height: 46px;
}

.contact__benefit-icon--sales {
  width: 48px;
  height: 48px;
}

.contact__benefit-text {
  margin-left: 19px;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.contact__benefit-text--small {
  font-size: 27px;
  line-height: 1.05;
}

.contact__visual {
  grid-area: visual;
  align-self: start;
  width: calc(100% + 80px);
  margin-top: 22px;
  margin-left: -80px;
}

.contact__visual-image {
  width: 100%;
  height: auto;
}

/* Contact Form 7 messages */

.contact .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: var(--contact-red);
  font-size: 13px;
  line-height: 1.5;
}

.contact .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 15px;
  border-width: 2px;
  font-size: 14px;
  line-height: 1.7;
}

.contact .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--contact-gold);
}

.contact .wpcf7 form.invalid .wpcf7-response-output,
.contact .wpcf7 form.unaccepted .wpcf7-response-output,
.contact .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--contact-red);
}

/* ========================================
  Contact - Tablet
======================================== */

@media (max-width: 1024px) {
  .contact__inner {
    grid-template-columns: minmax(0, 610px) minmax(200px, 260px);
    column-gap: 35px;
  }

  .contact__form-inner {
    padding-right: 22px;
    padding-left: 22px;
  }

  .contact__form-heading {
    grid-template-columns: 70px auto 70px;
    gap: 12px;
  }

  .contact__form-decoration {
    width: 70px;
  }

  .contact__form-title {
    font-size: 29px;
  }

  .contact__field {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .contact__label {
    font-size: 17px;
  }

  .contact__benefit {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact__benefit-text {
    font-size: 23px;
  }

  .contact__visual {
    width: calc(100% + 40px);
    margin-left: -40px;
  }
}

/* ========================================
  Contact - SP
======================================== */

@media (max-width: 767px) {
  .contact {
    padding: 53px 20px 30px;
  }

  .contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "primary"
      "visual"
      "appeal"
      "benefits"
      "form";
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
  }

  .contact__primary-title {
    font-size: clamp(17px, 5.2vw, 21px);
    line-height: 1.5;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .contact__visual {
    width: calc(100% + 24px);
    margin: 13px -12px 0;
  }

  .contact__visual-image {
    width: 100%;
  }

  .contact__appeal {
    margin-top: 13px;
    margin-bottom: 23px;
  }

  .contact__appeal-first {
    font-size: clamp(18px, 5.4vw, 22px);
    line-height: 1.55;
  }

  .contact__appeal-second {
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.7;
    white-space: nowrap;
  }

  .contact__benefits {
    gap: 10px;
    width: min(242px, 100%);
    margin: 0 auto;
    padding-top: 0;
  }

  .contact__benefit {
    min-height: 48px;
    padding: 3px 16px;
    border-width: 2px;
    box-shadow: inset 0 0 0 3px var(--contact-background);
    outline-offset: -5px;
  }

  .contact__benefit-icon--consultation {
    width: 36px;
    height: 36px;
  }

  .contact__benefit-icon--estimate {
    width: 31px;
    height: 31px;
  }

  .contact__benefit-icon--sales {
    width: 34px;
    height: 34px;
  }

  .contact__benefit-text {
    margin-left: 10px;
    font-size: 19px;
  }

  .contact__benefit-text--small {
    font-size: 15px;
  }

  .contact__form {
    width: calc(100% + 16px);
    margin-top: 18px;
    margin-left: -8px;
    border-width: 4px;
  }

  .contact__form::before {
    inset: 5px;
  }

  .contact__form-inner {
    padding: 17px 19px 20px;
  }

  .contact__form-heading {
    grid-template-columns: minmax(30px, 55px) auto minmax(30px, 55px);
    gap: 8px;
    margin-bottom: 27px;
  }

  .contact__form-decoration {
    width: 100%;
  }

  .contact__form-title {
    font-size: clamp(21px, 6.5vw, 26px);
    white-space: nowrap;
  }

  .contact__form-caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
  }

  .contact__housing-legend {
    gap: 8px;
    font-size: 16px;
  }

  .contact__housing-required {
    padding: 3px 9px;
    font-size: 13px;
  }

  .contact__housing-options label {
    gap: 10px;
    padding: 12px;
    font-size: 16px;
  }

  .contact__housing-options input[type="radio"] {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .contact__housing-message {
    padding: 16px;
    font-size: 14px;
  }

  .contact__housing-message-title {
    font-size: 17px;
  }

  .contact__housing-message-note {
    font-size: 13px;
  }

  .contact__fields {
    gap: 17px;
  }

  .contact__field {
    display: block;
  }

  .contact__label {
    gap: 7px;
    padding-top: 0;
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.4;
  }

  .contact__status {
    min-width: 43px;
    min-height: 26px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
  }

  .contact__control {
    min-height: 41px;
    padding: 8px 11px;
    font-size: 16px;
  }

  .contact__choices {
    gap: 16px;
    padding-top: 1px;
  }

  .contact__choices .wpcf7-list-item label {
    gap: 10px;
  }

  .contact__choices input[type="checkbox"] {
    width: 12px;
    height: 12px;
  }

  .contact__choices input[type="checkbox"]::after {
    width: 6px;
    height: 6px;
  }

  .contact__choices .wpcf7-list-item-label {
    font-size: 16px;
  }

  .contact__field--textarea {
    margin-top: 8px;
  }

  .contact__textarea {
    min-height: 96px;
  }

  .contact__submit {
    width: min(252px, 100%);
    margin-top: 20px;
  }

  .contact__submit::before {
    left: 25px;
    width: 34px;
    height: 34px;
  }

  .contact__submit-button {
    min-height: 48px;
    padding: 8px 14px 8px 58px;
    font-size: 20px;
  }

  .contact__form-note {
    gap: 9px;
    margin-top: 25px;
  }

  .contact__form-note-flower {
    width: 31px;
  }

  .contact__form-note-text {
    max-width: 210px;
    font-size: 20px;
    line-height: 1.7;
  }

  .contact .wpcf7 form .wpcf7-response-output {
    margin-top: 18px;
    font-size: 12px;
  }
}

/* ========================================
  Site Footer
======================================== */

.site-footer {
  --site-footer-navy: #001c34;

  overflow: hidden;
  width: 100%;
  color: #fff;
  background-color: var(--site-footer-navy);
}

.site-footer__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.site-footer__picture {
  display: block;
  width: 100%;
}

.site-footer__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/*
  メッセージは背景画像内に含まれているため、
  アクセシビリティ用のテキストは画面外へ配置します。
*/

.site-footer__message {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.site-footer__copyright-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 71px;
  padding: 16px 24px 18px;
  background-color: var(--site-footer-navy);
}

.site-footer__copyright {
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}

.site-footer__copyright small {
  font-size: inherit;
}

/* ========================================
  Site Footer - SP
======================================== */

@media (max-width: 767px) {
  .site-footer__copyright-area {
    min-height: 25px;
    padding: 5px 10px 7px;
  }

  .site-footer__copyright {
    font-size: clamp(7px, 2.05vw, 9px);
    line-height: 1.4;
    letter-spacing: 0;
  }
}

/* ----------------------------------------
  郵便番号住所検索
---------------------------------------- */

.contact__postcode-status {
  margin-top: 5px;
  color: var(--contact-navy);
  font-size: 12px;
  line-height: 1.5;
}

.contact__postcode-status--error {
  color: var(--contact-red);
}

@media (max-width: 767px) {
  .contact__postcode-status {
    margin-top: 4px;
    font-size: 11px;
  }
}

/* マンション名・部屋番号 */
.contact__field--building .contact__label {
  flex-wrap: nowrap;
  gap: 5px;
  font-size: 16px;
  white-space: nowrap;
}

.contact__field--building .contact__status {
  min-width: 43px;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .contact__field--building .contact__label {
    gap: 7px;
    font-size: 16px;
  }
}

/* ----------------------------------------
  Floating CTA
---------------------------------------- */

.floating-cta {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 18px;
  display: block;
  width: clamp(150px, 13vw, 200px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 40px));
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta__image {
  width: 100%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 7px 6px rgb(0 28 51 / 25%));
  transform-origin: center bottom;
  animation: floating-cta-sway 2.8s ease-in-out infinite;
}

.floating-cta:hover .floating-cta__image {
  animation-play-state: paused;
  filter: drop-shadow(0 9px 8px rgb(0 28 51 / 32%));
  transform: translateY(-3px) scale(1.03);
}

.floating-cta:focus-visible {
  outline: 3px solid #a00000;
  outline-offset: 4px;
  border-radius: 8px;
}

@keyframes floating-cta-sway {
  0%,
  100% {
    transform: translateX(-4px) rotate(-0.8deg);
  }

  50% {
    transform: translateX(4px) rotate(0.8deg);
  }
}

@media (max-width: 767px) {
  .floating-cta {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: 118px;
  }

  @keyframes floating-cta-sway {
    0%,
    100% {
      transform: translateX(-3px) rotate(-0.7deg);
    }

    50% {
      transform: translateX(3px) rotate(0.7deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: opacity 0.2s ease;
  }

  .floating-cta__image {
    animation: none;
  }
}


/* ====================================
サンクスページ
==================================== */
.thanks-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 80px 20px 0;
  background: #F9F7F0;
  color: #031f36;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
}

.thanks-page__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.thanks-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 78px 70px 70px;
  background: rgba(255, 252, 245, 0.96);
  border: 2px solid #c59b4b;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(4, 31, 54, 0.12);
  text-align: center;
}

.thanks-card::before,
.thanks-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(197, 155, 75, 0.7);
  border-radius: 22px;
  pointer-events: none;
}

.thanks-card__label {
  position: absolute;
  top: -36px;
  left: 50%;
  min-width: 260px;
  padding: 14px 36px 18px;
  transform: translateX(-50%);
  background: #a90000;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.12em;
  line-height: 1;
  z-index: 3;
}

.thanks-card__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: #031f36;
}

.thanks-card__title span {
  color: #a90000;
}

.thanks-card__ornament {
  position: relative;
  width: 360px;
  height: 1px;
  margin: 28px auto 40px;
  background: #c59b4b;
}

.thanks-card__ornament::before {
  content: "◇";
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0 14px;
  transform: translate(-50%, -50%);
  background: #fffcf5;
  color: #c59b4b;
  font-size: 22px;
}

.thanks-card__lead {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.08em;
}

.thanks-card__text {
  margin: 0 0 36px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.thanks-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto 34px;
  padding: 24px 30px;
  background: #f5ead8;
  border-radius: 12px;
}

.thanks-notice p {
  margin: 0;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}

.thanks-notice strong {
  color: #b00000;
  font-size: 1.12em;
}

.thanks-card__sub {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.thanks-tel {
  max-width: 620px;
  margin: 0 auto 38px;
  padding: 24px 30px;
  background: #fffaf0;
  border: 2px solid #c59b4b;
  border-radius: 16px;
}

.thanks-tel__label {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.thanks-tel__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #a90000;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.thanks-tel__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: #031f36;
  color: #fff;
  border-radius: 50%;
  font-size: 34px;
  letter-spacing: 0;
}

.thanks-tel__icon img{
  width: 30px;
  height: 30px;
}

.thanks-tel__time {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.thanks-tel__time span {
  display: inline-block;
  margin-right: 10px;
  padding: 4px 12px;
  background: #c59b4b;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-width: 520px;
  padding: 22px 48px;
  background: linear-gradient(180deg, #c60000, #8f0000);
  border: 3px solid #c59b4b;
  border-radius: 12px;
  box-shadow: 0 8px 0 #6e0000, 0 12px 18px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thanks-btn:hover {
  transform: translateY(3px);
  box-shadow: 0 5px 0 #6e0000, 0 8px 14px rgba(0, 0, 0, 0.15);
}

.thanks-btn span {
  font-size: 34px;
}

.thanks-page__decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.thanks-page__decor img {
  display: block;
  width: 100%;
  height: auto;
}

.thanks-page__decor--lantern {
  top: 0;
  left: 0;
  width: 180px;
}

.thanks-page__decor--pine {
  top: 90px;
  right: 50px;
  width: 190px;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {

  .thanks-page {
    min-height: auto;
    padding: 56px 16px 40px;
  }

  .thanks-page__inner {
    max-width: 100%;
  }

  .thanks-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 56px 18px 36px;
    border-radius: 18px;
  }

  .thanks-card::before,
  .thanks-card::after {
    inset: 8px;
    border-radius: 14px;
  }

  .thanks-card__label {
    top: -24px;
    min-width: 180px;
    padding: 10px 24px 12px;
    font-size: 22px;
    border-radius: 999px;
    letter-spacing: 0.1em;
  }

  .thanks-card__title {
    font-size: 25px;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .thanks-card__ornament {
    width: 200px;
    margin: 22px auto 28px;
  }

  .thanks-card__ornament::before {
    font-size: 18px;
    padding: 0 10px;
  }

  .thanks-card__lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  .thanks-card__lead br {
    display: none;
  }

  .thanks-card__text {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .thanks-notice {
    display: block;
    max-width: 100%;
    margin-bottom: 28px;
    padding: 20px 16px;
    border-radius: 10px;
  }

  .thanks-notice__icon {
    display: none;
  }

  .thanks-notice p {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .thanks-notice strong {
    font-size: 1.08em;
  }

  .thanks-card__sub {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .thanks-tel {
    max-width: 100%;
    margin-bottom: 30px;
    padding: 20px 14px;
    border-radius: 12px;
  }

  .thanks-tel__label {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .thanks-tel__number {
    gap: 10px;
    font-size: 30px;
    letter-spacing: 0.03em;
  }

  .thanks-tel__icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .thanks-tel__icon img {
    width: 22px;
    height: 22px;
  }

  .thanks-tel__time {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .thanks-tel__time span {
    display: inline-block;
    margin: 0 0 6px;
    padding: 3px 10px;
    font-size: 13px;
  }

  .thanks-btn {
    width: 100%;
    min-width: auto;
    gap: 16px;
    padding: 17px 18px;
    border-width: 2px;
    border-radius: 10px;
    box-shadow: 0 6px 0 #6e0000, 0 10px 14px rgba(0, 0, 0, 0.16);
    font-size: 19px;
    letter-spacing: 0.06em;
  }

  .thanks-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #6e0000, 0 7px 12px rgba(0, 0, 0, 0.14);
  }

  .thanks-btn span {
    font-size: 26px;
  }

  .sp-only {
    display: block;
  }
}
