﻿body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin: 0;padding: 0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style: normal;}
table {border-collapse: collapse;border-spacing: 0;width:100%;}
th {text-align: center;}
caption {text-align: left;}
q:before,q:after {content: '';}
object,embed {vertical-align: top;}
hr,legend {display: none;}
h1,h2,h3,h4,h5,h6 {font-size: 100%;}
abbr,acronym,fieldset {border: 0;}
img {max-width: 100%;height: auto;}
li {list-style-type: none;}
#contents li a{ display: block; }
#contents li span{ display: block; }
body{font: 13px/1.4 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;color:#252525;background: #ffffff url(images/bg.png) repeat-x top;}
body#toppage {background: none;}

a{color:#ba9f54;text-decoration:none;}
a:hover{color:#d2bd81;}
a:active, a:focus {outline: 0;}
.clear{clear:both;}
.center{margin: 0 auto;text-align:center;}

#wrapper{margin: 0 auto;width:100%;}

#header{background: url(images/in_bg.png) repeat;margin: 0 auto;text-align:center;}
#header h1 {padding:7px;font-size: 10px;font-weight: normal;}
#header img{margin: 10px auto;}
ul#topnav{display: none;visibility:hidden;}

.imgR {float: none;margin: 0 auto;text-align:center;}
.imgL{float: none;margin: 0 auto;text-align:center;}
.imgRX{float: none;margin: 0 auto;text-align:center;}
.imgLX {float: none;margin: 0 auto;text-align:center;}
.btn {text-align: center;}

/* clearfix */
.clearfix:after {content: "."; display: block; visibility: hidden; height: 0.1px; font-size: 0.1em; line-height: 0; clear: both;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* margin
----------------------------------------------------------*/
/* Top */
.MG-T0 { margin-top: 0 !important; }
.MG-T5 { margin-top: 5px !important; }
.MG-T10 { margin-top: 10px !important; }
.MG-T15 { margin-top: 15px !important; }
.MG-T20 { margin-top: 20px !important; }
.MG-T25 { margin-top: 25px !important; }
.MG-T30 { margin-top: 30px !important; }
/* Bottom */
.MG-B0 { margin-bottom: 0 !important; }
.MG-B5 { margin-bottom: 5px !important; }
.MG-B10 { margin-bottom: 15px !important; }
.MG-B15 { margin-bottom: 15px !important; }
.MG-B20 { margin-bottom: 20px !important; }
.MG-B25 { margin-bottom: 25px !important; }
.MG-B30 { margin-bottom: 30px !important; }

/* padding
----------------------------------------------------------*/
/* Left */
.PD-L5 { padding-left: 5px !important; }
.PD-L10 { padding-left: 10px !important; }
.PD-L15 { padding-left: 15px !important; }
.PD-L20 { padding-left: 20px !important; }
.PD-L25 { padding-left: 25px !important; }
.PD-L30 { padding-left: 30px !important; }
/* Right */
.PD-R5 { padding-right: 5px !important; }
.PD-R10 { padding-right: 10px !important; }
.PD-R15 { padding-right: 15px !important; }
.PD-R20 { padding-right: 20px !important; }
.PD-R25 { padding-right: 25px !important; }
.PD-R30 { padding-right: 30px !important; }

/* フォントサイズ・カラー
----------------------------------------------------------*/
.TXT-S { font-size:12px;}
.TXT-M { font-size:14px;}
.TXT-L { font-size:15px;}

.TXT-RED { color:#FF3333;}
.TXT-ORG { color:#f7931e;}


#main {
	float: none;
	width: 98%;
	padding:1%;
}

.bannerM{width:98%;display: flex;justify-content: center;margin: 1%;text-align:center;}
.bannerM img{margin: 0px 0px 15px 0px;}

#main h2{
	margin-bottom: 10px;
	padding: 0 10px 0px 20px;
	line-height: 40px;
	font-size: 17px;
	font-weight: normal;
	color: #252525;
	background: url(images/heading.png) no-repeat left bottom;
}

#main h3 {
	margin-bottom: 10px;
	padding: 0px 0px 0px 0px;
	line-height: 40px;
	font-size: 17px;
	font-weight: normal;
	color: #ba9f54;
	background: url(images/bg-h3.png) no-repeat 50% 50%;
}

#main p.withImage{width: 100%;}
#main p.withImage img{margin: 10px auto;text-align:center;}

.box{display: none;visibility:hidden;}
.last{margin-right:0;}

p.button{
	text-align: center;
	padding: 10px 0;
}
p.button a{
	display:block;
	line-height: 32px;
	background: #ffffff url(images/button.png) no-repeat;
	margin: 0 -20px;
}
p.button a{color:#ba9f54;}
p.button a:hover{color:#ffffff;}
p.button a:hover{
cursor:pointer;
background-position: 0 -32px;
}

#main ul {margin-left: 20px;}

#main li
{margin-bottom: 3px;}

#sidebar {
	width: 98%;
	padding:1%;
}

#sidebar .tag{width: 98%;margin: 1%;display: block;justify-content: center;}
#sidebar p{width: 98%;margin: 1%;text-align:center;}

#sidebar h3 {
	margin: 10px 0px 15px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 15px;
	text-align:center;
	font-weight: normal;
	color: #252525;
	border-bottom: solid 1px #ccc;
}

#sidebar ul{padding: 10px 0;}

#sidebar li{
	margin: 0px 0px 10px 0px;
	list-style: none;
	border-bottom: 1px solid #efefef;
	font-size: 14px;
}

#sidebar li a{
	background: url(images/ar.png) no-repeat 100% 50%;
	background-size:30px 30px;
	padding: 10px 0px 10px 0px;
	display: block;
	text-align:center;
}

#footer{
	clear:both;
	border-top: 1px solid #cccccc;
}

