@charset "UTF-8";

/* 
	font-family: 'Kosugi Maru', sans-serif;
	font-family: 'Quintessential', cursive;
*/

* {
	margin: 0;
	padding: 0;
}
img {
	width: 90%;
	/* height: 100%; */
	vertical-align: bottom;
	object-fit: cover;
}
i.fas,i.fa-solid {
	display: inline-block;
	padding-right: 5px;
	font-size: 10px;
	position: relative;
	top: -2px;
}
a {
    text-align: center;
	text-decoration: none;
    color: #222222;
}
span {
    font-size: 14px;
}
h1 {
	padding: 20px 0;
    line-height: 1.2;
	text-align: center;
    letter-spacing: 2px;
    font-size: 2em;
}
h4 {
    padding-top: 5px;
    font-size: 12px;
}
h1 + p img {
    width: 170px;
    position: absolute;
    top: 15px;
    right: 1%;
}
h1 + p img {
    display: none;
}
.current a {
    background: rgba(85, 108, 55, 0.607);
}

body {
    background: url(../bgwahi.jpg),linear-gradient(253deg, rgba(85, 108, 55, 0.607) 0%, rgba(104, 61, 5, 0.3) 100%);
    background-repeat: repeat;
    background-position: left top;
    background-size: auto;
}

#wrap {
    height: auto;
	font-family: 'Quintessential','Kosugi Maru';
    position: relative;
}

#tabaccordion {
    width: 100%;
    background: rgba(104, 61, 5, 0.3);
}
#tabaccordion dl {
    margin: 0;
}
#tabaccordion dl:nth-of-type(-n+5) dd > p {
    margin: 5px 0;
    font-size: 14px;
}
#tabaccordion dl dt {
    background: rgba(104, 61, 5, 0.3);
}
#tabaccordion dl dt a {
    display: block;
	line-height: 50px;
	font-weight: bold;
}
#tabaccordion dl dt:hover > a {
    background: rgba(32, 49, 43, 0.771);
    color: rgba(255,255,255,0.9);
}
#tabaccordion dl dd {
    display: none;
    width: calc(100% - 4% - 60px);
    margin: 0 2%;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.5);
}
#tabaccordion div.modaal {
    padding-bottom: 30px;
}
#tabaccordion dl:first-of-type ul {
    display: block;
}
#tabaccordion dd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    width: 100%;
    list-style: none;
}
#tabaccordion dl:nth-of-type(2) dd ul:last-of-type {
    justify-content: flex-start;
    padding-bottom: 30px;
}
#tabaccordion dd li {
    margin: 5px 0;
    width: 48%;
    overflow: hidden;
    font-size: 14px;
}
#tabaccordion #cd li {
    max-height: 200px;
    overflow: scroll;
}

#tabaccordion dl:first-of-type dd li {
    width: 95%;
}
#tabaccordion dl:nth-of-type(3) dd li {
    width: 70%;
}
#tabaccordion dl:first-of-type dd li {
    max-width: 1000px;
}
#tabaccordion dd li > p:first-of-type {
    padding-top: 10px;
}
#tabaccordion dd h3 {
    margin-top: 50px;
    border-bottom: solid 1px gray;
    font-size: 14px;
}
#tabaccordion dl:first-of-type ul:nth-of-type(n+2) li > p:first-of-type {
    font-size: 12px;
}
#tabaccordion h4 {
    width: 85px;
    padding-left: 10px;
    border-bottom: solid 1px rgb(224, 139, 34);
}
.mobail {
    padding-left: 5px;
}

footer {
    margin: 30px 0 0;
    padding: 0 70px;
    border: solid 1px transparent;
    border-top-color: gray;
    border-bottom-color: gray;
    position: fixed;
    left: 50%;
    bottom: 3px;
    transform: translate(-50%,0);
}
footer span {
    font-size: 10px;
}
@media screen and (min-width: 1367px) {
    .mobail {
        display: none;
    }
}

@media (min-width: 581px) {
    #tabaccordion {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
		width: 100%;
		position: relative;
	}
	#tabaccordion dl {
        flex: 1;
		width: 100%;
	}
	#tabaccordion dl:first-of-type dt {
        border-top: none;
	}
	#tabaccordion dl:not(:last-of-type) dt a {
        border-right: solid 1px #aaaaaa;
	}
	#tabaccordion dl dd {
        position: absolute;
		left: 0;
	}
    #tabaccordion dd li {
        margin: 20px 0;
        max-width: 200px;
    }
    #tabaccordion dl:nth-of-type(3) dd li {
        max-width: 250px;
    }    

}


/* pagination */
.panel-footer.mt-4 .pagination.flex-wrap.justify-content-center {
    margin: 20px 0;
    height: 30px !important;
}
.panel-footer.mt-4 .pagination.flex-wrap.justify-content-center li {
    margin: 7px 0 !important;
    width: 15px !important;
    font-size: 14px;
}
.pagination.flex-wrap.justify-content-center {
    background: rgba(231, 188, 132, 0.3);
}