@charset "utf-8";

/*-------------- width992未満 --------------*/
@media screen and (max-width:991px) {
    /* index company */
    .company dl {
        margin-bottom: 56px;
    }
    
    /* footer */
    #footer::before {
        width: 75%;
        height: 75%;
    }
    .foot_infobox {
        margin-bottom: 56px;
    }
    
    /* contact */
    .mailform dt {
        width: 100%;
        height: 40px;
        margin-right: 0;
        text-align: left;
        padding: 9px;
    }
    .mailform dd {
        width: 100%;
        margin-top: 10px;
    }
    input[type="text"], textarea {
        width: 100% !important;
    }
    
    /* under page */        
    .inbox_nm p {
        font-size: 100%;
        line-height: 2;
    }

    .list_faci {
        margin-bottom: 56px;
    }

    /* privacy */
    .lead_txt {
        text-align: justify;
    }
    #privacy h2 {
        font-size: 1.5rem;
    }
}

/*-------------- width900未満 --------------*/
/* mobilemenu hiden */
@media (min-width:900px) {
    .mobile-menu {
        display: none;
    }
}
/*-----*/

@media screen and (max-width:899px) {
    /* head_inbox */
    .head_inbox {
        display: none;
    }
    /* gnav */
    .gnav {
        display: none;
    }
}

/*-------------- width768未満 --------------*/
@media screen and (max-width:767px) {
    .mess_inbox {
        padding-left: 15px;
    }
    .news dt {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        padding: 1.5rem 1.5rem 0;
        border-bottom: none;
    }
    .news dd {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #808080;
    }
    
    /* footer */
    #footer::before {
        width: 65%;
        height: 65%;
    }
    .foot_infobox p {
        line-height: 2em;
    }
    
    input[type="text"], textarea {
        height: 64px;
    }
    
    /* under page */
    .headline {
        font-size: 6rem;
    }
    .headline span {
        font-size: 2rem;
    }
}

/*-------------- width576未満 --------------*/
@media screen and (max-width:575px) {
    #curtainLeft,
    #curtainRight {
        display: none;
    }
    
    .logo {
        width: 70%;
    }
    
    /* footer */
    #footer::before {
        width: 60%;
        height: 60%;
    }
    .foot_infobox {
        width: 96%;
        margin: 0 auto 56px;
    }
    .foot_inbox {
        width: 96%;
        margin: 0 auto;
    }
    
    /* under page */
    .headline {
        font-size: 15vw;/*5.5rem*/
    }
    .headline span {
        font-size: 5vw;/*1.75rem*/
    }
}

/*-------------- width480以下調整 --------------*/
@media screen and (max-width:479px) {
    /* cover */
    .swiper-wrapper .swiper-slide {
        height: 50vh;
    }
    /* message */
    .ttl_l {
        font-size: 3rem;
    }
    .ttl_l::before {
        left: -180px;
        height: 155px;
    }
    .mess_txt {
        font-size: 1.125rem;
    }
    
    /* footer */
    #footer::before {
        display: none;
    }
}
