/* COMMON */
:root {
  --main-color: #FF6B6B;
}

body {
  background: #fff;
}

#wrap {
  margin-bottom: 7.9rem;
}

.inner {
  width: 100%;
  padding: 0 2.4rem;
  margin: 0 auto;
}

.notice_container {
  padding-bottom: 2.4rem;
}
.notice_container .inner,
.notice_container.flex {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.notice_container .title_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.notice_container .title_wrap img {
  width: 1.6rem;
  aspect-ratio: 1 / 1;
  margin-top: .2rem;
}
.notice_container p {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2rem;
  color: #64748B;
  word-break: keep-all;
}

main {
  margin-top: 8.5rem;
  padding-bottom: 2.5rem;
}

/* HEADER */
header {
  text-align: center;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: #fff;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .logo {
  display: inline-block;
  width: 4rem;
}
header .logo img {
  width: 100%;
}
header .menu {
  width: 2.8rem;
  aspect-ratio: 1 / 1;
}
header .menu img {
  width: 100%;
}
header .back {
  position: absolute;
  top: 50%;
  left: 2.4rem;
  transform: translateY(-50%);
}

/* FOOTER */
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  border-top: 1px solid var(--main-color);
  background: #fff;
}
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: #EDBDBD;
  white-space: nowrap;
}
footer ul li.active a p {
  color: var(--main-color);
}

/* index.php */
.common_search_wrap {
  background: #f4faff;
  border-radius: 3rem;
  padding: 1.5rem 2rem;;
}
.common_search_wrap form {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.common_search_wrap input[type="text"] {
  width: 100%;
  letter-spacing: inherit;
  font-size: 1.7rem;
  background: none;
  border: 0;
  outline: none;
}

.home .slide_wrap {
  margin-top: 3.2rem;
  margin-bottom: 4rem;
}
.home .slide_wrap h2 {
  font-family: 'HsSantoki';
  font-size: 2.8rem;
  color: #5bc0eb;
  margin-bottom: 2.4rem;
}
.home .swiper_wrap {
  overflow: hidden;
  margin: 0 -2.4rem;
}
.home .swiper_wrap .swiper-slide {
  width: 30rem;
  height: 29rem;
  flex-shrink: 0;
  border-radius: 2rem;
  overflow: hidden;
  opacity: .4;
  transform: scale(.9);
  transition: opacity .3s, transform .3s;
  box-shadow: 0px 0px 10px 0px #00000026;
}
.home .swiper_wrap .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .swiper_wrap .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.common_list_wrap h2 {
  font-family: 'HsSantoki';
  font-size: 2.8rem;
  color: #5bc0eb;
  margin-bottom: 2.4rem;
}
.common_list_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.common_list_wrap ul li {
  background: #fff;
  box-shadow: 0px 0px 10px 0px #0000001A;
  border-radius: 1rem;
  overflow: hidden;
}
.common_list_wrap ul li a {
  display: block;
}
.common_list_wrap ul li .img_wrap {
  height: 13rem;
  position: relative;
}
.common_list_wrap ul li .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.common_list_wrap ul li .img_wrap .dday {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  padding: .4rem 1rem;
  background: #fff;
  border-radius: 3rem;
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
}
.common_list_wrap ul li .text_wrap {
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.common_list_wrap ul li .text_wrap .title_box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-break: keep-all;
}
.common_list_wrap ul li .text_wrap .title_box p {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.common_list_wrap ul li .text_wrap .title_box span {
  font-size: 1.4rem;
  color: #6c757d;
  line-height: 1.2;
  word-break: keep-all;
}
.common_list_wrap ul li .text_wrap .info_box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.common_list_wrap ul li .text_wrap .info_box span {
  font-size: 1.4rem;
  font-weight: 500;
  display: inline-block;
  border: 1px solid #5bc0eb;
  color: #5bc0eb;
  border-radius: 3rem;
  padding: .5rem 1rem;
  white-space: nowrap;
}
.common_list_wrap ul li .text_wrap .info_box .bookmark {
  margin-top: auto;
}
.common_list_wrap ul li.empty {
  font-size: 1.5rem;
  text-align: center;
  box-shadow: none;
  margin-top: 3rem;
  color: #6C757D;
  line-height: 1.6;
}
.common_list_wrap.soon {
  margin-top: 4rem;
}
.common_list_wrap.soon ul li .text_wrap .info_box span {
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
}

/* search.php */
.search .load_more {
  display: none;
  width: 100%;
  margin-top: 2.4rem;
  padding: 1.7rem 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #6C757D;
  background: #f5f5f5;
  border-radius: 1rem;
}
.search .filter_wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 2.6rem;
}
.search .filter_wrap a {
  display: block;
}
.search .filter_wrap ul {
  display: flex;
  align-items: center;
  gap: .5rem; 
}
.search .filter_wrap ul li {
  font-size: 1.6rem;
  font-weight: 600;
  color: #6c757d;
  border: 1px solid #6C757D;
  border-radius: 3rem;
  padding: .7rem 1.4rem;
  cursor: pointer;
}
.search .filter_wrap ul li.active {
  background: #6c757d;
  color: #fff;
}

/* filter.php */
.filter .filter_wrap {
  border-bottom: 1px solid #6C757D;
  padding: 0 2.4rem 1.6rem;
}
.filter .filter_list_wrap {
  padding: 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.filter .filter_list_wrap .category_wrap h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 1.6rem;
}
.filter .filter_list_wrap .category_wrap ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.filter .filter_list_wrap .category_wrap ul li {
  font-size: 1.6rem;
  font-weight: 600;
  color: #6C757D;
  border: 1px solid #6C757D;
  border-radius: 3rem;
  padding: .7rem 1.4rem;
}
.filter .filter_list_wrap .category_wrap ul li.active {
  background: #6C757D;
  color: #fff;
}

/* detail.php */
.detail .img_wrap {
  width: 100%;
  height: 22rem;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
}
.detail .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail .title_wrap .title_box {
  padding: 2.4rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.detail .title_wrap .title_box h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
  line-height: 1.3;
  word-break: keep-all;
}
.detail .title_wrap .title_box span {
  font-size: 1.4rem;
  font-weight: 500;
  display: inline-block;
  border: 1px solid #5bc0eb;
  color: #5bc0eb;
  border-radius: 3rem;
  padding: .5rem 1rem;
  white-space: nowrap;
  margin-bottom: 1.7rem;
}
.detail .title_wrap .title_box .location_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.detail .title_wrap .title_box .location_wrap p {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  word-break: keep-all;
}
.detail .title_wrap .title_box .date {
  font-size: 1.8rem;
  font-weight: 500;
  color: #6c757d;
}
.detail .title_wrap .info_box {
  padding: 2.4rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.detail .title_wrap .info_box ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.detail .title_wrap .info_box ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.detail .title_wrap .info_box ul li a,
.detail .title_wrap .info_box ul li p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #6c757d;
  line-height: 1.2;
  word-break: break-word;
}
.detail .content_wrap {
  padding: 2.4rem 0;
}
.detail .content_wrap p {
  font-size: 1.5rem;
  color: #6C757D;
  line-height: 1.8;
  word-break: keep-all;
}
.notice_wrap {
  background: #F4FAFF;
  padding: 2.4rem 0;
  text-align: center;
}
.notice_wrap p {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.5;
}

/* state */
.state.ongoing {
  border: 1px solid #5bc0eb !important;
  color: #5bc0eb !important;
}
.state.plan {
  border: 1px solid #FF6B6B !important;
  color: #FF6B6B !important;
}