@charset "UTF-8";

.p-company__office-map a:hover {
  text-decoration: none;
}

/* Page head override */
.p-company-page .c-page-head__ttl-2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 40px;
  color: #07507b;
  letter-spacing: 0.05em;
  line-height: 2;
}
@media (max-width: 767px) {
  .p-company-page .c-page-head__ttl-2 {
    font-size: 24px;
  }
}

/* ========================================
   p-company
   ======================================== */
.p-company {
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .p-company {
    padding-bottom: 0;
  }
}

.p-company__inner {
  max-width: 948px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
@media (max-width: 767px) {
  .p-company__inner {
    padding: 0 var(--side-padding-sp);
  }
}

/* Section heading */
.p-company__heading {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 30px;
  color: #222;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 35px;
}
@media (max-width: 767px) {
  .p-company__heading {
    font-size: 24px;
  }
}

/* Info table */
.p-company__table {
  width: 100%;
}

.p-company__table-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}
.p-company__table-row:first-child {
  border-top: 1px solid #ddd;
}
@media (max-width: 767px) {
  .p-company__table-row {
    flex-direction: column;
    border-bottom: 1px solid #ddd;
  }
}

.p-company__table-row dt {
  flex-shrink: 0;
  width: 254px;
  padding: 32px 20px;
  background: #f5f5f5;
  font-size: 16px;
  line-height: 32px;
  color: #222;
  font-feature-settings: "pwid" 1;
}
@media (max-width: 767px) {
  .p-company__table-row dt {
    width: 100%;
    padding: 20px;
  }
}

.p-company__table-row dd {
  flex: 1;
  padding: 32px 15px;
  font-size: 16px;
  line-height: 32px;
  color: #222;
  font-feature-settings: "pwid" 1;
}
@media (max-width: 767px) {
  .p-company__table-row dd {
    padding: 20px;
  }
}

/* Button */
.p-company__btn-wrap {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.p-company__btn-wrap .c-button {
  border-color: #07507b;
  color: #07507b;
  min-width: 335px;
  min-height: 48px;
  padding: 0;
  padding-right: 12px !important;
}
.p-company__btn-wrap .c-button::before {
  background: #07507b;
}
.p-company__btn-wrap .c-button--go i::after {
  border-color: #07507b;
}
.p-company__btn-wrap .c-button:hover {
  color: #fff;
}
.p-company__btn-wrap .c-button--go:hover i::after {
  border-color: #fff;
}

/* Office cards */
.p-company__offices {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .p-company__offices {
    flex-direction: column;
  }
}

.p-company__office {
  width: calc(50% - 15px);
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .p-company__office {
    width: 100%;
  }
}

.p-company__office-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.82;
  letter-spacing: 0.96px;
  color: #222;
  font-feature-settings: "pwid" 1;
  margin-bottom: 17px;
}

.p-company__office-address {
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.96px;
  color: #222;
  font-weight: 300;
  font-feature-settings: "pwid" 1;
}

.p-company__office-access {
  font-size: 13px;
  line-height: 26px;
  letter-spacing: 0.96px;
  color: #222;
  font-weight: 300;
  font-feature-settings: "palt" 1;
  margin-top: 8px;
}

.p-company__office-map {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 17px;
}

.p-company__office-map a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 8px 12px;
  border: 1px solid #07507b;
  border-radius: 30px;
  color: #07507b;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
  text-decoration: none;
  line-height: 1.8;
  font-feature-settings: "pwid" 1;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-company__office-map a:hover {
  background-color: #07507b;
  color: #fff;
}
.p-company__office-map a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
