@charset "utf-8";
@import url('/share/css/font/Paperlogy.css');
:root {
  --krds-contents-wrap-size: 1302px; /* padding 제외 */
  --krds-font-family-base: "Paperlogy", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --krds-light-color-text-basic: #1E2124;
}

#contents {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 11rem;
  min-width: 100vh;
  min-height: 100vh;
  background: #F8F6F2 url(../img/bg.png) no-repeat 0 0 / cover;
}

#intro-box {
  position: relative;
  display: flex;
}

#intro-box .logo {  
  position: absolute;
  right: 0;
  top: -5rem;
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

#intro-box .logo::before {
  content: 'jemulpo.go.kr';
  color: #2B343A;
  font-size: 2.5rem;
}

#intro-box .logo>a {
  width: 17.5rem;
  height: 5rem;
  background: url(/share/images/krds/ico_logo.svg) no-repeat 0 0 / 100%;
}

#menu {
  flex:  0 0 auto;
  padding: 5rem 2rem 2rem 2rem;
  min-width: 47.6rem;
  height: 63rem;
  border-radius: 3rem;
  background: url(../img/menu-bg.png) no-repeat 0 0 / 100%, linear-gradient(0deg, #EA7D1E 0%, #EA7D1E 100%);
}

#menu .main-link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 1rem;
  max-width: 30rem;
  height: 6.1rem;
  color: #000;
  font-size: 2rem;
  border-radius: 4rem;
  background: #FFF;
}

#menu .main-link i {
  width: 2.4rem;
  height: 2.4rem;
  background: url(../img/main-link.svg) no-repeat 0 0 / 100%;
}

#menu .main-link span {
  font-weight: 700;
}

#menu .main-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: -8.1rem;
  width: 11.4rem;
  height: 8.1rem;
  background: url(../img/main-link-bg.png) no-repeat 0 0 / 100%;
}

#menu .menu-list {
  display: flex;
  flex-direction: column;
  margin-top: 1.9rem;
  max-width: 30rem;
}

#menu .menu-list>li>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  color: #FFF;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: normal;
  border-radius: 3.8rem;
  opacity: 0.8;
}

#menu .menu-list>li>a::after {
  content: '';
  width: 2.4rem;
  height: 2.4rem;
  background: url(../img/menu-arr.svg) no-repeat 0 0 / 100%;
  opacity: 0.5;
}

#menu .menu-list>li>a:hover,
#menu .menu-list>li.seelct>a {
  font-size: 1.7rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.20);
  opacity: 1;
}

#menu .menu-list>li>a:hover::after,
#menu .menu-list>li.seelct>a::after {
  opacity: 1;
}

#con {
  position: relative;
  flex: 1 1 auto;
  margin-left: -14rem;
  width: calc(100% + 14rem);
  padding: 7rem 6rem;
  margin-top: 2rem;
  max-width: 96rem;
  height: 63rem;
  border-radius: 3rem;
  border-top: 3px solid #E45715;
  background: #FFF;
  box-shadow: 4px 4px 16px 0 rgba(50, 75, 139, 0.20);
}

#con::before {
  content: '';
  position: absolute;
  right: -10.2rem;
  bottom: -3rem;
  width: 18.1rem;
  height: 17.8rem;
  background: url(../img/con-bg.png) no-repeat 0 0 / 100%;
  z-index: 9;
}

#con .con-box {
  padding-right: 2.2rem;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

#con .con-box::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 2rem;
  background: #D9D9D9;
}

#con .con-box::-webkit-scrollbar-thumb {
  border-radius: 16rem;
  background: #5D5D5D;
}

@media (max-width: 1023px) {
  html {
    font-size: 55%;
  }
  
  #contents {
    display: block;
    min-width: 100%;
    width: auto;
    height: auto;
    padding: 0;
    background-position: right 0;
    background-size: 1200px;
  }

  .inner {    
    padding: 30px 16px;
  }

  #intro-box {
    flex-direction: column;
    gap: 1rem;
  }

  #intro-box .logo>a {
    position: static;
    display: block;
  }

  #menu {
    height: auto;
    min-width: 100%;
  }

  #menu .main-link {
    max-width: 100%;
  }

  #menu .main-link::before {
    left: auto;
    right: 2rem;
  }

  #menu .menu-list {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 100%;
  }
  
  #menu .menu-list>li {
    width: 50%;
  }

  #menu .menu-list>li>a {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    height: 100%;
  }
  
  #menu .menu-list>li>a::after {
    display: none;
  }
  
  #con {
    margin: 0 0 5rem 0;
    padding: 20px 20px 60px 20px;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  #con::before {
    width: 93px;
    height: 93px;
    right: -0.4rem;
    bottom: -5.3rem;
  }
  
  #con .con-box {
    padding: 0;
    overflow: hidden;
  }
}