@charset "utf-8";

/* ===================================================
   Header (共通ヘッダー)
=================================================== */
#cs header {
    border-top: 0px;
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    margin-bottom: 0px;
    z-index: 1;
    padding: 10px 0px 0px 0px;
}

ul.home_menu {
    display: flex;
    width: 100%;
    font-weight: 350;
    list-style-type: none;
    padding: 10px 0px 0px 0px;
    flex-direction: row;
}

ul.home_menu li {
    width: 47%;
    color: #595959;
    padding: 0px 10px 0px 10px;
}

ul.home_menu a {
    display: block;
    font-size: 100%;
    font-weight: 350;
    color: #595959;
    float: right;
    padding: 0px 0px 0px 0px;
    text-decoration-style: solid;
    text-decoration-line: underline;
}

.home s a img {
    width: 306px;
    height: auto;
    padding: 20px 0px 0px 0px;
}

#menu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px 0px 0px;
}

#menu li {
    display: block;
    float: left;
    width: 20%;
    margin: 0;
    padding: 0;
    color: #000;
}

#menu li a {
    font-size: 120%;
    display: block;
    padding: 10px 0px 10px 0px;
    background-color: #FFF;
    text-align: center;
    text-decoration-style: solid;
    text-decoration-line: underline;
}

#menu li:last-child a {
    border: none;
}

.toggle_wrap {
    display: none;
}

/* ===================================================
   Loading Screen (ローディング画面)
=================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 5s ease;
}

#loading-screen img {
    width: 280px;
    height: auto;
    padding: 30px 0px 0px 0px;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ===================================================
   Footer (共通フッター)
=================================================== */
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    font-size: 80%;
    text-align: left;
    margin-top: 40px;
    list-style-type: none;
    padding: 10px 10px 15px 10px;
    background-color: #FFF;
}

footer s1 img {
    width: 30px;
    height: auto;
    padding: 0px 0px 0px 20px;
}

footer s2 img {
    width: 30px;
    height: auto;
    padding: 0px 10px 0px 10px;
}

footer s3 img {
    width: 30px;
    height: auto;
    padding: 0px 10px 0px 10px;
}

footer b {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 95%;
    font-weight: 300;
    color: #595959;
    float: right;
    padding: 10px 30px 0px 0px;
}

#footer-mobile {
    display: none;
}

/* ===================================================
   Responsive (max-width: 2000px)
=================================================== */
@media only screen and (max-width: 2000px) {
    #cs header {
        padding: 0px 0px 0px 0px;
    }

    ul.home_menu {
        font-size: 100%;
    }

    ul.home_menu li {
        width: 47%;
        color: #595959;
    }

    ul.home_menu a {
        padding: 0px 0px 0px 0px;
    }

    .home s a img {
         width: 306px;
        height: auto;
        padding: 0px 0px 0px 0px;
    }

    #menu {
        width: 90%;
        padding: 5px 0px 10px 0px;
    }

    #menu li a {
        color: #000;
        padding: 0px 0px 10px 0px;
    }

    #loading-screen img {
        width: 280px;
        height: auto;
        padding: 30px 0px 0px 0px;
    }

    #footer {
        height: 40px;
        margin-top: 50px;
        padding: 0px 10px 0px 10px;
        background-color: transparent;
    }

    footer s1 img {
        max-width: 30px;
        width: 2.5%;
        padding: 0px 0px 50px 10px;
    }

    footer s2 img {
        max-width: 30px;
        width: 2.5%;
        padding: 0px 5px 50px 5px;
    }

    footer s3 img {
        max-width: 30px;
        width: 2.5%;
        padding: 0px 5px 50px 5px;
    }

    footer b {
        font-size: 100%;
        padding: 10px 20px 0px 0px;
    }
}

/* ===================================================
   Responsive (max-width: 835px)
=================================================== */
@media only screen and (max-width: 835px) {
    ul.home_menu {
        font-size: 70%;
    }

    .home s a img {
        width: 60%;
        height: auto;
        padding: 10px 0px 0px 0px;
    }

    #menu {
        width: 100%;
    }

    #menu li {
        width: 20%;
    }

    #menu li a {
        font-size: 100%;
        padding: 7px 0 7px;
    }

    #loading-screen img {
        width: 160px;
        height: auto;
        padding: 80px 0px 20px 0px;
    }

    footer s1 img {
        max-width: 20px;
        width: 3.5%;
        padding: 0px 0px 0px 3px;
    }

    footer s2 img {
        max-width: 20px;
        width: 3.5%;
        padding: 0px 3px 0px 0px;
    }

    footer s3 img {
        max-width: 20px;
        width: 3.5%;
        padding: 0px 3px 0px 3px;
    }

    footer b {
        font-size: 70%;
    }
}

