/* COMMON */
:root {
  --main-color: #2f6bff;
}

body {
  background: #f7f9fc;
}

#wrap {
  margin-bottom: 7.8rem;
}

.inner {
  width: 100%;
  padding: 0 1.6rem;
  margin: 0 auto;
}

.notice_container {
  padding-bottom: 2.4rem;
}
.notice_container .title_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
}
.notice_container .title_wrap h3 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8rem;
  color: #6b7280;
}
.notice_container p {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 2rem;
  color: #6b7280;
  padding-left: 2.5rem;
  word-break: keep-all;
}

main {
  margin-top: 7rem;
}

/* HEADER */
header {
  text-align: center;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 99;
  width: 100%;
  background: #f7f9fc;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  display: inline-block;
  width: 11.3rem;
}
header .logo img {
  width: 100%;
}
header .menu {
  width: 2.8rem;
  aspect-ratio: 1 / 1;
}
header .menu img {
  width: 100%;
}

/* FOOTER */
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  z-index: 999;
  border-top: 1px solid var(--main-color);
  background: #f7f9fc;
}
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: #9ba8d0;
  white-space: nowrap;
}
footer ul li.active a p {
  color: var(--main-color);
}

/* index.php */
.index {
  margin-top: 0;
}
.index .inner {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.6rem;
}
.index .title_wrap {
  text-align: center;
}
.index .title_wrap h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.index .title_wrap p {
  font-size: 2rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 2.5rem;
}
.index .img_wrap {
  text-align: center;
  width: 23.8rem;
  height: 26.5rem;
  margin: 5dvh auto 10dvh;
}
.index .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.index .btn_wrap {
  width: 100%;
}
.index .btn_wrap .dot_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.index .btn_wrap .dot_wrap i {
  display: block;
  width: .8rem;
  height: .8rem;
  background: #cfd7e4;
  border-radius: 100%;
}
.index .btn_wrap .dot_wrap i.active {
  background: var(--main-color);
}
.index .btn_wrap .next_btn {
  display: block;
  width: 100%;
  background: var(--main-color);
  font-size: 2rem;
  font-weight: 500;
  border-radius: 1rem;
  text-align: center;
  color: #fff;
  padding: 1.5rem 0;
  margin-top: 1.6rem;
}

