main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--main-padding);
}
main section {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 1024px) {
  main {
    padding: 0;
  }

  main section {
    padding-left: var(--main-padding) !important;
    padding-right: var(--main-padding) !important;
  }
}

#visual {
  height: 475px;
  border-radius: var(--common-radius);
  background-color: #0d2155;
  background-image: url(../images/visual_bg.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 20px 20px 40px;
  overflow: hidden;
}

#visual .left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
#visual .left h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1.6px;
  margin-bottom: 10px;
}

#visual .left h1 strong {
  font-size: 40px;
  font-weight: 700;
}

#visual .left p,
#visual .right p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.36px;
  text-align: left;
  width: 100%;
}

#visual .left p {
  margin-bottom: 15px;
}

#visual .left *:not(img) {
  position: relative;
  z-index: 1;
}

#visual .right {
  width: 500px;
  padding: 20px;
  height: 100%;
  border-radius: 16px;
  background: #0070c0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

#visual .right span {
  display: block;
  width: 100%;
  text-align: left;
  color: #fff9f9;
  font-size: 26px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.8px;
}

#visual .right span strong {
  color: #fff9f9;
  font-size: 32px;
  font-weight: 900;
  line-height: 140%;
  letter-spacing: -0.88px;
}

#visual .right a {
  width: 100%;
}

.visual_item01 {
  width: 780px;
  margin-top: -70px;
  margin-left: 140px;
}

.visual_item01_shadow {
  width: 900px;
  margin-top: -40px;
}

.visual_item02 {
  width: 280px;
  margin: auto 0;
}

#event {
  margin: 20px 0;
  position: relative;
  max-height: 70px;
  background: #0070c0;
  border-radius: var(--common-radius);
  transition: 0.35s ease;
  overflow: visible;
}

#event.is_unroll {
  background: transparent;
  max-height: 1000px;
}

#event .btn_event {
  position: absolute;
  top: 10px;
  right: 20px;
  transition: 0.35s ease;
}

#event.is_unroll .btn_event {
  transform: rotate(180deg);
}

#event .event_roll {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 calc((100% - 1200px) / 2);
  height: 70px;
}

#event .event_roll span {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 155%; /* 43.4px */
  align-self: center;
}

#event .event_roll p {
  color: #fff;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 34px */
  letter-spacing: -0.8px;
}

#event .event_roll img {
  min-height: calc(100% + 15px);
  height: calc(100% + 15px);
  margin-left: auto;
  align-self: end;
}

#event .event_list {
  display: flex;
  gap: 40px;
  display: none;
}

#event .event_list li {
  width: calc((100% - 80px) / 3);
  padding: 0 20px;
  display: flex;
  align-items: center;
}
#event .event_list li div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#event .event_list li div span {
  color: #0d2155;
  font-size: 24px;
  font-weight: 500;
  line-height: 155%; /* 37.2px */
  letter-spacing: -0.96px;
}

#event .event_list li div p {
  color: #5b6560;
  font-size: 16px;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
  letter-spacing: -0.64px;
}

#event .event_list li > img {
  width: 180px;
}

#event.is_unroll .event_roll {
  display: none;
}

#event.is_unroll .event_list {
  display: flex;
}

#contents {
  background: #f0f4f6;
  border-radius: var(--common-radius);
  padding: 100px 50px;
}

#contents > span {
  color: #0d2155;
  font-size: 28px;
  font-weight: 500;
  line-height: 155%; /* 43.4px */
  letter-spacing: -1.12px;
  text-align: center;
  display: block;
}

#contents hgroup {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#contents hgroup nav {
  display: flex;
  gap: 10px;
}

#contents hgroup button,
#contents hgroup select {
  width: fit-content;
  color: #00468b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.72px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--common-button-height);
  padding: 0 20px;
  white-space: nowrap;
  min-width: fit-content;
  border-bottom: 1px solid transparent;
  transition: 0.15s ease;
  border: 1px solid transparent;
}

