/* h1,h2,h3,h4,h5,p,a,span, label, table, strong{
    color: rgb(85, 85, 85)
}

main{
    background: #fff;
} */

body {
    backface-visibility:hidden;animation: fadeIn 0s ease 0s 1 normal;
    -webkit-animation: fadeIn 0s ease 0s 1 normal;
}


#herobox{
    height: 20vh;
    margin-bottom: 0;
    background-image: url("https://www.corporatetest1.nandemo-dubbing.com/test/img/main_sub.png");
}
    @media screen and (max-width: 767px) {
        #herobox{
            height: 12vh;
            background-image: url("https://www.corporatetest1.nandemo-dubbing.com/test/img/main_sp_sub.png");
        }
      .herobox_inner{
        top: 35%;
        right: 10%;
    } 
    .herobox_inner h2{
        font-size: 2rem;
        margin-top: 0;
        padding: 0;
    }
}

@media screen and (min-width: 768px) {
    section{
        margin: 90px auto;
    }
}


/*//////// service.php ///////////*/
#service{
    margin-bottom: 0;
}
.service_inner{
    margin: 0 auto 90px;
    text-align: center;
}
#service h3{
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    text-align: left;
    background: gray;
    color: #fff;
    padding: 15px;
}
#service h4{
    font-size: 2.4rem;
    text-align: left;
    width: 90%;
    margin: 0 auto 10px;
    color: var(--text-color); 
}
#service h5{
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: left;
    width: 95%;
    margin-left: auto;
    color: var(--text-color); 
}

@media screen and (max-width: 767px) {
    section{
        width: 92%;
        margin: 20px auto;
    }
    .service_inner{
        margin: 0 auto 60px;
    }
    #service h3{
        font-size: 2rem;
        padding: 10px;
        margin-bottom: 8px;
    }
    #service h4{
        font-size: 1.6rem;
        width: 95%;
        margin: 0 auto 5px;
    }
    #service h5{
        font-size: 1.2rem;
        line-height: 2rem;
        width: 97%;
    }
}


/*---------- #tech ------------*/
.anshin_wr{
    display: flex;
    width: 90%;
    margin: 0 auto;
}
.anshin_left{
    width: 55%;
    background-color: gray;
    padding-top: 10px;
    border: lightgray 2px solid;
}
.anshin_left p{
    color: #fff;
}
.left_top{
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 20px auto;
    font-size: 2.6rem;
    align-items: end;
	color: #fff;
}
.left_mdl_Lbox{
    width: 40%;
    background: white;
    padding: 13px 10px;
    color: gray;
    margin-bottom: 20px;
}
.left_mdl_Lbox p{
    color: gray;
}
.left_mdl_Tbox {
    width: 45%;
}
.left_mdl_Tbox p{
    text-align: center;
    font-size: 120%;
    margin-bottom: 5px;
    margin-left: -30px;
}
.left_mdl_Tbox span{
    display: block;
    color: white;
    margin-top: 5px;
}
.left_mdl_Tbox strong{
    font-size: 10rem;
    line-height: 8rem;
    color: white;
}
.left_mdl_Tbox strong span{
    font-size: 3rem;
    display: inline-block;
    margin-left: 0px;
}
.left_bottom{
    width: 100%;
    background: white;
}
.left_bottom p{
    width: 90%;
    font-size: 1.6rem;
    margin: 0 auto;
    text-align: left;
    color: gray;
    padding-top: 10px;
}
.left_bottom ul{
    width: 90%;
    align-items: center;
    margin: 10px auto 0;
    display: flex;
    gap: 3%;
    padding-bottom: 20px;
    justify-content: space-around;
    background: #fff;
}
.left_bottom ul li{
    width: calc(90%/3);
    background-color: lightgray;
}
.left_bottom ul li p{
    padding: 5px 0;
    font-size: 1.6rem;
    line-height: 2rem;
    color: white;
    text-align: center;
}

