﻿@charset "utf-8";

/*---------------------------------------------------------------------------------------
	共通設定
----------------------------------------------------------------------------------------*/
html { box-sizing: border-box; font-size: 62.5%;} *, *:before, *:after { box-sizing: inherit;}
body{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
	color: #3c3c3c;
	min-width:900px;
	background: url(../images/bk.png) repeat;
	font-size: 1.6rem;
	line-height: 1.6;
	letter-spacing:0.1px;
}
@media screen and (max-width:767px){
	body {
		font-size: 1.2rem;
		min-width:inherit;
		border-bottom: 0;
	}
}
/* a */
a{
	color:#333;
	text-decoration: underline;
	transition: 0.3s ;
}
a:hover{
	color:#CF000E;
	text-decoration:none;
}
/*---------------------------------------------------------------------------------------
	外枠
----------------------------------------------------------------------------------------*/
.wrapper {
	position: relative;
	overflow: hidden;
	width: 900px;
	background: #fff;
	margin: 0 auto;
}
@media screen and (max-width:767px){
	.wrapper {
		width: 97%;
		margin: 0 auto;
	}
}
/*---------------------------------------------------------------------------------------
	ヘッダー
----------------------------------------------------------------------------------------*/
header{
	position: relative;
	width: 750px;
	margin: 0 auto;
	padding: 40px 0 30px;
}
header h1 {
	width:160px;
	margin: 0 auto 50px;
}
header h1 img{
	width: 100%;
}
header .menu-trigger { display: none}
header .main-nav ul{
	width: 700px;
	margin:0 auto;
	letter-spacing: -.4em; 
}
header .main-nav li{
	display: inline-block;
	letter-spacing: normal;
	text-align: center;
}
header .main-nav li:nth-child(1){
	width: 122px;
	margin-right: 63px;
	text-align: left;
}
header .main-nav li:nth-child(2){
	width: 156px;
	margin-right: 63px;}
header .main-nav li:nth-child(3){
	width: 121px;
	margin-right: 63px;
}
header .main-nav li:nth-child(4){
	text-align: right;
	width: 110px;
}
header .main-nav li img{
	width: 100%;
}
@media screen and (max-width:900px){
	header{
		width: 100%;
		padding: 30px 0 20px;
	}
	header h1 {
		width: 30%;
		margin: 0 auto 30px;
	}
	.main-nav {
		background-color: #fff; 
		box-sizing: border-box;
		height: 100%;
		padding: 10px 20px;
		position: fixed;
		right: -200px; 
		top: 0;
		transition: transform 0.3s linear 0s;
		width: 200px;
		z-index: 1000;
	}
	header .main-nav li{
		text-align: center!important;
		margin: 10px 0;
	}
	header .main-nav li img{
		max-width: 100%;
	}
	header .menu-trigger {
		background-color: #fff;
		border-radius: 0 0 0 10px; 
		color: #333; 
		display: block;
		font-size: 50px;
		height: 50px;
		width: 50px;
		line-height: 50px; /*縦位置中央化*/
		position: absolute;
		right: 100%;
		text-align: center;
		top: 0;
		cursor: pointer;
	}
	.side-open #menu-background {
		background-color: #333; 
		display: block;
		height: 100%;
		opacity: 0.8;
		position: fixed;
		right: 0;
		top: 0;
		transition: all 0.3s linear 0s;
		width: 100%;
		z-index: 900;
	}
	/*hover 時の処理*/
	.side-open + #menu-background {
		opacity: 0.7; /*黒背景部分透過度*/
		z-index: 999;
	}
	.side-open .main-nav,
	.side-open #menu-background {
	  -webkit-transform: translate3d(-200px, 0, 0);
	  transform: translate3d(-200px, 0, 0);
	}
	header .main-nav ul{
	width: 100%;
	max-width: 1000px;
	margin:0 auto;
	letter-spacing: -.4em; 
	}
	header .main-nav li{
		display: block;
		width: 100%;
		font-size: 1.2rem;
		text-align :left;
		padding: 0;
	}
}
/*---------------------------------------------------------------------------------------
	本文
----------------------------------------------------------------------------------------*/
.container {
	position: relative;
	overflow: hidden;
	width: 700px;
	margin: 0 auto;
}
.title {
	overflow: hidden;
	position:relative;
	text-align: left;
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 20px;
}
.title span {
	position: relative;
	display: inline-block;
	padding-right: 1em;
	background: #fff;
}
.title::after {
  position: absolute;
  top: 40%;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #CF000E;
}
.subtitle {
	font-weight: bold;
	border-left: 5px solid #333;
	padding-left: 10px;
	margin: 50px 0 10px;
	line-height: 1.2;
}
.subtitle span{
	font-weight: normal;
	margin-left: 10px;
}
.subtitle div{
	font-weight: normal;
	margin-top: 5px;
	font-size: 1.2rem;
}

@media screen and (max-width:767px){
	.container {
		width: 97%;
	}
	.title {
		font-size: 1.2rem;
	}
	.subtitle {
		border-left: 3px solid #333;
		padding-left: 5px;
		margin: 30px 0 10px;
	}

}

/*---------------------------------------------------------------------------------------
	フッター
----------------------------------------------------------------------------------------*/
footer {
	margin: 60px 0 20px;
}
footer .copy{
	margin: 0 auto;
	width: 500px;
}
footer .copy img{
	max-width: 100%;
}

@media screen and (max-width:767px){
	footer {
		margin: 30px 0 10px;
	}
	footer .copy{
		width: 100%;
	}
}

