/* 縦画面 */
@media (orientation: portrait) {
	body {
		font-size: 2.5rem;
	}
	
	.landscapeHeader {
		display: none;
	}
	
	iframe {
		width: 100%;
	}
	
	header img {
		width: 6em;
	}
	
	header td:nth-of-type(1) {
		width: 7em;
	}
	
	.autosizing {
		width: 100%;
	}
	
	.autosizingMini {
		width: 50%;
	}
	
	audio {
		zoom: 2.5;
	}
}

/* 横画面 */
@media (orientation: landscape) {
	.portraitHeader {
		display: none;
	}
	
	iframe {
		width: 50%;
	}
	
	header img {
		width: 16em;
	}
	
	header td:nth-of-type(1) {
		width: 50%;
	}
	
	.autosizing {
		width: 50%;
	}
	
	.autosizingMini {
		width: 25%;
	}
}

/* ホバー注意書き(header専用) */
	.headerNote {
		position: relative;
	}
	
	.noteImage {
		display: block;
		padding: 0.5em;
		margin-top: 10px;
		width: 1.5em;
		transition: background-color 0.3s 0s ease;
	}
	
	.noteText {
		font-size: 80%;
		font-weight: bold;
		text-align: left;
		opacity: 0;
		transition: opacity 0.3s 0s ease;
		position: absolute;
		padding: 1em;
		margin: 0;
		background-color: #ff0;
		border-radius: 0 1em 1em 1em;
	}
	
	.noteText h4 {
		text-align: left;
		font-size: 150%;
		margin: 0 0 1em;
	}
	
	.noteText p {
		margin: 0;
	}
	
	.noteImage:hover {
		background-color:#ff0;
	}
	
	.noteImage:hover + .noteText {
		opacity:1;
	}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: "Open Sans", "Noto Sans JP", sans-serif;
	font-weight: 450;
	margin: 0;
	padding: 0;
	word-break: break-all;
	background-color: #dfb;
}

header {
	position: sticky;
	top: 0;
	box-sizing: border-box;
	padding: 10px;
	border-bottom: 2px solid #000;
	width: 100%;
	background-color: #fff;
	z-index: 100;
}

header table {
	width: 100%;
	table-layout: fixed;
}

header table td a {
	display: block;
	height: 100%;
	color: #888;
	text-decoration: none;
}

.youtube {
	aspect-ratio: 16/9;
}

.youtubeShort {
	aspect-ratio: 9/16;
}

h1 {
	padding-left: 5%;
	background: linear-gradient(90deg,#000 0%,#fff 5%,#fff 100%);
}

h2 {
	margin: -20px -20px 20px -20px;
	background: linear-gradient(to right bottom,#7d0, #fff);
}

h2::first-letter {
	font-size: 125%;
	color: #666;
}

h3 {
	border-left: 0.5em solid #480;
	padding-left: 0.2em;
}

h4 {
	border-left: 0.5em solid #f00;
	padding-left: 0.2em;
}

section,
div.section {
	background-color: #fff;
	padding: 20px;
	margin: 20px;
}

a.button {
	display: block;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	color: #000;
	background-color: #bf0;
	padding: 0.5em;
	margin: 10px 0;
	border-radius: 0.5em;
	transition: opacity 0.3s 0s ease;
}

a.button:hover {
	opacity: 0.5;
}

li {
	color: #444;
}

li:not(:last-child) {
	margin-bottom: 0.5em;
}

table.table {
	border-radius: 16px;
	border: 2px solid #000;
	border-spacing: 0;
	border-collapse: separate;
	width: 100%;
	overflow: hidden;
	text-align: center;
}

table.table th {
	background-color: #bf0;
	border-bottom: 1px solid #555;
}

table.table th:not(:last-child) {
	border-right: 1px solid #555;
}

table.table tr td:not(:last-child) {
	border-right: 1px solid #aaa;
}

table.table tr:not(:last-child) td {
	border-bottom: 1px solid #aaa;
}

table.table tr:nth-child(odd) td {
	background-color: #eee;
}

.autosizing, .autosizingMini {
	display: block;
	margin: 0 auto;
}

audio {
	width: 100%;
}

footer {
	color: #fff;
	background-color: #240;
	margin-top: 4em;
	padding: 2em;
}

footer a {
	color: #aaa;
	text-decoration: none;
}

footer img.footerLogo {
	width: 24em;
	max-width: 100%;
	max-heigth: 6em;
}

footer div {
	display: inline-block;
	float: right;
}

footer img.footerSns {
	width: 3em;
	border-radius: 50%;
	border: 2px solid #000;
}

footer ul {
	clear: right;
}

footer ul,
footer ul ul {
	list-style: none;
}

.jump {
	scroll-margin-top: 7em;
}