@charset "utf-8";

@media screen and (max-width: 1440px) {
    :root{
        --wrap: 1200px;
    }


    /* COMMON */
    .title-en{
        font-size: 52px;
    }
    .top-business__grid-item__text{
        font-size: 22px;
    }
    .top-recruit__en{
        font-size: 56px;
    }
    .top-recruit__text{
        font-size: 26px;
    }
    .top-company{
        padding-top: 160px;
    }
    .common-page__mv__titleimg img{
        height: 46px;
    }
    .common-page__mv__titleimg{
        margin-bottom: 20px;
    }
    .common-page__mv__title{
        font-size: 20px;
    }
    .common-menus li a{
        font-size: 16px;
    }
    .common-menus li a::after{
        height: 32px;
    }


    /* COMPANY */
    .company-vision__middlebox__title{
        font-size: 46px;
    }
    .company-vision__middlebox__text{
        font-size: 16px;
    }
    .company-vision__box__inner{
        padding-bottom: 100px;
    }
    .company-vision--maintext{
        font-size: 18px;
        margin-bottom: 150px;
    }
    .company-history__li__big__date em{
        font-size: 70px;
    }
    .company-history__li__big__date{
        font-size: 32px;
        line-height: 70px;
    }
    .company-history__li__big__text{
        font-size: 26px;
    }
    .company-history__li__year{
        font-size: 24px;
        line-height: 24px;
        width: 140px;
    }
    .company-history__li__month{
        font-size: 16px;
        width: 40px;
    }
    .company-history__li__text{
        font-size: 16px;
    }
    .company-history__bottomtext{
        font-size: 42px;
        margin-top: 100px;
    }


    /* OUR BUSINESS */
    .business-article__title{
        font-size: 30px;
    }
    .businews-article__subtitle{
        font-size: 22px;
    }
    .business-article__text{
        font-size: 16px;
    }
    

    /* RECRUIT */
    .recruit-culture__maintitle{
        font-size: 32px;
    }
    .recruit-culture__maintext{
        font-size: 18px;
    }
    .recruit-culture__section{
        padding-top: 150px;
    }
    .recruit-culture__article:not(:last-of-type){
        margin-bottom: 60px;
    }
}


@media screen and (max-width: 1199px) {
    :root{
        --wrap: 100%;
        --space: 20px;
    }
    .wrap,
    #footer .wrap{
        padding: 0 20px;
    }
}



