:root {
  --hn-blue: #004ea2;
  --hn-red: #e60012;
  --hn-gray: #898989;
  --hn-sky: #0092d8;
  --hn-navy: #002f8e;
  --hn-orange: #ed6d1f;
  --hn-gold: #b99742;
  --hn-ink: #17233d;
  --hn-pale: #eef7fd;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--hn-ink);
}

#first_header {
  border-bottom: 1px solid rgba(0, 78, 162, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(0, 47, 142, 0.08);
}

.header_logo {
  display: flex;
  align-items: center;
  gap: 18px;
  width: auto;
  max-width: none;
  flex: 0 1 auto;
}

.header_logo h1 {
  width: 370px;
  flex: 0 1 370px;
}

.header_logo img,
.footer__logo img {
  width: 100% !important;
  height: auto;
}

.contest-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #d7e4ef;
  border-radius: 999px;
  background: #f7fbfe;
  box-shadow: 0 4px 12px rgba(0, 47, 142, 0.08);
  color: #0b4b8e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.contest-switch:hover,
.contest-switch:focus {
  border-color: var(--hn-sky);
  background: #eef7fd;
  box-shadow: 0 6px 16px rgba(0, 78, 162, 0.14);
  color: var(--hn-blue);
}

.contest-switch:focus-visible {
  outline: 3px solid rgba(0, 146, 216, 0.28);
  outline-offset: 3px;
}

.contest-switch__icon {
  color: var(--hn-red);
  font-size: 17px;
  line-height: 1;
}

.btn-dropdown:hover,
.main-nav__item:hover,
.main-nav__item:focus {
  color: var(--hn-blue);
}

.back {
  position: relative;
  min-height: 980px;
  height: auto !important;
  overflow: hidden;
  background: linear-gradient(128deg, #002d78 0%, #07548f 58%, #e88c43 100%) !important;
  isolation: isolate;
}

.back::before,
.back::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.back::before {
  background: linear-gradient(
    90deg,
    rgba(0, 38, 100, 0.95) 0%,
    rgba(0, 45, 107, 0.86) 29%,
    rgba(0, 48, 105, 0.48) 47%,
    rgba(0, 41, 91, 0.08) 72%
  );
}

.back::after {
  background: linear-gradient(180deg, rgba(0, 22, 62, 0.02) 58%, rgba(0, 30, 75, 0.56) 100%);
}

.main-top {
  min-height: 900px;
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.main-top__desc {
  width: min(100%, 770px);
  z-index: 2;
}

.main-top__desc::after {
  display: none !important;
}

.main-top__desc--title {
  max-width: 620px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.main-top__desc--title > img {
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 18, 55, 0.34));
}

.haenam-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(1.6rem, 1.1vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.haenam-slogan::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--hn-red), var(--hn-orange));
}

.btn_mainbax {
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

.main-top__btn {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 28, 78, 0.18);
  backdrop-filter: blur(7px);
}

.main-top__btn:first-child {
  border-color: var(--hn-red);
  background: var(--hn-red);
}

.main-top__btn:hover,
.main-top__btn:focus {
  border-color: var(--hn-orange);
  background: var(--hn-orange);
  box-shadow: 0 16px 32px rgba(0, 26, 73, 0.24);
}

.main-top__desc--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 1.4rem;
  margin-top: 3.2rem;
}

.main-top__desc--detail dl {
  min-height: 132px;
  padding: 1.8rem 2rem 1.6rem 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 35, 105, 0.26);
  box-shadow: 0 14px 28px rgba(0, 20, 64, 0.12);
  backdrop-filter: blur(7px);
}

.main-top__desc--detail dl dt::before {
  left: -14px;
  background: linear-gradient(180deg, var(--hn-red), var(--hn-orange));
}

.main-top__desc--detail dl dt,
.main-top__desc--detail dl dd {
  color: #fff !important;
}

.main-top__desc--detail dl dd strong {
  color: #ffe18c;
  font-weight: 800;
}

.main-top__desc--detail .main-account {
  margin-top: 0.45rem;
  font-size: 1.45rem;
  line-height: 1.45;
}

