@charset "UTF-8";

*{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
html,body{
	color: #221815;
	font-family: '游ゴシック', YuGothic, 'メイリオ', Meiryo, "ヒラギノ角ゴシック ProN", "Hiragino Kaku Gothic ProN", sans-serif;
	line-height: 1.5em;
	margin: 0px;
	padding: 0px;
}
body{
	background: url("../img/bg.gif") repeat-y center center;
}
@media screen and (max-width: 768px){
body{
	background: url("../img/bg_sp.png") repeat center center / 150px auto;
}
}
ul,li{
	list-style: none;
	margin: 0px;
	padding: 0px;
}
a{
	text-decoration: none;
}
#wrapper{
	overflow: hidden;
}

#loader-bg {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: url("../img/loading.gif") no-repeat center center / 250px auto,#fff;
	z-index: 9999;
}
/*-- --------- --------- --------- --*/
/*-- FirstView --*/
/*-- --------- --------- --------- --*/

#fv{
	position: relative;
}
/*-- --------- --------- --*/
/*-- ▼背景・海 --*/
/*-- --------- --------- --*/
#fv:before{
	content: "";
	display: block;
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	background: url("../img/fv_bg-am.jpg") no-repeat left center / auto 100%;
	animation: fv2 40s ease 0s infinite alternate;
}
#fv:after{
	content: "";
	display: block;
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 1;
	background: url("../img/fv_bg-hd.jpg") no-repeat right center / auto 100%;
	animation: fv1 40s ease 0s infinite alternate;
}
#fv img[src*="front"]{
	display: block;
	width: 2000px;
	position: absolute;
	bottom: 70px;
	left: 50%;
	margin-left: -1000px;
	z-index: 10;
	background: url("../img/fv_bottom-rear.png") repeat-x center center / auto 100%;
	animation: wave 600s linear 0s infinite;
}

@keyframes wave{
0%{background-position: 0px 0px;}
100%{background-position: 20000px 0px;}
}
@keyframes fv1{
0%{background-position: left center;}
100%{background-position: right center;}
}
@keyframes fv2{
0%{background-position: right center;}
100%{background-position: left center;}
}

/*-- --------- --------- --*/
/*-- ▼タイトル --*/
/*-- --------- --------- --*/
#fv .inner{
	display: block;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -360px;
	width: 720px;
	z-index: 100;
}
#fv .inner .logo{
	margin-bottom: 40px;
	animation: open 1s linear 0s;
}
#fv .inner img{
	display: block;
	margin: 0px auto;
}
#fv .inner img[src*="_subtitle"]{
	width: 320px;
}
#fv .inner img[src*="_title"]{
	width: 720px;
}
#fv .inner > a{
	display: block;
	width: 200px;
	margin: 40px auto 0px auto;
	background: rgba(0,0,0,0.5);
	border: solid 1px #dbe000;
}
#fv .inner > a img{
	display: block;
	width: 100%;
}
/*-- --------- --------- --*/
/*-- ▼街 --*/
/*-- --------- --------- --*/

#fv i{
	display: block;
	width: 100%;
	position: absolute;
	bottom: 70px;
	left: 0px;
	z-index: 30;
}
#fv i:before{
	content: "";
	display: block;
	width: 560px;
	height: 120px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: url("../img/fv_bottom-left.png") no-repeat center right / auto 100%;
}
#fv i:after{
	content: "";
	display: block;
	width: 560px;
	height: 120px;
	position: absolute;
	bottom: 0px;
	right: 0px;
	background: url("../img/fv_bottom-right.png") no-repeat center left / auto 100%;
}