#footer .inner{overflow: hidden;}

#footer #logo{
	float:none;
	width: 100%;
	margin: 10px 0px 10px 0px;
	text-align:center;
}

address{
	padding: 20px 0 3px;
	text-align: center;
	font-style:normal;
	font-size: 12px;
	clear:both;
	display:block;
}

#back-top {display: none;visibility:hidden;}
#fade {display: none;visibility:hidden;}
#nav2 {display: none;visibility:hidden;}

#main p{
	font-size: 16px;
	padding: 15px 10px 15px 10px;
	word-break: break-all;
}

#main .ver1{
	background:#eee;
	border-bottom:7px solid #ddd;
	padding: 3px 5px 3px 15px;
	font-size: 17px;
	margin-bottom: 15px;
	margin-top: 5px;
	color: #333;
}

#main .ver2{
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
	padding: 3px 5px 3px 15px;
	font-size: 17px;
	margin-bottom: 15px;
	margin-top: 5px;
	color: #ba9f54;
}

.ver3{
	border-bottom:1px solid #333;
	padding: 3px 5px 3px 5px;
	font-size: 15px;
	margin-bottom: 5px;
	margin-top: 5px;
	font-weight: normal;
}

#main .box_out {
	background-color: #e9dab6;
	margin-top: 1px;
	margin-bottom: 15px;
	padding: 3px;
}
#main .box_in {
	background: url(images/in_bg.png);
	border: 2px solid #fff;
	margin-bottom: 1px;
	padding: 3px;
}

#main .box_outA {
	background-color: #e9dab6;
	margin-top: 1px;
	margin-bottom: 15px;
	padding: 3px;
}
#main .box_inA {
	background: url(images/in_bgA.png);
	border: 2px solid #fff;
	margin-bottom: 1px;
	padding: 3px;
}

#main .box_outB {
	background-color: #e9dab6;
	margin-top: 1px;
	margin-bottom: 15px;
	padding: 3px;
}
#main .box_inB {
	background-color: #fff;
	border: 2px solid #ddd;
	margin-bottom: 1px;
	padding: 3px;
}

#main .check li{
	list-style-type: none;
	padding:10px 0px 10px 50px;
	margin-top: 17px;
	background: url(images/check.png) no-repeat;
	background-position:0% 50%;
	font-size: 16px;
}

#main .check2 li{
	list-style-type: none;
	padding:3px 0px 3px 25px;
	margin-top: 15px;
	background: url(images/check2.png) no-repeat;
	background-position:0% 50%;
	background-size:20px 20px;
	font-size: 16px;
}

#main .check3 li{
	list-style-type: none;
	padding:10px 0px 3px 28px;
	margin-top: 15px;
	background: url(images/check3.png) no-repeat;
	background-position:0% 50%;
	font-size: 16px;
}

#main .boxL {
	width: 98%;
	padding:1%;
	font-size: 17px;
	margin-bottom: 15px;
	text-align:center;
}

#main .boxR {
	width: 98%;
	padding:1%;
	font-size: 17px;
	margin-bottom: 15px;
	text-align:center;
}

#main .t-head {
	border-collapse: collapse;
	border: solid 1px #ddd;
	padding: 10px;
	background-color: #efefef;
	width: 25%;
	font-size:16px;
}

#main .t-item {
	border-collapse: collapse;
	border: solid 1px #ddd;
	padding: 10px;
	background-color: #fff;
	width: 75%;
	font-size:16px;
}

.question {
	font-weight:nomal;
	font-size:15px;
	border-bottom: 1px solid #efefef;
	background:#fff;
	list-style: none;
	padding: 5px 10px;
	cursor: pointer;
}


.answer {
	padding:5px;
	font-size:14px;
	border-bottom: 1px solid #efefef;
}

/*=======================
------ 追記
=======================*/
#sidebar ul.treeview{
padding: 10px 5px;
}

#sidebar ul.treeview ul{
padding: 0;
margin: 0;
border-top: 1px solid #fff;
}

