@media(min-width:1000px){
    .home-about .main-title{
        margin-left: 45px;
    }
}
@media(min-width:768px){
    .box-point-right::after{
        width: calc(50VW + 70PX);
    }
    #home-news .main-title-en{
        font-size: 57px;
    }
    #home-news .main-title-jp{
        margin-top: 20px;
    }
    #home-news a.btn.btn-main span{
        min-width: 208px;
        min-height: 56px;
    }
    #home-news a.btn.btn-main span::after{
        width: 35px;
        height: 28px;
    }
    #home-news .news-item.item-list{
        padding-right: 65px;
    }
    .home-link .main-title.white .main-title-en{
        font-size: 56px;
    }
    .home-footer-left{
        padding-bottom: 20px;
    }
    body:not(.home) .title-faci{
        font-size: 17px;
    }
    body.page-news:not(.page-recruit) .title-en{
        position: relative;
        top: 25px;
    }
    .button-contact-left{
        padding-left: 45px;
    }
}
body.single-post .page-navi::after{
    height: 2px;
    background-color: #333;
}
.underline{
    position: relative;
}
.underline::after{
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
  background: linear-gradient(90deg,rgba(0, 0, 239, 1) 0%, rgba(254, 0, 0, 1) 100%);
}
body.home .box-faci-inner .img-faci{
    height: 230px;
    overflow: hidden;
    border-radius: 10px;
}
body.home .box-faci-inner .img-faci img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}
body.home .box-faci:hover img{
    transform: scale(1.1);
}
body.home footer .footer,
body.page-about footer .footer{
    margin-top: 0;
}
.home-link .main-title.white .main-title-jp{
    margin-top: 0;
    letter-spacing: 0.05em;
}
.box-menu-btn-top a *{
    transition: all 0.5s;
}
.box-menu-btn-top a:hover *{
    opacity: 0.6;
}
@media(max-width:1391px) and (min-width:768px){
    .banner-home::before{
        left: -100px;
    }
}
@media(max-width:1330px) and (min-width:768px){
    .header-main .main-menu .nav>li{
        margin-right: 20px;
    }
    .header-inner{
        padding-left: 15px;
    }
    .header-main .main-menu .nav>li:last-child{
        margin-right: 20px;
    }
}
@media(max-width:1250px) and (min-width:768px){
    .header-main .main-menu .nav>li{
        margin-right: 10px;
    }
    .header-main .main-menu .nav>li>a span{
        font-size: 14px;
    }
    .headrer-main .main-menu .nav>li:last-child{
        margin-right: 10px;
    }
    .img-btn-menu{
        font-size: 14px;
    }
    .img-btn-menu img{
        width: 20px;
    }
    a.btn.btn-menu{
        width: 135px;
        height: 80px;
    }
}
@media(max-width:1110px) and (min-width:768px){
    .header-main .logo-left .logo{
        width: 180px;
    }
    .banner-home::before{
        left: -202px;
    }
    a.btn.btn-menu{
        width: 106px;
    }
    a.btn.btn-menu > span{
        font-size: 16px;
    }
}
@media(max-width:930px) and (min-width:768px){
    .header-main .main-menu .nav>li>a span{
        font-size: 12px;
    }
    .header-main .logo-left .logo{
        width: 145px;
    }
    .banner-home::before{
        left: -225px;
    }
}
@media(max-width:850px) and (min-width:768px){
    li.nav-item.nav-home{
        display: none;
    }
    .img-btn-menu{
        gap: 5px;
    }
    .img-btn-menu{
        font-size: 12px;
    }
    .img-btn-menu img{
        font-size: 15px;
    }
    a.btn.btn-menu{
        width: 95px;
    }
    .box-menu-btn-top{
        gap: 5px;
    }
}
.box-link-social{
    flex-shrink: 0;
}
@media(max-width:1200px) and (min-width:768px){
    .box-link-social{
        width: 280px;
    }   
    .home-footer-right{
        padding-left: 20px;
    }
}
@media(max-width:1050px) and (min-width:768px){
    .home-footer-right::after{
        left: -10px;
    }
    .home-footer-right::after{
        font-size: 14px;
    }
    .box-link-social{
        width: 209px;
    }
    a.btn.btn-social{
        padding: 0 30px 0 10px;
        font-size: 15px;
        gap: 10px;
    }
    a.btn.btn-social::after{
        right: 10px;
    }
}
a.link-footer{
    width: fit-content;
    position: relative;
    word-break: keep-all;
}
a.link-footer:before{
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #333;
    left: 0;
    width: 0;
    transition: all 0.5s;
}
a.link-footer:hover{
    opacity: 1;
}
a.link-footer:hover:before{
    width: 100%;
}
@media(max-width:768px){
    
    body.home .box-faci-inner .img-faci{
        height: 160px;
    }
    .slide-faci button.slide-arrow{
        top: 63px;
    }
    .box-recruit-left h3{
        font-size: 15px;
    }
    .news-item.item-list::after{
        bottom: 18px;
    }
    .home-footer-right a.btn.btn-social{
        width:250px
    }
}

