/* COMMON */
:root {
  --main-color: #684F50;
  --sub-color: #9A797A;
  --bg-color: #faf9f8;
}

body {
  background: var(--bg-color);
}

#wrap {
  margin-bottom: 7.9rem;
}

.inner {
  width: 100%;
  padding: 0 2.4rem;
  margin: 0 auto;
}

main {
  margin-top: 9.6rem;
  padding-bottom: 2.5rem;
}

select {
	padding: 0 10px 0 4px;
	background: url('../img/arrow.png') no-repeat 90% 50% !important;
	border-radius: 0px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  color: inherit;
  font-family: inherit;
}

/* HEADER */
header {
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: var(--bg-color);
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .title_wrap h1 {
  font-size: 2.4rem;
  font-weight: 600;
}
header .title_wrap p {
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #786f6f;

}

/* FOOTER */
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  border-top: 1px solid #E4DDDB;
  background: var(--bg-color);
}
footer ul {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
}
footer ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 1.3rem 0;
}
footer ul li a img {
  width: 3rem;
  aspect-ratio: 1 / 1;
}
footer ul li a p {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sub-color);
  white-space: nowrap;
}
footer ul li.active a p {
  color: var(--main-color);
}

/* notice_area */
.notice_area {
  margin-top: 4rem;
}
.notice_area p {
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 300;
  line-height: 1.7;
}

/* index.php */
main.index {
  margin-top: 4rem;
}
.index .inner > div {
  position: fixed;
  width: calc(100% - 4.8rem);
  height: 100%;
  overflow-y: auto;
  top: 0;
}
.index .inner > div.active {
  display: block !important;
}
.index .title_wrap {
  margin-bottom: 3rem;
}
.index .title_wrap span {
  font-size: 1.8rem;
  color: var(--sub-color);
  font-weight: 500;
  display: block;
  margin-bottom: 2.4rem;
}
.index .title_wrap h2 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .8rem;
}
.index .title_wrap p {
  font-size: 1.4rem;
  line-height: 1.4;
}
.index ul li input[type="radio"] {
  display: none;
}
.index .step1 {
  padding: 4rem 0 20rem;
}
.index .step1 ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.index .step1 ul li label {
  padding: 2.5rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
}
.index .step1 ul li.active label {
  border: 1px solid var(--main-color);
  background: #f4ecec;
}
.index .step1 .button_wrap {
  position: fixed;
  background: var(--bg-color);
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 4rem 2.4rem 8rem;
}
.index .step1 .button_wrap button {
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 2.6rem 2.4rem;
  color: var(--bg-color);
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
}

.index .step2 {
  padding: 4rem 0 24rem;
}
.index .step2 form {
  margin-bottom: 1.6rem;
}
.index .step2 form .search_wrap {
  position: relative;
  width: 100%;
}
.index .step2 form .search_wrap input {
  width: 100%;
  padding: 2.5rem 2.4rem; 
  background: #f3f1f0;
  border: none;
  border-radius: 1rem;
  font-size: 1.4rem;
  color: #333;
  box-sizing: border-box;
}
.index .step2 form .search_wrap button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2.4rem 2.4rem;
}
.index .step2 form .search_wrap button img {
  width: 2rem;
}
.index .step2 .list h3 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.index .step2 .list ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.index .step2 .list ul li label {
  padding: 1.8rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.index .step2 .list ul li label h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.index .step2 .list ul li label p {
  font-size: 1.4rem;
  color: #786f6f;
}
.index .step2 .button_wrap {
  position: fixed;
  background: var(--bg-color);
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 2.2rem 2.4rem 8rem;
}
.index .step2 .button_wrap ul {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.6rem;
}
.index .step2 .button_wrap ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  border: 1px solid #2a2525;
  padding: .8rem 1rem;
}
.index .step2 .button_wrap ul li p {
  font-size: 1.4rem;
  font-weight: 600;
}
.index .step2 .button_wrap ul li img {
  width: 1.6rem;
}
.index .step2 .button_wrap button {
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 2.6rem 2.4rem;
  color: var(--bg-color);
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
}

