/*--slider--*/

#MainImage{
    width: 100%;
    height: calc(100vh - 60px);
}

#MainImage .maininner{
    max-width: 1000px;
    height: calc(100vh - 60px);
    margin: 0 auto;
    position: relative;
}

#MainImage .inner{
    width: 50%;
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
}

.MainText{
    color: #fff;
    font-size: 3.8em;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
}

.author{
    font-size: 1.8em;
    color: #fff;
    font-weight: 700;
    margin: 40px 0 0;
}

.mask-bg {
    color: transparent;
    display: inline-block;
    font-weight: bold;
    overflow: hidden;
    position: relative;
    transition: color 0ms 450ms;
  }
  /* linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%) */
  .mask-bg::after {
    background: #fff;
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(0, 100%);
  }

  .mask-bg.is-animated {
    color: #fff;
  }
  .mask-bg.is-animated::after {
    animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
  }

  @keyframes mask-bg {
    0% {
      transform: translate(-101%,0)
    }
    40%, 60% {
      transform: translate(0, 0%)
    }
    100% {
      transform: translate( 101%,0)
    }
  }

/*--スクロールダウン--*/
.scrollspace{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.mouse {
    width: 40px;
    height: 70px;
    border: 3px solid #fff;
    border-radius: 60px;
    position: relative;
}

.mouse::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 2s infinite;
    -webkit-animation: wheel 2s infinite;
  }

  @keyframes wheel {
    to {
      opacity: 0;
      top: 60px;
    }
  }
  @-webkit-keyframes wheel {
    to {
      opacity: 0;
      top: 60px;
    }
  }

  @keyframes scroll {
    0% {
      height: 40px;
    }
    30% {
      height: 70px;
    }
    60% {
      height: 40px;
    }
  }
  @-webkit-keyframes scroll {
    0% {
      height: 40px;
    }
    30% {
      height: 70px;
    }
    60% {
      height: 40px;
    }
  }

/*--more--*/

.moreBtn a{
    display: block;
    margin: 60px 0 0;
    text-align: right;
    padding: 0 110px 5px 0;
    color: #8e9094;
    transition: .3s;
    position: relative;
    font-size: 1.6em;
}

.moreBtn a:hover{
    transform: translateX(-10px);
}

.arrow:before, .arrow:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    height: 1px;
    transition: .3s;
}
.arrow:before, .arrow:after {
    background: #8e9094;
    right: 40px;
}
.arrow:before {
    width: 90px;
    transform: translate(30px, 0px);
}
.arrow:after {
    width: 10px;
    transform-origin: right center;
    transform: translate(30px, 0px) rotate(25deg);
}

/*--装飾大きいタイトル--*/

.dec-title{
    font-family: 'Roboto',sans-serif;
    font-size: 14em;
    font-style: italic;
    color: #f3f4f6;
    display: block;
}

/*--message--*/

.message{
    padding: 100px 0;
}

.message .dec-title{
    position: relative;
}

.messageBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.messageBox li{
    width: 50%;
}

