.page-section {
  padding: 132px 24px 120px;
}

.page-section--white {
  background: var(--color-white);
}

.page-section--gray {
  background: var(--color-gray);
}

.page-section--min {
  min-height: 100vh;
}

.page-section.page-section--contact {
  padding-bottom: 153px;
}

.page-section.page-section--privacy {
  padding-bottom: 171px;
}

.page-section.page-section--entry {
  padding-top: 120px;
  padding-bottom: 356px;
}

.page-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.page-container--narrow {
  max-width: 1100px;
}

.page-container--entry {
  max-width: 1100px;
}

.section-heading__slash {
  display: block;
  width: 26px;
  height: 2px;
  transform: rotate(-30deg);
  background: var(--color-line);
}

.section-heading__title {
  margin-top: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
}

.home-hero {
  position: relative;
  height: 100svh;
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .home-hero {
    height: 100dvh;
  }
}

.home-hero__media,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  position: absolute;
  object-fit: cover;
}

.home-hero__image--one {
  top: 0;
  left: 0;
  width: 38.32%;
  height: 53.9%;
}

.home-hero__image--two {
  top: 0;
  left: 38.32%;
  width: 36.66%;
  height: 53.9%;
}

.home-hero__image--three {
  top: 0;
  left: 74.98%;
  width: 25.02%;
  height: 100%;
}

.home-hero__image--four {
  top: 53.9%;
  left: 0;
  width: 24.94%;
  height: 46.1%;
}

.home-hero__image--five {
  top: 53.9%;
  left: 24.94%;
  width: 50.04%;
  height: 46.1%;
}

.home-hero__overlay {
  background: rgb(0 0 0 / 41%);
}

.home-hero__copy {
  position: absolute;
  right: 24px;
  bottom: 36px;
  z-index: 2;
  max-width: calc(100% - 48px);
  color: var(--color-white);
  text-align: right;
}

.home-hero__copy h1 {
  font-family: "Sawarabi Gothic", "Yaku Han JP", "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.55;
}

.home-hero__copy p {
  margin-top: 26px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}

.company-profile {
  display: grid;
  gap: 48px;
}

.company-profile__list {
  font-size: 14px;
  line-height: 1.9;
}

.company-profile__list div {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--color-line, #707070);
  padding: 21px 0;
}

.company-profile__list dt {
  color: #6f6f6f;
}

.company-strength,
.service-intro,
.service-flow,
.recruit-two-column,
.contact-lead-grid {
  display: grid;
  gap: 48px;
}

/* WordPress wpautop can add classless paragraphs inside fixed-page layout grids. */
:where(
  .company-profile,
  .company-strength,
  .service-intro,
  .service-flow,
  .recruit-two-column,
  .contact-lead-grid
) > p:empty,
:where(
  .company-profile,
  .company-strength,
  .service-intro,
  .service-flow,
  .recruit-two-column,
  .contact-lead-grid
) > p:not([class]) {
  display: none;
}

.company-strength__body,
.service-intro__body,
.recruit-two-column__body {
  font-size: 14px;
  line-height: 2;
}

.lead-title {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.75;
}

.text-stack {
  margin-top: 58px;
}

.text-stack p + p {
  margin-top: 16px;
}

.text-stack p.text-stack__closing {
  margin-top: 30px;
}

.service-intro {
  margin-top: 106px;
}

.service-intro img {
  width: 100%;
  max-width: 402px;
}

