/* Performance page — scaffold from newPerformance Design B */
.performance-page {
  --perf-ink: #2e2a26;
  --perf-navy: #26364f;
  --perf-muted: #6e5f49;
  --perf-soft: #6b645c;
  --perf-line: #e4ded3;
  --perf-line-soft: #efeae1;
  --perf-cream: #f7f4ee;
  --perf-white: #fff;
  color: var(--perf-ink);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  line-height: 1.9;
  padding-top: 0;
}

.performance-page.-page {
  padding-top: 0;
}

.performance-page a {
  color: var(--perf-navy);
  text-decoration: none;
}

.performance-page a:hover {
  color: #0f1b2e;
  opacity: 1;
}

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

.performance-page__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0 120px;
}

.performance-page__inner--cta {
  padding-bottom: 120px;
}

@media only screen and (max-width: 768px) {
  .performance-page__inner {
    padding: 0 24px 120px;
  }

  .performance-page__inner--cta {
    padding-bottom: 120px;
  }
}

.perf-hero {
  position: relative;
  width: 100%;
  height: 760px;
  margin: 0;
  overflow: hidden;
  background: var(--perf-cream);
}

.perf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 22, 20, 0.15) 0%, rgba(24, 22, 20, 0.52) 100%);
}

.perf-hero__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(56px, calc((100% - 1160px) / 2 + 24px)) 64px;
  color: #fff;
}

.perf-hero__label {
  font-family: Cormorant, serif;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.85);
}

.perf-hero__ttl {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  margin-top: 22px;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.perf-hero__lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 2.1;
  letter-spacing: 0.06em;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.92);
}

.perf-sec {
  padding-top: 60px;
}

.perf-sec--promise {
  padding-top: 92px;
  text-align: center;
}


.perf-sec__label {
  font-family: Cormorant, serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--perf-muted);
}

.perf-sec__ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: 0.04em;
  margin: 22px 0 0;
}

.perf-sec__sub {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.04em;
  margin: 18px 0 0;
  color: var(--perf-navy);
}

.perf-media {
  margin: 52px 0 0;
  height: 520px;
  overflow: hidden;
  background: var(--perf-cream);
}

.perf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--perf-line);
}

.perf-card {
  display: flex;
  flex-direction: column;
  background: var(--perf-white);
  padding: 40px 32px;
  color: inherit;
  transition: background 0.2s ease;
}

.perf-card:hover {
  background: #fcfaf6;
  color: inherit;
}

.perf-card__label {
  font-family: Cormorant, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--perf-muted);
}

.perf-card__ttl {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--perf-navy);
  margin-top: 10px;
}

.perf-card__lead {
  font-size: 14px;
  font-weight: 300;
  color: var(--perf-soft);
  line-height: 2.1;
  margin-top: 10px;
}

.perf-card__body {
  border-top: 1px solid var(--perf-line-soft);
  margin-top: 26px;
  padding-top: 20px;
}

.perf-card__cap {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--perf-navy);
}

.perf-card__cap.-mt {
  margin-top: 18px;
}

.perf-card__list {
  font-size: 13px;
  font-weight: 300;
  line-height: 2.2;
  margin-top: 8px;
}

.perf-card__note {
  font-size: 13px;
  font-weight: 300;
  line-height: 2.2;
  margin-top: 12px;
}

.perf-card__note.-sm {
  font-size: 11px;
  color: #8d857a;
  line-height: 1.9;
  margin-top: 4px;
}

.perf-card__more {
  margin-top: auto;
  padding-top: 26px;
  font-family: Cormorant, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--perf-navy);
  border-bottom: 1px solid var(--perf-navy);
  align-self: flex-start;
  padding-bottom: 4px;
}

.perf-detail {
  padding-top: 64px;
  scroll-margin-top: 120px;
}

.perf-visual {
  height: 460px;
  overflow: hidden;
  background: var(--perf-cream);
  margin-top: 40px;
}

.perf-visual img {
  object-position: center 40%;
}

.perf-visual.-insulation img {
  object-position: center 45%;
}

.perf-visual.-quality img {
  object-position: 55% 40%;
}

.perf-detail__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.perf-detail__label {
  font-family: Cormorant, serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--perf-muted);
}

.perf-detail__ttl {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 16px 0 0;
}

.perf-detail__txt {
  font-size: 16px;
  font-weight: 300;
  line-height: 2.3;
  letter-spacing: 0.04em;
  margin: 20px 0 0;
  max-width: 840px;
}

.perf-detail__note {
  font-size: 12px;
  font-weight: 300;
  color: #8d857a;
  line-height: 2;
  margin: 10px 0 0;
}

.perf-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--perf-line);
  margin-top: 44px;
}

.perf-stats.-cols3 {
  grid-template-columns: repeat(3, 1fr);
}

.perf-stats__item {
  background: var(--perf-white);
  padding: 40px 32px;
  text-align: center;
}

