@charset "UTF-8";

:root {
    --border-color: #F8B600;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;

    h1,
    h2,
    h3,
    h4 {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
    }

    background-color: #000000;
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    meiryo,
    sans-serif;

    p {
        margin: 0;
    }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

header {
    background-color: white;
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    .list {
        display: flex;

        a {
            font-size: 10px;
            text-decoration: none;
            color: #000000;
        }
    }

    ul {
        list-style: none;
        display: flex;
        justify-content: right;
    }

    li {
        margin: 0 0 0 15px;
        font-size: 14px;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    width: 100%;
    margin: auto;
    background-color: rgb(255, 255, 255);

    img.logo {
        width: auto;
        height: 60px;
        margin-left: 0;
    }
}

.header-right {
    display: block;
    background-color: #ffffff;
    height: 80px;

    p {
        font-size: 16px;
        margin-top: auto;
        margin-bottom: auto;
    }

    span {
        font-family: "Avenir next";
        font-size: 16px;

    }
}

.otoiawase {
    display: flex;
    margin-left: auto;
    margin-right: 0;
    width: 370px;

    img {
        width: 380px;
        height: auto;
    }

    /*border-bottom:solid 1px #000000;*/
}

@media screen and (max-width:768px) {

    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    header {
        background-color: white;
        width: 100%;
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;

        .list {
            display: flex;

            a {
                font-size: 10px;
                text-decoration: none;
                color: #000000;
            }
        }

        ul {
            list-style: none;
            display: block;
        }

        li {
            margin: 0 0 0 15px;
            padding-top: 20px;
            padding-bottom: 20px;
            font-size: 14px;


        }
    }

    .otoiawase {
        display: flex;
        padding: 20px 0 20px 0;
        margin: 0 0 0 15px;
        background-color: #bbbbbb;
        width: 97%;

        img {
            width: 60px;
            height: 60px;
            padding-left: 0;
            margin-left: 0;
        }

        border-bottom:none;
    }


    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        margin: auto;
        background-color: rgb(255, 255, 255);

        img.logo {
            width: auto;
            height: 48px;
            margin-left: 0;
        }
    }

    .header-right {
        background-color: #ffffff;
        height: 80px;
        justify-content: flex-end;

        p {
            font-size: 16px;
            padding-left: 20px;
            margin-top: auto;
            margin-bottom: auto;
        }

        span {
            font-family: "Avenir next";
            font-size: 24px;
        }
    }

    /*--- ここからレスポンシブのメニュー ---*/
    li a img {
        width: 100%;
    }

    li a {
        text-decoration: none;
        color: #333;
    }

    li a:hover {
        opacity: 0.7;
    }

    nav {
        margin: auto 0 0 auto;
        width: 150px;
        padding: 10px;
    }

    .btn {
        text-align: right;
        margin-top: 15px;

        a {
            display: inline-block;
            text-align: center;
        }
    }


    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: #333;
        transition: 0.4s;
    }

    #open a {
        font-size: 40px;
        background: #ffffff;
        width: 30px;
        transition: 0.5s;
    }

    #close a {
        color: #fff;
        background: #aaa;
        width: 30px;
        line-height: 30px;
        border-radius: 15px;
    }

    #g_menu li {
        border-bottom: 1px solid #555555;
    }

    #g_menu li:last-of-type {
        border-bottom: none;
    }

    #g_menu a {
        font-size: 24px;
        color: #000000;
    }

    #g_menu {
        height: 100%;
        width: 100%;
        padding: 20px;
        background: rgba(256, 256, 256, .9);
        transition: right 0.5s;
        position: fixed;
        top: 0;
    }

    #g_menu:not(:target) {
        right: -120%;
    }

    #g_menu:target {
        right: 0;
    }
}