@media (max-width: 1200px){

div#cont {
    width: 900px;
}

div#leaf_cont {
    width: 900px;
}

#main_cont {
    width: 640px;
}

#leaf_main {
    width: 640px;
}


#article .p33:nth-child(3n) {
    margin-right: 18px;
}
#article .p33:nth-child(even) {
    margin-right: 0px;
}
#leaf_cont #leaf_main #leaf_func_top .stress_text {
    font-size: 33px;
    font-weight: bold;
    letter-spacing: 0.1em;
}
#article .p33 {
    width: 48.5%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right: 18px;
}
#leaf_cont #leaf_main #leaf_func_top .test_text {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 0.1em;
}
#main_cont{margin-top:30px;}

#main_cont h2{margin-bottom:20px;}
#main_cont h3{margin: 10px 0;}

.panel img{max-width:100%;}
#leaf_new_footer {
    margin-top: 60px;
    margin: 0 auto;
    width: 470px;
}

#func_leaf_slide .each_footer_link p.footer_func_title{    float: none;
    text-align: center;
    width: auto;}
#func_leaf_slide .each_footer_link p.footer_func_image{    float: none;}

#func_lineup p a{    height: 90px;
    width: 90px;}
#func_lineup p a span{display:none;}
#cont #stress_after #program .kanrishoku dl dd .workBox .work_cont {
    font-size: 13px;
    padding: 5px;
    padding-left: 55px;
    height: auto;
        min-height: 50px;
}
#article .leaf_case_link a .leaf_case_link_title p.copy {
    font-size: 20px;
    font-weight: 700;
}
#article .leaf_case_link {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    height: 220px;
    margin-bottom: 40px;
    background-color: #fff;
}
#article .leaf_case_link a .leaf_case_link_img img {
    max-width: initial;
    top: 0;
    left: 0;
    height: 220px;
    width: auto;
}
#article .case_relative{
    width: 50%;
    height: 100%;
    overflow: hidden;
    margin-right: 20px;
    float: left;
    position: relative;
}
/* 以下 2021/06/18 修正*/
.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}



}

@media(max-width: 980px){

div#cont{width: 100%;}

div#leaf_cont{width: 95%;}
div#leaf_main{width: 100%;}

div#leaf_sub{display:none;}

body{width:100%;}

div#header{    width: 95%;}
div#footer{width:95%;}

#leaf_cont #leaf_main #leaf_func_top .stress_text {
    font-size: 31px;
    font-weight: bold;
    letter-spacing: 0.1em;
}
#leaf_cont #leaf_main #leaf_func_top .func_text p {
    font-size: 13px;
    color: #fff;
    line-height: 30px;
    margin: 0 auto;
    padding: 56px;
}

#article .p33 {
    width: 48.5%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right: 18px;
}
#article .p50 {
    width: 47.5%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right: 27px;
}
#article .res_p50 {
    width: 100%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right:0px;
}
#leaf_new_footer {
    margin-top: 60px;
    margin: 0 auto;
    width: 470px;
}
#article .leaf_case_link a .leaf_case_link_title p.cont_text {
    font-size: 14px;
    margin-bottom: 15px;
}
#leaf_price_list .scrollBox {
-webkit-overflow-scrolling: touch;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow-x: scroll !important;
    border: 2px solid #eb5504;
    margin-bottom: 5px;
}




#leaf_price_list .scrollCaption{
   color:#eb5504;
   display:block;
   font-size:12px;
}
#leaf_price_list .discountBox .scrollCaption{
   color:#eb5504;
   display:block;
   font-size:12px;
}
}

@media(max-width:768px){
#main_cont {
    width: 95%;
}

#leaf_cont {
    width: 95%;
}

#sys_leaf_container { width: 95%;
margin: 0 auto;}

.training img {
    margin: 8px 1px;
}
.movie img {
    margin: 13px 7px;
}
.user img {
    margin: 7px 8px;
}
.value img {
    margin: 16px 5px;
}
.test img {
    margin: 8px 6px;
}
.stress img {
    margin: 6px 6px;
}

#func_leaf_slide .each_footer_link p.footer_func_image{padding:6px;}
#func_leaf_slide .func_ref_list li a img{    width: 28px;}
#func_leaf_slide .each_footer_link p.footer_func_title{    margin-top: 20px;}


#leaf_new_footer{width:100%;}
#leaf_new_footer div{width:100%;margin-right:0;margin-left:0;}


#leaf_cont #leaf_main #article .first_panel p {
    font-size: 1.2em;
    line-height: 2em;
    margin-bottom: 25px;
}
#article .panel p {
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.85em;
}

