@charset "utf-8";
/* CSS Document */


main {
	/*margin: 20px 0; */
}

/*タイトルのラインカラー*/
.title-word {
	border-color: #f7adc3;
}

/*--タブ--*/

.tabs {
    display: flex;
    flex-wrap: wrap;
	padding: 60px 10px 0 10px;
	max-width: 900px;
	margin: 0 auto;
	margin-bottom: 100px;
}

/*タブラベル*/

.tab_label {
    color: #13c3ac;
    font-weight: bold;
    border: solid 2px #13c3ac;
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    padding: 15px 0px;
    margin: 10px 5px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15.2px;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.tab_label:hover {
	opacity: 0.6;
}

.QA_h4 {
	margin: 5px 0;
	font-size: 16px;
}

input[name="tab_switch"] {
	display: none;
}

.tabs input:checked + .tab_label {
    color: #fff;
    background-color: #13c3ac;
}
.tabs input:checked + .tab_label::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #13c3ac transparent transparent transparent;
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    transition: all 0.3s ease 0s;
}


/*タブ切り替え中身*/

.tab_content {
	flex: 100%;
	display: none;
	overflow: hidden;
	position: relative;
	animation: fadeIn 1s ease;
}

#tab01:checked ~ #tab01_content,
#tab02:checked ~ #tab02_content,
#tab03:checked ~ #tab03_content {
    display: block;
}


/*--------------------------------*/
/*--------------------------------*/


/*--qa中身--*/
/*qa_title*/

.contents_title {
    color: black;
    font-weight: 700;
    font-size: 31.2px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
	margin: 30px 0;
}

.contents_title:before, .contents_title:after {
	border-top: 1px solid;
	content: "";
	width: 31px;
}

.contents_title:before {
	margin-right: 0.5em;
}

.contents_title:after {
	margin-left: 0.5em;
}

.so_subtitle {
	padding: 20px 0 10px 0;
	font-size: 16px;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.so_subtitle a {
	border: solid 1px;
	display: inline-block;
	padding: 5px 10px;
	background-color: #f2f2f2;
}

#so_subtitle2 {
	margin-top: 30px;
}


/*qa中身*/
.qa_item-list {
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.qa_item {
	list-style-type: none;
	padding: 10px 20px;
	/*border-bottom: 1px solid #525252;*/
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	margin: 30px 0;
}

ul li:last-child {
	border-bottom: none;
}

.qa_question, .qa_answer {
	display: flex;
}

.qa_question {
	margin-bottom: 40px;
	align-items: center;
}

#so-list_lastchild {
	align-items: center;
}


/*qa_icon*/

.qa_question_icon, .qa_answer_icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background-color: #13c3ac;
	color: white;
	text-align: center;
	font-style: normal;
	font-weight: bold;
	line-height: 100%;
	letter-spacing: 0.02em;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 20px;
}

.qa_answer_icon {
	border-radius: 50%;
	background-color: red;
}


/*qa_text*/

.qa_question_text, .qa_answer_text {
	align-items: center;
	flex-grow: 1;
	letter-spacing: 0.02em;
	font-weight: bold;
	font-size: 0.95em;
}

.qa_answer_text {
	line-height: 140%;
	font-weight: normal;
}


/*section*/

.teacher, .smartorder, .parent {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 10px 0 10px;
}


@media (max-width: 960px)/*minは750*/{
	.tabs {
		max-width: 750px;
		margin-bottom: 50px;
		padding: 40px 15px 0 15px;
	}
	
	.tab_label {
		font-size: min(1.6vw,12.2px);
	}
	
	.contents_title {
		font-size: 25px;
	}
	
	.qa_question {
		margin-bottom: 30px;
	}
	
	.so_subtitle {
		font-size: 15px;
	}
}

@media (max-width: 750px){
/*枠とラベル*/
	.tabs {
		display: block;
	}
	
	.tab_label {
		font-size: 15px;
		padding: 10px 0;
	}
	
/*コンテンツタイトル*/
	.contents_title {
		font-size: 20px;
		margin: 40px 0 30px 0;
		text-decoration: underline;
		text-underline-offset: 4px;
		display: block;
		text-align: center;
	}
	
	.contents_title:before, .contents_title:after {
	    border-top: none;
	    content: none;
	    width: 0;
    }

    .contents_title:before {
	    margin-right: 0;
    }

    .contents_title:after {
	    margin-left: 0;
    }
	
	.contents_title a {
		text-decoration: underline;
	}
	
/*中身*/
	.qa_question_icon, .qa_answer_icon {
		width: 30px;
		height: 30px; 
	}
	
	.qa_question {
		margin-bottom: 20px;
	}
	
	.qa_question_text, .qa_answer_text {
		font-size: 13px;
	}
	
/*スマートオーダー　購入前購入後*/
	.so_subtitle {
	    padding: 10px 0 0 0;
	    font-size: 14px;
	}

    .so_subtitle a {
	    border: solid 1px;
	    display: inline-block;
	    padding: 5px 10px;
	    background-color: #f2f2f2;
    }
}

@media (max-width: 480px){
	.qa_question {
		margin-bottom: 15px;
	}
	
	.contents_title {
		line-height: 1.3;
	}
	
	
}









