﻿body{
	font-family:"Yu Gothic", "YuGothic", sans-serif;
}
.container{
	margin: 0 auto;
	background-color:white;/*ページ全体の背景色*/
}

.wrapper{
	max-width: 950px;	/*ページ全体の幅*/
	margin: 0 auto;
	padding-top: 10px;	/*タイトルとブラウザ最上部との隙間調整*/
	background-color:transparent;/*背景色、transparentで.containerの色そのままに*/
}

/* Text Accessories (<>で文章の装飾を行う場合に利用、自由に追加可)*/

f1{font-size:100%;}
f5{font-size:150%;}
f8{font-size:80%;}
bold{font-weight:bold}
float-right{float:right;}
underline{text-decoration: underline;}
sub{vertical-align: sub; font-size: 0.8em;}

fs1{font-size:100%;}
fs2{font-size:120%;}
fs5{font-size:150%;}
fs8{font-size:80%;}
fs9{font-size:90%;}
fw1{font-weight:100;}
fw4{font-weight:400;}
fw6{font-weight:600;}
fw8{font-weight:800;}
b{font-weight:bold;}
u{text-decoration: underline;}
sub{vertical-align: sub; font-size: 0.8em;}
sup{vertical-align: super; font-size: 0.8em;}

/* 特殊動作 (スマホ版のみ特殊な動作を起こしたい場合に挿入) */

.br-smt{display:none;}     /*スマホ版のみ改行*/
.tx-smt {display:none;}  /*スマホ版のみ文字表示*/
.tx-smt2 {display:none;}  /*スマホ版のみ文字表示*/

/* Line Accessories (段落として線を引きたい場合に利用)*/

hr.grey {
	border-width: 2px 0px 0px 0px; /* 太さ */
	border-style: solid; /* 線種 */
	border-color: grey;   /* 線色 */
	height: 0px;         /* 高さ(※古いIE用に最適化する場合はwidthと同じ数値を入れる) */
	margin-bottom: 10px;
}

hr.black {
	border-width: 1px 0px 0px 0px; /* 太さ */
	border-style: solid; /* 線種 */
	border-color: black;   /* 線色 */
	height: 0px;         /* 高さ(※古いIE用に最適化する場合はwidthと同じ数値を入れる) */
	margin-bottom: 10px;
}

hr.blue {
	border-width: 3px 0px 0px 0px; /* 太さ */
	border-style: double; /* 線種 */
	border-color: royalblue;   /* 線色 */
	height: 0px;         /* 高さ(※古いIE用に最適化する場合はwidthと同じ数値を入れる) */
	margin-bottom: 10px;
}


/* header (タイトル部分の調整)*/


/* header (ヘッダーの調整)*/

.header{
	background-color: maroon; /* #003F6Cは青20号(新幹線用青色)。 #002569を指定するとドラゴンズブルー。#C00029は名鉄スカーレット */
	/* letter-spacing: -.4em; */
	width:100%;
	/* border: solid green 1px; */
	display: flex;
	flex-wrap: wrap;
	/* position: fixed; */
	/* min-width:750px; */
}

.header .logo{
	width:32%;
	margin:0.5%;
	padding-left: 1%;
	/* border: solid green 1px; */
	overflow: hidden;
	background-color:transparent;
	text-align:justify; 
	text-align-last:justify;
	text-justify: inter-ideograph; /* IEで必要 */
	text-justify: inter-character; /* 古いFirefoxで必要 */
	display: flex;
	float: left;
}

/* ロゴにおけるSafari対応 */
_::-webkit-full-page-media, _:future, :root .header .logo{
	display:flex;
	justify-content: space-between;
}

.header .logo a{
	text-decoration: none;
}

.header .logo p{
	color:white;
}

.hamburger-menu{
	width:64%;
}


/* branding (ブランディング、不要なら省略。以下は画像形式のbranding)*/

#branding{
	width: 80%; /*横幅指定*/
	margin-top: 1%;
	margin-left: 10%;
	/* background-color: #313131; */ /*背景色の指定*/
	background-image: url(../img/sample.jpg); /*背景画像の指定*/
	/* background-size: 1024px 512px contain; */ /* 写真の大きさ指定 */
	overflow: hidden; /*おまじない*/
}

#branding p{
	color: white;
	letter-spacing:10px;
	font-size:150%;
	line-height:300px;
	padding-left:10%;
}


/* branding (ブランディング、不要なら省略。以下は単純スライドショー形式のbranding)*/

.slide{
	width: 720px;	/* スライドショーの横px、出来れば使用する写真の縦pxと同じ方が良い*/
	height: 408px;	/* スライドショーの縦px、使用する写真の横pxと同じ縦横比にすること*/
	overflow: hidden;
	margin: 1em auto;
	/* border: 5px solid #ffffff; */
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.5);
	position: relative;
}

.slide img{
	display: block;
	position: absolute;
	width: inherit; /* ここで画像を上記サイズに合わせる */
	height: inherit; /* ここで画像を上記サイズに合わせる */
	opacity: 0; /* 透明度、0で完全透明、1で不透明 */
	animation: slideAnime 24s ease infinite; /* スライドショー全体の秒数を設定可能 */
}

