@charset "UTF-8";

/*------------------------------------------------------------
  commmon
------------------------------------------------------------*/
.under p{
    line-height:200%;
}
.under .wpContent h2{
    margin: 4rem 0;
}
.under .bgLineWrap{
    margin-top:9rem;
}
.under .pointFLex{
    gap:3%;
    margin: 4rem 0;
}
.under .pointFLex:nth-of-type(even){
    flex-direction: row-reverse;
}
.under .pointFLex .imgWrap{
    flex:1;
}
.under .pointFLex .txtWrap{
    flex:1.5;
    padding:2rem;
    background:#FFF;
    border-radius:20px;
    position:relative;
}
.under .pointFLex .txtWrap::after{
    content: "";
    background: url(../img/index/icon-tori.png) no-repeat;
    background-size: 100%;
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 0;
    z-index: 3;
    right: 40px;
    margin: auto;
}
.under .pointFLex .txtWrap h3{
    color: #9b1e1c;
    font-size: 160%;
    border: none;
    margin-bottom: 1rem;
}
.under .pointFLex .txtWrap h3:after{
    display:none;
}
.under .pointFLex .txtWrap h3 i{
    color: #9b1e1c;
    font-style: normal;
    font-size: 60%;
    margin-right: 10px;
    display: block;
}
.under .pointFLex .txtWrap p{
    margin: 0;
    line-height: 150%;
}
.under .redBox{
    background: #fbeae9;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}
.under .redBox:after{
    content: "";
    background: url(../img/index/icon-tori.png) no-repeat;
    background-size: 100%;
    width: 90px;
    height: 80px;
    position: absolute;
    bottom: 0;
    z-index: 3;
    right: 40px;
    margin: auto;
}
.under .redBg{
    background: #fff8f8;
    padding: 2rem 1rem 8rem 1rem;
}

/*------------------------------------------------------------
  company
------------------------------------------------------------*/
#company .bgWrap{
    box-shadow: 0 0 10px #ccc;
    padding: 1rem 2rem 3rem 2rem;
    border-radius: 20px;
    position:relative;
    margin-bottom: 15rem;
}
#company .bgWrap p{
    font-size: 103%;
    font-weight: 600;
}
#company .bgWrap img{
    position: absolute;
    width: 80%;
    right: 40px;
    margin: auto;
    bottom: -170px;
}
#company .rinen{
    background:#fbeae9;
    padding:2rem;
    border-radius: 20px;
    position:relative;
}
#company .rinen::after{
    content: "";
    background: url(../img/index/icon-tori.png) no-repeat;
    background-size: 100%;
    width: 90px;
    height: 80px;
    position: absolute;
    bottom: 0;
    z-index: 3;
    right: 40px;
    margin: auto;
}
#company .rinen .title{
    text-align: center;
    color: #9b1e1c;
    font-size: 160%;
    font-weight: 700;
}
#company #msgWrap{
    margin: 0 0 9rem 0;
}
#company #msgWrap h2{
    margin-top: 2rem;
}
#company .imgWrap{
    background: url(../img/content/u-haikei.jpg) no-repeat;
    background-size: 100%;
    position: relative;
    z-index: 0;
    padding: 3rem 1rem;
    height: 20vw;
}
#company .imgWrap::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #c6e3ff7a;
}
#company .msg{
    background: #FFF;
    padding: 1rem 4rem 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 0 21px #3333334d;
    position:relative;
    z-index:2;
    margin-top:-10rem;
    margin-bottom: 6rem;
}
#company .msg p{
    margin: 18px 10px;
}
#company .msg .right{
    text-align: right;
    margin: 0;
    font-weight: 700;
}
#company .msg .name{
    font-size: 150%;
}
#company #gaiyou{
    background: #fff8f8;
    padding: 2rem 1rem;
    margin: 0 0 2rem 0;
}
#company table{
    margin:4rem 0;
}
#company table th,#company table td{
    background: none;
    border: none;
    border-bottom: 1px solid #33333345;
    padding: 2rem;
}
#company table th{
    font-weight:700;
}
#company iframe{
    width:100%;
    min-height:300px;
}