.perf-stats__item.-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.perf-stats__cap {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--perf-navy);
}

.perf-stats__val {
  font-family: Cormorant, serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1;
  color: var(--perf-navy);
  margin-top: 12px;
}

.perf-stats__val.-sm {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  white-space: nowrap;
}

.perf-stats__unit {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 400;
  margin-left: 6px;
}

.perf-stats__text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--perf-navy);
}

.perf-stats__text.-sm {
  font-size: 18px;
  line-height: 2;
}

.perf-panel {
  border: 1px solid var(--perf-line);
  margin-top: 44px;
}

.perf-panel__head {
  background: var(--perf-navy);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.perf-panel__ttl {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.perf-panel__en {
  font-family: Cormorant, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #c3cbd8;
}

.perf-panel__en.-jp {
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.perf-panel__body {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 36px 32px;
  align-items: flex-start;
}

.perf-panel__body.-center {
  align-items: center;
}

.perf-panel__media,
.perf-panel__side {
  flex: 1 1 320px;
  min-width: 0;
}

.perf-panel__frame {
  background: #fff;
  border: 1px solid var(--perf-line-soft);
}

.perf-panel__frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.perf-panel__caption {
  border: 1px solid var(--perf-line-soft);
  border-top: 0;
  padding: 22px 24px;
}

.perf-panel__caption-ttl {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--perf-navy);
}

.perf-panel__factors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}

.perf-panel__factors span {
  font-family: Cormorant, serif;
  color: var(--perf-muted);
  margin-right: 12px;
}

.perf-panel__side-ttl {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: var(--perf-navy);
}

.perf-panel__rows {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.1;
}

.perf-panel__rows > div {
  border-bottom: 1px solid var(--perf-line-soft);
  padding: 14px 0;
}

.perf-panel__rows > div:last-child {
  border-bottom: 0;
}

.perf-panel__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.perf-panel__thumb {
  flex: 1 1 300px;
  min-width: 0;
  height: 240px;
  overflow: hidden;
  background: var(--perf-cream);
}

.perf-panel__thumb.-contain {
  height: auto;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--perf-line-soft);
  padding: 12px;
}

.perf-panel__thumb.-contain img {
  height: auto;
  object-fit: contain;
}

.perf-panel__opt-label {
  font-family: Cormorant, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--perf-muted);
}

.perf-panel__side-txt {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin: 14px 0 0;
}

.perf-btn {
  display: inline-block;
  border: 1px solid var(--perf-navy);
  color: var(--perf-navy);
  padding: 15px 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.3s ease-in-out;
}

.performance-page a.perf-btn:hover {
  background: #00053a;
  color: #fff;
  border-color: #00053a;
  opacity: 1;
}

.perf-btn.-fill {
  background: #00053a;
  color: #fff;
  border-color: #00053a;
  padding: 20px 52px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.performance-page a.perf-btn.-fill:hover {
  background: #00053a;
  color: #fff;
  opacity: 0.8;
}

.perf-btn.-outline-lg {
  padding: 20px 52px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.perf-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.perf-btns.-center {
  justify-content: center;
  margin-top: 48px;
  gap: 16px;
}

/* Model house CTA */
.perf-model__head {
  text-align: center;
  margin-bottom: 44px;
}

.perf-model.home-model {
  padding: 0;
}

.perf-model.perf-sec {
  padding-top: 100px;
}

.perf-model .model__list {
  margin-top: 0;
  grid-column: auto;
  width: 100%;
}

.perf-model .list__box {
  margin-left: 0;
}

.perf-model .box__img img {
  height: auto;
}

.perf-model .c-button.model__button {
  color: var(--text-color);
}

.perf-model .c-button.model__button:hover {
  color: #fff;
  opacity: 1;
}

.perf-model .perf-btns.-center {
  margin-top: 48px;
}

@media only screen and (max-width: 768px) {
  .perf-hero {
    height: 480px;
  }

  .perf-hero__body {
    padding: 0 24px 36px;
  }

  .perf-hero__ttl {
    font-size: 28px;
  }

  .perf-hero__lead {
    font-size: 14px;
  }

  .perf-sec--promise {
    padding-top: 72px;
  }

  .perf-model.perf-sec {
    padding-top: 72px;
  }

  .perf-btns {
    justify-content: center;
  }

  .perf-sec__ttl,
  .perf-detail__ttl {
    font-size: 24px;
  }

  .perf-sec__sub {
    font-size: 18px;
  }

  .perf-media {
    height: 280px;
    margin: 36px -24px 0;
  }

  .perf-visual {
    height: 280px;
  }

  .perf-cards {
    grid-template-columns: 1fr;
  }

  .perf-stats,
  .perf-stats.-cols3 {
    grid-template-columns: 1fr;
  }

  .perf-panel__body,
  .perf-panel__head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .perf-stats__val {
    font-size: 64px;
  }
}
