/*------------------------------
top
------------------------------*/
.top__container {
  padding: 80px 0;
  background: #fff;
}
@media (max-width: 767px) {
  .top__container {
    padding: 40px 0;
  }
}

/*------------------------------
fv
------------------------------*/
.fv {
  aspect-ratio: 1336/480;
  width: 100%;
  position: relative;
}
@media (max-width: 767px) {
  .fv {
    aspect-ratio: 375/206;
  }
}

.fv__text {
  position: absolute;
  bottom: -8%;
  right: max((100vw - 1512px) / 2 + 152px, 10.0529100529vw);
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .fv__text {
    right: 5%;
  }
}

.fv__text-block {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #2E3B4F;
  font-size: min(4rem, 2.6455026455vw);
  font-weight: 700;
  color: #fff;
  padding: 0.1em 0.4em;
  align-self: flex-end;
}
.fv__text-block:nth-child(2) {
  margin-top: 10px;
}
@media (max-width: 767px) {
  .fv__text-block {
    font-size: min(2rem, 5.3333333333vw);
  }
  .fv__text-block:nth-child(2) {
    margin-top: 4px;
  }
}

.fv__text--blue {
  color: #A8DADC;
}

/*------------------------------
top-menu
------------------------------*/
.top-menu {
  background: #fff;
  padding: 5% 0 80px;
}

@media (max-width: 767px) {
  .top-menu {
    padding: 32px 0;
  }
}

.top-menu__text {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 767px) {
  .top-menu__text {
    font-size: 1.4rem;
  }
}

.top-menu__text--emphasis {
  font-weight: 700;
  background: linear-gradient(transparent 60%, #A8DADC 60%);
}

.top-menu__text--three {
  font-size: smaller;
  font-weight: lighter;
}

.top-menu__section {
  width: 100%;
  max-width: 600px;
  margin: 25px auto 10px;
}

.top-menu__heading {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #3B5998;
}
@media (max-width: 767px) {
  .top-menu__heading {
    font-size: 2rem;
  }
}

.top-menu__button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* ボタンのベーススタイル */
.top-menu__button a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 80px;
  text-align: center;
  border-radius: 16px;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  background: #3B5998;
  padding: 15px;
  box-shadow: 0 6px 6px rgba(46, 59, 79, 0.25);
  position: relative;
  text-decoration: none;
  line-height: 1; /* 行間を詰める */
}

.top-menu__button a:hover {
  background-color: #2D4373;
}

.top-menu__button a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.4em;
  transform: translateY(-50%);
  background: url(../images/icon_button-aroow.png) no-repeat center center/contain;
  width: 12px;
  aspect-ratio: 18/31;
}

.top-menu__button a small {
  display: block;
  font-size: 2.4rem;
  font-weight: 400;
  margin-top: 2px; /* マージンを縮小 */
  line-height: 1.2; /* smallタグの行間を調整 */
}

@media (max-width: 767px) {
  .top-menu__button-row {
    gap: 8px;
  }
  
  .top-menu__button a {
    font-size: 1.6rem;
    border-radius: 8px;
    padding: 10px;
    min-height: 70px;
  }
  
  .top-menu__button a small {
    font-size: 1.2rem;
    margin-top: 2px;
  }
}


/*------------------------------
news
------------------------------*/
.news {
  padding: 48px 0;
}
@media (max-width: 767px) {
  .news {
    padding: 35px 0;
  }
}

.news__list {
  margin-top: 48px;
}
.news__list article {
  display: flex;
  align-items: center;
  background: #fff;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  padding: 1.3em 0.7em;
  padding-right: 3em;
  border-radius: 0.5em;
  position: relative;
}
.news__list article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  width: 0.5em;
  aspect-ratio: 16/31;
  -webkit-mask-image: url(../images/icon_button-aroow.png);
          mask-image: url(../images/icon_button-aroow.png);
  -webkit-mask-size: 100%;
          mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  background-color: #2E3B4F;
}
.news__list article:nth-child(n+2) {
  margin-top: 16px;
}
.news__list article a {
  color: #2E3B4F;
}
@media (max-width: 767px) {
  .news__list {
    margin-top: 25px;
  }
  .news__list article {
    font-size: 1.4rem;
  }
  .news__list article:nth-child(n+2) {
    margin-top: 0.7em;
  }
}

