@charset "utf-8";
@layer frame, coat, fill;

@layer frame {

	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		position: relative;
	}

	html {
		font-size: 62.5%;
		overflow-y: scroll;
		min-width: 360px;
	}

	a {
		text-decoration: underline;
		color: rgba(0, 125, 204, 1);
	}

	a[href$=".pdf"] {
		background-size: 0.9em auto;
		background-repeat: no-repeat;
		background-position: right center;
		padding-right: 1.5em;
		margin-right: 0.5em;
		background-image: url("../../../img/icon_pdf.png");
	}

	a[href$=".pdf"]:has(img:first-child:last-child) {
		padding-right: initial;
		margin-right: initial;
		background-image: none;
		display: block;
	}

	a:has(img:first-child:last-child):hover {
		opacity: 0.75;
	}

	a[href$=".pdf"]+span {
		font-size: 80%;
		letter-spacing: 0;
		display: inline-block;
	}

	a[href^="http"][target="_blank"] {
		letter-spacing: 0;
	}

	a:hover {
		color: rgba(236, 0, 3, 1);
	}

	a img {
		transition: all 0.25s;
	}

	a:hover img {
		opacity: 0.75;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	ol,
	ul,
	table,
	dl {
		margin-bottom: 1em;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	ul,
	ol {
		line-height: 1.4;
	}

	ul,
	ol {
		margin-left: 1.5em;
		list-style-position: outside;
	}

	li {
		padding-block: 0.5em;
	}

	img,
	embed,
	video {
		max-width: 100%;
		height: auto;
		vertical-align: middle;
		border: 0;
	}

	img[src$=".webp"],
	img[src$=".svg"] {
		width: 100%;
	}

	picture {
		display: block;
		margin-bottom: 1em;
	}

	figure {
		margin-bottom: 1em;
		text-align: center;
		margin-inline: auto;
		font-size: 95%;
		letter-spacing: 0;
	}

	figure+figure {
		margin-top: 2em;
	}

	figcaption {
		padding-block: 1em;
		line-height: 1.4;
		font-size: 90%;
	}

	figcaption>span {
		display: block;
	}

	figcaption>span+span {
		margin-top: 0.5em;
	}

	figcaption a+span {
		display: inline-block;
	}

	iframe {
		width: 100%;
		margin-bottom: 1em;
		border: none;
	}

	table {
		font-family: inherit;
		border-collapse: collapse;
		border-spacing: 0;
		font-size: 90%;
	}

	table caption {
		text-align: center;
		margin: 0.5em 0;
		font-size: 90%;
	}

	table caption::before {
		content: "〈 ";
		font-size: 70%;
		line-height: 1;
	}

	table caption::after {
		content: " 〉";
		font-size: 70%;
		line-height: 1;
	}

	th,
	td {
		border: 1px solid rgba(200, 200, 200, 1);
		padding: 0.5em;
	}

	th {
		font-weight: normal;
		background-color: rgba(0, 0, 0, 0.08);
		text-align: center;
	}

	thead th {
		padding: 1em 0.5em;
		background-color: rgba(0, 0, 0, 0.15);
	}

	tbody th {
		background-color: rgba(0, 0, 0, 0.08);
	}

	td {
		text-align: left;
	}

	footer * {
		margin: 0;
		list-style-type: none;
	}

	body {
		background-color: rgba(255, 255, 255, 1);
		font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		color: rgb(80, 80, 80);
		line-height: 1.7;
		font-size: 1.5em;
		letter-spacing: 0;
	}

	@media screen and (min-width: 1100px) {
		body {
			line-height: 1.8;
			font-size: 1.6em;
		}
	}

	@media screen and (max-width: 900px) {
		body {
			line-height: 1.6;
			font-size: 1.4em;
		}
	}
}

@layer coat {

	.edge {
		max-width: 1400px;
		margin-inline: auto;
	}

	#container {
		width: 100%;
	}

	#body_header {
		position: relative;
		background-size: auto auto;
		background-color: rgba(240, 240, 240, 1);
		background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, 1) 10px, rgba(255, 255, 255, 1) 20px);
		padding-block: 15px 30px;
	}

	#top {
		width: 100%;
		padding: 10px;
		background-color: rgb(255, 255, 255);
	}

	#top .edge {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1em;
	}

	#home {
		width: 50%;
		max-width: 300px;
		margin: 0;
	}

	#visual {
		background-color: rgb(255, 255, 255);
	}

	h1 {
		margin: 0 auto;
		text-align: center;
	}

	@media screen and (max-width: 999px) {
		#body_header {
			background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(255, 255, 255, 1) 5px, rgba(255, 255, 255, 1) 10px);
			padding-block: 5px 10px;
		}
	}

	nav {
		background-color: rgb(199, 38, 16);
		padding: 10px;
		position: sticky;
		top: 0;
		z-index: 100;
		letter-spacing: 0;
		filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.30));
		font-size: 100%;
		font-family: "Meiryo UI";
		line-height: 1.4;
	}

	nav.fix {
		font-size: 85%;
		letter-spacing: 0.1em;
	}

	nav ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		gap: 5px;
		flex-wrap: wrap;
	}

	@media screen and (max-width: 999px) {
		nav {
			padding: 5px;
			letter-spacing: 0;
		}
	}

	nav li {
		margin: 0;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: stretch;
		flex-grow: 1;
		width: calc((100% - 25px) / 6);
	}

	nav a {
		color: rgba(255, 255, 255, 1);
		text-decoration: none;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 0 0.5em;
		text-align: center;
		width: 100%;
		min-height: 4em;
		background-color: rgb(135, 27, 15);
		border-radius: 3px;
		padding: 1.25em 1em 1.5em 1em;
		transition: all 0.15s;
	}

	nav.fix a {
		padding: 0.5em 1em;
		min-height: 2em;
	}

	nav a::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 8px;
		z-index: 0;
		background-color: rgb(51, 10, 6);
		border-radius: 3px;
		transition: all 0.15s;
	}

	nav.fix a::before {
		height: 0px;
	}


	nav a:hover {
		color: rgba(255, 255, 255, 1);
	}

	nav a:hover::before,
	nav a.active::before {
		height: 100%;
	}

	@media screen and (max-width: 999px) {
		nav {
			font-size: 80%;
			white-space: nowrap;
			overflow: hidden;
			overflow-x: scroll;
			width: 100%;
		}

		nav ul {
			white-space: nowrap;
			flex-wrap: nowrap;
			gap: 2px;
		}

		nav li {
			width: fit-content;
		}

		nav a::before {
			content: "";
			height: 4px;
		}
	}

	main {
		letter-spacing: 0.075em;
		background-color: rgb(238, 231, 209);
	}

	#main_content {
		width: 100%;
		padding-inline: clamp(10px, 3vw, 6em);
		padding-block: 2em 6em;
	}

	#main_content>section+section {
		padding-top: 4em;
	}

	.section_unit {
		background-color: rgb(255, 255, 255);
		border-radius: clamp(5px, 1vw, 15px);
		width: 100%;
		max-width: 1400px;
		margin-inline: auto;
		padding: clamp(10px, 3vw, 2em);
	}

	.section_header {
		margin-bottom: 3em;
		text-align: left;
	}

	.section_main {
		text-align: left;
	}

	.section_header h2 {
		margin: 0;
		padding: 0.6em 0.85em 0.6em 0.85em;
		background-color: #c72610;
		background-image: url("../img/symbol.webp");
		background-repeat: no-repeat;
		background-position: 100% 40%;
		background-size: auto 220%;
		border-left: clamp(4px, 1vw, 8px) solid rgb(135, 27, 15);
		border-radius: clamp(2px, 3vw, 4px);
		font-weight: bold;
		font-size: clamp(1.1em, 3vw, 1.5em);
		color: #fff;
	}

	.section_header .read {
		margin-top: 1em;
		font-size: clamp(1.0em, 2vw, 1.2em);
		border-left: clamp(4px, 1vw, 8px) solid #e6e6e6;
		border-radius: clamp(2px, 3vw, 4px);
	}

	.section_header .read p {
		padding: 0.6em 0.75em 0.6em 0.75em;
		margin: 0;
	}

	.section_header>*:last-child {
		margin-bottom: 0;
	}

	.section_content {
		padding: clamp(15px, 3vw, 3em);
		max-width: 1600px;
		margin-left: auto;
		margin-right: auto;
	}

	h3 {
		font-weight: normal;
		font-size: clamp(1.0em, 2.0vw, 1.1em);
		padding: 0.6em 1.2em 0.6em 0.75em;
		background-color: #e6e6e6;
		display: inline-block;
		margin-bottom: 2em;
		border-left: clamp(4px, 1vw, 8px) solid rgb(135, 27, 15);
		border-radius: clamp(2px, 3vw, 4px);
	}

	.main_unit+.main_unit {
		margin-top: 3em;
		border-top: 1px dotted rgba(0, 0, 0, 0.5);
		padding-top: 3em;
	}

	.main_unit>*:last-child {
		margin-bottom: 0;
	}

	.block {
		margin-bottom: 2em;
	}

	.block+.block {
		margin-top: 2em;
	}

	.block>*:last-child {
		margin-bottom: 0;
	}

	.box {
		border: clamp(4px, 1vw, 8px) solid rgba(135, 27, 15, 0.13);
		padding: 1em;
		border-radius: 10px;
	}

	footer {
		position: relative;
		background-color: #e6e6e6;
	}

	.footer_unit {
		margin: auto;
		max-width: 1400px;
		padding: 4em clamp(10px, 3vw, 2em);
	}

	#footer_author {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1em 2em;
	}

	footer * {
		margin: 0;
		list-style-type: none;
	}

	footer h2 {
		width: 80%;
		max-width: 220px;
	}

	#footer_address {
		font-size: 85%;
		letter-spacing: 0.1em;
	}

	footer a {
		color: inherit;
		text-decoration: none;
	}

	#footer_address a span {
		display: inline-block;
	}

	@media screen and (max-width: 999px) {
		#footer_author {
			flex-direction: column;
		}
	}

	#copyright {
		text-align: center;
		font-size: 70%;
		letter-spacing: 0.25em;
		padding: 1.5em;
		background-color: rgb(30, 30, 30);
		text-shadow: inherit;
		color: rgba(255, 255, 255, 0.75);
	}

	#up {
		position: fixed;
		right: 10px;
		bottom: 10px;
		z-index: 5;
	}

	#up.hide {
		display: none;
	}

	#up a {
		width: 3em;
		aspect-ratio: 1;
		padding: 5px;
		background-color: rgba(0, 0, 0, 0.2);
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 4px;
	}
}