.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 8s } /* [(スライドショー全体の秒数)÷(スライド枚数)]の秒数を設定 */
.slide img:nth-of-type(3) { animation-delay: 16s }

@keyframes slideAnime{
	0% { opacity: 0 }
	2% { opacity: 1 }
	31% { opacity: 1 } /* [100÷(スライド枚数)-2]の%数値を設定すること */
	33% { opacity: 0 } /* [100÷(スライド枚数)]の%数値を設定すること */
	100% { opacity: 0 }
}



/* Navigation (ナビ、不要なら省略)*/

.nav{
	width: 100%; /* ナビ全体の幅 */
	margin-top: 3%;
	margin-left: 2%;
	/* border-top: solid 1px royalblue; */ /* ナビ上側の線 */
	/* border-bottom: solid 1px royalblue; */ /* ナビ下側の線 */
	overflow: hidden;
	display:block;
}

.nav ul{
	width: 98%; /* 各ナビの幅 */
	margin-left: 1%; /* ナビ左側のマージン */
}

.nav li{
	width: calc(32% - 2px); /* 各ナビから削るべき幅指定(borderにより1pxずつ縮小) */
	background-color: chocolate;
	font-size: 120%; /* フォントサイズ */
	letter-spacing: 1px; /* 文字間隔 */
	line-height: 30px; /* ナビの高さ */
	/* border-left: solid 1px royalblue; */ /* ナビの左側に線を引く */ 
	/* border-bottom: solid 1px royalblue; */ /* ナビ下側の線 */
	cursor: pointer; /* ナビにカーソルが当たった場合のアイコン指定 */
	text-align: center; /* 各ナビのテキストの位置 */
	float: left; /* 並び順 */
	margin-bottom:1%;
	margin-left:0.5%;
	margin-right:0.5%;
}

.nav a{
	text-decoration: none;
	color: white;
	vertical-align:middle;
}

.nav li:last-child{
	/*border-right: solid 1px royalblue; */ /* 右端ナビの右側に線を引く */
}

.nav li:hover{
	background-color: gold; /* ナビにカーソルが当たった場合の背景色 */
	transition: background-color 0.3s ease-out; /* カーソルが当たった場合の反応 */
	color: blue;  /*文字色の指定*/
}

.nav li a{
	display: block;
	height: 100%;
	width: 100%
}

.nav li a:hover{
	color: blue;  /*文字色の指定*/
}


/* main (分割不要な場合)*/

.main{
	width:80%;
	/* border: solid navy 2px; */
	border-radius: 3px;
	margin-left: 9%;
	margin-top: 2%;
	padding:1%;
	/* line-height: 2em; */
	text-align: center;
	color:navy;
	font-weight:600;
	text-decoration:underline;
	/* background-color: lavender; */
	/* font-size:120%; */
	overflow: hidden;
}

.main2{
	width:80%;
	border: solid navy 2px;
	border-radius: 3px;
	margin-left: 9%;
	margin-top: 2%;
	padding:1%;
	line-height: 2em;
	text-align: center;
	color:navy;
	font-weight:600;
	/* text-decoration:underline; */
	/* background-color: lavender; */
	/* font-size:120%; */
	overflow: hidden;
}

.main95{
	width:95%;
	/* border: solid green 1px; */
	margin-left: 2.5%;
	margin-right: 2.5%;
	margin-bottom: 1.5%;
	line-height: 1.5em;
	overflow: hidden;
}

.main90{
	width:90%;
	/* border: solid green 1px; */
	margin-left: 5%;
	margin-right:5%;
	margin-bottom: 2%;
	line-height: 1.5em;
	overflow: hidden;
}

.main80{
	width:80%;
	/* border: solid green 1px; */
	margin-left: 5%;
	margin-right: 5%;
	line-height: 1.5em;
	overflow: hidden;
}

.main70 {
	box-sizing: border-box;
	width: 70%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 5px 5px 0;
	overflow: hidden;
	float:left;
}

.main70 a{
	text-decoration: none;
	display: blocked;
}

.main70 a:visited{
    color: black;
}

.main70 a:hover{
	background-color: yellow; /*背景色の指定*/
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;   /*ホバー時の変化をなめらかに*/
	color: blue;  /*文字色の指定*/
	overflow: hidden;   /*おまじない*/
}

.main70 ul{
	margin-bottom:2%;
}

.main70 li{
	list-style-type: circle;/* リストの左側に白丸 */
	margin-left: 24px;/* リストの左側に余白 */
	text-align: left;
}

.main70 li li{
	list-style-type: disc;/* リストの左側に黒丸 */
	margin-left: 24px;/* リストの左側に余白 */
	text-align: left;
}

.sub70 {
	box-sizing: border-box;
	width: 70%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 0px 5px 5px 24px;
	overflow: hidden;
	float:left;
	font-size:90%;
}


.main50 {
	box-sizing: border-box;
	width: 50%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 5px;
	overflow: hidden;
	float:left;
}

