@charset "utf-8";
/* コンテンツーページ */

/* 学校詳細ページ */
.school__photo {
  position: relative;
  width: 93vw;
  margin: 3.5vw auto 8.5vw;
}
.school__emblem {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 14.5%;
  clip-path: circle(50% at 50% 50%);
}

.school__info {
  position: relative;
  margin-bottom: 30px;
  padding-right: 250px;
  padding-bottom: 30px;
  border-bottom: 1px solid #BABABA;
}
.icon-tab {
    display: none;
}
.school__name {
  font-size: 2.5em;
  line-height: 1.5em;
}
.school__heart-number {
  padding-top: 1.75em;
  font-size: 1.375em;
  font-weight: 500;
  line-height: 1em;
}
.school__heart-number img {
  display: inline-block;
  width: 1.125em;
  margin-top: -0.2em;
  margin-right: 0.4em;
  vertical-align: middle;
}

.school__link-wrapper {
  position: absolute;
  right: 25px;
  bottom: 30px;
}
.school__sns-link {
  text-align: right;
}
.school__sns-link li {
  display: inline-block;
  width: 34px;
  margin-top: 0.5em;
  margin-left: 0.75em;
}
.school__sns-link a {
  transition: filter .2s;
}
.school__sns-link--facebook .hover {
  filter: invert(25%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(100%) contrast(200%);
}
.school__sns-link--twitter .hover {
  filter: invert(40%) sepia(100%) saturate(2929%) hue-rotate(175deg) brightness(100%) contrast(115%);
}
.school__sns-link--youtube .hover {
  filter: invert(50%) sepia(95%) saturate(6932%) hue-rotate(355deg) brightness(95%) contrast(112%);
}
.school__btn {
  margin-top: 1.5em;
  text-align: right;
}
.school__btn li {
  display: inline-block;
  margin-left: 0.75em;
}
.school__btn--like,
.school__btn--message {
  display: inline-block;
  width: 145px;
  padding: 0.5em 0;
  border: 1px solid #222222;
  background-color: #fff;
  color: #222222;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.75em;
  text-align: center;
  cursor: pointer;
  transition: opacity .2s;
}
.school__btn--like.hover,
.school__btn--message.hover {
  color: #222222 !important;
  text-decoration: none !important;
  opacity: 0.7;
}
.school__btn--like img,
.school__btn--message img {
  display: inline-block;
  width: 20px;
  margin-right: 0.25em;
}
.school__btn--like.like img {
  animation: like 0.3s ease 0s forwards;
}
.school__tags li {
  display: inline-block;
  margin-right: 0.5em;
  margin-bottom: 0.75em;
  padding: 0 1.5em;
  border: 1px solid #222222;
  border-radius: 2em;
  color: #222222;
  font-size: 0.9em;
  font-weight: 500;
}

.school__tabs {
  padding: 40px 0 50px;
}
.school__tabs li {
  position: relative;
  width: 23.5%;
  padding: 0.5em;
  background-color: #CCCCCC;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s;
  margin-right: 12px;

}

a.link-in-message-chat, a.link-in-message-chat:hover {
    color: #d3f5dd;
}

.school__tabs li.active:nth-child(odd),
.school__tabs li.hover:nth-child(odd) {
  background-color: #F7B862;
}
.school__tabs li.active:nth-child(even),
.school__tabs li.hover:nth-child(even) {
  background-color: #5D57FF;
}
.school__tabs li.active::after {
  content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

.school__tabs li.active:nth-child(odd)::after {
    border-top: 12px solid #F7B862;
}
.school__tabs li.active:nth-child(even)::after {
    border-top: 12px solid #5D57FF;
}

.school__tab-content {
  display: none;
}
.school__tab-content.active {
  display: block;
}

.school__post-list {
  position: relative;
}
.school__post-list::after {
  content: "";
  display: block;
  width: 32.5%;
}
.school__post-list > li {
  width: 32.5%;
  margin-bottom: 5em;
  transition: opacity .2s;
  cursor: pointer;
}
.school__post-list > li.hover {
  opacity: 0.7;
}
.school__post--photo {
  position: relative;
  height: 30vw;
  max-height: 590px;
  overflow: hidden;
  background: #1a1a1a;
}
.school__post--photo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 50%;
  /* background: linear-gradient(to bottom, transparent, #000); */
  opacity: 0.3;
}
.school__post--photo > img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.school__post--data {
  position: absolute;
  right: 25px;
  bottom: 30px;
  z-index: 2;
  color: #fff;
}
.school__post--data li {
  display: inline-block;
  margin-left: 1em;
  vertical-align: middle;
  font-size: 0.9em;
}
.school__post--view img {
  display: inline-block;
  width: 23px;
  margin-right: 0.25em;
  padding-bottom: 0.25em;
}
.school__post--heart {
  width: 55px;
  height: 55px;
  padding: 12px 14px 0;
  background-color: #fff;
  border-radius: 50%;
}
.school__post--heart img {
  width: 27px;
}
.school__post--heart.like img {
  animation: like 0.3s ease 0s forwards;
}
.school__post--title {
  padding-top: 1em;
  font-size: 1.25em;
  font-weight: bold;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  padding: 25px;
  background-color: rgba(93, 93, 93, 0.7);
  overflow-y: auto;
}
.modal__inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 120px;
  background-color: #fff;
}
.modal__close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 27px;
  height: 27px;
  cursor: pointer;
  transition: opacity .2s;
}
.modal__close:hover {
  opacity: 0.7;
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg);
  width: 33px;
  height: 3px;
  background-color: #000;
}
.modal__close::after {
  transform: rotate(-45deg);
}
.swiper-container {
  position: relative;
  margin-bottom: 100px;
}
.swiper {
  width: 100%;
  overflow: hidden;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -60px;
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  margin: 2px 5px;
  background-color: #9A9A9A;
  opacity: 1;
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: #F7B862;
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -50px;
}
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -50px;
}
.modal .swiper-button-prev:after,
.modal .swiper-rtl .swiper-button-next:after,
.modal .swiper-button-next:after,
.modal .swiper-rtl .swiper-button-prev:after {
  content: "";
  width: 17px;
  height: 17px;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
}
.modal .swiper-button-prev:after,
.modal .swiper-rtl .swiper-button-next:after {
  transform: rotate(-45deg);
}
.modal .swiper-button-next:after,
.modal .swiper-rtl .swiper-button-prev:after {
  transform: rotate(135deg);
}
.modal__title {
  font-size: 1.56em;
  font-weight: bold;
}