.main-top__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.main-top__image .haenam-marathon-scene {
  display: block;
  width: 100%;
  max-width: none !important;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  filter: none;
}

.main-supporter {
  border-bottom: 1px solid rgba(0, 78, 162, 0.1);
  background: #fff;
}

.main_d-day {
  height: 160px;
  background: linear-gradient(105deg, var(--hn-red), var(--hn-orange));
}

.d-day_contents {
  color: #fff;
}

.day-days {
  color: rgba(255, 255, 255, 0.75);
}

.main-quick__item {
  border: 1px solid rgba(0, 78, 162, 0.08);
  box-shadow: 0 15px 36px rgba(0, 47, 142, 0.09);
}

.main-quick__item::before {
  background: linear-gradient(145deg, #f0f8ff 0%, #fff 72%);
}

.main-quick__item a,
.main-quick__item:nth-child(1) a,
.main-quick__item:nth-child(3) a {
  background: var(--hn-blue);
}

.main-quick__item:hover::before,
.main-quick__item:nth-child(1):hover::before,
.main-quick__item:nth-child(3):hover::before {
  background: linear-gradient(135deg, var(--hn-blue), var(--hn-sky));
}

.main-quick__item:hover a {
  color: var(--hn-blue);
}

.main_back {
  background-image: none;
  background-color: var(--hn-pale);
}

.section-title .overline {
  color: var(--hn-red);
}

.main-notice-board {
  border-top-color: var(--hn-blue);
  box-shadow: 0 14px 38px rgba(0, 47, 142, 0.08);
}

footer {
  background: var(--hn-navy);
}

.footer__contact p,
.footer__utill p,
.footer-quick-box a {
  color: rgba(255, 255, 255, 0.82);
}

.footer__partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: min(100%, 760px);
  margin-top: 2.4rem;
  padding: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.footer__partners p {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.65;
  word-break: keep-all;
}

.footer__partners strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 136, 189, 0.28);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.footer__partners span {
  padding-top: 0.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.footer__partners-cooperation {
  grid-column: 1 / -1;
}

@media (max-width: 48em) {
  .footer__partners {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    padding: 2rem 1.6rem;
  }

  .footer__partners-cooperation {
    grid-column: auto;
  }

  .footer__partners p {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 1rem;
    font-size: 1.55rem;
  }

  .footer__partners strong {
    min-height: 3rem;
    font-size: 1.45rem;
  }
}

.footer__logo {
  display: inline-flex;
  width: min(100%, 340px);
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f2faff);
  box-shadow: 0 12px 30px rgba(0, 20, 58, 0.22);
}

.footer__logo a,
.footer__logo img {
  display: block;
}

/* Sub-page visual and navigation */
.snb::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(7, 136, 189, 0.1), transparent 30%),
    linear-gradient(120deg, #ffffff 0%, #f9fcff 52%, #eef7fb 100%) !important;
  box-shadow: inset 0 -1px 0 rgba(0, 78, 162, 0.1);
}

.sub-visual__text h2 {
  color: var(--hn-navy);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.sub-visual__text p {
  color: #315471;
}

.sub-menu {
  width: 100%;
  max-width: 1608px;
  padding: 0;
  border: 1px solid #d8e4ed;
  border-top: 2px solid var(--hn-blue);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 47, 105, 0.08);
}

.sub-menu__item {
  display: flex;
  align-items: center;
  height: 48px;
  border-right-color: #d8e4ed;
  background: #fff;
  color: var(--hn-navy);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sub-menu__list .home .sub-menu__item {
  border-right-color: var(--hn-blue);
  border-radius: 0;
  background: var(--hn-blue);
  color: #fff;
  justify-content: center;
  box-shadow: none;
}

.sub-menu__list > ul > li.depth2 > .sub-menu__wrap > .sub-menu__item {
  width: 240px;
  padding: 0 18px 0 24px;
  border-radius: 0;
  background: #fff;
  color: var(--hn-blue);
  font-weight: 700;
  justify-content: space-between;
  box-shadow: inset 0 -2px 0 var(--hn-blue);
}

.sub-menu__item:hover,
.sub-menu__item:focus {
  background: #f3f9fd;
  color: var(--hn-blue);
}

.sub-menu__item:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid rgba(7, 136, 189, 0.35);
  outline-offset: -2px;
}