.index .step3 {
  padding: 4rem 0 18rem;
}
.index .step3 .list1 {
  margin-bottom: 3rem;
}
.index .step3 > div h3 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.index .step3 > div ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.index .step3 > div ul li label {
  padding: 1.8rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.index .step3 > div ul li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  width: 100%;
}
.index .step3 > div ul li label h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.index .step3 > div ul li button h4 {
  font-size: 1.8rem;
  font-weight: 600;
}
.index .step3 > div ul li label p {
  font-size: 1.4rem;
  color: #786f6f;
}
.index .step3 > div ul li button img {
  width: 2.4rem;
}
.index .step3 .button_wrap {
  position: fixed;
  background: var(--bg-color);
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 4rem 2.4rem 8rem;
}
.index .step3 .button_wrap button {
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 2.6rem 2.4rem;
  color: var(--bg-color);
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
}

.index .inner > div::-webkit-scrollbar {
  display: none;
}

/* home.php */
.home .date_wrap {
  background: var(--main-color);
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.home .date_wrap .title_wrap h2 {
  font-size: 1.8rem;
  color: var(--bg-color);
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .date_wrap .title_wrap p {
  font-size: 1.4rem;
  color: var(--bg-color);
  margin-bottom: .5rem;
}
.home .date_wrap .title_wrap span {
  font-size: 1.2rem;
  color: var(--bg-color);
}
.home .date_wrap .dday_wrap p {
  font-size: 2.8rem;
  color: var(--bg-color);
  font-weight: 600;
}

.home .update_wrap {
  margin-top: 1rem;
  padding: 2rem;
  background: #f4ecec;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.home .update_wrap .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home .update_wrap .title_wrap .text_wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.home .update_wrap .title_wrap .text_wrap p {
  background: var(--main-color);
  border-radius: 10rem;
  padding: .3rem .7rem;
  font-size: 1.2rem;
  color: var(--bg-color);
  font-weight: 600;
}
.home .update_wrap .title_wrap .text_wrap h2 {
  font-size: 1.6rem;
  font-weight: 600;
}
.home .update_wrap .title_wrap button i img {
  width: 2rem;
}
.home .update_wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.home .update_wrap ul li {
  background: var(--bg-color);
  border-radius: 1rem;
  padding: 1rem;
}
.home .update_wrap ul li h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .update_wrap ul li p {
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}
.home .update_wrap ul li p b {
  font-weight: 400;
  color: #786f6f;
}
.home .update_wrap a {
  background: var(--sub-color);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--bg-color);
  font-weight: 600;
}
.home .study_wrap {
  margin-top: 1rem;
}
.home .study_wrap .test_wrap {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 2rem;
}
.home .study_wrap .test_wrap .title_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.home .study_wrap .test_wrap .title_wrap .text_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .study_wrap .test_wrap .title_wrap .text_wrap p {
  font-size: 1.2rem;
  color: #786f6f;
}
.home .study_wrap .test_wrap .title_wrap .now_wrap p {
  font-size: 1.8rem;
  font-weight: 600;
}
.home .study_wrap .test_wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border: 1px solid var(--main-color);
  border-radius: 10rem;
  padding: 1rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--main-color);
}

.home .study_wrap .today_wrap {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1rem;
}
.home .study_wrap .today_wrap .title_wrap {
  margin-bottom: 2rem;
}
.home .study_wrap .today_wrap .title_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .study_wrap .today_wrap .title_wrap p {
  font-size: 1.2rem;
  color: #786f6f;
}
.home .study_wrap .today_wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border-radius: 10rem;
  padding: 1rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--bg-color);
  background: var(--main-color);
}

