@charset "utf-8";
/* CSS Document */
.sp_view{
  display: none;
}
.school_tab ul.tab{
  display: flex;
  flex-wrap: wrap;
  width: 800px;
  margin: -40px auto -3px;
  justify-content: space-between;
  position: relative;
  z-index: 9;
}
.school_tab ul.tab li{
  cursor: pointer;
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 1.6rem;
  background: #B1E0FF;
  width: calc(95% / 3);
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  border-radius: 10px 10px 0 0;
}
.school_tab ul.tab li:last-child{
    margin: 0;
}
.school_tab ul.tab li:hover{
    color: #000;
    font-weight: bold;
}
.school_tab ul.tab li.active{
  opacity: 1;
  background-color: #fff;
  font-size: 1.8rem;
  z-index: 2;
  border-radius: 10px 10px 0 0;
  border-top: 3px solid #B1E0FF;
  border-right: 3px solid #B1E0FF;
  border-left: 3px solid #B1E0FF;
}
/*
.school_tab ul.tab li.active::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    background: none;
    border: 10px solid transparent;
    border-top: 10px solid #2d4fbf;
    top: 100%;
    margin-left: -10px;
}
*/
.school_tab div.tab_box{
  clear: both;
  display: none;
  width: 100%;
  margin: -3px auto 0;
  max-width: 1240px;
  background: #fff;
  z-index: 1;
  position: relative;
  border:3px solid #B1E0FF;
  padding: 20px;
  border-radius: 20px;
}

.school_tab div.active {
    display: block;
}


.map-container {
    position: relative;
    display: inline-block;
}
#railway-map-kanto,
#railway-map-tokai,
#railway-map-kansai {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    background-color:#fff;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    display: none;
    max-width: 250px;
    z-index: 10; 
    line-height: 1.4; 
    margin: 0; 
  border:2px solid #000;
  font-size: 12px;
  min-width: 250px;
}
.tooltip .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #000;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.school_name {
    font-weight: bold;
    font-size:14px;
}
a.ml_link{
  font-weight: bold;
  color:#E40057;
}
.station-area {
    cursor: pointer;
}
@media screen and (max-width: 720px) {
.pc_view{
  display: none;
}  
.sp_view{
  display: block;
}
.school_tab ul.tab{
  margin: 20px auto -3px;
}
.school_tab ul.tab {
  width: 80%;
}
.school_tab ul.tab li{
    font-size:1.2rem;
    width: calc(95% / 3);
    height: 50px;
    margin: 5px 0;
  line-height: 1.2;
  }
.school_tab ul.tab li.active{
  font-size: 12px;
  line-height: 1.2;
}
.school_tab ul.tab li.active::after {
  display: none;
  }
.school_tab ul.tab li:last-child {
  margin: 5px 0;
  line-height: 1.2;
  font-size: 12px;
}
.school_tab div.tab_box {
  width: 95%;
  margin: -8px auto 0;
  padding: 30px 20px 20px;
  border-radius: 10px;
}
.tab_box .sch_list h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    border-bottom: 1px dotted #000;
    padding: 0 0 15px 0;
  }
.tab_box .sch_list h3.mp_n{
    margin-bottom: 0;
    border-bottom:none;
    padding: 0;
  }

/*
.tab_box .sch_list h3::after {
  position: absolute;
  top:0;
  right: 5px;
  content: "＋";
  font-size: 1.6rem;
  padding:5px 10px;
  text-align: center;
  cursor: pointer;
}

.tab_box .sch_list h3.active::after {
  content: "－";
}
*/
.tab_box .sch_list h3 i{
  font-size: 2.6rem !important;
  vertical-align: text-top;
}
.tab_box .sch_list div{
    display:none;
  margin: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}
.tab_box .sch_list div .ml_link{
    font-weight: bold;
  color: #E40057;
}

.tab_box .sch_list ul li{
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
  padding: 0 0 10px;
}
.tab_box .sch_list ul li i{
    font-size: 1rem;
    margin-right: 7px;
  }

.tab_box > :not(:first-child) {
  display: block !important;
}

}