@charset "utf-8";

/* リセットcss */

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


*{
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style-type: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

body {
    background-color: #fffef8;
    /* overflow: hidden; */
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

}

/* ここからheaderの設定 */
header {
    width: 100%;
    background-color: #f4ecbd;
    opacity: 0.8;
    border-bottom: solid 1px #6a3906;
    height: 70px;
    margin: 0 auto;
    display: flex;
    position: fixed;
    z-index: 9;
    align-items: center;
}

header h1{
         margin: 0 auto;

}

header h1 a{   
    display: block;
        width: 10%;
        /*
    min-width: 100px;
    margin: 0 auto;
*/
display: block;
    width: 15%;
    max-height: 70px;
    margin: 0 auto;

}

header h1 img {
    width: 100%;
/* height: 100%; */
    z-index: 10;

}

/* #g-nav {
    display: none;
} */
/* main */
.backg-img{
    position: fixed;
    top: 10%;
    right: 12%;
    opacity: 0.15;
    z-index: -999;
    width: 45%;
    min-width: 450px;
    height: auto;
}

/* ここからfooterの設定 */
footer {
    margin-top: 150px;
    background-color: transparent;
    height: 450px;
}

footer a {
    display: block;
    width: 11%;
    min-width: 150px;
    margin: 0 auto;
}

footer img {
    width: 100%;
}

#flex-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 15px;
    width: 80%;
    max-width: 1000px   ;
    margin: 0 auto;
}

footer iframe {
    width: 400px;
    height: 300px;
}

.map {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    width: 40%;
    min-width: 200px;
}

/* .access a {
    display: block;
    width: 50%;
    min-width: 180px;
} */

.access {
    /* margin-left: 200px; */
    width: 40%;
    min-width: 300px;
    line-height: 1.75;
}

.access dl {
    margin-top: 18px;
}

.access dt {
    font-weight: bold;
    z-index: 1;
}

.access .circle{
position: relative;
z-index: 1;
}
.access .circle::before{
content: "";
position: absolute;
width: 80px;
height: 80px;
background-color: #f4ecbd;
border-radius: 50%;
top: 0;
left: -25px;
z-index: -1;
}



footer .copy {
    margin-top: 30px;
    text-align: center;
    color: lightslategray;
}

/* ハンバーガーメニューの設定 */

#g-nav.panelactive {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(250,245,235,0.98);

    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    right: -50px;
    top: -50px;
    transition: all .8s;
    /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
   display: block;

}

#g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .1s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes gnaviAnime {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*リストのレイアウト設定*/
#g-nav {
    height: 100vh;
}

#g-nav li {
    text-align: center;
    margin-top: 15px;
}

#g-nav ul li a {
    color: rgb(0, 0, 0);
    padding: 10px;
    display: block !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* font-weight: bold; */
}

#g-nav ul li span {
    display: block !important;
    text-shadow: 2px 2px 5px #eeeeee;
}

#g-nav li img {
    width: 60px;
}

.bf {
    font-size: 24px;
    font-weight: bold;
}

.af {
    font-size: 18px;
    margin-top: 5px;

}

/* ボタンの設定 */
.openbtn1 {
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 9999;
    /*ボタンを最前面に*/
    cursor: pointer;
    width: 50px;
    height: 50px;
}

/*×に変化*/
.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #6a3906;
    width: 80%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 28px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 80%;
}


.openbtn1.active span:nth-of-type(2) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 80%;
}

@media (max-width:600px){
    .map {
        width: 100%;
        
    }
    
    .map iframe{
        width: 100%;
    }
    footer {
        margin-top: 80px;
    }
    .bf {
        font-size: 20px;
    }
    
    .af {
        font-size: 16px;
    
    }
    #g-nav ul li a {
        padding: 0px;
    }
    #g-nav ul {
        top: 40%;
    }
    
}