/*------------------------------------------------------------
  about
------------------------------------------------------------*/
#about{

}
#about .rinen{
    background:#fbeae9;
    padding:2rem;
    border-radius: 20px;
    position:relative;
}
#about .rinen::after{
    content: "";
    background: url(../img/index/icon-tori.png) no-repeat;
    background-size: 100%;
    width: 90px;
    height: 80px;
    position: absolute;
    bottom: 0;
    z-index: 3;
    right: 40px;
    margin: auto;
}
#about .rinen .title{
    text-align: center;
    color: #9b1e1c;
    font-size: 160%;
    font-weight: 700;
}
#about .rinen p{
    text-align:center;
}
#about .reason{
    background: #fff8f8;
    padding: 2rem 1rem 8rem 1rem;
    margin: 5rem 0 0 0;
}

/*------------------------------------------------------------
  for-new-clients
------------------------------------------------------------*/
#for-new-clients{

}
#for-new-clients .redBox{
    margin: 3rem 0;
}
#for-new-clients .redBox h2{
    margin: 0 0 3rem 0;
}
#for-new-clients ul.onayami{

}
#for-new-clients ul.onayami li{
    color: #9b1e1c;
    font-size: 130%;
    font-weight: 500;
    background: #FFF;
    border-radius: 10px;
    margin: 0 0 5px 0;
}
#for-new-clients ul.onayami li:nth-of-type(even){
    color:#000;
}
#for-new-clients ul.flow{

}
#for-new-clients ul.flow li{
    position: relative;
    font-size: 170%;
    font-weight: 600;
    background: #fff8f8;
    border-radius: 10px;
    margin: 10px 0 40px 0;
}
#for-new-clients ul.flow li i{
    color: #9b1e1c;
    font-size: 80%;
    font-weight: 700;
    margin-right: 20px;
}
#for-new-clients ul.flow li i span.num{
    font-size: 180%;
}
#for-new-clients ul.flow li::before{
    content: "";
    position: absolute;
    width: 9px;
    height: 40px;
    background: #e2cccc;
    bottom: -40px;
}
#for-new-clients ul.flow li:last-child:before{
    display:none;
}
#for-new-clients .qaWrap{
    margin-top: 5rem;
}
#for-new-clients .qaWrap dl{

}
#for-new-clients .qaWrap dl dt{
    color: #9b1e1c;
    font-size: 140%;
    font-weight: 600;
}
#for-new-clients .qaWrap dl dd{
    background: #FFF;
    padding: 20px;
    margin: 5px 0 20px 0;
}
#for-new-clients .bgLineWrap{
    margin:0;
}

/*------------------------------------------------------------
  ise-akadori
------------------------------------------------------------*/
#ise-akadori{

}
#ise-akadori .redBox{
    margin-bottom: 4rem;
}
#ise-akadori .redBox h2{
    margin: 0;
}
#ise-akadori .redBox img{
    width: 70%;
    margin: 0 auto;
}
#ise-akadori .redBg{
    margin: 7rem 0;
    padding-bottom: 2rem;
}
#ise-akadori .redBg img{
    margin-top:2rem;
}
#ise-akadori .diffBox .imgBgWrap{
    background: url(../img/content/bgLineThin.jpg) no-repeat;
    background-size: 100%;
    position: relative;
    z-index: 0;
    padding: 3rem 1rem;
    height: 20vw;
}
#ise-akadori .diffBox .contentWrapper{
    background: #FFF;
    padding: 1rem 4rem 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 0 21px #3333334d;
    position:relative;
    z-index:2;
    margin-top:-10rem;
    margin-bottom: 6rem;
}
#ise-akadori .piyo{
    width: 40%;
    margin: 3rem 0 0 auto;
}
#ise-akadori .reasonFLex{
    gap: 3%;
    flex-direction:row-reverse;
}
#ise-akadori .reasonFLex .txtWrap{
    flex:1.5;
}
#ise-akadori .reasonFLex .imgWrap{
    flex:1;
}
/*------------------------------------------------------------
  products
------------------------------------------------------------*/
#products .menuFlex{
    margin-bottom: 4rem;
}
#products .menuFlex li{
    text-align: center;
    color: #9b1e1c;
    font-weight: 600;
    flex: 1;
    border: 2px solid;
    padding: 1rem;
    font-size: 130%;
    background: #fbeae9;
}
#products .deffFlex{
    gap: 3%;
}
#products .deffFlex .inner{
    flex: 1;
    padding: 2rem;
    border: 2px solid #9b1e1c;
    border-radius: 20px;
}
#products .deffFlex .inner img{
    border-radius:20px;
}
#products .deffFlex .inner h3{
    
}
#products .deffFlex .inner p{
    
}
#products .bgLineWrap{
    margin-top: 3rem;

}
#products .bui{
    margin-top: 6rem;
}
#products .buiFLex{
    flex-wrap:wrap;
    gap:3%;
}
#products .buiFLex li{
    width: 45%;
    background: #FFF;
    margin-bottom: 1rem;
    border-radius: 20px;
    border: 2px solid #9a1f1d;
    padding: 0;
    text-align: center;
}
#products .buiFLex li h3{
    background: #9b1e1c;
    color: #FFF;
    border-radius: 17px 17px 0 0;
    margin-bottom: 0;
}
#products .buiFLex li p{
    margin: 0;
    padding: 10px 2rem;
    text-align: left;
    line-height: 140%;
}

