@charset "utf-8";

/* !!! НЕ ПРАВИТЬ РУКАМИ: файл сгенерирован из public_html/assets/css/common.css скриптом scratch/build-sustainability-css.py (rem->px, обёртка div.ccm-page) */

html {
    font-size: 62.5%;
}

body {
    font-family:
        "Noto Sans JP",
        serif,
        Arial,
        sans-serif;
    font-style: normal;
    color:rgba(65, 49, 49, 1);
    background-color:#EBEEEA;
    font-size: 14px;
    line-height: 2.0;
}

div.ccm-page {
*,*::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 13px 7.7%;
    background-color: #ffffff;
}

.pclogo {
    display: none;
}

.splogo {
    display: block;
    width: 160px;
    height: auto;
}

.toplink {
    display: inline-block;
    line-height: 1;
    vertical-align: top;
    text-decoration: none;
}

.nav {
    background:rgba(255,255,255,0.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform .4s;
    padding: 13px 7.7%;
}

.nav.active {
    transform: translateX(0);
}

.nav__header {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    text-align: center;
}

.nav__btn,
.header__btn {
    width: 18px;
}

.nav__list {
    display: block;
    color: #006A6C;
    font-family: 'Noto Serif JP';
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    padding: 60px 0;
}

.nav__item {
    text-decoration: none;
    position: relative;
    margin-top: 40px;
    white-space: nowrap;
    text-align: center;
}

.nav__item::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 2%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #006A6C;
    border-right: 1px solid #006A6C;
    transform: rotate(45deg);
}

.nav__item:first-of-type {
    margin-top: 0;
}

.header__btn {
    display: block;
    width: 20px;
    position: relative;
    transition: all .5s;
}

.btn__line {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #222;
    z-index: 100;
    transition: all .5s;
}

.btn__line:first-of-type {
    position: absolute;
    top: 0;
}

.btn__line:nth-of-type(2) {
    position: absolute;
    top: 5px;
}

.btn__line:last-of-type {
    position: absolute;
    bottom: 0;
}

.header__btn.active .btn__line:first-of-type {
    transform: translateY(5px) rotate(-45deg);
}

.header__btn.active .btn__line:nth-of-type(2) {
    opacity: 0;
}

.header__btn.active .btn__line:last-of-type {
    transform: translateY(-5px) rotate(45deg);
}

.top__btn {
    display: inline-block;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 10px 30px;
    box-sizing: border-box;
    border-radius: 9999px;
    color: #FFF;
    transition: .4s;
    position: relative;
    margin: 30px 22%;
    border: solid 1px currentColor;
}

.t_btn::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 15px;
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: 2px;
}

.footer {
    background-color: #ffffff;
}

.footer__pclogo {
    display: none;
}

.footer__menu {
    padding: 18px 5.1%;
    background-color: #F4F4F4;
}

.menu__list {
    color: #222;
    margin: 18px 5.1% 30px;
    display: block;
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.menu__list::before {
    content: "";
    position: absolute;
    top: 58%;
    right: 2%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    transform: rotate(45deg);
    margin-top: -5px;
}

.copy {
    color: #222;
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
}

@media screen and (min-width: 769px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 119px;
        z-index: 100;
        /* justify-content: space-between; */
    }

    .splogo {
        display: none;
    }

    .pclogo {
        display: block;
        width: 86px;
        height: 100%;
    }

    .nav__header,
    .header__btn {
        display:none;
    }

    .nav {
        background-color: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
        margin-left: auto;
    }

    .nav__list {
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }

    .nav__item {
        position: relative;
        text-decoration: none;
        white-space: nowrap;
        margin: 0;
        margin-left: 70px;
        color: #413131;
        font-size: 16px;
        font-weight: 700;
    }

    .nav__item::before {
        display: none;
    }

     .nav__item::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 1px;
        background: #006A6C;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
        }

    .nav__item:hover {
        color: #006A6C;
        }

    .nav__item:hover::after {
        transform: scaleX(1);
        }


    .top__btn {
        font-size: 16px;
        padding: 10px 30px;
        margin: 100px 36%;
    }

    .t_btn::before {
        top: 25px;
    }

    .t_btn:hover {
        transform: scale(1.1);
    }


 
    .footer__group {
        display: flex;
        justify-content: space-between;
        background-color: #f4f4f4;
        padding: 35px 3.5%;
    }

    .footer__pclogo {
        display: block;
        height: 28px;
    }

    .footer__menu {
        display: flex;
        padding: 0;
        background-color: #F4F4F4;
    }

    .menu__list {
        margin: 0;
        margin-left: 70px;
        display: block;
        border-bottom:none;
    }

    .menu__list:first-of-type {
        margin-left: 0;
    }

    .menu__list::before {
        display: none;
    }

    .copy {
        background-color: #ffffff;
    }
}
}

@keyframes fadeup {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
    }

@keyframes scroll-left {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-100%);
        }
    }
