@charset "UTF-8";

/* 定数の宣言 */
:root {
    /* カラー */
    --color-primary: #0D7073;
    --color-secondary: #B3E5F0;
    /* パディングサイズ */
    --padding-side: 6.4%;
    /* マージンサイズ */
    --margin-side: 6.4%;
    /* フォントサイズ */
    --font-size-normal: 1.6rem;
    --font-size-large: 2.0rem;
    --font-size-xlarge: 2.4rem;
}

/* =========================
Common CSS 
==========================*/
html {
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    font-family:
        'Noto Sans JP',
        Arial,
        sans-serif;
    font-style: normal;
    color: #2f2f2f;
    background-image: url(../images/background.png);
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: lighten;
    background-size: 100%;
    background-repeat: repeat;
    line-height: 1.5;
}

main {
    padding: 0 0 32px;
}

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

/* =========================
Header
==========================*/
.header {
    padding: 24px var(--padding-side) 16px;
}

.header__topic,
.nav__topic {
    width: 60%;
}

/* .nav初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    padding: 24px var(--padding-side);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 66px;
}

.nav__item {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 52px;
}

.nav__item img {
    display: inline-block;
    vertical-align: -3px;
    margin-right: var(--padding-side);
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: var(--padding-side);
}

.nav__btn {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: var(--padding-side);
}

/* .header PC */
@media screen and (min-width: 769px) {
    .header {
        padding: 24px var(--padding-side) 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__topic {
        width: 80%;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__item {
        margin-top: 0;
        color: black;
        font-size: var(--font-size-normal);
        font-weight: 400;
        line-height: 1.3;
        margin-left: 32px;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .header__btn {
        display: none;
    }
}

/* PC 796px */


/* =========================
Footer
==========================*/
.footer {
    width: 100vw;
    padding: 32px 6.4%;
    background: rgba(179, 229, 240, 0.4);
    /* 例: --color-secondaryが #B3E5F0 の場合 */
    z-index: 10;

}

.footer__topic {
    width: 60%;
}

.menu__list {
    margin-top: 32px;
    font-size: var(--font-size-normal);
    line-height: 1.3;
}

.menu__item {
    margin-top: 16px;
}

.sns {
    margin-top: 32px;
    display: flex;
}

.sns__item {
    width: 24px;
    height: 24px;
    margin-right: var(--padding-side);
}

.copy {
    margin-top: 64px;
}

.copy small {
    font-size: 1.2rem;
}

/* footer PC 769px */
@media screen and (min-width: 769px) {
    .footer {
        padding: 64px 60px;
        margin: 0 auto;
    }

    .footer__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu__list {
        margin-top: 0;
        line-height: 1;
        display: flex;
        gap: 32px;
    }

    .menu__item {
        margin-top: 0;
        font-size: var(--font-size-normal);
    }

    .sns {
        justify-content: flex-end;
        margin-top: 0;
    }

    .sns__item {
        margin: 0 0 0 var(--padding-side);
    }

    .copy {
        margin-top: 32px;
    }
}

/* pc 769px */

/* Topに戻る */
.returnTop {
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 100;
}

.topBtn {
    display: inline-block;
    padding: 16px;
    background: rgba(13, 112, 115, 0.8);
    color: white;
    border-radius: 50%;
    font-size: var(--font-size-normal);
    text-align: center;
    transition: background 0.3s;
}

.topBtn:hover {
    opacity: 0.7;
}