@charset "utf-8";
/* CSS Document */

*{	
	margin: 0;
	padding: 0;
} 
body {
	font-family: "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif";
	font-size:18px;
}
img{
	vertical-align:bottom;
}
h1,h2,h3,h4,h5{
	font-size:100%;
}
ul{
	list-style-type: none;
}
a{
	text-decoration: none;
}
.wrap{
	width:100%;
	margin:0 auto;
	max-width: 1200px;
}
/*その他*/
.clearfix:after{
	content:".";
	visibility:hidden;
	display:block;
	height:0;
	clear:both;
}
.hide {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.text {
	display: inline-block;
}

/*pc_header----------------------------------------------------------------*/
#pc_header h1 {
	width: 33.33333%;
	float: left;
	font-size: 10px;
	margin-top: 5px;
	margin-left: 20px;
}
#pc_header .pc_logo {
	float: left;
	width: 30%;
	text-align: center;
}
#pc_header .pc_logo img {
	max-width: 160px;
	width: 100%;
}
#pc_header .right_box {
	float: right;
	width: 33%;
}
#pc_header .right_box .head_tel {
	text-align: right;
}
#pc_header .right_box .head_tel ul li {
	display: inline-block;
	font-size: 15px;
	padding-right: 20px;
	color: #f44a4a;
}
#pc_header .right_box .head_tel span img {
	vertical-align: middle;
	padding-right: 5px;
}
#pc_header .right_box .pc_sns {
	text-align: right;
}
#pc_header .right_box .pc_sns ul li {
	display: inline-block;
	padding-top: 20px;
	padding-right: 20px;
}

/*pc_menu------------------------------------------------------------------*/
#pc_main_menu {
	margin-top: 20px;
}
#pc_main_menu ul {
	display: table;
	table-layout: fixed;
	text-align: center;
	width: 98%;
	margin-left: 2%;
}
#pc_main_menu ul li {
	display: table-cell;
	vertical-align: middle;
	font-size: 20px;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 1px;
}
#pc_main_menu ul li span {
	font-size: 11px;
	text-align: center;
	color: #ccc;
}
#pc_main_menu ul li a {
	position: relative;
	display: inline-block;
	padding: .4em;
	color: #333;
}
#pc_main_menu ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	-webkit-transform: scaleX(0);
	-ms-transform: scaleX(0);
	transform: scaleX(0);
	background-color: red;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
#pc_main_menu ul li a:hover::after {
	-webkit-transform: scaleX(1);
	-ms-transform: scaleX(1);
	transform: scaleX(1);
}

/*途中からついてくるnav------------------------------------------------------*/
#headbar {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	padding-bottom: 10px;
	background-color: #fff;
	z-index: 555;
}
#headbar .headbar_logo {
	width: 10%;
	float: left;
	margin-top: 5px;
	margin-left: 10px;
}
#headbar .headbar_logo img {
	width: 150px;
}
#headbar .headbar_nav {
	width: 85%;
	float: right;
}
#headbar ul {
	text-align: center;
	width:100%;
	padding-top: 50px;
}
#headbar ul li {
	display: inline-block;
	font-size: 16px;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 1px;
}
#headbar ul li+li {
	margin-left: 2%;
}

#headbar ul li span {
	font-size: 10px;
	text-align: center;
	color: #ccc;
}
#headbar ul li a {
	position: relative;
	display: inline-block;
	padding: .4em;
	color: #333;
}
#headbar ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	-webkit-transform: scaleX(0);
	-ms-transform: scaleX(0);
	transform: scaleX(0);
	background-color: red;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
#headbar ul li a:hover::after {
	-webkit-transform: scaleX(1);
	-ms-transform: scaleX(1);
	transform: scaleX(1);
}


/*sp_header----------------------------------------------------------------*/
#sp_header {
	display: none;
}
#home{
	width: 100%;
	margin: 0 auto;
	height: 30px;
	text-align: center;
	position: relative;
}

.nav_box {
	width: 33.3333%;
	float: right;
	text-align: right;
}
p.tel {
	width: 33.3333%;
	float: left;
	text-align: left;
	padding-top: 12px;
	padding-left: 8px;
}
p.tel img {
	width: 45px;
}
p.logo {
	width: 33.33333%;
	float: left;
	text-align: center;
	padding-top: 10px;
	margin-left: -8px;
}
p.logo img {
	height: 55px;
	width: auto;
}
.inner {
margin: 0 auto;
}
/* header */
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 30px 0 0;
	line-height: 1;
	z-index: 999;
}
#top-head a,
#top-head {
	color: #FFF;
	text-decoration: none;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
}
#global-nav ul li {
	float: left;
}
#global-nav ul li a {
	padding: 0 30px;
	font-size: 14px;
}

/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height: 55px;
	background: #fff;
	background: rgba(255,255,255,.7);
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}

/* Toggle Button */
#nav-toggle {
	position: absolute;
	right: 15px;
	top: 20px;
	width: 34px;
	height: 30px;
	cursor: pointer;
	z-index: 999;
}
#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #f44a4a;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}
#top-head,
.inner {
	width: 100%;
	max-width:800px;
	min-width:320px;
	padding: 0;
}
#top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
}
/* Fixed reset */
#top-head.fixed {
	padding-top: 0;
	background: transparent;
}
#mobile-head {
	background: #fff;
	width: 100%;
	height: 70px;
	z-index: 9998;
	position: relative;
}

#global-nav {
	position: absolute;
/* 開いてないときは画面外に配置 */
	top: -524px;
	background: #fff;
	width: 100%;
	text-align: center;
	padding: 10px 0;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}
