@charset 'utf-8';

.flex{
    display: flex;
    flex-wrap: wrap;
}
footer{
    padding: 0;
}
img{
    max-width: 100%;
}


/* HEADER */
header.smaller:not(.header-bottom):not(.side-header):not(.force-header-mobile){
    background: #fff;
}
header.smaller:not(.header-bottom):not(.side-header):not(.force-header-mobile) #mainmenu a{
    color: #231815;
}
#mainmenu > li > a{
    font-weight: bold;
}
header div#logo img{
    width: 230px;
}
#mainmenu li a::after{
    color: #999;
}
h1 span{
    display: block;
    font-size: 18px;
}
header #mainmenu li:last-child a span{
    left: 10px;
}
header #mainmenu a span{
    position: absolute;
    left: -5px;
    bottom: 9px;
    font-size: 9px;
    width: 100%;
    text-align: center;
}
header.smaller:not(.header-bottom):not(.side-header):not(.force-header-mobile) #mainmenu a span{
    bottom: 0;
}

/* FOOTER */
#back-to-top{
    background: #fff;
    border: 1px solid  #000;
    transition: .2s;
}
#back-to-top::before{
    color: #000;
}

/* MV */
#section-welcome-7{
    background: url(../images/top-slide.jpg) fixed center;
}
.text-slider{
    color: #231815;
    line-height: 75px;
}

/* ABOUT */
#section-about{
    position: relative;
    background-color: #fff;
}
#section-about .text,
#section-about h1,
#contact .text,
#contact h1{
    color: #231815 !important;
}
#section-about .img{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 40%;
    background: url(../images/about-bg2.jpg) no-repeat center center / cover;
}
#section-about .col-md-6{
    margin-left: auto;
    text-align: left;
}
#section-about .about-box .text{
    line-height: 2;
    font-size: 16px;
}


/* ATTORNEYS */
#section-attorneys .name-box{
    text-align: center;
    margin-top: 20px;
}
#section-attorneys .name-box p{
    margin: 0;
}
#section-attorneys .name-box .name{
    font-size: 16px;
}
#section-attorneys .text-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#section-attorneys .text-box>div{
    width: 48%;
}
#section-attorneys .text-box>div .text span{
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
}
#section-attorneys .text-box>div .text{
    font-size: 14px;
    line-height: 2.5;
}
#section-attorneys .row{
    justify-content: space-between;
}


/* PRACTICE */
#gallery .item .img{
    position: relative;
    overflow: hidden;
}
#gallery .item .picframe:hover a,
#section-contact .picframe:hover a{
    text-decoration: none;
}
.pf_full_width .item{
    width: 31%;
    margin: 1% 1% 40px;
}
.pf_full_width .item .text{
    margin: 0;
    height: 45px;
    color: #231815;
}
#section-portfolio{
    background-color: #fff;
}
#section-portfolio h3 span.id-color,
#section-contact h3 span.id-color{
    color: #b79f4a;
    font-weight: bold;
}
#section-about .separator span::before,
#section-about .separator span::after,
#section-contact .separator span::before,
#section-contact .separator span::after,
#section-portfolio .separator span::before,
#section-portfolio .separator span::after,
#contact .separator span::before,
#contact .separator span::after{
    border-bottom: 1px solid rgba(000,000,000,.2);
}
#section-portfolio h1,
#section-contact h1{
    color: #231815;
}
#filters a{
    border: 1px solid #555 !important;
    font-weight: bold;
}
#filters a:hover {
    background: rgb(17, 17, 17);
    color: #fff;
}
#filters a.selected{
    background-color: rgb(17, 17, 17);
    color: #fff;
}
.popup-view-content .row{
    padding: 30px 20px;
    background-color: #fff;
}
.popup-view-content .project-images img{
    margin-bottom: 0;
}
.popup-view-content h2{
    margin-bottom: 15px;
}
.popup-view-content h2{
    color: #231815;
}
.popup-view-content p{
    color: #707070;
}
#filters{
    margin-bottom: 60px;
}
.pf_full_width .item h3{
    margin-bottom: 5px;
}