#sidebar ul.treeview li{
background: none;
padding: 0;
margin: 0;
border-bottom: hidden;
}

#sidebar ul.treeview li + li{
border-top: 1px solid #efefef;
}

ul.treeview li span{
display: block;
padding: 10px;
cursor: pointer;
background: #F1ACB0;
}

ul.treeview li span:hover{
background: rgba(241, 172, 176, .7);
}

#sidebar ul.treeview ul span{
background: #F8D7D9;
}

#sidebar ul.treeview ul span:hover{
background: rgba(248, 215, 217, .7);
}​

#sidebar ul.treeview a{
padding: 0;
}

/*--- 追加 ---*/
/* 見出し */
#main h3.h3{
position: relative;
background: none;
font-size: 1.2rem;
border-bottom: 3px solid #BA9F54;
padding-left: 35px;
}

#main h3.h3::after{
position: absolute;
display: block;
content: "";
top: 50%;
left: .5em;
transform: translate(0, -50%);
width: 20px;
height: 20px;
background: url("./images/iconCheck.png") no-repeat;
background-size: cover;
}

#main h4.h4,
#main h5.h5,
#main h6.h6{
position: relative;
background: none;
font-size: 1rem;
margin-bottom: 10px;
padding: 10px 10px 8px 27px;
}

#main h4.h4{
margin-top: 10px;
background: #F4F0E5;
border-left: 8px solid #BA9F54;
border-bottom: 1px solid #BA9F54;
}

#main h5.h5{
padding-left: 35px;
border-bottom: 1px dashed #BA9F54;
}

#main h5.h5::after{
position: absolute;
display: block;
content: "";
top: 50%;
left: .5em;
transform: translate(0, -50%);
width: 9px;
height: 9px;
border: 3px solid #BA9F54;
border-radius: 100%;
}

#main h6.h6{
display: inline-block;
padding: 10px 10px 8px;
margin-top: 10px;
margin-left: 10px;
margin-bottom: 0;
background: #F4F0E5;
border-radius: 8px;
}

/* 目次 */

.index{
margin-bottom: 10px;
padding: 15px 10px;
background: #F4F0E5;
}

.index h6{
position: relative;
padding: 0 10px;
margin-bottom: 15px;
text-align: center;
font-size: .9rem;
z-index: 1;
}

.index h6::after{
position: absolute;
display: block;
content: "";
top: 0;
left: 0;
width: 100%;
height: 50%;
border-bottom: 3px double #BA9F54;
z-index: -1;
}

.index h6 span{
padding: 0 .75em;
background: #F4F0E5;
}

.index ol{
list-style: none;
counter-reset: indexNum;
}

.index ol li{
position: relative;
font-size: .9rem;
padding-left: 2em;
}

.index ol li + li,
.index ol ol{
margin-top: .8em;
}

.index ol li::before{
position: absolute;
display: block;
counter-increment: indexNum;
content: counter(indexNum) "";
top: 0;
left: 0;
width: 20px;
height: 20px;
line-height: 20px;
font-size: .8rem;
color: #fff;
text-align: center;
background: #BA9F54;
box-sizing: border-box;
}

.index ol ol li{
padding-left: 2.7em;
}

.index ol ol li::before{
content: counters(indexNum, "-");
width: 30px;
color: #252525;
background: transparent;
border-bottom: 2px solid #BA9F54;
}

.index ol ol ol li{
padding-left: 3.7em;
}

.index ol ol ol li::before{
width: 45px;
}

/* リスト */
.withImage > ol{
font-size: 17px;
padding: 15px 10px 15px 10px;
margin-left: 3em;
}

.withImage > ol li{
list-style: normal;
}

#main .withImage > ul{
font-size: 17px;
padding: 15px 10px 15px 10px;
margin-left: 3em;
}

#main .withImage > ul li{
list-style: disc;
}

/* テーブル */
table{
font-size:1rem;
padding: 15px 10px 15px 10px;
}

table th{
padding:0.5em;
}

table td{
padding:0.5em;
}

/* 目次 に戻るボタン*/
.withImage h4{
position: relative;
}

.withImage h4 a{
position: absolute;
display: block;
content: "";
top: 50%;
right: 10px;
transform: translate(0, -50%);
width: auto;
height: auto;
padding: .3em .5em .3em 2em;
font-size: .8rem;
background: #333;
color: #fff;
border-radius: 5px;
}

.withImage h4 a::after{
position: absolute;
display: block;
content: "";
top: 50%;
left: .7em;
transform: translate(0, -50%) rotate(45deg);
margin-top: 2px;
width: 9px;
height: 9px;
border: 2px solid transparent;
border-left-color: #fff;
border-top-color: #fff;
box-sizing: border-box;
}

.withImage h4 a:hover{
text-decoration: none;
background: #555;
}

.img_syosai{
  margin: 30px auto;
}
