@media screen and (max-width:1040px){
    .pc { display: none !important; }
    .sp { display: block !important; }

    .explanation_content_up,.gene_content,.NMN_everyday_content_explanation,.NMN_effect_content_flex,
    .director_content{
        display: block;
    }

    .img_under,.img_up,.NMN_everyday_content_explanation img,.director_img_position_up{
        position: initial;
    }



    .menu-btn {
        position: fixed;
        top: 11px;
        right: 55px;
        display: flex;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #333;
        transition-duration: 0.3s;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: "";
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: rgb(255, 255, 255);
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }
    
    /*ハンバーガーメニューパーツ*/
    
    .hamburger-contents{
        background-color: rgb(255, 255, 255);
        opacity: 0.8;
        color: #333;
        position: fixed;
        width: 100%;
        height: 100%;
        max-width: 50%;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0 10px;
        transition-duration: 0.3s;
        z-index: 1;
        overflow: auto;
        transform: translateX(110%);
    }
    
    /*チェックボックス：オン・オフ動作のパーツ*/
    
    #menu_btn_check:checked ~ .hamburger-contents{
        transform: translateX(0);
    }
    
    #menu_btn_check:checked + .menu-btn{
        transform: translateX(340px);
        transition-duration: 0.3s;
    }
    
    /*閉じる動作のパーツ：ボタンか画面全体のマスクで閉じる*/
    
    .menu-close {
        display: block;
        background: rgb(255, 255, 255);
        text-align: center;
        margin-top: 15px;
    }
    
    #menu_btn_check:checked ~ label.menu-mask{
        display: block;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0,.5);
        position: fixed;
        top: 0;
        left: 0;
    }
    
    /*チェックボックス非表示*/
    
    .hamburger-menu input[type="checkbox"]{
        transform: translateX(-100vw);
    }

    .burger-wrap{
        font-size: 2em;
    }
    
    .header_a_padding{
        padding: 0;
    }
      
      
    



    .img_up{
        position: absolute;
        width: 38%;
        top: 64%;
        left: 15%;
    }

    .img_under{
        position: relative;
        padding: 10% 9% 0 38%;
        width: 38%;
    }

    .header{
        height: 60px !important;
    }

    h2{
        font-size: 7vw;
    }

    h3{
        font-size: 3.5vw;
    }

    .logo{
        margin: auto 0;
        width: 50px;
        height: 50px;
    }

    .main_logo{
        width: 80%;
        height: 100%;
        margin: auto 0;
    }

    .main_logo_title{
        margin: auto 0;
    }

    .main_logo_big_title{
        font-size: 1.5em;
    }

    .main_logo_small_titlt{
        font-size: 1em;
    }

    .line_p{
        padding: 2em 0 3em 0;
    }

    .explanation_content_title{
        font-size: 7vw;
    }


    .line{
        padding: 0.7em 0;
    }

    .explanation_content_left_padding{
        padding: 0 5%;
    }

    .explanation_content_h3{
        padding-top: 0.5em;
    }

    .explanation_content_up_p{
        font-size: 3vw;
    }

    .font-color{
        padding: 1em 0 1em 0;
    }

    .explanation_content_sentence{
        width: 100%;
    }

    .explanation_content_img{
        width: 100%;
        text-align: center;
    }

    .gene_content_p{
        width: 100%;
    }

    .gene_content img{
        width: 50%;
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    .gene_content_title{
        font-size: 3.8vw;
    }

    .explanation_content_title_span{
        font-size: 1em;
    }

    .p_width{
        width: 100%;
    } 

    .NMN_everyday_content{
        padding: 1em 2em 1em 2em;
    }

    .NMN_everyday_content_explanation img{
        padding-left: 20%;
        width: 60%;
    }

    .explanation_content_summarize{
        font-size: 7vw;
        line-height: 1.7;
    }

    .summarize_small {
        font-size: 7vw;
    }




    .NMN_difference{
        padding: 0 1.5em;
    }

    .NMN_difference_right img{
        padding: 1em 0em 0.5em 0.8em;
    }

    .NMN_difference_left_title, .NMN_difference_right_title{
        font-size: 4.5vw;
    }

    .NMN_difference_left_p, .NMN_difference_right_p{
        font-size: 3.3vw;
        line-height: 1.5;
        padding: 0.4em;
        box-sizing: border-box;
    }
    
    .NMN_difference_title{
        padding: 1em 0 0.5em 0;
    }

    .NMN_difference_content_line{
        padding: 2.6em 0 0.5em 0;
    }

    .explanation_content{
        padding: 0;
    }

    .explanation_content_up_p_bottom{
        padding: 0 1.5em;
    }

    .NMN_difference_left_p_padding{
        padding: 3.35vw;
    }

    .difference_summarize_p{
        font-size: 7vw;
        padding: 0.7em 0 1.2em 0;
    }

    .NMN_effect_content_back{
        background-image: url(images/effect_back_img_sp.png);
        background-size: 100% 100%;
    }

    .NMN_effect_content{
        padding: 2em 0 3.5em 0;
    }

    .NMN_effect_content_h3{
        font-size: 6.5vw;
    }

    .NMN_effect_content_flex_left_p{
        padding: 0 0 1.2em 0;
        line-height: 1.1;
    }

    .NMN_effect_content_flex_left_under_p{
        font-size: 3.3vw;
    }

    .NMN_effect_content_right_img{
        width: 100%;
        padding-top: 2.5em;
    }


    .strength-inner{
        margin-top: 10%;
    }

    @media (max-width: 699.5px){
    .strength-inner {
        padding: 0 20px;
    }
    .strength-item{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .strength-item-wrapper {

        font-family: "游明朝体" , "YuMincho";
    }
    .wrapper{
        padding: 0 8px;
        margin: 0 auto;
    }
    .headline {
        margin-top: 22.5px;
        font-size: 5.5vw;
        line-height: 1.333333333333333;
    }
    .description {
        margin-top: 5%;
        line-height: 1.6;
        font-size: 3vw;
    }
    .content-block{
        padding: 17px 24px 17px 24.5px;
    }

    .content-block img{
        width: 100%;
    }

    }

    .patient_content{
        padding: 0 5%;
    }

    .patient_content_title{
        padding: 1.2em 0 0.2em 0;
        margin: 0 auto;
    }

    .patient_content_title_img{
        width: 70%;
    }

    .patient_voice_up_right{
        padding: 4em 1em 0 0;
    }

    .patient_content_h5{
        line-height: 1;
        font-size: 3.3vw;
        letter-spacing: 3px;
    }

    .patient_content_h3{
        font-size: 3.4vw;
        line-height: 1.8;
        padding: 1em 0 0.5em 0;
    }

    .patient_content_h3_2{
        padding: 0;
    }

    .patient_voice_up{
        padding: 0 0 0 0.5em;
    }

    .patient_voice_p1{
        font-size: 3.5vw;
        line-height: 1.6;
    }

    .patient_voice_p2{
        font-size: 2.8vw;
        line-height: 1.5;
    }

    .patient_voice_age{
        padding: 0;
        font-size: 3.8vw;
    }

    .patient_img_up{
        height: 100%;
        width: 27%;
    }

    .patient_img_up_sp{
        padding-top: 12vw;
    }

    .patient_voice_p1:after{
        flex-grow: 0.9;
    }

    .patient_img_down_padding{
        height: 100%;
        width: 28%;
    }

    .patient_img_down_padding{
        padding: 0;
    }

    .patient_voice_down{
        padding-right: 0;
    }

    .patient_voice_up, .patient_voice_down{
        padding-bottom: 2.5em;
    }

    .patient_voice_up_right_sp{
        padding-top: 0;
    }

    .patient_voice_down_left{
        padding-left: 1em;
    }




    .flow_content_back{
        background-image: url(images/flow_back_img_sp.png);
        background-size: 100% 100%;
    }

    .flow_content{
        padding: 0 5% 4em 5%;
    }

    .flow_content_img{
        width: 80%;
        margin: 0 auto;
        padding-top: 4em;
    }

    .flow_content_h3{
        font-size: 4.5vw;
    }

    .flow_content_nunber_right_h4{
        font-size: 4vw;
        line-height: 1.5;
    }

    .flow_content_nunber_right_p{
        font-size: 3.3vw;
        line-height: 1.4;
        margin-bottom: 1%;
    }

    .flow_content_nunber_img_1{
        padding: 0 2em 0 0;
        width: 10%;
        display: inline;
    }

    .flow_content_nunber_img_2{
        padding-right: 1em;
        height: 100%;
        width: 12%;
        display: inline;
    }

    .flow_content_nunber_img_3{
        padding-right: 1em;
        height: 100%;
        width: 12%;
        display: inline;
    }

    .flow_content_nunber_img_4{
        padding-right: 0.5em;
        height: 100%;
        width: 12%;
        display: inline;
    }

    .flow_content_nunber_right_p_under_line{
        text-decoration: none;
    }

    .flow_content_vertical_line_1{
        padding: 2.5em 0 1.5em 0;
    }



    .price_content{
        padding: 0 5% 2.5em 5%;
    }

    .price_content_th_up{
        font-size: 3vw;
        line-height: 1;
    }

    .price_content_tr_small{
        font-size: 3vw;
        line-height: 1.1;
    }

    .price_content_tr_small_padding{
        padding: 0.4em 0;
    }

    .price_content_tr_big{
        font-size: 3.5vw;
        line-height: 1.1;
    }

    .price_content_border_300{
        width: 8em;
    }

    .price_content_border_300 img{
        width: 28%;
    }

    .price_content_th_padding{
        padding: 0 1.4em;
    }

    .price_content_th_up{
        padding: 0.6em 0;
    }

    .price_content_border_right_sp{
        padding: 0.1em 0;
    }

    .price_content_table_tr{
        font-size: 2.7vw;
    }

    .price_content_table_p{
        padding: 1em 0 0 22em;
        font-size: 2vw;
    }

    .price_content_img{
        padding: 4em 0 1.5em 0;
        width: 70%;
    }




    .director_content{
        padding: 4em 5% 1.5em 5%;
    }

    .director_title{
        margin: -30px 0;
        padding: 30px 0;
        width: 45%;
    }

    .director_content_left{
        width: 100%;
    }

    .director_content_h3{
        font-size: 5.5vw;
        padding: 0.5em 0;
    }

    .director_content_p1{
        line-height: 1.5;
        padding: 1em 0;
        font-size: 4.2vw;
    }

    .director_content_p2{
        padding: 1em 0;
        font-size: 3vw;
        line-height: 1.7;
    }

    .director_img_position_up{
        padding-left: 25%;
        width: 50%;
    }

    .director_content_under_p{
        padding: 0;
    }

    .director_p{
        font-size: 3.4vw;
    }

    .director_name{
        font-size: 4.7vw;
    }

    .director_neme_inglish{
        font-size: 2.8vw;
    }




    .detail_content{
        flex-direction: column;
        padding: 3.75em 3.75em 2em 3.75em;
    }

    .detail_content_detail{
        order: 1;
    }

    .detail_content_map{
        order: 2;
        text-align: center;
    }

    .detail_content_map{
        width: 100%;
    }

    .detail_content_map_a{
        order: 3;
    }

    .detail_content_detail_up img{
        width: 12%;
    }

    .detail_content_detail_up_p1{
        font-size: 3.7vw;
        line-height: 1;
    }

    .detail_content_detail_up_h2{
        font-size: 5.6vw;
    }

    .detail_content_detail_up_p{
        padding-left: 3%;
    }

    .prevention_p{
        font-size: 1.2em;
        border-radius: 6px;
    }

    .detail_content_detail_under_right_font{
        font-size: 4.3vw;
        line-height: 1.3;
    }

    .detail_content_p_size{
        font-size: 2.8vw
    }

    .phone_number{
        font-size: 7.2vw;
        line-height: 1;
    }

    .detail_content_p_sp{
        width: 56%;
        margin: 0 auto;
        padding-bottom: 3em;
    }

    .detail_content_detail_under_right img{
        width: 9%;
    }

    .detail_content_map_a{
        text-align: left;
        font-size: 3vw;
        width: 100%;
        display: block;
        line-height: 1;
    }

    .detail_content_map{
        width: 100%;
    }

    .detail_content_map_a_img{
        width: 2.5%;
    }

    footer p{
        font-size: 3vw;
        line-height: 1.3;
    }

    footer p{
        padding: 1em 1em;
    }

    .patient_content_title_line{
        width: 3em;
    }
}








@media screen and (max-width:570px){

    h2 {
        font-size: 6vw;
    }

    .patient_voice_up, .patient_voice_down{
        padding-bottom: 1.5em;
    }


    .patient_content_h3{
        font-size: 4vw;
    }

    .patient_content_title_line{
        width: 2em;
        border: 1px solid #cdc5ad;
    }

    .main_logo_small_titlt{
        font-size: 0.7em;
    }

    .main_logo_big_title{
        font-size: 1.1em;
    }

    .menu-btn {
        position: fixed;
        top: 15px;
        right: 40px;
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #333;
        transition-duration: 0.3s;
    }

    .logo{
        width: 40px;
        height: 40px;
    }

    .NMN_effect_content_flex_left_p{
        padding-bottom: 0.5em;
        font-size: 10px;
    }

    .patient_content_h3{
        font-size: 3.3vw;
    }

    .line{
        padding: 0.4em 0;
    }

    .img_up{
        top: 65%;
        left: 17%;
    }

    .img_under{
        padding: 4% 9% 0 35%;
    }

    .gene_content{
        padding-top: 0.5em;
    }

    .line_p{
        padding: 1.5em 0 2em 0;
    }

    .detail_content_detail_up_p1{
        font-size: 3.5vw;
    }

    .detail_content_detail_up_h2{
        font-size: 5vw;
    }

    .detail_content_detail_under_right_font{
        font-size: 4.5vw;
    }

    .detail_content_p_size{
        font-size: 3.2vw;
    }

    .detail_content{
        padding: 1em;
    }

    .phone_number{
        font-size: 8vw;
    }

    .phone_number a{
        color: #000;
    }

    .header{
        height: 60px !important;
    }

    .header a{
        font-size: 4vw;
    }



    .menu-btn {
        position: fixed;
        top: 15px;
        right: 30px;
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #333;
        transition-duration: 0.3s;
    }


    .burger-wrap{
        font-size: 2em;
    }
    
    .header_a_padding{
        padding: 0;
    }

    .NMN_difference_content_line{
        padding: 2.2em 0 0em 0;
    }

    .price_content_img{
        padding: 2em 0 1.5em 0;
    }

    .price_content{
        padding: 0 5% 1.5em 5%;
    }

    .flow_content_nunber_img_1{
        padding: 0 1.4em 0 0;
        width: 9%;
        height: 100%;
        padding-top: 1em;
    }

    .flow_content_nunber_img_4{
        padding-right: 1em;
    }

    .flow_content{
        padding: 0 5% 2em 5%;
    }

    .detail_content_detail_under_right img{
        width: 10%;
    }

    .flow_content_vertical_line_1{
        padding: 1.5em 0 1em 0;
    }

    .explanation_content_h2{
        padding-top: 1em;
    }

    .patient_voice_up_right{
        padding: 1.5em 1em 0 0;
    }

    .NMN_effect_content{
        padding: 1.5em 0 2em 0;
    }

    .font-color{
        padding: 0.5em 0;
        font-size: 10px;
    }

    .detail_content_p_sp{
        width: 65%;
        padding-bottom: 2.8em;
    }

    .detail_content_detail_under_right img{
        width: 10%;
    }

    .flow_content_img{
        padding-top: 2em;
    }

    .director_content{
        padding: 2em 5% 1.5em 5%;
    }

    .prevention_p{
        font-size: 3vw;
    }

    .detail_content_detail_up{
        width: 80%;
        margin: 0 auto;
    }
}

@media screen and (max-width:970px){
    .detail_content_map{
        width: 40%;
    }

    .NMN_difference_left_p,.NMN_difference_right_p{
        font-size: 2.9vw;
    }
}

@media screen and (max-width:900px){
    .detail_content_map{
        width: 100%;
    }
}

@media screen and (max-width:1040px){
    .pc { display: none !important; }
    .sp { display: block !important; }

    footer{
        max-height: 140px;
        height: 100%;
    }

    footer p{
        font-size: 2vw;
    }

    .line_icon{
        width: 20%;
        margin: 0;
    }

    .instagram_icon{
        width: 20%;
        margin: 0;
    }

    .phone_icon{
        width: 20%;
    }

    .footer_icon{
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        margin: 0 auto;
        background-color: #BFA043;
        padding: 2% 0;
        text-align: center;
    }

    .icon_line{
        border-right: solid 1px #fff;
    }

    .footer_icon li{
        width: 30%;
        display: inline;
        margin-top: 3%;
    }

    .footer_position{
        position: fixed;
        bottom: 0;
        opacity: 0.9;
        width: 100%;
    }

    .footer_position ul{
        padding: 1% 0;
    }

    #global_header {
        display: block;
    }

    .site-footer{
        padding: 1.5em 0;
    }
}