/*------------------------------------------------------------
  business
------------------------------------------------------------*/
#business{


}
#business .introFLex{
    gap:3%;
}
#business .introFLex p{
    margin:0 0 1rem 0;
}
#business .redBox h2{
    margin: 0;
}
#business .areaFlex{
    flex-wrap:wrap;
    gap:3%;
}
#business .areaFlex li{
    width: 45%;
    background: #FFF;
    margin-bottom: 1rem;
    border-radius: 20px;
    border: 2px solid #9a1f1d;
    padding: 0;
    text-align: center;
}
#business .areaFlex li h3{
    background: #9b1e1c;
    color: #FFF;
    border-radius: 17px 17px 0 0;
    margin-bottom: 0;
}
#business .areaFlex li p{
    margin: 0;
    padding: 10px 2rem;
    text-align: left;
    line-height: 140%;
}
#business .pkanriFLex{
    gap:3%;
}
#business .pkanriFLex li{
    flex:1;
}
#business .pkanriFLex li img{
    border-radius:20px;
}
#business .pkanriFLex li p{
    font-weight:600;
    line-height:180%;
    margin:1rem 0;
}

/*------------------------------------------------------------
  news
------------------------------------------------------------*/
#info .underlayerWrapper{
    margin-bottom:10rem;
}
#info .infoWrapper .categoly a{
    background: #9a1e1b;
    color: #FFF;
    border-radius: 5px;
    font-weight: 600;
    padding: 1px 1rem;
    min-width: 120px;
    text-align: center;
    font-size: 14px;
}
#info .infoWrapper .categoly.cm a{
    background: #50595c; 
}


/*------------------------------------------------------------
  cost
------------------------------------------------------------*/
#cost table th{
    width: 30%;
    font-weight: bold;
}
#cost table td{
  text-align: left;
  font-size: 92%;
}
#cost .wpContent .caution{
  font-size: 75%;
}
#cost table.custom th{
    width: 10%;
}
#cost table.custom td.mini{
    width: 13%;
    text-align: center;
}
#cost table.custom2 th{
    width: 20%;
}
#cost table.custom2 td.first{
width: 20%;
    text-align: center;
}

/*------------------------------------------------------------
  contact
------------------------------------------------------------*/
#contact .infoBox{
    background: #fbeae9;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}
#contact .infoBox h3{
    text-align: center;
    border: none;
    background: #FFF;
    padding: 10px 2rem;
    border-radius: 80px;
    margin-bottom: 1rem;
}
#contact .infoBox p{
    margin: 0;
    text-align:center;
}
#contact #contactWrapper{
   margin: 7rem 0;
}
#contact textarea,#contact .your-subject{
    width: 100%;
}
#contact #contactWrapper{
    margin-bottom:4rem;
}
#contact #contactWrapper dl{
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}
#contact #contactWrapper dt span{
    background: #b91717;
    color: #FFF;
    padding: 0 10px;
    margin-right: 10px;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}
