/* header */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  border-bottom: 1px solid #d8d8d8;
  background:#fff;
  z-index: 100;
  padding: 0 120px;
}
header .header-container {
  width: 1000px;
  min-height: 120px;
  padding-top: 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
header .header-logo {
  background: url("../images/main_logo_color.png") 50% 50% no-repeat;
  height: 60px;
  width: 120px;
  margin-top: 18px;
  background-size: cover;
}
header .topline-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #d8d8d8;
}
header .topline-menu .login-info {display:flex; justify-content: flex-end; max-width:1000px; margin:0 auto;}
header .topline-menu .login-info button {
  height:40px;
  padding:0 32px 0 56px;
  border-left: 1px solid #d8d8d8;
}
header .topline-menu .login-info .small-login-button {
  background: url("../images/enter.png") left 32px top 50% no-repeat;
  background-size:16px auto;
}
header .topline-menu .login-info .small-edit-button {
  background: url("../images/edit.png") left 32px top 50% no-repeat;
  background-size:16px auto;
}
header .topline-menu .login-info button:last-child {
  border-right: 1px solid #d8d8d8;
  background: url("../images/sitemap.png") left 32px top 50% no-repeat;
  background-size:16px auto;
}

header .menu-list {
  height: 100%;
  display: flex;
  gap: 12px;
  justify-content: center;
}
header .menu-list li {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  position: relative;
}
header .menu-list > li:nth-child(1){width:130px}
header .menu-list > li:nth-child(2){width:168px}
header .menu-list > li:nth-child(3){width:160px}
header .menu-list > li:nth-child(4){width:192px}
header .menu-list > li:nth-child(5){width:100px}

header .menu-list > li:hover > .menu-list-detail,
header .menu-list > li:focus-within > .menu-list-detail {
  display: flex;
}

header .menu-list > li > .main-menu:hover + .menu-list-detail {
  display: flex;
}

header .menu-list > li:hover::after,
header .menu-list > li:focus-within::after {
  content: "";
  width: 100vw;
  position: fixed;
  height: 1px;
  top: 132px;
  left: 0;
  background: #d8d8d8;
}

/* 드롭다운(서브메뉴) */
header .menu-list-detail {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.8);   /*투명도 조절 여기서*/
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  z-index: 200;
}
header .menu-list-detail li {
  color: #000;
  padding: 10px 8px;
}
header .menu-list-detail li:hover a {
  font-weight: 700;
  color: #0066FE;
  text-decoration: underline;
  position: relative;
}

header .menu-list li .main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid transparent;
  width: 100%;
  padding: 36px 16px 32px 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}
header .menu-list li .main-menu:hover {
  font-weight: 700;
  color: #0066FE;
  border-bottom: 3px solid #0066FE;
}

.container {
  width:100%;
  margin:132px auto 80px auto;
}
#hero-section { width:100%; text-align: center;}
#hero-section img {max-width:1000px; width:100%; margin:0 auto;}

/*공통 */

.inner-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.icon-menu-list {
width:638px;
display:grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 160px);
gap: 16px;
}
.icon-menu-list > li {
display:flex;
justify-content:space-evenly;
align-items:center;
border-radius:12px;
font-size:18px;
font-weight:600;
text-align:center;
width:160px;
}
.icon-menu-list > li a {
border:1px solid #CBCDE3;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:15px;
width:100%;
height:100%;
border-radius:12px;
}
.icon-menu-list > li a:hover {
border-color:#3A88E2;
box-shadow:0 0 16px 0 #19191c0f;}
.icon-menu-list > li span {
width:120px;
display:flex;
flex-direction:column;
align-items:center;
gap:15px;
}
.icon-menu-list > li:nth-child(1),
.icon-menu-list > li:nth-child(4){
width:286px;
background:#EEF4FF;
}
.icon-menu-list > li img {
width:48px;
height:48px;
}
.icon-menu-list .button-list {
display:flex;
flex-direction:column;
gap:8px;
}
.icon-menu-list .button-list button {
font-size:16px;
font-weight:600;
background:#003298;
border-radius:8px;
color:#fff;
text-align:center;
width:80px;
height:32px;}
.login-container {
width:342px;
height:336px;
background:#F9F9F9;
border-radius:12px;
padding:32px 24px;
}
.icon-menu-list .button-list button:hover {
background:#000;}
.text-effect {
animation: textColor 0.4s infinite alternate;
}
@keyframes textColor {
      from {
        color: black;
      }
      to {
        color: red;
      }
    }

.login-container h3 {
font-size:24px;
font-weight:600;
margin-bottom:20px;
}
.login-container input[type="text"],
.login-container input[type="password"] {
height:48px;
width:100%;
font-size:18px;
font-weight:500;
background:#fff;
padding:10px 40px 10px 14px;
margin-bottom:12px;
border:1px solid #d8d8d8;
border-radius:8px;
}
input[type="text"][readonly],
input[type="password"][readonly] {
border:0;
}
input[type="checkbox"] {
width:20px;
height:20px;
border:1px solid #c8c8c8;
border-radius:4px;
}
.visually-hidden{
  position:absolute; width:1px; height:1px; margin:-1px;
  border:0; padding:0; clip:rect(0 0 0 0); clip-path:inset(50%);
  overflow:hidden; white-space:nowrap;
}

/* 커스텀 박스 */
.checkbox-area label{
  position:relative; padding-left:24px; cursor:pointer; line-height:20px;
  font-size:16px;
  font-weight:500;
}
.checkbox-area label::before{
  content:""; position:absolute; left:0; top:0; width:18px; height:18px;
  border:1px solid #d8d8d8; border-radius:4px; background:#fff;
}
#saveId:checked + label::before{ background:#007BFF; border-color:#007BFF; }
#saveId:checked + label::after{
  content:"✓"; position:absolute; left:2px; top:-1px; font-size:18px; color:#fff;
}
/* 포커스 표시 */
#saveId:focus-visible + label::before{ box-shadow:0 0 0 3px rgba(0,123,255,.3); }

#account-id {background:url('../images/id.png') right 16px top 50% no-repeat #fff; background-size:24px auto;}
#account-password {background:url('../images/password.png') right 16px top 50% no-repeat #fff; background-size:24px auto;}
.login-container .input-label {
display:none;}
.login-btn {
width:100%;
height:56px;
border-radius:8px;
background:#003298;
color:#fff;
font-size:20px;
font-weight:600;
}
.login-sub-menu {
display:flex;
gap:12px;
align-items:center;
justify-content:space-between;
margin-bottom:24px;
height:22px;
}
.login-sub-menu a {
font-size:16px;
cursor:pointer;
}
.login-sub-menu .sub-action {
display:flex;
align-items:center;
gap:12px;
}
.login-sub-menu hr {width:1px; height:14px; display:block; background:#bbb; border:0;}
/*layer*/
#main-section {
 display:flex;
 justify-content:center;
 gap:16px;
 width:100%;
 margin:80px auto;
}

/*footer*/
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: #110F1D;
}
footer .footer-container {
  display: flex;
  justify-content: flex-start;
  align-items:center;
  gap:40px;
  max-width: 1000px;
  width: 100%;
  padding: 54px 0;
  margin: 0 auto;
}
.footer-container img {width:108px; height:40px;}
.footer-container p {
font-size:14px;
font-weight:400;
color:#fff;
line-height:1.5; opacity:0.8;}