#contents hgroup select {
  width: calc(100% - 62px);
  border: 1px solid #00468b;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='8' viewBox='0 0 11 8' fill='none'><path d='M0.188051 1.58124C-0.284713 0.919371 0.188411 0 1.00178 0H9.1154C9.92878 0 10.4019 0.91937 9.92914 1.58124L5.87233 7.26077C5.47351 7.81912 4.64368 7.81912 4.24486 7.26077L0.188051 1.58124Z' fill='%2300468B'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 11px 8px;
}

#contents hgroup nav button.on {
  background: #00468b;
  color: #fff;
}

#contents hgroup nav button:hover {
  /* background: #00468b;
  color: #fff; */
  border: 1px solid #00468b;
}

#contents hgroup .pc {
  /* display: none; */
}
#contents hgroup .mo {
  display: none;
}

#contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  margin-top: 80px;
}

#contents ul li {
  width: calc((100% - 140px) / 3);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contents ul li > sub {
  color: #0070c0;
  font-size: 18px;
  font-weight: 700;
  line-height: 155%; /* 27.9px */
  letter-spacing: -0.36px;
}

#contents ul li figure {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 443/243;
}

#contents ul li figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#contents ul li figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 33, 85, 0.85);
  backdrop-filter: blur(2.5px);
  padding: 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%; /* 27px */
  letter-spacing: -0.36px;
  opacity: 0;
  pointer-events: none;
}

#contents ul li:hover figure figcaption {
  opacity: 1;
  pointer-events: all;
}

#contents ul li span {
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
  font-weight: 500;
  line-height: 150%; /* 36px */
  letter-spacing: -0.48px;
}

#contents ul li span mark {
  width: fit-content;
  height: 30px;
  padding: 0 8px;
  align-content: center;
  border-radius: 4px;
  background: rgba(0, 112, 192, 0.1);
  color: #0070c0;
  font-size: 16px;
  display: block;
  font-weight: 500;
  line-height: 135%; /* 23.674px */
  letter-spacing: -0.701px;
}

#contents ul li span sub {
  display: block;
  font-size: 18px;
}

#contents ul li p {
  display: flex;
  gap: 10px;
}

#contents ul li p a {
  width: calc(50% - 5px);
}

@media (max-width: 1600px) {
  .visual_item01 {
    margin-left: 45px;
  }

  #contents hgroup button {
    font-size: 1.05vw;
  }
}

@media (max-width: 1500px) {
  #visual {
    height: fit-content;
    padding: 30px;
    align-items: center;
  }
  #visual .left h1 {
    font-size: 32px;
  }

  #visual .left h1 strong {
    font-size: inherit;
  }

  #visual .left p,
  #visual .right p {
    font-size: 16px;
  }

  #visual .left p {
    margin-bottom: 20px;
  }

  #visual .right {
    padding: 30px;
  }

  .visual_item01 {
    margin-top: -20px;
    margin-left: 0;
  }

  .visual_item02 {
    margin: 20px 0;
  }

  #visual .right span {
    font-size: 24px;
  }

  #visual .right span strong {
    font-size: inherit;
  }

  #event .event_list {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  #event .event_list li {
    width: calc((100% - 20px) / 2);
    border: 1px solid #000;
    padding: 20px;
    border-radius: 10px;
    align-items: flex-start;
  }

  #event .event_list li > img {
    width: 150px;
  }

  #event .event_list li div {
    gap: 10px;
  }

  #event .event_list li div span {
    font-size: 20px;
  }

  #contents {
    padding: 30px;
  }

  #contents hgroup button,
  #contents hgroup select {
    padding: 0 15px;
    gap: 10px;
  }

  #contents > span {
    font-size: 24px;
  }

  #contents hgroup button img {
    width: 20px;
  }

  #contents ul li {
    gap: 10px;
  }

  #contents ul li span {
    font-size: 20px;
  }
  #contents ul li sub {
    font-size: 16px;
  }

  #contents ul {
    gap: 30px;
    margin-top: 40px;
  }

  #contents ul li {
    width: calc((100% - 60px) / 3);
  }

  #contents ul li figure figcaption {
    font-size: 16px;
    padding: 15px;
  }
}