.sub-menu__item i {
  color: var(--hn-red);
}

.sub-menu__list .home .sub-menu__item i {
  color: #fff;
  font-size: 16px;
  text-shadow: none;
}

.sub-menu__list > ul > li.depth2 > .sub-menu__wrap > .sub-menu__item i {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 14px;
}

.sub-menu__list .list {
  overflow: hidden;
  top: 48px;
  width: 240px;
  padding: 0;
  border: 1px solid #d8e4ed;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 47, 105, 0.1);
}

.sub-menu__list .list li {
  width: 240px;
  border-bottom: 1px solid #e5edf3;
  border-radius: 0;
}

.sub-menu__list .list li:hover,
.sub-menu__list .list li:focus-within {
  background: #f3f9fd;
}

.sub-menu__list .list li a {
  padding: 10px 24px;
  color: #173c61;
  border-radius: 0;
}

.sub-menu__list .list li a:hover,
.sub-menu__list .list li a:focus {
  color: var(--hn-blue);
}

.sub-title h2::after {
  background: linear-gradient(90deg, var(--hn-red), var(--hn-orange));
}

.outline__title,
.outline__title.uljin,
.outline__title.outline-conts,
.outline__title.strategy,
.outline__title.master,
.outline__title.elite,
.outline__title.foreigner,
.outline__title.run-fun {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  margin-bottom: 2.4rem;
  padding: 0 0 8px 42px;
  background: none !important;
  color: #fff;
  line-height: 1.2;
}

.outline__title::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 0;
  width: min(440px, 72%);
  height: 48px;
  border-radius: 12px 26px 26px 12px;
  background:
    linear-gradient(90deg, var(--hn-red) 0 8px, transparent 8px),
    linear-gradient(110deg, var(--hn-navy) 0%, var(--hn-blue) 58%, #0788bd 100%);
  box-shadow: 0 10px 22px rgba(0, 47, 105, 0.18);
  transform: skewX(-10deg);
}

.outline__title::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 27px;
  right: 0;
  left: 414px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #0796c6 0%, var(--hn-orange) 34%, rgba(237, 109, 31, 0) 100%);
}

.outline.uljin dt::before {
  border-color: var(--hn-orange);
}

span.uljin {
  color: var(--hn-blue);
}

.outline__table th {
  background: #edf7ff;
}

.outline__table thead th,
.award-info table thead th {
  background: var(--hn-blue);
  color: #fff;
}

.haenam-fee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.haenam-fee-card {
  padding: 2.2rem 1.4rem;
  border: 1px solid rgba(0, 78, 162, 0.15);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 47, 142, 0.08);
}

.haenam-fee-card strong,
.haenam-fee-card span {
  display: block;
}

.haenam-fee-card strong {
  color: var(--hn-navy);
  font-size: 2.1rem;
}

.haenam-fee-card span {
  margin-top: 0.8rem;
  color: var(--hn-red);
  font-size: 2rem;
  font-weight: 800;
}

.haenam-group-benefit {
  margin-top: 1.8rem;
  padding: 1.8rem 2rem;
  border-left: 5px solid var(--hn-orange);
  border-radius: 12px;
  background: #fff7ed;
  color: #7c3a0a;
  font-weight: 700;
}

.haenam-award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.haenam-award-course {
  padding: 2.4rem;
  border: 1px solid rgba(0, 78, 162, 0.13);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 47, 142, 0.08);
}

.haenam-award-course h3 {
  margin-bottom: 1.6rem;
  color: var(--hn-navy);
  font-size: 2.8rem;
}

.haenam-award-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.haenam-award-pair table {
  width: 100%;
  border-collapse: collapse;
}

.haenam-award-pair caption {
  padding: 1rem;
  border-radius: 12px 12px 0 0;
  background: var(--hn-pale);
  color: var(--hn-blue);
  font-size: 1.8rem;
  font-weight: 800;
}