.main-video video {
    width: auto;
    height: auto;
    min-height: 878px;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-video {
    width: 100%;
    height: 900px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

.main-video::after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;

    content: '';
}
.main-video{
    z-index: -2;
}
.banner-home::after{
display: none;
}
.box-link-social a:hover{
    opacity: .6;
}
ul.tabs-nav li.active , ul.tabs-nav li:hover{
    color: #E81C24;
}
ul.tabs-nav li.tab-group-2.active , ul.tabs-nav li.tab-group-2:hover{
    color: #bc272d
}
ul.tabs-nav li.tab-group-3.active , ul.tabs-nav li.tab-group-3:hover{
    color: #ec5a24
}
ul.tabs-nav li.tab-group-4.active , ul.tabs-nav li.tab-group-4:hover{
    color: #39b04a;
}
ul.tabs-nav li.tab-group-5.active , ul.tabs-nav li.tab-group-5:hover{
    color: #00a498;
}
ul.tabs-nav li.tab-group-6.active , ul.tabs-nav li.tab-group-6:hover{
    color: #00a498;
}
ul.tabs-nav li.tab-group-7.active , ul.tabs-nav li.tab-group-7:hover{
    color: #0071B7;
}
ul.tabs-nav li.tab-group-8.active , ul.tabs-nav li.tab-group-8:hover{
    color: #2E318D;
}
@media(max-width: 767px) {
    .box-link-social-fixed{
        display: none;
    }
    .menu-open .menu-pc{
        overflow: auto;
    }
    .main-video video {
        min-height: 561px;
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .main-video {
        height: 537px;
    }
    .header-wrapper .header-main .main-menu .nav>li>a, .header-wrapper .header-main .main-menu .nav>li>.toggle-hd{
        letter-spacing: 0.05em;
    }
    a.btn.btn-menu{
        width: 270px;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 11px 0 rgba(106,136,145,0.45);
    }
    
    .page-news .page-navi::after{
        height: 1px;
    }
    .button-contact-left a{
        width: fit-content;
        margin: auto;
    }
    
    .underline::after{
        bottom: -6px;
    }
    body.error404 a.btn.btn-main span{
        min-width: 208px;
        padding-left: 43px;
    }
}
.text-toggle-right p{
    text-align: justify;
}
@media(min-width:1800px){
    .banner-home::before{
        width: 1900px;
        background-image: url(../images/index/after-banner-large.png);
    }
    #banner-home::after{
        width: calc(50vw - 950px);
    }
    .home-about::after{
        width: 1900px;
        background-image: url(../images/index/after-banner-large-2.png);
    }
}
@media(min-width:1481px){
    body.home .box-link-social-fixed{
        right: calc(50vw - 740px);
    }
.home-about  .before:before{
    content: "";
    width: 25%;
    height: 283px;
    background: white;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -3;
}
}
@media(min-width:1290px){
   .title-1948{
    position: relative;
    width: 590px;
   }
}
.recruit-list .news-item.item-list{
    padding-left: 142px;
    padding-top: 35px;
    padding-bottom: 35px;
}
.recruit-list .news-item.item-list .title{
    min-height: 64px;
}
.recruit-list .news-item.item-list a.post_thumb{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 124px;
    height: 124px;
}
.recruit-list .news-item.item-list a.post_thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

@media(min-width:768px){
    
    .slider-wrapper{
        position: absolute;
        width: calc(50vw + 155px);
        right: 0;
    }
    .slider-wrapper .slide-item{
        width: 100%;
        height: 562px;
    }
    .slider-wrapper .slide-item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
.slide-about-left ul.slick-dots{
    transform: none;
    bottom: -30px;
    left: unset;
    right: 35px;
}
.img-history img{
    border-radius: 20px;
}
@media (max-width: 767px){
    
    .recruit-list .news-item.item-list a.post_thumb{
        width: 70px;
        height: 70px;
    }
    .recruit-list .news-item.item-list{
        padding-bottom: 10px;
        padding-top: 10px;
        padding-left:85px;
    }
    .recruit-list .news-item .date{
        margin-bottom: 5px;
    }
    .slide-about-left {
        padding-bottom: 20px;
    }
    
    .slide-about-left ul.slick-dots{
        bottom: 3px;
        right: 15px;
    }
    .slide-about-left ul.slick-dots li{
        margin: 0 3px;
    }
    .img-history img{
        border-radius: 10px;
    }
}
.box-link-social-fixed{
    display: none;
}