@charset "UTF-8";

@media screen and (max-width: 1440px) {
    :root{
        --wrap: 1200px;
    }
    .top-people__inner{
        padding: var(--padding) var(--space) calc(var(--padding) * 0.625) var(--space);
    }
}
@media screen and (max-width: 1280px) {
    :root{
        --wrap: 100%;
        --space: 20px;
    }

    .wrap{
        padding: 0 20px;
    }


    /* MV */
    .mv-news{
        max-width: 450px;
        padding: 20px 30px;
    }
}
@media screen and (max-width: 991px) {
    :root{
        --padding: 100px;
    }

    body{
        min-width: 320px;
    }
    .pc-none{
        display: block;
    }
    .tb-none{
        display: none;
    }
    .title{
        margin-bottom: 60px;
    }
    .flex-content{
        display: block;
    }
    .flex-content__side-title__text{
        padding-left: 0;
        writing-mode: initial;
    }
    .flex-content__side-title__en{
        margin-bottom: 10px;
    }
    .flex-content__main{
        padding-top: 60px;
        max-width: 100%;
    }


    /* HEADER */
    #header{
        padding: 20px;
        align-items: center;
    }
    .header-logo{
        position: relative;
        z-index: 1;
    }
    .header-logo img{
        width: 200px;
    }
    .header-menu{
        opacity: 0;
        transition: var(--transition);
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: block;
        text-align: center;
        padding: 140px 20px 40px;
        overflow-y: scroll;
        max-height: 100vh;
        overscroll-behavior: none;
    }
    #header.over:not(.open),
    #header.open{
        background-color: #fff;
        padding: 10px 20px;
    }
    #header.over .header-logo img,
    #header.open .header-logo img{
        width: 140px;
    }
    .nav-toggle-wrap{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--text-color);
        position: relative;
        z-index: 1;
    }
    .nav-toggle{
        width: 14px;
        height: 11px;
        position: relative;
    }
    .nav-toggle span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #fff;
        transition: var(--transition);
    }
    .nav-toggle span:nth-of-type(1){
        top: 0;
    }
    .nav-toggle span:nth-of-type(2){
        top: 5px;
    }
    .nav-toggle span:nth-of-type(3){
        top: 10px;
    }
    .open .nav-toggle span:nth-of-type(1){
        top: 5px;
        transform: rotate(45deg);
    }
    .open .nav-toggle span:nth-of-type(2){
        opacity: 0;
    }
    .open .nav-toggle span:nth-of-type(3){
        top: 5px;
        transform: rotate(-45deg);
    }
    #header.open .header-menu{
        opacity: 1;
        visibility: visible;
    }
    #header.over .header-menu nav,
    .header-menu nav{
        border: none;
        background-color: transparent;
        padding: 0;
    }
    .header-menu ul{
        flex-direction: column;
        gap: 25px;
    }
    .header-menu__btn{
        margin-top: 120px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }
    .header-menu__btn-item a{
        height: 70px;
        line-height: 70px;
        position: relative;
        width: 100%;
    }
    .header-menu__btn-item a::before{
        content: "";
        width: 14px;
        height: 11px;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: url(../img/common/icon-arrow-wh.svg) no-repeat center center / contain;
    }


    /* FOOTER */
    #footer{
        margin-top: 90px;
    }
    .footer-flex{
        gap: 30px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .footer-flex__btn{
        max-width: 100%;
    }
    .footer-content{
        padding: 60px 0;
        display: block;
    }
    .footer-content__info{
        display: block;
        text-align: center;
        margin-bottom: 60px;
    }
    .footer-content__info-address{
        display: block;
        text-align: center;
    }
    .footer-content__info-address__text,
    .footer-content__info-address__map{
        margin-top: 10px;
    }
    .footer-content__link-flex{
        justify-content: center;
    }
    .footer-content__link-copy{
        text-align: center;
    }


    /* MV */
    .mv-news{
        display: none;
    }
    .mv-intro__text{
        transform: initial;
        top: auto;
        bottom: 90px;
        left: 20px;
        text-align: center;
    }
    .mv-content__flex{
        display: block;
        padding: 0 20px;
        height: auto;
    }
    .mv-content__flex-lead{
        top: 0;
    }
    .mv-content__flex-text{
        bottom: 0;
        margin-top: 60px;
    }


    /* TOP ABOUT */
    .top-about__flex{
        display: block;
    }
    .top-about__flex-box{
        margin-bottom: 60px;
    }


    /* TOP PEOPLE */
    .top-people__grid-item__thumb-lead span{
        font-size: 12px;
    }
    .top-people__grid-item__thumb-lead{
        padding: 0 20px 20px;
    }
    .top-people__grid-item__meta{
        padding: 10px 10px 0;
    }
    .top-people__flex, .top-data__flex{
        display: block;
    }
    .top-people{
        padding-left: 20px;
    }


    /* TOP COMPANY DATA */
    .top-data__illust{
        top: calc((var(--padding) * -1) - 35px);
    }
    .top-data__illust img{
        width: 140px;
    }
    .top-people__flex-text, .top-data__flex-text{
        text-align: left;
    }
    .top-data__grid{
        grid-template-columns: repeat(2,1fr);
    }


    /* TOP REQUIREMENTS */
    .top-requirements__grid{
        grid-template-columns: repeat(2,1fr);
    }
    .top-requirements__grid-item__box-ttl{
        padding-left: 0;
    }


    /* MODAL */
    #modal{
        max-width: calc(100% - 40px);
    }
    .modal-content__inner{
        padding: 80px 40px;
    }
}