.messageBox .unitCatch{
    font-size: 2.4em;
    font-style: italic;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.messageImage{
    max-width: 460px;
    margin: 0 0 0 auto;
}

.messageBox .text{
    font-size: 1.4em;
    margin: 40px 0 0;
    line-height: 2;
}

.messageBox .boss{
    font-size: 1.6em;
    margin: 30px 0 0;
}

.messageBox .bossname{
    font-size: 2.4em;
}

.messageBox .bossname .gana{
    display: block;
    font-size: 12px;
    color: #8e9094;
}

/*--実績--*/

.achieve{
    background:#001546;
}

.achieve .achievebk{
    background: url(../images/top/achievement_bk.jpg) top left no-repeat;
}

.achieve .inner{
    padding: 70px 0;
}

.achieve .achieveBox{
    max-width: 680px;
    margin: 0 0 0 auto;
}

.achieve .achieve_ttl{
    color: #fff;
    font-size: 3em;
    position: relative;
}

.achieve .achieve_ttl::after{
    content: "";
    display: block;
    height: 1px;
    width: 78%;
    background: #fff;
    top: 50%;
    right: 15px;
    position: absolute;
}

.achieve .achieve_catch{
    font-size: 2em;
    color: #fff;
    margin: 40px 0;
}

.achieve .achieve_number{
    display: flex;
    /* justify-content: space-between; */
}

.achieve .achieve_number li{
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.achieve .achieve_number li p{
    width: 100%;
    text-align: center;
}

.achieve .item-title{
    font-size: 1.8em;
    color: #fff;
    letter-spacing: 0.1em;
}
.achieve .item-num span{
    display: inline-block;
}
.achieve .item-num .count-number{
    font-size: 10em;
    font-family: 'Roboto',sans-serif;
    line-height: 1;
    color: #fff;
    font-feature-settings: "smcp" 1;
}

.achieve .item-num .unit{
   font-size: 2.4em;
   line-height: 1;
   color: #fff;
   text-align: left;
}

/*--END実績--*/


/*--取扱分野--*/

.field .inner{
    padding: 100px 0 60px;
}
.field .dec-title{
    position: absolute;
    display: block;
    right: 20px;
    z-index: -1;
}

.sub-title{
    text-align: center;
    font-size: 2.2em;
    color: #8895ad;
    position: relative;
}

.sub-title span{
    position: relative;
    display: inline-block;
    padding: 0 40px;
}
.sub-title span::after,
.sub-title span::before{
   content: "";
   width: 20px;
   height: 1px;
   display: inline-block;
   background: #8895ad;
   position: absolute;
   top: 50%;
}
.sub-title span::after{
    right: 0;
}
.sub-title span::before{
    left: 0;
}

.main-title{
    text-align: center;
    font-size: 3em;
    font-weight: 600;
}

.field .field-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0 0;
}

.field .field-list:before{
    content: "";
    display: block;
    width: 23%;
    max-width: 270px;
    order: 1;
}

.field .field-list::after{
    content: "";
    display: block;
    max-width: 270px;
    width: 23%;
}

.field .field-list li{
    max-width: 270px;
    width: 23%;
    padding: 20px;
    background: #fff;
	box-shadow: 0 0 20px #ebeef1;
    margin: 0 0 40px;
}

.field .field-list li .above{
    text-align: center;
}

.field .field-list li .above img{
    width: 60%;
    display: block;
    margin: 0 auto;
}

.field .field-list li h3{
    font-size: 1.8em;
    font-weight: 500;
    margin: 0 0 20px;
}

.field .field-list li .bottom .btn a{
    display: block;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg,#35a6cb,#36599d,#35a6cb);
    border-radius: 3px;
    font-size: 1.4em;
    padding: 15px 0;
    line-height: 1;
    transition: all 0.7s ease-out;
    background-size: 300% 100%;
}

.field .field-list li .bottom .btn a:hover{
    background-position: 100% 0;
}

.field .field-list li .bottom .textbox{
    font-size: 1.4em;
    margin: 20px 0;
}

.field .field-list li .bottom .textbox .example{
    color: #8895ad;
    display: block;
}

/*--END取扱分野--*/

/*--所属弁護士--*/

.attorney {
background:#f3f4f6
}

.attorney .inner{
    padding: 100px 0;
}

.attorney .main-title,
.attorney .sub-title{
    position: relative;
    z-index: 1;
}

.attorney .dec-title{
    position: absolute;
    display: block;
    left: 20px;
    z-index: 0;
    color: #fff;
}

.attorney-listbox{
    overflow-x: scroll;
    overflow-y: hidden;
}

.attorney-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 40px 0 20px;
    position: relative;
    width: 125%;
}

.attorney-list .attorney-item{
    max-width: 350px;
    width: 30%;
    background: #fff;
    padding: 20px;
    border-top:3px solid #8895ad;
}

