@charset "utf-8";
/*
Theme Name: BizVektor子テーマ1
Theme URI: http://bizvektor.com
Template: biz-vektor
Description: 
Author: 
Tags: 
Version: 0.1.0
*/

@media (max-width: 767px) {
  .ts-none {
    display: none;
  }
}

@media (min-width: 768px) {
  .tp-none {
    display: none;
  }
}

/* header */
#header {
  position: relative;
  overflow: initial;
}

#header::after {
  content: '';
  width: 100%;
  height: 230px;
  display: block;
  background: linear-gradient(25deg, rgba(31, 80, 154, 1) 0%, rgba(56, 122, 223, 1) 60%, rgba(56, 188, 198, 1) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media (min-width: 768px) {
  #header::after {
    height: 220px;
  }
}

@media (min-width: 1024px) {
  #header::after {
    height: 232px;
  }
}



#header.top-header::after {
  height: 280px;
}

@media (max-width: 320px) {
  #header.top-header::after {
    height: 270px;
  }
}

@media (min-width: 1024px) {
  #header.top-header::after {
    height: 310px;
  }
}

#header #site-title a {
  color: #ffffff;
}

#header .header-right {
  display: none;
}

@media (min-width: 660px) {
  #header {
      padding-top: 0;
  }

  #header #site-title {
    margin-top: 30px;
  }

  #header .header-right {
    display: flex;
    float: right;
    justify-content: flex-end;
  }

  #header .header-right .header-right_menu {
    display: none;
  }

  #header .header-right .header-right_menu li {
    margin-right: 20px;
    margin-top: 18px;
  }

  #header .header-right .header-right_menu li a {
    font-size: 13px;
    color: white;
    text-decoration: none;
    transition: .3s;
  }

  #header .header-right .header-right_menu li a:hover {
    opacity: .7;
  }

  #header .header-right .header-right_widget {
    margin-top: 20px;
  }

  #header .header-right .header-right_widget h3 {
    display: none;
  }
}

@media (min-width: 1024px) {
  #header .header-right .header-right_menu {
    display: flex;
    float: right;
    justify-content: flex-end;
    align-items: center;
  }
}

@media (min-width: 768px) {
  #sideTower .widget_prisna-google-website-translator {
    display: none;
  }
}

#gMenu {
  border: none;
}

#gMenu .assistive-text {
  color: #1f509a;
  background-color: white;
}

#gMenu .assistive-text span {
  position: relative;
}

#gMenu .assistive-text span::before {
  content: '';
  width: 7px;
  height: 10px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  background-color: #1f509a;
  transition: all .3s;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  margin: auto;
}

#gMenu.itemOpen .assistive-text span,
#gMenu.itemClose .assistive-text span {
  background: initial;
}

#gMenu.itemOpen .assistive-text span::before {
  transform: rotate(90deg);
}

@media (min-width: 770px) {
  #gMenu .menu {
    border-left: none;
  }

  #gMenu .menu li {
    box-shadow: initial;
    text-shadow: initial;
  }

  #gMenu .menu li a {
    border: initial;
    box-shadow: initial;
    color: #1F509A;
    background: initial;
    position: relative;
  }

  #gMenu .menu>li+li>a::after {
    content: '';
    width: 1px;
    height: 25px;
    background-color: #1F509A;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }

  #gMenu .menu li.current_page_item>a, #gMenu .menu li.current-menu-item>a, #gMenu .menu li>a:hover {
    background: initial;
    background-color: rgba(31, 80, 154, .1);
  }

  #gMenu .menu li:first-child.current_page_item>a {
    background-color: initial;
  }
}

#pageTitBnr {
  background: initial;
  border-bottom: initial;
}

#pageTitBnr #pageTitInner #pageTit {
  color: white;
  text-shadow: initial;
}

/* top */
.c-top-link {
  width: 100%;
  font-size: 15px;
  font-weight: bold;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #1F509A;
  border: 1px solid #1F509A;
  border-radius: 6px;
  display: block;
  transition: .3s;
}

@media (min-width: 770px) {
  .c-top-link {
    line-height: 58px;
  }

  .c-top-link:hover {
    color: #1F509A;
    background-color: white;
  }
}


#container.p-top {
  width: 100%;
  margin: 0;
}

#container.p-top .l-inner {
  width: 94%;
  margin: 0 3%;
}

@media (min-width: 770px) {
  #container.p-top .l-inner {
    width: 950px;
    margin: 0 auto;
  }
}

.p-top-fv {
  position: relative;
  padding-bottom: 20px;
}

.p-top-fv::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-color: #CAEDFA;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.p-top-fv .p-top-fv_box {
  margin-top: 10px;
}

@media (max-width: 769px) {
  .p-top-fv .p-top-fv_box .fv-img {
    display: none;
  }
}

.p-top-fv .p-top-fv_box .fv-img {
  width: 560px;
}

.p-top-fv .p-top-fv_box .fv-main .main-head .title {
  font-size: clamp(23px, 7.1875vw, 28px);
  font-weight: bold;
  line-height: 1.4;
  color: white;
}

.p-top-fv .p-top-fv_box .fv-main .main-head .lead {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  color: #1F509A;
  margin-top: 35px;
}

.p-top-fv .p-top-fv_box .fv-main .main-img {
  margin: 20px auto 0;
  display: block;
}

