@font-face {
	font-family: '02うつくし明朝体';
	src: url('UtsukushiFONT.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

body {
	background: #F6EDDA;
	margin: 0;
	padding: 0;
	font-family:  '02うつくし明朝体','Honoka Mincho','ほのか明朝',Meiryo,'メイリオ',Arial,Sans-serif;
	counter-reset: item;
}

hr {
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #ffffff;
	border-style: solid none;
	border-width: 1px 0;
	border-color: #dddddd transparent #ffffff transparent;
	margin: 10px 0;
}

progress::-webkit-progress-value, progress::-moz-progress-bar {
	background: #AD2430;
}

ol {
	list-style-type: none;
	list-style-position: inside;
	padding-left: 1.6em;
}

body ol li:empty::before {
	content: "";
}

ol > li {
	counter-increment: item;
}

ol > li::before {
	content: counter(item) ". ";
}

ol ol {
	counter-reset: sub;
}

ol ol > li {
	counter-increment: sub;
}

ol ol > li::before {
	content: counter(item) "." counter(sub) ". ";
}

#top-cont {
	margin: 0;
	padding: 0;
	width: 100%;
	background-size: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
}

.haikei_saisho {
	background: url(haikei.jpg) no-repeat center top;
}

.haikei_night {
	background: url(haikei_bbq.jpg) no-repeat center top;
}

.haikei_dentou {
	background: url(haikei_dentou.jpg) no-repeat center top;
}

.haikei_kantan {
	background: url(haikei_kantan.jpg) no-repeat center top;
}

.haikei_kosupa {
	background: url(haikei_kosupa.jpg) no-repeat center top;
}

.flex {
	display: flex;
}

.flex-column {
	flex-direction: column;
}

.flex-row {
	flex-direction: row;
}

.show {
	display: block;
}

.hide {
	display: none;
}

.h1 {
	color: #141836;
	font-size: clamp(2.5rem, 5vw, 3rem);
	text-align: center;
	margin: 0.3vw auto;
	font-weight: 600;
}

.h2 {
	color: #141836;
	font-size: clamp(2.2rem, 4vw, 2.5rem);
	text-align: center;
	margin: 0.3vw auto;
	font-weight: 600;
}

.h3 {
	color: #141836;
	font-size: clamp(2rem, 3vw, 2.3rem);
	text-align: center;
	margin: 0.3vw auto;
}

.h4 {
	color: #141836;
	font-size: clamp(1.7rem, 2vw, 2rem);
	text-align: center;
	margin: 0.3vw auto;
}

.footnote {
	font-size: 0.5em;
	vertical-align: super;
}

.one.footnote-text {
	font-size: 0.7em;
	text-align: left;
}

.latviesu {
	font-family: 'Tahoma', Sans-serif;
	font-style: normal;
}

body :is(.h1, .h2, .h3, .h4) {
	text-indent: 0;
}

.img {
	display:block;
	max-width: 1000px;
	width: 50vw; 
	margin:  3vh auto; 
}

.error-border {
	border: 5px solid #FF0004;
}

.error-message {
	color: #FF0004;
	background: rgba(255, 255, 255, 0.75);
	padding: 0.3em;
	margin: 0.2em 0;
}

.content-box {
	border: 3px solid rgba(20, 24, 54, 0.7);
	padding: 1.6vw;
	background: rgba(255, 255, 255, 0.75);
	margin: 3vw auto;
	max-width: 90vw;
	font-size: 1.6rem;
	box-sizing: content-box;
}

#footer {
	border: 3px solid rgba(20, 24, 54, 0.7);
	padding: 1.6vw;
	background: rgba(255, 255, 255, 0.75);
	margin: 0.5vw auto;
	width: 90vw;
	font-size: 1rem;
	text-indent: 0;
	text-align: center;
	box-sizing: content-box;
}

.content, .img-cont {
	flex: 1 1 0;
}

.one {
	text-align: center;
	text-indent: 0;
	margin: 0.5em 0;
}

.content {
	padding: 10px;
	text-indent: 2.5em;
}

#shusaisha {
	border: 2px solid rgba(20, 24, 54, 0.7);
	padding: 1.6vw;
	background: rgba(255, 255, 255, 0.75);
	margin: 3vw auto;
	max-width: 1200px;
	width: 95%;
	font-size: 1.6rem;
}

:is(#rules, #sakuhin) .one {
	text-align: left;
	text-indent: 0;
}

#sakuhin .one {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
}

#sakuhin img {
	max-width: 1000px;
	min-width: 430px;
	width: 50vw; 
	height: auto;
	align-self: center;
	&:hover {
		cursor: pointer;
	}
}

#sakuhin .text {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 1em 0;
}

.text p {
	margin: 0.3rem 0;
}

