@charset "utf-8";

/*@media screen and (max-width: 767px){ html{font-size: 1.995vw;} }*/


.tabs {
    text-align: center;
    padding-top: 20px;
}

.switch {
	text-align: center;
}

.tab_item {
	font-size: 1.6rem;
	margin: 0 20px;
}
.tab_item span {
    position: relative;
    padding-top: 8px;
    cursor: pointer;
}
.tab_item span:before {
	content: "";
	display: none;
	width: 6px;
	height: 6px;
	border-radius: 100px;
	background-color: #AB8F18;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin:  auto;
}


/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  clear: both;
  overflow: hidden;
  border-top: solid 2px #E8E8E8;
  text-align: left;
  margin-top: 16px;
}

.tab_content .block {
	counter-reset: num decimal-leading-zero;
	padding-top: 26px;
}

.tab_content .block .box {
    margin-bottom: 60px;

    font-size: 1.6rem;
    line-height: 1.7;
}

.tab_content .block .box h2 {
    position: relative;
    font-size: 2.2rem;
    font-weight: 400;
    color: #AC921F;
    line-height: 1.1;
    margin-bottom: 14px;
    border-bottom: solid 1px #E8E8E8;
    padding: 0 0 16px 34px;
}
.tab_content .block .box h2:before {
	counter-increment: num;
	content: "Q"counter(num);
	color: #FFF;
	display: block;
	width: 26px;
	height: 26px;
	background:  url(../../images/common/other/icon_square01.jpg) no-repeat 50% / 100% auto;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2rem;
	text-align: center;
	line-height: 2.1;
}
.tab_content .block .box h2 span {
    color: #000;
    font-weight: 600;
}

.tab_content .block .box p {
    font-family: 'Yu Gothic Medium',"MS PGothic","Yu Gothic M","游ゴシック体", YuGothic, sans-serif;
    margin: 0 0 30px;
}
.tab_content .block .box p:last-child {
	margin-bottom: 0;
}

table.t_01 tbody tr th {
	width: 160px;
}


/*選択されているタブのコンテンツのみを表示*/
#komodaru:checked ~ #komodaru_content,
#masu:checked ~ #masu_content,
#other:checked ~ #other_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	color: #AB8E18;
}
.tabs input:checked + .tab_item span:before {
	display: block;
}




@media screen and (min-width: 768px) {
	.tab_content .block .box p, .tab_content .block .box > span, .tab_content .block .box ol {
	    padding-left: 32px;
	    color: #1f1f1f;
	    font-size: 14px;
	    line-height: 180%;
	    letter-spacing: 0.06em;
	    margin-top: 0;
	}
	.tab_content .block .t_01 {
		width: calc( 100% - 32px );
		margin: 0 0 20px auto;
	}
}
@media screen and (max-width: 768px) {

	.tab_item {
		margin: 0 0 0 1.5%;
	}
	.tab_item:last-child {
		margin-right: 0;
	}
	.tab_item span {
		font-size: 1.45rem;
	}
	.tab_content .block .box {
		margin-bottom: 40px;
	}
	.tab_content .block .box h2 {
	    font-size: 2.5rem;
	    padding-left: 38px;
	}
	.tab_content .block .box h2:before {
		line-height: 2.5;
		width: 30px;
		height: 30px;
	}
	.tab_content .block .box p {
		margin-bottom: 20px;
	}

	.table-outer table {
		width: 600px;
	}


	#a17 table.t_01 tbody tr th {
		width: 62px;
	}
}