@charset "utf-8";
.hero_area {
  background: #FFF4E4;
  padding: 0 0 40px;
}
.point_ttl_wrap {
  background: url(../images/top/ttl_bg.svg);
  padding: 25px 0 35px;
  text-align: center;
}
.sub_page_ttl img {
  width: 100%;
  max-width: 500px;
}
.point_sub_wrap {
  padding: 40px 35px 0;
}
.point_sub_wrap p {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}
.subject_list_wrap {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}
.subject_list_wrap::before {
  position: absolute;
  display: block;
  background: url(../images/top/top_bg.svg) left -2px / 100% no-repeat;
  content: '';
  width: 768px;
  height: auto;
  aspect-ratio: 1921 / 868;
  top: 0;
  left: 0;
  z-index: -3;
}
.subject_list_wrap.fixed-position::before {
  position: fixed;
  top: 74px;
}
.pc_br {
  display: none;
}
@media screen and (min-width: 769px) {
  .sub_page_ttl img {
    width: 700px;
    max-width: unset;
  }
  .point_sub_wrap p {
    font-size: clamp(16px, 2.1vw, 24px);
    text-align: center;
  }
  .pc_br {
    display: block;
  }
  .subject_list_wrap::before {
    background-position-x: center;
    width: 100%;
  }
}
@media screen and (min-width: 1025px) {
  .subject_list_wrap.fixed-position::before {
    top: 140px;
  }  
}
@media screen and (min-width: 1280px) {
  .hero_area {
    padding: 0 0 60px;
  }
  .point_ttl_wrap {
    padding: 25px 0 18px;
  }
  .sub_page_ttl img {
    width: auto;
  }
  .point_sub_wrap {
    padding: 60px 0 0;
  }
  .point_sub_wrap p {
    font-size: 24px;
  }
  .subject_list_wrap {
    padding: 0 0 200px;
  }
}
/* faq */
.faqbox {
  position: relative;
  margin: 18px 0 0;
}
.faqbox:first-child {
  margin: 0;
}
#reason + .faqbox {
  margin: 0;
}
.faqbox_item {
  position: relative;
  z-index: 1;
	border-radius: 5px;
  overflow: hidden;
	transition: all .2s ease-out;
  box-shadow: 3px 3px 0px #FBE1C3;
}
.faqbox_item.no_ani {
  box-shadow: none;
}
.faqbox_item_bg {
  display: block;
	content: '';
	position: absolute;
	bottom: -2px;
	left: 2px;
	z-index: 0;
	width: 100%;
	height: 54px;
	border-radius: 25px;
	background: #6D242E;
}
.faqbox_item:hover {
	transform: translate(3px, 3px);
	transition: all .2s ease-out;
}
.no_ani {
	transform: translate(3px, 3px);
}
.no_bg {
  display: none;
}
.subject {
	position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
	cursor: pointer;
  text-align: center;
}
.ansbox {
	position: relative;
	background: #EAF2F6;
	font-weight: normal;
}
.ansinfobox {
	padding: 19px 15px 50px;
}
.subject_blue .ansinfobox {
  background: #EFF4FB;
  border-left: solid 5px #6C9BD2;
  border-right: solid 5px #6C9BD2;
  border-bottom: solid 5px #6C9BD2;
}
.subject_purple .ansinfobox {
  background: #F4EFFB;
}
.subject_green .ansinfobox {
  background: #F2F5EE;
  border-left: solid 5px #508E56;
  border-right: solid 5px #508E56;
  border-bottom: solid 5px #508E56;
}
.subject_orange .ansinfobox {
  background: #FEF7E4;
  border-left: solid 5px #F8B862;
  border-right: solid 5px #F8B862;
  border-bottom: solid 5px #F8B862;
}
.subject_blue02 .ansinfobox {
  background: #F4F9F9;
}
.subject_green02 .ansinfobox {
  background: #F4F9F4;
}
.subject_pink .ansinfobox {
  background: #FDF0F0;
  border-left: solid 5px #ED7A94;
  border-right: solid 5px #ED7A94;
  border-bottom: solid 5px #ED7A94;
}
.subject_orange02 .ansinfobox {
  background: #FEF1E0;
}
.subject_brown .ansinfobox {
  background: #F2E7E4;
}
.subject_blue h3 {
  background: #2C70AF;
}
.subject_purple h3 {
  background: #B67CB3;
}
.subject_green h3 {
  background: #34763B;
}
.subject_orange h3 {
  background: #DC7230;
}
.subject_blue02 h3 {
  background: #73D7F6;
}
.subject_green02 h3 {
  background: #00A29A;
}
.subject_pink h3 {
  background: #D54A59;
}
.subject_orange02 h3 {
  background: #F08441;
}
.subject_brown h3 {
  background: #B58F89;
}
.subject_name {
	font-size: 18px;
  color: #fff;
	font-weight: bold;
  letter-spacing: 0.2em;
}
.subject_inner_ttl {
  margin: 0 0 15px;
  font-size: clamp(1.5rem, 1.142rem + 1.53vw, 1.875rem);
  font-weight: bold;
}
.subject_orange h4 {
  color: #F8B862;
}
.subject_blue02 h4 {
  color: #73D7F6;
}
.q_a_list {
  padding: 30px 0 0;
}
/* .subject_purple .q_a_list {
  background: url(../images/top/q_a_line_02.svg) left bottom/12px 2px repeat-x;
}
.subject_green .q_a_list {
  background: url(../images/top/q_a_line_03.svg) left bottom/12px 2px repeat-x;
}
.subject_orange .q_a_list {
  background: url(../images/top/q_a_line_04.svg) left bottom/12px 2px repeat-x;
}
.subject_blue02 .q_a_list {
  background: url(../images/top/q_a_line_05.svg) left bottom/12px 2px repeat-x;
}
.subject_green02 .q_a_list {
  background: url(../images/top/q_a_line_06.svg) left bottom/12px 2px repeat-x;
}
.subject_pink .q_a_list {
  background: url(../images/top/q_a_line_07.svg) left bottom/12px 2px repeat-x;
}
.subject_orange02 .q_a_list {
  background: url(../images/top/q_a_line_08.svg) left bottom/12px 2px repeat-x;
}
.subject_brown .q_a_list {
  background: url(../images/top/q_a_line_09.svg) left bottom/12px 2px repeat-x;
} */
.q_a_list:first-child {
  padding: 0;
}
.q_a_list:last-child {
  padding: 30px 0 0;
}
.q_a_list::after {
  display: block;
  background: #fff;
  content: '';
  width: 100%;
  height: 5px;
  margin: 30px 0 0;
  border-radius: 2.5px;
}
.q_a_list:last-child::after {
  display: none;
}
.q_a_box {
  display: flex;
  gap: 0 8px;
  margin: 19px 0 0;
}
.q_a_box:first-child {
  margin: 0;
}
.q_a_icon {
  width: 60px;
}
.q_a_txt_wrap {
  width: calc(100% - 68px);
}
.q_a_head {
  /* font-size: 18px;
  line-height: 1; */
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.q_a_head img {
  width: 1em;
}
.head_q {
  /* color: #2874BB; */
  background: url(../images/top/head_q.svg) 55% 54% / 64% no-repeat;
}
.subject_purple .head_q {
  color: #AD569D;
}
.subject_green .head_q {
  /* color: #10A7AA; */
  background-color: #312C20;
}
.subject_orange .head_q {
  /* color: #F8B862; */
  background-color: #DC7230;
}
.subject_blue .head_q {
  /* color: #73D7F6; */
  background-color: #2C70AF;
}
.subject_blue02 .head_q {
  color: #73D7F6;
}
.subject_green02 .head_q {
  color: #00A29A;
}
.subject_pink .head_q {
  /* color: #ED7A94; */
  background-color: #D54A59;
}
.subject_orange02 .head_q {
  color: #F08441;
}
.subject_brown .head_q {
  color: #B58F89;
}
.head_a {
  /* color: #E9495B; */
  background: #34763B url(../images/top/head_a.svg) 54% 45% / 51% no-repeat;
}
.q_a_txt_q {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}
.q_a_txt_a {
  font-size: 16px;
  line-height: 2.6;
  letter-spacing: 0.04em;
}
.q_a_txt_a + .q_a_txt_a {
  padding: 25px 0 0;
}
.q_a_txt_zoom {
  font-size: 18px;
  font-weight: bold;
}
.q_a_txt_line {
  padding: 0 0 5px;
  border-bottom: 5px solid #FFF78D;
}
.q_a_txt_bg {
  background: #fff;
}
.q_a_txt_list {
  display: inline-block;
  padding-left: 2em;
  text-indent: -2em;
}
@media screen and (min-width: 768px) {
  .faqbox {
    margin: 33px 0 0;
  }
	.subject {
    height: 65px;
	}
	.ansinfobox {
		padding:  43px 40px 100px;
	}
	.subject_name {
		font-size: clamp(18px, 2.3vw, 38px);
	}
  .faqbox_item_bg {
		bottom: -3px;
		left: 3px;
    height: 65px;
  }
  .q_a_box {
    gap: 0 20px;
  }
  .q_a_list {
    padding: 60px 0 0;
  }
  .q_a_list:first-child {
    padding: 0;
  }
  .q_a_list:last-child {
    padding: 60px 0 0;
  }
  .q_a_list::after {
    margin: 60px 0 0;
  }
  .q_a_icon {
    width: 80px;
  }
  .q_a_txt_wrap {
    width: calc(100% - 100px);
  }
  .q_a_txt_q {
    font-size: clamp(16px, 1.87vw, 24px);
  }
  .q_a_txt_a {
    font-size: clamp(16px, 1.87vw, 24px);
  }
  .q_a_txt_a + .q_a_txt_a {
    padding: 50px 0 0;
  }
  .q_a_txt_zoom {
    font-size: clamp(18px, 2.34vw, 30px);
  }
  .q_a_head {
    /* font-size: clamp(14px, 3.12vw, 40px); */
    width: 39px;
    height: 39px;
  }
}
@media screen and (min-width: 1025px) {
  .sec_link {
    padding-top: 135px;
    margin-top: -135px;
  }  
}
@media screen and (min-width: 1280px) {
  .subject {
    height: 80px;
	}
  .faqbox_item {
    border-radius: 10px;
  }
  .faqbox_item_bg {
    height: 80px;
  }
	.subject_name {
		font-size: 38px;
	}
  .q_a_box {
    gap: 0 30px;
    margin: 30px 0 0;
  }
  .q_a_icon {
    width: 100px;
  }
  .q_a_txt_wrap {
    width: calc(100% - 130px);
  }
  .q_a_txt_q {
    font-size: 24px;
  }
  .q_a_txt_a {
    font-size: 24px;
  }
  .q_a_txt_zoom {
    font-size: 30px;
  }
  .q_a_head {
    font-size: 40px;
  }
}
/* 国語 */
.q_a_table_01 {
  width: 704px;
  margin: 50px 0 0;
  border-collapse: unset;
}
.q_a_table_01 th, .q_a_table_01 td {
  padding: 5px;
  border: solid 2.5px #EFF4FB;
  letter-spacing: .1em;
  background: #fff;
}
.q_a_table_01 td {
  font-size: 14px;
}
.q_a_table_01 th {
  font-size: 15px;
}
.q_a_table_01 th.q_a_table_01_head {
  background: #2C70AF;
  border-radius: 20px 20px 0 0;
  color: #fff;
  text-align: center;
}
.q_a_table_01 th.___head_list_01 {
  width: 18%;
  background: #87ABDA;
  text-align: center;
}
.q_a_table_01 th.___head_list_02 {
  width: 6%;
  background: #87ABDA;
  text-align: center;
}
.q_a_table_01 th.___head_list_03 {
  width: 23%;
  background: #87ABDA;
  text-align: center;
}
.q_a_table_01 th.___head_list_04 {
  width: 9%;
  background: #87ABDA;
  text-align: center;
}
.q_a_table_01 th.___head_list_05 {
  width: 44%;
  background: #34763B;
  color: #FFF78D;
  text-align: center;
}
.q_a_table_01 td.q_a_table_num {
  border-radius: 20px 0 0 20px;
  background: #312C20;
  color: #fff;
  width: 4%;
  text-align: center;
  font-weight: bold;
}
.q_a_table_01 td.q_a_table_advice {
  padding: 5px 20px 25px;
}
.q_a_table_01 td.q_a_table_advice p span {
  color: #34763B;
}
.q_a_table_advice p {
  margin: 5px 0 0;
}
.___head_list_center {
  text-align: center;
}
._table_advice_img {
  width: 92px;
  height: 25px;
}
.table_advice_wrap:nth-child(2) {
  margin: 10px 0 0;
}
@media screen and (min-width: 768px) {
  .q_a_table_01 {
    width: auto;
  }
  .q_a_table_01 th {
    font-size: clamp(15px, 1.56vw, 20px);
  }
  .q_a_table_01 td {
    font-size: clamp(15px, 1.40vw, 18px);
  }
  .q_a_table_advice p {
    margin: 7px 0 0;
  }
  ._table_advice_img {
    width: 116px;
    height: 32px;
  }
  .table_advice_wrap:nth-child(2) {
    margin: 11px 0 0;
  }
}
@media screen and (min-width: 1280px) {
  .q_a_table_01 th {
    font-size: 20px;
  }
  .q_a_table_01 td {
    font-size: 18px;
  }
}
/* 数学 */
.q_a_table_02 {
  width: 704px;
  margin: 30px 0 0;
  border-collapse: unset;
}
.q_a_table_02 th, .q_a_table_02 td {
  padding: 8px 0 9px;
  font-size: 14px;
  border: #F4F9F4 solid 2.5px;
  background: #fff;
  text-align: center;
}
.q_a_table_02 th.q_a_table_02_th01 {
  border-radius: 20px 0 0;
  background: #10A7AA;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  width: 25%;
  line-height: 1.2;
}
.q_a_table_02 th.q_a_table_02_th01 span {
  font-size: 10px;
}
.q_a_table_02 th.q_a_table_02_th02 {
  padding: 3px 0;
  border-radius: 0 20px 0 0;
  background: #85C6CE;
}
.q_a_table_02 th.q_a_table_02_th03 {
  padding: 3px 0;
  background: #85C6CE;
  width: 15%;
}
.q_a_table_02 td.q_a_table_02_remarks {
  text-align: left;
  font-size: 14px;
}
.q_a_table_02_remarks p {
  text-indent: -1em;
  padding: 0 10px 0 1em;
}
@media screen and (min-width: 768px) {
  .q_a_table_02 {
    width: 100%;
    margin: 50px 0 0;
  }
  .q_a_table_02 th.q_a_table_02_th01 {
    font-size: clamp(14px, 1.56vw, 20px);
  }
  .q_a_table_02 th.q_a_table_02_th01 span {
    font-size: clamp(10px, 1.17vw, 15px);
  }
  .q_a_table_02 th, .q_a_table_02 td {
    padding: 11px 0 14px;
    font-size: clamp(14px, 1.56vw, 20px);
  }
}
@media screen and (min-width: 1280px) {
  .q_a_table_02 th.q_a_table_02_th01 {
    font-size: 20px;
  }
  .q_a_table_02 th.q_a_table_02_th01 span {
    font-size: 15px;
  }
  .q_a_table_02 th, .q_a_table_02 td {
    font-size: 20px;
  }
}
/* -----------------
↓↓↓ボタン
----------------- */
.i_box {
	position: absolute;
  background: #fff;
	top: 50%;
	right: 25px;
	width: 30px;
	height: 30px;
  border-radius: 50%;
	transform: translateY(-50%);
}
.i_box:before, .i_box:after {
	position: absolute;
	content: "";
	margin: auto;
	box-sizing: border-box;
	vertical-align: middle;
}
.i_box:before {
	border-top: 2px solid #312C20;
  border-radius: 1px;
	width: 16px;
	height: 0;
	top: 0;
	bottom: 0;
	left: 50%;
  transform: translateX(-50%);
}
.i_box:after {
  border-left: 2px solid #312C20;
  border-radius: 1px;
	width: 0;
	height: 16px;
	top: 0;
	bottom: 0;
	left: 50%;
  transform: translateX(-50%);
	transition: .3s;
}
.open .i_box:after {
	height: 0;
}
@media screen and (max-width: 768px) {
	.i_box {
		right: 19px;
		/* width: 11px;
		height: 11px;
		margin-top: -5.5px; */
	}
	/* .i_box:before {
		width: 12px;
	}
	.i_box:after {
		height: 12px;
		right: 5px;
	} */
}
/* -----------------
ボタン↑↑↑
----------------- */