/* ヘッダー */
.o-header-btn-wrapper {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: auto 0;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.o-header-btn-wrapper .o-header-btn-wrapper__btn {
  position: relative;
  right: 0;
  bottom: 0;
}
.l-header__logoouter {
  width: fit-content;
}

@media screen and (max-width: 1400px) {
  .o-header-btn-wrapper {
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    max-width: 320px;
  }

  .l-header__logoarea {
    padding-top: 40px !important;
    padding-bottom: 10px !important;
  }
}

@media screen and (max-width: 1024px) {
  .o-header-btn-wrapper {
    position: relative;
    right: unset;
    bottom: unset;
    flex: 1 0 20%;
  }
  .o-header-btn-wrapper a {
    width: 100%;
  }
  .l-header__logoarea {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px 24px;
  }
  .l-header__logoouter {
    flex: 1 1 10%;
  }
  .l-header__logo {
    margin: unset;
  }
}

@media screen and (max-width: 500px) {
  .l-header__logoarea {
    flex-direction: column;
  }
  .l-header__logo {
    margin: 0 auto;
  }
}

/* フッター */
.l-footer__links {
}

.l-footer__links .l-footer__link-list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 20px;
}

@media screen and (max-width: 767px) {
  .l-footer__links .l-footer__link-list {
    justify-content: center;
  }
}

/* ボタン */
.o-solid-btn {
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  width: min(90%, 15rem);
  height: clamp(2.5625rem, 6.25vw, 3rem);
  border-radius: 8px;
  display: block;
  padding-bottom: 4px;
  position: relative;
  box-sizing: content-box;
}
.o-solid-btn::after {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  content: "";
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: var(--color-primary);
  border-radius: 0.75rem;
}
.o-solid-btn .o-solid-btn__text {
  position: relative;
  z-index: 2;
  width: calc(100% - 4px);
  height: 100%;
  border-radius: 0.75rem;
  background-color: #a5f1fa;
  display: flex;
  padding: 0 10px;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  text-align: center;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.o-solid-btn .o-solid-btn__notice {
  position: absolute;
  bottom: calc(100% + 6px);
  font-size: 13px;
  vertical-align: bottom;
  text-align: center;
  left: 0;
  right: 0;
  margin: a;
  z-index: 2;
}

/* 運営会社情報・代表取締役セクション */
.p-company__ceo {
  margin-top: 2rem;
  padding-bottom: 2.5rem;
}

.p-company__ceo-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem 3rem;
  align-items: start;
}

.p-company__ceo-content {
  min-width: 0;
}

.p-company__ceo-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1.5rem -1rem;
  color: #162e59;
}

.p-company__ceo-text {
  margin-bottom: 1.5rem;
}

.p-company__ceo-text p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.p-company__ceo-text p:last-child {
  margin-bottom: 0;
}

.p-company__ceo-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.p-company__ceo-photo {
  border-radius: 8px;
  box-shadow: 10px 10px 0 #162e59;
}

.p-company__ceo-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 8px;
  display: block;
  vertical-align: top;
}

@media screen and (max-width: 768px) {
  .p-company__ceo-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .p-company__ceo-photo {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* 運営会社情報・役員情報（.p-company__members） */
.p-company__members {
  margin-top: 8rem;
  padding-bottom: 2.5rem;
}

.p-company__members-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #162e59;
}

.p-company__members-text {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.p-company__members-list {
  list-style: none;
  margin: 60px 0 0 0;
  padding: 0;
}

.p-company__members-list > .p-company__officer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.p-company__members-list > .p-company__officer:last-child {
  margin-bottom: 0;
}

.p-company__officer-img-wrap {
  border-radius: 8px;
  box-shadow: 10px 10px 0 #162e59;
  overflow: hidden;
}

.p-company__officer-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: 8px;
  display: block;
  vertical-align: top;
}

.p-company__officer-content {
  min-width: 0;
}

.p-company__officer-content .p-company__officer-role {
  font-size: 0.875rem;
  color: #162e59;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.p-company__officer-content .p-company__officer-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 1rem;
}

.p-company__officer-content .p-company__officer-text {
  font-size: 0.9375rem;
  line-height: 1.85;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .p-company__members {
    margin-top: 6rem;
  }

  .p-company__members-list > .p-company__officer {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
  }

  .p-company__officer-img-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* 運営会社情報・会社情報表（.p-company__info） */
.p-company__info {
  margin-top: 8rem;
}

.p-company__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 3rem;
  color: #162e59;
}

.p-company__info-table {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.p-company__info-table-row {
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #162e59;
}

.p-company__info-table-row:first-child {
  border-top: 1px solid #162e59;
}

.p-company__info-table-label {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
}

.p-company__info-table-value {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  vertical-align: top;
}

@media screen and (max-width: 600px) {
  .p-company__info {
    margin-top: 5rem;
  }

  .p-company__info-table-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* 運営会社情報・アクセス（.p-company__access） */
.p-company__access {
  margin-top: 8rem;
  padding-bottom: 3rem;
}

.p-company__access-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 3rem;
  color: #162e59;
}

.p-company__access-text {
  margin: 0 0 3rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.p-company__access-map {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 10px 10px 0 #162e59;
}

.p-company__access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 16 / 9;
  border: 0;
}

@media screen and (max-width: 768px) {
  .p-company__access {
    margin-top: 5rem;
  }
}