/* home.php */
.home .banner_wrap {
  background: #e8eef9;
  padding: 2.5rem 0;
}
.home .banner_wrap h2 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1.2rem;
  color: #0743d7;
}
.home .banner_wrap p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2rem;
}
.home .quick_wrap {
  margin: 4rem 0;
}
.home .quick_wrap h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1.6rem;
}
.home .quick_wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.home .quick_wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 2.4rem;
  padding-right: 2.8rem;
  background: #eee;
  border-radius: 1rem;
}
.home .quick_wrap ul li:nth-child(1) a {
  background: #d6f3ec;
}
.home .quick_wrap ul li:nth-child(2) a {
  background: #f6f2e3;
}
.home .quick_wrap ul li:nth-child(3) a {
  background: #d9e4ff;
}
.home .quick_wrap ul li:nth-child(4) a {
  background: #e8eef9;
}
.home .quick_wrap ul li a p {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6rem;
}
.home .slide_wrap {
  margin-bottom: 5rem;
}
.home .slide_wrap h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1.6rem;
}
.home .slide_wrap h2 b {
  color: var(--main-color);
}
.home .slide_wrap .swiper_wrap {
  display: flex;
  align-items: center;
}
.home .slide_wrap .swiper_wrap .swiper_box {
  flex-grow: 1;
}
.home .slide_wrap .swiper_wrap .swiper_box ul li a {
  display: block;
  width: 100%;
  background: #25c2a0;
  padding: 2.4rem 3rem;
  border-radius: 1rem;
  position: relative;
}
.home .slide_wrap .swiper_wrap .swiper_box ul li a h3 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  color: #fff;
  margin-bottom: 1.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home .slide_wrap .swiper_wrap .swiper_box ul li a p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.5rem;
  color: #fff;
  max-width: calc(100% - 8rem);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.home .slide_wrap .swiper_wrap .swiper_box ul li a span {
  display: block;
  position: absolute;
  bottom: 2.4rem;
  right: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid #fff;
  padding: .8rem 1rem;
  border-radius: 5rem;
}
.home .list_wrap {
  margin-bottom: 4rem;
}
.home .list_wrap h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1.6rem;
}
.home .list_wrap h2 b {
  color: #eab308;
}
.home .list_wrap ul {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.home .list_wrap ul li a {
  padding: 2rem 2.4rem;
  background: #f6f2e3;
  display: flex;
  align-items: center;
  border-radius: 1rem;
}
.home .list_wrap ul li a p {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6rem;
}
.home .list_wrap ul li a span {
  display: block;
  border: 1px solid #eab308;
  font-size: 1.2rem;
  font-weight: 700;
  color: #eab308;
  padding: .5rem 1rem;
  border-radius: 5rem;
  margin-left: 1rem;
}
.home .list_wrap ul li a img {
  margin-left: auto;
}
.home .list_wrap ul li.active a {
  border: 2px solid #eab308;
}

/* list.php, deadline.php */
.list h1,
.deadline h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 3.6rem;
}
.list .list_wrap,
.deadline .list_wrap,
.search .list_wrap {
  margin-bottom: 4rem;
}
.list .list_wrap ul,
.deadline .list_wrap ul,
.search .list_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.list .list_wrap ul li a,
.deadline .list_wrap ul li a,
.search .list_wrap ul li a {
  display: block;
  padding: 2.4rem;
  border-radius: 1.5rem;
  position: relative;
}
.list .list_wrap ul li a .state,
.deadline .list_wrap ul li a .state,
.search .list_wrap ul li a .state {
  display: block;
  position: absolute;
  top: 2.4rem;
  right: 2.4rem;
  padding: .5rem 1rem;
  border-radius: 5rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.list .list_wrap ul li.new a,
.deadline .list_wrap ul li.new a,
.search .list_wrap ul li.new a {
  background: #e1f1f9;
}
.list .list_wrap ul li.new a .state,
.deadline .list_wrap ul li.new a .state,
.search .list_wrap ul li.new a .state {
  border: 1px solid #1864ab;
  color: #1864ab;
}
.list .list_wrap ul li.ongoing a,
.deadline .list_wrap ul li.ongoing a,
.search .list_wrap ul li.ongoing a {
  background: #e1f9f1;
}
.list .list_wrap ul li.ongoing a .state,
.deadline .list_wrap ul li.ongoing a .state,
.search .list_wrap ul li.ongoing a .state {
  border: 1px solid #087F5B;
  color: #087F5B;
}
.list .list_wrap ul li.planning a,
.deadline .list_wrap ul li.planning a,
.search .list_wrap ul li.planning a {
  background: #e5e3f8;
}
.list .list_wrap ul li.planning a .state,
.deadline .list_wrap ul li.planning a .state,
.search .list_wrap ul li.planning a .state {
  border: 1px solid #6F00E6;
  color: #6F00E6;
}
.list .list_wrap ul li.imminent a,
.deadline .list_wrap ul li.imminent a,
.search .list_wrap ul li.imminent a {
  background: #F6F2E3;
}
.list .list_wrap ul li.imminent a .state,
.deadline .list_wrap ul li.imminent a .state,
.search .list_wrap ul li.imminent a .state {
  border: 1px solid #EAB308;
  color: #EAB308;
}
.list .list_wrap ul li.done a,
.deadline .list_wrap ul li.done a,
.search .list_wrap ul li.done a {
  background: #E9E9E9;
}
.list .list_wrap ul li.done a .state,
.deadline .list_wrap ul li.done a .state,
.search .list_wrap ul li.done a .state {
  border: 1px solid #676767;
  color: #676767;
}
.list_wrap .empty {
  background: #f1f2f3;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 2rem 0;
  border-radius: 1rem;
}

.list .list_wrap ul li a .info_wrap > span,
.deadline .list_wrap ul li a .info_wrap > span,
.search .list_wrap ul li a .info_wrap > span {
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1.6rem;
}
.list .list_wrap ul li a .info_wrap h2,
.deadline .list_wrap ul li a .info_wrap h2,
.search .list_wrap ul li a .info_wrap h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.list .list_wrap ul li a .info_wrap p,
.deadline .list_wrap ul li a .info_wrap p,
.search .list_wrap ul li a .info_wrap p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.list .list_wrap ul li a .info_wrap p b,
.deadline .list_wrap ul li a .info_wrap p b,
.search .list_wrap ul li a .info_wrap p b {
  font-weight: 500;
}
.list .list_wrap ul li a .info_wrap .desc,
.deadline .list_wrap ul li a .info_wrap .desc,
.search .list_wrap ul li a .info_wrap .desc {
  font-weight: 500;
}
.list .list_wrap ul li a .info_wrap .tag_wrap,
.deadline .list_wrap ul li a .info_wrap .tag_wrap,
.search .list_wrap ul li a .info_wrap .tag_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
}
.list .list_wrap ul li a .info_wrap .tag_wrap span,
.deadline .list_wrap ul li a .info_wrap .tag_wrap span,
.search .list_wrap ul li a .info_wrap .tag_wrap span {
  display: block;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: .5rem 1rem;
  border-radius: 5rem;
  font-size: 1.3rem;
  font-weight: 500;
}

