@charset "UTF-8";

/**----------------------
Reset
-------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,input,textarea,p,blockquote,th,td {
margin: 0;
padding: 0;
}
address,em { font-style: normal; }
strong,th { font-weight: normal; }
table {
border-collapse: collapse;
border-spacing: 0;
}
th { text-align: left; }
hr,legend { display: none;	}
h1,h2,h3,h4,h5,h6 { font-size: 100%; }
img,fieldset { border: 0; }
li { list-style-type: none; }

/**----------------------
fonts
-------------------------*/
body {
font-size: 75%; /* IE */
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","Osaka","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333333;
}
html>/**/body { font-size: 12px; } /* Except IE */
body{
	-webkit-text-size-adjust: 100%;	
}


/**----------------------
clearfix
-------------------------*/
.clearfix:after{
    content:".";
    display: block;
    height:0px;
    clear:both;
    visibility:hidden;
}

.clearfix { /zoom: 1; } /* IE */

/**----------------------
Link
-------------------------*/
a{
	text-decoration: none;  
	color: #4b2087;
}

a:hover{
	color:#3366ff;
}


a.txt-link{
	color:#3d8fd9;
	text-decoration: none; 
}

a:hover.txt-link{
	color:#3d8fd9;
	text-decoration:underline; 
}


/**----------------------
Link_End
-------------------------*/
body {
	background-image: url(../img/back_6.gif);
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

/**----------------------
header
-------------------------*/

#header {
	margin-top: 0px;
	margin-left: auto;
	width: 710px;
	margin-right: auto;
	height: 127px;
	background-color: #ffffff;
	border-top: 2px solid #161E31;
}
#headercoment {
	width: 710px;
	height: 17px;
	background-color: #E9E0D1;
}
#header #logoarea {
	background-image: url(../img/header_bg.jpg);
	width: 710px;
	height: 108px;
}
#header #logoarea #logo{
	width: 218px;
	hight; 60px;
	float: left;
	margin-left: 28px;
	margin-top: 10px;
}
#header #logoarea #logo img{
	width: 100%;
	hight: auto;
}
#header #logoarea #navi{
	width: 453px;
	height: 15px;
	float: right;
	margin-right: 10px;
	margin-top: 86px;
}
#header #logoarea #navi a{
	float: right;
	margin-left: 17px;
}

/**----------------------
headerEnd
-------------------------*/


/**----------------------
フッター
-------------------------*/
#footer {
	text-align: center;
	margin-left: auto;
	width: 710px;
	margin-right: auto;
	background-color: #E9E0D1;
	height: 16px;
	margin-top: 10px;
	border-bottom: 2px solid #161E31;
	padding-bottom: 3px;
}


/**----------------------
フッターEnd
-------------------------*/
#page #pankuzu {
text-align: left;
width: 840px;
margin-top: 15px;
margin-left: auto;
margin-right: auto;
line-height: 1.4em;
}

.gotop {
	width: 690px;
	text-align: left;
	margin-top: 10px;
	padding-left: 16px;
    line-height: 16px;
    background: url("../img/mark_back.gif") no-repeat;
}

.clear_box {
    clear:  both;
}


/**----------------------
PC用
-------------------------*/

@media (min-width: 711px) {
	#headertab {
	display: none;
	}	
}

/**----------------------
タブレット用
-------------------------*/

@media (max-width: 710px) {
	#page {
		max-width: 100%;
		background-color: #FFFFFF;
	}
	#header {
		display: none;
	}
	#navi {
	    display:none;
	}
	#logosp{
		display: none;
	}
	#headertab {
		text-align: center;
		width: 100%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0px;
		border-top: 2px solid #161E31;
	}
	#headertab #headercoment {
		width: 100%;
		padding-top: 3px;
		padding-bottom: 3px;
		margin-top: 0px;
		background-color: #E9E0D1;
		text-align: center;
	}
	#headertab #headercoment p {
		margin-left: auto;
		margin-right: auto;
	}
	#headertab #logotab {
		width: 100%;
		height: auto;
	}
	#headertab #logotab img {
		width: 100%;
		height: auto;
	}
	#footer {
		text-align: center;
		width: 100%;
		background-color: #E9E0D1;
		padding-top: 3px;
		padding-bottom: 3px;
		margin-top: 0px;
		border-bottom: 2px solid #161E31;
	}
	
	/* チェックボックスを非表示にする */
	.drawer_hidden {
		display: none;
	}

	/* ハンバーガーアイコンの設置スペース */
	.drawer_open {
		display: flex;
		height: 60px;
		width: 60px;
		justify-content: center;
		align-items: center;
		position: relative;
		z-index: 100;/* 重なり順を一番上にする */
		cursor: pointer;
		float: right;
	}

	/* ハンバーガーメニューのアイコン */
	.drawer_open span,
	.drawer_open span:before,
	.drawer_open span:after {
		content: '';
		display: block;
		height: 3px;
 		width: 25px;
		border-radius: 3px;
		background: #333;
		transition: 0.5s;
		position: absolute;
	}

	/* 三本線の一番上の棒の位置調整 */
	.drawer_open span:before {
		bottom: 8px;
	}

	/* 三本線の一番下の棒の位置調整 */
	.drawer_open span:after {
		top: 8px;
	}

	/* アイコンがクリックされたら真ん中の線を透明にする */
	#drawer_input:checked ~ .drawer_open span {
		background: rgba(255, 255, 255, 0);
	}

	/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
	#drawer_input:checked ~ .drawer_open span::before {
		bottom: 0;
		transform: rotate(45deg);
	}

	#drawer_input:checked ~ .drawer_open span::after {
		top: 0;
		transform: rotate(-45deg);
	}
  
	/* メニューのデザイン*/
	.nav_content {
		width: 50%;
		height: 100%;
		position: fixed;
		top: 0%;
		right: 100%; /* メニューを画面の外に飛ばす */
		z-index: 99;
		background: #f5f5f5;
		transition: 10s;
		text-align: left;
		padding-top: 20px;
		padding-left: 10px;
		padding-right: 10px;
	}

	/* メニュー黒ポチを消す */
	.nav_list {
		list-style: none;
	}
	.nav_item {
		font-size: 16px;
		line-height: 2em;
		border-bottom: 1px solid #d3d3d3;
	}

	/* アイコンがクリックされたらメニューを表示 */
	#drawer_input:checked ~ .nav_content {
		left: 0;/* メニューを画面に入れる */
	}
}

/**----------------------
スマホ用
-------------------------*/

@media (max-width: 575px) {
	#header {
		display: none;
	}
	#logosp{
		width;100%;
	}
	#headertab {
		text-align: center;
		width: 100%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0px;
		border-top: 2px solid #161E31;
	}
	#headertab #headercoment {
		width: 100%;
		padding-top: 3px;
		padding-bottom: 3px;
		margin-top: 0px;
		background-color: #E9E0D1;
		text-align: center;
		height: auto;
	}
	#headertab #headercoment p {
		margin-left: auto;
		margin-right: auto;
	}
	#headertab #logotab {
		width: 100%;
		height: auto;
	}
	#headertab #logotab img {
		width: 100%;
		height: auto;
	}
	#footer {
		text-align: center;
		width: 100%;
		background-color: #E9E0D1;
		height: auto;
		border-bottom: 2px solid #161E31;
	}

	.gotop {
		width: 95%;
		text-align: left;
		margin-top: 10px;
		margin-bottom: 10px;
		padding-left: 16px;
   		line-height: 16px;
    	background: url("../img/mark_back.gif") no-repeat;
	}
	.gotop a {
		font-size: 14px;
	}
  }