/*-- --------- --------- --------- --*/
/*-- ナビゲーション --*/
/*-- --------- --------- --------- --*/
nav{
	height: 70px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 90;
}
nav:before{
	content: "";
	display: block;
	width: 100%;
	height: 80px;
	background: #dbe000;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}
nav:after{
	content: "";
	display: block;
	clear: both;
}
nav ul{
	max-width: 720px;
	margin: 0px auto;
	position: relative;
	z-index: 2;
}
nav ul li{
	float: left;
	width: 33.33%;
}
nav ul li a{
	display: block;
	margin: 0px auto;
	width: 160px;
	position: relative;
}
nav ul li a:after{
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: -45px;
	left: 50%;
	margin-left: -25px;
	background: url("../img/nav_allow.png") no-repeat center center / 100% auto;
	transition: all 0.2s ease 0s;
}
nav ul li a:hover:after{
	bottom: -50px;
}
nav ul li a img{
	display: block;
	width: auto;
	height: 50px;
	margin: 10px auto;
}



@media screen and (max-width: 768px){

	#fv .inner{
		width: 100%;
		left: 0px;
		margin: auto;
	}
	#fv .inner img[src*="_title"]{
		width: 100%;
	}
	#fv i:before{
		width: 30%;
		height: 90px;
	}
	#fv i:after{
		width: 30%;
		height: 90px;
	}
}
@media screen and (max-width: 414px){
	#fv:before,#fv:after{content: none;}
	#fv{
		background: url("../img/fv_bg.jpg") no-repeat center center / auto 100%;
	}
	#fv .inner{
		width: 100%;
		left: 0px;
		margin: auto;
	}
	#fv .inner .logo{
		margin-bottom: 20px;
		animation: open 1s linear 0s;
	}
	#fv .inner img[src*="_subtitle"]{
		width: 75%;
	}
	#fv .inner img[src*="_title"]{
		width: 100%;
	}
	#fv img[src*="front"]{
		width: 1000px;
		margin-left: -500px;
		bottom: 50px;
	}
	#fv i{
		bottom: 50px;
	}
	#fv i:before{
		width: 40%;
		height: 60px;
	}
	#fv i:after{
		width: 40%;
		height: 60px;
	}
	#fv .inner > a{
		width: 150px;
		margin-top: 20px;
	}
	nav{
		height: 50px;
	}
	nav:before{
		height: 55px;
	}
	nav ul li a{
		width: 100%;
	}
	nav ul li a:after{
		content: "";
		display: block;
		width: 40px;
		height: 40px;
		position: absolute;
		bottom: -30px;
		left: 50%;
		margin-left: -25px;
		background: url("../img/nav_allow.png") no-repeat center center / 100% auto;
	}
	nav ul li a img{
		height: 40px;
		margin: 5px auto;
	}
}
/*-- --------- --------- --------- --*/
/*-- 説明 --*/
/*-- --------- --------- --------- --*/
section#about{
	font-size: 18px;
	line-height: 30px;
	text-align: center;
	background: #f9ffb2;
	width: 100%;
	padding: 30px 0px;
	margin-bottom: 80px;
	position: relative;
	z-index: 1;
}
section#about img{
	display: block;
	max-width: 100%;
	margin: 20px auto;
}
section#about span{
	display: inline-block;
}
section#about ul li{
	font-size: 18px;
	font-weight: bold;
	display: inline-bock;
	margin: 10px 0px;
}
section#about ul li:nth-child(1){
	color: #ffd400;
}
section#about ul li:nth-child(2){
	color: #3eb370;
}
section#about ul li:nth-child(3){
	color: #5c9ecb;
}

@media screen and (max-width: 700px){
	section#about{
		font-size: 14px;
		line-height: 20px;
		margin-bottom: 0px;
	}
}
/*-- --------- --------- --------- --*/
/*-- 記事 --*/
/*-- --------- --------- --------- --*/
section#list{
	max-width: 960px;
	margin: 0px auto;
}
section#list:after{
	content: "";
	display: block;
	clear: both;
}

h3{
	width: 760px;
	margin: 60px auto 40px auto;
	clear: both;
}
h3 img{
	display: block;
	width: 100%;
}
h3 img[src*="-sp.png"]{
	display: none;
}

.left{
	width: 50%;
	float: left;
	padding: 0px 20px;
	position: relative;
}
.left:before{
	content: "";
	display: block;
	width: 200px;
	height: 20px;
	background: url("../img/article_tag-am.png") no-repeat center center / auto 100%;
	position: absolute;
	top: -20px;
	left: 50%;
	margin-left: -100px;
}

section#list > div > a{
	background: #57d998;
	display: block;
	width: 300px;
	margin: 10px auto 60px auto;
	border-radius: 5px;
	transition: all 0.2s ease 0s;
}
section#list > div > a img{
	display: block;
	width: 100%;
}

article{
	border: solid 1px #3eb370;
	background: #f1f8f2;
	padding: 20px;
	border-radius: 10px;
}
article b{
	font-size: 20px;
	line-height: 25px;
}
article a{
	color: #221815;
	font-size: 16px;
	font-weight: bold;
	line-height: 50px;
	text-align: center;
	display: block;
	margin: 0px;
	border: solid 2px #221815;
	transition: all 0.2s ease 0s;
}
article a:hover{
	color: #ffffff;
	background: #221815;
}
article img{
	width: 80px;
	height: 80px;
	margin: 0px 10px 10px 0px;
	border-radius: 3px;
	float: left;
}
article p{
	clear: both;
	margin: 10px 0px;
}

