/* 구글폰트 */
@import url("https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Noto+Sans+KR:wght@100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Single+Day&family=Yeon+Sung&display=swap');
*,
body {
  font-family: "Noto Sans KR";
}
body {
  margin: 0;
  padding: 0;
  background-color: #fffefa;
  line-height: 1.6;
  position: relative;
  height: 100%;
  overflow: visible;
}
div,
h3,
h4,
h5,
p,
span {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
button {
  color: inherit;
}
main h2 {
  font-size: 1.8rem;
  font-family: "Single Day";
  font-weight: 400;
}
main p {
  font-family: "Single Day";
  font-size: 1rem;
}
main:not(.main) {
  box-sizing: border-box;
  height: 340px;
  text-align: center;
  position: relative;
  background: url(banner_test.jpg) center / cover no-repeat;
}
main:not(.main)::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
}
.main-cnt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #fff;
  z-index: 3;
}
.page {
  width: 100%;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
h2.page-title {
  text-align: center;
  margin: 40px auto;
}
h2.page-title2{
    font-size: 1.1rem;
}
.h3-wrap{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #888;
    justify-content: space-between;
}
.h2-wrap{
    position: relative;
}
.h3-title {
  /* border-bottom: 1px solid #888; */
  padding: 5px;
}
.h3-wrap a, .h2-wrap a{
    all: unset;
    cursor: pointer;
}
.h2-wrap a{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}


.sub-text {
  margin-top: 20px;
}
.sub-text h5 {
  font-size: 1.1rem;
  font-weight: 400;
  position: relative;
  width: fit-content;
}
.sub-text h5::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fff1a7;
  z-index: -1;
}
.sub-text p {
  font-size: 0.9rem;
  color: #222;
}
.page .slider {
  background-color: #edd;
  /* height: 320px; */
  margin-top: 20px;
}
.page section:not(:first-of-type) {
  margin-top: 40px;
}





/* 모바일 */
@media (max-width: 760px) {
  .page .slider {
    height: 260px;
  }
  .sub-text h5::before {
    height: 8px;
  }
}