@media screen and (max-width: 991px) {
    :root{
        --font-md: 16px;
        --padding: 100px;
    }

    body{
        min-width: 320px;
    }

    /* HEADER */
    #header{
        padding: 10px 20px;
    }
    #header .header-logo img{
        display: block;
        width: 140px;
    }
    #header .header-menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 0;
        opacity: 0;
        transition: var(--transition);
        visibility: hidden;
        pointer-events: none;
        padding-top: 100px;
    }
    #header.open .header-menu{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    #header .header-menu ul{
        display: block;
        text-align: center;
    }
    #header .header-menu ul.sin-ul > li > a{
        display:inline-block;
        padding:10px 30px;
        /*
        margin-bottom: 20px;
        */
    }
    #header.wh .header-menu ul.sin-ul > li > a{
        color: var(--base-color);
    }
    #header .header-menu ul.sin-ul{
        display: block;
    }
    #header.wh.open .header-logo img {
        -webkit-filter: initial;
        -moz-filter: initial;
        -o-filter: initial;
        -ms-filter: initial;
        filter: initial;
    }
    #header .header-logo{
        position: relative;
        z-index: 1;
    }
    .nav-toggle{
        display: block;
        position: relative;
        width: 23px;
        height: 16px;
        z-index: 1;
    }
    .nav-toggle span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--base-color);
        transition: var(--transition);
    }
    #header.wh .nav-toggle span{
        background-color: #fff;
    }
    #header.wh.open .nav-toggle span{
        background-color: var(--base-color);
    }
    .nav-toggle span:nth-of-type(1){
        top: 0;
    }
    .nav-toggle span:nth-of-type(2){
        top: 7px;
    }
    .nav-toggle span:nth-of-type(3){
        top: 14px;
    }
    .open .nav-toggle span:nth-of-type(1){
        transform: translateY(7px) rotate(45deg);
    }
    .open .nav-toggle span:nth-of-type(2){
        opacity: 0;
    }
    .open .nav-toggle span:nth-of-type(3){
        transform: translateY(-7px) rotate(-45deg);
    }
    body.page-recruit #header .header-menu li a{
        color: var(--base-color);
    }


    /* FOOTER */
    #footer{
        margin-top: 0;
    }
    #footer .footer-text{
        text-align: center;
    }
    #footer .footer-tel a{
        margin: 0 auto;
    }
    #footer .footer-flex{
        display: block;
    }
    #footer .footer-flex__box{
        text-align: center;
        margin-bottom: 30px;
    }
    #footer .footer-flex__menu ul{
        justify-content: center;
    }
    #footer .footer-flex__menu-text{
        text-align: center;
    }
    #footer .footer-copyright{
        text-align: center;
    }



    /* TOP */
    .mv-box{
        display: block;
        padding: 0 20px;
        position: initial;
        transform: initial;
    }
    .mv-box__lead{
        font-size: 46px;
        margin-bottom: 40px;
    }
    .mv{
        height: auto;
        margin-bottom: 0;
        padding: 200px 0 var(--padding);
    }
    .top-company{
        background: url(img/frontpage/company-bg.webp) no-repeat center top / cover;
        height: auto;
        padding: var(--padding) 0 34vw;
        margin-bottom: 0;
    }
    .mv-box__lead,
    .mv-box__text{
        opacity: 1;
        transform: initial;
    }
    .mv-bg{
        height: 100%;
    }
    .mv-company-bg{
        display: none;
    }
    .mv-text{
        display: none;
        top: 50%;
        height: 100%;
    }
    .mv-text__vertical{
        height: 100%;
    }
    .top-company__inner{
        opacity: 1;
    }
    .top-business__wave{
        height: 28vw;
    }
    .top-business{
        background-position-y: 13vw;
        padding: 36vw 0 var(--padding);
        margin-top: -30vw;
    }
    .top-business__flex{
        display: block;
    }
    .top-business__flex-title, .top-business__flex-box{
        width: 100%;
    }
    .top-recruit{
        height: 500px;
        padding-top: 100px;
    }
    .top-recruit__label{
        margin-bottom: 50px;
    }
    .top-recruit__en{
        font-size: 32px;
    }
    .top-recruit__text{
        font-size: 18px;
        margin-bottom: 30px;
    }


    /* PAGE */
    .common-page__mv__titleimg img{
        height: 26px;
    }
    .common-page__mv__titleimg{
        margin-bottom: 10px;
    }
    .common-page__mv__title{
        font-size: 14px;
        gap: 10px;
    }
    .common-page__mv__title::before{
        width: 20px;
    }
    .common-mv{
        margin-top: -2vw;
    }


    /* COMPANY */
    .common-page__mv::before{
        top: 12vw;
        width: 100%;
        height: 21vw;
    }
    .company-vision{
        margin-top: -2vw;
    }
    .common-page__mv,
    .common-page__mv.mini-pagemv{
        height: auto;
        overflow: initial;
    }
    .company-vision__box{
        margin-top: -13vw;
    }
    .company-vision__box__inner{
        margin-top: -8vw;
        padding: 15vw 0 100px;
    }
    .company-vision__title--text{
        font-size: 30px;
        margin-top: -10px;
    }
    .company-vision__middlebox__title{
        font-size: 30px;
    }
    .company-vision__box__inner::before{
        height: 100%;
    }
    .company-message{
        padding: var(--padding) 0;
    }
    .company-message__flex{
        display: block;
    }
    .company-message__flex__title{
        width: 100%;
        margin-bottom: 40px;
    }
    .company-message__flex__content{
        width: 100%;
    }
    .company-overview{
        margin-bottom: 0;
    }
    .company-overview__flex{
        display: block;
    }
    .company-overview__flex__content{
        width: 100%;
        padding: var(--padding) 0;
    }
    .company-overview__flex__img{
        width: 100%;
    }
    .company-overview__flex__img img{
        height: auto;
    }
    .company-overview__content__inner{
        padding: 0 20px;
    }
    .commonbg-top{
        height: 39vw;
        background-size: 100%;
    }
    .commonbg-inner{
        top: 38vw;
        height: calc(100% - 39vw);
    }
    .company-history{
        margin-top: -7vw;
    }
    .company-overview__map{
        margin-top: 60px;
    }
    .company-overview__map iframe{
        height: 300px;
        vertical-align: bottom;
    }
    .company-history__bottomtext{
        font-size: 32px;
        margin-top: 60px;
    }
    .company-history__li__big__date em{
        font-size: 40px;
    }
    .company-history__li__big__date{
        font-size: 20px;
    }
    .company-history__ul{
        padding-left: 60px;
    }
    .company-history__li__big::before{
        left: -46px;
        width: 14px;
        height: 14px;
        outline-offset: 8px;
        top: 12px;
    }
    .company-history__li::before{
        left: -45px;
        width: 12px;
        height: 12px;
        top: 8px;
    }
    .company-history__li__big__text{
        font-size: 20px;
    }
    .company-history__li__year{
        font-size: 20px;
        width: 110px;
        line-height: 26px;
    }
    .company-history__li__month{
        font-size: 14px;
    }
    .company-history__li__text{
        font-size: 14px;
        padding-left: 20px;
    }
    .company-history__li__text{
        padding-left: 0;
        margin-top: 5px;
        width: 100%;
    }
    

    /* BUSINESS */
    .business-menu{
        padding: 60px 0;
    }
    .business-article__flex__content{
        width: 100%;
        margin-bottom: 30px;
    }
    .business-article__flex__img{
        width: 100%;
        text-align: center;
    }
    .business-ships,
    .company-history,
    .recruit-entry{
        padding: 130px 0;
    }


    /* RECRUIT */
    .recruit-culture__flex{
        display: block;
    }
    .recruit-culture__flex__slider{
        width: 100%;
    }
    .recruit-culture__flex__content{
        width: 100%;
    }
    .recruit-culture__section{
        padding: 100px 0 0;
    }
    .recruit-culture__flex__content__inner{
        padding: 0 20px;
    }
    .recruit-entry{
        padding-top: 0;
    }
    .recruit-culture__slider{
        min-height: initial;
    }
    .recruit-entry__box{
        margin: 0 20px;
    }


    /* CONTACT */
    .common-page__mv.mini-pagemv .common-page__mv__title{
        font-size: 24px;
    }
    .page-content{
        padding-top: 40px;
    }
    .page-content__editor>p{
        font-size: 14px;
    }
    .form-box{
        margin-top: 60px;
    }
    .form-dls>dl{
        display: block;
    }
    .form-dls>dl>dt{
        width: 100%;
        margin-bottom: 15px;
    }
    .form-dls>dl>dd{
        width: 100%;
        padding: 0;
    }
    .form-dls>dl>dt>span{
        font-size: 14px;
    }
    .page-content__editor{
        padding-bottom: 130px;
    }
}