.haenam-award-pair th,
.haenam-award-pair td {
  padding: 1.1rem 0.8rem;
  border: 1px solid #dbe6f0;
  text-align: center;
  font-size: 1.55rem;
}

.haenam-award-note {
  margin-top: 2.4rem;
  padding: 2rem;
  border-radius: 14px;
  background: var(--hn-pale);
  color: var(--hn-ink);
}

.haenam-ready {
  padding: clamp(3rem, 6vw, 7rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(135deg, var(--hn-navy), var(--hn-sky));
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 47, 142, 0.2);
}

.haenam-ready__courses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

.haenam-ready__courses span {
  padding: 1.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.8rem;
  font-weight: 800;
}

.haenam-location-guide {
  overflow: hidden;
  margin-top: clamp(3rem, 5vw, 6rem);
  border: 1px solid rgba(0, 78, 162, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 47, 142, 0.09);
}

.haenam-location-guide__heading {
  padding: clamp(2.4rem, 4vw, 4rem) clamp(2rem, 4vw, 4.8rem) 2.4rem;
  text-align: center;
}

.haenam-location-guide__heading h2 {
  margin: 0.6rem 0 1rem;
  color: var(--hn-navy);
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 1.25;
}

.haenam-location-guide__heading > p:last-child {
  margin: 0;
  color: #52677a;
  font-size: 1.7rem;
}

.haenam-location-guide__content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 3vw, 3.6rem);
  align-items: stretch;
  padding: 0 clamp(1.6rem, 3vw, 3.2rem) clamp(2rem, 3vw, 3.2rem);
}

.haenam-location-guide__map {
  margin: 0;
}

.haenam-location-guide__map a {
  display: block;
  overflow: hidden;
  border: 1px solid #dce7f1;
  border-radius: 16px;
  background: #eef4f8;
}

.haenam-location-guide__map img {
  display: block;
  width: 100%;
  height: auto;
}

.haenam-location-guide__map figcaption {
  margin-top: 1rem;
  color: #65788a;
  font-size: 1.4rem;
  text-align: center;
}

.haenam-location-guide__info {
  padding: clamp(2rem, 3vw, 3rem);
  border-radius: 16px;
  background: #f3f8fc;
  color: var(--hn-ink);
}

.haenam-location-guide__destination {
  padding-bottom: 2rem;
  border-bottom: 1px solid #d9e6f0;
}

.haenam-location-guide__destination span,
.haenam-location-guide__destination strong {
  display: block;
}

.haenam-location-guide__destination span {
  color: var(--hn-red);
  font-size: 1.4rem;
  font-weight: 800;
}

.haenam-location-guide__destination strong {
  margin-top: 0.4rem;
  color: var(--hn-navy);
  font-size: clamp(2.4rem, 2.6vw, 3.2rem);
}

.haenam-location-guide__info dl {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem 1.2rem;
  margin: 2rem 0;
  font-size: 1.6rem;
  line-height: 1.6;
}

.haenam-location-guide__info dt {
  color: var(--hn-blue);
  font-weight: 800;
}

.haenam-location-guide__info dd {
  margin: 0;
  color: #263b4d;
  font-weight: 600;
  word-break: keep-all;
}

.haenam-location-guide__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.haenam-map-link {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
}

.haenam-map-link--naver {
  background: #03c75a;
  color: #fff !important;
}

.haenam-map-link--kakao {
  background: #fee500;
  color: #191919 !important;
}

.haenam-location-guide__notice {
  margin: 1.8rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--hn-red);
  border-radius: 8px;
  background: #fff;
  color: #52677a;
  font-size: 1.4rem;
  line-height: 1.65;
}

.haenam-location-guide__notice strong {
  color: var(--hn-navy);
}

.haenam-course-map {
  overflow: hidden;
  border: 1px solid rgba(0, 78, 162, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 47, 142, 0.09);
}

.haenam-course-map__heading {
  padding: clamp(2.4rem, 4vw, 4.8rem);
  text-align: center;
}

.haenam-course-map__heading h2 {
  margin: 0.8rem 0 1.2rem;
  color: var(--hn-navy);
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 1.25;
}

