@charset "utf-8";
@import url(1.css);
/*全称スタイル*/

* {
	/*ボックス余白関連*/
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/*テキスト関連*/
	font-size: 16px;
	color: #444;
	font-family: "Rounded Mplus 1c"!important;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.5em;
	text-align: justify;
	text-justify: inter-character;
}

footer *, h2>strong {
	transition: none;
}

/*スクロールバーを非表示 (除Firefox)*/

::-webkit-scrollbar {
	display: none;
}

* {
	-ms-overflow-style: none;
}

/*背景*/

body {
	height: 100vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

/* wrap */

#wrap {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	animation: wrapanime 0.5s linear 0s 1 normal;
	animation-fill-mode: both;
}

@keyframes wrapanime {
	100% {
		opacity: 1;
	}
}

/*headerスタイル*/

header {
	flex: 1;
	height: 70px;
}

header h1 {
	font-size: 20px;
	color: white;
	text-align: center;
	line-height: 70px;
}

#msg {
	background-color: #fff !important;
}

a.home>h1, a.home>h1>span {
	font-size: 20px;
	color: white;
}

/* Facebook関連 */

.fb-like {
	margin: 8px 1em;
}

/*.fb-page{padding-left:calc(50% - 250px);}*/

/* main-section */

main {
	width: 100%;
	height: calc(100vh - 110px);
	display: block;
	overflow: auto;
	/*	scroll-snap-type:y proximity;*/
}

main>section {
	/*	scroll-snap-align: start;*/
	width: 800px;
	margin: 50px auto;
	background-color: rgba(250, 250, 250, 0.8);
	justify-content: center;
	align-items: center;
	padding-bottom: 0.5em;
	transition: background-color 1s linear 0.2s, color 1s linear 0.2s, box-shadow 0.8s linear 0.5s;
}

main>section:last-of-type, main>section:nth-last-of-type(2) {
	scroll-snap-align: none;
}

main>section>p {
	padding: 1em 2em;
}

main>section:hover {
	background-color: white;
	box-shadow: 3px 3px 5px 3px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(0, 0, 0, 0.1);
}

section>section {
	padding: 1em;
}

/*main hx*/

main>h2 {
	width: 800px;
	margin: 0px auto;
	text-align: center;
}

main>h2>strong {
	font-size: 73px;
	margin: 0;
	padding: 0;
	line-height: calc(100vh - 110px - 50px);
	font-weight: bold;
}

main h3 {
	padding: 1em;
	color: white;
}

main h4 {
	margin: 1em 0em 0em 1em;
}

main h5, h6 {
	margin: 0.5em 1em;
}

main p {
	padding: 0.5em 1em;
}

main ol, main ul {
	margin: 0.5em 0 0 2em;
	list-style: disc;
}

main li {
	margin: 0.5em 1em;
}

/* dl list */

section dl {
	margin: 1em;
}

section dt {
	margin: 0em;
	font-weight: bold;
}

section dd {
	margin: 0.5em 1em;
}

/* main>nav */

main>nav {
	width: 800px;
	margin: 0px auto 50px auto;
}

main>nav ul {
	display: flex;
	margin: 0;
}

main>nav ul li {
	position: relative;
	flex: 1;
	text-align: center;
	list-style-type: none;
}

main>nav ul li.here {
	border-bottom: 3px solid white;
}

main>nav ul li a {
	font-weight: bold;
	font-size: 1.3em;
}

/*footerスタイル*/

footer {
	display: flex;
	height: 40px;
	font-size: 20px;
	color: white;
	text-align: center;
	line-height: 40px;
}

footer * {
	text-align: center;
}

footer>div {
	flex: 1;
	display: block;
	margin-top: 8px;
}

footer>div:nth-of-type(2) {
	flex: 1.5;
}

footer a, footer small {
	color: white;
	margin: 0px 1em;
}

/*デザイン*/

.bold {
	font-weight: bold;
}

/*太字*/

.red {
	color: red;
}

.sign {
	text-align: right;
	margin: 1em;
}

/*サイン*/

.right {
	text-align: right;
}

/*右揃え*/

.center {
	text-align: center;
}

.border {
	border: 1px solid gray;
	border-radius: 0.5em;
	margin-bottom: 1em;
}

rt {
	font-size: 0.3em;
}

strong {
	font-weight: bold;
}

/* details */

details {
	margin: 1em 1em 0 0;
}

details summary {
	outline: none;
}

details summary h5 {
	display: inline;
}

/*工事中*/

.uc:after {
	content: " [作成中]";
	color: rgba(0, 215, 0, 0.5);
}

/*追加と削除*/

ins {}

ins:after {
	content: "("attr(datetime)"追加)";
	font-size: 0.8em;
	color: #f66;
}

