@charset "utf-8";

/* CSS Document */
html {
    overflow-y: scroll;
}

body {

    text-size-adjust: 100%;
}

body {
    font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", Meiryo, Osaka, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    font-weight: 500;
    color: #333;
}

a {
    text-decoration: none;
}

img {
    /*均等に画像を縮小させるため*/
    max-width: 100%;
    height: auto;
}

#wrapper {
    line-height: 1.5;
    /*width: 1200px;*/
    margin: 0 auto;
    max-width: 1200px;
    min-width: 320px;
}

/*header/nav---------------------------------*/
header {
    position: relative;
    background: url(../images/home/mainvisual1200.jpg) no-repeat center 0;
    /*	background-size: contain;*/
    padding-bottom: 46.8%;
}

header div {
    position: absolute;
    top: 50px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding-left: 4%;
    width: 100%;
    padding-right: 4%;
    flex-wrap: wrap;
}

#toggle {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 0;
    right: 0;
    display: none;
}

nav {
    width: 50%;
}

nav ul {
    display: flex;
    justify-content: space-around;
}

nav ul a {
    word-spacing: 1em;
    font-size: 125%;
}

nav ul li a {
    color: #fff;
}

nav ul li a:hover {
    color: #999;
}



/*contents---------------------------------*/

footer {
    padding: 30px 4.6%;
    background: rgba(255, 216, 65, 0.8);
}

footer ul {
    text-align: left;
    line-height: 2em;
}

#footer {
    display: flex;
    justify-content: space-between;
}

#footer p {
    margin-top: auto;

}


footer ul li a {
    font-size: 100%;
    color: #333;
}

footer ul li a:hover {
    color: #999;
}

footer ul li a instagram:hover {
    color: #999;
}

/*PAGE TOPボタン追加*/
#page_top {
    width: 90px;
    height: 90px;
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    z-index: 1;
}

#page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #3f98ef;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #3f98ef;
}

@media screen and (max-width: 1050px) {
    /*ここには画面サイズ1050pxまでのスタイルを書く*/

    #toggle {
        width: 40px;
        height: 40px;
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        z-index: 10;
    }

    nav ul {
        display: block;
        padding-top: 50px;
        padding-bottom: 20px;
    }

    nav {
        z-index: 1;
        width: 100%;
        height: 320px;
        background-color: rgba(204, 153, 153, 0.8);
        position: fixed;
        top: 0;
        margin-top: -1000px;
    }

    .open nav {
        margin-top: 0px;
    }

    nav ul li {
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    small {
        font-size: 80%;
        white-space: nowrap;
    }




}



@media screen and (max-width: 560px) {
    /*ここには画面サイズ560pxまでのスタイルを書く*/

    body {}

    header {
        background: url(../images/home/mainvisual_sp.jpg) no-repeat center 0;
        min-height: 467px;
        padding-bottom: 0%;
        width: 100%;
        background-size: cover;
    }

    header div {
        top: 5px;
        flex: block;
        padding-left: 0%;
        padding-right: 0%;
    }

    #toggle {
        width: 40px;
        height: 40px;
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        z-index: 100;
    }

    h2 {
        ;
    }

    h1 {
        width: 0 auto;
        margin-top: 38%;
        text-align: center;
    }

    nav ul {
        display: block;
        padding-top: 50px;
        padding-bottom: 20px;
    }

    nav {
        width: 100%;
        height: 65%;
        background-color: rgba(204, 153, 153, 0.8);
        position: fixed;
        top: 0;
        margin-top: -1000px;
    }

    .open nav {
        margin-top: 0px;
    }

    nav ul li {
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav li.current a {

        color: #f00;

    }

    footer ul {
        text-align: center;
    }

    #footer {
        display: block;
        text-align: center;
    }

    #footer p img {
        display: none;
    }

    small {
        font-size: 75%;
        white-space: nowrap;
    }

}