/*-- --------- --*/
/*-- 函館 --*/
/*-- --------- --*/

.right{
	width: 50%;
	float: right;
	padding: 0px 20px;
	position: relative;
}
.right:before{
	content: "";
	display: block;
	width: 200px;
	height: 20px;
	background: url("../img/article_tag-hd.png") no-repeat center center / auto 100%;
	position: absolute;
	top: -20px;
	left: 50%;
	margin-left: -100px;
}
section#list > div.right > a{
	background: #60abe0;
}
.right article{
	padding: 20px;
	background: #ecf5fc;
	border: solid 1px #8fc4e9;
	border-radius: 10px;
}
@media screen and (max-width: 700px){
h3{
	width: auto;
	margin: 30px 10px;
}
h3 img{
	display: block;
	width: 100%;
}
h3 img[src*="-sp.png"]{
	display: block;
}
h3 img:first-child{
	display: none;
}


section > img{
	width: 100%;
}
.left,.right{
	float: none;
	width: 100%;
	padding: 0px;
	margin: 0px;
}
article{
	margin: 10px;
}
article b{
	font-size: 18px;
	line-height: 20px;
}
section#list > div.left > a,
section#list > div.right > a{
	width: auto;
	margin: 10px 20px 40px 20px;
	clear: both;
}
}
section#list > div > a:hover{
	background: #dbe000!important;
}
/*-- --------- --------- --------- --*/
/*-- エール --*/
/*-- --------- --------- --------- --*/
#yell{
	max-width: 960px;
	margin: 30px auto;
	position: relative;
	clear: both;
}
#yell img[src*="title"]{
	display: block;
	max-width: 500px;
	margin: 0px auto;
}
#yell:after{
	content: "";
	display: block;
	clear: both;
}
#yell ul{
	width: 50%;
	padding: 0px 20px;
	float: left;
}

#yell ul li:nth-child(1){
	font-size: 30px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	margin: 0px 0px 10px 0px;
	position: relative;
}
#yell ul li:nth-child(1):before{
	content: "";
	display: block;
	width: 120px;
	height: 120px;
	position: absolute;
	top: -20px;
	left: -50px;
	z-index: -10;
	background: url("../img/yell_stamp-am.png") no-repeat center center / 100% auto;
}
#yell ul.hd li:nth-child(1):before{
	content: "";
	display: block;
	width: 120px;
	height: 120px;
	position: absolute;
	top: -20px;
	left: auto;
	right: -50px;
	background: url("../img/yell_stamp-hd.png") no-repeat center center / 100% auto;
}
#yell ul li:nth-child(2){
	font-size: 16px;
	line-height: 24px;
	margin: 0px 0px 10px 0px;
}
#yell ul li:nth-child(3){
	font-size: 14px;
	line-height: 24px;
	padding-left: 110px;
	position: relative;
}
#yell ul li:nth-child(3) b{
	color: #3eb370;
	font-size: 14px;
	font-weight: bold;
	line-height: 80px;
	text-align: center;
	display: block;
	width: 100px;
	border: solid 2px #3eb370;
	border-radius: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
}
#yell ul li:nth-child(3) span{
	font-size: 20px;
	line-height: 30px;
	display: block;
}
#yell ul.hd li:nth-child(3) b{
	color: #8fc4e9;
	border: solid 2px #8fc4e9;
}
#yell ul li a{
	color: #3399ff;
}
#yell hr{
	position: absolute;
	top: 120px;
	left: 50%;
	width: 1px;
	height: 320px;
	background: url("../img/yell_line.png") repeat-y center center / 100% auto;
	border: none;
}
@media screen and (max-width: 700px){
#yell > img{
	width: 100%;
}
#yell ul{
	float: none;
	width: 100%;
	padding: 0px 10px;
}
#yell ul li:nth-child(3) {
	font-size: 14px;
	line-height: 24px;
	padding-left: 0px;
	position: relative;
}
#yell ul.am li:nth-child(3) b {
	line-height: 25px;
	border: solid 1px #3eb370;
	border-radius: 5px;
	width: 100%;
	margin: 0px 0px 10px 0px;
	position: static;
}
#yell ul.hd li:nth-child(3) b {
	line-height: 25px;
	border: solid 1px #8fc4e9!important;
	border-radius: 5px;
	width: 100%;
	margin: 0px 0px 10px 0px;
	position: static;
}
#yell hr{
	position: static;
	height: 1px;
	width: auto;
	margin: 20px 10px;
	background: url("../img/yell_line2.png") repeat-x center center / auto 100%;
	border: none;
}
}
/*-- --------- --------- --------- --*/
/*-- フッター --*/
/*-- --------- --------- --------- --*/
.logo{
	margin: 0px auto;
	max-width: 360px;
	clear: both;
}
.logo:after{
	content: "";
	display: block;
	clear: both;
}
.logo > img{
	display: block;
	width: 11.11%;
	float: left;
}
.logo a{
	display: block;
	width: 44.44%;
	float: left;
}
.logo a img{
	display: block;
	width: 100%;
}
#copy{
	color: #ffffff;
	font-size: 12px;
	line-height: 30px;
	text-align: center;
	margin: 40px 0px 0px 0px;
	background: #221815;
}

