@charset "UTF-8";
/* ヘッダー箇所-------------------------------------------------------------- */
:root {
    --darkblue: #254e6f;
    --whiteblue: #e7eff8;
}

html {
    font-size: 75%;
}

.by-phone {
    display: none;
}

a, button {
    cursor: pointer;
}

header {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--whiteblue);
    border-bottom: 1px solid gray;
    text-align: center;
}

    /* glovalnav.jsを使用し、fixedクラスが付与された際の設定 */
    header.fixed {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
    }

.pokemedomark {
    display: flex;
    color: var(--darkblue);
    font-weight: bold;
    font-size: 2.2rem;
    align-items: center;
    margin: 0 15px;
}

    .pokemedomark img {
        width: 200px;
    }

.hamburger {
    display: none;
}

.g-navi ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.menu {
    padding: 0 20px;
    float: left;
}

    .menu a {
        text-decoration: none;
        color: gray;
        font-size: 1.7rem;
    }

    .menu .inquiry {
        background-color: var(--darkblue);
        color: white;
        border-radius: 5px;
        padding: 15px 10px;
    }

/* フッター箇所-------------------------------------------------------------- */
footer {
    background-color: var(--darkblue);
    height: 100px;
    color: white;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

    footer img {
        width: 100%;
    }

/* タブレット向けデザイン */
@media screen and (max-width: 768px) {
    html {
        font-size: 62.5%;
    }

    header {
        height: 80px;
    }

    .pokemedomark img {
        width: 200px;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: var(--darkblue);
        border-radius: 5px;
        z-index: 100;
    }

        .hamburger span {
            display: inline-block;
            transition: all 0.4s;
            position: absolute;
            left: 14px;
            height: 2px;
            border-radius: 5px;
            background-color: #fff;
            width: 45%;
        }

            .hamburger span:nth-child(1) {
                top: 13px;
            }

            .hamburger span:nth-child(2) {
                top: 19px;
            }

            .hamburger span:nth-child(3) {
                top: 25px;
            }

                .hamburger span:nth-child(3)::after {
                    content: "Menu";
                    position: absolute;
                    top: 5px;
                    left: -2px;
                    color: #fff;
                    font-size: 0.8rem;
                    text-transform: uppercase;
                }

        .hamburger .active span:nth-child(1) {
            top: 14px;
            left: 18px;
            transform: translateY(6px) rotate(-45deg);
            width: 30%;
        }

        .hamburger .active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger .active span:nth-child(3) {
            top: 26px;
            left: 18px;
            transform: translateY(-6px) rotate(45deg);
            width: 30%;
        }

            .hamburger .active span:nth-child(3)::after {
                content: "Close";
                top: 5px;
                left: 4px;
                transform: translateY(0) rotate(-45deg);
            }

        .hamburger.open {
            background-color: initial;
            transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
        }

            .hamburger.open span {
                background-color: #fff;
            }

                .hamburger.open span:nth-child(1) {
                    width: 24px;
                    transform: translate(-7px, 17px) rotate(45deg);
                    -webkit-transform: translate(-7px, 14px) rotate(45deg);
                }

                .hamburger.open span:nth-child(3) {
                    width: 24px;
                    transform: translate(-7px, -17px) rotate(-45deg);
                    -webkit-transform: translate(-7px, -14px) rotate(-45deg);
                }

                    .hamburger.open span:nth-child(3)::after {
                        content: "";
                    }

    .g-navi {
        position: fixed;
        width: 230px;
        top: 0;
        right: -300px;
        background-color: #90b4be;
        height: 100%;
        padding-top: 60px;
        z-index: 99;
    }

        .g-navi ul {
            display: block;
            text-align: left;
            margin-top: 20px;
        }

    .menu {
        width: 100%;
        height: 50px;
    }

        .menu a {
            font-size: 1.7rem;
            color: white;
        }

        .menu .inquiry {
            background-color: initial;
            color: white;
            border-radius: initial;
            padding: initial;
        }
}
/* スマホ向けデザイン */
@media screen and (max-width: 480px) {
    html {
        font-size: 62.5%;
    }

    .no-phone {
        display: none;
    }

    .by-phone {
        display: block;
    }

    header {
        height: 60px;
    }

    .pokemedomark img {
        width: 100%;
    }
}