#contact #contactWrapper dt,#contact #contactWrapper dd{
    padding: 10px;
    font-size: 14px;
}
#contact #contactWrapper dt{
    width: 35%;
}
#contact #contactWrapper dd{
    width: 65%;
}
#contact #contactWrapper .mwform-tel-field input[type="text"]{
    width: 30%;
}
#contact #contactWrapper dd.noFlex{
  display: block;
}
#contact #contactWrapper dd p{
    color: #b62121;
    font-size: 12px;
    font-weight: bold;
}
#contact input[type="text"],#contact input[type="email"],#contact input[type="tel"],#contact textarea,#contact select{
    padding: 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}
#contact #contactWrapper input[type="text"],#contact #contactWrapper input[type="email"]{
    width: 100%;
}
/* #contact #contactWrapper{
  margin-bottom: -2rem;
} */
#contact [type="submit"],#contact .backButton {
    background: #9b1e1c;
    appearance: none;
    -webkit-appearance: none;
    width: 50%;
    padding: 14px 0;
    font-size: 16px;
    color: #FFF;
    border-radius: 3px;
    margin: 5px auto;
    letter-spacing: 0.5rem;
    font-weight: bold;
    border: none;
    display: block;
}
#contact .backButton {
    width: 70%;
    display: block;
    text-align: center;
    margin: 1rem auto;
}
#contact [type="submit"].back{
    background: #a0a0a0;
}
#contact .caution{
  font-size: 80%;
}
#contact .wpContent a.linkButton{
    width: 70%;
    margin: 2rem auto;
    text-align: center;
    display: block;
}


@media (min-width: 1800px) {

}

@media (max-width: 1200px) {

    #company .bgWrap{
        padding: 3rem 2rem 3rem 2rem;
        margin-bottom: 0;
    }
    #company .bgWrap img{
        position:relative;
        bottom: 0;
        margin-top: 2rem; 
        right: 0;
    }

}


@media (max-width: 1099px) {

    #company .msg{
        width:90%;
    }

}

@media (max-width: 900px) {

    #company .imgWrap{
        height: 50vw;
    }
}

