@charset "utf-8";

:root {
  --company-red: #9d2a1b;
  --company-text: #2b2b2b;
  --company-gray: #d9d9d9;
  --company-dark: #2a2a2a;
}

body {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

body.company-page--en {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.sp-only {
  display: none;
}

header {
  background: rgba(69, 69, 69, 0.72);
}

@media (max-width: 1200px) {
  .gnav-toggle {
    background-color: var(--company-dark);
  }
}

.company-fv {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--company-dark);
}

.company-fv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.34),
    rgba(0, 0, 0, 0.04) 58%,
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}

.company-fv picture,
.company-fv__image {
  display: block;
  width: 100%;
  min-height: 100svh;
}

.company-fv__image {
  object-fit: cover;
  object-position: center;
}

.company-fv__content {
  position: absolute;
  z-index: 2;
  top: 35%;
  left: clamp(28px, 6.9vw, 132px);
  max-width: min(600px, calc(100% - 56px));
  color: #fff;
}

.company-fv__content h1 {
  font-size: clamp(46px, 5.1vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.company-fv__content p {
  margin-top: 12px;
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.company-fv__nav {
  margin-top: 24px;
}

.company-fv__nav li + li {
  margin-top: 12px;
}

.company-fv__nav a {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--company-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.company-fv__nav a::before {
  content: "▶";
  margin-right: 8px;
  color: var(--company-red);
}

.company-fv__nav a:hover {
  background: rgba(157, 42, 27, 0.88);
  color: #fff;
}

.company-fv__nav a:hover::before {
  color: #fff;
}

.company-paper {
  background-image: url("../image/company/company-bg-paper.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
}

.company-about,
.company-profile,
.company-services {
  scroll-margin-top: var(--header-h);
}

.company-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.company-section-title .en {
  color: var(--company-red);
  font-size: clamp(28px, 2.35vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.company-section-title .ja {
  color: var(--company-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.company-about {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(96px, 11vw, 206px);
  padding-bottom: clamp(90px, 9vw, 168px);
}

.company-section-title--about {
  margin-bottom: 68px;
}

.company-rule {
  width: min(1100px, 82vw);
  height: 1px;
  margin: 0 auto;
  background: #3f3f3f;
}

.company-about__lead {
  margin: 106px auto 54px;
  color: #b60000;
  font-size: clamp(22px, 1.8vw, 33px);
  font-weight: 700;
  line-height: 1.68;
  text-align: center;
}

.company-message {
  max-width: 980px;
  margin: 0 auto 112px;
  display: grid;
  gap: 36px;
}

.company-message__row {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: 62px;
}

.company-message__row img {
  width: 100%;
  height: auto;
  display: block;
}

.company-message__row p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.2;
}

.company-page--en .company-about__lead {
  max-width: 1100px;
  text-wrap: balance;
}

.company-page--en .company-message__row p {
  line-height: 1.9;
}

.company-certification {
  background: var(--company-gray);
  padding-top: 86px;
  padding-bottom: 88px;
}

.company-certification__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.company-certification h2 {
  margin-bottom: 44px;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.company-certification__body {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.company-certification__body img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.company-certification__text {
  display: grid;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.05;
}

.company-certification__subtitle,
.company-certification__note {
  font-weight: 700;
}

.company-certification__note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.company-certification__note a:hover {
  color: var(--company-red);
}

.company-profile {
  background: #fff;
  padding-top: 42px;
  padding-bottom: 86px;
}

.company-logo-strip {
  max-width: 1380px;
  margin: 0 auto 62px;
  overflow: hidden;
}

.company-logo-strip img {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
}

.company-profile .company-section-title {
  margin-bottom: 42px;
}

.company-profile__body {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 610px) 320px;
  align-items: end;
  gap: 52px;
}

.company-profile__table {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.company-profile__table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #a8a8a8;
}

.company-profile__table dt,
.company-profile__table dd {
  padding: 9px 0;
}

.company-profile__table dd {
  text-align: left;
}

.company-profile__image {
  width: 100%;
  height: auto;
  display: block;
}

.company-services {
  padding-top: 88px;
  padding-bottom: 118px;
}

.company-services .company-section-title {
  margin-bottom: 56px;
}

.company-services__list {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 112px;
}

.company-services__list li {
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--company-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.company-services__note {
  margin-top: 42px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

footer .footer-cta {
  display: flex;
  justify-content: center;
  gap: 24px;
}

@media screen and (max-width: 1200px) {
  .company-certification__body {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 42px;
  }

  .company-profile__body {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
  }

  .company-profile__image {
    width: min(501px, 100%);
    justify-self: center;
  }

  .company-services__list {
    gap: 18px 36px;
  }
}

@media screen and (max-width: 768px) {
  .company-fv {
    min-height: 501px;
  }

  .company-fv picture,
  .company-fv__image {
    min-height: 501px;
  }

  .company-fv__content {
    top: 104px;
    left: 20px;
    max-width: 260px;
  }

  .company-fv__content h1 {
    font-size: 41px;
    line-height: 0.94;
  }

  .company-fv__content p {
    margin-top: 12px;
    font-size: 13px;
  }

  .company-fv__nav {
    margin-top: 18px;
  }

  .company-fv__nav li + li {
    margin-top: 8px;
  }

  .company-fv__nav a {
    min-width: 205px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .company-paper {
    background-size: auto 1122px;
  }

  .company-section-title .en {
    font-size: 28px;
  }

  .company-section-title .ja {
    font-size: 11px;
  }

  .company-about {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .company-section-title--about {
    margin-bottom: 36px;
  }

  .company-rule {
    width: min(300px, 82vw);
  }

  .company-about__lead {
    margin: 60px auto 34px;
    font-size: 16px;
    line-height: 1.8;
  }

  .company-message {
    max-width: 300px;
    margin-bottom: 54px;
    gap: 30px;
  }

  .company-message__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-message__row p {
    font-size: 12px;
    line-height: 2;
    text-align: center;
    text-wrap: pretty;
  }

  .sp-only {
    display: inline;
  }

  .company-certification {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .company-certification h2 {
    max-width: 280px;
    margin: 0 auto 30px;
    font-size: 16px;
  }

  .company-certification__body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .company-certification__body img {
    width: 176px;
    justify-self: center;
  }

  .company-certification__text {
    max-width: 300px;
    margin: 0 auto;
    gap: 14px;
    font-size: 11px;
    line-height: 1.95;
  }

  .company-profile {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .company-logo-strip {
    margin-bottom: 40px;
  }

  .company-logo-strip img {
    min-width: 560px;
    width: 560px;
  }

  .company-profile .company-section-title {
    margin-bottom: 28px;
  }

  .company-profile__body {
    max-width: 300px;
    gap: 30px;
  }

  .company-profile__table {
    font-size: 11px;
  }

  .company-profile__table div {
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 39px;
  }

  .company-profile__table dt,
  .company-profile__table dd {
    padding: 8px 0;
  }

  .company-profile__table dd {
    text-align: center;
  }

  .company-profile__image {
    width: 256px;
  }

  .company-services {
    padding-top: 58px;
    padding-bottom: 74px;
  }

  .company-services .company-section-title {
    margin-bottom: 32px;
  }

  .company-services__list {
    max-width: 330px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .company-services__list li {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.55;
  }

  .company-services__list li:nth-child(-n + 2) {
    grid-column: 1 / -1;
    min-height: 58px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 11px;
  }

  .company-services__note {
    margin-top: 28px;
    font-size: 10px;
  }

  footer .footer-cta {
    display: grid;
    gap: 12px;
  }

  footer {
    padding-bottom: 112px;
  }
}
