/* p-mv
---------------------------------------------------------------------------- */
.l-main::before {
  background-color: #fff;
}

/* p-mv
---------------------------------------------------------------------------- */
.p-mv {
  height: min(41.6666666667vw, 800px);
  position: relative;
  display: flex;
  place-items: center;
}

.p-mv::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(./../../images/top/bg_mv_pc.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  inset: 0;
  z-index: -2;
}

.p-mv::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-mv-inner {
  width: 100%;
  max-width: min(100vw, 1920px);
  padding-left: min(11.9791666667vw, 230px);
  margin-inline: auto;
}

.p-mv-catch {
  font-size: 7.2rem;
  line-height: 1.4861111111;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: min(3.75vw, 72px);
  font-family: "Noto Serif JP";
  color: #052b61;
  text-shadow: 0 0 min(0.5208333333vw, 10px) rgb(255, 255, 255);
  margin-bottom: min(0.78125vw, 15px);
}

.p-mv-txt {
  font-size: 2.8rem;
  line-height: 1.6428571429;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: min(1.4583333333vw, 28px);
  font-family: "Noto Serif JP";
  color: #052b61;
  text-shadow: 0 0 min(0.5208333333vw, 10px) rgb(255, 255, 255);
  margin-bottom: min(2.0833333333vw, 40px);
}

.p-mv-area-ttl {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: min(1.25vw, 24px);
  font-family: "Noto Serif JP";
  color: #052b61;
  text-shadow: 0 0 min(0.5208333333vw, 10px) rgb(255, 255, 255);
  margin-bottom: min(0.5208333333vw, 10px);
}

.p-mv-area-list {
  display: flex;
  gap: min(0.5208333333vw, 10px);
  margin-bottom: min(0.5208333333vw, 10px);
}

.p-mv-area-list-item {
  font-size: 2.8rem;
  line-height: 1.6428571429;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: min(1.4583333333vw, 28px);
  font-family: "Noto Serif JP";
  color: #052b61;
  background-color: #fff;
  border-radius: min(0.2604166667vw, 5px);
  border: 1px solid #052b61;
  padding-block: min(0.2604166667vw, 5px);
  padding-inline: min(0.5208333333vw, 10px);
}

.p-mv-area-note {
  font-size: 1.8rem;
  line-height: 1.6666666667;
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: min(0.9375vw, 18px);
  text-shadow: 0 0 min(0.5208333333vw, 10px) rgb(255, 255, 255);
}

@media screen and (max-width: 767px) {
  .p-mv {
    height: 113.8666666667vw;
  }
  .p-mv::before {
    background-image: url(./../../images/top/bg_mv_sp.png);
  }
  .p-mv::after {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0) 100%);
  }
  .p-mv-inner {
    max-width: 100vw;
    padding-inline: 5.3333333333vw;
  }
  .p-mv-catch {
    font-size: 9.0666666667vw;
    line-height: 1.3;
    text-shadow: 0 0 2.6666666667vw rgb(255, 255, 255);
    margin-bottom: 2.6666666667vw;
  }
  .p-mv-txt {
    font-size: 4.2666666667vw;
    line-height: 1.5;
    text-shadow: 0 0 2.6666666667vw rgb(255, 255, 255);
    margin-bottom: 8vw;
  }
  .p-mv-area-ttl {
    font-size: 3.7333333333vw;
    text-shadow: 0 0 2.6666666667vw rgb(255, 255, 255);
    margin-bottom: 2.6666666667vw;
  }
  .p-mv-area-list {
    gap: 2.6666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-mv-area-list-item {
    font-size: 4.8vw;
    border-radius: 1.3333333333vw;
    padding-block: 1.3333333333vw;
    padding-inline: 2.6666666667vw;
  }
  .p-mv-area-note {
    font-size: 3.2vw;
    line-height: 1.5;
    text-shadow: 0 0 2.6666666667vw rgb(255, 255, 255);
  }
}
/* p-reason
---------------------------------------------------------------------------- */
.p-reason {
  padding-block: 7rem;
}

.p-reason-list {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: space-between;
  gap: 3rem;
}

.p-reason-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  position: relative;
}

.p-reason-item-img {
  display: grid;
  place-items: center;
  width: 12rem;
  aspect-ratio: 1;
  margin-inline: auto;
}
.p-reason-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-reason-item-ttl {
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: "Noto Serif JP";
  color: #052b61;
  text-align: center;
  margin-bottom: 2rem;
}

.p-reason-item-txt {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-reason {
    padding-block: 13.3333333333vw;
  }
  .p-reason-list {
    margin-top: 5.3333333333vw;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
  }
  .p-reason-item-img {
    width: 21.3333333333vw;
  }
  .p-reason-item-ttl {
    font-size: 4.2666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-reason-item-txt {
    font-size: 3.7333333333vw;
  }
}
/* p-service
---------------------------------------------------------------------------- */
.p-service {
  padding-block: 7rem;
}

.p-service-list {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.4rem;
}

.p-service-item {
  border: 0.1rem solid #dbdbdc;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.p-service-item-img {
  width: 100%;
  aspect-ratio: 575/245;
}
.p-service-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-service-item-ttl {
  padding-block: 2rem;
  padding-inline: 2rem;
  background-color: #fff;
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: "Noto Serif JP";
  color: #052b61;
}

.p-service-btn-wrap {
  margin-top: 6rem;
  width: fit-content;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-service {
    padding-block: 0 13.3333333333vw;
  }
  .p-service-list {
    margin-top: 5.3333333333vw;
    grid-template-columns: repeat(1, 1fr);
    gap: 4vw;
  }
  .p-service-item {
    border: 0.2666666667vw solid #dbdbdc;
    border-radius: 2.6666666667vw;
    box-shadow: 0 0 2.6666666667vw rgba(0, 0, 0, 0.1);
  }
  .p-service-item-ttl {
    padding-block: 2.6666666667vw;
    padding-inline: 5.3333333333vw;
    font-size: 4.2666666667vw;
  }
  .p-service-btn-wrap {
    margin-top: 8vw;
  }
}
/* p-company
---------------------------------------------------------------------------- */
.p-company {
  padding-block: 7rem 12rem;
}

.p-company-ttl {
  font-size: 3.6rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: "Noto Serif JP";
  color: #052b61;
}

.p-company-txt {
  font-size: 3.4rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: "Noto Serif JP";
  color: #052b61;
  margin-bottom: 2rem;
}

.p-company-message {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 2rem;
}

.p-company-name {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #757575;
}

.p-company-btn-wrap {
  margin-top: 4rem;
  width: fit-content;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-company {
    padding-block: 0 13.3333333333vw;
  }
  .p-company-ttl {
    font-size: 6.4vw;
  }
  .p-company-txt {
    font-size: 5.8666666667vw;
    margin-bottom: 5.3333333333vw;
  }
  .p-company-message {
    font-size: 4.2666666667vw;
    margin-bottom: 5.3333333333vw;
  }
  .p-company-name {
    font-size: 4.2666666667vw;
  }
  .p-company-btn-wrap {
    margin-top: 8vw;
  }
}