.school__news--list {
  margin-top: -2em;
  padding-bottom: 5em;
}
.school__news--list li {
  padding: 2em 0;
  border-bottom: 1px solid #BABABA;
}
.school__news--date {
  display: inline-block;
  width: 6.5em;
}
.school__news--category {
  width: 11.5em;
}
.school__news--category span {
  display: inline-block;
  padding: 0 1.5em;
  background-color: #171717;
  border-radius: 2em;
  color: #fff;
  font-size: 0.75em;
  font-weight: 500;
}
.school__news--content {
  width: calc(100% - 18em);
}

.school__doc-req {
  padding: 50px 0 150px;
  text-align: center;
}
.school__doc-req a {
  display: inline-block;
  padding: 1em 5em 1em 6.5em;
  background: #5D57FF url(../img/icon_document.png) left 5em center / 20px auto no-repeat;
  color: #fff;
  font-size: 1.25em;
  font-weight: 500;
  transition: background-color .2s;
}
.school__doc-req a.hover {
  background-color: #F7B862;
}

.modal-notice-detail .notice-image-slide {
    display: flex;
}
.modal-notice-detail .notice-image-slide img {
    max-height: 450px;
    margin: auto;
}

.notice-new-scroll {
    overflow-y: auto;
    max-height: 120vh;
    width: 100vw;
}

.notice-new-scroll .spinner {
    padding-bottom: 200px
}

.notice-new-scroll .d-flex {
    display: flex;
}

.notice-new-scroll .justify-content-center {
    justify-content: center;
}

.notice-new-scroll .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

.more-post {
    display: none;
}