@media screen and (max-width:900px){
    footer{
        height: 140px;
        padding-bottom: 10px;
    }

    .line_icon{
        width: 25%;
        margin: 0;
    }

    .instagram_icon{
        width: 25%;
        margin: 0;
    }

    .phone_icon{
        width: 25%;
    }
}

@media screen and (max-width:850px){
    .pc { display: none !important; }
    .sp { display: block !important; }

    footer{
        height: 125px;
        padding-bottom: 10px;
    }

}

@media screen and (max-width:800px){
    footer{
        height: 120px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:750px){
    footer{
        height: 110px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:700px){
    footer{
        height: 100px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:600px){
    footer{
        height: 100px;
        padding-bottom: 10px;
    }

    .footer_position ul{
        padding: 2% 0;
    }
}

@media screen and (max-width:550px){
    footer{
        height: 90px;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:499px){
    ul.social li:last-child{
        margin-right: 2%;
    }

    ul.social li{
        line-height: 1.3;
        width: 100%;
    }

    footer{
        height: 100px;
        padding-bottom: 10px;
    }

    .line_icon{
        width: 30%;
        margin: 0;
    }

    .instagram_icon{
        width: 30%;
        margin: 0;
    }

    .phone_icon{
        width: 30%;
    }

    .footer_position ul{
        padding: 0.5% 0;
    }
}

@media screen and (max-width:450px){

    footer{
        height: 95px;
        padding-bottom: 7px;
    }

    .line_icon{
        width: 35%;
        margin: 0;
        padding-top: 8%;
    }

    .instagram_icon{
        width: 35%;
        margin: 0;
    }

    .phone_icon{
        width: 35%;
    }
}

@media screen and (max-width:410px){

    footer{
        height: 110px;
        padding-bottom: 10px;
    }

    .line_icon{
        width: 37%;
        margin: 0;
        vertical-align: middle;
        padding-top: 6%;
    }

    .instagram_icon{
        width: 37%;
        margin: 0;
    }

    .phone_icon{
        width: 37%;
    }
}


@media screen and (max-width:380px){

    footer{
        height: 100px;
        padding-bottom: 10px;
    }

    ul.social li:last-child{
        margin-right: 2%;
    }

    ul.social li{
        line-height: 1.3;
        width: 90%;
    }
}

@media screen and (max-width:300px){
    footer{
        height: 90px;
    }
}