@charset "utf-8";
/* Reset */
:root {
  --co: #1e8190;
}
html,
body {
  min-height: 100%;
  background-color: #fffbfa;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  font-family:
    Pretendard,
    -apple-system,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    "맑은 고딕",
    "Nanum Gothic",
    "돋움",
    sans-serif;
}
p {
  margin-block-start: 0em;
  margin-block-end: 0em;
}
button {
  background: inherit;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  cursor: pointer;
}

/* Skin to content */
.skip {
  margin: 0;
}
.skip > a {
  display: block;
  text-align: center;
  line-height: 28px;
  height: 1px;
  overflow: hidden;
}
.skip > a:focus {
  height: auto;
}

/* Layout */
.header {
  position: relative;
  display: block;
  width: 100%;
  background-color: #fff;
  z-index: 50;
}

.prm {
  background: white;
  width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  margin: 50px auto;
  padding: 20px;
  position: relative;
}

.container {
  position: relative;
  display: block;
  width: 100%;
}
.full {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}

.width_box {
  position: relative;
  display: block;
  width: 900px;
  margin: 0 auto;
}

.top_bg {
  height: 70px;
  background-color: var(--co);
  background-image: url(top_bg.png);
  background-repeat: no-repeat;
  background-size: auto 70px;
  background-position: center top;
}
.menu_bg {
  height: 50px;
  background-color: #231815;
}

.tbg {
  background-image: url(con_bg.png);
  background-repeat: no-repeat;
  background-size: auto 250px;
  background-position: center top;
  text-align: center;
  letter-spacing: -0.05em;
  padding-bottom: 50px;
}
.tbg .a01 {
  font-size: 36px;
  font-family: "MaruBuriLight";
  color: var(--co);
  font-weight: 500;
  line-height: 1.8;
  padding-top: 30px;
}
.tbg .a02 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.4;
}
.tbg .a02 span.bobox {
  border: 5px solid var(--co);
  background: #fff;
  padding: 0 10px;
}
.tbg .a03 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  margin-top: 30px;
  text-align: left;
}

.mani_box {
  padding: 35px 25px 25px 25px;
  text-align: center;
  background-color: #fff;
  border: 2px solid var(--co);
}
.mani_box .b01 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.5;
}
.mani_box .b01 span {
  display: inline-block;
  font-family: "MaruBuriLight";
  color: var(--co);
  font-size: 32px;
  margin-bottom: 20px;
}
.mani_box .b02 {
  font-size: 16px;
  font-weight: 700;
  color: var(--co);
  line-height: 2;
}
.mani_box button {
  display: block;
  position: relative;
  margin: 20px auto;
  background: var(--co);
  color: #fff;
  font-size: 22px;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--co);
}
.mani_box button:hover {
  background: #fff;
  color: var(--co);
  transition: 0.3s;
}
.mani_box .b03 {
  display: inline-block;
  position: relative;
  margin: 0px auto;
  background: #fff;
  color: var(--co);
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  border: 1px solid var(--co);
}
.mani_box .b03:hover {
  background: var(--co);
  color: #fff;
  transition: 0.3s;
}
.mani_box .b05 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin-top: 20px;
}

.mani_box .count {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-top: 20px;
  color: var(--co);
  margin-bottom: 20px;
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  justify-content: center; /* 가로 중앙 정렬 (선택 사항) */
}
.mani_box .count span {
  font-size: 2em;
}

button.mani_more {
  display: block;
  position: relative;
  margin: 0px auto;
  background: #fff;
  color: var(--co);
  font-size: 16px;
  padding: 10px 45px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--co);
  margin-bottom: 30px;
}
button.mani_more:hover {
  background: var(--co);
  border: 1px solid #fff;
  transition: 0.3s;
  color: #fff;
}

.list {
  margin-top: 20px;
}

/* 텍스트 박스 */
.txt_box {
  position: relative; /* 자식인 gradient-box 배치를 위해 추가 */
  padding: 0px;
  text-align: center;
  border-bottom: 2px solid var(--co);
  margin-bottom: 50px;
  max-height: 590px; /* 처음엔 590px만 보이게 */
  overflow: hidden;
  transition: max-height 0.5s ease-in-out; /* 부드러운 전환 효과 */
}

