@charset "UTF-8";


/*========================================

  よくある質問

========================================*/
#sec001 {
	padding-top:30px;
}

/*タブ切り替え全体のスタイル*/
.tabs {
}

/*タブのスタイル*/
.tab_item {
	width:380px;
	height:100px;
	font-size:28px;
	font-weight:600;
	text-align:center;
	line-height:100px;
	letter-spacing:1px;
	border-radius:30px 30px 0 0;
	background-color:#9eb7f0;
	color:#fff;
	display:block;
	float:left;
	transition:all .2s ease;
	cursor:pointer;
}

.tab_item:hover {
	opacity:.7;
	transition:.3s;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
	display:none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
	display:none;
	padding:80px;
	clear:both;
	overflow:hidden;
}

.tab_content .box {
	width:1040px;
	margin:0 auto;
}

.tab_content .box dl {
	margin:0;
	padding:0;
	text-align:left;
	border-bottom:2px solid #4a77e3;
	padding:2em 0;
}

.tab_content .box dl:first-child {
	border-top:2px solid #4a77e3;
}

.tab_content .box dl dt {
	position:relative;
	color:#4a77e3;
	font-size:22px;
	font-weight:500;
	padding-left:60px;
	padding-right:30px;
}

.tab_content .box dl dt::before {
	position:absolute;
	top:-20px;
	left:10px;
	content:"Q";
	color:#4a77e3;
	font-size:40px;
	font-weight:500;
}

.tab_content .box dl dd {
	position:relative;
	font-size:18px;
	font-weight:500;
	text-align:justify;
	text-justify:inter-ideograph;
	padding-left:60px;
	padding-right:30px;
	margin-top:2em;
}

.tab_content .box dl dd::before {
	position:absolute;
	top:-20px;
	left:12px;
	content:"A";
	color:#ff6e96;
	font-size:40px;
	font-weight:500;
}

.tab_content .box dl dd a {
	color:#4a77e3;
	text-decoration:underline;
}

.tab_content .box dl dd a:hover {
	opacity:.7;
}

.tab_content .box dl dd .indent {
	display:inline-block;
	padding-left:.8em;
}




/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
	display:block;
	background-color:#fff;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	background-color:#4a77e3;
	color:#fff;
}

@media screen and (max-width: 767px) {
	#sec001 {
		padding-top:3vw;
	}

	/*タブ切り替え全体のスタイル*/
	.tabs {
	}

	/*タブのスタイル*/
	.tab_item {
		width:50%;
		height:auto;
		font-size:3.8vw;
		line-height:normal;
		letter-spacing:1px;
		border-radius:5vw 5vw 0 0;
		padding:1em 0;
	}

	/*ラジオボタンを全て消す*/
	input[name="tab_item"] {
		display:none;
	}

	/*タブ切り替えの中身のスタイル*/
	.tab_content {
		padding:8vw 5vw;
	}

	.tab_content .box {
		width:100%;
		margin:0 auto;
	}

	.tab_content .box dl dt {
		font-size:4vw;
		text-align:justify;
		text-justify:inter-ideograph;
		padding-left:6vw;
		padding-right:0;
	}

	.tab_content .box dl dt::before {
		position:absolute;
		top:-1vw;
		left:0;
		content:"Q";
		font-size:5vw;
	}

	.tab_content .box dl dd {
		font-size:3.4vw;
		padding-left:6vw;
		padding-right:0;
		margin-top:1em;
	}

	.tab_content .box dl dd::before {
		position:absolute;
		top:-1vw;
		left:0;
		content:"A";
		font-size:5vw;
	}

	.tab_content .box dl dd a {
		color:#4a77e3;
		text-decoration:underline;
	}




	/*選択されているタブのコンテンツのみを表示*/
	#all:checked ~ #all_content,
	#programming:checked ~ #programming_content,
	#design:checked ~ #design_content {
		display:block;
		background-color:#fff;
	}

	/*選択されているタブのスタイルを変える*/
	.tabs input:checked + .tab_item {
		background-color:#4a77e3;
		color:#fff;
	}
}
