/* -----------共通部分----------- */
html {
    font-size: 100%;
    background-color: #f5f5f5;
}

h1 {
    font-family: 'メイリオ','Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

h2 {
    font-family: 'メイリオ','Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

h3 {
    font-family: 'メイリオ','Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

p {
    font-family: 'Yu Mincho','游明朝','YuMincho','游明朝体',serif;
    color: #2b2b2b;

}

img {
    max-width: 100%;
    height: auto;
}

/* ----------ヘッダー----------- */

.header-pc {
    display: none;
}

.header-sp {
    margin: .5rem;
}

#banner-pc {
    display: none;
}

header {
    width: 100vw;
    height: 10vh;
    padding: 0 1.5rem;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9998;
    position: fixed;
    top: 0;
    left: 0;
}

.header-nav {
    width: 100vw;
    height: 100vh;
    background-color: rgba(65, 141, 254, .8);
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: .5s;
}

nav ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
}

nav ul li {
    padding: 2rem;
}

#hum {
    width: 50px;
    height: 50px;
    border: 1px solid #2b2b2b;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    z-index: 9999;
    margin: 0 1rem;
}

#hum span {
    width: 24px;
    height: 2.4px;
    background: #2b2b2b;
    border-radius: 2px;
    transition: .5s;
}

.header-nav ul a {
    color: #fff;
    text-decoration: none;  /*リンクのアンダーバー消す*/
    font-size: 1.5rem;
}

.main-nav a:hover {
    color: #418dff;
}

/* -----------メイン共通---------- */

.header-bar-pc {
    display: none;
}


.header-bar {
    width: 100vw;
    margin-top: 10vh;
}

.text-bule {
    color: #418dff;
}

.text-orange {
    color: #ff9a08;
}

.text-pc1 {
    display: none;
}

/* -----------フッター---------- */
footer {
    width: 100vw;
    height: 20vh;
    background-color: #418dff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    bottom: 0;
    left: 0;
}

footer ul li {
    list-style: none;
}

footer a {
    text-decoration: none;
    color: #fff;
}




/*----------デスクトップ----------*/
@media (min-width:800px) {

    /* ----------共通部分 ----------*/
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.3rem;
    }

    /*----------ヘッダ----------*/

    header {
        width: 100vw;
        height: 30vh;
        display: flex;
        justify-content: center;
    }

    .header-pc {
        display: block;
        margin: 0 auto; /* ヘッダー全体を中央揃えに */
    }

    .header-sp {
        display: none;
    }

    #hum {
        display: none;
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 2rem 1rem 0;
    }

    .header-rogo {
        display: flex;
    }

    .header-button {
        margin-left: auto;
        background-color: #ff9a08;
        padding: 1rem 2rem;
        border-radius: 2rem;
    }

    .header-button:hover {
        background-color: #418dff;
    }

    .header-button a {
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 1.3rem;
    }

    .header-bottom {
        width: 100vw;
        height: 15vh;
}

    nav ul {
        flex-direction: row;
    }

    nav ul li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 5rem;
    }

    nav ul li a:hover {
        color: #418dff;
    }

    nav ul li a {
        text-decoration: none;
        color: #2b2b2b;
        font-weight: bold;
        font-size: 1.3rem;
    }

    .header-bar-pc {
        display: block;
        width: 100vw;
        margin-top: 30vh;
    }
    
    .header-bar {
        display: none;
    }

    .text-pc1 {
        display: block;
    }

    .text-sp1 {
        display: none;
    }



    /* ----------フッター---------- */

    footer {
        width: 100vw;
        height: 10vh;
    }

    footer ul {
        display: flex;
    }

    footer ul li {
        margin: 0 2rem;
    }

}