.main40 {
	box-sizing: border-box;
	width: 45%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 5px;
	overflow: hidden;
	float:left;
	margin-left:2%;
	margin-right:2%;
}

.main30 {
	box-sizing: border-box;
	width: 25%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 5px 10px 0;
	overflow: hidden;
	float:left;
}

.sub30 {
	box-sizing: border-box;
	width: 25%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 0px 5px 5px 5px;
	overflow: hidden;
	float:left;
	font-size:90%;
}

.left30 {
	box-sizing: border-box;
	width: 29%;
	/* border: solid green 1px; */
	border-radius: 5px;
	padding: 5px;
	overflow: hidden;
	float:left;
	text-align:right;
	font-weight:600;
}

.notice{
	display:inline-block;
	padding-top:15%;
	line-height:1.5em;
}

/* main (2分割用、必ずleftとrightの合計値が10になるように使うこと)*/



/* main (3分割用)*/


/* Article (文章を記入する部分に設置、mainの内部で使う)*/

.article{

	box-sizing: border-box;
	width: 95%;
	margin-left:5%;
	padding-left: 2%;
	padding-right: 1%;
	padding-bottom: 2%;
	overflow: hidden;
	float: left;
}

.article-center{

	box-sizing: border-box;
	width: 100%;
	padding-left: 2%;
	padding-top: 1%;
	padding-right: 1%;
	padding-bottom: 2%;
	overflow: hidden;
	float: left;
}

.article-right{

	box-sizing: border-box;
	width: 100%;
	padding-left: 2%;
	padding-top: 1%;
	padding-right: 1%;
	padding-bottom: 2%;
	overflow: hidden;
	float: left;
}


ul{
	padding-left:20px;
	padding-right:5px;
	padding:bottom:10px;
	line-height: 20px;
}

p {
	font-size: 100%;
	color: black;
	letter-spacing: 0px;
	line-height: 1;
}

p5 {
	width: 80%;
	margin-left:10%;
	font-size: 110%;
	color: black;
	letter-spacing: 1px;
	line-height: 105%;
	float: left;
	text-align: center;
}



.btn{
	width:17%;
	color: white;    /*文字色の変更*/
	border: 1px blue;   /*線を描く（ホバー時のずれを防ぐため）*/
	background-color: blue;   /*背景色の指定*/
	padding-top: 10px;  /*文字上部の余白を指定*/
	padding-bottom: 10px;   /*文字下部の余白を指定*/
	padding-right: 30px;    /*文字右側の余白を指定*/
	padding-left: 30px; /*文字左側の余白を指定*/
	border-radius: 5px; /*線の角を丸くする*/
	letter-spacing: 5px;    /*文字と文字の間隔をあける*/
	text-decoration: none;  /*ブラウザ標準のリンク装飾をオフに*/
	overflow: hidden;   /*おまじない*/
	float: left;
	margin-left: 39%;
	margin-bottom: 3%;
	text-align: center;
}

.btn:hover{
	background-color: yellow; /*背景色の指定*/
	border: 1px yellow;   /*線を描く*/
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;   /*ホバー時の変化をなめらかに*/
	color: blue;  /*文字色の指定*/
	overflow: hidden;   /*おまじない*/
}

.btn2{
	/*color: auto;*/	/*文字色の変更*/
	border: solid 1px lightblue;   /*線を描く（ホバー時のずれを防ぐため）*/
	background-color: aliceblue;   /*背景色の指定*/
	padding-top: 5px;  /*文字上部の余白を指定*/
	padding-bottom: 5px;   /*文字下部の余白を指定*/
	padding-right: 5px;	/*文字右側の余白を指定*/
	padding-left: 5px; /*文字左側の余白を指定*/
	border-radius: 5px; /*線の角を丸くする*/
	letter-spacing: 1px;	/*文字と文字の間隔をあける*/
	text-decoration: none;  /*ブラウザ標準のリンク装飾をオフに*/
	overflow: hidden;   /*おまじない*/
	float: left;
	margin:1.5% 1% 1.5% 1%;
	width: 15%;
	text-align: center;
}

.btn2:hover{
	background-color: yellow; /*背景色の指定*/
	border:solid 1px yellow;   /*線を描く*/
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;   /*ホバー時の変化をなめらかに*/
	color: blue;  /*文字色の指定*/
	overflow: hidden;   /*おまじない*/
}

.btn2 a{
	text-decoration: none;  /*ブラウザ標準のリンク装飾をオフに*/
}

.title{
	font-size:140%;
	color: white;
	background-color:green;
	border: 1px green;
	border-radius:3px;
	padding: 3px;
	margin-bottom: 10px;
	letter-spacing; 3px;
	float: left;
}

/* Footer */

footer {
	padding-top: 5px;
	padding-bottom: 5px;
	background: maroon;
	text-align: center;
}

footer address{
	color: white;
	letter-spacing: 2px;
}

footer a{
	text-decoration: none;
	color: white;
}

.small {
	font-size:80%;
	letter-spacing: 0px;
}

