@charset "utf-8";

#entry_container{
	width: 96%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
	line-height: 140%;
	font-weight:600;
	display: flex;
	justify-content: space-between;
}

#entry_container a{
	color: #197acc;
}
#entry_container a:hover{
	text-decoration: none;
}

/* main */
section#main {
	margin-bottom: 60px;
}
.maincontents{
	width: 62%;
}
.maincontents .entryhead {
  margin-bottom: 50px;
}
.maincontents .entryhead h1{
	position: relative;
	font-size: 32px;
	font-weight: bold;
	line-height: 150%;
	padding-left: 28px;
	margin-bottom: 60px;
}
.maincontents .entryhead h1::before{
	position: absolute;
	background: #c9151d;
	content: "";
	display: block;
	width: 8px;
	height: calc(100% - 8px);
	left: 0;
	top: 6px;
}
.maincontents p{
	font-size: 15px;
	font-weight: 400;
	margin-bottom: 20px;
}
.toc{
	background: #f3f6f9;
	font-size: 15px;
	padding: 25px;
	margin-bottom: 70px;
}
.toc .tocttl{
	background: url("../img/guide/toc_icon.svg") no-repeat left center;
	background-size: 25px auto;
	display: flex;
	align-items: center;
	height: 22px;
	margin-bottom: 40px;
	padding-left: 40px;
	padding-bottom: 2px;
}
.toc ul li{
	margin-top: 10px;
}
.toc ul li:first-child{
	margin-top: 0;
}
.toc ul li::before{
	color: #000;
	content: "・";
	margin-right: 10px;
}
.entry h2{
	border-bottom: 2px solid #c9151d;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 35px;
	padding-bottom: 15px;
}
.entry section{
	margin-bottom: 70px;
}
.entry .entrytable_container{
	margin: 40px 0;
}
.entry .infotable td{
	padding: 15px 20px;
}
.entry .infotable th,.entry .infotable td{
	font-size: 15px;
}

/* side */
.sidecontents{
	width: 30%;
}
.sidecontents .sidebnr{
	margin-top: 25px;
	margin-bottom: 70px;
}
.sidecontents .sidebnr a{
	transition: 0.3s;
}
.sidecontents .sidebnr a:hover{
	opacity: 0.8;
}
.sidecontents h4{
	border-bottom: 2px solid #c9151d;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 18px;
}
.sidecontents .sidelink ul{}
.sidecontents .sidelink ul li{
	border-bottom: 1px solid #ccc;
}
.sidecontents .sidelink ul li a{
	display: block;
	padding: 18px 0;
}

/* qa */
#qa{
	padding-bottom: 60px;
}
.questions{
	border: 1px solid #cccccc;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 30px;
	cursor: pointer;
}
.questions .question{
	background: #f3f3f3;
	padding: 30px 30px 30px 50px;
}
.questions .question::before{
	color: #c9151d;
	content: "Q";
}
.questions .answer{
	border-top: 1px solid #cccccc;
	padding: 30px 30px 30px 50px;
	display: none;
}
.questions .answer::before{
	content: "A";
}
.questions .question,.questions .answer{
	position: relative;
}
.questions .question::before,.questions .answer::before{
	position: absolute;
	left: 25px;
}
.questions .question::after{
	font-size: 22px;
	content: "+";
	position: absolute;
	right: 30px;
	top: 0;
  bottom: 0;
  margin: auto 0;
	display: flex;
  align-items: center;
}
.questions.open .question::after {
	content: "-";
}


@media only screen and (max-width: 768px) {
	section#main {
		margin-bottom: 30px;
	}
	#entry_container{
		display: block;
	}
	.maincontents,.sidecontents {
		width: 100%;
		margin-bottom: 40px;
	}
	.entrytable_container{
		overflow: auto;
		padding-bottom: 5px;
	}
	.entrytable_container table.infotable{
		width: 800px;
	}
	.toc {
		margin-bottom: 30px;
	}
	.entry h2 {
		font-size: 18px;
		margin-bottom: 20px;
		padding-bottom: 10px;
	}
	.maincontents .entryhead h1 {
		font-size: 24px;
		padding-left: 20px;
		margin-bottom: 30px;
	}
	.entry section {
		margin-bottom: 50px;
	}
	.sidecontents .sidebnr{
		text-align: center;
	}
	
	/* qa */
	#qa {
		margin-top: 65px;
		padding-bottom: 0;
	}
	.questions {
		border-radius: 10px;
		margin-bottom: 15px;
	}
	.questions .question {
		padding:15px 40px 15px 40px;
	}
	.questions .question::before, .questions .answer::before {
		left: 20px;
	}
	.questions .question::after {
		font-size: 20px;
		right: 15px;
	}
	.questions .answer {
		padding: 15px 40px 15px 40px;
	}

}