@media (max-width: 1350px) {
  #event .event_roll {
    padding: 0 4%;
  }
}
@media (max-width: 1024px) {
  #visual {
    flex-direction: column;
    gap: 0;
    background-image: none;
    border-radius: 0;
    padding: 20px var(--main-padding);
  }
  #visual * {
    text-align: center !important;
  }

  #visual .left {
    background-image: url(../images/visual_bg.png);
    background-position: bottom 0 center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  #visual .left p {
    margin-bottom: 0;
  }

  #visual .left h1 {
    font-size: 28px;
  }

  #visual .right {
    padding: 20px var(--main-padding);
  }

  #visual a {
    margin: 0 auto;
  }

  .visual_item01 {
    margin-top: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .visual_item02 {
    width: 100%;
    max-width: 400px;
  }

  #visual .right {
    width: 100%;
  }

  #visual .right span {
    font-size: 20px;
  }

  #event {
    width: 92%;
    max-height: 60px;
  }

  #event .event_roll {
    height: 60px;
    gap: 10px;
    padding: 0;
  }

  #event .btn_event img {
    width: 40px;
  }

  #event .event_roll span {
    font-size: 22px;
  }

  #event .event_roll p {
    font-size: 16px;
  }

  #event .event_list li div span {
    font-size: 18px;
  }
  #event .event_list li div p {
    font-size: 14px;
  }

  #event .event_list li > img {
    width: 140px;
  }

  #event .event_list li {
    padding: 15px;
  }

  #contents {
    border-radius: 0;
    padding: 20px var(--main-padding);
  }

  #contents hgroup {
    margin-top: 15px;
  }

  #contents hgroup button,
  #contents hgroup select {
    border: 1px solid #00468b;
    font-size: 16px;
  }

  #contents hgroup .pc {
    display: none;
  }
  #contents hgroup .mo {
    display: flex;
  }

  #contents > span {
    font-size: 20px;
  }

  #contents ul li span {
    font-size: 18px;
  }

  #contents ul {
    gap: 30px;
    margin-top: 30px;
  }

  #contents ul li {
    width: calc((100% - 30px) / 2);
  }

  #contents ul li figure figcaption {
    font-size: 14px;
    padding: 10px;
    display: none;
  }
}

@media (max-width: 768px) {
  #visual .left h1 {
    font-size: 24px;
  }

  #visual .left p br {
    display: none;
  }

  #event .event_list {
    flex-direction: column;
  }
  #event .event_list li {
    width: 100%;
    padding: 0;
    border: none;
  }

  #event .event_list li:not(:last-child) {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
  }

  #event .event_roll p {
    display: none;
  }

  #contents > span {
    font-size: 18px;
    text-align: left;
  }

  #contents ul li span {
    font-size: 16px;
  }

  #contents {
    padding: 20px 0;
    border-radius: 0;
  }

  #contents ul {
    gap: 30px;
    margin-top: 20px;
  }

  #contents ul li {
    width: calc((100% - 30px) / 2);
  }

  #contents ul li p {
    gap: 5px;
  }

  #contents ul li p a {
    width: calc(50% - 2.5px);
  }

  #visual .right span {
    font-size: 18px;
  }
}

@media (max-width: 550px) {
  #visual * {
    text-align: left !important;
  }

  #visual .left h1 {
    font-size: 20px;
  }
  #visual .left h1 br {
    display: none;
  }

  #visual .left p,
  #visual .right p {
    font-size: 14px;
  }

  #visual .right span {
    font-size: 16px;
  }

  #event .event_roll span {
    font-size: 20px;
  }

  #event .event_roll img {
    min-height: 95%;
    height: 95%;
  }

  #contents ul li {
    width: 100%;
  }
}