/*----table-----*/
.anshin_wr table{
    width: 45%;
    background-color:lightgray;
}
.anshin_wr table {
    border: lightgray 1px solid;
}
.anshin_wr table tr {
    align-items: center;
}
.anshin_wr table th {
    width: 100px;
    padding: 10px;
    background: white;
    text-align: center;
    border-right: dashed 1px lightgray;
}
.anshin_wr table td {
    padding: 3px 10px;
    border-bottom: white 1px dashed;
    vertical-align: middle;
}
.anshin_wr table td:first-child{
    border-right: dashed 1px white
}
.anshin_wr table td:nth-child(2) {
    font-size: 1rem;
}
.anshin_wr table td:nth-child(2) span{
    font-size: 3rem;
}


.youtube_wr{
    width: 90%;
    margin: 0 auto;
    margin-top: 50px;
}
.youtube{
    width: 100%;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 1149px) {
    .anshin_left{
        width: 60%;
        padding: 0px;
    }
    .left_top{
        width: 95%;
        margin: 10px auto;
        font-size: 1.2rem;
        align-items: center;
    }
    .left_mdl_Lbox{
        width: 48%;
        padding: 8px 3px;
        margin-bottom: 0;
        margin-right: auto;
        font-size: 1.4rem;
        margin-top: 40px;
    }
    .left_mdl_Tbox {
        width: 52%;
    }
    .left_mdl_Tbox strong{
        font-size: 7.6rem;
        line-height: 6rem;
        margin-left: 10px;
    }
    .left_bottom p,  .left_bottom ul li p{
        font-size: 80%;
        width: 95%;
    }
    .left_bottom ul{
        width: 96%;
        gap: 1%;
        padding-bottom: 10px;
    }
    .left_bottom ul li{
        width: calc(98%/3);
    }
    .anshin_wr tbody {
        font-size: 1.3rem;
    } 
    .anshin_wr table td:nth-child(2) {
        font-size: 1rem;
    }
    .anshin_wr table td:nth-child(2) span{
        font-size: 2rem;
        text-decoration:line-through;
    }
  }

@media screen and (max-width: 767px) {
    .anshin_wr{
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .anshin_left{
        width: 100%;
        padding-top: 5px;
    }
    .anshin_left p{
        color: #fff;
    }
    .left_top{
        width: 95%;
        margin: 10px auto;
        font-size: 1.2rem;
        align-items: center;
    }
    .left_mdl_Lbox{
        width: 47%;
        padding: 8px 0;
        margin-bottom: 0;
        margin-right: auto;
    }
    .left_mdl_Lbox p{
        margin-bottom: 0;
        color: gray;
    }
    .left_mdl_Tbox {
        width: 53%;
    }
    .left_mdl_Tbox p{
        margin-bottom: 0px;
        margin-left: -10px;
    }
    .left_mdl_Tbox span{
        margin-top: 0px;
    }
    .left_mdl_Tbox strong{
        font-size: 6.8rem;
        line-height: 6rem;
        margin-left: 10px;
    }
    .left_mdl_Tbox strong span{
        font-size: 2.6rem;
        margin-left: 5px;
    }
    .left_bottom p{
        width: 96%;
        font-size: 1.2rem;
        line-height: 2rem;
        color: gray;
    }
    .left_bottom ul{
        width: 96%;
        gap: 1%;
        padding-bottom: 10px;
    }
    .left_bottom ul li{
        width: calc(98%/3);
    }
    .left_bottom ul li p{
        padding: 3px 0;
        font-size: 1.2rem;
    }
    /*----table-----*/
    .anshin_wr table{
        width: 100%;
    }
    .anshin_wr tbody {
        font-size: 1.3rem;
    } 
    .anshin_wr table td:nth-child(2) {
        font-size: 1rem;
    }
    .anshin_wr table td:nth-child(2) span{
        font-size: 2rem;
    }
    .youtube_wr{
        width: 100%;
        margin: 20px auto 0
    }
    .youtube{
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 56.25%;
        overflow: hidden;
    }
    .youtube iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%!important;
        height: 100%!important;
    }
  }