.step-box-title {
  border: 1px solid var(--color-line, #707070);
  padding: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.step-list {
  margin-top: 56px;
  list-style: none;
}

.step-list li {
  display: grid;
  gap: 24px;
  border-bottom: 1px solid var(--color-line, #707070);
  padding: 32px 0;
}

.step-list__number {
  font-family: "DM Sans", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 33px;
}

.step-list h3 {
  font-size: 18px;
  font-weight: 700;
}

.step-list p:not(.step-list__number) {
  margin-top: 18px;
  font-size: 14px;
  line-height: 2;
}

.step-list__finish {
  border-bottom: 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 42px 32px;
}

.recruit-two-column {
  align-items: start;
  margin-top: 100px;
}

.recruit-two-column + .recruit-two-column {
  margin-top: 225px;
}

.recruit-two-column__media {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.recruit-two-column__body--first .text-stack {
  margin-top: 90px;
}

.recruit-values {
  margin-top: 161px;
  background: var(--color-white);
  padding: 48px 28px;
}

.recruit-values h2 {
  font-size: 23px;
  font-weight: 500;
}

.recruit-values__lists {
  display: grid;
  gap: 28px;
  margin-top: 52px;
  font-size: 14px;
  line-height: 2.4;
}

.recruit-values ul {
  list-style: none;
}

.entry-header {
  position: relative;
  min-height: 227px;
}

.entry-header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.entry-header p,
.contact-lead {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.entry-header p {
  padding-top: 102px;
  text-align: right;
  line-height: 20px;
}

.privacy-content {
  margin-top: 104px;
  font-size: 14px;
  line-height: 2;
}

.privacy-content > * + * {
  margin-top: 58px;
}

.privacy-content h2 {
  font-size: 23px;
  font-weight: 500;
}

.privacy-content h2 + p {
  margin-top: 18px;
}

.privacy-content p + p {
  margin-top: 8px;
}

.error-page {
  margin-top: 80px;
  font-size: 14px;
  line-height: 2;
}

.error-page .text-link {
  display: inline-block;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .section-heading__title {
    font-size: 60px;
  }

  .home-hero__copy {
    right: 46px;
    bottom: 50px;
  }

  .home-hero__copy h1 {
    font-size: 30px;
  }

  .home-hero__copy p {
    margin-top: 40px;
    white-space: nowrap;
    font-size: 11px;
  }

  .company-profile__list div {
    grid-template-columns: 150px 1fr;
  }

  .step-list li,
  .step-list__finish {
    grid-template-columns: 135px minmax(0, 1fr);
    column-gap: 55px;
  }

  .step-list__number {
    width: 54px;
    margin-left: 55px;
    text-align: center;
  }

  .step-list__finish {
    padding-right: 0;
    padding-left: 0;
  }

  .recruit-values__lists {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .recruit-values__lists ul + ul {
    border-left: 1px solid var(--color-line, #707070);
    padding-left: 72px;
  }
}

@media (min-width: 1024px) {
  .page-section {
    padding-right: 0;
    padding-left: 0;
    padding-top: 150px;
  }

  .page-section.page-section--entry {
    padding-top: 80px;
    padding-bottom: 211px;
  }

  .home-hero {
    height: 100vh;
    min-height: 0;
    margin-top: 0;
  }

  .company-profile {
    grid-template-columns: 360px 1fr;
    gap: 90px;
  }

  .company-strength {
    grid-template-columns: 360px 1fr;
    gap: 90px;
  }

  .company-strength__body {
    padding-top: 14px;
  }

  .service-intro {
    grid-template-columns: 402px 1fr;
    gap: 117px;
    padding-left: 62px;
  }

  .service-flow {
    grid-template-columns: 260px 1fr;
    gap: 130px;
  }

  .recruit-two-column {
    grid-template-columns: 400px minmax(0, 575px);
    gap: 60px;
    padding-left: 65px;
  }

  .recruit-two-column--reverse {
    grid-template-columns: minmax(0, 570px) 400px;
    gap: 67px;
    padding-right: 0;
    padding-left: 0;
  }

  .recruit-two-column--reverse .recruit-two-column__media {
    margin-top: 55px;
  }

  .recruit-values {
    padding: 64px 56px;
  }

  .entry-header {
    min-height: 150px;
  }

  .entry-header h2 {
    width: 760px;
    font-size: 150px;
  }

  .entry-header p {
    position: absolute;
    top: 102px;
    right: 0;
    width: 487px;
    padding-top: 0;
    text-align: right;
  }

  .contact-lead-grid {
    grid-template-columns: 360px 1fr;
  }

  .contact-lead {
    padding-top: 150px;
    text-align: right;
  }
}

@media (min-width: 1360px) {
  .service-flow {
    grid-template-columns: 260px 720px;
  }
}
