/* Hero */

.home-hero {
  min-height: calc(100vh - 88px);
  padding-block: 64px;
  display: grid;
  align-items: center;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.home-hero__eyebrow {
  margin-bottom: 24px;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-hero__title {
  margin-bottom: 32px;
  font-size: clamp(4rem, 5.6vw, 7.2rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.home-hero__description {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--color-text-light);
  font-size: 1.7rem;
}

.home-hero__visual {
  margin: 0;
}

.home-hero__image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* About */

.home-about {
  background: var(--color-bg-light);
}

.home-about__layout {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 48px 96px;
}

.home-about__content {
  max-width: 700px;
}

.home-about__lead {
  margin-bottom: 32px;
  font-size: clamp(2.6rem, 3vw, 3.8rem);
  line-height: 1.5;
}

.home-about__visual {
  grid-column: 1 / -1;
  margin: 32px 0 0;
}

.home-about__image {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero__inner,
  .home-about__layout {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    order: -1;
  }

  .home-about__visual {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-block: 32px 64px;
  }

  .home-hero__inner {
    gap: 36px;
  }

  .home-hero__title {
    margin-bottom: 24px;
  }

  .home-hero__description {
    font-size: 1.5rem;
  }

  .home-about__layout {
    gap: 36px;
  }

  .home-about__visual {
    margin-top: 0;
  }

  .home-about__image {
    aspect-ratio: 4 / 3;
  }
}

/* Business */

.home-business__heading {
  margin-bottom: 56px;
}

.home-business__lead {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.6;
}

.home-business__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.business-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.business-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.business-card__visual {
  margin: 0;
  overflow: hidden;
}

.business-card__image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.business-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}

.business-card__number {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.business-card__title {
  margin-bottom: 20px;
  font-size: 2.2rem;
  line-height: 1.5;
}

.business-card__text {
  margin-bottom: 28px;
  color: var(--color-text-light);
}

.business-card__link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 700;
  border-top: 1px solid var(--color-border);
}

.home-business__button {
  margin-top: 48px;
  text-align: center;
}

/* Philosophy */

.home-philosophy {
  color: var(--color-white);
  background: var(--color-bg-dark);
}

.home-philosophy__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 80px;
}

.home-philosophy__visual {
  margin: 0;
}

.home-philosophy__image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-philosophy .section-heading__en {
  color: var(--color-accent);
}

.home-philosophy__lead {
  margin-top: 40px;
  margin-bottom: 32px;
  font-size: clamp(3rem, 4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.45;
}

.home-philosophy__text {
  color: rgba(255, 255, 255, 0.82);
}

/* Company */

.home-company {
  background: var(--color-bg-light);
}

.home-company__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 80px;
}

.home-company__lead {
  margin-top: 40px;
  margin-bottom: 32px;
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  line-height: 1.5;
}

.home-company__summary {
  margin: 40px 0 0;
  border-top: 1px solid var(--color-border);
}

.home-company__summary > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.home-company__summary dt {
  font-weight: 700;
}

.home-company__summary dd {
  margin: 0;
}

.home-company__visual {
  margin: 0;
}

.home-company__image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Recruit */

.home-recruit__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 80px;
}

.home-recruit__visual {
  margin: 0;
}

.home-recruit__image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-recruit__lead {
  margin-top: 40px;
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  line-height: 1.5;
}

/* Contact */

.home-contact {
  color: var(--color-white);
  background: var(--color-primary);
}

.home-contact .section-heading__en {
  color: var(--color-accent);
}

.home-contact__heading {
  margin-bottom: 48px;
}

.home-contact__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.home-contact__lead {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  font-weight: 700;
}

.home-contact__content p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.home-contact__phone {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.home-contact__phone p {
  margin-bottom: 0;
}

.home-contact__phone a {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.home-contact__phone span {
  color: rgba(255, 255, 255, 0.72);
}

/* Tablet */

@media (max-width: 1023px) {
  .home-business__list {
    grid-template-columns: 1fr;
  }

  .business-card > a {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .home-philosophy__layout,
  .home-company__layout,
  .home-recruit__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-company__visual {
    order: -1;
  }

  .home-contact__content {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .home-business__heading {
    margin-bottom: 36px;
  }

  .business-card > a {
    display: flex;
  }

  .business-card__body {
    padding: 24px;
  }

  .business-card__title {
    font-size: 2rem;
  }

  .home-philosophy__layout,
  .home-company__layout,
  .home-recruit__layout {
    gap: 36px;
  }

  .home-philosophy__image,
  .home-company__image {
    aspect-ratio: 4 / 3;
  }

  .home-company__summary > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-contact__phone {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-contact__phone a {
    font-size: 3rem;
  }
}