@charset "UTF-8";

.p-company {
  padding-block: 80px 70px;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-company {
    padding-block: 130px 120px;
  }
}

.p-company__content {
  padding-block: 60px 80px;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-company__content {
    padding-block: 60px 114px;
  }
}
.p-company__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0.6;
     z-index: -1;
}

.p-company__content + .p-company__content {
  margin-top: 80px;
}

.p-company__content-head {
  padding-left: clamp(20px, 6.588579795vw, 90px);
}

.p-company__title-en {
  font-family: "Lato", sans-serif;
  color: #011f56;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 3.15px;
  font-weight: 500;
}

.p-company__title-ja {
  padding-top: 10px;
  font-size: 20px;
  line-height: 1.4642857143;
  letter-spacing: 1.4px;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-company__title-ja {
    font-size: 28px;
  }
}

.p-company__content-body {
  margin-inline: auto;
  padding-inline: 20px;
}

.p-philo {
  padding-top: 60px;
}
@media screen and (min-width:768px) {
  .p-philo {
    padding-top: 1px;
  }
}

.p-philo__item:nth-of-type(2) .p-philo__item-head {
  aspect-ratio: 379/127;
  width: min(335px, 100%);
}
@media screen and (min-width:768px) {
  .p-philo__item:nth-of-type(2) .p-philo__item-head {
    width: 379px;
  }
}
.p-philo__item:nth-of-type(2) .p-philo__item-title {
  margin-top: 41px;
  margin-left: 74.5px;
}
@media screen and (min-width:768px) {
  .p-philo__item:nth-of-type(2) .p-philo__item-title {
    margin-top: 54px;
    margin-left: 118.5px;
  }
}

.p-philo__item + .p-philo__item {
  margin-top: 53px;
}

.p-philo__item-head {
  position: relative;
  width: min(303px, 100%);
  aspect-ratio: 303/127;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-philo__item-head {
    width: 303px;
  }
}

.p-philo__item-title {
  display: inline-block;
  margin-top: 54px;
  margin-left: 89.5px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.p-philo__item-title::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 3px);
  background: #193363;
   z-index: -1;
}

.p-philo__item-bg {
  position: absolute;
  inset: 0;
}

.p-philo__item-text {
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.5416666667;
  letter-spacing: 1.92px;
  font-weight: 600;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;

}
@media screen and (min-width:768px) {
  .p-philo__item-text {
    font-size: 24px;
    text-align: center;
  }
}

.p-company__table-container {
  width: 100%;
  max-width: 919px;
  margin-inline: auto;
  overflow-x: auto;
  margin-top: 49px;
}

.p-company__table {
  width: 819px;
  border-top: 1px solid #d8d8d8;
}
@media screen and (min-width:768px) {
  .p-company__table {
    width: 919px;
  }
}

.p-company__table-row {
  padding-block: 25px;
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
}
@media screen and (min-width:768px) {
  .p-company__table-row {
    grid-template-columns: 210px 1fr;
  }
}
.p-company__table-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d8d8d8;
}
.p-company__table-row:first-of-type .p-company__table-title::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #153255;
}

.p-company__table-title {
  color: #193363;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
  position: relative;
    display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-company__table-title::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #153255;
}

.p-company__table-text {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
}

.p-message {
  margin-top: 49px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-message {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: clamp(20px, 4.4289897511vw, 60.5px);
  }
}

.p-message__img {
  width: clamp(200px, 21.0834553441vw, 288px);
  height: clamp(234.0277777778px, 24.6705710102vw, 337px);
}
.p-message__img img {
  border-radius: 20px;
}

.p-message__text-content {
  max-width: 571px;
}
@media screen and (min-width:768px) {
  .p-message__text-content {
    max-width: clamp(200px, 41.8008784773vw, 571px);
  }
}

.p-message__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.p-message__title {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 2.2px;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  z-index: 1;
}
.p-message__title::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 1px);
  background: #294169;
  z-index: -1;
}
@media screen and (min-width:768px) {
  .p-message__title {
    font-size: 20px;
  }
}
@media screen and (min-width:1024px) {
  .p-message__title {
    font-size: 22px;
  }
}

.p-message__texts {
  margin-top: 30px;
}

.p-message__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 1.2px;
  font-weight: 500;
}
.p-message__text + .p-message__text {
  margin-top: 24px;
}

.p-message__name {
  margin-top: 29px;
  font-size: 15px;
  line-height: 1.4666666667;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-align: right;
}


.p-access {
  margin-top: 49px;
  max-width: 917px;
  margin-inline: auto;
}

.p-map {
  margin-bottom: 23px;
}
@media screen and (min-width:768px) {
  .p-map {
    aspect-ratio: 917/321;
  }
}
.p-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  min-height: 400px;
}

.table-fixed {
  position: sticky;
  left: 0;
  z-index: 1;
}
.table-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0.6;
  z-index: -1;
}