.txt_box .top {
  width: 100%;
  background: var(--co);
  color: #fff;
  font-size: 32px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  font-weight: 700;
  padding: 15px 0;
}
.txt_box .txt {
  width: 100%;
  font-size: 20px;
  font-weight: 400;
  padding: 40px;
  background-color: #fff;

  padding-bottom: 120px; /* 하단 그라데이션 및 버튼과 내용이 겹치지 않게 여백 추가 */
  box-sizing: border-box;
  border-left: 2px solid var(--co);
  border-right: 2px solid var(--co);
}
.txt_box .txt p {
  text-align: left;
  line-height: 1.7;
  margin-bottom: 20px;
}
.txt_box .txt p.hd {
  font-size: 28px;
  font-weight: 900;
  margin: 0px 0 20px;
  text-align: center;
  line-height: 1.5;
}
.txt_box .txt img {
  width: 60%;
  margin-bottom: 20px;
}

/* 🔹 하단 그라데이션 효과 및 버튼 박스 */
.gradient-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 60%,
    rgba(255, 255, 255, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 버튼을 하단으로 정렬 */
  padding-bottom: 30px; /* 하단 여백 */
  box-sizing: border-box;
  border-left: 2px solid var(--co);
  border-right: 2px solid var(--co);
  transition:
    height 0.5s ease-in-out,
    background 0.5s ease-in-out;
  pointer-events: none; /* 뒷면 텍스트 드래그 및 클릭 방해 금지 */
  z-index: 10;
}

.gradient-box .toggle-btn {
  pointer-events: auto; /* 버튼만 클릭 가능하도록 활성화 */
}

/* 🔹 펼쳐졌을 때 */
.expanded {
  max-height: 3000px; /* 충분히 큰 값으로 설정 */
}
.txt_box.expanded .gradient-box {
  height: 100px;
  background: #fff; /* 펼쳐지면 그라데이션 제거하고 솔리드 배경으로 */
}

/* 🔹 토글 버튼 스타일 */
button.toggle-btn {
  display: block;
  margin: 0; /* 기존 마진 제거 */
  padding: 10px 30px;
  background: var(--co);
  color: #fff;
  border: 1px solid var(--co);
  cursor: pointer;
  font-size: 16px;
  border-radius: 30px;
  position: relative;
}
button.toggle-btn:hover {
  background: #fff;
  color: var(--co);
  transition: 0.3s;
}

.sand {
  background: var(--co);
  width: 100%;
  padding: 40px 0;
}

.violet {
  background: var(--co);
  width: 100%;
  padding-bottom: 40px;
}
.act_tit {
  padding-top: 40px;
  color: #fff;
  text-align: center;
}
.act_tit .d01 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.8;
}
.act_tit .d02 {
  font-family: "MaruBuriLight";
  font-size: 36px;
}
.act_tit .d03 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 10px;
}

.act_txt {
  display: block;
  text-align: center;
  padding: 50px;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  overflow: hidden;
  color: #fff;
}
.act_txt .h_left {
  display: block;
  width: 45%;
  float: left;
}
.act_txt .h_right {
  display: block;
  width: 45%;
  float: right;
}
.act_txt .h_left .org,
.act_txt .h_right .org {
  padding-bottom: 0px;
  margin-bottom: 10px;
}
.act_txt .h_left .org:last-child,
.act_txt .h_right .org:last-child {
  margin-bottom: 0px;
  border-bottom: 0px;
}
.act_txt .h_left .org img {
  width: 100%;
}
.act_txt .h_left .org p.subtit {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 5px;
  font-weight: 800;
  padding-left: 0px;
  text-indent: 0px;
  color: #fff799;
  background: transparent;
}