/*---------- #target------------*/
#target ul{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5%;
    background-color: lightgray;
    padding-top: 20px;
}
#target ul:last-child{
    background-color: rgb(244, 244, 244);
}
#target ul li{
    width: calc(90%/5);
    padding: 10px;
    margin: 0 auto 18px;
    font-size: 1.3rem;
}
#target ul:last-child li{
    margin: 0 0 18px;
}
#target ul li span{
    font-size: 80%;
}
#target img{
    display: block;
    width: 85%;
    margin: 0 auto 5px;
}
#target p{
    width: 90%;
    margin:  40px auto 10px;
    text-align: left;
}

@media screen and (max-width: 767px) {
    #target ul{
        width: 100%;
        gap: 1%;
        padding-top: 20px;
    }
    #target ul li{
        width: calc(96%/3);
        padding: 3px;
        margin: 0;
        margin-bottom: 10px;
        font-size: 1rem;
        line-height: 1.6rem;
    }
    #target img{
        width: 80%;
        margin: 0 auto 3px;
    }
    #target p{
        width: 100%;
        margin:  20px auto 10px;
        font-size: 1.2rem;
        line-height: 2.2rem;
    }
  }


/*---------- #store------------*/
#store{
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 80px;
}
#store p{
    width: 90%;
    margin: 20px auto;
}
#store ul{
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 2%;
}
#store ul li{
    width: calc(90%/5);
}
@media screen and (max-width: 667px) {
    #store p{
        width: 95%;
        margin: 6px auto;
    }
    #store ul{
        width: 95%;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 10px auto;
    }
    #store ul li{
        width: 48%;
        margin-bottom: 10px;
    }
  }



/*//////// faq.php ///////////*/
#faq{
    margin-top: 90px;
}
.search_wr{
    margin: 70px auto;
    width: 50%;
    text-align: center;
}
.search_wr p{
    margin-bottom: 5px;
}

/* input{
    border: solid rgb(85, 85, 85) 1px;
}

.searchbox{
    width: 400px;
    height: 40px;
}
.submitbox{
    color: #fff;
    background: rgb(85, 85, 85);
    font-family: FontAwesome;
} */

.category_wr{
    letter-spacing: 0.05rem;
}
.category_wr ul{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5%;
    margin: 0 auto;
}
.category_wr li{
    width: calc(91%/3);
    padding: 20px 15px;
    margin-bottom: 25px;
    /* border:  solid 1px #666666;  */
    position: relative;
    display: flex;
}
.category_wr li::after{
    content: ">";
    color: rgb(85, 85, 85);
    position: absolute;
    font-size: 2.4rem;
    top: 20px;
    right: 15px;
}


/*---- Question ----*/
.faq_wr{
    display: flex;
    padding-top: 70px;
    width: 100%;
    gap: 2%;
}
.faq_wr h2{
    width: 20%;
    font-size: 2.3rem;
    line-height: 3rem;
    font-weight: bold;
    letter-spacing: 0.05rem;
    padding: 10px;
    background-color: rgb(170, 170, 170);
    color: white;
}
.faq_wr h2 span{
    font-size: 70%;
}
.inner{
    width: 78%;
}
label{
    font-size: 95%;
}

.acd-check{
    display: none;
}

.acd-label{
    display: block;
    margin-bottom: 2px;
    padding: 15px;
    position: relative;
    border-bottom: rgb(204, 204, 204) solid 1px;
    font-size: 95%;
    padding-left: 50px;
}
.acd-label::before{
    color: rgb(85, 85, 85);
    content: 'Q.';
    font-size: 2.4rem;
    position: absolute;
    top: 14px;
    left: 10px;
}
.acd-label:after{
    content: '+';
    display: block;
    height: 46px;
    width: 44px;
    padding: 10px 15px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2rem;
}
.faq_wr a{
    color: var(--accent-color);
}
@media screen and (min-width: 768px) {
    .br::before {
        content: "\A" ;
        white-space: pre ;
    }
}