.btn-close-for-mobile {
    display: none;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media all and (max-width: 1000px) {
  .school__tabs li,
  .school__post--title {
    font-size: 1.125em;
  }

  .school__post--data {
    right: 25px;
    bottom: 20px;
  }
}
@media all and (max-width: 900px) {
  .school__post-list > li {
    width: 49.5%;
  }
  .school__post--photo {
    height: 46vw;
  }
}

@media all and (max-width: 750px) {
  .school__photo {
    margin-bottom: 10vw;
  }
  .school__emblem {
    width: 20%;
  }
  .school__info {
    padding-right: 0;
  }
  .school__name {
    font-size: 1.5em;
  }
  .school__heart-number {
    font-size: 1.125em;
    padding-top: 1em;
  }
  .school__link-wrapper {
    position: relative;
    right: 0;
    bottom: auto;
  }
  .school__btn--like,
  .school__btn--message {
    width: 100px;
    font-size: 0.9em;
  }
  .school__btn--like img,
  .school__btn--message img {
    width: 18px;
    margin-top: -2px;
    margin-right: 0;
  }

  .school__tabs {
    padding: 0px 0px 0px;
    display: flex;
    margin-bottom: 0px !important;
  }

  .school__info {
    padding-bottom: 0px !important;
    border-bottom: none;
    margin-bottom: 15px !important;
  }

  .school__tabs li,
  .school__post--title {
    font-size: 1em;
  }

  .school__tabs li {
    width: 25% !important;
    margin-right: 0px !important;
  }


  .school__tabs li.active::after {
    border: unset;
  }

  .school__doc-req a {
    font-size: 1.125em;
  }

  .school-detail-tab-group, .school-content-of-tab-item {
    padding: 0px !important;
  }

  .school-content-of-tab-item {
    display: flex;
  }

  .school__news--content {
    width: 100% !important;
  }

  .notice-new-scroll {
    overflow-y: unset;
    max-height: auto;
  }

  .modal {
    padding: 10px !important;
  }

  .school__post--photo > img {
    height: 150px;
    object-fit: cover;
  }

  .modal__inner {
    padding: 50px 10px !important;
    min-height: 100vh !important;
  }

  .label-tab {
    display: none;
  }

  .icon-tab {
    display: block;
  }

  .icon-tab img {
    color: #FFF;
    width: 15px;
  }

  .school__post--data {
    width: 100% !important;
    right: unset !important;
    display: flex;
    justify-content: center;
    align-items: start;
  }

    .school__post--data li:first {
        margin-top: 7px !important;
    }

    ul.school__post--data {
        padding: 0px !important;
        padding-left: 0px !important;
        margin: 0px;
    }
    .school__post--data li {
        font-size: 0.9em;
        width: 50%;
        text-align: center;
        display: block;
        text-align: left;
    }

    .school__post--data li:last-child {
        margin-right: 5px;
        margin-top: -5px;
    }

    .modal-notice-detail {
        padding: 0px !important;
    }

    #modal-notice-detail .modal__close {
        top: 10px !important;
    }

    .school__news--list {
        margin-top: 0px !important;
    }

    .modal-notice-detail {
        display: none;
    }

    .btn-close-for-desktop {
        display: none;
    }

    .btn-close-for-mobile {
        display: flex;
        justify-content: flex-start;
        margin-top: -40px;
        margin-bottom: 10px;
    }

    .btn-close-for-mobile {
        background: url(../../images/back-menu.png) no-repeat !important;
        background-size: contain !important;
        position: unset;
    }

    .btn-close-for-mobile::after {
        content: unset;
    }

    .btn-close-for-mobile::before {
        content: unset;
    }

    .more-post {
        margin-top: 30px;
        margin-bottom: 30px;
        display: block;
    }

    .more-post .spinner {
        padding-bottom: 30px;
    }

    .more-post .school__post--title {
        display: block !important;
    }

    .more-post li {
        margin: 0px;
        padding: 0px;
        list-style-type: none;
    }

    .swiper-container {
        margin-bottom: 10px !important;
    }
}