del:before {
	content: "☓";
	color: red;
}

del:after {
	content: "("attr(datetime)"削除)";
	font-size: 0.8em;
	color: #f66;
}

/*リンクのデザイン*/

a {
	border-bottom: 1px dotted green;
	padding-bottom: 3px;
}

main>nav a, header a, footer a {
	border-bottom: none;
	padding-bottom: 0px;
	display: inline;
}

/*カウンター*/

main {
	counter-reset: header3;
}

h3:before {
	counter-increment: header3;
	content: counter(header3)". ";
}

h4:before {
	width: 1em;
	height: 1em;
	display: block;
	float: left;
	border-radius: 50%;
	margin: 0px 7px 0 0;
}

/* Google検索ボタンのCSS変更 */

.gsc-result {
	background-color: rgba(255, 255, 255, .7);
	color: black !important;
}

input.gsc-search-button {
	border-color: white !important;
}

.gsc-input-box {
	height: 40px !important;
	border: 1px dotted gray;
	background-color: white;
}

.gsc-input-box * {
	color: black !important;
}

.gsc-control-cse-ja {
	background-color: transparent !important;
	border: none !important;
}

.gsc-search-button-v2 {
	padding-left: 50px !important;
	width: 97px !important;
	height: 28px !important;
	margin-top: 5px !important;
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}

div.gs-result * {
	color: black !important;
}

.table {
	margin: 2em auto;
	width: 90%;
	border-collapse: collapse;
}

.table th {
	border: 1px solid gray;
	text-align: center;
}

.table td {
	border: 1px solid gray;
	text-align: center;
	padding: 0.5em 0em;
}

/*レスポンシブ対応(スマホ・印刷)*/

@media(max-width:800px), print {
	body {
		background: none;
		background-color: white;
		background-image: none !important;
	}
	#wrap {
		width: 100%;
		height: auto;
		display: block;
		overflow: hidden;
	}
	video {
		display: none;
	}
	header {
		flex: none;
	}
	header.home h1 {
		line-height: 70px;
		background-color: rgba(100, 100, 100, 1);
	}
	main {
		height: auto;
		overflow: hidden;
	}
	main>h2 {
		width: 100%;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
	main>h2>strong {
		font-size: 9vw;
		line-height: 5em;
		color: #666;
		text-shadow: 2px 2px 3px white, 2px -2px 3px white, -2px 2px 3px white, -2px -2px 3px white;
	}
	main section {
		margin-top: 0;
		margin-bottom: 0;
		background-color: white;
	}
	main section h3 {
		padding: 1em;
		color: white;
		text-shadow: none;
		background: rgba(100, 100, 100, 1);
	}
	/*main>section p{
		margin:0 1em 0 1em;
		padding:0;
	}*/
	main>section {
		width: 100%;
		height: auto;
	}
	main>section>section {
		margin: 0;
		padding: 0;
	}
	main>section>section>section {
		margin: 0;
		padding: 0;
	}
	main>section:hover {
		box-shadow: none;
		transform: none;
	}
	main>nav ul li.here {
		border-bottom: 1px solid gray;
	}
	main>nav {
		width: 100%;
		margin: 0em;
	}
	main>nav ul {
		border: 1px solid gray;
		margin: 1em;
	}
	main>nav ul li {
		margin: 0.2em 0em 0.1em 0.1em;
	}
	main>nav ul li:last-of-type {
		margin-right: 0.1em;
	}
	main>nav ul li a {
		color: #666;
		font-size: 0.8em;
		filter: none;
		text-shadow: none;
	}
	footer {
		height: auto;
		flex-direction: column;
		background-color: rgba(100, 100, 100, 1);
	}
	.flex {
		display: block;
	}
	.sign {
		margin: 1em;
	}
	.nowrap {
		white-space: nowrap;
	}
}

/*印刷CSS*/

@media print {
	* {
		font-size: 8pt !important;
		color: black !important;
		text-shadow: none !important;
	}
	h1 {
		line-height: 1em;
	}
	#wrap main h2>strong {
		color: black !important;
		font-size: 1.3em !important;
		line-height: 1em !important;
	}
	h4:before {
		content: "●" !important;
	}
	footer div.fb-like, footer div:nth-of-type(3), nav {
		display: none;
	}
	pre {
		border: 1px dashed black;
		padding: 0.3em !important;
		margin: 0em !important;
	}
	li {
		padding: 0px !important;
		border: none !important;
	}
	p {
		padding: 0em !important;
	}
	h5 {
		margin: 2em 0 0 0 !important;
	}
	h6 {
		margin: 1em 0 0 0 !important;
		padding: 0px !important;
	}
}