/*---- Answer ----*/
.acd-content{
    display: block;
    height: 0;
    opacity: 0;
    padding: 0 12px;
    transition: .15s;
    visibility: hidden;
    margin: 5px auto;
    position: relative;
    font-size: 95%;
    width: 95%;
}
.acd-check:checked + .acd-label:after{
    content: '-';
    font-size: 2rem;
    height: 46px;
    width: 44px;
}
.acd-check:checked + .acd-label + .acd-content{
    height: 88px;
    opacity: 1;
    padding: 10px;
    visibility: visible;
}
.taller:checked + .acd-label + .acd-content{
    height: 120px;
}
.tallest:checked + .acd-label + .acd-content{
    height: 140px;
}

.acd-content::before{
    content: 'A.';
    font-size: 2.4rem;
    position: absolute;
    top: 10px;
    left: 10px;
    color: rgb(85, 85, 85);
}

.acd-content p{
    padding-left: 40px;
}

/*---- contact----*/
.sub-contact{
    text-align: center;
    margin: -40px calc(50% - 50vw) 0;
    background-color: lightgray;
    width: 100vw;
    max-width: 100vw;
    padding: 60px 0;
    border-bottom: #fff 5px solid;
}
.sub-contact .tw_02 img{
    width: 4%;
}


@media screen and (max-width: 767px) {
    #faq{
        margin-top: 20px;
        overflow: hidden;
    }
    /* .search_wr{
        margin: 20px auto;
        width: 100%;
    }
    .searchbox{
        width: 90%;
        height: 40px;
    } */
    .category_wr{
        letter-spacing: 0.01rem;
        margin-top: 20px;
    }
    .category_wr ul{
        width: 100%;
        gap: 2%;
    }
    .category_wr li{
        width: calc(98%/2);
        padding: 10px 5px;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }  
    .category_wr li::after{
        font-size: 1.6em;
        top: 8px;
        right: 2px;
    }
    .br_sp {
        margin-right: 3px;
    }
    .br_sp::before {
        content: "\A" ;
        white-space: pre ;
    }
    
    /*---- Question ----*/
    .faq_wr{
        display: block;
        padding-top: 30px;
        width: 100%;
    }
    .faq_wr h2{
        display: block;
        width: 100%;
        font-size: 2rem;
        line-height: 2.4rem;
        padding: 10px;
    }
    .faq_wr h2 span{
        margin-left: 3px;;
    }
    .inner{
        width: 100%;
    }
    .acd-label{
        padding-left: 30px;
        font-size: 90%;
    }
    .acd-label::before{
        font-size: 2rem;
        top: 14px;
        left: 6px;
    }
    .acd-label:after{
        padding: 0;
        left: 95%;
        top: 30%;
    }
    
    /*---- Answer ----*/
    .acd-content{
        font-size: 90%;
        width: 95%;
    }
    .acd-check:checked + .acd-label:after{
        height: 46px;
        width: 44px;
    }
    .acd-check:checked + .acd-label + .acd-content{
        height: 100px;
    } 
    .taller:checked + .acd-label + .acd-content,
    .taller-sp:checked + .acd-label + .acd-content{
        height: 200px;
    }
    .tallest:checked + .acd-label + .acd-content{
        height: 270px;
    }
    .acd-content::before{
        font-size: 2rem;
    }  
    .acd-content p{
        padding-left: 30px;
    }  

    /*---- contact----*/ 
    .sub-contact{
        text-align: center;
        margin: 0px auto;
        width: 95%;
        max-width: 100%;
        padding: 30px 0;
    }
    .sub-contact h3{
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .sub-contact p{
        font-size: 85%;
    }
    .sub-contact .contact_inner ul li{
        width: 70%;
    }
    .sub-contact .tw_02 img{
        width: 6%;
    }
}