@media all and (max-width: 525px) {
    .school__post-list > li {
        width: 33%;
        padding-bottom: 3em;
        height: 80px;
    }

    .school__post--heart {
        width: 40px !important;
        height: 40px !important;
        padding: 5px 10px 0 !important;
        background-color: #fff !important;
        border-radius: 50% !important;
    }

    .school__news--content {
        width: 100% !important;
    }

    .school__post-list > li .school__post--photo img.content-item-photo {
        height: 150px;
    }

  .school__post--photo {
    height: 33vw;
  }
  ul.school__post--data {
    bottom: 10px;
  }

  .school__news--list {
    padding-bottom: 3em;
  }
}

main .feature-frame {
  width: calc(100% - 50px);
  max-width: 1150px;
  margin: 25px auto;
  padding: 25px;
  background: #FFF;
}
.feature ol {
  list-style: decimal;
}
.feature ul {
  list-style: disc;
}
@media all and (max-width: 750px) {
  main .feature-frame {
    width: calc(100% - 30px);
    margin: 10px auto;
    padding: 10px;
  }
}


/* 学校詳細ページ基本情報 */
.school__basic-info {
  margin-bottom: 50px;
  padding: 80px 100px 100px;
  background-color: #F7F7F7;
  clear: both;
}
.school__basic-info dt {
  float: left;
  padding-top: 1.5em;
  line-height: 1.5em;
}
.school__basic-info dd {
  width: 100%;
  min-height: 5em;
  padding-top: 1.5em;
  padding-left: 5em;
  border-bottom: 1px solid #9A9A9A;
  line-height: 1.5em;
}
.school__basic-tags {
  margin: 40px 0;
}
.inner-narrow .school__basic-tags:last-child {
  margin-bottom: 100px;
}
.school__basic-tags dt {
  margin-bottom: 0.5em;
  padding: 1em 0;
  border-bottom: 1px solid #171717;
  font-size: 1.125em;
  font-weight: bold;
}
.school__basic-tags ul {
  padding: 0;
}
.school__basic-tags li {
  display: inline-block;
  margin-top: 0.75em;
  margin-right: 0.5em;
  padding: 0 1.25em 0.1em;
  border: 1px solid #222222;
  border-radius: 2em;
  font-weight: 500;
}
@media all and (max-width: 750px) {
  .school__basic-info {
    margin-top: 20px;
    padding: 10px 20px 30px;
  }
  .school__basic-info dt {
    float: none;
  }
  .school__basic-info dd {
    min-height: 3.5em;
    padding-top: 0.5em;
    padding-left: 0;
  }
  .school__basic-tags {
    margin: 25px 0;
  }
  .school__basic-tags dt {
    padding-bottom: 0.5em;
  }
}


/* チャット用モーダル */
.chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.chat-modal__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 36px);
  max-width: 1000px;
  padding: 1em;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}
.chat-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 99;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.chat-modal__close::before,
.chat-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 35px;
  height: 2px;
  background-color: #171717;
  border-radius: 2px;
}
.chat-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.chat-modal__inner h2 {
  margin: 60px;
  font-size: 2em;
}
.chat-modal__inner .chat-modal__scroll {
  max-height: calc(100vh - 500px);
  margin: 60px;
  overflow-y: auto;
}
.chat-modal-list {
  list-style-type: disc;
}
.chat-modal-list > li {
  margin-bottom: 1em;
}
@media all and (max-width: 750px) {
  .chat-modal__close {
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
  }
  .chat-modal__close::before,
  .chat-modal__close::after {
    width: 22px;
  }
  .chat-modal__inner h2 {
    margin: 18px;
    font-size: 1.125em;
  }
  .chat-modal__inner h2 span::before {
    width: 3px;
  }
  .chat-modal__inner .chat-modal__scroll {
    max-height: calc(100vh - 300px);
    margin: 18px;
  }
}

a.feature-block-item {
    position: relative;
    background: url(../img/icon_lock_black.png) no-repeat center center;
}

.feature_icon-require-login {
    width: 25px !important;
}

span.item-block-feature {
    position: absolute;
    display: block;
    width: 25px;
    height: 33px;
    bottom: 10px;
    left: 10px;
}

#topics .item-block-feature {
  width: 30px;
  height: 35px;
}

ul.school-link-items {
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

ul.school-link-items li:first-child button {
    max-height: 41px !important;
}
