@charset "UTF-8";

/* 全体設定 */
html {
    font-size: 10px;
}

.under-const {
    display: none;
}

body {
    margin: 0;
    font-size: 1.6rem;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-weight: 500;
    width: 100%;
    height: 100vh;
    line-height: 1.4;
    color: #333;
}

body h1 {
    color: #424242;
}

body h2 {
    color: #424242;
    font-weight: 500;
    letter-spacing: 3px;
    font-size: 2.4rem;
}

body h3 {
    color: #424242;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 10px;
    margin-bottom: 5px;
}

body p {
    margin-bottom: 4px;
    color: #424242;
}

body a {
    color: #a2a2a2;
}

.main {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin: 0 10px 0 10px;
}

/* 上に戻るボタン */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    background-color: #999;
    opacity: .8;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    color: #fff;
}

.scroll-top:hover {
    cursor: pointer;
}

header {
    margin: 0;
}

.header__container {
    display: flex;
    height: 100px;
    width: 100%;
}

.header__container__inner {
    width: 100%;
    background-color: #CAD5ED;
    margin: 0 10px 10px 10px;
    padding: 0 10px;
    align-items: center;
    border-radius: 0 0 10px 10px;
}

header h1 {
    color: #707070;
    font-style: normal;
    font-weight: 800;
    font-size: 6rem;
    line-height: 1.6;
    letter-spacing: 0.15rem;
    margin: 0;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

header nav ul {
    margin: 0;
    padding: 0;
}

header nav ul li {
    list-style-type: none;
    font-size: 1.8rem;
    width: 20%;
    float: left;
    color: #606060;
    text-align: center;
}

header nav ul li a {
    text-decoration: none;
    color: inherit;
}

footer {
    background-color: #333;
    color: white;
    min-height: 50px;
}

.footer__content {
    max-width: 1200px;
    margin: auto;
    margin-left: 0;
    padding: 0 10px;
    /* Flexコンテナ */
    display: flex;
    justify-content: center;
    /* メニュー項目を縦に並べる */
    flex-direction: column;
}

.mb-40 {
    margin-bottom: 40px;
}


/* 800px以下 */
@media screen and (max-width: 800px) {
    .header__container {
        position: relative;
        display: flex;
        justify-content: space-between;
        height: 80px;
        background-color: #CAD5ED;
        padding-left: 10px;
        align-items: center;
        border-radius: 0 0 10px 10px;
    }

    header h1 {
        font-size: 4rem;
    }

    header h1 a {
        text-decoration: none;
        color: inherit;
    }

    .main {
        flex-direction: column;
    }

    .main__content {
        width: 100%;
    }
}

footer a {
    color: gainsboro;
    font-size: 1.4rem;
    line-height: 1.8;
}

#footer__p__cr small {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #efefef;
}