#article .panel p {
    font-size: 16px;
}

#article .panel .text_link a{font-size:16px;}

#article .panel ul li{font-size:16px;}
#article .leaf_case_link a .leaf_case_link_img img {
    max-width: initial;
    top: 0;
    left: 0;
    height: 250px;
    width: auto;
}


#article .case_relative{
    width: 50%;
    height: 100%;
    overflow: hidden;
    margin-right: 20px;
    float: left;
    position: relative;
}
#article .leaf_case_link {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    height: 250px;
    margin-bottom: 40px;
    background-color: #fff;
}
#leaf_price_list .basic_set{
   width:100%;
   margin-bottom:20px;
}
#leaf_price_list .basic_set:nth-child(3n){
   margin-bottom:0;
}
#leaf_price_list .priceBox{
   width: 100%;
   margin-bottom: 15px;
}
#leaf_price_list .free_option {
   width: 100%;
}
#leaf_price_list .movieleaficon{
   width:172px;
}

#article .zenkoku_button {
    width: 100%;
}

#article .leaf_service_link{
width: 47%;
}

/* 以下 2021/06/18 修正*/
.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}




@media(max-width: 648px){
.bc_l {
    padding: 42px;
    width: 100%;
    background-color: #fff;
}
.bc_r {
    width: 100%;
    height: 230px;
}

.slick-next{display:none;}
.slick-prev{display:none;}
#leaf_cont #leaf_main #leaf_func_top .func_text p {
    font-size: 14px;
    color: #fff;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 25px;
}
#leaf_cont #leaf_main #leaf_func_top .stress_text {
    font-size: 33px;
    font-weight: bold;
    letter-spacing: 0.1em;
}
#leaf_cont #leaf_main #leaf_func_top.subtitle {
    margin: 0 auto;
}
#leaf_cont #leaf_main #leaf_func_top .func_title {
    font-weight: bold;
    letter-spacing: 0.1em;
}
#article .p33 {
    width: 48%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right: 18px;
}
.training img {
    margin: 16px 6px;
}


#func_lineup p{    float: none;
    width: 100%;
    margin-bottom: 10px;}

#func_lineup p a{  width: 100%;
    text-align: left;
height: 45px;}

#func_lineup p a img{    height: 30px;
    display: block;
    float: left;}

#func_lineup p a span{    display: block;
    font-size: 16px;
    float: left;
    margin-top: -22px;}
#cont #stress_after .box2 .flexCont {
    width: 100%;
}
.price_box_after_stress_price span {
    font-size: 25px;
    margin-left: 3px;
}
#article .panel .price_box_after_stress p {
    font-size: 12px;
}
.price_box_after_stress a {
    display: block;
    width: 100%;
    height: auto;
    padding: 15px;
    border: 1px solid #e73d79;
    color: #3a3a3a;
    margin-bottom: 20PX;
}
.main_img{
text-align:center;
}
#article .leaf_case_link {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    height: 345px;
    margin-bottom: 40px;
    background-color: #fff;
}
#article .case_relative {
    width: 100%;
    height: 50%;
    overflow: hidden;
    margin-right: 20px;
    margin-bottom: 8px;
    float: left;
    position: relative;
}
#article .leaf_case_link a .leaf_case_link_title p.num {
    font-family: roboto;
    font-size: 12px;
    letter-spacing: 0.3em;
    padding-top:25px;
    margin-top: 0px;
}
#article .leaf_case_link {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    height: 365px;
    margin-bottom: 40px;
    background-color: #fff;
}
.leaf_case_link a .leaf_case_link_title {
    font-size: 15px;
    color: #000;
    text-align: left;
    width: 100%;
    height: 100%;
    padding: 15px;
}
#article .leaf_case_link a .leaf_case_link_img img {
    max-width: initial;
    top: 0;
    left: 0;
    height: auto;
    width: 105%;
}
#leaf_cont #leaf_main .flex-func_top {
    display: block;
}
.flex-bc_l {
    display: block;
}

#leaf_main .manual_list li {
    width: 100%;
}
#article .leaf_service_link{
width:100%;
margin-right:0
}



.case_top_container .case_top_textbox{
position:static;
top:0px;
width:100%;
height:220px;
padding:0px;
padding-bottom:30px;
}

.case_top_container .bg1{
background-color:rgba(255, 255, 255, 1);
right:0px;
}

#article .zenkoku_button p{
color:#fff;
font-size:28px;
letter-spacing:0em; 
}