/* FLOW */
#section-steps{
    background: url(../images/flows-bg.jpg) top fixed;
}
.de_tab.tab_steps .de_nav li{
    pointer-events: none;
}
.de_tab.tab_steps .de_nav li span{
    line-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #999;
    border-top: none;
}
.de_tab.tab_steps .flex{
    padding-top: 80px;
    margin-top: 60px;
    border-top: 1px solid #fff;
    justify-content: center;
    text-align: center;
}
.de_tab.tab_steps .flex .comment{
    width: 100%;
    margin-top: 80px;
    font-size: 16px;
}
.de_tab.tab_steps .flex .text{
    font-size: 14px;
    margin: 0 50px;
}
.de_tab.tab_steps .flex .text span{
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

/* NEWS */
#section-news{
    background: url(../images/news-bg.jpg) top fixed;
}
#section-news .news-inner{
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
}
#section-news .news-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255,255,255,.4);
}
#section-news .news-box:first-child{
    padding-top: 0;
}
#section-news .news-box:last-child{
    border-bottom: none;
    padding-bottom: 0;
}
#section-news .news-box .img{
    width: 21%;
}
#section-news .news-box .text-box{
    width: 73%;
}
#section-news .news-box .text-box .date{
    margin: 0 0 5px;
}
#section-news .news-box .text-box .news-title{
    font-size: 17px;
    margin-bottom: 10px;
    font-feature-settings: "palt";
}
#section-news .news-box p:last-child{
    margin-bottom: 0;
}

/* INFORMATION */
#section-information{
    background-color: #535356;
}
#section-information table{
    width: 100%;
}
#section-information table th,
#section-information table td{
    font-size: 16px;
    padding: 35px 30px;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,.2);
}
.googlemaps iframe,
.googlemaps object,
.googlemaps embed {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}
.googlemaps{
    margin-top: 50px;
}
.googlemaps iframe{
    width: 100%;
}
.googlemaps iframe:hover,
.googlemaps object:hover,
.googlemaps embed:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}

/* CONTACT */
#section-contact .img{
    overflow: hidden;
    position: relative;
}
#section-contact{
    background-color: #fff;
}
#section-contact .text,
#section-contact h1{
    color: #231815;
}
br.s_block{
    display: none;
}
#section-news .news-inner{
    height: 500px;
    overflow-y: scroll;
}
::-webkit-scrollbar{
    width: 3px;
}
::-webkit-scrollbar-thumb{
    background: #ccc;
}

.contact-sec{
    padding: 150px 0;
}
#contact #content{
    background: #fff;
}
#contact #mainmenu a, header.transparent.header-light #mainmenu a{
    color: #231815;
}
.contact-sec #formWrap{
    max-width: 900px;
    margin: 0 auto;
}
.contact-sec table{
    width: 100%;
}
.contact-sec table th,
.contact-sec table td{
    border-bottom: 1px solid #eee;
    padding: 25px;
    color: #231815;
    font-size: 14px;
}
.contact-sec table th span.must{
    float: right;
    display: block;
    background-color: #231815;
    color: #fff;
    font-size: 11px;
    padding: 0 7px;
    font-weight: normal;
}
.contact-sec table td input[type="tel"],
.contact-sec table td input[type="text"],
.contact-sec table td input[type="email"],
.contact-sec table td input[type="number"]{
    height: 40px;
}
.contact-sec table td input[type="tel"],
.contact-sec table td input[type="text"],
.contact-sec table td input[type="email"],
.contact-sec table td input[type="number"],
.contact-sec table td textarea{
    background-color: #f7f7f7;
    border: 1px solid #eee;
    -webkit-appearance: none;
    border-radius: 5px;
    padding: 0 10px;
    box-shadow: none;
}
.contact-sec table td label{
    margin: 0 1em 0 0;
    cursor: pointer;
}
.contact-sec table td input[type="radio"]{
    margin-right: 7px;
    position: relative;
    top: 1px;
}
.contact-sec .text{
    text-align: center;
    margin-bottom: 50px;
}
.contact-sec table td textarea{
    resize: none;
    width: 100%;
    height: 200px;
    padding: 10px;
}
.contact-sec table td span.ad{
    margin-left: 20px;
    display: inline-block;
}
.contact-sec .submit-btn{
    text-align: center;
    margin-top: 70px;
}
.contact-sec .submit-btn input,
.contact-sec .submit-btn input[type="button"]{
    border: 1px solid #231815;
    background-color: #231815;
    color: #fff;
    display: inline-block;
    padding: 15px 80px;
    font-size: 14px;
    box-shadow: none;
    -webkit-appearance: none;
    border-radius: 5px;
    transition: .2s;
    letter-spacing: 0.1em;
}
.contact-sec .submit-btn input:hover{
    background-color: #fff;
    color: #231815;
}
.contact-sec .submit-btn input[type="button"]{
    background-color: gray;
    border: 1px solid gray;
}
.contact-sec .submit-btn input[type="button"]:hover{
    background-color: #fff;
    color: #231815;
}
.contact-sec .error_messe{
    color: red;
}
.contact-sec a{
    color: #231815;
}