.news__button {
  margin-top: 32px;
  text-align: right;
}
.news__button a {
  display: inline-block;
  font-size: min(2.8rem, 2.0989505247vw);
  font-weight: 700;
  line-height: 1;
  color: #3B5998;
  padding-bottom: 8px;
  border-bottom: 3px solid #3B5998;
}
@media (max-width: 767px) {
  .news__button {
    margin-top: 15px;
  }
  .news__button a {
    font-size: min(1.4rem, 3.7333333333vw);
    padding-bottom: 0.3em;
    border-width: 2px;
  }
}

.post-archive__item-category {
  font-family: "Hiragino Sans", sans-serif;
  width: 6em;
  flex-shrink: 0;
}
.post-archive__item-category em {
  word-break: break-all;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.3em 0.4em;
  background: #A8DADC;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .post-archive__item-category {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/*------------------------------
message
------------------------------*/
.message {
  background: #fff;
}

.message__content {
  margin-top: 8%;
}
.message__content p {
  margin-top: 6%;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .message__content {
    margin-top: 9%;
  }
  .message__content p {
    font-size: min(1.4rem, 3.7333333333vw);
    margin-top: 11%;
  }
}

/*------------------------------
recruit
------------------------------*/
.recruit {
  padding: 80px 0 64px;
}
@media (max-width: 767px) {
  .recruit {
    padding: 30px 0 40px;
  }
}

.recruit__container {
  margin-top: 4.8%;
}
@media (max-width: 767px) {
  .recruit__container {
    margin-top: 41.8%;
  }
}

.recruit__container__inner {
  padding: 0;
}
.recruit__box {
  background: #fff;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .recruit__box {
    position: relative;
    width: 100%;
    background: none;
  }
}

.recruit__bpx-image {
  width: 50%;
}
@media (max-width: 767px) {
  .recruit__bpx-image {
    width: 84%;
    max-width: 315px;
    position: absolute;
    right: 0;
    top: -120px;
  }
}

.recruit__box-text {
  width: 50%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  font-size: min(4rem, 2.9985007496vw);
  font-weight: 700;
  line-height: 1.4;
  color: #3B5998;
  transform: translateX(-4%);
}
@media (max-width: 767px) {
  .recruit__box-text {
    position: relative;
    z-index: 10;
    transform: unset;
    font-size: min(2rem, 5.3333333333vw);
    background: #fff;
    padding: 1em;
    width: 80%;
    margin-left: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.recruit__content {
  margin-top: 3%;
}
.recruit__content p {
  font-size: min(2rem, 2.0833333333vw);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 767px) {
  .recruit__content p {
    font-size: min(1.4rem, 3.7333333333vw);
    text-align: left;
  }
}

.recruit__button {
  margin-top: 6%;
  text-align: center;
}

/*------------------------------
contact
------------------------------*/
.contact {
  padding: 80px 0 120px;
  background: #fff;
}
.contact h2:nth-of-type(2) {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .contact {
    padding: 30px 0 60px;
  }
  .contact h2:nth-of-type(2) {
    margin-top: 50px;
  }
}

.contact__content {
  margin-top: 8%;
}
.contact__content p {
  font-size: min(2rem, 2.0833333333vw);
  font-weight: 400;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .contact__content p {
    font-size: min(1.4rem, 3.7333333333vw);
  }
}

.contact__button {
  margin-top: 7%;
  text-align: center;
}
/*# sourceMappingURL=top.css.map */