@charset "UTF-8";
/* common
---------------------------------------------------------------------------- */
.m-mv-child::before {
  background-image: url("/assets/images/facilities/bg_mv_pc.webp");
}

@media screen and (max-width: 767px) {
  .m-mv-child::before {
    background-image: url("/assets/images/facilities/bg_mv_sp.webp");
  }
}
/* p-facilities
---------------------------------------------------------------------------- */
.p-facilities {
  padding-block: 2.8rem 0;
}

.p-facilities-ttl {
  width: 73.5rem;
  margin-inline: auto;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding-block: 1.5rem 2.5rem;
  background-color: #032456;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
}

.p-anime-facilities-ttl {
  background: linear-gradient(90deg, #ffffff 50%, rgba(255, 255, 255, 0) 68%);
  background-size: 300% 100%;
  background-position: 100% 0%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: none; /* ここが重要：初期は動かさない */
}

.p-anime-facilities-ttl.is-active {
  animation-name: shineToColor;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.p-facilities-container {
  width: 100%;
  margin-inline: auto;
  padding-block: 7.5rem 22.8rem;
  position: relative;
  z-index: 1;
  margin-top: -1rem;
}

.p-facilities-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/assets/images/facilities/bg_facilities_container_pc.webp);
  filter: drop-shadow(0 0 2rem rgba(0, 0, 0, 0.25));
  border-radius: 0 0 3.5rem 3.5rem;
}

.p-facilities-box:not(:last-of-type) {
  margin-bottom: 5rem;
  border-bottom: 1px dashed #000;
  padding-bottom: 5.2rem;
}

.p-facilities-box:nth-of-type(1) {
  --col-speechBubble: #0061a8;
}

.p-facilities-box:nth-of-type(2) {
  --col-speechBubble: #00664e;
}
.p-facilities-box:nth-of-type(2) .p-facilities-box-inner {
  flex-direction: row-reverse;
  justify-content: flex-end;
  padding-left: 3.6rem;
  gap: 6.3rem;
}
.p-facilities-box:nth-of-type(2) .p-facilities-box-body-lead {
  display: flex;
  gap: 5.7rem;
}

.p-facilities-box-inner {
  display: flex;
  gap: 5.5rem;
  background-color: #fff;
  border-radius: 1.3rem;
  padding-block: 2rem;
  padding-inline: 2rem 1.2rem;
}

.p-facilities-box-img-link {
  position: relative;
  display: block;
}

.p-facilities-box-img-link-btn {
  position: absolute;
  bottom: 2.7rem;
  left: 2.7rem;
}

.p-facilities-box-img {
  width: 55.9rem;
  aspect-ratio: 559/322;
}
.p-facilities-box-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-facilities-box-img-link-btn .m-button-gradation-arrow {
  width: 50.239rem;
  margin-inline: auto;
  padding-block: 0.7rem 0.6rem;
  padding-inline: 3.2rem 0.5rem;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  color: #09237d;
  background: #fff;
  border-color: #fff;
}
.p-facilities-box-img-link-btn .m-button-gradation-arrow ._txt {
  --height: 1.9;
}
.p-facilities-box-img-link-btn .m-button-gradation-arrow ._arrow {
  width: 2.5rem;
  background-color: #09237d;
}
.p-facilities-box-img-link-btn .m-button-gradation-arrow ._arrow::before {
  width: 1.3rem;
  height: 1.3rem;
  background-color: #fff;
  left: 25%;
}

@media (any-hover: hover) {
  .p-facilities-box-img-link:hover .p-facilities-box-img-link-btn .m-button-gradation-arrow {
    color: #fff;
    background: #09237d;
  }
  .p-facilities-box-img-link:hover .p-facilities-box-img-link-btn .m-button-gradation-arrow ._txt span {
    translate: 0 calc(var(--height) * -1rem);
  }
  .p-facilities-box-img-link:hover .p-facilities-box-img-link-btn .m-button-gradation-arrow ._txt::after {
    translate: 0 calc(var(--height) * -1rem);
  }
  .p-facilities-box-img-link:hover .p-facilities-box-img-link-btn .m-button-gradation-arrow ._arrow {
    background-color: #fff;
  }
  .p-facilities-box-img-link:hover .p-facilities-box-img-link-btn .m-button-gradation-arrow ._arrow::before {
    background-color: #09237d;
    animation: arrow 0.5s;
  }
}
.p-facilities-box-body-lead {
  display: flex;
  gap: 7.7rem;
  padding-top: 1.2rem;
  margin-bottom: 3rem;
}