.act_txt .h_left .org p.imgbox {
  padding: 0;
  border-radius: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.act_txt .h_right .org p.subtit {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 5px;
  font-weight: 700;
  padding-left: 0px;
  text-indent: 0px;
  color: #fff799;
  background: transparent;
}

.act_txt .h_left .cat,
.act_txt .h_right .cat {
  border-bottom: 1px solid #12525c;
}

.act_txt .h_right .cat p.cattit {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 5px;
  font-weight: 900;
  padding-left: 0px;
  text-indent: 0px;
  padding: 3px;
  color: #fff;
  background: transparent;
}

.act_txt p {
  border-radius: 10px;
  background: #3d9dac;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}
.act_txt p span {
  font-weight: 900;
  color: #12525c;
  border-right: 1px solid #12525c;
  padding-right: 8px;
  margin-right: 3px;
}

.act_txt .h_left .org p.m_txt {
  display: block;
  color: #fff;
  padding: 5px 0;
  border-radius: 0;
  margin-bottom: 10px;
  padding-bottom: 0;
  background-color: transparent;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.act_txt .h_left .org p.slogan {
  display: block;
  color: #fff799;
  padding: 5px 0;
  border-radius: 0;
  margin-bottom: 10px;
  padding-bottom: 0;
  background-color: transparent;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
}
.act_txt .h_left .org p.slogan span {
  font-size: 16px;
  border-right: none;
  color: #fff799;
}
.act_photo {
  position: relative;
  background: #fff;
  padding: 30px;
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.act_photo p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}
.act_photo img {
  width: 100%;
  margin-top: 20px;
}
.act_photo .d04 {
  font-family: "MaruBuriLight";
  font-size: 20px;
}
.act_photo .d05 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--co);
}

button.go_photo {
  display: block;
  position: relative;
  margin: 0px auto;
  background: var(--co);
  color: #fff;
  font-size: 16px;
  padding: 10px 45px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--co);
  margin-top: 30px;
}
button.go_photo:hover {
  background: #fff;
  color: var(--co);
  transition: 0.3s;
}

.vote_tit {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  padding-top: 40px;
  color: var(--co);
  text-align: center;
  margin-bottom: 20px;
}
.vote_tit span {
  font-size: 22px;
  font-family: "MaruBuriLight";
}
.vote_txt {
  text-align: center;
  color: #000;
}
.vote_script {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}
.vote_script span {
  color: var(--co);
  font-size: 16px;
  font-weight: 700;
}

.logobox {
  position: relative;
  display: block;
  width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 70px;
}
.logobox a {
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
}
.logobox span {
  font-weight: 300;
}
.gokctu {
  position: absolute;
  display: block;
  width: 100px;
  text-align: center;
  right: 0;
  top: 18px;
  background: #000;
  border-radius: 30px;
  padding: 8px 3px 5px;
}
.gokctu a img {
  width: 80%;
}

.body {
  position: relative;
  z-index: 1;
}
.content {
  padding: 30px;
  zoom: 1;
  background-color: #fff;
  margin-bottom: 30px;
  border: 1px solid #000;
}
.content > *:first-child {
  margin-top: 0;
}
.content img {
  max-width: 100%;
  height: auto;
}

.main_content {
  padding: 30px 0;
}
.main_box {
  padding: 40px 0 0 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999; /* 모달을 최상위로 */
}
.modal-content {
  background: white;
  padding: 20px;
  width: 800px;
  height: 90%;
  position: relative;
  z-index: 1000; /* 내용이 버튼보다 위에 있도록 */
  display: flex;
  flex-direction: column;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 16px;
  z-index: 1001; /* close 버튼이 가장 위로 오도록 */
  background: var(--co);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: auto; /* iframe 클릭 가능하게 설정 */
}