@media screen and (max-width: 767px) {
    br.s-up{
        display: block;
    }
    
    .title-en{
        line-height: 1.2;
        margin-bottom: 20px;
    }

    /* HEADER */
    .header-logo::before{
        width: calc(100% + 60px);
        height: calc(100% + 60px);
    }
    #header.over .header-logo::before{
        opacity: 0;
    }


    /* FOOTER */
    .footer-flex{
        gap: var(--padding);
    }
    .footer-flex__btn-item a{
        line-height: 70px;
        text-align: left;
        padding-left: 30px;
    }
    .footer-flex__btn-item a::before{
        right: 20px;
    }
    .footer-flex__box-en{
        font-size: 60px;
        line-height: 1.2;
    }
    .footer-flex__box-text{
        margin-top: 20px;
    }
    .footer-content__link-flex{
        gap: 10px 20px;
    }
    



    /* MV */
    .mv-intro__text{
        left: 0;
        padding: 0 20px;
        width: 100%;
    }
    .mv-intro__text span{
        font-size: 56px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .mv-content__flex-lead{
        font-size: 32px;
    }


    /* TOP ABOUT */
    .top-about__flex-content__item-flex__box .top-about__flex-content__item-flex__box-text{
        display: none;
    }
    .top-about__flex-content__item-flex__box-btn{
        display: block;
        margin-top: 35px;
    }
    .top-about__flex-content__item-flex__box-btn .top-about__flex-content__item-flex__box-btn__toggle{
        display: none;
    }
    .top-about__flex-content__item-flex__img{
        max-width: 50.746%;
    }
    .top-about__flex-content__item-flex__box{
        max-width: 49.254%;
        padding-right: 30px;
        display: block;
    }
    .top-about__flex-content__item-flex__box-btn__link a span{
        display: none;
    }
    .top-about__flex-content__item-hidden__schedule{
        padding: 40px 20px;
    }
    .top-about__flex-content__item-hidden__schedule-list dl dt,
    .top-about__flex-content__item-hidden__schedule-list dl dd{
        display: block;
        width: 100%;
    }
    .top-about__flex-content__item-hidden__schedule-list dl dd{
        margin-top: 10px;
    }
    .top-about__flex-content__item-hidden__schedule-list dl dd span.mb-0{
        margin-bottom: 0;
    }
    .top-about__flex-content__item-sp{
        display: block;
    }
    .top-about__flex-content__item-flex__box-text{
        text-align: left;
        margin-top: 40px;
    }
    .top-about__flex-content__item-flex__box-text br{
        display: none;
    }
    .top-about__flex-content__item-flex__box-text span{
        display: block;
    }
    .top-about__flex-content__item-flex__box-btn__toggle{
        margin-top: 40px;
    }
    .top-about__flex-content__item-hidden{
        padding-top: 40px;
    }
    .top-about__flex-content__item-flex__box-name{
        font-size: 16px;
    }



    /* TOP PEOPLE */
    .top-people__grid{
        grid-template-columns: repeat(1,1fr);
    }
    .top-people__grid-item__thumb-lead span{
        font-size: 17px;
    }
    .top-people__grid-item__thumb-lead{
        padding-bottom: 50px;
    }
    .top-people__grid-item__meta{
        padding: 20px 20px 0;
    }
    .top-data__grid{
        grid-template-columns: repeat(1,1fr);
    }
    .top-data__grid-item__data{
        padding-left: 0;
        display: block;
    }
    .top-data__grid-item{
        height: 210px;
    }
    .top-data__grid-item__data-icon{
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .top-data__grid-item__att{
        position: initial;
        margin-top: 8px;
    }
    .top-data__grid-item__data-text.adjust{
        margin-top: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .top-data__grid-item__data-text.adjust .top-data__grid-item__data-text__elm{
        font-size: 17px;
    }
    .top-data__grid-item__data-text.adjust .top-data__grid-item__data-text__elm span{
        font-size: 45px;
    }
    .top-data__grid-item__data-text.adjust .top-data__grid-item__data-text__elm small{
        font-size: 17px;
    }
    .top-data__grid-item__data-text__elm:not(:first-child){
        margin-top: 0;
        margin-left: 20px;
    }
    .top-data__grid-item__data-icon img{
        width: 70px;
    }
    .padding-top-half{
        padding-top: var(--padding);
    }


    /* TOP OUTLINE */
    .top-outline__cont dl dt,
    .top-outline__cont dl dd{
        max-width: 100%;
    }
    .top-outline__cont dl dd{
        padding-left: 20px;
        margin-top: 10px;
    }
    .top-outline__cont-map{
        margin-left: 0;
    }
    .top-outline__more a{
        max-width: 100%;
    }


    /* TOP REQUIREMENTS */
    .top-requirements__grid{
        grid-template-columns: repeat(1,1fr);
    }
    .top-requirements__grid-item__img{
        width: 130px;
    }
    .top-requirements__grid-item__box{
        width: calc(100% - 130px);
    }
    .top-requirements__grid-item__box-num{
        margin-bottom: 5px;
    }



    /* TOP NEWS */
    .top-news__cont-box__date{
        max-width: 100%;
    }
    .top-news__cont-box__item{
        max-width: 100%;
        padding-left: 20px;
        margin-top: 5px;
    }


    /* MODAL */
    .modal-content__ttl{
        font-size: 22px;
    }
    .modal-content__inner{
        padding: 80px 20px;
    }
    .modal-content__data dl dt{
        width: 100%;
    }
    .modal-content__data dl dd{
        width: 100%;
        margin-top: 10px;
        padding-left: 20px;
    }
    .modal-content__close.top{
        width: 30px;
        height: 30px;
    }
    .modal-content__close.top span{
        display: none;
    }
    .modal-content__close.top::before{
        transform: translate(-50%,-50%);
        top: 50%;
        left: 50%;
        right: auto;
    }
    .modal-content__close.bottom{
        position: relative;
        max-width: 100%;
        margin-top: 30px;
        right: auto;
        bottom: auto;
    }
}