.p-facilities-speechBubble-wrap {
  width: fit-content;
}

.p-facilities-speechBubble {
  font-size: 1.312rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-family: "hanatotyoutyo";
  color: #fff;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  padding-block: 0.51rem 0.51rem;
  padding-inline: 0.6rem;
  background-color: var(--col-speechBubble);
  border-radius: 0.4rem;
  position: relative;
}
.p-facilities-speechBubble::before {
  content: "";
  width: 2rem;
  height: 1.7320508076rem;
  background-color: var(--col-speechBubble);
  clip-path: polygon(0 0, 90% 0, 100% 100%);
  position: absolute;
  bottom: 0.7rem;
  left: 48%;
  translate: -50% 95%;
}

.p-facilities-speechBubble-ttl {
  font-size: 3.645rem;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 1.4;
}

.p-facilities-box-body-txt {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 1.6111111111;
  position: relative;
}

.p-facilities-box-body-txt::before {
  content: "";
  width: 1px;
  height: 6.751rem;
  background-color: #000;
  position: absolute;
  top: 0;
  left: -3.7rem;
}

.p-facilities-box-body-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem;
}

.p-facilities-box-body-page-link {
  display: block;
}

.p-facilities-box-body-page-link-btn {
  width: 100%;
}

.p-facilities-box-body-page-link-img {
  display: block;
  width: 24.5rem;
  height: 12.1rem;
  margin-bottom: 2.1rem;
}
.p-facilities-box-body-page-link-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-facilities-box-body-page-link-btn .m-button-gradation-arrow {
  width: 24.572rem;
  margin-inline: auto;
  padding-block: 0.7rem 0.6rem;
  padding-inline: 1.2rem 0.5rem;
  font-size: 1.8rem;
  line-height: 1.1666666667;
  font-weight: 400;
  background: #09237d;
}
.p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._txt {
  --height: 2.1;
}
.p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._arrow {
  width: 2.5rem;
}
.p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._arrow::before {
  width: 1.3rem;
  height: 1.3rem;
  background-color: #09237d;
  left: 25%;
}

