@charset "utf-8";

/* =========================================================
  Company Page
  読み込み対象: page-company.php / 固定ページスラッグ company
========================================================= */

.company-page {
  overflow: hidden;
  padding-top: var(--header-height);
}

/* ヒーロー */
.company-hero {
  position: relative;
  padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 8vw, 120px);
}

.company-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 155, 103, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.company-hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: min(24vw, 320px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 155, 103, 0.75),
    transparent
  );
  transform: rotate(-28deg);
  pointer-events: none;
}

.company-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.company-hero__en,
.company-heading__en,
.company-contact__en {
  margin-bottom: 14px;
  color: var(--color02);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.3em;
}

.company-hero__title {
  color: var(--color02);
  font-size: clamp(2.75rem, 1.649rem + 4.7vw, 6.25rem);
  font-weight: var(--fw-medium);
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.company-hero__lead {
  max-width: 760px;
  margin-top: clamp(24px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.76);
  line-height: 2;
}

/* 本文 */
.company-introduction {
  padding: 0 0 clamp(72px, 10vw, 150px);
}

.company-introduction__body {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
}

.company-introduction__body > * + * {
  margin-top: 1.5em;
}

.company-introduction__body p {
  line-height: 2;
}

.company-introduction__body h2,
.company-introduction__body h3,
.company-introduction__body h4 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: var(--color02);
}

/* 会社情報 */
.company-profile {
  position: relative;
  padding: clamp(72px, 10vw, 150px) 0;
  background:
    linear-gradient(rgba(198, 155, 103, 0.035), rgba(198, 155, 103, 0.035)),
    var(--color05);
}

.company-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 155, 103, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 155, 103, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
  pointer-events: none;
}

.company-profile .container {
  position: relative;
  z-index: 1;
}

.company-heading {
  margin-bottom: clamp(32px, 5vw, 64px);
}

.company-heading__title {
  color: var(--color02);
  font-size: clamp(1.75rem, 1.375rem + 1.17vw, 2.5rem);
  letter-spacing: 0.12em;
}

.company-profile__card {
  overflow: hidden;
  border: 1px solid rgba(198, 155, 103, 0.28);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.company-profile__row {
  display: grid;
  grid-template-columns: minmax(160px, 26%) 1fr;
  border-bottom: 1px solid rgba(198, 155, 103, 0.18);
}

.company-profile__row:last-child {
  border-bottom: 0;
}

.company-profile__row dt,
.company-profile__row dd {
  padding: 24px 30px;
}

.company-profile__row dt {
  display: flex;
  align-items: center;
  color: var(--color02);
  background: rgba(198, 155, 103, 0.07);
  font-size: 15px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
}

.company-profile__row dd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.company-profile__row dd,
.company-profile__row dd a,
.company-profile__row dd span {
  font-size: 16px;
}

.company-profile__row dd a {
  width: fit-content;
  text-decoration: underline;
  text-decoration-color: rgba(198, 155, 103, 0.5);
  text-underline-offset: 5px;
  transition:
    color 0.3s ease,
    text-decoration-color 0.3s ease;
}

.company-profile__row dd a:hover {
  color: var(--color02);
  text-decoration-color: var(--color02);
}

.company-profile__sub {
  color: rgba(198, 155, 103, 0.64);
  font-size: 12px !important;
  letter-spacing: 0.14em;
}

.company-profile__postal {
  display: block;
}

/* CTA */
.company-contact {
  padding: clamp(72px, 10vw, 150px) 0;
}

.company-contact__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 90px);
  border: 1px solid rgba(198, 155, 103, 0.32);
  text-align: center;
}

.company-contact__inner::before,
.company-contact__inner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(198, 155, 103, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.company-contact__inner::before {
  top: -90px;
  left: -90px;
}

.company-contact__inner::after {
  right: -90px;
  bottom: -90px;
}

.company-contact__en,
.company-contact__title,
.company-contact__text,
.company-contact__button-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.company-contact__title {
  color: var(--color02);
  letter-spacing: 0.1em;
}

.company-contact__text {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 2;
}

.company-contact__button-wrap {
  margin-top: 36px;
}

.company-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: min(100%, 320px);
  padding: 18px 24px;
  border: 1px solid var(--color02);
  color: var(--color02);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

.company-contact__button:hover {
  background: var(--color02);
  color: var(--color05);
}

.company-contact__button span {
  font-size: 15px;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 830px) {
  .company-hero::before {
    top: 12%;
    right: -30%;
    width: 78vw;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
  }

  .company-profile__row dt {
    padding: 15px 20px;
  }

  .company-profile__row dd {
    padding: 20px;
  }
}

@media screen and (max-width: 630px) {
  .company-hero {
    padding-top: 56px;
  }

  .company-hero__title {
    font-size: clamp(2.4rem, 1.9rem + 2.5vw, 3rem);
  }

  .company-contact__inner {
    padding: 42px 20px;
  }

  .company-contact__button {
    width: 100%;
    min-width: 0;
  }
}