.attorney-list .attorney-item .position{
    color: #001546;
    display: inline-block;
    margin: 0 0 15px;
    font-weight: 500;
}

.attorney-list .attorney-item .position,
.attorney-list .attorney-item .name{
    font-size: 1.6em;
}

.attorney-list .attorney-item .name .kana{
    color: #8e9094;
    display: inline-block;
    margin: 0 0 0 20px;
}

.attorney-list .attorney-item .text{
    margin: 20px 0 0;
    font-size: 1.4em;
}

.attorney-list .attorney-item .text .pro{
    display: block;
    color: #8895ad;
}

.attorney .detial {
    margin: 60px 0 0;
}

.attorney .detial a{
    display: block;
    max-width: 220px;
    text-align: center;
    background: linear-gradient(90deg,#35a6cb,#36599d,#35a6cb);
    font-size: 1.4em;
    line-height: 1;
    padding: 13px 0;
    color: #fff;
    border-radius: 3px;
    margin: 0 auto;
    transition: all 0.7s ease-out;
    background-size: 300% 100%;
}

.attorney .detial a:hover{
    background-position: 100% 0;
}
.career{
    margin: 10px 0 0;
}
.career li{
    width: 100%;
    margin: 0 0 10px;
}
.career li p{
    font-size: 1.3em;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.career li .date{
    width: 25%;
    font-size: 1.2em;
}
.career li .event{
    width: 70%;
    padding: 0 0 0 5px;
}

::-webkit-scrollbar {/*縦方向スクロールバーの幅*/
    width: 5px;
}
::-webkit-scrollbar:horizontal {/*横方向スクロールバーの高さ*/
    height: 5px;
}
::-webkit-scrollbar-track {/*スクロールバーの軌道*/
    background: #f3f4f6;
}
::-webkit-scrollbar-thumb {/*つまみの部分*/
    border-radius: 10px;
    background: #ebeef1;
}

/*Firefox*/
.attorney-list{/*適用させる箇所のID, クラスに置き換えてください*/
    scrollbar-width: thin;/*細さ(幅・高さ両方に適用)*/
    scrollbar-color: #ebeef1 #f3f4f6;/*つまみの色 軌道の色*/
}



/*----*/

/*--ニュース--*/
.news .inner{
    padding: 100px 0;
}
.news .dec-title{
    position: absolute;
    display: block;
    right: 20px;
    z-index: -1;
}

.news .newsbox{
    background: #fff;
    box-shadow:0 0 20px #ebeef1;
    margin: 40px 0 0;
    padding: 30px 50px 50px;
    height: 200px;
    overflow-y: auto;
}
.news .newslist li{
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
}
.news .newslist .date,
.news .newslist .text{
    display: inline-block;
    letter-spacing: 0.1em;
}

.news .newslist .date{
    font-family: 'Roboto',sans-serif;
    font-size: 1.6em;
    color: #001546;
    font-weight: 600;
    margin: 0 50px 0 0;
}

.news .newslist .text{
    font-size: 1.4em;
}


.news .newsbox::-webkit-scrollbar {/*縦方向スクロールバーの幅*/
    width: 5px;
}
.news .newsbox::-webkit-scrollbar:horizontal {/*横方向スクロールバーの高さ*/
    height: 5px;
}
.news .newsbox::-webkit-scrollbar-track {/*スクロールバーの軌道*/
    background: #fff;
}
.news .newsbox::-webkit-scrollbar-thumb {/*つまみの部分*/
    border-radius: 10px;
    background: #ebeef1;
}

/*Firefox*/
.news .newsbox {/*適用させる箇所のID, クラスに置き換えてください*/
    scrollbar-width: thin;/*細さ(幅・高さ両方に適用)*/
    scrollbar-color: #ebeef1 #fff;/*つまみの色 軌道の色*/
}

/*動画*/
.movie{
    margin: 80px auto 0;
    width: 100%;
    max-width: 850px;
}
  
.movie .movie-block {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%;
  }

  .movie .movie-block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }



@media screen and (max-width:820px){

    .message .inner{
        padding: 0 20px;
    }
    .attorney .inner{
        padding: 70px 0;
    }
    .field .inner{
        padding: 70px 0 30px;
    }
    .achieve .inner,
    .news .inner{
        padding: 70px 15px;
    }

    #MainImage .inner{
        width: 60%;
        right: 50%;
        top: 50%;
        transform: translate(50% , -50%);
    }

    .MainText{
        font-size: 3.4em;
    }

    .messageBox li{
        width: 80%;
        margin: 0 auto;
    }
    .messageImage{
        margin: 40px auto 0;
    }

    .messageBox .bossname .gana{
        display: inline-block;
        margin: 0 0 0 10px;
    }
    .achieve .achieveBox{
        margin: 0 auto;
    }
    .achieve .achieve_catch{
        font-size: 1.6em;
    }
    .achieve .item-title{
        width: 100%;
        text-align: center;
    }
    .achieve .achieve_number{
        flex-wrap: wrap;
    }
    .achieve .achieve_number li{
        width: 100%;
    }
    .achieve .achieve_number li:first-child{
        margin: 0 0 40px;
    }

    .field .dec-title{
        top: 10%;
    }
    .field .field-listBox{
        overflow-x: scroll;
    }
    .field .field-list{
        width: 220%;
        padding: 0 15px;
    }

    .attorney-list .attorney-item{
        width: 24%;
        padding: 20px;
    }

    .attorney-list .attorney-item .name .kana{
        display: block;
        margin: 0;
    }

    .career li .event,
    .career li .date{
        width: 100%;
    }

    .news .newslist .date{
        margin: 0 0 10px;
        display: block;
    }

    .movie .movie-block {
        width: 100%;
        height: auto;
        aspect-ratio: 850 / 478;
        padding-bottom:0;
      }
    
      .movie .movie-block iframe{
        width: 100%;
        height: auto !important;
        aspect-ratio: 850 / 478;
      }

}

