/*----------前頁共通----------*/
* {
	margin: 0;
	padding: 0;
}

body {
	color: #222;
	font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-size: 12px;
	line-height: 20px;
	border-color: #222;
	background: #FFFFF9;
    background-image:url('../img/background.png');
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

h1{
	float: left;
	width: 100%;
	font-size: 36px;
	line-height: 40px;
	margin-top: 24px;
	margin-bottom: 24px;
}

h2 {
	font-size: 20px;
	line-height: 24px;
	/*float: left;
	width: 100%;*/
	border-bottom: 2px solid #222;
	margin-bottom: 12px;
}

h3 {
	font-size: 16px;
	line-height: 20px;
	/*float: left;
	width: 100%;*/
	padding-left: 8px;
	border-left: 4px solid #222;
	margin-bottom: 12px;
}

p {
	/*width: 100%;
	float: left;*/
	margin-bottom: 8px;
}

main, header, footer{
	float : left;
	display: block;
	position:relative;
	width: 100%;
}

.bold {
	font-weight: bold;
}

.clear {
	clear:both;
}

.maxWidth {
	width: 100%;
}

.link {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.smalldesc{
	font-size: 10px;
	color: #AAA;
	line-height: 16px;
}

.line {
	width: 960px;
	margin: 0 auto;
}


.cont {
	width: 100%;
	float: left;
}

.notice {
	margin-bottom: 32px;
}

.notice img{
	width: 100%;
}

.one, .two, .three, .four, .five, .box{
	float: left;
} 

.left, .right {
	float: left;
}

.maincolor{
	background: #3b77db;
	color: #FFF;
}

.point1{
	background:#5b41de;
}

.point2{
	background:#ffd731;
}

.point3{
	background:#ffb631;
}

.gray {
	background: #DDD;
	color: #222;
}

.black {
	background: #222;
	color: #FFF;
}


/*ヘッダ部*/
header {
	position: fixed;
	height: 72px;
	width: 100%;
	background: #FFF;
	border-bottom: 4px solid #222;
	z-index: 40;
}

header .one {
	display: flex;
}

header .one p {
	/*margin-right: auto;*/
}

header .one ul {
	margin-left: auto;
	line-height: 32px;
	display: flex;
}

header .one li {
	position: relative;
	border: 1px solid #222;
	border-radius: 4px;
	width: 158px;
	margin: 2px 1px;
	text-align: center;
	box-sizing: border-box;
	transition: color 0.1s linear, background 0.1s linear;
}

header .one li:hover {
	color: #FFF;
	background: #222;
}

header .two {
	display: flex;
}

header .two img {
	height: 24px;
	margin: 4px 0;
	/*margin-right: auto;*/
}

header .two ul {
	display: flex;
	line-height: 32px;
	margin-left: auto;
}

header .two li {
	position: relative;
	text-align: center;
	width: 160px;
	transition: color 0.1s linear, background 0.1s linear;
	margin: 2px 0;
}

header .two li:hover {
	color: #FFF;
	background: #222;
}

footer {
	border-top: 4px solid #222;
	background: #FFF;
}

footer .one {
	margin-top: 16px;
	width: 144px;
	margin-right: 16px;
}

footer .one .logo{
	height: 24px;
}

footer .one .chiiki {
	height: 16px;
}

footer .one .privacy {
	display: block;
	box-sizing: border-box;
	color: #222;
	width: 100%;
	line-height: 32px;
	text-align: center;
	border: 1px solid #222;
	border-radius: 4px;
	margin-top: 4px;
	transition: color 0.1s linear, background 0.1s linear;
}

footer .one .privacy:hover {
	color: #FFF;
	background: #222;
}

footer .two {
	margin-top: 16px;
	width: 800px;
}

footer .three{
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: right;
}

/*メイン部*/
.headerimg {
	width: 100%;
	float: left;
}

.headerimg img {
	width: 100%;
}

main {
	margin-top: 76px;
	padding-bottom: 48px;
}

main .line {
	display: flex;
	flex-wrap:wrap;
}

.maincont {
	width: 616px;
	min-height: 100px;
	margin-right: 24px;
}
.maincont a {
	color: #222;
	text-decoration: underline;
	transition: color 0.1s linear;
}

.maincont a:hover {
	color: #F00;
}

.disc {
	width: 100%;
	float: left;
	margin-bottom: 24px;
}

.disc .picbox {
	width: 240px;
	box-sizing: border-box;
	background: #FFF;
	border: 1px solid #BBB;
	margin-right: 16px;
	margin-bottom: 16px;
	padding: 8px;
	float: left;
}

.disc .picbox_width{
	width: 100%;
	box-sizing: border-box;
	background: #FFF;
	border: 1px solid #BBB;
	margin-right: 16px;
	margin-bottom: 16px;
	padding: 8px;
	float: left;
}

.disc .picbox img {
	float: left;
	width: 100%;
}

.disc .picbox_width img {
	float: left;
	width: 100%;
}

.disc .picbox p {
	margin: 0;
	font-size: 8px;
}

.disc ul {
	float: left;
	padding-left: 20px;
}

main .pic {
	float: left;
	width: 194.6px;
	margin-right: 16px;
}

main .pic:nth-of-type(3n){
	margin-right: 0;
}

main .pic img {
	width: 100%;
	transition: opacity 0.1s linear;
}

main .pic a:hover > img {
	opacity: 0.5;
}

.facebook {
	margin-top: 8px;
	transition: opacity 0.1s linear;
}

.facebook:hover {
	opacity: 0.8;
}

aside {
	float: left;
	width: 320px;
}

aside .box {
	width: 100%;
	box-sizing: border-box;
	background: #222;
	color: #FFF;
	padding: 32px 28px;	
}

aside .box iframe {
	width: 100%;
}

aside .box h3 {
	border-left: none;
	padding: 0;
}

aside .box td{
	padding-right: 8px;
}

aside .box a {
	float: left;
	margin-top: 16px;
	display: block;
	width: 100%;
	text-align: center;
	color: #FFF;
	font-size: 16px;
	line-height: 32px;
	font-weight: bold;
	border: 2px solid #FFF;
	border-radius: 4px;
	transition: color 0.1s linear, background 0.1s linear;
}

aside .box a:hover {
	color: #222;
	background: #FFF;
}

aside table {
	border: none;
	backgroud-color: none;
}

/*先頭に戻る*/
.scrollTop{	
/*	color: #FFF;*/
	position: fixed;
	bottom: -100px;
	right:80px;
	width: 64px;
	height: 64px;
	line-height: 64px;
	font-weight: bold;
	font-size: 36px;
	text-align: center;
	border-radius: 40px;
	transition: bottom 0.2s ease,opacity 0.1s linear;
	z-index: 100;
}

.scrollTop:hover{
	opacity: 0.6;
	cursor: pointer;
}

.scrollTop i{
	margin: 0;
	padding: 0;
}

.scrollVisible{
	bottom: 24px;
}

/*--------------------------------------------------------------------------------------------*/
/*タブレット用スタイル*/
@media only screen and (min-width: 437px) and (max-width: 960px) {
	body {
		line-height: 16px;
	}
	
	h1 {
		margin-bottom: 12px;
	}
	
	h2 {
		margin-bottom: 8px;
	}

	h3 {
		margin-bottom: 8px;
	}

	.line {
		box-sizing: border-box;
		width: 100%;
		padding: 0 2%;
	}
	
	/*ヘッダ部*/	
	header .one li {
		width: 120px;
		padding: 0;
	}
		
	header .two li {
		width: 120px;
		padding: 0;
	}

	/*フッタ部*/
	footer .one {
		width: 100%;
	}

	footer .one .privacy {
		width: 25%;
	}

	footer .two {
		width: 100%;
	}
	
	/*メイン部*/
	.maincont {
		width: 100%;
		margin-right: 0;
	}
	.disc .picbox {
		width: 50%;
	}
	
	main .pic {
		float: left;
		width: 32%;
		margin-right: 2%;
	}
	
	main .pic:nth-of-type(3n){
		margin-right: 0;
	}

	aside {
		width: 100%;
	}

	/*先頭に戻る*/
	.scrollTop{
		position: fixed;
		bottom: -100px;
		right:20px;
		width: 48px;
		height: 48px;
		line-height: 48px;
		font-size: 24px;
		border-radius: 48px;
		z-index: 100;
	}

	.scrollVisible{
		bottom: 24px;
	}

}

/*スマホ用スタイル*/
/*--------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 436px) {
		
	body {
		line-height: 18px;
	}
	
	h1 {
		margin-bottom: 12px;
	}
	
	h2 {
		margin-bottom: 8px;
	}

	h3 {
		margin-bottom: 8px;
	}

	.line {
		box-sizing: border-box;
		width: 100%;
		padding: 0 1%;
	}
	
	.smalldesc {
		width: 60%;
	}
	
	/*ヘッダ部*/	
	header .one li {
		width: auto;
		padding: 0 4px;
		line-height: 12px;
	}
	header .two img {
		height: 16px;
		margin: 8px 0;
	}
		
	header .two li {
		width: auto;
		padding: 0 4px;
	}

	/*フッタ部*/
	footer .one {
		width: 100%;
	}

	footer .one .logo{
		height: 16px;
	}
	footer .one .privacy {
		width: 50%;
	}

	footer .two {
		width: 100%;
	}
	
	/*メイン部*/
	.maincont {
		width: 100%;
		margin-right: 0;
	}
	
	.disc .picbox {
		width: 100%;
	}
	
	main .pic {
		float: left;
		width: 49%;
		margin-right: 2%;
	}
	
	main .pic:nth-of-type(3n){
		margin-right: 2%;
	}

	main .pic:nth-of-type(2n){
		margin-right: 0;
	}

	main .pic img {
		width: 100%;
	}

	aside {
		width: 100%;
	}

	/*先頭に戻る*/
	.scrollTop{
		position: fixed;
		bottom: -100px;
		right:20px;
		width: 48px;
		height: 48px;
		line-height: 48px;
		font-size: 24px;
		border-radius: 48px;
		z-index: 100;
	}

	.scrollVisible{
		bottom: 24px;
	}

}

