.counter-title{
    color: var(--main-color);
    text-align: center;
    margin:20px 0px;
}

.counter-subtitle-box{
    width: 900px;
    margin: 0 auto;
    background-color: #f2f1f1;
}

.counter-subtitle{
    padding-left: 40px;
    position: relative;
}

.counter-subtitle::before{
    content: '';
    position: absolute;
    left: 0;
    background-color: var(--main-color);
    width: 7px;
    height: 45px;
}

.counter-supplement{
    color: var(--sub-color);
    font-size: 25px;
    margin: 5px auto;
    margin-left: 60px;
}
.countermeasure-box{
    width: 1000px;
    margin: 0 auto;
}

.counter-center-box{
    display: flex;
    width: 900px;
    margin: 0 auto;
    background-color: var(--main-color);
    justify-content: space-evenly;
}

.counter-point{
    width: 230px;
    background-color: #fff;
    position: relative;
    border-radius: 10px;
    margin: 15px 30px;
    text-align: center;
    box-shadow: 5px 5px 3px #000000;
    padding:10px 5px 20px;
}

.counter-point-text{
    font-weight: bold;
    text-align: center;
    font-size: 22px;
    position: absolute;
    top: -6%;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0 -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
    left: 50%;
    transform: translateX(-50%);
}

.counter-point-img{
    width: 160px;
    margin-top: -9px;
}

.counter-point-text-big{
    font-size: 26px;
}

.counter-point-maintext{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.1;
    height: 57px;
}

.counter-point-subtext{
    line-height: 1.2;
    font-size:19px;
}

.counter-back-triangle{
    width: 0;
    height: 0;
    border-style: solid;
    margin: 0 auto;
    border-width: 80px 450px 0 450px;
    border-color: var(--main-color) transparent transparent transparent;
    position:relative;
}
.counter-back-triangle::before{
    content:"３つの力は東進で伸ばすことができます";
    position:absolute;
    top:-65px;
    right:-220px;
    color:white;
    width:440px;
    font-size:25px;
    font-weight:bold;
    text-shadow:2px 2px 0 var(--main-color), -2px -2px 0 var(--main-color),
              -2px 2px 0 var(--main-color), 2px -2px 0 var(--main-color),
              0px 2px 0 var(--main-color),  0 -2px 0 var(--main-color),
              -2px 0 0 var(--main-color), 2px 0 0 var(--main-color);
    background:linear-gradient(transparent 50%, #fcff00 50%);
}
.lecture-box{
    width: 850px;
    margin: 30px auto;
    border: solid 2px var(--main-color);
    border-radius: 10px;
    background-color: #ffffff;
    padding:20px;
}
.new-course-teacher-box {
    width: 700px;
    margin: 10px auto 20px;
    display: flex;
    justify-content: space-between;
}

.course-teacher-item {
    position: relative;
    width: 140px;
}

.course-teacher-subject {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}


.course-tantou-name {
    text-shadow: 2px 2px 0 white, -2px -2px 0 white, -2px 2px 0 white, 2px -2px 0 white, 0px 2px 0 white, 0 -2px 0 white, -2px 0 0 white, 2px 0 0 white;
    position: absolute;
    font-size: 24px;
    bottom: -10px;
    z-index: 1;
    right: 40px;
}
.counter-lec-ttl{
    font-weight:bold;
    font-size:30px;
    background-image : linear-gradient(to right, #000, #000 15px, transparent 0px, transparent 0px);  
    background-size: 20px 3px;          
    background-position: left bottom;  
    background-repeat: repeat-x;   
    width:800px;   
    margin-bottom:5px; 
}

.lec-annotation{
    font-size:15px;
    margin-top:5px;
}
.counter-sum-msg-cnt{
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 15px;
}
.counter-sum-msg-mid-box{
    display:flex;
    align-items:center;
    margin:0 auto;
    width:420px;

}
.counter-sum-msg-att{
    color:#00937e;
}
.counter-toshin-img-box{
    width:85px;
}
.counter-name-att{
    font-weight:900;
    font-size:30px;
}

.course-teacher-display {
    width:80%;
}

.experience-box{
    width: 800px;
    text-align: center;
    margin: 0 auto;
}


.all-about-title{
    width: 100%;
    background-color: #33a999;
    color: white;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
    margin: 0 auto 15px auto;
}
.counterm-gaikan-box{
    width: 330px;
    text-align: center;
    font-weight: bold;
    font-size: 19px;
}
.mini-text{
    font-size: 80%;
}
.counterm-taisaku-box{
    width: 480px;
    background-color: #f4f4f4;
    padding: 11px 5px;
}

.bg-ash{
    background-color: #f4f4f4;
    padding: 11px 5px;
}
.counterm-gaikan-ex-txt{
    width: 500px;
}

.text-attention-red{
    color: #ed2853;
    font-size: 120%;
}

.all-about-upper-text{
}

.all-about-img{
    width: 250px;
    margin: 5px 0;
}
.new-cur-rich{
    width: 850px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}
.counterm-taisaku-class-list{
    width: 95%;
    border: solid #f02954 2px;
    border-radius: 10px;
    margin: 0 auto;
    padding: 3px 0px 3px 10px;
    background-color: white;
    position: relative;
}
.counterm-taisaku-class-list::after{
    content:"";
    width: 135px;
    height: 135px;
    border-radius: 50%;
    border: solid #f02954 3px;
    background-color: white;
    position: absolute;
    right: 0px;
    top: -100px;
}
.counterm-taisaku-class-list::before{
    content:"";
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    right: 0px;
    top: -100px;
}
.taisaku-popup-txt{
    position: absolute;
    z-index: 2;
    width: 120px;
    height: 100px;
    right: -7px;
    top: -81px;
    font-size: 19.5px;
    line-height: 1.2;
}
.taisaku-popup-txt::after{
    content: "";
}
.taisaku-popup-att{
    color: #f02954;
}
.counterm-taisaku-class-name-adj{
    font-size: 80%;
}
.couterm-taisaku-exp{
    margin-left: 10px;
}

.all-about-bottom-img{
    width: 450px;
}

.teacher-intro-title{
    margin: 10px 0 1px 0;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.teacher-intro-title span{
    font-size: 150%;
    color: #00937e;
}
.teacher-intro-item{
    display: flex;
    width: 750px;
    margin: 0 auto;
    margin-bottom: 5px;
}
.teacher-intro-item-container{
    width: 650px;
}

.teacher-img{
    width: 100px;
}
.countm-teacher-name{
    text-align: center;
    color: white;
    font-size: 22px;
    margin-left: 20px;
}
.countm-subject-name{
    background-color: white;
    color: #00937e;
    font-weight: bold;
    font-size: 25px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-right: 15px;
}
.countm-teacher-info-box{
    background-color: #009380;
    display: flex;
    padding: 5px;
    align-items: center;
    padding-left: 20px;
}
.countm-teacher-naem-att{
    font-weight: bold;
}
.coutnm-teacher-explain{
    padding-left: 20px;
    padding-top: 5px;
}
.english-back{
    background-color: #d8c11a;
}
.japanese-back{
    background-color: #fe68c1;
}
.math-back{
    background-color: #3e75cf;
}
.info-back{
    background-color: #424f71;
}
.english-color{
    color: #d8c11a;
}
.japanese-color{
    color: #fe68c1;
}
.math-color{
    color: #3e75cf;
}
.info-color{
    color: #424f71;
}
.counterm-last-adj{
    margin-bottom: 15px;
}
.counterm-explain-top-adj{
    line-height: 1.2;
    padding-top: 9px;
}