/*//////// company.php ///////////*/
#company{
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 50px;
    width: 92%;
}
.table_company{
    border: solid 2px rgb(197, 163, 139);
    width: 80%;
    margin: 0 auto;
    background-color: white;
}
.table_company th,
.table_company td{
    padding: 20px 90px 20px 30px;
}
.table_company tr{
    border-bottom: dotted 2px rgb(128, 94, 72);
}
.table_company th{
   background-color: rgb(197, 163, 139);
   color: white;
   padding-right: 0;
   padding-left: 30px;
}

@media screen and (max-width: 820px) {
    .table_company{
        width:100%;
    }
    .table_company th,
    .table_company td{
        padding: 15px 30px;       
    }
  }

@media screen and (max-width: 767px) {
    .table_company{
        width:100%;
        font-size: 1.2rem;
    }
    .table_company th,
    .table_company td{
         padding: 15px 10px         
    }
  }



 /*//////// color panel ///////////*/
  #service h3{
    background:  var(--accent-color-trans); 
    color: var(--text-invert-color); 
    text-shadow: none;
}

.anshin_left{
    background-color: var(--main-color);  
    border: none;
}
.anshin_left p{
    color: var(--text-invert-color); 
}
.left_mdl_Lbox{
    background:  var(--color-white);   
    color: var(--text-color); 
}
.left_mdl_Lbox p{
    color: var(--text-color); 
}
.left_mdl_Tbox span{
    color: var(--text-invert-color); 
}
.left_mdl_Tbox strong{
    color: var(--text-invert-color); 
}
.left_bottom{
    background:   var(--color-white);   
}
.left_bottom p{
    color: var(--text-color); 
}
.left_bottom ul{
    background:   var(--color-white);   
}
.left_bottom ul li{
    background-color:  var(--main-color-lighter);  
}
.left_bottom ul li p{
    color: var(--text-invert-color); 
}

/*----table-----*/
.anshin_wr table{
    background-color: var(--main-color-lighter);  
}
.anshin_wr table {
    border:  var(--color-white)   1px solid;
    border-top:1px solid var(--main-color-lighter);  
    /* border:  none */
}
.anshin_wr table th {
    background:   var(--color-white);   
    border-right: dashed 1px  var(--main-color-lighter);  
}
.anshin_wr table td {
    border-bottom:   var(--color-white)  1px dashed;
}
.anshin_wr table td:first-child{
    border-right: dashed 1px   var(--color-white);   
}

/*---------- #target------------*/
#target ul{
    background-color:  var(--color-white-trans);  
}
#target ul:last-child{
    background-color:  var(--color-white);   
}

/* input{
    border: solid 1px var(--text-color);  
}
.submitbox{
    color: #fff;
    background: rgb(85, 85, 85);
} */
.category_wr li{
    /* border:  solid 1px  var(--main-color-lighter);   */
    background-color: white;
}
.category_wr li::after{
    color:  var(--accent-color-trans); 
}

/*---- Question ----*/
.faq_wr h2{
    background-color:   var(--accent-color-trans);  
    color: var(--text-invert-color); 
}
.category_wr i{
    color:   var(--accent-color-trans);
    margin-right: 10px;
}
.acd-label{
    border-bottom:   var(--color-white) solid 1.5px;
}
.acd-label::before{
    color:  var(--text-color);  
}   
.acd-content::before{
    color:  var(--text-color);  
}

/*---- contact----*/
.sub-contact{
    background-color:  var(--bg-color-lighter);  
    border-bottom:   var(--color-white)  5px solid;
}


.table_company{
    border: solid 2px var(--main-color-lighter); 
    background-color:   var(--color-white);   
}
.table_company tr{
    border-bottom: dotted 2px var(--main-color-lighter);   
}
.table_company th{
   background-color: var(--main-color); 
   color: var(--text-invert-color); 
}