.home .study_wrap .status_wrap {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2 ,1fr);
  gap: 1rem;
}
.home .study_wrap .status_wrap div {
  padding: 2rem;
  border: 1px solid #e4dddb;
  border-radius: 2rem;
}
.home .study_wrap .status_wrap div h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.home .study_wrap .status_wrap div ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home .study_wrap .status_wrap div ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home .study_wrap .status_wrap div ul li p {
  font-size: 1.2rem;
  color: #786f6f;
}
.home .study_wrap .status_wrap div ul li span {
  font-size: 1.4rem;
  color: var(--main-color);
  font-weight: 600;
}
.home .study_wrap .status_wrap div a {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2rem;
  background: var(--main-color);
  border-radius: 10rem;
  color: var(--bg-color);
  font-size: 1.4rem;
  font-weight: 600;
}

.home .study_wrap .middle_line {
  width: 100%;
  height: 1px;
  background: #e4dddb;
  margin: 2rem 0;
}

.home .study_wrap .prep_wrap {
  padding: 2rem;
  border: 1px solid #e4dddb;
  border-radius: 2rem;
}
.home .study_wrap .prep_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.home .study_wrap .prep_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem .4rem;
}
.home .study_wrap .prep_wrap ul li:last-child {
  grid-column: span 4;
}
.home .study_wrap .prep_wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem .8rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
}
.home .study_wrap .prep_wrap ul li:last-child a {
  justify-content: space-between;
}
.home .study_wrap .prep_wrap ul li a p {
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 600;
}
.home .study_wrap .prep_wrap ul li a p b {
  font-size: 1rem;
  font-weight: 400;
}
.home .study_wrap .prep_wrap ul li a span {
  font-size: 1rem;
  font-weight: 400;
  color: #786f6f;
}

.home .study_wrap .recent_wrap {
  padding: 2rem;
  border: 1px solid #e4dddb;
  border-radius: 2rem;
  margin-top: 1rem;
}
.home .study_wrap .recent_wrap .title_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.home .study_wrap .recent_wrap .title_wrap .text_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .study_wrap .recent_wrap .title_wrap .text_wrap p {
  font-size: 1.2rem;
  color: #786f6f;
}
.home .study_wrap .recent_wrap .title_wrap .all_wrap a {
  font-size: 1rem;
  color: #786f6f;
}
.home .study_wrap .recent_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
}
.home .study_wrap .recent_wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem .8rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 600;
}

.home .study_wrap .schedule_wrap {
  padding: 2rem;
  border: 1px solid #e4dddb;
  border-radius: 2rem;
  margin-top: 1rem;
}
.home .study_wrap .schedule_wrap .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.home .study_wrap .schedule_wrap .title_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
}
.home .study_wrap .schedule_wrap .title_wrap a {
  font-size: 1rem;
  color: #786f6f;
}
.home .study_wrap .schedule_wrap ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
}
.home .study_wrap .schedule_wrap ul li a {
  display: flex;
  justify-content: center;
  background: #f4ecec;
  border-radius: 1rem;
  padding: 1rem;
  flex-direction: column;
}
.home .study_wrap .schedule_wrap ul li a h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.home .study_wrap .schedule_wrap ul li a p {
  font-size: 1.2rem;
  color: #786f6f;
}

/* recent.php */
.recent .filter_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.6rem 1rem;
}
.recent .filter_wrap li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.recent .filter_wrap li select {
  padding: 1.8rem 2.4rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
}

.recent .middle_line {
  width: 100%;
  height: 1px;
  background: #e4dddb;
  margin: 2rem 0;
}

.recent .update_wrap {
  padding: 2rem;
  background: #f4ecec;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.recent .update_wrap .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recent .update_wrap .title_wrap .text_wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.recent .update_wrap .title_wrap .text_wrap p {
  background: var(--main-color);
  border-radius: 10rem;
  padding: .3rem .7rem;
  font-size: 1.2rem;
  color: var(--bg-color);
  font-weight: 600;
}
.recent .update_wrap .title_wrap .text_wrap h2 {
  font-size: 1.6rem;
  font-weight: 600;
}
.recent .update_wrap .title_wrap button i img {
  width: 2rem;
}
.recent .update_wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.recent .update_wrap ul li {
  background: var(--bg-color);
  border-radius: 1rem;
  padding: 1rem;
}
.recent .update_wrap ul li h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.recent .update_wrap ul li p {
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}
.recent .update_wrap ul li p b {
  font-weight: 400;
  color: #786f6f;
}
.recent .update_wrap a {
  background: var(--sub-color);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--bg-color);
  font-weight: 600;
}

