﻿@charset "UTF-8";

/* トップページ */
.header_top {
	width: 100%;
	height: 64px;
	z-index: 999;
	background: rgba(255, 255, 255, .9);
	position: fixed;
	top: 0;
}

/* ▽▽メニューボタン▽▽ */
.hm_btn_top {
	position: relative;
	width: 30px;
	height: 30px;
	cursor: pointer;
	display: block;
	float: right;
	z-index: 9999;
}

.hm_btn_top::before {
	-webkit-box-shadow: #257266 0 12px 0;
	box-shadow: #257266 0 12px 0;
}

.hm_btn_top::after {
	bottom: 0;
}

.hm_btn_top::before,
.hm_btn_top::after {
	width: 30px;
	height: 6px;
	background: #257266;
	display: block;
	content: '';
	position: absolute;
	-webkit-transition: -webkit-box-shadow 0.2s linear, -webkit-transform 0.2s 0.2s;
	transition: box-shadow 0.2s linear, transform 0.2s 0.2s;
}

/* △△メニューボタン△△ */

.hm_menu_wrap_top {
	width: 100%;
	height: 10000px;
	background: rgba(255, 255, 255, .95);
	position: absolute;
	right: -100%;
	top: -12px;
	-webkit-transition: left 0.4s;
	transition: right 0.4s;
	z-index: 999;
}

.hm_menu_check:checked~.hm_menu_wrap_top {
	right: 0;
	top: -12px;
}

/* ▽▽開閉時のアニメーション▽▽ */

.hm_menu_check:checked~.hm_btn_top::before {
	-webkit-box-shadow: transparent 0 0 0;
	box-shadow: transparent 0 0 0;
	-webkit-transform: rotate(45deg) translate3d(6px, 11px, 0);
	transform: rotate(45deg) translate3d(6px, 11px, 0);
}

.hm_menu_check:checked~.hm_btn_top::after {
	-webkit-transform: rotate(-45deg) translate3d(6px, -11px, 0);
	transform: rotate(-45deg) translate3d(6px, -11px, 0);
}


/* △△開閉時のアニメーション△△ */

.hm_list_top {
	list-style-type: none;
	margin: 50px 0 0;
	padding: 0;
}

.hm_list_top li {
	color: #000;
	display: block;
	overflow: hidden;
	padding: 8px 22px;
	position: relative;
	text-decoration: none;
	z-index: 1;
	border-bottom: dotted 1px #ccc;
}

.hm_list_top li a {
	color: #000;
}

.main_img {
	margin: 64px auto 0;
	padding: 36px 2%;
	height: 380px;
	background: url(../img/top_header_back__03.jpg) left top repeat-x;
	background-size: contain;
}

.main_img img {
	display: block;
	max-width: 880px;
	margin: 0 auto;
}

.top_content {
	/*font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;*/
	font-size: 20px;
	text-align: center;
	line-height: 1.8;
}

.top_content span {
	display: inline-block;
}

.top_merit {
	width: 90%;
	overflow: hidden;
	padding: 0 0 20px 0;
	margin: 0 auto;
}

/*.top_merit li{
	width:29.3%;
	margin:20px 2% 0;
	text-align:center;
	float:left;
	font-size:20px;
	color:#fff;
	background:#003567;
	line-height:60px;
	padding-top:4px;
}*/

.top_merit li {
	position: relative;
	width: 31%;
	height: 31%;
	background: #00aa96;
	margin: 24px 1% 0;
	padding: 15.5%;
	float: left;
	border-radius: 50%;
}

.top_merit li p {
	position: absolute;
	left: 0;
	top: 50%;
	margin: -2.5em 0 0;
	width: 100%;
	text-align: center;
	color: #fff;
	display: block;
	line-height: 1.5;
	padding: 0 6%;
	font-size: 14px;
}

.top_merit li p span {
	font-weight: bold;
	font-size: 21px;
	display: inline-block;
	padding-bottom: 8px;
}

.top_attention {
	padding: 20px 2% 0;
	font-size: 13px;
	/*font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;*/
	line-height: 1.4;
}

.top_image {
	width: 100%;
	height: 180px;
	background: url(../img/top_image.jpg) bottom right no-repeat;
	background-size: cover;
}

h2 {
	/*font-size:40px;*/
	text-align: center;
	line-height: 1.2;
	/*font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;*/
}

h3.top_h3 {
	/*border-bottom:solid 4px #207677;*/
	text-align: center;
}

h3.top_h3 span {
	/*border-bottom:solid 4px #207677;*/
	font-size: 18px;
}

/* キャンペーンバナー */
.top_campaign {
	background: #f5f5f5;
	padding: 20px;
}

.top_campaign img {
	display: block;
	max-width: 640px;
	margin: 0 auto;
	transition: .3s;
}

.top_campaign img:hover {
	opacity: .8;
}

/*YouTube*/
.movie {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 80px 30px;
}

.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

.table_merit {
	margin-bottom: 60px;
}

/* ▼768px以下の場合に適用（iPad portrait以下）
---------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {

	.main_img {
		padding: 24px 4%;
		height: auto;
	}

	.top_content {
		font-size: 16px;
		padding: 0;
		line-height: 1.6;
		text-align: left;
	}

	.top_content span {
		display: inline;
	}

	.top_merit {
		width: 100%;
		overflow: hidden;
	}

	.top_merit li {
		width: 46%;
		height: 46%;
		margin: 10px 2% 0;
		padding: 30% 8px 16%;
	}

	.top_merit li p {
		margin: -3em 0 0;
		font-size: 13px;
	}

	.top_merit li p span {
		font-size: 16px;
		padding-bottom: 4px;
		line-height: 1;
	}

	.top_attention {
		padding: 10px 2% 0;
		font-size: 12px;
	}

	.top_image {
		height: 90px;
	}

	h2 {
		font-size: 24px;
		margin-bottom: 10px;
	}

	/*YouTube*/
	.movie {
		padding: 0 4% 30px;
	}

}