#article .zenkoku_button{
width:100%;
height:141px;
}


#article .w48{
width:100%;
}

#article .nationwide_step div{
width:100%;
}


#article .st_linkbox img{
width:300px;
}


.price_box_after_stress {
width: 100%;
margin-bottom: 35px;
}


#semMainImg h1 {
    font-size: 20px;
}

#article #service_mainBox .fl{
width:100%
}
#article .scrollBox {
-webkit-overflow-scrolling: touch;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow-x: scroll !important;
    border: 2px solid #ff428e;
    margin-bottom: 5px;
}

#evaluation_web .scrollBox {
-webkit-overflow-scrolling: touch;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow-x: scroll !important;
    border: 2px solid #25b9d2;
    margin-bottom: 5px;
}



#article .fl {
width: 100%;
}



}


@media(max-width: 490px){
#article .p33:nth-child(evrn) {
    margin-right: 0px;
}
#leaf_cont #leaf_main #leaf_func_top p.func_icon_top {
    width: 85px;
    height: 85px;
    margin-right: 25px;
    padding: 7px;
    margin: 0 auto;
    float:none;
}
.training img {
    margin: 17px 4px;
}
.movie img {
    margin: 4px 2px;
}
.user img {
    margin: 1px 2px;
}
.value img {
    margin: 17px 6px;
}
.test img {
    margin: 1px 1px;
}
.stress img {
    margin: 0px 0px;
}
#leaf_cont #leaf_main #leaf_func_top p.func_subtitle01 {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: #666666;
    font-family: 'Roboto';
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}
#leaf_cont #leaf_main #leaf_func_top p.func_subtitle02 {
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-top: 10px;
    text-align: center;
}
#leaf_cont #leaf_main #leaf_func_top .func_title {
    font-size: 27px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
}
.bc_l {
    padding: 32px;
    width: 100%;
    background-color: #fff;
}

#leaf_cont #leaf_main #leaf_func_top .func_text p {
    font-size: 12px;
    color: #fff;
    width: 100%;
    line-height: 24px;
    margin: 0 auto;
    padding: 32px;
}
.bc_r {
    width: 100%;
    height: auto;
    padding: 15px;
}
#article .p33 {
    width: 100%;
    margin-bottom: 30px;
    padding: 25px;
    position: relative;
    margin-right: 18px;
}

.price_box_after_stress a {
    display: block;
    width: 100%;
    height: auto;
    min-height: 128px;
    padding: 6px;
    border: 1px solid #e73d79;
    color: #3a3a3a;
    margin-bottom: 20PX;
}
.price_box_after_stress_price span {
    font-size: 15px;
    margin-left: 3px;
}
.price_box_after_stress a {
    display: block;
    width: 100%;
    height: auto;
    min-height: 80px;
    padding: 15px;
    border: 1px solid #e73d79;
    color: #3a3a3a;
    margin-bottom: 36PX;
}
#article .panel .price_box_after_stress p {
    font-size: 12px;
    text-align: left;
}
#article .slide_in div {
    position: absolute;
    height: 190px;
}
#article .case_base {
    font-size: 18px;
    position: relative;
    width: 100%;
    height: 190px;
    -webkit-user-select: none;
    cursor: pointer;
    margin-right: 0px;
    margin-bottom: 26px;
}
#article .leaf_case_link a .leaf_case_link_img img {
    max-width: initial;
    top: 0;
    left: 0;
    height: auto;
    width: 110%;
}
#article .case_relative {
    width: 100%;
    height: 41%;
    overflow: hidden;
    margin-right: 20px;
    margin-bottom: 8px;
    float: left;
    position: relative;
}
#article .leaf_case_link {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    height: 395px;
    margin-bottom: 40px;
    background-color: #fff;
}
#article .flex-bc_l {
    display: flex;
}
#article .p33,
#article .p33:nth-child(3n) {
    margin-right: 0px;
}
#article .p50 {
    width: 100%;
    margin-right: 0;
}
#article #service_caseBox .panel{
width: 100%;
}

#leaf_cont #leaf_main #article .test_caption img{
width:100%;
}
#leaf_cont #leaf_main #article .test_caption .p100 div {
    width: 100%;
}

#leaf_faq_container .faq_topList .category .befor, #leaf_faq_container .faq_topList .category .after{
width:100%;
}

#article .stresscheck-flexbox-self {
display:block

}


#leaf_cont #leaf_main #article .st_image{
    width:100%;
    float:left;
    margin-right:5%;
    margin-bottom:55px;
}