.recent .test_list {
  margin-top: 2.4rem;
}
.recent .test_list > p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.recent .test_list ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.recent .test_list ul li {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 1.8rem 2.4rem;
}
.recent .test_list ul li h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.recent .test_list ul li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1.6rem;
}
.recent .test_list ul li a {
  background: var(--sub-color);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1.4rem;
  font-weight: 600;
}

/* prep.php */
.prep .filter_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1.6rem 1rem;
}
.prep .filter_wrap li:last-child {
  grid-column: span 2;
}
.prep .filter_wrap li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.prep .filter_wrap li select {
  padding: 1.8rem 2.4rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
}
.prep .update_wrap {
  padding: 2rem;
  background: #f4ecec;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.prep .update_wrap .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prep .update_wrap .title_wrap .text_wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.prep .update_wrap .title_wrap .text_wrap p {
  background: var(--main-color);
  border-radius: 10rem;
  padding: .3rem .7rem;
  font-size: 1.2rem;
  color: var(--bg-color);
  font-weight: 600;
}
.prep .update_wrap .title_wrap .text_wrap h2 {
  font-size: 1.6rem;
  font-weight: 600;
}
.prep .update_wrap .title_wrap button i img {
  width: 2rem;
}
.prep .update_wrap .card {
  background: var(--bg-color);
  border-radius: 1rem;
  padding: 1rem;
}
.prep .update_wrap .card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.prep .update_wrap .card p {
  font-size: 1.2rem;
  font-weight: 500;
}
.prep .update_wrap a {
  background: var(--sub-color);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--bg-color);
  font-weight: 600;
}
.prep .start_wrap {
  margin-top: 2.4rem;
}
.prep .start_wrap a {
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.6rem 2.4rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--bg-color);
}

/* test.php */
.test_header .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.test_header .title_wrap button i img {
  width: 2.4rem;
}
.test_header .inner {
  flex-direction: column;
  align-items: flex-start;
}
.test_header .progress_wrap {
  margin-top: 1.6rem;
  width: 100%;
}
.test_header .progress_wrap p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.test_header .progress_wrap .graph {
  position: relative;
  width: 100%;
  height: .5rem;
  border-radius: 10rem;
  background: #e4dddb;
}
.test_header .progress_wrap .graph .now {
  position: absolute;
  height: .5rem;
  border-radius: 10rem;
  background: var(--sub-color);
  top: 0;
  left: 0;
}

main.test {
  margin-top: 14rem;
}