@media (max-width: 600px){

    .under .bgLineWrap{
        margin-top: 3rem;
    }

    .under .wpContent h2{
        margin: 2rem 0 2rem 0;
    }
    .under .break{
        display:block;
    }
    .wpContent h2::after{
        width: 20px;
        bottom: -10px;
        border-bottom: solid 3px #9b1e1c;
    }
    .under .pointFLex{
        display:block;
    }
    .under .pointFLex .txtWrap{
        padding: 1rem;
        border-radius: 0 0 20px 20px;
    }
    .under .pointFLex .txtWrap h3{
        font-size: 130%;
        margin-bottom: 0;
    }
    .under .pointFLex .txtWrap::after{
        width: 50px;
        height: 50px;
        right: 20px;
        top: -10px;
        bottom: auto;
    }
    .under .redBox:after{
        width: 50px;
        height: 50px;
    }
    /*--- company --------*/
    #company .bgWrap img{
        margin: 1rem 0;
        width: 100%;
    }
    #company .bgWrap p{
        font-size: 84%;
        line-height: 170%;  
    }
    #company .bgWrap{
        padding:1rem 1rem 1rem 1rem;
    }
    #company .rinen{
        padding: 2rem 1rem 4rem 1rem;
    }
    #company .rinen .title{
        font-size: 140%;
        line-height: 140%;
    }
    #company .rinen p{
        font-size:83%;
    }
    #company .rinen::after{
        width: 60px;
        height: 50px;
    }
    #company .msg{
        padding: 1rem 2rem 3rem 2rem;
        margin-bottom: 3rem;
    }
    #company .msg p{
        margin: 18px 0;
        font-size: 100%;
        line-height: 170%;
    }
    #company table th, #company table td{
        padding: 5px;
        font-size: 80%;
    }
    #company table th{
        width: 30%;
    }
    /*--- about --------*/
    #about .rinen{
        padding:1rem 1rem 6rem 1rem;
    }
    #about .rinen .title{
        line-height: 130%;
        font-size: 130%;
    }
    #business .areaFlex li{
        width:100%;
    }
    #business .redBg{
        padding: 2rem 1rem 1rem 1rem;
    }
    #business .redBg h2{
        margin: 0 0 2rem 0;
    }
    /*--- business --------*/
    #business .introFLex,#business .areaFlex,#business .pkanriFLex{
        display:block;
    }
    /*--- for-new-clients --------*/
    #for-new-clients .redBox{
        padding: 2rem 10px 4rem 10px;
    }
    #for-new-clients ul.onayami li{
        font-size: 90%;
        padding-left: 10px;
        text-indent: -15px;
        padding-left: 23px;
    }
    #for-new-clients .redBg{
        padding-bottom: 1rem;
    }
    #for-new-clients ul.flow li i{
        display:block;
    }
    #for-new-clients ul.flow li{
        font-size: 100%;
        padding-bottom: 8px;
    }
    #for-new-clients .qaWrap dl dt{
        font-size: 100%;
    }
    #for-new-clients .qaWrap dl dd{
        font-size: 85%;
    }
    #ise-akadori .diffBox .imgBgWrap{
        height: 58vw;
    }
    #ise-akadori .diffBox .contentWrapper{
        width: 90%;
        padding: 1rem 1rem;
    }
    #ise-akadori .piyo{
        width: 70%;
        margin: 1rem 0 0 auto;
    }
    /*--- products --------*/
    #products .menuFlex{
        display:block;
        margin-bottom: 2rem;
    }
    #products .menuFlex li{
        font-size: 100%;
        text-align:left;
        margin-bottom:10px;
    }
    #products .deffFlex{
        display:block;
    }
    #products .deffFlex .inner{
        padding: 1rem;
        margin-bottom: 1rem;
    }
    #products .deffFlex .inner h3{
        font-size: 130%;
    }
    #products .bui{
        padding: 2rem 1rem 2rem 1rem;
        margin-top: 2rem;
    }
    #products .buiFLex{
        display:block;
    }
    #products .buiFLex li{
        width: 100%;
    }
    #products .buiFLex li h3{
        padding: 5px;
    }
    /*--- ise-akadori --------*/
    #ise-akadori .redBox{
        padding: 2rem 1rem;
    }
    #ise-akadori .redBox h2{
        margin-bottom: 2rem;
    }
    #ise-akadori .redBox img{
        width: 90%;
    }
    #ise-akadori .redBg{
        margin: 3rem 0;
    }
    #ise-akadori .reasonFLex{
        display:block;
    }
    /*--- contact --------*/
    #contact .infoBox h3{
        margin: 10px 0 5px 0;
    }
    #contact .infoBox p.ct{
        line-height: 140%;
        margin-top:20px;
    }
    #contact #contactWrapper{
        margin: 2rem 0;
    }
    #contact #contactWrapper dl{
        width:100%;
    }
    #contact #contactWrapper dl{
        display: block;
    }
    #contact #contactWrapper dt,#contact #contactWrapper dd{
        width: 100%;
        padding: 10px 10px 0 10px;
    }
    #contact #contactWrapper input[type="text"]{
        width: 100%;
    }
    #contact input[type="text"],#contact input[type="email"],#contact input[type="tel"],#contact textarea{
        width: 100%;
    }
    #contact [type="submit"]{
        width: 100%;
        margin-top: 50px;
    }
    #contact [type="submit"].back{
        margin-top:5px;
    }
    /*--- office --------*/
    #lawyer .wpContent .selfIntro,#office .wpContent .photo{
          display: block;
    }
    #lawyer .wpContent .selfIntro .right{
            margin: 1rem 0 0 0;
    }
    #office .wpContent .photo img{
      margin: 10px auto;
    }
}

@media (max-width: 400px) {


}