@charset "utf-8";
h2{
	display: flex;
}
/*h2 img{
	width: 10%;
    height: 50px;
}*/
.heading{
	font-size: 28px;
	text-align: center;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0 10px;
}
.heading span{
    display: inline-block;
    width: 100%;
	position: relative;
	display: inline-block;
}
.heading span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;    
  background: #ffc000;
  border-radius: 2px; 
}
.heading::before {
	content: "";
	display: inline-block; 
	width: 30px;          
	height: 30px;	
	background-image: url("../img/qa/h4_before.png");
	background-size: contain;
	background-repeat: no-repeat;
    background-position: bottom;
    left: 10px;
    position: absolute;
}
.heading::after {
	content: "";
	display: inline-block; 
	width: 30px;          
	height: 30px;
	background-image: url("../img/qa/h4_after.png");
	background-size: contain;	
	background-repeat: no-repeat;
    background-position: bottom;
    right: 10px;
    position: absolute;
}

.qa_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #6c8cad;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	border-radius: 50%;
    position: absolute;
    top: 0;
}
.qa_icon::after {    
	content: "";
    position: absolute;
    bottom: -4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #6c8cad;
    border-radius: 50%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: rotate(-45deg);
    transform-origin: top center;
}
section{
	padding: 0 10px;
}
h4{
    font-weight: 500;
    font-size: 22px;
    line-height: normal;
    padding-left: 50px;
}
.q_area,
.a_area{
	position: relative;
}
.a_area .qa_icon{
	background: #ff97a5;
}
.a_area .qa_icon::after {  
    background: #ff97a5;
}
.a_area p,
.pl_block{
	padding-left: 50px;
}
.a_area p.caption{
	padding-left: 0;
}
.a_area a,
.article_note a{
    color: #000;
    border-bottom: 1px solid #000;
    display: inline;
}
.a_area h4{
    margin-bottom: 0;
    text-align: center;
}
.table-wrap {
	width: 100%;
	overflow-x: auto; 
}
.table-wrap {
	width: 100%;
	overflow-x: auto;
}

.table-wrap table {
	min-width: 600px;
	border-collapse: collapse;
}

th, td {
	border: 1px solid #d8cbb2;
	padding: 20px;
	vertical-align: top;
}

th {
	background: #fff8e5;
	font-weight: bold;
	text-align: center;
}

.category {
	background: #faf6eb;
	width: 120px;
	text-align: center;
	font-weight: bold;
}

.cell-title {
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
}

.cell-content {
	text-align: left;
	width: 40%;
}

.cell-content img {
	display: block;
	margin: 0 auto 12px;
	width: 80px;
	height: auto;
}

.cell-content ul {
	margin: 0;
	padding-left: 1.2em;
	list-style: disc;
}

.table-wrap table tr th.row-title{
	width: 20%;
}
	/* ===== 外枠を消す ===== */
