/*
  Page-specific styles for /company/. Shared reset, tokens, header, footer
  and the reveal-animation system live in /common/css/base.css.
*/

body {
  color: var(--ink7);
}

.company-page {
  padding-top: 76px;
}

.company-section,
.recruit-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.company-section {
  padding: 138px 0 128px;
  background: var(--base);
}

.company-inner,
.recruit-inner,
.contact-inner {
  width: 1180px;
  max-width: 86vw;
  margin: 0 auto;
}

.page-heading {
  margin-bottom: 54px;
  text-align: center;
}

.page-heading .en {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 4px;
}

.page-heading .jp {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
}

.company-layout {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 76px;
  align-items: start;
}

.company-copy .kicker {
  margin-bottom: 26px;
}

.company-copy h2 {
  font-size: 39px;
  line-height: 1.65;
  letter-spacing: 2px;
}

.company-copy .sub-lead {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 54px;
}

.company-message {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-message p {
  font-size: 15px;
  line-height: 2.15;
}

.signature {
  padding: 23px 0;
  margin-bottom: 20px;
  text-align: left;
  font-size: 16px;
}

.signature strong {
  margin-left: 20px;
  font-size: 19px;
  font-weight: 400;
}

.company-photo {
  height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--paper);
  overflow: hidden;
}

.company-photo img {
  width: auto;
  height: auto;
  max-width: 42%;
  max-height: 34%;
  object-fit: contain;
}

.logo-caption {
  margin-top: 70px;
  text-align: center;
}

.logo-caption h3 {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.288px;
  margin-bottom: 14px;
  color: var(--ink7);
}

.logo-caption p {
  max-width: 400px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 2;
  color: var(--ink7);
}

.company-overview {
  width: 100%;
  margin-bottom: 78px;
}

.company-overview h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 6px;
  font-weight: 600;
}

.company-table {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
}

.company-table dt {
  font-weight: 600;
}

.recruit-section {
  padding: 118px 0 124px;
  background: var(--paper);
}

.recruit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.recruit-photo {
  height: 430px;
  overflow: hidden;
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-copy h2 {
  font-size: 38px;
  line-height: 1.75;
  letter-spacing: 2px;
  margin-bottom: 34px;
}

.recruit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  padding: 0 28px;
  background: linear-gradient(88deg, #2C7B64 13.03%, #61B953 59.54%, #86CAB6 100.07%);
  border: none;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  transition: .3s;
}

.recruit-link:hover {
  background: var(--green);
  color: #fff;
}

/* core model */
.core-section {
  padding: 138px 0;
  background: var(--base);
  border-top: 1px solid var(--line);
}

.core-inner {
  width: 1180px;
  max-width: 86vw;
  margin: 0 auto;
}

.core-diagram {
  width: 100%;
  height: auto;
}

.contact-section {
  padding: 138px 0 150px;
  background: var(--base);
  text-align: center;
}

.contact-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 2;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 64px;
  padding: 0 40px;
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: .3s;
}

@media (max-width: 1000px) {
  .company-layout,
  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .company-photo {
    height: auto;
  }
  .company-photo img {
    max-height: 220px;
  }

  .recruit-photo {
    height: 360px;
  }

}

@media (max-width: 640px) {
  .company-section,
  .recruit-section,
  .contact-section {
    padding: 90px 0;
  }

  .page-heading .en {
    font-size: 32px;
  }

  .company-copy h2,
  .recruit-copy h2 {
    font-size: 30px;
  }

  .company-photo {
    height: auto;
    padding: 40px 24px;
  }
  .company-photo img {
    max-height: 160px;
  }

  .company-table {
    grid-template-columns: 110px 1fr;
  }

  .core-section {
    padding: 90px 0;
  }
}
