@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background: #e6e6e6;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    color: #333;
    line-height: 1;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/*--------------------------------------------------------header*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    background: url("../images/bg_ptn_dot.png");
    padding: 18px 92px;
}

header h1 {
    width: 138px;
}

nav {
    width: calc(100% - 138px);
}

nav ul {
    display: flex;
    justify-content: flex-end;
}

nav li {
    margin-left: 31px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
}

nav li:first-child {
    margin-left: 0;
}

nav li a {
    color: #fff;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* バツ印アニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.overlay.active {
    display: block;
}

/* スクロール禁止時 */
body.no-scroll {
    overflow: hidden;
}

/* スマホ用レイアウト調整 */
@media screen and (max-width:768px) {

    header {
        padding: 16px 40px 16px 28px;
    }

    header h1 {
        width: 118px;
        margin-bottom: 0;
    }

    nav {
        position: fixed;
        top: -100%;
        right: 0;
        width: 100%;
        height: 50vh;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: top 0.3s ease;
        z-index: 10;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        margin-left: 0;
        font-size: 2rem;
    }

    nav li a {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 20px 20px;
        text-align: center;
        border-bottom: 1px solid #555;
    }

    nav.active {
        top: 0;
    }


    .hamburger {
        display: flex;
    }
}


/*--------------------------------------------------------common*/



/*--------------------------------------------------------footer*/
footer {
    background: url("../images/bg_ptn_dot.png");
    padding: 30px 92px 40px;
}

footer ul {
    display: flex;
    margin-bottom: 175px;
}

footer li {
    margin-right: 42px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
}

footer li:last-child {
    margin-right: 0;
}

footer li a {
    color: #fff;
    font-weight: bold;
}

.ftInfo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer small {
    font-size: 1.3rem;
    color: #fff;
}

.ftLogo {
    width: 190px;
}

@media screen and (max-width:768px) {
    footer {
        padding: 75px 16px 10px;
    }

    footer ul {
        display: none;
    }

    .ftInfo {
        flex-direction: column;
        align-items: flex-end;
    }

    .ftLogo {
        width: 108px;
        margin-bottom: 17px;
    }

    .ftInfo small {
        order: 1;
        display: block;
        text-align: center;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }

}