@media (min-width: 770px) {
  .p-top-fv .p-top-fv_box .fv-main .main-img {
    display: none;
  }
}

.p-top-fv .p-top-fv_box .fv-main .main-info {
  width: 100%;
  margin-top: 30px;
}

.p-top-fv .p-top-fv_box .fv-main .main-info .info_head {
  font-size: 18px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  color: white;
  background-color: #FBA834;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.p-top-fv .p-top-fv_box .fv-main .main-info .info_article {
  padding: 20px;
  border: 1px solid #FBA834;
  background-color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.p-top-fv .p-top-fv_box .fv-main .main-info .info_article .date {
  font-size: 11px;
}

.p-top-fv .p-top-fv_box .fv-main .main-info .info_article .title {
  font-size: 15px;
  margin-top: 5px;
}

@media (min-width: 770px) {
  .p-top-fv .p-top-fv_box {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
  }

  .p-top-fv .p-top-fv_box .fv-main {
    width: 365px;
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
  }

  .p-top-fv .p-top-fv_box .fv-main .main-head {
    margin-top: 10px;
  }
}

/*facility_info*/
.p-top-facility {
  background-color: #CAEDFA;
  padding: 50px 0 20px;
  position: relative;
}

.p-top-facility::before {
  content: '';
  width: 125px;
  height: 33px;
  background: url('./images/top/cloud-one.svg') no-repeat center / cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.p-top-facility::after {
  content: '';
  width: 215px;
  height: 40px;
  background: url('./images/top/cloud-two.svg') no-repeat center / cover;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}

.p-top-facility .headline {
  font-size: 22px;
  padding: 30px;
  color: #1F509A;
  background-color: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  display: flex;
  align-items: center;
  position: relative;
}

@media (min-width: 321px) {
  .p-top-facility .headline {
    width: fit-content;
    font-size: 24px;
  }

  .p-top-facility .headline::after {
    content: '';
    width: 28px;
    height: 28px;
    background: url('./images/top/facility-radius.svg') no-repeat center / cover;
    display: block;
    position: absolute;
    bottom: 0;
    right: -28px;
  }
}

.p-top-facility .headline::before {
  content: '';
  width: 40px;
  height: 34px;
  background: url('./images/top/icon-facility.svg') no-repeat center / cover;
  display: inline-block;
  margin-right: 6px;
}

.p-top-facility .facility_box {
  padding: 20px 20px 30px;
  background-color: white;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

@media (min-width: 321px) {
  .p-top-facility .facility_box {
    border-top-right-radius: 28px;
  }
}

.p-top-facility .facility_box .title-text {
  font-size: 15px;
  line-height: 1.5;
}

.p-top-facility .facility_box .facility_list {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0 -10px;
}

.p-top-facility .facility_box .facility_list li {
  width: calc(100% / 3);
  padding: 20px 0 0 10px;
  box-sizing: border-box;
  text-align: center;
}

.p-top-facility .facility_box .facility_list li .img {
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
}

.p-top-facility .facility_box .facility_list li .img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0;
  left: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.p-top-facility .facility_box .facility_list li a:hover .img img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.p-top-facility .facility_box .facility_list li .name {
  padding-top: 8px;
  text-decoration: none;
  display: inline-block;
}

.p-top-facility .facility_box .facility_link {
  margin-top: 30px;
}

@media (min-width: 770px) {
  .p-top-facility::before {
    width: 140px;
    height: 36px;
    top: 70px;
    left: calc(50% - 600px);
  }

  .p-top-facility::after {
    width: 510px;
    height: 100px;
    top: 22px;
    left: 50%;
  }

  .p-top-facility .headline {
    font-size: 30px;
    padding: 35px 40px 20px;
  }

  .p-top-facility .headline::before {
    width: 47px;
    height: 36px;
    margin-right: 10px;
  }

  .p-top-facility .facility_box {
    padding: 30px 40px 50px;
  }

  .p-top-facility .facility_box .title-text {
    font-size: 16px;
  }

  .p-top-facility .facility_box .facility_list {
    margin: 5px 0 0 -15px;
  }

  .p-top-facility .facility_box .facility_list li {
    width: calc(100% / 6);
    padding-left: 15px;
  }

  .p-top-facility .facility_box .facility_link {
    width: 300px;
    margin: 50px auto 0;
  }
}


/* school */
.p-top-school {
  width: 100%;
  background: linear-gradient(#CAEDFA 0%, white 60%);
  padding-top: 30px;
}

.p-top-school .school_box .school_detail .headline {
  font-size: 24px;
  color: #1F509A;
}

.p-top-school .school_box .school_detail .headline::before {
  content: '';
  width: 41px;
  height: 41px;
  background: url('./images/top/icon-school.svg') no-repeat center / cover;
  display: block;
  margin-bottom: 10px;
}

.p-top-school .school_box .school_detail .lead {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 20px;
}

.p-top-school .school_box .school_detail .link {
  margin-top: 30px;
}

.p-top-school .school_box .school_detail .link a {
  margin-top: 10px;
}

.p-top-school .school_box .school_detail .link a:last-child {
  background-color: #FBA834;
  border-color: #FBA834;
}

.p-top-school .school_box .school_detail .link a:last-child:hover {
  color: #FBA834;
  background-color: white;
}

.p-top-school .school_box .school_purpose {
  margin-top: 30px;
  padding: 30px 20px;
  background: linear-gradient(25deg, rgba(31, 80, 154, 1) 0%, rgba(56, 122, 223, 1) 60%, rgba(56, 188, 198, 1) 100%);
  border-radius: 28px;
}

.p-top-school .school_box .school_purpose .purpose_title {
  font-size: 23px;
  font-weight: normal;
  color: white;
}

.p-top-school .school_box .school_purpose .purpose_list {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0 -8px;
}

.p-top-school .school_box .school_purpose .purpose_list li {
  width: calc(100% / 3);
  padding: 8px 0 0 8px;
  box-sizing: border-box;
}

.p-top-school .school_box .school_purpose .purpose_list li a {
  width: 100%;
  padding-top: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.p-top-school .school_box .school_purpose .purpose_list li a img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: .3s;
}

.p-top-school .school_box .school_purpose .purpose_list li a .title {
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (min-width: 770px) {
  .p-top-school {
    padding-top: 80px;
  }

  .p-top-school .school_box {
    display: flex;
    justify-content: space-between;
  }

  .p-top-school .school_box .school_detail {
    width: 340px;
  }

  .p-top-school .school_box .school_detail .headline {
    font-size: 30px;
  }

  .p-top-school .school_box .school_detail .headline::before {
    width: 47px;
    height: 47px;
    margin-bottom: 15px;
  }

  .p-top-school .school_box .school_detail .lead {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 30px;
  }

  .p-top-school .school_box .school_detail .link {
    margin-top: 50px;
  }

  .p-top-school .school_box .school_detail .link a {
    margin-top: 20px;
  }

  .p-top-school .school_box .school_purpose {
    width: 570px;
    margin-top: 0;
    padding: 40px;
    box-sizing: border-box;
  }

  .p-top-school .school_box .school_purpose .purpose_title {
    font-size: 28px;
  }

  .p-top-school .school_box .school_purpose .purpose_list {
    margin: 15px 0 0 -6px;
  }

  .p-top-school .school_box .school_purpose .purpose_list li {
    width: calc(100% / 5);
    padding: 6px 0 0 6px;
  }
}


/* お知らせ */

.p-top-news {
  margin-top: 50px;
  padding-top: 50px;
  background: url('./images/top/news-bg.svg') no-repeat top center / 140%, linear-gradient(white 5%, #E5F0C1 5%, #E5F0C1 50%, white 100%);
}

.p-top-news .headline {
  font-size: 22px;
  color: #1F509A;
}

.p-top-news .headline::before {
  content: '';
  width: 48px;
  height: 34px;
  background: url('./images/top/icon-news.svg') no-repeat center / cover;
  display: inline-block;
  margin-right: 6px;
}

.p-top-news .news-list li {
  padding: 15px 0;
}

.p-top-news .news-list li + li {
  border-top: 1px dotted #B3B3B3;
}

.p-top-news .news-list li .news-list_data {
  font-size: 12px;
}

.p-top-news .news-list li .news-list_data .cat {
  padding: 3px 5px;
  color: white;
  margin-left: 10px;
}

.p-top-news .news-list li .news-list_data .cat.news {
  background-color: #1F509A;
}

.p-top-news .news-list li .news-list_data .cat.facilities {
  background-color: #F19DB5;
}

.p-top-news .news-list li .news-list_data .cat.classroom {
  background-color: #00A5A8;
}

.p-top-news .news-list li .news-list_data .cat.event {
  background-color: #F6AC19;
}

.p-top-news .news-list li .news-list_title {
  margin-top: 5px;
}


.tab_set {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.tab_set .tab_label {
  width: calc(100% / 2);
  font-weight: bold;
  text-align: center;
  display: block;
  margin-right: 0;
  background: white;
  color: #1F509A;
  padding: 10px;
  border-bottom: 1px solid #BBCAE1;
  cursor: pointer;
  box-sizing: border-box;
  transition: .5s;
}

@media (max-width: 769px) {
  .tab_set .tab_label:nth-of-type(2),
  .tab_set .tab_label:nth-of-type(4) {
    border-right: 1px solid #BBCAE1;
  }
  
  .tab_set .tab_label.all {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}

.tab_set .tab_content {
  width: 100%;
  padding: 20px;
  border: 1px solid #1F509A;
  background-color: #fff;
  box-sizing: border-box;
  display: none;
}

.tab_set input[name="tab"] {
  display: none;
}

.tab_set input:checked + .tab_label {
  background: #1F509A;
  color: #fff
}

#tab01:checked ~ #tab01_box,
#tab02:checked ~ #tab02_box,
#tab03:checked ~ #tab03_box,
#tab04:checked ~ #tab04_box,
#tab05:checked ~ #tab05_box {
  display: block;
}

.p-top-news_link {
  margin-top: 30px;
}


@media (min-width: 770px) {
  .p-top-news {
    padding-top: 100px;
    background: url('./images/top/news-bg.svg') no-repeat top center / 100%, linear-gradient(white 10%, #E5F0C1 10%, #E5F0C1 50%, white 100%);
  }
  
  .p-top-news .headline {
    font-size: 30px;
  }
  
  .p-top-news .headline::before {
    width: 56px;
    height: 39px;
    margin-right: 8px;
  }

  .p-top-news .news-list li {
    padding: 20px 0;
  }

  .tab_set {
    justify-content: space-between;
    margin-top: 40px;
  }  

  .tab_set .tab_label {
    width: calc(100% / 5 - 10px);
    font-size: 16px;
    line-height: 40px;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }


  .tab_set .tab_content {
    padding: 30px 40px;
    border: 2px solid #1F509A;
  }

  .p-top-news_link {
    width: 240px;
    margin: 50px auto 0;
  }
}


/* トップコンタクト */
.p-top-contact {
  margin: 60px 3%;
  padding: 30px 20px;
  background-color: #D4EBF8;
  border-radius: 15px;
}

.p-top-contact .contact-text {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  color: #1F509A;
}

.p-top-contact .contact-link a {
  width: 100%;
  font-size: 15px;
  font-weight: bold;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  color: #1F509A;
  background-color: white;
  border: 2px solid #1F509A;
  border-radius: 6px;
  display: block;
  transition: .3s;
  margin-top: 20px;
  box-sizing: border-box;
}

@media (min-width: 770px) {
  .p-top-contact {
    width: 800px;
    margin: 80px auto 50px;
    padding: 35px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .p-top-contact .contact-text {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .p-top-contact .contact-link a {
    width: 240px;
    line-height: 58px;
    margin: 0 0 0 20px;
  }

  .p-top-contact .contact-link:hover a {
    color: white;
    background-color: #1F509A;
  }
}

.p-top-widet_top h3 {
  font-size: 14px;
  padding: 15px;
  font-weight: bold;
  position: relative;
  color: #333;
  border-top: 1px solid #e5e5e5;
  border-bottom: 3px solid #1f509a;
  background: url(images/line_wh.png) left top repeat-x;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px #ffffff;
}

.p-top-widet_top .goog-te-combo {
  width: 100%;
  padding: 5px 0;
}

@media (min-width: 768px) {
  .p-top-widet_top {
    display: none;
  }
}

/* top side */

@media (min-width: 770px) {
  .p-top .p-top-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -20px;
  }

  .p-top .p-top-banner > div {
    width: calc(100% / 2);
    padding-left: 20px;
    box-sizing: border-box;
  }

  .p-top .p-top-external {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
  }

  .p-top .p-top-external > div {
    width: calc(100% / 3);
    padding-left: 20px;
    box-sizing: border-box;
  }
}

/* sponsor_link */

.p-top-sponsor_link {
    width: 100%;
}

    .p-top-sponsor_link {
    width: 100%;
}

.sponsor_link_box_bigbun{
    display: block;
    flex-wrap: wrap;
    width: 100%;
}
@media (min-width: 770px) {
    .sponsor_link_box_bigbun{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
}
.sponsor_link_box_bigbun>div{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
@media (min-width: 770px) {
    .sponsor_link_box_bigbun>div{
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
}


.sponsor_link_box {
    display: block;
    flex-wrap: wrap;
    width: 100%;
}

.sponsor_link_box>div{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
}

.sponsor_link_box .small_bun {
    width: 220px;
}


@media (min-width: 770px) {
    .p-top-sponsor_link {
        width: 100%;
}

.sponsor_link_box {
    display: flex;
    flex-wrap: wrap;
    width: 950px;
}

.sponsor_link_box>div{
    width: calc(100% / 4);
    padding: 0 5px;
    box-sizing: border-box;
    text-align: center;
}
}

.sponsor_link_box .small_bun {
    width:220px;
}

/* search */

.p-search .p-search_form .form_purpose {
  margin: 0;
}

.p-search .p-search_form .form_purpose li {
  list-style: none;
}

.p-search .p-search_form .form_purpose li label {
  min-height: 65px;
  display: flex;
}

.p-search .p-search_form .form_purpose li label .purpose_check {
  display: none;
}

.p-search .p-search_form .form_purpose li label p {
  padding: 10px 15px;
  margin: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
}

.p-search .p-search_form .form_purpose li label .purpose_name {
  width: 100px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: white;
  background-color: #1F509A;
  justify-content: center;
}

.p-search .p-search_form .form_purpose li label .purpose_desc {
  width: calc(100% - 100px);
  font-size: 12px;
  background-color: #F2F2F2;
  padding-right: 25px;
  position: relative;
}

.p-search .p-search_form .form_purpose li label .purpose_desc::before {
  content: '';
  vertical-align: middle;
  color: #1F509A;
  line-height: 1;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto 0;
}

.p-search .p-search_form .form_purpose li label .purpose_check:checked+.purpose_name {
  background-color: #FBA834;
}

@media screen and (min-width: 640px) {
  .p-search .p-search_form .form_purpose {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
  }

  .p-search .p-search_form .form_purpose li {
    width: calc(100% / 2);
    padding-left: 10px;
    box-sizing: border-box;
  }

  .p-search .p-search_form .form_purpose li label {
    min-height: 70px;
  }

  .p-search .p-search_form .form_purpose li label .purpose_desc {
    font-size: 14px;
    line-height: 1.5;
  }

}

.p-search .p-search_form .form_box {
  margin-top: 20px;
}

.p-search .p-search_form .form_box .form_select {
  width: 100%;
  margin-top: 5px;
  position: relative;
}

.p-search .p-search_form .form_box .form_select:after {
  content: '';
  width: 8px;
  height: 8px;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 1px solid #1F509A;
  border-right: 1px solid #1F509A;
  z-index: 1;
}

.p-search .p-search_form .form_box .form_select select {
  width: 100%;
  font-size: 16px;
  line-height: 40px;
  background: #F2F2F2;
  padding: 0 35px 0 20px;
}


.p-search .p-search_form .search_form_button {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.p-search .p-search_form .search_form_button button {
  width: 48%;
  max-width: 180px;
  font-weight: bold;
  text-align: center;
  line-height: 48px;
  border: none;
  padding: 0 20px;
  box-sizing: border-box;
  cursor: pointer;
  transition: .3s;
}

.p-search .p-search_form .search_form_button .button_submit {
  color: white;
  background-color: #1F509A;
  border: 1px solid #1F509A;
}

.p-search .p-search_form .search_form_button .button_clear {
  color: #333;
  background-color: #CCC;
  margin-left: 2%;
  border: 1px solid #CCC;
}


.p-search .p-search_form .search_form_button .button_submit:hover {
  color: #1F509A;
  background-color: white;
}

.p-search .p-search_form .search_form_button .button_clear:hover {
  background-color: white;
}

@media screen and (min-width: 640px) {
  .p-search .p-search_form .form_box {
    margin-top: 30px;
    margin-left: -10px;
    display: flex;
  }

  .p-search .p-search_form .form_box .form_select {
    width: calc(100% / 3);
    margin-top: 0;
    padding-left: 10px;
    box-sizing: border-box;
  }

  .p-search .p-search_form .form_box .form_select select {
    line-height: 50px;
  }

  .p-search .p-search_form .search_form_button {
    margin-top: 50px;
  }
}

/* classroom list */

.p-classroom-list {
  margin-top: 80px;
}

@media screen and (max-width: 639px) {
  .p-classroom-list .pc {
    display: none;
  }
}

@media screen and (min-width: 640px) {
  .p-classroom-list .sp {
    display: none;
  }
}

.p-classroom-list .p-classroom-list_lead {
  font-size: 16px;
  line-height: 1.6;
  color: #1F509A;
}

.p-classroom-list .classroom-list_table {
  margin-top: 20px;
}

.p-classroom-list .classroom-list_table .all {
  font-size: 18px;
  font-weight: bold;
  text-align: right;
  margin-bottom: 5px;
}

.p-classroom-list .classroom-list_table .all span {
  font-size: 15px;
}

@media screen and (max-width: 639px) {
  .p-classroom-list .classroom-list_table tr {
    border: 1px solid #ccc;
    border-top: 3px solid #1F509A;
  }

  .p-classroom-list .classroom-list_table tr:first-child {
    display: none;
  }

  .p-classroom-list .classroom-list_table tr td {
    display: block;
    border: none;
    padding: 0 20px 3px;
  }

  .p-classroom-list .classroom-list_table tr td:last-child {
    padding-bottom: 15px;
  }
}

.p-classroom-list .classroom-list_table tr:nth-child(odd) {
  background-color: #F2F2F2;
}

.p-classroom-list .classroom-list_table tr th {
  color: white;
  background-color: #1F509A;
  text-align: center;
}

.p-classroom-list .classroom-list_table tr td a {
  text-decoration: none;
}

.p-classroom-list .classroom-list_table tr td a .subtitle {
  font-size: 16px;
  font-weight: bold;
  color: #FBA834;
  background-color: initial;
  border: none;
  text-shadow: initial;
  box-shadow: initial;
  margin: 0;
  padding: 15px 0 8px;
  text-decoration: underline;
}

.p-classroom-list .classroom-list_table tr td a:hover .subtitle {
  color: #1F509A;
}

.p-classroom-list .classroom-list_table tr td a .venue {
  font-size: 12px;
  color: #333;
  padding-bottom: 8px;
  margin: 0;
}

.p-classroom-list .classroom-list_table tr td .capacity {
  display: none;
}

.p-classroom-list .classroom-list_table tr td .capacity.reservations {
  display: block;
}

.p-classroom-list .classroom-list_table tr td .state {
  font-size: 12px;
  padding: 5px 8px;
  color: white;
  display: inline-block;
  border-radius: 4px;
}

.p-classroom-list .classroom-list_table tr td .state.reservations {
  display: none;
}

.p-classroom-list .classroom-list_table tr td .state.closed {
  background-color: #FBA834;
}

.p-classroom-list .classroom-list_table tr td .state.cancel {
  background-color: #E60039;
}

.p-classroom-list .classroom-list_table tr td .state.preparation {
  background-color: #00A99D;
}

@media screen and (min-width: 640px) {
  .p-classroom-list {
    margin-top: 110px;
  }

  .p-classroom-list .p-classroom-list_lead {
    text-align: center;
  }

  .p-classroom-list .classroom-list_table tr td {
    padding: 10px;
    box-sizing: border-box;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(1) {
    width: 170px;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(2) {
    text-align: center;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(3) {
    width: 80px;
    text-align: center;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(4) {
    width: 100px;
    text-align: center;
    word-break: auto-phrase;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(5) {
    width: 85px;
    text-align: center;
  }

  .p-classroom-list .classroom-list_table tr td:nth-child(6) {
    width: 90px;
    text-align: center;
  }
}

.p-classroom-list .classroom-list_notion {
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (min-width: 640px) {
  .p-classroom-list .classroom-list_notion {
    text-align: center;
  }
}


/* classroom single */
.p-classroom-single {
  margin-top: 20px;
}

.p-classroom-single .classroom-single_list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
}

.p-classroom-single .classroom-single_list dt,
.p-classroom-single .classroom-single_list dd {
  padding: 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #E6E6E6;
  margin: 0;
}

.p-classroom-single .classroom-single_list dt {
  width: 25%;
  text-align: center;
  color: white !important;
  background-color: #1F509A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-classroom-single .classroom-single_list dd {
  width: 75%;
}

.p-classroom-single .classroom-single_state {
  max-width: 280px;
  font-size: 15px;
  text-align: center;
  color: white;
  padding: 10px 30px;
  margin: 20px auto 0;
}

.p-classroom-single .classroom-single_state.reservations {
  display: none;
}

.p-classroom-single .classroom-single_state.closed {
  background-color: #FBA834;
}

.p-classroom-single .classroom-single_state.cancel {
  background-color: #E60039;
}

.p-classroom-single .classroom-single_state.preparation {
  background-color: #00A99D;
}

@media screen and (min-width: 640px) {

  .p-classroom-single .classroom-single_list dt,
  .p-classroom-single .classroom-single_list dd {
    padding: 15px 20px;
  }

  .p-classroom-single .classroom-single_list dt {
    justify-content: left;
  }
}

/* classroom single Form */
.p-classroom-form {
  margin-top: 50px;
}

.p-classroom-form.closed,
.p-classroom-form.cancel,
.p-classroom-form.preparation {
  display: none;
}

@media screen and (min-width: 640px) {
  .p-classroom-form {
    margin-top: 80px;
  }
}

.p-classroom-form .classroom-form_link {
  width: 85%;
  margin: auto;
}

@media screen and (min-width: 640px) {
  .p-classroom-form .classroom-form_link {
    width: 260px;
    margin-left: 0;
  }
}

.p-classroom-form .classroom-form_link a {
  width: 100%;
  font-size: 15px;
  text-align: center;
  line-height: 48px;
  color: white;
  background-color: #1F509A;
  border: 1px solid #1F509A;
  text-decoration: none;
  display: block;
  transition: .3s;
}

.p-classroom-form .classroom-form_link a:hover {
  color: #1F509A;
  background-color: white;
}

.p-classroom-form .classroom-form_box {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .p-classroom-form .classroom-form_box {
    margin-top: 30px;
  }
}

.p-classroom-form dl.form-list {
  border: none;
}

@media screen and (min-width: 1024px) {
  .p-classroom-form dl.form-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

.p-classroom-form dl.form-list dt {
  width: 100%;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 0;
  box-sizing: border-box;
  color: #333 !important;
}

@media screen and (min-width: 1024px) {
  .p-classroom-form dl.form-list dt {
    width: 260px;
    height: 50px;
    padding-right: 30px;
    margin-top: 15px;
  }
}

.p-classroom-form dl.form-list dt span {
  width: 40px;
  font-size: 10px;
  text-align: center;
  line-height: 17px;
  color: #ffffff;
  background-color: #E60039;
  margin-left: 10px;
  display: inline-block;
}

.p-classroom-form dl.form-list dd {
  width: 100%;
  margin-top: 5px;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 1024px) {
  .p-classroom-form dl.form-list dd {
    width: calc(100% - 260px);
    margin-top: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.p-classroom-form dl.form-list dd [type=text], .p-classroom-form dl.form-list dd select, .p-classroom-form dl.form-list dd textarea, .p-classroom-form dl.form-list dd input[name="your-zip"],
.p-classroom-form dl.form-list dd [type=tel],
.p-classroom-form dl.form-list dd [type=number],
.p-classroom-form dl.form-list dd [type=email] {
  width: 100%;
  height: 50px;
  font-size: 16px;
  border: 1px solid #B3B3B3;
  background-color: #EEEFF0;
  border-radius: 6px;
  padding: 10px 15px;
  box-sizing: border-box;
  margin: 0;
}

.p-classroom-form dl.form-list dd textarea {
  height: 150px;
}

.p-classroom-form dl.form-list dd .select {
  width: 250px;
  color: #B3B3B3;
  position: relative;
}

.p-classroom-form dl.form-list dd .select::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  position: absolute;
  top: 21px;
  right: 20px;
  z-index: 1;
}

.p-classroom-form dl.form-list dd .placeholder {
  color: #B3B3B3;
  cursor: pointer;
}


.p-classroom-form dl.form-list dd .select .placeholder option {
  color: #333;
}

.p-classroom-form dl.form-list dd input[name="your-zip"],
.p-classroom-form dl.form-list dd input.age,
.p-classroom-form dl.form-list dd input.grade {
  width: 150px;
}

.p-classroom-form dl.form-list dd input[type="radio"] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #B3B3B3;
  border-radius: 100vh;
  vertical-align: -4px;
}

.p-classroom-form dl.form-list dd input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 100vh;
  background: #1F509A;
  content: '';
}

.p-classroom-form dl.form-list dd label {
  cursor: pointer;
}

.p-classroom-form dl.form-list dd input::-webkit-input-placeholder, .p-classroom-form dl.form-list dd textarea::-webkit-input-placeholder {
  color: #EEEFF0;
}

.p-classroom-form dl.form-list dd input::-moz-placeholder, .p-classroom-form dl.form-list dd textarea::-moz-placeholder {
  color: #EEEFF0;
}

.p-classroom-form dl.form-list dd input:-ms-input-placeholder, .p-classroom-form dl.form-list dd textarea:-ms-input-placeholder {
  color: #EEEFF0;
}

.p-classroom-form dl.form-list dd input::-ms-input-placeholder, .p-classroom-form dl.form-list dd textarea::-ms-input-placeholder {
  color: #EEEFF0;
}

.p-classroom-form dl.form-list dd input::placeholder,
.p-classroom-form dl.form-list dd textarea::placeholder {
  color: #EEEFF0;
}

.p-classroom-form dl.form-list dd .p-top-contact__text {
  font-size: 13px;
  margin-top: 5px;
}

.p-classroom-form dl.form-list dd .wpcf7-form-control-wrap {
  width: 100%;
}

.p-classroom-form dl.form-list dd .note {
  padding-top: 5px;
  display: inline-block;
}


.p-classroom-form .classroom-form_add {
  margin-top: 30px;
}

.p-classroom-form .classroom-form_add .add-lead {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.p-classroom-form .classroom-form_add .add-details {
  border: 1px solid #1F509A;
  border-top-width: 3px;
  margin-top: 15px;
  margin-top: 20px;
}

.p-classroom-form .classroom-form_add .add-details summary {
  font-size: 15px;
  font-weight: bold;
  display: block;
  padding: 20px;
  padding-right: 30px;
  cursor: pointer;
  position: relative;
}

.p-classroom-form .classroom-form_add .add-details summary::after,
.p-classroom-form .classroom-form_add .add-details summary::before {
  content: '';
  width: 20px;
  height: 2px;
  background-color: #1F509A;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  margin: auto 0;
}

.p-classroom-form .classroom-form_add .add-details summary::before {
  transform: rotate(90deg);
  transition: all .3s;
}

.p-classroom-form .classroom-form_add .add-details[open] summary::before {
  transform: rotate(360deg);
}

.p-classroom-form .classroom-form_add .add-details summary::-webkit-details-marker {
  display: none;
}

.p-classroom-form .classroom-form_add .add-details .add-details_answer {
  padding-top: 20px;
  border-top: 1px solid #1F509A;
  margin: 0 20px 30px;
}

.p-classroom-form .classroom-form_add .add-details[open] .add-details_answer {
  animation: fade 0.5s ease;
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.p-classroom-form .classroom-form_privacy {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .p-classroom-form .classroom-form_privacy {
    text-align: center;
  }
}

.p-classroom-form .classroom-form_privacy a {
  color: #1F509A;
  text-decoration: underline;
}

.p-classroom-form .classroom-form_privacy a:hover {
  text-decoration: none;
}

.p-classroom-form .classroom-form_privacy .consent {
  font-size: 16px;
  text-align: center;
}

.p-classroom-form .classroom-form_privacy .consent label {
  position: relative;
  cursor: pointer;
}

.p-classroom-form .classroom-form_privacy .consent label:before {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  border: solid 1px #B3B3B3;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.p-classroom-form .classroom-form_privacy .consent label:after {
  content: "";
  width: 12px;
  height: 20px;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-bottom: solid 3px #ffffff;
  border-right: solid 3px #ffffff;
  top: -3px;
  left: 6px;
  opacity: 0;
}

.p-classroom-form .classroom-form_privacy .consent:has(input[type="checkbox"]:checked) label:before {
  background-color: #1F509A;
}

.p-classroom-form .classroom-form_privacy .consent:has(input[type="checkbox"]:checked) label:after {
  opacity: 1;
}

.p-classroom-form .classroom-form_privacy .consent .checkbox {
  padding-left: 15px;
  appearance: none;
  margin-top: 25px;
}

.p-classroom-form .classroom-form_privacy .consent .wpcf7-list-item {
  margin-left: 0;
}

.p-classroom-form .classroom-form_button {
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-classroom-form .classroom-form_button .confirm {
  width: 100%;
  max-width: 260px;
  font-size: 16px;
  font-weight: bold;
  line-height: 60px;
  text-align: center;
  color: #ffffff;
  background-color: #1F509A;
  margin-bottom: 10px;
  padding: 0;
  border: none;
  display: block;
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
}

.p-classroom-form .classroom-form_button .confirm:hover {
  opacity: .7;
}

.p-classroom-form .classroom-form_button .confirm:disabled {
  background-color: #B3B3B3;
}

@media screen and (min-width: 768px) {
  .p-classroom-form .wpcf7-response-output {
    text-align: center;
  }
}

.p-classroom-form .classroom-form_recaptcha {
  text-align: center;
  margin-top: 50px;
}

.p-classroom-form .classroom-form_recaptcha a {
  color: #1F509A;
}

.p-classroom-form .classroom-form_recaptcha a:hover {
  text-decoration: underline;
}

.grecaptcha-badge {
  visibility: hidden;
}


/* page nav */
.c-page_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .c-page_nav {
    margin-top: 5rem;
  }
}

.c-page_nav .current {
  min-width: 32px;
  line-height: 30px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #1F509A;
}

@media screen and (min-width: 768px) {
  .c-page_nav .current {
    min-width: 42px;
    line-height: 40px;
  }
}

.c-page_nav a {
  min-width: 32px;
  display: block;
  line-height: 30px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  letter-spacing: initial;
  text-decoration: none;
  border: 1px solid #1F509A;
  color: #1F509A;
  margin: 5px;
  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (min-width: 768px) {
  .c-page_nav a {
    min-width: 42px;
    line-height: 40px;
  }

  .c-page_nav a:hover {
    color: #ffffff;
    border-color: #1F509A;
    background-color: #1F509A;
  }

  .c-page_nav a:hover.prev::before, .c-page_nav a.next:hover::before {
    border-color: #ffffff;
  }
}

.c-page_nav a.prev, .c-page_nav a.next {
  height: 32px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .c-page_nav a.prev, .c-page_nav a.next {
    height: 42px;
  }
}

.c-page_nav a.prev::before, .c-page_nav a.next::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-left: 2px solid #1F509A;
  border-bottom: 2px solid #1F509A;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-25%, -50%) rotate(45deg);
  transform: translate(-25%, -50%) rotate(45deg);
}

.c-page_nav a.next::before {
  -webkit-transform: translate(-75%, -50%) rotate(-135deg);
  transform: translate(-75%, -50%) rotate(-135deg);
}

.c-page_nav .no_link {
  display: none;
}

/* facilities list */

.p-facilities-list {
  margin-top: -50px;
}

.p-facilities-list .facilities-list_item {
  margin-top: 50px;
  border-top: 3px solid #1F509A;
}

.p-facilities-list .facilities-list_item .cat_img {
  width: 100%;
  aspect-ratio: 13 / 8;
  overflow: hidden;
  position: relative;
}

.p-facilities-list .facilities-list_item .cat_img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0;
  left: 0;
}

.p-facilities-list .facilities-list_item .cat_title {
  font-size: 20px;
  color: #1F509A;
  border: none;
  border-bottom: 1px solid #1F509A;
  background: none;
  box-shadow: none;
  margin: 0;
}

.p-facilities-list .facilities-list_item .cat_article {
  margin: 0;
}

.p-facilities-list .facilities-list_item .cat_article li {
  list-style: none;
  margin: 0;
  border-bottom: 1px solid #CCC;
  background: url(images/arrow_gray.png) right bottom no-repeat;
}

.p-facilities-list .facilities-list_item .cat_article li:hover {
  background: url(images/arrow_bk.png) right bottom no-repeat #f5f5f5;
}

.p-facilities-list .facilities-list_item .cat_article li a {
  font-size: 15px;
  text-decoration: none;
  display: block;
  padding: 20px 0 20px 15px;
  color: #1F509A;
}

@media screen and (min-width: 640px) {
  .p-facilities-list {
    margin-top: -80px;
    margin-left: -30px;
    display: flex;
    flex-wrap: wrap;
  }

  .p-facilities-list .facilities-list_item {
    width: calc(100% / 2 - 30px);
    margin-top: 80px;
    margin-left: 30px;
  }

  .p-facilities-list .facilities-list_item .cat_title {
    padding-left: 0;
  }

  .p-facilities-list .facilities-list_item .cat_article {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
  }

  .p-facilities-list .facilities-list_item .cat_article li {
    width: calc(100% / 2 - 15px);
    margin-left: 15px;
    display: flex;
  }

  .p-facilities-list .facilities-list_item .cat_article li a {
    width: 100%;
    font-size: 14px;
    padding-left: 0;
    display: flex;
    align-items: center;
  }
}

.p-facilities-list .facilities-list_notion {
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (min-width: 640px) {
  .p-facilities-list .facilities-list_notion {
    text-align: center;
  }
}

.p-facilities-policy {
  margin-top: 80px;
}

.p-facilities-policy a {
  width: 100%;
  font-size: 16px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  color: #1F509A;
  border: 2px solid #1F509A;
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  transition: .3s;
}

.p-facilities-policy a:hover {
  color: white;
  background-color: #1F509A;
}

.c-facilities_link {
  margin-top: 80px;
}

.c-facilities_link a {
  width: 100%;
  font-size: clamp(17px, 5.3125vw, 22px);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: white;
  padding: 20px 20px;
  background: linear-gradient(25deg, rgba(31, 80, 154, 1) 0%, rgba(56, 122, 223, 1) 60%, rgba(56, 188, 198, 1) 100%);
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  position: relative;
  z-index: 0;
}

.c-facilities_link a::before {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(200deg, rgba(31, 80, 154, 1) 0%, rgba(56, 122, 223, 1) 60%, rgba(56, 188, 198, 1) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: all .5s;
}

.c-facilities_link a:hover::before {
  opacity: 1;
}

.c-facilities_link a span {
  font-size: 13px;
  display: block;
  padding-top: 5px;
}

.c-facilities_return {
  max-width: 350px;
  margin: 50px auto 0;
}

.c-facilities_return a {
  font-size: 16px;
  font-weight: bold;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #1F509A;
  display: block;
  border: 1px solid #1F509A;
  border-radius: 6px;
  transition: .3s;
}

.c-facilities_return a:hover {
  color: #1F509A;
  background-color: white;
}

/* taxonomy */

.p-facilities-tax .tax-list {
  margin: 0;
}

.p-facilities-tax .tax-list li {
  list-style: none;
}

.p-facilities-tax .tax-list li a {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #1F509A;
  border-radius: 6px;
  padding: 40px 20px;
  display: block;
  transition: .3s;
}

.p-facilities-tax .tax-list li a:hover {
  opacity: .7;
}

@media screen and (min-width: 640px) {
  .p-facilities-tax .tax-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
  }
  
  .p-facilities-tax .tax-list li {
    width: calc(100% / 3);
    box-sizing: border-box;
    padding-left: 20px;
  }
}