@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 {
  --company-navy: #232b56;
  --company-gold: #c8b687;
  --company-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --company-sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body { overflow-x: hidden; }

body {
  color: var(--company-navy);
  font-family: var(--company-sans);
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

.company-page-hero {
  position: relative;
  height: 353px;
  background: rgba(3, 12, 61, .1);
}

.company-page-hero__heading {
  position: absolute;
  top: 176px;
  left: max(40px, calc((100% - 1290px) / 2));
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

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

.company-page-hero__heading p {
  color: var(--company-gold);
  font-family: var(--company-serif);
  font-size: 16px;
  font-weight: 700;
}

.company-page-hero__breadcrumb {
  position: absolute;
  top: 180px;
  right: max(40px, calc((100% - 1290px) / 2));
  font-family: var(--company-serif);
  font-size: 14px;
  line-height: 50px;
}

.company-page-hero__breadcrumb a { color: inherit; }

.company-layout {
  display: grid;
  width: min(1290px, calc(100% - 80px));
  grid-template-columns: 476px minmax(0, 1fr);
  margin: 0 auto;
}

.company-layout > h2 {
  font-family: var(--company-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.92px;
}

.company-overview {
  height: 928px;
  padding-top: 147px;
}

.company-profile {
  width: 814px;
  background: url("../image/company/line.svg") top / 100% 1px no-repeat;
  font-size: 14px;
  line-height: 1.5;
}

.company-profile > div {
  display: grid;
  min-height: 93px;
  grid-template-columns: 126px 1fr;
  padding: 27px 20px;
  background: url("../image/company/line.svg") bottom / 100% 1px no-repeat;
}

.company-profile > div:nth-child(3) { min-height: 114px; }
.company-profile > .company-profile__business {
  min-height: 135px;
  background-image: url("../image/company/line-special.svg");
}

.company-profile dt { font-weight: 700; }
.company-profile dd { font-weight: 400; }

.company-access { height: 904px; }

.company-access__body h3 {
  font-family: "Zen Antique", var(--company-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 50px;
}

.company-access__body p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 40px;
}

.company-access__map {
  display: block;
  width: 889px;
  height: auto;
  aspect-ratio: 889 / 478;
  margin-top: 76px;
  border: 0;
}

@media (max-width: 1199px) {
  .company-layout { grid-template-columns: minmax(220px, 37%) minmax(0, 1fr); }
  .company-profile,
  .company-access__map { width: 100%; }
}

@media (max-width: 767px) {
  body,
  body * { font-size: max(14px, 1em); }

  .company-page-hero { height: 260px; }

  .company-page-hero__heading {
    top: 118px;
    left: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .company-page-hero__heading h1 {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .company-page-hero__heading p { font-size: 14px; }

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

  .company-layout {
    display: block;
    width: calc(100% - 48px);
  }

  .company-layout > h2 {
    margin-bottom: 34px;
    font-size: 22px;
  }

  .company-overview {
    height: auto;
    padding: 72px 0 92px;
  }

  .company-profile { width: 100%; }

  .company-profile > div,
  .company-profile > div:nth-child(3),
  .company-profile > .company-profile__business {
    min-height: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 22px 8px;
  }

  .company-profile dt,
  .company-profile dd {
    overflow-wrap: anywhere;
    font-size: 14px;
  }

  .company-access {
    height: auto;
    padding-bottom: 96px;
  }

  .company-access__body h3 {
    font-size: 20px;
    line-height: 1.5;
  }

  .company-access__body p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .company-access__map {
    width: 100%;
    height: auto;
    aspect-ratio: 889 / 478;
    margin-top: 38px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; }
}