.haenam-course-map__heading > p:last-child {
  margin: 0;
  color: var(--hn-ink);
  font-size: 1.7rem;
  line-height: 1.7;
}

.haenam-course-map__figure {
  margin: 0;
  padding: 0 clamp(1.2rem, 2vw, 2.4rem) clamp(1.6rem, 2.5vw, 2.8rem);
}

.haenam-course-map__figure a {
  display: block;
  overflow: hidden;
  border: 1px solid #dce7f1;
  border-radius: 16px;
  background: #eef4f8;
}

.haenam-course-map__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.haenam-course-map__figure figcaption {
  margin-top: 1.2rem;
  color: #52677a;
  font-size: 1.4rem;
  text-align: center;
}

.haenam-brand-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: 24px;
  background: var(--hn-pale);
}

.haenam-brand-story img {
  width: 100%;
  border-radius: 18px;
  background: #fff;
}

.haenam-brand-story h3 {
  color: var(--hn-navy);
  font-size: clamp(2.5rem, 3vw, 4rem);
}

.haenam-brand-story p {
  margin-top: 1.4rem;
  font-size: 1.75rem;
  line-height: 1.8;
}

@media (max-width: 1229px) {
  .back {
    min-height: 1040px;
  }

  .main-top {
    min-height: 980px;
    align-items: center;
  }

  .main-top__desc {
    width: min(100%, 720px);
  }

  .main-top__image {
    display: block;
  }

  .main-top__image .haenam-marathon-scene {
    object-position: right top;
  }
}

@media (max-width: 799px) {

  .haenam-location-guide__content {
    grid-template-columns: 1fr;
  }

  .haenam-location-guide__info {
    padding: 2rem 1.6rem;
  }

  .haenam-location-guide__links {
    grid-template-columns: 1fr;
  }

  .header_logo {
    gap: 8px;
    max-width: calc(100% - 64px);
  }

  .header_logo h1 {
    width: 190px;
    flex-basis: 190px;
  }

  .header_logo img {
    width: 190px !important;
  }

  .contest-switch {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .contest-switch__icon {
    font-size: 15px;
  }

  .back {
    min-height: 1240px;
    padding-top: 0;
  }

  .main-top {
    min-height: 1180px;
    padding: 5rem 2rem 4rem;
  }

  .main-top__desc--title {
    max-width: 560px;
    padding: 0;
  }

  .back::before {
    background: linear-gradient(90deg, rgba(0, 38, 100, 0.96) 0%, rgba(0, 42, 100, 0.88) 58%, rgba(0, 40, 92, 0.46) 100%);
  }

  .main-top__image .haenam-marathon-scene {
    opacity: 0.52;
    object-position: right top;
  }

  .main-top__desc--detail {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
    text-align: left;
  }

  .haenam-slogan {
    white-space: normal;
  }

  .outline__title {
    padding-left: 34px;
  }

  .outline__title::before {
    width: min(360px, 86%);
  }

  .outline__title::after {
    left: min(334px, 80%);
  }

  .main-top__desc--detail dl {
    min-height: auto;
  }

  .btn_mainbax {
    flex-direction: row;
  }

  .main-top__btn {
    flex: 1 1 calc(50% - 8px);
    padding: 1.4rem 1.1rem;
  }

  .main_d-day {
    height: 105px;
  }

  .haenam-fee-grid,
  .haenam-ready__courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .haenam-award-grid,
  .haenam-brand-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .header_logo {
    gap: 6px;
    max-width: calc(100% - 58px);
  }

  .header_logo h1 {
    width: 145px;
    flex-basis: 145px;
  }

  .header_logo img {
    width: 145px !important;
  }

  .contest-switch {
    padding: 7px 9px;
    font-size: 11px;
  }

  .contest-switch__icon {
    display: none;
  }
}

@media (max-width: 560px) {
  .back {
    min-height: 1360px;
  }

  .main-top {
    min-height: 1300px;
  }

  .btn_mainbax {
    flex-direction: column;
  }

  .main-top__btn {
    width: 100%;
  }

  .haenam-award-pair {
    grid-template-columns: 1fr;
  }
}
