@charset "UTF-8";

/* サイドグロナビ */
header{
    width: 200px;
    height: 100%;
    align-items: center;
    box-shadow: 2px 5px 5px 0px rgba(150,150,150, 0.3);
    position : fixed;
    z-index: 10;
    background-color: #fff;
}

header h1{
    padding : 40px 0 30px;
    text-align: center;
}

#g_nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#g_nav li{
    font-size: 10pt;
    width: 140px;
    margin :10px;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 2px;
}

#g_nav li a{
    display: block;
	padding: 10px 0px;
	text-decoration: none;
	color: #000;
    position: relative;
    transition : .5s;
}

#g_nav li a:hover{
    color: #fff;
}

#g_nav li a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #b2996B;
    transform-origin: 0% 50%;
    transform: scaleX(0);
    transition: transform ease .5s;
  }

  #g_nav li a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
  }

#social{
    width :100%;
    height : auto;
}

#social ul{
    width: 80%;
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

#social li{
        padding : 5px;
    }

.btn-toggle {
        display: none;
    }

.close{
    display: none;
}


/* スマホグロナビ */
@media screen and (max-width: 959px) {
    body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    header{
        width: 100vw;
        height: 10vh;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 2px 5px 5px 0px rgba(150,150,150, 0.3);
        position : fixed;
        z-index: 10;
    }
    
    header h1{
        padding : 0px;
        text-align: center;
    }

    #g_nav{
        z-index: 11;
        position: fixed;
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        background: rgba(255, 255, 255, 0.8);
        transition: all .4s ease-in-out;
        /*opacity: 0;
        transform: translateY(-100%);*/
     }

    #g_nav.panelactive{
        top: 0;
    }

    #g_nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
     }
    #g_nav li {
        width : auto;
        margin: 0;
        padding: 0;
     }

    #g_nav li a, #g_nav li span {
        display: block;
        padding: 20px 0;
     }


    .btn-toggle{
        z-index: 100;
        position: relative;
        cursor: pointer;
        width: 50px;
        height:50px;
        display: block;
        border-radius: 5px;
      }

    .btn-toggle span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background: #000;
        width: 50%;
      }

    .btn-toggle span:nth-of-type(1) {
        top:15px;	
    }
    
    .btn-toggle span:nth-of-type(2) {
        top:23px;
    }
    
    .btn-toggle span:nth-of-type(3) {
        top:31px;
    }

    .btn-toggle.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .btn-toggle.active span:nth-of-type(2) {
        opacity: 0;/*真ん中の線は透過*/
    }
    
    .btn-toggle.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    #social{
        display: none;
        }

}


/* 画像切り替え */
.pc {
     display: block;
     margin: 0 auto;
}
.sp {
    display: none;
}

@media screen and (max-width: 959px) {
    .pc { 
        display: none;
        }
    .sp {
        display: block;
        }
}

/*　TOPへ戻るボタン　*/
#topBtn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transform: rotate(90deg);
    font-size: 50%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}
#topBtn::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

@media screen and (max-width: 959px) {
    #topBtn {
        position: fixed;
        right: 5px;
        bottom: 30px;
    }
}

/* 下層メインビュー */
#low_mainview{
    position :relative;
}

#low_mainview img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

#low_mainview_intro{
    color: #fff;
    width: 300x;
    height: 100px;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    backdrop-filter: blur(20px);
    background-color: rgba(255,255,255,0.2);
}

#low_mainview_intro h2{
    margin: 0 20px;
    padding: 20px 10px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
    letter-spacing: 3px;
    color: #FFFFFF;
}

#low_mainview_intro p{
    margin: 15px 30px;
    text-align: center;
}

@media screen and (max-width: 959px) {
    #low_mainview_intro{
        color: #fff;
        width: 80%;
        height: auto;
        position: absolute; 
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        backdrop-filter: blur(20px);
        background-color: rgba(255,255,255,0.2);
    }
}


/*　コンテンツ　*/
#mainsection{
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 200px;
}

@media screen and (max-width: 959px) {
    #mainsection{
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 10vh 0 0 0;
    }
}


/* バナーエリア */
#banner{
    width :100%;
    height : auto;
    background-color : #648864;
}

#bannerwrap{
    width :80%;
    margin : auto;
    display : flex;
    flex-flow : row;
    flex-wrap : wrap;
    justify-content: space-around;
}

.banner{
    margin : 30px 0;
    position :relative;
    overflow : hidden;
}

.banner img{
    transition:0.5s all;
}

.banner img:hover{
    transform:scale(1.2,1.2);
    transition:0.5s all;
    opacity : 0.8;
}



/* フッター　*/
footer{
    width: 100%;
    height : auto;
    background-color:#FAF9F2;
}

#footerwrap{
    width: 80%;
    height : auto;
    margin : 10px auto ;
    display : flex;
    flex-flow : row;
    justify-content: space-between;
    position :relative;
}

.footer_nav{
    position : absolute;
    bottom : 0;
    right:5%;
}

.footer_nav ul{
    display:flex;
    flex-flow: row;
    justify-content: flex-end;
}

.footer_nav li{
    font-size :9pt;
    width: 140px;
    margin : 10px;
    text-align: center;
}

.footer_nav li a:hover{
    border-bottom: 1px solid #444;    
}

#copyright p{
    width : 100%;
    text-align: center;
    margin : auto;
}

@media screen and (max-width: 959px) {
    #footerwrap{
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer_nav{
        position :static ;
        bottom : 0;
        right:5%;
    }
}

/* サイト全体のフォント指定 */
body {
    font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN",serif ;
    }
    
h1{
    font-size: 24px;
    margin : 0;
    padding : 0;
}

h2{
    font-size: 16pt;
    text-align : center;
}

h3{
    font-size: 14pt;
}

h4{
    font-size: 12pt;
}

p{
    font-size: 10pt;
    line-height :1.5em;
}