:root {
  --main-text-color: #2c2c2c;
  --accent-title-color: #8c8c8c;
  --accent-txt-color: #476de0;
  --pc-contents-width: 1240px;
}

html {
  scroll-behavior: smooth;
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  position: relative;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--main-text-color);
}

body #overlay {
  display: none;
}

.en {
  font-family: "Poppins", sans-serif;
}

button {
  font-family: "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--main-text-color);
}

.wide img {
  width: 100%;
  height: auto;
}

footer {
  background: #ecebe6;
  color: var(--main-text-color);
}

@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
  }
  body {
    min-width: var(--pc-contents-width);
    letter-spacing: 0;
  }
  .sp {
    display: none;
  }
  header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
  }
  header.left {
    padding: 53px 0 0 60px;
  }
  header.right {
    padding: 11px 100px 0 0;
    text-align: right;
  }
  header.right h1#header_logo {
    display: none;
  }
  header #header_navi_wrapper {
    margin-top: 43px;
  }
  header #header_navi_wrapper #header_navi > ul li {
    margin-top: 16px;
  }
  header #header_navi_wrapper #header_navi > ul li:nth-of-type(1) {
    margin-top: 0;
  }
  header #header_navi_wrapper #header_navi > ul li a {
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
  }
  header #header_navi_wrapper #header_navi > ul li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--main-text-color);
  }
  footer #footer_contents {
    width: var(--pc-contents-width);
    margin: 0 auto;
    padding: 78px 0 70px;
    display: flex;
  }
  footer #footer_contents #footer_logo {
    width: 270px;
    margin-right: 70px;
  }
  footer #footer_contents #footer_company {
    width: 510px;
    margin-right: 140px;
  }
  footer #footer_contents #footer_company > dl {
    display: flex;
    gap: 0 20px;
  }
  footer #footer_contents #footer_company > dl dt {
    width: 180px;
    border-bottom: 1px solid #dddcda;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 15px 0;
    line-height: 1.57;
    display: flex;
    align-items: center;
  }
  footer #footer_contents #footer_company > dl dd {
    flex-grow: 1;
    border-bottom: 1px solid #dddcda;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px 0;
    line-height: 1.57;
  }
  footer #footer_contents #footer_company > dl:nth-of-type(1) dt,
  footer #footer_contents #footer_company > dl:nth-of-type(1) dd {
    padding-top: 0;
  }
  footer #footer_contents #footer_sns_area {
    width: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  footer #footer_contents #footer_sns_area #footer_sns_link {
    display: flex;
    justify-content: flex-end;
    gap: 0 25px;
  }
  footer #footer_copyright {
    margin-top: 40px;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }
}