.sp_only{
    display:none;
}
@media screen and (max-width: 767px) {
    .sp_only{
        display:block;
    }
    :root {
        --font-md: 14px;
        --padding: 60px;
    }
    p{
        font-size: 14px;
    }
    .title{
        margin-bottom: 30px;
    }
    .title-en{
        font-size: 22px;
    }
    .title-text span::before{
        width: 15px;
        margin-right: 8px;
        top: -1px;
    }
    .title-text span{
        font-size: 12px;
    }
    .view-more a{
        width: 100%;
        height: 55px;
        line-height: 55px;
        font-size: 14px;
    }
    .view-more a::after{
        width: 50px;
    }
    .view-more a::before{
        right: 32px;
    }


    /* HEADER */
    #header{
        height: 60px;
    }
    body.home #header:not(.open) .header-logo img{
        -webkit-filter: brightness(0) grayscale(100%) invert(1);
        -moz-filter: brightness(0) grayscale(100%) invert(1);
        -o-filter: brightness(0) grayscale(100%) invert(1);
        -ms-filter: brightness(0) grayscale(100%) invert(1);
        filter: brightness(0) grayscale(100%) invert(1);
    }
    body.home #header:not(.open) .nav-toggle span{
        background-color: #fff;
    }
    #header .header-logo img{
        width: 110px;
    }


    /* FOOTER */
    #footer{
        padding-bottom: 20px;
    }
    #footer .footer-text{
        text-align: left;
    }
    #footer .footer-tel a{
        font-size: 24px;
        height: 68px;
        gap: 20px;
        padding: 0;
        justify-content: center;
    }
    #footer .footer-tel a span img{
        width: 24px;
    }
    #footer .footer-flex__box-logo img{
        width: 140px;
    }
    #footer .footer-flex__box-address{
        margin-top: 20px;
    }
    #footer .footer-flex__menu ul{
        gap: 20px;
    }
    #footer .footer-flex__menu ul li a{
        font-size: 14px;
    }
    #footer .footer-flex__menu-blank::after{
        width: 14px;
        height: 14px;
        position: relative;
        top: 2px;
    }
    #footer .footer-flex__menu-text a{
        font-size: 12px;
    }
    #footer .footer-flex{
        padding-top: 30px;
        margin-top: 30px;
    }
    #footer .footer-flex__box-address br.s-up{
        display: block;
    }

    

    /* TOP */
    .mv{
        padding: 140px 0 var(--padding);
    }
    .mv-box__lead{
        font-size: 30px;
    }
    .top-company__lead{
        font-size: 20px;
    }
    .top-business__flex-box__lead{
        font-size: 18px;
    }
    .top-company{
        padding-bottom: 37vw;
    }
    .top-business__grid{
        grid-template-columns: repeat(1,1fr);
        gap: 30px;
    }
    .top-business__grid-item__text{
        font-size: 18px;
        margin-top: 15px;
        line-height: 35px;
        height: 35px;
    }
    .top-business__grid-item__text::before{
        width: 50px;
    }
    .top-business__grid-item__text::after{
        right: 18px;
    }
    .top-recruit__en{
        font-size: 22px;
    }
    .top-recruit__text{
        font-size: 14px;
    }


    /* PAGE */
    .common-page__mv{
        padding-top: 0;
    }
    .common-page__mv__titleimg img{
        height: 20px;
    }
    .breadcrumb{
        margin-bottom: 25px;
    }
    .common-page__mv__title{
        font-size: 12px;
    }
    .common-page__mv::before{
        /*
        top: 20vw;
        */
        top:88px;
    }
    .company-vision__title--text{
        font-size: 20px;
        margin-top: 0;
        line-height: 1.6;
    }
    .company-vision__title{
        margin-bottom: 20px;
    }
    .company-vision--maintext{
        font-size: 14px;
        margin-bottom: 80px;
        text-align: left;
    }
    .company-vision--maintext br{
        display: none;
    }
    .company-vision__entitle{
        padding-bottom: 24px;
        margin-bottom: 36px;
    }
    .company-vision__middlebox__title{
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .company-vision__middlebox__text{
        font-size: 14px;
        line-height: 1.8;
        text-align: left;
    }
    .common-sectitle--jp{
        font-size: 12px;
        gap: 8px;
        margin-top: 3px;
    }
    .common-sectitle--jp::before{
        width: 15px;
    }
    .company-message__img{
        margin-top: 0;
    }
    .company-message__signature{
        font-size: 12px;
        gap: 15px;
    }
    .company-message__signature img{
        width: 100px;
    }
    .company-message__content__text{
        margin-bottom: 20px;
    }
    .company-infos{
        margin-top: 0;
    }
    .company-infos>dl{
        padding: 20px 0;
        display: block;
    }
    .company-infos>dl>dt{
        width: 100%;
        padding-bottom: 5px;
        font-size: 14px;
    }
    .company-infos>dl>dd{
        width: 100%;
        font-size: 14px;
    }
    .company-history__title{
        margin-bottom: 50px;
    }
    .company-history__li__big__date em{
        font-size: 22px;
    }
    .company-history__li__big__date{
        font-size: 12px;
        line-height: 40px;
    }
    .company-history__li__big__text{
        font-size: 16px;
    }
    .company-history__li__big{
        margin-bottom: 30px;
    }
    .company-history__li__year{
        font-size: 16px;
        width: 85px;
    }
    .company-history__li__month{
        font-size: 12px;
    }
    .company-history__bottomtext{
        font-size: 16px;
        margin-top: 40px;
    }
    .business-ships, .company-history, .recruit-entry{
        padding: 80px 0;
    }


    /* BUSINESS */
    .common-menus li a{
        font-size: 13px;
        padding-right: 70px;
    }
    .common-menus li a::after{
        width: 40px;
        height: 24px;
    }
    .common-menus li a::before{
        right: 34px;
    }
    .common-menus{
        display: block;
    }
    .common-menus li{
        margin-bottom: 10px;
    }
    .common-menus li:last-child{
        margin-bottom: 0;
    }
    .business-article{
        padding-top: var(--padding);
    }
    .business-article__title{
        font-size: 20px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    .business-article__title::after{
        width: 32px;
        height: 6px;
    }
    .businews-article__subtitle{
        font-size: 18px;
    }
    .business-article__text{
        font-size: 14px;
    }
    .business-article__text br{
        display: none;
    }
    .business-cargos{
        margin-top: 60px;
    }
    .business-cargos__title{
        font-size: 18px;
    }
    .business-cargos__box{
        border-radius: 10px;
        padding: 30px 20px 20px;
        border-width: 1px;
    }
    .business-mainsec{
        padding-bottom: var(--padding);
    }
    .business-ships__table{
        margin-top: 0;
    }
    .business-ships__table__title{
        font-size: 13px;
    }
    .business-ships__table__tablewrap table{
        table-layout: fixed;
    }
    .business-ships__table__tablewrap table thead th,
    .business-ships__table__tablewrap table tbody td{
        font-size: 12px;
        padding: 10px 5px;
    }
    .business-ships__table__tablewrap table thead th{
        width: calc((100% - 110px) / 3);
    }
    .business-ships__table__tablewrap table thead th:first-child{
        width: 110px;
    }


    /* RECRUIT */
    .recruit-concept__text{
        font-size: 14px;
        line-height: 2.5;
    }
    .recruit-concept{
        min-height: initial;
        padding: var(--padding) 0;
    }
    .recruit-culture__section{
        padding: var(--padding) 0 0;
    }
    .recruit-culture__maintitle{
        font-size: 20px;
        padding-bottom: 20px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    .recruit-culture__maintext{
        font-size: 14px;
    }
    .recruit-culture__article__content{
        width: 100%;
        margin-bottom: 30px;
    }
    .recruit-culture__article__img{
        width: 100%;
        text-align: center;
    }
    .recruit-culture__article{
        display: block;
    }
    .recruit-culture__article__title--text{
        font-size: 18px;
        margin-top: 5px;
        line-height: 1.6;
    }
    .recruit-infographics{
        padding: 100px 0;
    }
    .recruit-infographics__img{
        overflow-x: scroll;
    }
    .recruit-infographics__img img{
        /*
        width: 500px;
        max-width: 500px;
        */
        width:100%;
    }
    .recruit-entry__box__inner{
        padding: 60px 20px;
    }
    .recruit-entry__subtitle{
        font-size: 16px;
    }
    .recruit-entry-link__text img{
        width: 20px;
    }
    .recruit-entry-link__text{
        font-size: 22px;
    }
    .recruit-entry__links li a{
        width: 100%;
    }
    .recruit-entry__links{
        display: block;
    }


    /* CONTACT */
    .common-page__mv.mini-pagemv .common-page__mv__title{
        font-size: 18px;
    }
    .form-box>h2{
        font-size: 18px;
    }
    .form-dls>dl>dt,
    .form-dls>dl>dd{
        font-size: 14px;
    }
    .form-dls>dl>dt>span{
        font-size: 12px;
        width: 50px;
        height: 25px;
    }
    .submit-area input{
        width: 100%;
        height: 55px;
        font-size: 16px;
    }
}