.test .question_wrap {
  margin-bottom: 3rem;
}
.test .question_wrap span {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--main-color);
  display: block;
  margin-bottom: 1rem;
}
.test .question_wrap p {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.test .answer_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.test .answer_wrap li label {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  box-sizing: border-box;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 2.6rem 2rem;
}
.test .answer_wrap li label b {
  font-weight: 500;
  text-decoration: underline;
}
.test .answer_wrap li.active label {
  border-color: var(--main-color);
  background: #f4ecec;
  }
.test .answer_wrap li input[type="radio"] {
  display: none;
}

.test .button_wrap {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
}
.test .button_wrap .prev {
  color: #e4dddb;
}
.test .button_wrap .next {
  color: #786f6f;
}

/* answer.php */
.answer_header .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.answer_header .title_wrap button i img {
  width: 2.4rem;
}
.answer_header .inner {
  flex-direction: column;
  align-items: flex-start;
}
.answer_header .progress_wrap {
  margin-top: 1.6rem;
  width: 100%;
}
.answer_header .progress_wrap p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.answer_header .progress_wrap .graph {
  position: relative;
  width: 100%;
  height: .5rem;
  border-radius: 10rem;
  background: #e4dddb;
}
.answer_header .progress_wrap .graph .now {
  position: absolute;
  height: .5rem;
  border-radius: 10rem;
  background: var(--sub-color);
  top: 0;
  left: 0;
}

main.answer {
  margin-top: 14rem;
}

.answer .question_wrap {
  margin-bottom: 6rem;
}
.answer .question_wrap span {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--main-color);
  display: block;
  margin-bottom: 1rem;
}
.answer .question_wrap p {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.answer .solution {
  padding: 2rem;
  background: #f4ecec;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.answer .solution p {
  font-size: 1.4rem;
  color: #786f6f;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.answer .answer_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer .answer_wrap li label {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  box-sizing: border-box;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 2.6rem 2rem;
}
.answer .answer_wrap li label b {
  font-weight: 500;
  text-decoration: underline;
}
.answer .answer_wrap li.active label {
  border-color: #2a2525;
  background: #e4dddb;
  }
.answer .answer_wrap li.answer label {
  border-color: #19603c;
  background: #e0f0e8;
  }
.answer .answer_wrap li input[type="radio"] {
  display: none;
}

.answer .button_wrap {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
}
.answer .button_wrap .prev {
  color: #e4dddb;
}
.answer .button_wrap .next {
  color: #786f6f;
}

/* result.php */
.result .result_card h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}
.result .result_card ul {
  padding: 2rem;
  border-radius: 1rem;
  background: #f4ecec;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.result .result_card ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.result .result_card ul li p {
  font-size: 1.8rem;
  color: #786f6f;
}
.result .result_card ul li span {
  font-size: 2rem;
  color: var(--main-color);
  font-weight: 600;
}
.result .button_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4.4rem;
}
.result .button_wrap li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.1rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  font-size: 1.6rem;
  font-weight: 600;
}

/* question.php */
.question ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1rem .5rem;
}
.question ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.1rem 2rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  font-size: 1.6rem;
  font-weight: 600;
}
.question ul li.active a {
  border: 1px solid #edc6c6;
  background: #edc6c6;
}
.question .close_button {
  margin-top: 10.6rem;
  width: 100%;
}
.question .close_button button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  padding: 2.6rem 2.4rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  color: var(--bg-color);
  font-weight: 600;
  width: 100%;
}

/* feedbak */
.feedbak .filter_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.6rem 1rem;
}
.feedbak .filter_wrap li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.feedbak .filter_wrap li select {
  padding: 1.8rem 2.4rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
}

.feedbak .middle_line {
  width: 100%;
  height: 1px;
  background: #e4dddb;
  margin: 2rem 0;
}

.feedbak .wrong span {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
  display: block;
}
.feedbak .wrong ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feedbak .wrong ul li {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  padding: 1.8rem 2.4rem;
}
.feedbak .wrong ul li h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.feedbak .wrong ul li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1.6rem;
}
.feedbak .wrong ul li a {
  background: var(--sub-color);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1.4rem;
  font-weight: 600;
}

/* more.php */
.more ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.more ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
}
.more ul li a p {
  font-size: 1.6rem;
  font-weight: 600;
}
.more ul li a i img {
  width: 2rem;
}

.more ul li.active {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
}
.more ul li .q_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
}
.more ul li.active .q_wrap {
  border: none;
}
.more ul li .q_wrap p {
  font-size: 1.6rem;
  font-weight: 600;
}
.more ul li .q_wrap i img {
  width: 2rem;
}
.more ul li .a_wrap {
  padding: 1.9rem 2.4rem;
}
.more ul li .a_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.more ul li .a_wrap ul li p {
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 300;
  line-height: 1.7;
}
.more ul li .a_wrap ul li h3 {
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 500;
  margin-bottom: .5rem;
}
.more .notice_area {
  margin-top: 10rem;
}

/* info.php */
.info_header .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.info_header .title_wrap button i img {
  width: 2.4rem;
}