@media screen and (max-width: 600px){
.logo{
	padding: 0px 20px;
}
#copy{
	color: #ffffff;
	font-size: 12px;
	line-height: 25px;
	margin: 20px 0px 0px 0px;
}
}


/*-- --------- --------- --------- --------- --------- --*/
/*-- ▼フローティングナビ --*/
/*-- --------- --------- --------- --------- --------- --*/
#tool{
	position: fixed;
	z-index: 9999;
	right: 50%;
	bottom: 10px;
	width: 50px;
	height: 50px;
	margin-right: -25px;
	transition: .3s;
	list-style-type: none;
	margin: 0px;
	padding: 0;
}
#tool li {
	margin: 0;
	padding: 0;
}
#tool li > a {
	display: block;
	width : 50px;
	height: 50px;
	color: #fff;
	border-radius: 50px;
	position: relative;
	background: url("../img/tool_btn.png") no-repeat center center / 100% auto;
}
#tool li > a:after{
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	positin: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto auto;
	background: url("../../uploads/tool_icon.png") no-repeat center top / 100% auto;
}
#tool li:nth-child(2) > a:after{background: url("../../uploads/tool_icon.png") no-repeat center center / 100% auto;}
#tool li:nth-child(3) > a:after{background: url("../../uploads/tool_icon.png") no-repeat center bottom / 100% auto;}

#tool li span{
	display: none;
	width: 50px;
	position: fixed;
	bottom: 60px;
	z-index: 99;
}
#tool li span a{
	display: block;
	height: 50px;
	margin-bottom: 10px;
	position: relative;
	border-radius: 50px;
}
#tool li span a[href*="line"]{
	background: url("../img/tool_line.png") no-repeat center center / 100% auto;
}
#tool li span a[href*="facebook"]{
	background: url("../img/tool_facebook.png") no-repeat center center / 100% auto;
}
#tool li span a[href*="twitter"]{
	background: url("../img/tool_twitter.png") no-repeat center center / 100% auto;
}
#tool li span a[href*="#fv"]{
	background: url("../img/tool_pagetop.png") no-repeat center center / 100% auto;
}
#tool li span a:after{
	content: "";
	display: block;
	height: 40px;
	positin: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto auto;
	background: url("../../uploads/tool_sns-icon.png") no-repeat center top / 100% auto;
}
#tool li span a:nth-child(2):after{background: url("../../uploads/tool_sns-icon.png") no-repeat center center / 100% auto;}
#tool li span a:nth-child(3):after{background: url("../../uploads/tool_sns-icon.png") no-repeat center bottom / 100% auto;}







/*-- --------- --------- --------- --------- --------- --*/
/*-- ▼青函プロジェクト2018用追加スタイル --*/
/*-- --------- --------- --------- --------- --------- --*/
#btn{
	width: 100%;
	height: 0px;
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 99999;
}
#btn a{
	display: block;
}
#btn a img{
	display: block;
	width: 100%;
}
#btn li:nth-child(1){
	position: absolute;
	bottom: 10px;
	left: 10px;
}
#btn li:nth-child(2){
	position: absolute;
	bottom: 10px;
	right: 10px;
}
#tool{
	left: 50%;
	margin-left: -25px;
}
@media screen and (max-width:700px) {
#btn a{
	width: 70px;
}
}
article{
margin-bottom: 40px;
}
