@charset "utf-8";

/* HOUSING REPORT 2026: page-specific styles, shared navigation stays in layout.css. */
.housing-report-page #header {
  background-color: #fff;
}

.housing-report {
  padding-top: 100px;
  color: #007aa4;
}

.housing-report picture,
.housing-report img {
  display: block;
}

.housing-report img {
  max-width: 100%;
  height: auto;
}

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

.report-hero {
  max-width: 1920px;
  margin-inline: auto;
}

.report-hero img {
  width: 100%;
}

.report-sections {
  width: 73.75%;
  max-width: 1416px;
  margin: clamp(100px, 14.58vw, 280px) auto 0;
}

.report-section {
  display: grid;
  grid-template-columns: 29.167% minmax(0, 1fr);
  column-gap: 7.203%;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.report-section + .report-section {
  margin-top: clamp(60px, 6.77vw, 130px);
}

.report-number {
  grid-column: 1;
  grid-row: 1 / 3;
}

.report-number img {
  width: 100%;
}

.report-title {
  grid-column: 2;
  grid-row: 1;
}

.report-title img {
  width: auto;
  max-height: clamp(25px, 2.164vw, 41.55px);
}

.report-body {
  grid-column: 2;
  grid-row: 2;
  padding-top: clamp(24px, 2.083vw, 40px);
}

.report-copy {
  width: 88.889%;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(14px, .9375vw, 18px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .07em;
  text-align: justify;
  overflow-wrap: anywhere;
}

.report-chart {
  margin-top: clamp(30px, 3.125vw, 60px);
}

.report-chart img {
  width: 100%;
}

.report-section--02 .report-chart,
.report-section--03 .report-chart {
  width: 87.778%;
}

.report-section--03 .report-chart {
  margin-top: clamp(25px, 2.6vw, 50px);
}

.report-section:not(:last-child) .report-body::after {
  content: "";
  display: block;
  width: 87.778%;
  height: 1px;
  margin-top: clamp(70px, 8.85vw, 170px);
  background-color: #61b1d2;
}

.report-section--02:not(:last-child) .report-body::after {
  margin-top: clamp(60px, 5.99vw, 115px);
}

.report-cta {
  width: 60.15625%;
  max-width: 1155px;
  margin: clamp(100px, 13.54vw, 260px) auto 0;
  padding-bottom: clamp(100px, 8.85vw, 170px);
  text-align: center;
}

.report-cta h2 img {
  width: 100%;
}

.housing-report a.report-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40%;
  max-width: 460px;
  min-height: clamp(56px, 3.854vw, 74px);
  margin: clamp(50px, 5.2vw, 100px) auto 0;
  padding: 18px 64px;
  background-color: #007ba3;
  box-shadow: 5px 6px 8px rgb(0 0 0 / 25%);
  color: #fff;
  font-size: clamp(16px, 1.1458vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2em;
  transition: background-color .25s, box-shadow .25s;
}

.report-cta-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 43px;
  height: 10px;
  background: url("../../img/housing-report/icon_arrow_white.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.housing-report a.report-cta-link:hover {
  background-color: #005e80;
  box-shadow: 2px 3px 5px rgb(0 0 0 / 25%);
}

.housing-report-page a:focus-visible {
  outline: 2px solid #007ba3;
  outline-offset: 5px;
}

.housing-report-page .footer {
  border-top: 1px solid #ccc;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .report-sections {
    width: 90%;
  }

  .report-section {
    grid-template-columns: 25% minmax(0, 1fr);
    column-gap: 6%;
  }

  .report-cta {
    width: 75%;
  }

  .housing-report a.report-cta-link {
    width: 360px;
    max-width: 90%;
  }
}

@media (max-width: 800px) {
  .housing-report {
    padding-top: 3.125vw;
  }

  .report-sections {
    width: 90.625%;
    margin-top: 17.1875vw;
  }

  .report-section {
    grid-template-columns: 46.207% minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 4.31%;
    align-items: center;
  }

  .report-section + .report-section {
    margin-top: 32.8125vw;
  }

  .report-number {
    grid-row: 1;
  }

  .report-title img {
    width: 100%;
    max-height: none;
  }

  .report-body {
    grid-column: 1 / -1;
    padding-top: 9.375vw;
  }

  .report-copy {
    width: 96.552%;
    margin-inline: auto;
    font-size: clamp(12px, 3.125vw, 25px);
    line-height: 2.05;
    letter-spacing: .2em;
  }

  .report-chart,
  .report-section--02 .report-chart {
    width: 96.552%;
    margin: 10.9375vw auto 0;
  }

  .report-section--03 .report-chart {
    width: 106.897%;
    margin: 7.8125vw -3.448% 0;
  }

  .report-section:not(:last-child) .report-body::after {
    display: none;
  }

  .report-cta {
    width: 90.625%;
    margin-top: 28.125vw;
    padding-bottom: 31.25vw;
  }

  .housing-report a.report-cta-link {
    width: 460px;
    max-width: 80%;
    min-height: 44px;
    margin-top: 10.9375vw;
    padding: 3.125vw 45px;
    font-size: clamp(13px, 3.125vw, 22px);
    box-shadow: 3px 4px 5px rgb(0 0 0 / 25%);
  }

  .report-cta-link::after {
    right: 5%;
    width: 9.3%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .housing-report a.report-cta-link {
    transition: none;
  }
}
