@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;800&family=Noto+Serif+JP:wght@500&family=Roboto:wght@300;400;500;900&display=swap');

/* 共通部分 */
html{
    font-size: 100%;
    font-weight: 400;
    background-color: #000;
}
body{
    width: 100%;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
.PC{
    display: block;
}
.mobile{
    display: none;
}
.wrapper{
    width: 90%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 0px 8px #767676;
}



/* header部分 /////////////////////////////// */
header{
    position: relative;
    width: 100%;
    background-color: #543d04;
    color: #FFF;
}
/* タイトル */
header>a{
    display: block;
    width: 400px;
}
#title{
    padding: 30px;
    position: relative;
    color: #fff;
}
#title h1{
    display: flex;
    justify-content: space-between;
    width: 325px;
    padding: 0 3px;
    font-size: 1.8rem;
}
h1 span{
    position: relative;
    color: #ffc000;
}
h1 span:nth-child(1){
    transform: rotate(-10deg);
    font-size: 1em;
    top: -2px;
}
h1 span:nth-child(2){
    transform: rotate(10deg);
}
h1 span:nth-child(3){
    font-size: 0.7em;
    top: 10px;
}

/* サブタイトル */
#sub_title{
    position: relative;
    top: -3px;
    width: 325px;
    text-align: justify;
    text-align-last:justify;
    padding: 1px 3px;
    border-top: 1px solid #ffc000;
}
/* ガイド */
h2.guide{
    font-size: 0.9rem;
    position: absolute;
    top: 25px;
    right: 30px;
    color: #dba00f;
}

/* ナビゲーション //////////////////////////////// */
#mainNav{
    background-color: #3e2d13;
}
#mainNav ul{
    width: 70%;
    display: flex;
    margin: 0 auto;
}
#mainNav ul li{
    width: 20%;
    position: relative;
}
#mainNav ul li a{
    display: block;
    color: #fff;
    padding: 8px 0 6px;
    text-align: center;
    font-weight: bold;
}
#mainNav ul .target a{
    background-color: #1b1408;
}
#mainNav ul li div{
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #ccc;
    bottom: 2px;
    transition: width 0.2s;
}
/* hover */
#mainNav ul li:hover div{
    width: 100%;
}

/* コンテンツ部 共通 /////////////////// */
main{
    background: #f2f2f2;
}
#contents{
    background: #fff;
}

/* ヘッダー写真と見出し */
.hdImg{
    position: relative;
}
.hdImg picture img{
    display: block;
    width: 100%;
}
.hdImg p{
    position: absolute;
    top: 15%;
    font-size: 10vw;
    font-weight: bold;
    letter-spacing: 0.7vw;
    color: RGBa(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
}
.hdImg h2{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: RGBa(0,0,0,.7);
    padding: 6px 20px 2px;
    text-shadow: 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* footer ////////////////////// */
footer{
    font-weight: 300;
    width: 100%;
    padding: 30px 30px 10px;
    background-color: #543d04;
    display: flex;
    justify-content: space-between;
}
#link ul{
    display: flex;
}
#link ul li{
    border-left: 1px solid #fff;
}
#link ul li:last-child{
    border-right: 1px solid #fff;
}
#link ul li a{
    padding: 1px 10px 0px;
    color: #fff;
    display: block;
}
#link p{
    margin-top: 50px;
    color: #fff;
}
#contact img{
    max-width: 250px;
    width: 18vw;
    height: auto;
}
/* 戻るボタン */
.return{
    display: none;
}
.return a{
    display: block;
    position: fixed;
    bottom: 7%;
    right: 2.5%;
    width: 60px;
    height: 60px;
    padding: 10px;;
    background: #222;
    opacity: 0.8;
    border-radius: 3px;
}





/* mobile //////////////////////// */

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

    .PC{
        display: none;
    }
    .mobile{
        display: block;
    }

    /* タイトル */

    header>a{
        display: block;
        width: 314px;
        margin: 0 auto;
    }
    #title{
        padding: 7px;
    }
    #title h1{
        display: block;
        text-align: justify;
        text-align-last: justify;
        text-align: center;
        width: 298px;
        padding-bottom: 2px;
        font-size:1.65rem;      
    }
    #title h1 span{
        transform: rotate(0deg);
        position :static;
        font-size: 1em;
    }
    /* サブタイトル */
    #sub_title{
        position: relative;
        width: 298px;
        font-size: 0.94rem;
        text-align: center;
        padding-left: 0px;
        border-top: 1px solid #ffc000;
    }

    /*  モバイルナビゲーション*/
    #mobileNav{
        background-color:#3e2d13;
    }
    /* ナビボタン */
    #mobileNav button{
        width: 100%;
        padding: 2px 0 6px 2px;
        display: flex;
    }
    #mobileNav p{
        font-size: 1.1rem;
        color: #e7e5e5;
        margin: 10px 6px 3px 10px;
    }
    #mobileNav img{
        display: block;
        width: 20px;
        height: auto;
        margin-top: 12px;
    } 
    /* スライドナビ部分 */
    #mobileNav div{
        position: relative;
    }
    #mobileNav ul{
        position: absolute;
        width: 100%;
        top: 0;
        left: -100%;
        z-index: 1;
        background-color: #000;
    }
    #mobileNav ul li a{
        display: block;
        padding: 15px;
        text-align: center;
        background-color: #2e210f;
        color: #fff;
        border-bottom: 1px solid #000;
    } 
    #mobileNav ul li:not(:first-child) a{
        border-top: 1px solid #524027;
    }
    #mobileNav ul li:last-child{
        box-shadow: 0 2px 3px RGBa(0, 0, 0, 0.3);
    }  

    /* フッター */
    footer{
        padding: 5px;
        display: block;
        font-size: 3vw;
    }
    footer ul{
        display: block;
    }
    footer ul li{
        margin: 0 auto;
    }

    /* 戻るボタン */
    .return a{
        bottom: 7%;
        right: 2.5%;
        width: 40px;
        height: 40px;
        opacity: 0.6;
    }
    .return img{
        width: 100%;
    }
}
