@charset "UTF-8";

#page.company_profile h2 {
  padding-left: initial;
}

#page.company_profile h2::after {
  content: none;
}

/* profile */
.company_profile .profile {
  margin-top: 5rem;
}

.company_profile .profile dl > div {
  display: flex;
  padding: 3.4rem 0.2rem 1.8rem;
  border-bottom: 1px solid #d8d8d8;
  font-size: 2rem;
  line-height: 1.5;
}

.company_profile .profile dl dt {
  min-width: 20rem;
  font-weight: 600;
}


/* location */
.company_profile .location {
  margin-top: 9.5rem;
}

.company_profile .location .container {
  padding-bottom: 10rem;
  border-bottom: 1px solid #d8d8d8;
}

.company_profile .location h2 {
  font-size: 3.6rem;
}

.company_profile .location .location-list {
  margin-top: 4.8rem;
}

.company_profile .location .location-item {
  padding-top: 5.6rem;
  border-top: 1px solid #d8d8d8;
}

.company_profile .location .location-item:not(:first-of-type) {
  margin-top: 4.8rem;
}

.company_profile .location .intro dt {
  font-size: 2.7rem;
}

.company_profile .location .intro dd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.company_profile .location .detail {
  margin-top: 3.4rem;
  line-height: 1.5;
}

.company_profile .location .detail dt {
  font-size: 2rem;
}

.company_profile .location .detail dd {
  font-size: 1.8rem;
}
.company_profile .location .detail dd a {
  font-weight: 600;
}

.company_profile .location .contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  padding: 1.6rem 4.2rem;
  border: 1px solid currentColor;
  width: fit-content;
  font-size: 1.8rem;
  font-weight: 600;
}

.company_profile .location .contact-link::after {
  content: "";
  display: block;
  width: auto;
  height: 1em;
  aspect-ratio: 1/2;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  background-color: currentColor;
}

.company_profile .location .map {
  margin-top: 2.6rem;
}

.company_profile .location .map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1000/668;
}

@media (max-width: 750px) {
  /* 共通 */
  .company_profile section .container {
    padding-inline: 2.6rem;
  }

  /* profile */
  .company_profile .profile {
    margin-top: 13rem;
  }

  .company_profile .profile dl > div {
    padding: 3.4rem 0.2rem;
    font-size: 2.4rem;
  }

  /* location */
  .company_profile .location {
    margin-top: 13rem;
  }

  .company_profile .location h2 {
    font-size: 6rem;
  }

  .company_profile .location .location-list {
    margin-top: 8rem;
  }

  .company_profile .location .location-item {
    padding-top: 8rem;
  }

  .company_profile .location .location-item:not(:first-of-type) {
    margin-top: 8rem;
  }

  .company_profile .location .intro dt {
    font-size: 3rem;
  }

  .company_profile .location .intro dd {
    margin-top: 4rem;
  }

  .company_profile .location .detail dt {
    font-size: 2.4rem;
  }

  .company_profile .location .detail dd {
    font-size: 2.2rem;
  }

  .company_profile .location .contact-link {
    padding: 0.8rem 1.2rem;
    font-size: 1.5rem;
  }
}