@charset "utf-8";

body{
	background: url(../img/woods-opa05.jpg);
	background-attachment: fixed;
	background-size: cover;
}

/* 基本事項 --------------------*/
li{
	font-size: 16px;
	color: #333;
	line-height: 2em;
}
p{
	font-size: 18px;
	color: #333;
	line-height: 2em;
}
h1{
	margin: 20px 0;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	border-left: solid 10px #339933;
	border-right: solid 10px #339933;
	padding: 0 5px;
}
h2{
	margin-bottom: 10px;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	border-bottom: double 10px #ffff00;
	padding: 0 5px;
}
h3{
	margin: 10px 0;
	padding-left: 20px;
	font-size: 24px;
	font-weight: bold;
	border-left: solid 10px #ff99ff;
	border-bottom: solid 5px #ff99ff;
}
img{
	width: 100%;
}

header,nav,main,aside,footer{
	display: block;
	max-width: 1024px;
	margin: auto;
	padding: 20px;
	background-color: #efe;
}

/*----- 運営サイト紹介ナビ --------------------*/
.komarulink{
	display: block;
}
.komarulink li a{
	display: block;
	width: 320px;
	padding: 5px;
	margin: 5px auto;
	text-align: center;
	color: #fff;
	font-weight: bold;
	opacity: 0.8;
	

	line-height: 2em;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f0b7a1+0,893010+53,bf6e4e+100 */
	background: rgb(240,183,161); /* Old browsers */
	background: -moz-linear-gradient(45deg,  rgba(240,183,161,1) 0%, rgba(137,48,16,1) 53%, rgba(191,110,78,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg,  rgba(240,183,161,1) 0%,rgba(137,48,16,1) 53%,rgba(191,110,78,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg,  rgba(240,183,161,1) 0%,rgba(137,48,16,1) 53%,rgba(191,110,78,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0b7a1', endColorstr='#bf6e4e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.komarulink li a:hover{
	opacity: 1;
}
@media(min-width:768px){
	.komarulink{
		display: flex;
		justify-content: center;
		box-sizing: border-box;
	}
	.komarulink li a{
		display: block;
		width: 250px;
		height: 60px;
		line-height: 30px;
		padding: 5px;
		font-size: 15px;
		text-align: center;
		color: #fff;
		font-weight: bold;
	}
}
/*----- タイピングナビ --------------------*/
.typinglink{
	display: block;
}
.typinglink li a{
	display: block;
	width: 320px;
	margin: auto;
	padding: 5px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	opacity: 0.8;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f0b7a1+0,893010+53,bf6e4e+100 */
	background: rgb(240,183,161); /* Old browsers */
	background: -moz-linear-gradient(45deg,  rgba(240,183,161,1) 0%, rgba(137,48,16,1) 53%, rgba(191,110,78,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg,  rgba(240,183,161,1) 0%,rgba(137,48,16,1) 53%,rgba(191,110,78,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg,  rgba(240,183,161,1) 0%,rgba(137,48,16,1) 53%,rgba(191,110,78,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0b7a1', endColorstr='#bf6e4e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.typinglink li a:hover{
	opacity: 1;
}
.typinglink li a{
	margin-bottom: 5px;
}

@media(min-width:768px){
	.typinglink{
		display: flex;
		justify-content: space-between;
	}
	.typinglink li a{
		display: block;
		height: 60px;
		line-height: 30px;
		padding: 5px;
	}
}

.kinou li{
	margin-left: 10px;
	list-style-type: disc;
}
.dis-mokuji{
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 20px;
}
.dis-mokuji li{
	list-style-type: inherit;
}
.dis-mokuji a{
	font-size: 18px;
	color: blue;
}
.dis-mokuji a:hover{
	text-decoration: underline;
	opacity: 0.6;
}

main section ul li{
	margin-left: 10px;
	list-style-type: disc;
}

aside > a{
	display: block;
	width: 280px;
	margin: auto;
	padding: 10px 20px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #0000cc;
}

/*----- js 最初は見えない設定、ボタンを押すとみれる -----*/
aside > section{
	display: none;
}

footer p{
	text-align: center;
}

/*----- X軸指定範囲内で　一定スピード　折り返して、繰り返す -----*/

.douro{
	display: block;
	overflow: hidden;
	position: relative;
	height: 150px;
	border-top: solid 2px #000;
	border-bottom: solid 2px #000;
	background-color: #ddd;
	opacity: 0.8;
}
.douro:before{
	display: block;
	width: 100%;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	border-bottom: dashed 5px #000;
}
@media(min-width: 480px){
	.douro{
		display: none;
		overflow: hidden;
		position: relative;
		height: 150px;
		border-top: solid 2px #000;
		border-bottom: solid 2px #000;
		background-color: #ddd;
		opacity: 0.8;
	}
	.douro:before{
		display: block;
		width: 100%;
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		border-bottom: dashed 5px #000;
	}
}

.car-drive2{
	position: absolute;
	bottom: 70px;
	left: 0;
	width: 120px;
	animation: hajikko-leftX linear 2s infinite;
}

@keyframes hajikko-leftX{
	0%{left: -10%;}
	100%{left: 100%;}
}
/* 左　⇒　右へ */
.car-drive1{
	position: absolute;
	top: 45px;
	right: 0;
	width: 100px;
	animation: hajikko-rightX linear 3s infinite;
}
/* 右　⇒　左へ */
@keyframes hajikko-rightX{
	0%{right: -10%;}
	100%{right: 100%;}
}

/*----- js トップページに戻るが追従する -----*/
#page-top{
	position: fixed; /*　ウィンドウの端から計算して固定表示 */
	bottom: 20px;
	right: 20px;
	font-size: 77%;
}
#page-top a{
	background: #666;
	text-decoration: none;
	color: #fff;
	width: 100%;
	padding: 10px 3px;
	text-align: center;
	display: block;
}
#page-top a:hover{
	text-decoration: none;
	background: #999;
}