.text p.sakuseisha {
	margin-top: auto;
}

.over {
	position: fixed;
	z-index: 777;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: auto;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.75);
}

.over-content {
	display: block;
	margin: auto;
	max-width: 90%;
	max-height: 80vh;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	animation: zoom_in 0.3s ease;
	align-self: center;
}

#shashin-setsumei {
	margin-top: 15px;
	color: #141836;
	font-size: 1.2rem;
	text-align: center;
}

.over .tojiru {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #141836;
	font-size: 3rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s;
	&:hover, :active {
		color: rgba(232, 205, 107, 1);
	}
}

@keyframes zoom_in {
	from {
		transform: scale(0.7);
		opacity: 0;
	}
	
	to {
		transform: scale(1);
		opacity: 1;
	}
}

#nav-top {
	position: sticky;
	top: 0;
	left: 0;
	align-self: stretch;
	background: rgba(232, 205, 107, 0.7);
}

#nav-top-button {
	display: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: rgba(20, 24, 54, 1);
}

#nav-top ul {
	border-width: 3px 0;
	border-style: solid;
	border-color: rgba(20, 24, 54, 0.7);
	padding: 0 3vw;
	margin: 0;
	display: flex;
	flex-direction: row;
	overflow: hidden;
}

#nav-top ul li {
	border-left: 3px solid rgba(20, 24, 54, 0.7);
	transform: skewX(50deg);
	flex: 1 0 auto;
	list-style: none;
}

#nav-top ul li:last-child {
	border-right: 3px solid rgba(20, 24, 54, 0.7);
}

#nav-top ul li a {
	color: rgba(20, 24, 54, 1);
	font-size: clamp(1.4rem, 1.6vw, 2rem);
	display: flex;
	flex: 1;
	justify-content: center;
	margin: 0;
	padding: 0.5rem 0;
	text-decoration: none;
	cursor: pointer;
	&:hover, :active {
		color: #ffffff;
		background: rgba(20, 24, 54, 0.7);
	}
}

#nav-top span {
	transform: skewX(-50deg);
	margin: 0;
	padding: 0;
	display: inline-block;
}

#nav-top ul li a.active {
	color: #ffffff;
	background: rgba(20, 24, 54, 0.7);
}

#otoiawase, #moushikomi {
	width: 70vw;
}

@media (max-width: 700px) {
	#nav-top ul {
		flex-direction: column;
		padding: 0;
	}
	
	#nav-top ul li:last-child {
		border-right: 0;
	}
	
	#nav-top ul li {
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid rgba(20, 24, 54, 0.7);
	}
	
	#nav-top ul li, #nav-top span {
		transform: none;
	}
	
	#otoiawase, #moushikomi {
		width: 90vw;
	}
}

#nav-bottom {
	min-width: 300px;
	width: 100%;
	margin: 0px auto;
}

#nav-bottom ul {
	list-style: none;
	width: 100%;
	padding: 0 10px;
}

#nav-bottom li {
	margin: 0px 4px;
	height: 20px;
	display: inline-block;
}

#nav-bottom a {
	color: rgba(20, 24, 54, 1);
	font-size: clamp(1rem, 1.2vw, 1.6rem);
	text-decoration: none;
	cursor: pointer;
	&:hover, :active {
		color: rgb(40,48,100);
	}
}

#nav-bottom ul li a.active {
	color: rgb(40,48,100);
}

.form-line {
	display: block;
	padding: 1rem;
}

.form-line.stick {
	padding-top: 0;
}

.form-line :is(input, label, textarea) {
	display: block;
}

.form-line :is(input, textarea) {
	padding: 0.5rem;
	width: 100%;
	font-size: 1.6rem;
}

.textareas {
	height: 12vh;
}

#picture {
	display: none;
}

#labels-picture {
	padding: 1em;
	background-color: #4CAF50;
	color: #ffffff;
	cursor: pointer;
	width: 130px;
}

#labels-agree, #labels-natsu, #labels-dentou, #labels-kantan, #labels-kosupa, #labels-shiriai, #labels-sns, #labels-poster {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

#agree {
	width: 25px;
	height: 25px;
}

input[type="checkbox"]:is([id^="event-"], [id^="jouhou-"]) {
	width: 25px;
	height: 25px;
}

.button {
	font-size: 1.6rem;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	color: #710303;
	width: auto;
	margin: 0px auto;
	cursor: pointer;
	background: #faf2f8;
	border: 1px solid #c2c2c2;
}

.button:hover {
	text-decoration: none;
}

.button:hover {
	background: #f4e6f0;
	border: 1px solid #8b8b8b;
}

#submit {
	width: 12vw;
	padding: 0.7em;
	min-width: 7em;
}

.soto-field {
	position: absolute;
	left: -99999px;
}S