/* GNB */
.gnb {
  position: relative;
  display: block;
  width: 800px;
  margin: 0 auto;
  font-size: 16px;
  height: 50px;
  clear: both;
}
.gnb ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gnb a {
  text-decoration: none;
  white-space: nowrap;
}
.gnb > ul {
  position: absolute;
  background: #464d5d;
  height: 0;
}
.gnb > ul:after {
  content: "";
  display: block;
  clear: both;
}
.gnb > ul > li {
  position: relative;
  float: left;
  width: 158px;
}
.gnb > ul > li img {
  display: inline;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  vertical-align: middle;
}
.gnb > ul > li > a {
  display: block;
  line-height: 50px;
  color: #fff;
  position: relative;
  font-weight: 700;
  text-align: center;
}
.gnb > ul > li > a:hover {
  color: #fff;
  background-color: var(--co);
  transition: 0.3s;
}
.gnb > ul > li.active > a {
  color: #fff;
  background-color: var(--co);
  transition: 0.3s;
}

/* Footer */
.footer {
  padding: 40px 0 40px 0;
  background: var(--co);
  color: #fff;
  text-align: center;
}
.footer img {
  width: 100px;
  padding-bottom: 10px;
}
.footer p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.pcv {
  display: block;
}
.mov {
  display: none;
}

div[class="sidebar"] {
  display: none;
}

.top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #000;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.top-btn.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 720px) {
  .pcv {
    display: none;
  }
  .mov {
    display: block;
  }

  .width_box,
  .logobox {
    width: 100%;
  }
  .menu_bg,
  .logobox span,
  .gokctu {
    display: none;
  }

  .logobox a {
    display: inline-block;
    font-size: 20px;
    margin-top: 2px;
  }

  .tbg .a01 {
    font-size: 24px;
    padding-top: 20px;
    line-height: 1.5;
    font-family: "MaruBuriBold";
    margin-bottom: 5px;
  }
  .tbg .a02 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
  }
  .tbg .a03 {
    font-size: 18px;
    padding: 0 20px;
    margin-top: 20px;
  }

  .list {
    margin-top: 20px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .mani_box {
    padding: 20px;
    margin: 0 10px;
    box-sizing: border-box;
  }
  .mani_box .b01 {
    font-size: 20px;
  }
  .mani_box .b01 span {
    font-size: 26px;
    line-height: 1.2;
  }

  .mani_box .count {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-top: 20px;
    color: var(--co);
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 (선택 사항) */
  }
  .mani_box .count span {
    font-size: 1.5em;
  }

  .txt_box {
    margin: 0px 10px;
    box-sizing: border-box !important;
    margin-bottom: 20px;
  }
  .txt_box .top {
    font-size: 20px;
  }
  .txt_box .txt {
    font-size: 16px;
    padding: 20px;
    padding-bottom: 100px; /* 모바일 환경 하단 여백 추가 */
    box-sizing: border-box;
  }
  .txt_box .txt p.hd {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
  }
  .txt_box .txt img {
    width: 100%;
  }

  .violet {
    padding: 20px 10px 30px 10px;
    box-sizing: border-box;
  }
  .act_tit {
    padding-top: 10px;
  }
  .act_tit .d01 {
    font-size: 30px;
  }
  .act_tit .d02 {
    font-size: 28px;
  }
  .act_tit .d03 {
    font-size: 16px;
  }

  .act_txt {
    text-align: center;
    color: #fff;
    padding: 20px;
  }

  .act_txt .h_left {
    width: 100%;
    float: left;
  }
  .act_txt .h_right {
    width: 100%;
    float: left;
  }
  .act_txt .h_left .org,
  .act_txt .h_right .org {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .act_txt .h_left .org:last-child {
    margin-bottom: 20px;
  }
  .act_txt .h_right .org:last-child {
    margin-bottom: 0px;
    border-bottom: 0px;
  }

  .act_photo p {
    font-size: 16px;
  }
  .act_photo .d05 {
    font-size: 28px;
    line-height: 1.3;
    padding-bottom: 10px;
  }

  .vote_tit {
    padding: 40px 10px 15px 10px;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 0;
  }
  .vote_script {
    padding: 10px;
  }
  .main_content {
    padding: 10px;
  }
  .modal-content {
    width: 80%;
    height: 70%;
  }

  .container {
    width: 100%;
  }

  .prm {
    background: white;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    margin: 50px auto;
    padding: 20px;
    position: relative;
  }
}
