/*-----追加250808--------------------------------*/
.f40 {
  font-size: 4rem;
}

@media (max-width: 834px) {
  .f40 {
    font-size: 2.1rem;
  }
}
.about-system__item-bottom__salary-note {
  margin-top: 8px;
}
.about-learning__curr-detail {
  padding-inline: 30px;
  text-align: center;
}
@media (max-width: 834px) {
  .about-learning__curr-detail {
    border-radius: 100px;
  }
}

.visit-menu__distant {
  width: 48%;
  padding-block: 30px;
  border-radius: 5px;
  background-color: #d7c5ec;
  position: relative;
}
@media (max-width: 1024px) {
  .visit-menu__distant {
    width: 100%;
  }
}
.visit-menu__distant-bubble {
  aspect-ratio: 1;
  width: 117px;
  height: auto;
  background: url(../img/visit-distant-bubble.webp) no-repeat center center /
    cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -29px;
  left: -11px;
}

.visit-menu__distant-bubble-txt {
  color: #fff;
  text-align: center;
  line-height: 1.1;
  font-weight: 500;
}

.visit-menu__distant-top-area {
  border-bottom: 3px dotted #000;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}
/* .visit-menu__distant-top-area::before {
  background: url(../img/visit-distant01.webp) no-repeat center;
  background-size: contain;
  content: "";
  display: inline-block;
  position: absolute;
  width: 10vw;
  max-width: 136px;
  aspect-ratio: 246 / 302;
  bottom: 0px;
  right: 3%;
  z-index: 1;
} */
.visit-menu__distant-top-person {
  position: absolute;
  bottom: 0px;
  right: 3%;
}
.visit-menu__distant-top-person-txt {
  position: absolute;
  top: -28px;
  left: -20px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  transform: rotate(-20deg);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.visit-menu__distant-top-person-img {
  width: 120px;
  height: auto;
  aspect-ratio: 105 / 121;
}
@media (max-width: 1024px) {
  .visit-menu__distant {
    width: 100% !important;
  }
  .visit-menu__list {
    justify-content: flex-start;
  }
  .visit-menu__item + .visit-menu__item {
    margin-left: calc((100% - (22% * 4)) / 3);
  }
  .visit-menu__item:nth-child(5),
  .visit-menu__item:nth-child(7) {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .visit-menu__list {
    justify-content: space-between;
  }
  .visit-menu__item + .visit-menu__item {
    margin-left: 0;
  }
}
@media (max-width: 499px) {
  .visit-menu__distant-top-person {
    /* right: 50%;
    transform: translateX(50%); */
    display: flex;
    align-items: center;
    gap: 3%;
  }
  .visit-menu__distant-top-person-img {
    width: 100px;
  }
  .visit-menu__distant-top-person-txt {
    position: static;
    min-width: 80px;
  }
  .visit-menu__distant-top-area {
    padding-bottom: 120px;
  }
  .visit-menu__distant-bubble {
    width: 76px;
    left: -8px;
  }
  .visit-menu__distant-bubble-txt {
    font-size: 11px;
    line-height: 1.3;
  }
}

.visit-menu__distant-lead {
  position: relative;
  margin-bottom: 12px;
  width: fit-content;
  text-align: center;
  font-weight: 500;
}
.visit-menu__distant-lead::before {
  background: url(../img/visit-distant-line.webp) no-repeat center;
  background-size: contain;
  content: "";
  display: inline-block;
  position: absolute;
  width: 110%;
  aspect-ratio: 360 / 42;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.visit-menu__distant-title {
  text-align: center;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.visit-menu__distant-bottom-area {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 20px 2%;
  justify-content: space-between;
  align-items: center;
  padding-inline: 6%;
}
@media (max-width: 834px) {
  .visit-menu__distant-bottom-area {
    grid-template-columns: 1fr;
  }
}
.visit-menu__distant-text {
  line-height: 1.6;
}

.about-cont__youtube {
  margin-top: 40px;
  border-radius: 10px;
  border: solid 4px #fff;
  background: url(../img/about-youtube.webp) no-repeat center center / cover;
}

.about-cont__youtube__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 30px;
}

.about-cont__youtube-lead {
  text-align: center;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.about-cont__youtube-lead .big {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  margin-top: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.about-cont__youtube-label {
  margin-top: 15px;
  background: #db0000;
  color: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  max-width: 180px;
  width: 100%;
  line-height: 1;
  font-weight: 600;
}
@media (max-width: 834px) {
  .f24 {
    font-size: 1.4rem;
  }
}
