@charset "UTF-8";

/*

    YDITS Site

    Copyright (C) よね/Yone

    No modification or reproduction of any kind is permitted.
    改変や複製を一切禁じます。

*/

:root {
    --header-height: 3.5rem;
    --html-font-size: 14px;
    --body-background-color: #ffffffff;
    --body-font-weight: 400;
    --body-font-family: 'Noto Sans JP', sans-serif;
    --body-color: #202020ff;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--html-font-size);
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-background-color);
    font-weight: var(--body-font-weight);
    font-family: var(--body-font-family);
    color: var(--body-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1rem;
    font-weight: unset;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48
}

a.link-button {
    display: inline-block;
    border-radius: calc((2rem + 24px) / 2);
    padding: 1rem 1.5rem;
    background-color: #404040ff;
    font-size: 1rem;
    color: #ffffffff;
    text-decoration: none;

    transition: all .5s;
    user-select: none;
}

a.link-button:hover {
    background-color: #f0f0f0ff;
    color: #202020ff;
    cursor: pointer;
}

a.link-button>.wrapper {
    display: flex;
    align-items: center;
}

a.link-inline {
    color: #40b080ff;
    text-decoration: none;
    cursor: pointer;
}

a.link-inline:hover {
    text-decoration: underline;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: var(--header-height);
    box-shadow: #80808080 0px 0px 2px 2px;

    background-color: #202020ff;
    color: #ffffff;

    user-select: none;
}

header>.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 100%;
    max-width: 1024px;
}

#headerLogo {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-left: 1rem;
    height: 100%;

    padding: 0 1rem;
    text-decoration: none;
}

#headerLogo:hover {
    background-color: #ffffff40;
}

#headerLogo>img {
    height: 2rem;
}

#headerMenuButton {
    position: fixed;
    bottom: 2em;
    right: 2em;

    display: none;
    align-items: center;
    justify-content: center;

    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;

    /* background-color: #e0e0ff; */
    background-color: #ffffffff;
    box-shadow: #80808080 0px 0px 2px 2px;

    z-index: 2;
    cursor: pointer;
    user-select: none;
}

#headerMenuButton span {
    font-size: 2em;
    color: #010101;
}

#headerMenuButton>.close {
    display: none;
}

#headerMenuButton.opened>.open {
    display: none;
}

#headerMenuButton.opened>.close {
    display: block;
}

#headerMenu {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-right: 1em;
    height: 100%;
}

#headerMenu>ul {
    display: flex;
    flex-direction: row;
    align-items: center;

    height: 100%;
}

header nav>ul>li {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 1em;

    height: 80%;
    width: 8em;
    border-radius: .5em;
}

header nav>ul>li:hover {
    background-color: #ffffff40;
}

header nav>ul>li>a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    color: #ffffffff;
    text-decoration: none;
}

main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) * 2);
}

footer {
    background-color: #202020ff;
    color: #ffffffff;
    user-select: none;
}

footer .content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;
}

footer .logo {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;
    padding: 2rem 0;
    text-align: center;
}

footer .logo>img {
    height: 6rem;
    margin-bottom: 2rem;
}

#lang {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5em;

    background-color: #303030ff;
}

#lang>span {
    margin-top: .1em;
    margin-right: .3em;
}

#langSelect {
    border: #808080ff solid 2px;
}

@media (max-width: 768px) {
    #headerMenuButton {
        display: flex;
    }

    #headerMenu {
        position: fixed;
        top: 0;
        left: 100%;

        width: 100vw;

        overflow: auto;
        background-color: #101010;
        z-index: 1;

        transition: all .3s;
    }

    #headerMenu.active {
        left: 0%;
        display: flex;
    }

    #headerMenu>ul {
        flex-direction: column;
        margin-top: 7em;
    }

    #headerMenu>ul>li {
        margin-bottom: 2em;
        width: 80%;
        height: 3em;

        background-color: #ffffff;
    }

    #headerMenu>ul>li:hover {
        background-color: #80808080;
    }

    #headerMenu>ul>li>a {
        color: #202020ff;
    }

    footer .logo>img {
        height: 4em;
    }

}