@charset "UTF-8";

/* GoogleFonts 
    font-family: 'EB Garamond', serif;
    font-family: 'Zen Maru Gothic', serif;
*/

* {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
}
i {
    display: inline-block;
    margin: 0 5px;
    font-size: 0.9em;
}
ul {
    list-style: none;
}
a {
    display: block;
    text-decoration: none;
    color: rgb(0,0,0);
}

#wrap {
    width: 100%;
    font-family: 'EB Garamond','Zen Maru Gothic';
}

/* header */
header {
    width: 100%;
    font-size: 24px;
    position: fixed;
    z-index: 999;
}
nav button {
    border: none;
}
nav button span {
    display: inline-block;
    text-indent: -99999px;
}
nav button::before {
	content:"\f0c9";
	display: block;
	width: 2em;
    padding: 0.5em 0;
	background: rgb(142, 124, 35);
	border-radius: 50%;
	text-align: center;
    font: var(--fa-font-solid);
	color: rgb(0,0,0);
	font-size: 25px;
    position: absolute;
    top: 5px;
    right: 15px;
    z-index: 99;
}
nav button.off::before {
    content: "\f00d";
}
nav ul {
    display: none;
	width: 100%;
    height: 100vh;
	background: rgba(143, 106, 36, 0.9);
    position: absolute;
    top: 0;
    z-index: 0;
}
nav ul li {
	line-height: 70px;
	text-align: center;
}
nav ul li a {
	display: block;
	font-size: 20px;
    color: rgb(0,0,0);
}
nav ul li a:hover {
	background: rgba(255,255,255,0.3);
}
.current {
	background: rgba(255,255,255,0.5);
}
.current a, .current  {
	color: rgb(142, 81, 35);
}


/* main */
#sec1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
	height: 100vh;
	background: url(../images/main.jpg)no-repeat center center / cover;
    text-align: center;
}
h1 {
    flex-basis: 100%;
	font-size: min(20vw,170px);
}
#sec1 p {
    flex-basis: 100%;
    color: rgb(255,255,255);
}

h2 {
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: solid 1px rgb(142, 124, 35);
    text-indent: 0.5em;
}
#sec2 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#sec2 li {
    width: 47%;
    height: 300px;
    overflow: hidden;
    position: relative;
}
#sec2 li:nth-of-type(odd) {
    margin-right: 5px;
}
#sec2 li:not(:last-of-type) {
    margin-bottom: 5px;
}
#sec2 div {
	display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.7);
	position: absolute;
	top: 0;
	left: 0;
}

#sec3 p {
    height: 250px;
    overflow: hidden;
}

/* footer */
footer ul {
    display: flex;
    justify-content: space-around;
    background: rgba(143, 106, 36, 0.3);
}
footer li {
    width: 30%;
    line-height: 50px;
    text-align: center;
}
iframe {
    display: block;
    width: 90%;
    margin: 10px auto 0;
}
footer p{
    text-align: center;
}


/* --------- 781px以上 ---------- */
@media screen and (min-width: 781px) {
    header {
        background: rgba(0,0,0,0.7);
    }
    nav button {
        display: none;
    }
	nav {
        width: 80%;
        margin: 0 auto;
        line-height: 2;
	}
	nav ul {
		display: flex;
        justify-content: space-between;
        width: 80%;
        height: auto;
	}
    nav li {
        width: 33%;
        text-align: center;
    }
    #sec2 ul {
        justify-content: space-around;
    }
    #sec2 li {
        width: 20%;
        max-width: 200px;
    }
    #sec2 li:nth-of-type(odd) {
        margin-right: 0;
    }
    #sec2 li:not(:last-of-type) {
        margin-bottom: 0;
    }
    #sec2 li {
        margin-top: 5px;
    }
    
}




/*scrollTop*/
    #fixedTop {
        position: fixed;
        bottom: 5%;
        right: 10px;
        z-index: 999;
    }
    #fixedTop .fas {
        font-size: 3em;
        color: rgb(142, 81, 35);
    }
