@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600;700&family=Unbounded:wght@700&family=Zen+Antique&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap");

:root {
  --reason-navy: #232b56;
  --reason-dark: #030c3d;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
}

.reason-hero {
  position: relative;
  height: 353px;
  background: rgba(3, 12, 61, .1);
  color: var(--reason-navy);
}

.reason-hero__heading {
  position: absolute;
  top: 176px;
  left: 5.21%;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.reason-hero__heading h1 {
  font-family: "Unbounded", var(--sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.reason-hero__heading p {
  color: #c8b687;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
}

.reason-hero__breadcrumb {
  position: absolute;
  top: 180px;
  right: 5.21%;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  line-height: 50px;
}

.reason-hero__breadcrumb a { color: inherit; }

.reason-lead {
  box-sizing: border-box;
  display: flex;
  height: 497px;
  flex-direction: column;
  align-items: center;
  padding-top: 138px;
  color: var(--reason-navy);
  text-align: center;
}

.reason-lead h2 {
  font-family: "Zen Antique", serif;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.6;
}

.reason-lead p {
  margin-top: 22px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  line-height: 2.5;
}

.reason-point { color: var(--reason-navy); }

.reason-point__visual {
  display: grid;
  height: 587px;
  grid-template-columns: 1fr 1fr;
}

.reason-point__photo {
  position: relative;
  overflow: hidden;
  background: #162b3a;
}

.reason-point__photo:after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  content: "";
}

.reason-point__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}

.reason-point__photo--estate > img { object-position: 50% 58%; }
.reason-point__photo--consulting > img { object-position: 52% 50%; }

.reason-point__title {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.reason-point__title span {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}

.reason-point__title h2 {
  margin-top: 9px;
  font-family: "Zen Kaku Gothic Antique", "Zen Kaku Gothic New", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
}

.reason-point__description {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--reason-dark);
  color: #fff;
}

.reason-point__description p {
  width: min(384px, 62%);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 2.5;
}

.reason-cards {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px;
  padding: 70px 5.21% 120px;
}

.reason-point:nth-of-type(4) .reason-cards { min-height: 405px; }
.reason-point--last .reason-cards { min-height: 433px; }

.reason-cards article {
  position: relative;
  min-width: 0;
  padding-bottom: 15px;
}

.reason-cards h3 {
  position: relative;
  min-height: 47px;
  padding-left: 33px;
  font-family: "Zen Antique", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.reason-cards h3 > img {
  position: absolute;
  top: 12px;
  left: 0;
  width: 18px;
  height: 1px;
}

.reason-cards p {
  margin-top: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 2;
}

.reason-card__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.reason-cards--three {
  grid-template-columns: repeat(3, 278px);
  justify-content: start;
}

.consultation__button { box-sizing: border-box; }

@media (max-width: 1100px) {
  .reason-cards { gap: 30px; }
  .reason-cards--three { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) and (max-width: 900px) {
  .footer__brand p { width: 320px; }

  .footer nav {
    grid-template-columns: 130px 165px;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .reason-hero { height: 260px; }

  .reason-hero__heading {
    top: 120px;
    left: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .reason-hero__heading h1 { font-size: 30px; }
  .reason-hero__heading p { font-size: 14px; }

  .reason-hero__breadcrumb {
    top: auto;
    right: 24px;
    bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .reason-lead {
    height: auto;
    padding: 80px 24px;
  }

  .reason-lead h2 {
    font-size: 24px;
    line-height: 1.55;
  }

  .reason-lead p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8;
  }

  .reason-point__visual {
    height: auto;
    grid-template-columns: 1fr;
  }

  .reason-point__photo { height: 360px; }
  .reason-point__photo--estate > img { object-position: 50% 54%; }
  .reason-point__photo--consulting > img { object-position: 51% 50%; }

  .reason-point__title span { font-size: 14px; }
  .reason-point__title h2 { font-size: 22px; }

  .reason-point__description {
    padding: 56px 24px;
  }

  .reason-point__description p {
    width: 100%;
    font-size: 14px;
  }

  .reason-cards,
  .reason-cards--three,
  .reason-point:nth-of-type(4) .reason-cards,
  .reason-point--last .reason-cards {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px 24px 72px;
  }

  .reason-cards article { padding-bottom: 28px; }

  .reason-cards h3 {
    min-height: 0;
    font-size: 18px;
  }

  .reason-cards p {
    font-size: 14px;
  }

  .footer__brand p,
  .footer nav { font-size: 14px; }
}
