@charset "utf-8";

.yusei-magic-regular {
    font-family: "Yusei Magic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.wf-nicomoji {
    font-family: "Nico Moji";
}

body {
    /* 色定義 */
    --color_base_black: black;
    --color_base_black_op80: rgba(0, 0, 0, 0.6);
    --color_base_black_op50: rgba(0, 0, 0, 0.5);
    --color_base_black_op10: rgba(0, 0, 0, 0.1);
    --color_base_black_op0: rgba(0, 0, 0, 0.0);
    --color_base_green: #467860;

    --color_main_white: aliceblue;
    --color_accent_gold: #C0A45B;
    --color_accent_dark_blue: #253135;
    --color_accent_blue: #4978A6;

    --color_text_white: #fff;

    color: --color_main_white;
    font-family: Noto Sans JP, "Nico Moji";
    font-size: 17px;
    font-kerning: auto;

    width: 100%;
    margin: 0 auto;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 32px;
}


/* キーフレームの定義 */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

main {
    --width_main: 80dvw;
    width: var(--width_main);

    margin-top: calc(50px + 1.75rem);
    margin-left: auto;
    margin-right: auto;

}

section {
    margin: 3rem auto;
}

/* header */
header {
    position: fixed;
    width: 100%;
    height: 50px;
    top: 0;
    background-color: var(--color_base_green);

    z-index: 10;
}

.wrapper_global_nav {

    .menu_icon {
        position: absolute;
        width: 40px;
        height: 50px;
        top: 5px;
        right: 10px;
        cursor: pointer;

        z-index: 40;
        display: block;
    }

    .menu_icon span {
        display: block;
        height: 6px;
        margin: 6px 0;
        background: var(--color_main_white);
        border-radius: 2px;
        transition: 0.4s;
    }

    /* ハンバーガーがXに変形 */
    #menu-toggle:checked+.menu_icon span:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
    }

    #menu-toggle:checked+.menu_icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked+.menu_icon span:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
    }

    #menu-toggle:checked~.overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* メニュー本体（右から出す） */
    #global_nav {
        position: absolute;
        display: none;
        top: 50px;
        right: 0;
        width: 100%;
        height: min(100dvh, calc(1rem * 5 + 6rem + 2rem * 5 * 2));
        background: var(--color_base_black_op50);
        backdrop-filter: blur(0.8rem);

        color: var(--color_text_white);

        z-index: 20;

        cursor: pointer;
        user-select: none;

        
        ul {
            list-style: none;
            padding: 6rem 3rem;
        }
        
        a {
            padding: 0.9em;
            margin: 0.1rem 0;
            text-decoration: none;
            display: block;
            font-size: 1rem;
        }

        .global_nav_dd{
            padding-left: 2rem;
        }

        li :hover {
            background-color: var(--color_base_green);
            text-decoration-line: under;
            transition: ease-out 400ms;
        }
    }

    /* #menu-toggle:checked~#gnav_row {
        top: 35px;
        right: 0;
    } */
}


/* footer */
footer {
    display: grid;
    grid-template-rows: auto;
    align-content: center;

    background-color: var(--color_base_green);

    color: var(--color_text_white);
    text-align: center;
}


/* main */
section {
    margin-top: 1rem;
    margin-bottom: 0.75rem;

    .section_title {
        font-family: "Nico moji";
        text-align: center;
    }

    .section_summary {
        text-align: center;
    }
}

.section_link_blocks {
    display: flex;
    margin: 5px auto;

    .section_jumpbox {
        .img_jumpbox {
            width: 10dvw;
            height: 10dvw;

            border-radius: 2em;
            /* transition: filter 0.3s ease, clip-path 0.5s ease; */

            background-image: url(images/dummy.png);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
        }
    }

    .description_jumpbox {
        width: calc(100% - 40dvw);
        padding-left: 1rem;

        h2 {
            display: block;
            color: var(--color_main_white);
            font-size: large;
            font-weight: 500;
            border-bottom: 1px solid var(--color_main_white);
        }

        p {
            padding-top: 0.75em;
            color: var(--color_text_white_main_white);
        }
    }



}

button {
    display: block;
    margin: 0.75em auto;
    padding:1.5em;
    border-radius: 5px;
    background-color: var(--color_accent_dark_blue);
    color: var(--color_text_white);


}


/* SNS */
.section_SNS_links {

    /* background-color: var(--color_base_black_op10); */
    a:hover {
        background-color: black;
        border: 2px solid var(--color_accent_blue);
        border-radius: 100px;
        font-weight: 500;

        cursor: pointer;
    }
}

.link_SNS {
    display: grid;
    width: 12em;
    height: calc(3em + 4px);
    margin: 10px auto;
    align-items: center;

    background-color: var(--color_accent_dark_blue);
    border: 2px solid var(--color_accent_gold_dark_blue);
    border-radius: 100px;
    color: var(--color_text_white);

    transition: background-color 380ms ease;

}

.name_SNS {
    font-family: "Nico moji";
    text-align: center;
}