@charset "utf-8";


/*PC・タブレット・スマホ共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;
	color: #333;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 16px;	
	line-height: 2;		/*行間*/
	background: #fff;
	-webkit-text-size-adjust: none;
}

h1,h2,h3,h4,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

table {
	border-collapse:collapse;
	border-spacing: 0;
}

iframe {
	width:50%;
}

a{
	text-decoration: none;
}
/*リンク（全般）設定
---------------------------------------------------------------------------*/

@media only screen and (min-width: 769px) {
	header{
		background:#4F342C;
		height: 55px;
	}
	
	h1{
		color:#fff;
		font-size: 20px;
		padding:8px 0 0 22px; 
	}
	
	.menu-sp {
			position: absolute;
			z-index: 104;
			top: 0;
			right: 0;
			width: 50px;
			height: 60px;
		}
		
		nav.globalMenuSp {
    position: fixed;
    z-index: 104;
    top: 0;
    left: 0;
    color: #404040;
    text-align:center;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
	height: 100%;
	padding-top: 55px;
	overflow-y: scroll;
}
 
nav.globalMenuSp ul {
    background: rgba(255,255,255,0.8);
    margin: 0 auto;
    width: 100%;
}

nav.globalMenuSp ul li {
	position: relative;
    font-size: 16px;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    list-style-type: none;
    width: 100%;
	height:auto;
}
 
/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
 
nav.globalMenuSp ul li a {
    display: block;
    color:#000;
    padding: 20px 0;
}
		
		nav.globalMenuSp ul li a span {
			color:#404040;
			font-size: 20px;
			margin-right: 13px;
			font-weight: bold;
			float: right;
			line-height: 1;
		}
		
		nav.globalMenuSp ul li a font {
			color: #de0415;
			font-size: 12px;
			position: absolute;
			top: 20px;
			right: 20px;
		}
 
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateX(0%);
}
	
	.navToggle {
    display: block;
    position: absolute;    /* bodyに対しての絶対位置指定 */
    left: 17%;
    top: 0px;
    width: 40px;
    height: 51px;
    cursor: pointer;
    z-index: 999;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 25px;
    border-bottom: solid 4px #fff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
	left: 5px;
}
 
.navToggle span:nth-child(1) {
    top: 15px;
}
 
.navToggle span:nth-child(2) {
    top: 25px;
}
 
.navToggle span:nth-child(3) {
    top: 35px;
}
	
	/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
	width: 30px;
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
	width: 30px;
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
	
	.main{
		padding: 10px 30px;
	}

	.sub01{
	 color: #4F342C;
	font-size: 20px;
	border-bottom: 2px solid #4F342C;
	margin-bottom: 22px;
	}
	
	.fma{
		color:blue;
	}
	
	.ma{
		color:red;
	}
}

/*SP設定*/
@media only screen and (max-width: 768px) {
	header{
		background:#4F342C;
		height: 55px;
	}
	
	h1{
		color:#fff;
		font-size: 20px;
		padding:8px 0 0 22px; 
	}
	
	.menu-sp {
			position: absolute;
			z-index: 104;
			top: 0;
			right: 0;
			width: 50px;
			height: 60px;
		}
		
		nav.globalMenuSp {
    position: fixed;
    z-index: 104;
    top: 0;
    left: 0;
    color: #404040;
    text-align:center;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
	height: 100%;
	padding-top: 55px;
	overflow-y: scroll;
}
 
nav.globalMenuSp ul {
    background: rgba(255,255,255,0.8);
    margin: 0 auto;
    width: 100%;
}

nav.globalMenuSp ul li {
	position: relative;
    font-size: 16px;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    list-style-type: none;
    width: 100%;
	height:auto;
}
 
/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
 
nav.globalMenuSp ul li a {
    display: block;
    color:#000;
    padding: 20px 0;
}
		
		nav.globalMenuSp ul li a span {
			color:#404040;
			font-size: 20px;
			margin-right: 13px;
			font-weight: bold;
			float: right;
			line-height: 1;
		}
		
		nav.globalMenuSp ul li a font {
			color: #de0415;
			font-size: 12px;
			position: absolute;
			top: 20px;
			right: 20px;
		}
 
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateX(0%);
}
	
	.navToggle {
    display: block;
    position: absolute;    /* bodyに対しての絶対位置指定 */
    left: 17%;
    top: 0px;
    width: 40px;
    height: 51px;
    cursor: pointer;
    z-index: 999;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 25px;
    border-bottom: solid 4px #fff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
	left: 5px;
}
 
.navToggle span:nth-child(1) {
    top: 15px;
}
 
.navToggle span:nth-child(2) {
    top: 25px;
}
 
.navToggle span:nth-child(3) {
    top: 35px;
}
	
	/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
	width: 30px;
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
	width: 30px;
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
	
	.main{
		padding: 10px 30px;
	}

	.sub01{
	 color: #4F342C;
	font-size: 20px;
	border-bottom: 2px solid #4F342C;
	margin-bottom: 22px;
	}
	
	.fma{
		color:blue;
	}
	
	.ma{
		color:red;
	}
	}