@charset "utf-8";

/*フォント読み込み*/
@font-face {
    font-family: 'hudeen';
    src: url('/include/fonts/HudeEn.woff') format('woff');
}
@font-face {
    font-family: 'simple';
    src: url('/include/fonts/simple.woff') format('woff');
}
@font-face {
    font-family: 'big-sans';
    src: url('/include/fonts/BigSans.woff') format('woff');
}


/*全体の設定----------------------------------------------------*/

*
{
    padding: 0;
    margin: 0;
}

body
{
    width: 100%;
    min-width: 300px;
    min-height: 100vh;
    background-color: var(--gray);
    font-family:"Sawarabi Gothic", "simple", "Noto Sans JP", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
    font-size: 12px;
    color: var(--dark);
    box-sizing: border-box;
    overflow-x: hidden;
}


/*フォントサイズ*/
h1{font-size: 5rem; font-family: "simple"; padding: 1.2rem 0 0.8rem 0;}
h2{font-size: 3rem; font-family: "simple"; margin: 0.5rem 0;}
h3{font-size: 1.6rem; font-family: "simple"; margin: 1.6rem 0 1rem 0;line-height: 1.5;}
p{font-size: 1rem; margin: 0.2rem 0; line-height: 2;}

main section.t
{
    padding: 0.5rem 0;
}

/*色の設定*/
:root
{
    --dark: rgb(20, 20, 20);
}
:root
{
    --gray: rgb(248, 248, 248);
}
:root
{
    --white: rgb(255, 255, 255);
}
:root
{
    --yellow: rgb(203, 224, 13);
}
:root
{
    --red: rgb(219, 16, 33);
}
:root
{
    --green: rgba(12, 207, 175, 0.582);
}

/*メイン要素をヘッダー分下げる*/
main
{
    top: 56px;
}

/*スクロールバーデザイン------------------------------------------------*/
::-webkit-scrollbar {
    width: 0.4vw;
    height: 0.5vw;
}
::-webkit-scrollbar-track {
    background-color: var(--gray);
}
::-webkit-scrollbar-thumb {
    background-color: var(--dark);
    border-radius: 0.25vw;
}


.article-header
{
    width: 100%;
}


/*全体の設定ここまで*/

/*ヘッダーの設定-------------------------------------------------*/

header
{
    position: fixed;
    width: 98%;
    min-width: 300px;
    height: 56px;
    z-index: 1001;
    margin: 2px 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: difference;
}
    #logo
    {
        height: 45px;
    }


/*メニュー画面の設定*/
/*通常時*/
#menu
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: var(--gray);
    opacity: 0;
    pointer-events: none;
    animation-delay: 0.3s;
    transition: 0.5s;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
    #menu nav
    {
        text-align: left;
    }
    #menu nav li
    {
        display: block;
        padding: 5% 0;
    }
    #menu section
    {
        position: absolute;
        bottom: 3rem;
        text-align: center;
    }
    #menu li
    {
        display: inline-block;
        padding:  1% 1.2rem;
    }
    #menu img
    {
        width: 30px;
        mix-blend-mode: difference;
    }

#menu a{color: var(--dark); font-family: "simple"; font-size: 1.6rem; text-decoration: none;}
#menu small{color: var(--dark); font-family: "simple"; font-size: 0.8rem; text-decoration: none;}

/*ボタンが押されたとき*/
#menu.active
{
    opacity: 1;
    pointer-events: all;
}

    /*トグルの設定*/
    #menu-toggle
    {
        position: absolute;
        right: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        mix-blend-mode: difference;
    }
        #menu-toggle span
        {
            position: absolute;
            top: 28px;
            width: 30px;
            height: 3px;
            border-radius: 3px;
            background-color: var(--white);
            transition: 0.5s;
        }
        #menu-toggle span:nth-child(1)
        {
            transform: translateY(-10px);
            width: 20px;
            right: 10px;
            mix-blend-mode: difference;
        }

        #menu-toggle.active span
        {
            position: absolute;
            top: 28px;
            width: 30px;
            height: 3px;
            border-radius: 3px;
            transform: rotate(-45deg);
            transition: 0.5s;
        }
        #menu-toggle.active span:nth-child(1)
        {
            width: 0;
            transform: translateY(-10px);
        }


/*フッターの設定------------------------------------------------*/

footer
{
    position: relative;
    width: 60rem;
    max-width: 85%;
    height: 140px;
    top: 56px; /*ヘッダー分下げる*/
    margin: 1% auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    mix-blend-mode: difference;
}
    footer ul.left
    {
        text-align: left;
    }
    footer ul.right
    {
        text-align: right;
    }

    footer li
    {
        display: inline-block;
        color: var(--white);
    }
    footer img
    {
        width: 30px;
        padding:  1% 10px;
    }

footer p{font-size: 14px; font-family: "simple"; padding: 2% 0;}
footer a{font-size: 12px; color: var(--white);}

/*フッターの設定ここまで*/


/*ルートの設定*/
.root li
{
    list-style: none;
    display: inline-block;
    padding-right: 1%;
    color: var(--dark);
}
.root li a
{
    color: var(--dark)
}