.info .filter_wrap .button_wrap {
  margin-bottom: 2.4rem;
}
.info .filter_wrap .button_wrap h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.info .filter_wrap .button_wrap ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.info .filter_wrap .button_wrap ul li label {
  padding: .9rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #786f6f;
  font-weight: 600;
}
.info .filter_wrap .button_wrap ul li.active label {
  border: 1px solid var(--main-color);
  background: #f4ecec;
}
.info .button_wrap ul li input[type="radio"] {
  display: none;
}

.info .select_wrap h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.info .select_wrap select {
  border: 1px solid #e4dddb;
  padding: 1.8rem 2.4rem;
  width: 100%;
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.info .middle_line {
  width: 100%;
  height: 1px;
  background: #e4dddb;
  margin: 2rem 0;
}

.info .qna {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info .qna li.active {
  border: 1px solid #e4dddb;
  border-radius: 1rem;
}
.info .qna li .q_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
}
.info .qna li.active .q_wrap {
  border: none;
}
.info .qna li .q_wrap p {
  font-size: 1.4rem;
  font-weight: 600;
}
.info .qna li .q_wrap i img {
  width: 2rem;
}

.info .qna li .a_wrap {
  padding: 1.4rem 2.4rem;
}
.info .qna li .a_wrap ul li {
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 300;
  line-height: 1.7;
}
.info .qna li .a_wrap ul li h3 {
  font-size: 1.2rem;
  font-weight: 500;
}
.info .qna li .a_wrap ul li b {
  font-weight: 500;
}
.info .qna li .a_wrap > a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-color);
  color: var(--bg-color);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.info .qna li.card2 .q_wrap p {
  display: flex;
  align-items: center;
}
.info .qna li .a_wrap ul li h3, .info .qna li .a_wrap ul li p {
  color: #786f6f;
}
.info .qna li.card2 .q_wrap p b {
  background: var(--main-color);
  border-radius: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .3rem .7rem;
  color: var(--bg-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-left: .5rem;
}
.info .qna li.card2 .a_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.info .qna li.card5 .a_wrap ul li:last-child {
  margin-top: 2rem;
}
.info .qna li.card6 .a_wrap > ul,
.info .qna li.card7 .a_wrap > ul,
.info .qna li.card8 .a_wrap > ul,
.info .qna li.card10 .a_wrap > ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.info .qna li.card8 .a_wrap small {
  font-size: 1.2rem;
  color: #786f6f;
  font-weight: 300;
  margin-top: 2rem;
  display: block;
}

/* graph */
.graph .button_wrap {
  margin-bottom: 2.4rem;
}
.graph .button_wrap h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.graph .button_wrap ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.graph .button_wrap ul li label {
  padding: .9rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #e4dddb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #786f6f;
  font-weight: 600;
}
.graph .button_wrap ul li.active label {
  border: 1px solid var(--main-color);
  background: #f4ecec;
}
.graph .button_wrap ul li input[type="radio"] {
  display: none;
}
.graph  .progress h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.graph .progress ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.graph .progress ul li {
  padding: 1.8rem 2.4rem;
  border-radius: 1rem;
  border: 1px solid #E4DDDB;
}
.graph .progress ul li p {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.graph .progress ul li span {
  font-size: 1.8rem;
  font-weight: 600;
}

.graph .middle_line {
  width: 100%;
  height: 1px;
  background: #e4dddb;
  margin: 2rem 0;
}

.graph .daily_wrap h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1rem;
}
.graph .daily_wrap img {
  width: 100%;
}

.graph .subject_wrap h2 {
  font-size: 1.4rem;
  color: #786f6f;
  margin-bottom: 1.6rem;
}
.graph .subject_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.graph .subject_wrap ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.graph .subject_wrap ul li h3 {
  font-size: 1.8rem;
  font-weight: 600;
}
.graph .subject_wrap ul li .percent_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.graph .subject_wrap ul li .percent_wrap .guage {
  width: 20rem;
  height: .6rem;
  border-radius: 10rem;
  background: #e4dddb;
}
.graph .subject_wrap ul li .percent_wrap .guage .now {
  width: 60%;
  height: .6rem;
  border-radius: 10rem;
  background: var(--sub-color);
}
.graph .subject_wrap ul li .percent_wrap p {
  font-size: 1.8rem;
  color: var(--main-color);
  font-weight: 600;
}

/* ============================================================
   기능 추가 (선택 상태, 문제 화면, 그래프 등)
   ============================================================ */

/* 공통 */
label {
  cursor: pointer;
}
.notice_box {
  padding: 2rem;
  background: #f4ecec;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.notice_box p {
  font-size: 1.3rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.notice_box p + p {
  margin-top: .8rem;
  color: #786f6f;
}
.set_header .title_wrap h1,
.test_header .title_wrap h1,
.answer_header .title_wrap h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  padding-right: 1rem;
  word-break: keep-all;
}

/* index.php */
.index .button_wrap button:disabled {
  opacity: .4;
}
.index .step2 .list ul li.active label {
  border: 1px solid var(--main-color);
  background: #f4ecec;
}
.index .step2 .list .empty {
  padding: 3rem 0;
  text-align: center;
  font-size: 1.4rem;
  color: #786f6f;
}
.index ul li input[type="checkbox"] {
  display: none;
}
.index .step2 .button_wrap ul {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.index .step2 .button_wrap ul::-webkit-scrollbar {
  display: none;
}
.index .step2 .button_wrap ul li {
  flex-shrink: 0;
  gap: .4rem;
  white-space: nowrap;
}
.index .step2 .button_wrap ul li img {
  cursor: pointer;
}
.index .step3 > div ul li.active label,
.index .step3 > div ul li.active button {
  border: 1px solid var(--main-color);
  background: #f4ecec;
}
.index .step3 .date_input {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding: 1.8rem 2.4rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  background: #fff;
  font-size: 1.6rem;
  font-family: inherit;
  color: inherit;
  box-sizing: border-box;
}
.index .step3 li.custom.active .date_input {
  display: block;
}

/* home.php */
.home .study_wrap .schedule_wrap ul {
  grid-template-columns: repeat(2, 1fr);
}

/* recent.php */
.recent .notice_box {
  margin: 2rem 0 0;
}
.recent .test_list .empty {
  padding: 4rem 0;
  text-align: center;
  font-size: 1.4rem;
  color: #786f6f;
}

/* prep.php */
.prep .start_wrap .pool {
  font-size: 1.3rem;
  color: #786f6f;
  text-align: center;
  margin-bottom: 1rem;
}

/* test.php, answer.php */
#wrap.wrap_test {
  margin-bottom: 1rem;
}
.test .question_wrap .source,
.answer .question_wrap .source {
  display: block;
  font-size: 1.2rem;
  color: #786f6f;
  margin-bottom: 1.6rem;
}
.test .question_wrap p,
.answer .question_wrap p {
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.test .question_wrap .passage,
.answer .question_wrap .passage {
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.test .question_wrap .given,
.answer .question_wrap .given {
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--main-color);
  border-radius: 1rem;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.test .question_wrap .given b,
.answer .question_wrap .given b {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  color: var(--main-color);
}
.test .question_wrap .img_toggle,
.answer .question_wrap .img_toggle {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  color: var(--main-color);
  text-decoration: underline;
}
.test .question_wrap .q_img,
.answer .question_wrap .q_img {
  margin-top: 1.6rem;
}
.test .question_wrap .q_img img,
.answer .question_wrap .q_img img {
  width: 100%;
  border: 1px solid #e4dddb;
  border-radius: 1rem;
  background: #fff;
}
.test .answer_wrap li label,
.answer .answer_wrap li label {
  align-items: flex-start;
}
.test .answer_wrap li label .num,
.answer .answer_wrap li label .num {
  font-style: normal;
  line-height: 1.5;
  margin-right: .8rem;
  flex-shrink: 0;
}
.test .answer_wrap li label .txt,
.answer .answer_wrap li label .txt {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.answer .answer_wrap li label {
  cursor: default;
}
.test .button_wrap .prev {
  color: #786f6f;
}
.test .button_wrap .prev:disabled {
  color: #e4dddb;
  cursor: default;
}
.test .button_wrap .fav,
.answer .button_wrap .fav {
  color: #786f6f;
}
.test .button_wrap .fav.on,
.answer .button_wrap .fav.on {
  color: var(--main-color);
  font-weight: 600;
}
/* 하단 버튼 터치 영역 44px 이상 확보 (1rem = 10px ~ 15px) */
.test .button_wrap,
.answer .button_wrap {
  margin-top: 3.5rem;
  margin-left: -1.2rem;
  margin-right: -1.2rem;
}
.test .button_wrap button,
.answer .button_wrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.2rem;
  min-height: 4.4rem;
  line-height: 1;
}
.answer .solution .caution {
  color: #a13d3d;
  font-weight: 600;
}
.answer .solution .caution + p {
  margin-top: .8rem;
}
.answer .my_pick {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #786f6f;
  text-align: right;
}

/* feedbak.php */
.feedbak .wrong span em {
  font-style: normal;
}
.feedbak .wrong .retry_all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  padding: 1.4rem;
  border-radius: 1rem;
  background: var(--main-color);
  color: var(--bg-color);
  font-size: 1.5rem;
  font-weight: 600;
}
.feedbak .wrong .empty {
  padding: 4rem 0;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #786f6f;
  word-break: keep-all;
}

/* info.php, more.php 아코디언 */
.info .filter_wrap .button_wrap ul {
  grid-template-columns: repeat(2, 1fr);
}
.info .qna > li > .a_wrap,
.more ul li.toggle > .a_wrap {
  display: none;
}
.info .qna > li > .q_wrap,
.more ul li.toggle > .q_wrap {
  cursor: pointer;
}
.info .qna > li > .q_wrap i img,
.more ul li.toggle > .q_wrap i img {
  transition: transform .2s;
}
.info .qna > li.active > .q_wrap i img,
.more ul li.toggle.active > .q_wrap i img {
  transform: rotate(180deg);
}

/* graph.php */
.graph .daily_wrap .chart {
  display: flex;
  align-items: flex-end;
  gap: .6rem;
  padding: 1rem 0;
}
.graph .daily_wrap .chart.dense {
  gap: .2rem;
}
.graph .daily_wrap .chart li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.graph .daily_wrap .chart li .val {
  min-height: 1.4rem;
  margin-bottom: .4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-color);
}
.graph .daily_wrap .chart.dense li .val {
  display: none;
}
.graph .daily_wrap .chart li .bar {
  width: 100%;
  max-width: 2.4rem;
  height: 12rem;
  display: flex;
  align-items: flex-end;
  background: #f3f1f0;
  border-radius: .4rem;
  overflow: hidden;
}
.graph .daily_wrap .chart li .fill {
  width: 100%;
  background: var(--sub-color);
}
.graph .daily_wrap .chart li .label {
  min-height: 1.4rem;
  margin-top: .6rem;
  font-size: 1.1rem;
  font-style: normal;
  color: #786f6f;
  white-space: nowrap;
}
.graph .subject_wrap ul li h3 {
  flex: 1;
  min-width: 0;
  padding-right: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.graph .subject_wrap ul li .percent_wrap {
  flex-shrink: 0;
}
.graph .subject_wrap ul li .percent_wrap .guage {
  width: 14rem;
}
.graph .subject_wrap ul li .percent_wrap .guage .now {
  width: 0;
}
/* 퍼센트 자릿수(0% ~ 100%)와 상관없이 게이지 위치가 같도록 글자 칸을 고정 */
.graph .subject_wrap ul li .percent_wrap p {
  width: 5.6rem;
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.graph .subject_wrap .empty {
  padding: 2rem 0;
  text-align: center;
  font-size: 1.4rem;
  color: #786f6f;
}