@layer fill {
	#information ul {
		margin-left: 0;
	}

	#information li {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 0.75em 1em;
		padding-block: 0.75em;
	}

	#information li:nth-of-type(1) {
		padding-top: 0;
	}

	@media screen and (max-width: 999px) {
		#information li {
			flex-direction: column;
			align-items: start;
		}
	}

	#information li+li {
		border-top: 1px dotted rgba(0, 0, 0, 0.5);
	}

	#information time {
		padding: 0.35em 0.75em;
		background-color: #e6e6e6;
		border-radius: 3px;
		font-size: 75%;
	}

	#competition {
	}

	#competition>* {
		border: 3px solid rgba(0,0,0,0.1);
		padding: 1em;
		border-radius: 5px;
	}

	#competition h4 {
		font-size: clamp(1.1em, 2.5vw, 1.4em);
		letter-spacing: 0;
	}

	#competition h4 span {
		font-size: 80%;
		letter-spacing: 0;
	}


	@media screen and (min-width: 1000px) {
		#competition .block {
			display: flex;
			justify-content: space-around;
			gap: 1em;
		}

		#competition .block > * {
			margin-block: 0;
			flex-grow: 1;
		}

		#competition .block .txt {
			flex-grow: 1;
		}

		#competition .block .file {
			max-width: 150px;
		}
	}

	#competition figure img {
		max-width: 550px;
	}

	#competition .period {
		padding: 0.35em 1.5em;
		background-color: black;
		color: #fff;
		letter-spacing: 0;
		border-radius: 2em;
		width: fit-content;
	}

	#gmap iframe {
		width: 100%;
		height: 400px;
		margin-bottom: 0;
	}

	.gmapguide li {
		font-size: 80%;
		padding-block: 0.25em;
	}

	#gmap .btn {
		font-size: 100%;
	}

	#gmap .btn a {
		padding: 1.25em 2em;
		background-color: rgb(135, 27, 15);
		color: rgba(255, 255, 255, 1);
		text-decoration: none;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1em;
		width: 100%;
		text-align: center;
		line-height: 1.2;
		transition: all 0.25s;
	}

	#gmap .btn a::after {
		content: "▲";
		font-size: 100%;
		display: inline-block;
		transform: scaleX(0.75) translateX(0.5em) rotate(90deg);
	}

	#gmap .btn a:hover {
		background-color: rgb(199, 38, 16);
	}

	@media screen and (min-width: 1000px) {
		#graphs {
			display: flex;
			justify-content: space-around;
			gap: 3em;
			text-align: center;
		}

		#graphs>* {
			margin-block: 0;
			padding-inline: 2em;
		}
	}

	#graphs figcaption {
		font-size: 105%;
	}

	#graphs+* {
		margin-top: 1em;
		text-align: center;
	}

	#route_serecter {
		width: 100%;
		overflow: hidden;
		overflow-x: scroll;
		padding-bottom: 0.75em;
		margin-bottom: 1em;
	}

	#route_index {
		display: flex;
		flex-wrap: wrap;
		gap: 5px 5px;
		align-items: stretch;
		justify-content: start;
		line-height: 1.4;
	}

	.section_index {
		padding: 0.75em 1.5em;
		border-radius: 3px;
		background-color: #cbe6bf;
		cursor: pointer;
		white-space: nowrap;
	}

	@media screen and (max-width: 999px) {
		.section_index {
			padding: 0.5em 0.75em;
			width: calc((100% - 5px) / 2);
			font-size: 90%;
			letter-spacing: 0;
			text-align: center;
		}
	}

	.section_index:hover {
		background-color: #a6d890;
	}

	.section_index.active {
		background-color: #4ea526;
		color: #fff;
	}

	.route_section.hide {
		display: none;
	}

	@media screen and (min-width: 1000px) {
		.section_index.active::before {
			content: "▼";
			color: #4ea526;
			width: 1em;
			line-height: 1;
			position: absolute;
			bottom: -0.75em;
			left: calc(50% - 0.5em);
		}
	}

	.section_map {
		margin-bottom: 2em;
	}

	.section_map iframe {
		width: 100%;
		height: 400px;
		max-height: 35dvh;
	}

	.section_camera {
		overflow: hidden;
		overflow-x: hidden;
		overflow-x: scroll;
		padding-bottom: 2em;
	}

	.cameras {
		display: flex;
		justify-content: start;
		gap: 1em;
		text-align: center;
	}

	.camera {
		min-width: calc(100% / 4.5);
	}

	@media screen and (min-width: 1400px) {
		.camera {
			min-width: calc(100% / 5.5);
		}
	}

	@media screen and (max-width: 999px) {
		.camera {
			min-width: calc(100% / 3.5);
		}
	}

	@media screen and (max-width: 749px) {
		.camera {
			min-width: calc(100% / 2.5);
		}
	}

	@media screen and (max-width: 549px) {
		.camera {
			min-width: calc(100% / 1.5);
		}
	}

	.camera a {
		display: block;
		aspect-ratio: 1.332;
		overflow: hidden;
		border-radius: 4px;
	}

	.camera_name {
		font-size: 85%;
		margin-top: 0.5em;
		letter-spacing: 0;
	}

	.movie_player {
		max-width: 600px;
		margin-inline: auto;
	}

	@media screen and (min-width: 1000px) {
		.flyer {
			display: flex;
			justify-content: space-around;
			gap: 3em;
			text-align: center;
		}

		.flyer>* {
			margin-block: 0;
		}
	}

	.flyer figure img {
		max-width: 550px;
	}

	#links li>span {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 2em;
	}

	#links li a {
		font-size: 90%;
	}
}