@media (any-hover: hover) {
  .p-facilities-box-body-page-link:hover .p-facilities-box-body-page-link-btn .m-button-gradation-arrow {
    color: #09237d;
    background: #fff;
  }
  .p-facilities-box-body-page-link:hover .p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._txt span {
    translate: 0 calc(var(--height) * -1rem);
  }
  .p-facilities-box-body-page-link:hover .p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._txt::after {
    translate: 0 calc(var(--height) * -1rem);
  }
  .p-facilities-box-body-page-link:hover .p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._arrow {
    background-color: #09237d;
  }
  .p-facilities-box-body-page-link:hover .p-facilities-box-body-page-link-btn .m-button-gradation-arrow ._arrow::before {
    background-color: #fff;
    animation: arrow 0.5s;
  }
}
@media screen and (max-width: 767px) {
  .p-facilities {
    padding-block: 12.8vw 0;
  }
  .p-facilities-ttl {
    width: 83.9466666667vw;
    font-size: 4vw;
    line-height: 1.2;
    letter-spacing: 0;
    padding-block: 1.6vw 3.7333333333vw;
    border-radius: 2.6666666667vw 2.6666666667vw 0 0;
    box-shadow: 0 0 2.6666666667vw rgba(0, 0, 0, 0.25);
  }
  .p-facilities-container {
    padding-block: 17.8666666667vw 53.3333333333vw;
    margin-top: -8.2666666667vw;
  }
  .p-facilities-container::before {
    background-image: url(/assets/images/facilities/bg_facilities_container_sp.webp);
    filter: drop-shadow(0 0 5.3333333333vw rgba(0, 0, 0, 0.25));
    border-radius: 0 0 9.3333333333vw 9.3333333333vw;
  }
  .p-facilities-box:not(:last-of-type) {
    margin-bottom: 4.8vw;
    padding-bottom: 5.0666666667vw;
  }
  .p-facilities-box:nth-of-type(2) .p-facilities-box-inner {
    flex-direction: column;
    gap: 0;
    border-radius: 1.0666666667vw;
    padding-block: 0 4vw;
    padding-inline: 0;
  }
  .p-facilities-box:nth-of-type(2) .p-facilities-box-body-lead {
    gap: 0.8vw;
  }
  .p-facilities-box-inner {
    flex-direction: column;
    gap: 0;
    border-radius: 1.0666666667vw;
    padding-block: 0 4vw;
    padding-inline: 0;
  }
  .p-facilities-box-img-link {
    pointer-events: none;
  }
  .p-facilities-box-img-link-btn {
    bottom: 7.2vw;
    left: 7.2vw;
  }
  .p-facilities-box-img {
    width: 89.3333333333vw;
    aspect-ratio: 559/322;
  }
  .p-facilities-box-img-link-btn .m-button-gradation-arrow {
    display: none;
  }
  .p-facilities-box-body {
    margin-top: -1.8666666667vw;
  }
  .p-facilities-box-body-lead {
    flex-direction: column;
    align-items: center;
    gap: 0.8vw;
    padding-top: 0;
    margin-bottom: 5.3333333333vw;
    padding-inline: 2.6666666667vw;
  }
  .p-facilities-speechBubble {
    font-size: 2.6666666667vw;
    padding-block: 0.5333333333vw 0.8vw;
    padding-inline: 1.6vw;
    border-radius: 0.5333333333vw;
  }
  .p-facilities-speechBubble::before {
    width: 2.6666666667vw;
    height: calc(2.6666666667vw / 2 * 1.7320508076);
    bottom: 0.8vw;
    left: 48%;
    translate: -50% 95%;
  }
  .p-facilities-speechBubble-ttl {
    font-size: 6.6666666667vw;
    line-height: 1.9;
  }
  .p-facilities-box-body-txt {
    font-size: 3.3066666667vw;
    line-height: 1.4;
    text-align: center;
    padding-top: 2.9333333333vw;
    border-top: 1px solid #000;
  }
  .p-facilities-box-body-txt::before {
    content: none;
  }
  .p-facilities-box-body-page {
    grid-template-columns: repeat(1, 1fr);
    gap: 3.4666666667vw;
    padding-inline: 2.6666666667vw;
  }
  .p-facilities-box-body-page-link {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    height: 16vw;
  }
  .p-facilities-box-body-page-link-img {
    width: 33.3333333333vw;
    height: 16vw;
    margin-bottom: 0;
  }
  .p-facilities-box-body-page-link-btn .m-button-gradation-arrow {
    display: none;
  }
  .p-facilities-box-body-page-link-txt {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 4vw;
    color: #fff;
    font-weight: 700;
    text-align: center;
    background-color: #09237d;
    border-radius: 0 1.3333333333vw 1.3333333333vw 0;
    padding-right: 3.4666666667vw;
  }
  .p-facilities-box-body-page-link-txt ._arrow {
    width: 4.2666666667vw;
    aspect-ratio: 1;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
  }
  .p-facilities-box-body-page-link-txt ._arrow::before {
    content: "";
    width: 2.4vw;
    height: 2.4vw;
    mask-image: url("/assets/images/common/icn_arrow_right3.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #09237D;
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
  }
}
/* p-facilities
---------------------------------------------------------------------------- */
.m-relation {
  margin-top: -14rem;
  position: relative;
  z-index: 1;
}
.m-relation .m-relation-container {
  box-shadow: 0 0 3rem rgba(21, 34, 63, 0.25);
}

@media screen and (max-width: 767px) {
  .m-relation {
    margin-top: -37.3333333333vw;
    position: relative;
    z-index: 1;
  }
  .m-relation .m-relation-container {
    box-shadow: 0 0 8vw rgba(21, 34, 63, 0.25);
  }
}