@media screen and (max-width:480px){

    .dec-title{
        font-size: 8em;
    }
    #MainImage .inner{
        width: 90%;
        top: 40%;
    }

    .messageBox li{
        width: 100%;
    }

    .achieve .achieve_ttl::after{
        width: 60%;
    }

    .field .field-list{
        width: 400%
    }

    .field .field-list li{
        width: 15%;
        padding: 15px;
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
        margin: 0 0 20px;
    }

    .field .field-list li h3{
        font-size: 1.6em;
    }

    .field .field-list li .bottom .textbox{
        margin: 10px 0;
        font-size: 1.3em;
    }
    .field .field-list:before,
    .field .field-list::after{
        width: 15%;
    }

    .sub-title{
        font-size: 1.4em;
    }

    .main-title{
        font-size: 2.4em;
    }



    .attorney-listbox{
        overflow-y: scroll;
    }

    .attorney-list{
        width: 320%;
        padding: 0 15px;
    }
    

    .news .newsbox{
        padding: 10px 20px 30px;
        height: 300px;
        overflow-y: auto;
    }

}

@media screen and (max-width:375px){

    .author{
        font-size: 1.5em;
    }

    .field .field-list{
        width: 460%;
    }

    .MainText{
        font-size: 3.3em;
    }
}

@media screen and (max-width:360px){

    .MainText{
        font-size: 3.2em;
    }
}


@media screen and (max-width:280px){
    .dec-title{
        font-size: 6em;
    }
    .MainText{
        font-size: 2.5em;
    }

    .author{
        font-size: 1em;
    }

    .achieve .achieve_ttl{
        font-size: 2.4em;
    }
    .achieve .item-num .count-number{
        font-size: 7em;
    }
    .achieve .item-title{
        font-size: 1.6em;
    }
    .achieve .item-num .unit{
        font-size: 1.4em;
    }
    .achieve .achieve_ttl::after{
        right: 0;
    }
}
