/*
Theme Name:WAM-e-2023
*/

/*---------------------------------------------------------
全体
---------------------------------------------------------*/
section{
padding: 6vh 0;
}

/*---------------------------------------------------------
FV
---------------------------------------------------------*/
.FV-top{
    padding: 0;
    background: #efefef;
}
.fv-main{
    width:100%;
    max-width:1920px;
    margin:0 auto;
}
.fv-main img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*---------------------------------------------------------
SV
---------------------------------------------------------*/
.sv-area{
    padding-top: 2.5vh;
}

/* 教室長からのメッセージ */
.sv-voicebox {
    border: 2px solid #01A56F;
    margin: 6vh 0 0;
    padding: 50px 2vw 4vh;
    position: relative;
    border-radius: 1vw;
}
.sv-voicebox-ttl{
    position: relative;
    white-space: nowrap;
}
.sv-voicebox-ttl span{
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
        color: #fff;
    text-align: center;
    padding: 1.5vh 2vw;
}
.sv-voicebox-ttl span::before,
.sv-voicebox-ttl span::after {
border: none;
border-bottom: solid 15px transparent;
content: '';
position: absolute;
top: -10px;
}

.sv-voicebox-ttl span::before {
width: 0;
height: 0;
border-style: solid;
border-width: 0 0 12px 10px;
border-color: transparent transparent #007440 transparent;
left: -10px;
}

.sv-voicebox-ttl span::after {
width: 0;
height: 0;
border-style: solid;
border-width: 12px 0 0 10px;
border-color: transparent transparent transparent #333333;
    right: -10px;
}
.sv-voicebox-ttl-area{
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.sv-voicebox-ttl-area:before{

}
.sv-voicebox-ttl-area::after{

}
.sv-voice-name{
    display: block;
    text-align: center;
}
.sv-voice-txt-box-ttl{
    color: #005064;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 2vh;
}

@media screen and (max-width: 640px) {
/* 640pxまでの幅の場合に適応される */
.improve-grades-ttl-box {
    margin: 0 auto 4vh;
}
#improve-grades h2 {
    border-left: solid 40px #FEB635;
}
.class-pct{
    width: 60%;
}
.sv-voice-txt-box-ttl{
    text-align: center;
}
/* 続きを読む */
.hide-text {
    display: none;
}
 
 
button.readmore {
    position: relative;
    height: 80px;
    width: 90px;
    margin: 1vh auto;
    display: block;
    background-color: transparent;
    color: #666;
    padding-bottom: 40px;
    border: none;
    outline: 0;
    transition: .5s;
    -erbkit-transition: .5s;
}
 
button.readmore::after {
    content: " ";
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: solid 3px #666;
    border-right: solid 3px #666;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    right: 28px;
    top: 25px;
    transition: .5s;
    -erbkit-transition: .5s;
}
 
button.readmore:hover::after {
    top: 40px;
}
 
.on-click {
    color: transparent!important;
}
 
.on-click {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}
}

/*---------------------------------------------------------
教室案内
---------------------------------------------------------*/
.classroom-info-area{
    padding: 0 0 1vh;
}

.map {
  width: 100%;
  position: relative;
}

.map iframe {
  width: 100%;
}
.address-box{
display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 95%;
    margin: 0 auto;
}
.address-box dt,.address-box dd{
padding:1vh 1vw;
    border: 1px solid #D9D9D9;
}

.address-box dt{
    background: #F8F8F8;
}

.address-box dd{
}

@media screen and (max-width: 1024px) {
/* 1024pxまでの幅の場合に適応される */
}
@media screen and (max-width: 912px) {
/* 912pxまでの幅の場合に適応される */
}
@media screen and (max-width: 820px) {
/* 820pxまでの幅の場合に適応される */
}
@media screen and (min-width:641px) and ( max-width:820px) {
/*　画面サイズが768pxから820pxまではここを読み込む　*/
}
@media screen and (max-width: 640px) {
/* 640pxまでの幅の場合に適応される */
.address-box dt,.address-box dd{
width: 100%;
}
}
@media screen and (max-width: 360px) {
/* 360pxまでの幅の場合に適応される */
} 

/* ぼかし */
input.netabare02_checkbox {
  display: none;
}

label.netabare02_label {
  display: block;
  position: relative;
  cursor: pointer;
}

label.netabare02_label:after {
  content: "";
  display: block;
  position: absolute;
  width:100%;
  height:100%;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  top: 0px;
  left: 0px;
  margin: auto;
  z-index: 2;
  transition: 0.3s;
}

label.netabare02_label:before {
  word-break: keep-all;
  display: block;
  border: 1px solid #c70b0b;
  font-size: 14px;
  background-color: #ffeced;
  color: #c70b0b;
  position: absolute;
  padding: 4px 10px;
  z-index: 3;
  right: 0;
  left: 0;
  bottom: calc(100% + 5px);
  margin: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  min-width: 220px;
  text-align: center;
  border-radius: 4px;
  transition: 0.3s;
  pointer-events: none;
  opacity: 0;
}

label.netabare02_label:hover:before {
  opacity: 1;
}