@media screen and (max-width: 991px){
    body{
        padding-top: 80px;
    }
    header.header-mobile{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
    }
    #menu-btn:before{
        color: #231815;
    }
    header div#logo img{
        width: 190px;
    }
    #section-welcome-7 .border-deco .item{
        width: 100%;
        padding: 0 20px;
        white-space: normal;
        word-break: break-all;
    }
    header.header-mobile #mainmenu li a{
        color: #231815;
    }
    #menu-btn:hover{
        background-color: #fff;
    }
    header.header-mobile #mainmenu a{
        line-height: 2;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    header #mainmenu a span{
        position: initial;
        line-height: 2;
        display: block;
        text-align: left;
    }
    #section-portfolio .pf_full_width .item {
        float: left;
        width: 100% !important;
    }
    #section-news .news-inner{
        width: 100%;
    }
    #section-steps .de_tab.tab_steps .de_nav li {
        background: none;
        display: inline-block;
        float: none;
        margin: 0 30px 0px 30px;
    }
    .de_tab.tab_steps .flex .text{
        margin: 0 30px;
    }
}

@media screen and (max-width: 767px){
    br.s_block{
        display: block;
    }
    header.header-mobile.height-auto{
        height: 100%;
        overflow-y: scroll;
    }

    /* ABOUT */
    #section-about .img{
        width: 100%;
        height: 60vw;
        position: initial;
    }
    #section-about{
        padding: 50px 0 0;
        display: flex;
        flex-direction: column-reverse;
    }
    #section-attorneys .text-box>div {
        width: 100%;
    }
    section{
        padding: 50px 0;
    }
    .spacer-single{
        display: none;
    }
    #filters {
        margin-bottom: 0;
    }
    #filters li a{
        display: block;
    }
    #filters li{
        display: block;
        margin-right: 0;
    }
    .pf_full_width .item .text{
        height: auto;
        margin-bottom: 10px;
    }
    .pf_full_width .item{
        margin: 0 0 70px;
    }
    .de_tab.tab_steps .de_nav li span{
        margin: 0 auto 20px;
    }
    .de_tab.tab_steps .flex{
        padding-top: 40px;
        margin-top: 30px;
        display: block;
    }
    .de_tab.tab_steps .flex .text{
        margin-bottom: 30px;
    }
    .de_tab.tab_steps .flex .comment{
        margin-top: 0;
        text-align: left;
        font-size: 13px;
    }
    #section-news .news-box .img{
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    #section-news .news-box .text-box{
        width: 100%;
    }
    #section-news .news-box .text-box .date{
        margin-bottom: 5px;
    }
    #section-news .news-box .text-box .news-title{
        font-size: 16px;
        margin-bottom: 10px;
    }
    #section-news .news-box{
        padding: 35px 0;
    }
    #section-contact h3{
        margin-bottom: 10px;
    }
    #section-contact .text{
        margin-bottom: 10px;
    }
    #section-contact .container .col-md-4{
        margin-bottom: 50px;
    }
    #section-information table th{
        font-weight: bold;
        font-size: 15px;
        padding: 20px 0 0;
    }
    #section-information table th, #section-information table td{
        display: block;
        width: 100%;
        border: none;
    }
    #section-information table td{
        padding: 5px 0 20px;
        border-bottom: 1px solid #fff;
        font-size: 14px;
    }
    .googlemaps {
        margin-top: 0px;
    }
    .googlemaps iframe{
        height: 200px;
    }
    .popup-view-content .row{
        padding: 20px 0;
    }
    .popup-view-content .project-info{
        margin-left: 0;
    }
    .popup-view-content .col-md-5{
        margin-bottom: 0;
    }
    #section-news .news-inner{
        width: 100%;
        padding: 0;
    }
    .contact-sec{
        padding: 50px 20px 100px;
    }
    .contact-sec table th, .contact-sec table td{
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    .contact-sec table th{
        padding-bottom: 0;
        border-bottom: none;
    }
    .contact-sec table td{
        padding-top: 10px;
    }
    .contact-sec table td input[type="tel"],
    .contact-sec table td input[type="text"],
    .contact-sec table td input[type="email"],
    .contact-sec table td input[type="number"]{
        width: 100%;
    }
    .contact-sec .submit-btn input, .contact-sec .submit-btn input[type="button"]{
        width: 100%;
        display: block;
        margin: 10px 0;
        padding: 15px 0;
        text-align: center;
    }
    .contact-sec table td input[name="ご年齢"]{
        width: 100px;
    }
    .contact-sec table td textarea{
        height: 150px;
    }
    .contact-sec .text{
        margin-bottom: 30px;
    }
    #section-steps .de_tab.tab_steps .de_nav li{
        margin: 0;
    }
}