.table-wrap table th:first-child,
.table-wrap table td:first-child {
	border-left: none;
}
.table-wrap table th:last-child,
.table-wrap table td:last-child {
	border-right: none;
}
.table-wrap table tr:first-child th {
	border-top: none;
}
.table-wrap table ul li{
    padding-left: 1.25em;
    text-indent: -1.25em;
}
.bg_gray {
    background: #f7f7f7;
    padding: 1em;
    border-radius: 30px;
    margin: 1em auto;
}
section{
    background-image: linear-gradient(to right, #000 10px, transparent 2px);
    background-size: 20px 2px;
    background-repeat: repeat-x;
    background-position: right bottom;
	padding-bottom: 1em;
}
.bg_gray img{
	max-width: 100%;
}
.bg_gray > span{
	font-weight: bold;
	font-weight: 500;
}
.img_block ul li{
	padding-left: 1.25em;
	text-indent: -1.25em;
}
.img_block ul li span{
	font-weight: 500;
}
section:last-of-type{
	background-image:none;
}
.article_note{
	padding: 0 10px;
}
.link_txt{
    padding-left: 60px;
    text-indent: -1em;
}
.link_txt a{
	margin-left: 5px;
}

/*==index.html==*/
section.no-border{
	background-image:none;
}
.btn.answerbtn a{
    background: #ffcad1;
    color: #432a02;	
}
.qa_index section h4{
	margin-bottom: 1em;
}
.qa_index section p{
	padding-left: 50px;
}

img.for-grow {
	width: 80%;
}
.for-grow .cell-content {
	vertical-align: middle;
	text-align: center;
}
.table-wrap.for-grow2{
	overflow: hidden;
}
.table-wrap.for-grow2 table{
	min-width: auto;
    width: 100%;
}
.for-grow2 .cell-content{
	text-align: center;
}
.for-grow2.table-wrap table th:first-child {
    width: 65%;
}
.for-grow2.table-wrap table th:last-child{
	width: 35%;
}

.grow_note dl dt{
	width: 8%;
}
.grow_note dl dd{
	width: 88%;
}
.bg_gray.f-wrap-nowrap{
	flex-wrap: wrap;
}
.bg_gray.f-wrap-nowrap .note_wrap{
	width: fit-content;
	margin-left: auto;
}
.bg_gray.f-wrap-nowrap .note_wrap p{
	text-align: left;
	padding: 0;
	margin-bottom: 0;
}
.bg_gray.f-wrap-nowrap .note_wrap p:nth-child(n +2){
	margin-top: 0;
}

/********************************************
タブレット
*********************************************/
@media screen and (min-width:768px){
	.related_btn_wrap .btn.searchbtn{
		width: 50%;
	}
	.btn.answerbtn{
		 width: 50%;
	}
	
	.heading{
		width: 60%;
		margin: 2em auto;
	}
	h2{	
		display: inline-block;
	}
	h2 img{
		width: 35px;
		height: auto;
	}      
	.a_area h4 + p{
		margin-top: 0;
		padding-top: 10px;
	} 
	.img_block.for-grow-pl{
		padding-left: 50px;
	}
	
	.bg_gray.f-wrap-nowrap .note_wrap{
		display: flex;
        justify-content: end;
		width: 100%;
		flex-wrap: wrap;
        gap: 0px 10px;
	}
	.bg_gray.f-wrap-nowrap .note_wrap p:nth-child(n +2){
		margin-top: 10px;
	}
	
	
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1024px) {
	
	h2 img{
        vertical-align: sub;
	}
	section{	
		width: 1065px;
		margin: 0 auto;
	}
	.heading{
		margin: 40px auto;
		width: 550px;
	}
	.heading span{
		width: 500px;
	}
	
	.qa_icon{
		width: 70px;
		height: 70px;
		font-size: 30px;
	}
	.qa_icon:after{
		right: 10px;
		width: 20px;
		height: 23px;
	}
	h4,
	.a_area p{		
        padding-left: 80px;
		padding-top: 40px;
	}
	.img_block{
		padding-left: 80px;
	}
	.a_area p.caption,
	.a_area p.note{
		padding-top: 0;
	}
	.bg_gray{
		padding: 40px 30px;
	}
	th{
		font-size: 20px;
	}
	.table-wrap table tr th.row-title{
		width: 180px;
		padding: 20px 0;
		vertical-align: middle;
	}
	.cell-title{
		font-size: 20px;
	}
	.cell-content img{
		width: 150px;
	}
	.a_area p.link_txt{
		padding-top: 20px;
	}
	.a_area a:hover{
		opacity: 0.6;
		transition: 0.5s;
	}
	.article_note{
		margin: 2em auto;
		padding: 20px 30px;
	}
	.related_btn_wrap .btn.searchbtn {
        width: 35%;
    }
	
	.qa_index section p{
		padding-left: 80px;
	}
	.qa_index section ul{
		display: flex;
		justify-content: center;
        margin: 3em;
	}
	.qa_index .btn.answerbtn{    
		width: 240px;
		margin: 0;
		background: #ffcad1;
	}
	.qa_index .heading{
		margin-top: 50px;
	}
	    
	.img_block.for-grow-pl {
        padding-left: 80px;
    }
	.img_block.for-grow-pl table{
		min-width: 100%;
	}
	.img_block.for-grow-pl table .cell-content img{
		width: 130px;
	}
	.img_block.for-grow-pl table .cell-content img.for-grow{
		width: 300px;
	}

	.grow_note dl dt{
		width: 3%;
	}
	.grow_note dl dd{
		width: 97%;
	}
}