/* deadline.php */
.deadline h1 {
  margin-bottom: 2.8rem;
}
.deadline .category_wrap {
  margin-bottom: 2.4rem;
}
.deadline .category_wrap ul {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.deadline .category_wrap ul li a {
  display: block;
  padding: .8rem 1.6rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 5rem;
}
.deadline .category_wrap ul li.active a {
  background: var(--main-color);
  color: #fff;
}

/* search.php, search_detail.php */
.search .search_wrap .input_wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: #ebeef9;
  padding: 1rem 1.6rem;
  border-radius: 2.5rem;
}
.search .search_wrap .input_wrap input[type="text"] {
  width: 100%;
  font-size: 2rem;
  font-weight: 500;
  outline: none;
  background: transparent;
  border: 0;
}
.search .result_wrap .total {
  font-size: 1.4rem;
  font-weight: 300;
  color: #6b7280;
  margin: 2.4rem 0 1.6rem;
}

.search .word_wrap {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  margin-top: 2.4rem;
  margin-bottom: 8rem;
}
.search .word_wrap .word_box h3 {
  font-size: 1.4rem;
  font-weight: 300;
  color: #6b7280;
  margin-bottom: 1.6rem;
}
.search .word_wrap .word_box ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}
.search .word_wrap .word_box ul li a {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 4.5rem;
  padding: .6rem 1.6rem;
  line-height: 2rem;
}

/* detail.php */
.detail .title_wrap .tag_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.6rem;
}
.detail .title_wrap .tag_wrap span {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: 4.5rem;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}
.detail .title_wrap h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 2.4rem;
}
.detail .title_wrap p {
  font-size: 1.6rem;
  line-height: 2.5rem;
}
.detail .content_container {
  background: #eff3f9;
  padding: 2.8rem 0;
  margin: 1.6rem 0;
}
.detail .content_container ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.detail .content_container ul li {
  display: flex;
  gap: 1.6rem;
}
.detail .content_container ul li h3 {
  font-size: 1.6rem;
  min-width: 6rem;
  color: #6b7280;
  line-height: 2.5rem;
}
.detail .content_container ul li p {
  font-size: 1.6rem;
  line-height: 2.5rem;
  word-break: keep-all;
}
.detail .content_container .link_btn {
  display: block;
  background: var(--main-color);
  color: #fff;
  border-radius: 1rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  padding: 1.5rem 0;
  margin-top: 2.6rem;
}

/* [모달] includes/menu.php */
.menu_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f7f9fc;
  z-index: 100;
  padding-top: 1.8rem;
  padding-bottom: 12rem;
  overflow-y: auto;
}
.menu_modal.active {
  display: block;
}
.menu_modal .header_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.6rem;
}
.menu_modal .header_wrap .logo {
  display: inline-block;
  width: 11.3rem;
}
.menu_modal .header_wrap .logo img {
  width: 100%;
}
.menu_modal .header_wrap .close {
  width: 3.2rem;
  aspect-ratio: 1 / 1;
}
.menu_modal .header_wrap .close img {
  width: 100%;
}
.menu_modal .main_wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2rem;
  font-weight: 500;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid #dde2ed;
}
.menu_modal .main_wrap ul li:first-child a {
  border-top: 1px solid #dde2ed;
}