#global-nav ul {
	list-style: none;
	position: static;
	right: 0;
	bottom: 0;
	font-size: 16px;
}
#global-nav ul li {
	float: none;
	position: static;
}
#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
	width: 100%;
	display: block;
	color: #333;
	padding: 15px 0;
	border-bottom: 1px dotted #f44a4a;
	font-size: 18px;
	font-family: 'Raleway', sans-serif;
}
#top-head #global-nav ul li span,
#top-head.fixed #global-nav ul li span {
	color: #f44a4a;
	font-size: 12px;
	padding-left: 10px;
}
#nav-toggle {
	display: block;
}
/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
	top: 11px;
	-webkit-transform: rotate(315deg);
	-moz-transform: rotate(315deg);
	transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #nav-toggle span:nth-child(3) {
	top: 11px;
	-webkit-transform: rotate(-315deg);
	-moz-transform: rotate(-315deg);
	transform: rotate(-315deg);
}
/* #global-nav スライドアニメーション */
.open #global-nav {
/* #global-nav top + #mobile-head height */
	-moz-transform: translateY(586px);
	-webkit-transform: translateY(586px);
	transform: translateY(586px);
}
@media (max-width:320px){
	p.logo img{
		width: 200px;
		padding-top: 5px;
	}
}
@media only screen and (orientation:landscape) {
	#global-nav {
	height: 80vh;
	overflow: scroll;
}
}

/*sub_mainimg---------------------------------------------------------------*/
#sub_img {
	position: relative;
}
#sub_img .sub_mainimg {
	text-align: center;
	border-radius: 25px;
	overflow: hidden;
}
#sub_img .sub_mainimg img {
	width: 100%;
}
#sub_img .title {
	font-size: 40px;
	font-family: 'Raleway', sans-serif;
	padding-left: 20px;
	letter-spacing: 3px;
	position: absolute;
	top: 10%;
	left: 0;
	color: #fff;
}
#sub_img .title span {
	color: #f44a4a;
	font-size: 16px;
	padding-top: 16px;
	padding-left: 20px;
}
#sub_img .sp_block {
	display: none;
}

/*contens_siza--------------------------------------------------------------*/
article {
	width: 100%;
	margin-top: 60px;
}
#contents {
	float: left;
	width: 65%;
	display: table-cell;
}
#sub {
	display: table-cell;
	float: right;
	width: 30%;
}

/*sns----------------------------------------------------------------------*/
#sp_sns {
	display: none;
}
#sp_sns .sns_box a{
	width: 48%;
	float: left;
	margin-left: 1%;
}
#sp_sns .sns_box img {
	width: 100%;
}
#sp_sns .sns_box a:hover {
	opacity: 0.8;
	transition: .5s;
}
#pc_sns {
	border-radius: 20px;
	overflow: hidden;
	padding-bottom: 10px;
}
#pc_sns a:hover {
	opacity: 0.8;
	transition: .3s;
}
#pc_sns p {
	text-align: center;
	margin-top: 5px;
}
#pc_sns img {
	width: 100%;
	margin-top: 20px;
}

/*footer-------------------------------------------------------------------*/
footer {
	margin-top: 40px;
	border-top: 1px solid #ccc;
	padding: 10px 0;
}
footer .foot_logo {
	float: left;
	width: 20%;
}
footer .foot_logo img {
	max-width: 200px;
	width: 100%;
}
footer .footer_menu {
	width: 50%;
}
footer .footer_menu ul li {
	display: inline-block;
	font-size: 14px;
	padding-right: 15px;
	margin-top: 60px;
}
footer .footer_menu ul li+li {
	border-left: 1px solid #333;
	padding-left: 20px;
}
footer .footer_menu ul li a {
	color: #333;
}
footer .footer_menu ul li a:hover {
	color: #f44a4a;
	transition: .3s;
}
footer #copyright {
	float: right;
	font-size: 14px;
	margin-top: 20px;
}
footer #copyright a {
	color: #000;
}

/*page-top----------------------------------------------------------------*/

#pageTop {
  position: fixed;
  bottom: 60px;
  right: 50px;
	z-index: 1000;
}

 
#pageTop a {
  display: block;
  z-index: 999;
  padding: 8px 0 0 8px;
  text-align: center;
	color: #f44a4a;
}
 
#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}


/*ここからタブレット用（～800px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:768px){
	body {
		font-size:14px;
	}
	#pc_header {
		display: none;
	}
	#sp_header {
		display: block;
	}
	#pc_main_menu {
		display: none;
	}
	#pc_sns {
		display: none;
	}
	#sp_sns {
		display: block;
		padding: 0 20px;
	}
	#headbar {
		display: none;
	}
	#sub_img {
		margin-top: 80px;
		padding: 0 20px;
	}
	#sub_img .title {
		left: 2%;
	}
	
	#contents {
		float: none;
		width: 100%;
		display: block;
	}
	#sub {
		float: none;
		width: 100%;
		display: block;
	}
	footer .foot_logo {
		width: 100%;
		float: none;
		text-align: center;
	}
	footer .footer_menu {
		width: 100%;
		text-align: center;
	}
	footer .footer_menu ul li {
		margin-top: 20px;
	}
	footer #copyright {
		float: none;
		text-align: center;
	}
	#pageTop {
		bottom: 20px;
		right: 10px;
		z-index: 1000;
	}
}
@media (max-width:415px) {
	#sub_img .title {
		font-size: 20px;
	}
	#sub_img .title span {
		font-size: 14px;
	}
	#sub_img .sp_block {
		display: block;
	}
	#sub_img .sub_mainimg {
		border-radius: 10px;
	}
}
/*ここからスマホ用（～320px）環境の設定
---------------------------------------------------------------------------*/
@media (max-width:320px){
	p.logo img{
		width: 100px;
		padding-top: 0;
		padding-left: 0px;
	}
}
.text{display:inline-block;}