/* ===================================================
   Responsive (max-width: 480px)
=================================================== */
@media only screen and (max-width: 480px) {
    ul.home_menu {
        font-size: 70%;
        padding: 10px 0px 0px 10px;
    }

    ul.home_menu li {
        width: 100%;
        padding: 0px 10px 0px 0px;
    }

    ul.home_menu a {
        padding: 0px 10px 0px 0px;
        color: #595959;
    }

    .home s a img {
        width: 95%;
        padding: 10px 0px 0px 0px;
    }

    .toggle_wrap {
        display: block;
    }

    .toggle_switch {
        position: relative;
        cursor: pointer;
        padding: 10px 0px 15px 0px;
    }

    .toggle_switch::after {
        content: "";
        display: inline-block;
        width: 18px;
        height: 11px;
        background: no-repeat center center;
        background-size: contain;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
        transition: transform .2s;
    }

    .toggle_switch.open::after {
        transform: rotateZ(180deg);
        top: 46%;
    }

    .toggle_switch h3 {
        font-size: 110%;
    }

    .toggle_contents {
        display: none;
        text-align: center;
        padding: 20px 0px 0px 0px;
    }

    #menu-box {
        display: none;
    }

    #loading-screen img {
        width: 140px;
        height: auto;
        padding: 0px 0px 35px 0px;
    }

    #footer {
        height: 15px;
        margin-top: 0px;
        padding: 0px 0px 15px 0px;
    }

    footer s1 img,
    footer s2 img,
    footer s3 img,
    footer b {
        display: none;
    }

    p.side_text {
        font-size: 11px;
        color: #595959;
        display: inline-block;
        width: 50px;
        margin-left: 5px;
        vertical-align: top;
        text-decoration-style: solid;
        text-decoration-line: underline;
    }

    footer b1 {
        font-size: 10px;
        font-weight: 300;
        color: #595959;
        float: right;
        padding: 0px 10px 0px 0px;
    }

    #footer-mobile {
        display: block;
        padding: 0px 0px 0px 0px;
        font-size: 70%;
        font-weight: 300;
        color: #595959;
    }

    .js-modal__btn {
        color: #595959;
        cursor: pointer;
        padding: 10px 10px 0px 10px;
    }

    .material-icons {
        position: relative;
        top: -6px;
        display: inline-block;
    }

    .js-modal__bg {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        display: none;
    }

    .js-modal__main {
        width: calc(100%);
        height: 80%;
        text-align: center;
        padding: 16px 0px 0px 0px;
        bottom: -81%;
        left: 0;
        background: #fff;
        border-radius: 4px 4px 0 0;
        position: fixed;
        z-index: 11;
        opacity: 0;
    }

    .js-modal__main a {
        padding: 0px 15px 0px 15px;
    }

    .js-modal__btn--close {
        font-size: 180%;
        margin-top: 20px;
        text-align: center;
        text-decoration: underline;
        color: #767676;
    }

    .js-modal__btn--close--fix {
        width: 30px;
        height: 30px;
        background: #333;
        border-radius: 50%;
        position: absolute;
        top: -50px;
        right: 5px;
        z-index: 101;
        cursor: pointer;
    }

    .js-modal__btn--close--fix:before {
        content: "";
        width: 20px;
        height: 20px;
        border-right: 3px solid #cccccc;
        transform: rotate(-45deg);
        position: absolute;
        top: 12px;
        left: -3px;
    }

    .js-modal__btn--close--fix:after {
        content: "";
        width: 20px;
        height: 20px;
        border-right: 3px solid #cccccc;
        transform: rotate(45deg);
        position: absolute;
        top: -2px;
        left: -3px;
    }

    @keyframes SlideUp {
        0% { opacity: 0; transform: translateY(-1%); }
        100% { opacity: 1; transform: translateY(-30%); }
    }

    @keyframes SlideDown {
        0% { opacity: 1; transform: translateY(-30%); }
        100% { opacity: 0; transform: translateY(-1%); }
    }

    .js-modal__main._slideUp {
        animation: SlideUp .5s ease-in-out forwards;
    }

    .js-modal__main._slideDown {
        animation: SlideDown .5s ease-in-out forwards;
    }
}

/* ===================================================
   Responsive (max-width: 320px)
=================================================== */
@media only screen and (max-width: 320px) {
    .home s a img {
        width: 153px;
        height: auto;
        padding: 5px 0px 0px 0px;
    }

    .toggle_switch {
        padding: 5px 0px 10px 0px;
    }

    #menu li a {
        padding: 10px 0px 10px;
    }

    #loading-screen img {
        width: auto;
        height: 100px;
        padding: 0px 0px 25px 0px;
    }
}
