@charset "utf-8";
:root {
	--main: #3A67EA;
  --charcoal: #252525;
  --shadow: 0 1.2rem 2rem 0 rgba(0, 0, 0, 0.08);
  --ic-shadow: 0 0.4rem 2rem 0 rgba(0, 0, 0, 0.10);
}

body {
  background: url(/img/bg.svg) no-repeat 0 0 / 65.5rem;
}

.wrap {
  max-width: 1440px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

header {
  position: relative;
  border-bottom: 1px solid #EEE;
  --height: 12.1rem;
  height: var(--height);
  background: #fff;
  z-index: 9;
}

header.on {
  z-index: 10;
}

header .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1640px;
  height: 100%;
}

header.on::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--height) + 1px);
  margin: auto;
  width: 100%;
  height: 44rem;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

header h1 a {
  display: block;
}

#gnb {
  flex: 0 0 auto;
  display: flex;
  gap: 2rem;
}

#gnb a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: normal;
}

#gnb a::before {
  content: '';
  width: 40px;
  height: 40px;
  background: url(/img/gnb.svg) no-repeat 0 0;
}

#gnb a.join::before {
  background-position: -44px 0;
}

#gnb a.logout::before {
  background-position: -88px 0;
}

#gnb a.mypage::before {
  background-position: -132px 0;
}

#ban {
  border-top: 1px solid #D8D8D8;
  background: url(/img/main/top-con-bg.png) no-repeat 0 0 / cover, #6ABDE4;
}

#ban .wrap {
  display: flex;
  align-items: center;
  gap: 6rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#ban h3 {
  flex: 0 0 auto;
  padding: 0;
  color: #252525;
  font-size: 2rem;
  font-weight: 600;
  line-height: 130%;
}

#ban .ban-list {
  width: 100%;
  overflow: hidden;
}

#ban .ban-list>ul {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
}

#ban .ban-list>ul>li {
  flex: 0 0 auto;
}

#ban .ban-list>ul>li a{
  display: block;
  color: #333;
  letter-spacing: 0.01em;
}

#ban .ban-control {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

#ban .ban-control>a {
  width: 1rem;
  height: 1.5rem;
  background: url(../img/ban.svg) no-repeat 0 0 / 7rem;
  border: none;
}

#ban .ban-control .ban-stop {
  background-position: -3rem 0;
}

#ban .ban-control .ban-next {
  background-position: -6rem 0;
}

footer {
  padding: 6rem 0rem;
  background: #F5F5F5;
}

footer .wrap {
  max-width: 1640px;
}

footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .footer-top .footer-link {
  display: flex;
  gap: 2rem;
}

footer .footer-top .footer-link a {
  position: relative;
  color: rgba(51, 51, 51, 0.80);
  font-size: 1.6rem;
}

footer .footer-top .footer-link a::before {
  content: '·';
  position: absolute;
  left: -1.2rem;
  top: -0.4rem;
}

footer .footer-top .footer-link li:nth-child(1) a {
  /* color: var(--main); */
  color:#0e319a;
}

footer .footer-top .footer-link li:nth-child(1) a::before {
  display: none;
}

footer .footer-top .footer-family {
  display: flex;
  gap: 0.5rem;
}

footer .footer-top .footer-family>div {
  position: relative;
  z-index: 9;
}

footer .footer-top .footer-family button {
  position: relative;
  text-align: left;
  padding: 1.2rem 2.4rem 1.2rem 2rem;
  width: 22.3rem;
  height: 4.5rem;
  color: #666;
  font-size: 1.6rem;
  border-radius: 0.8rem;
  border: 1px solid #E9E9E9;
  background: #FFF;
}

footer .footer-top .footer-family button::before {
  content: '';
  position: absolute;
  right: 2.4rem;
  top: calc(50% - 0.5rem);
  width: 1.4rem;
  height: 1rem;
  background: url(/img/footer-family.svg) no-repeat 0 0 / 1.4rem;
  transition: .3s;
}

footer .footer-top .footer-family .on button {
  border-radius: 0 0 0.8rem 0.8rem;
  border-top: none;
}

footer .footer-top .footer-family .on button::before {
  transform: rotate(180deg);
}

footer .footer-top .footer-family>div>ul {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4.3rem;
  display: none;
  width: 100%;
  padding: 1.2rem 2.4rem 1.2rem 2rem;
  border-radius: 0.8rem 0.8rem 0 0;
  border: 1px solid #E9E9E9;
  border-bottom: none;
  background: #fff;
}

footer .footer-top .footer-family>div.on>ul {
  display: block;
}

footer .footer-top .footer-family>div>ul a {
  color: #666;
  font-size: 1.4rem;
}

footer .footer-btm {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 2.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

footer .footer-btm .footer-copy {
  display: flex;
  flex-direction: column;
}

footer .footer-btm .footer-copy>img {
  width: 11.4rem;
}

footer .footer-btm .footer-copy dt {
  margin-top: 2.5rem;
  color: #666;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 160%; 
}

footer .footer-btm .footer-copy dt span {
  font-weight: 400;
}

footer .footer-btm .footer-copy dd {
  margin-top: 0.5rem;
}

footer .footer-btm .footer-copy .tel dd ul {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  min-height: 6.2rem;
}

footer .footer-btm:has(>a) .footer-copy .tel dd ul {
  max-width: 138.3rem;
}

footer .footer-btm .footer-copy .tel dd ul>li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #666;
  font-size: 2.2rem;
  line-height: 160%;
}

footer .footer-btm .footer-copy .tel dd ul>li::after {
  content: '';
  width: 0.1rem;
  height: 1.5rem;
  background: #C0C0C0;
}

footer .footer-btm .footer-copy .tel dd ul>li:nth-last-child(1)::after {
  display: none;
}

footer .footer-btm .footer-copy p,
footer .footer-btm .footer-copy address {
  color: #666;
  font-size: 1.6rem;
  word-break: keep-all;
}

/*pc*/
@media screen and (min-width:1025px) {
  header h1 {
    flex: 0 0 auto;
    max-width: 31.6rem;
    width: 100%;
	font-size:0;
  }

  #lnb {
    width: 100%;
    max-width: 84rem;
  }

  #lnb h2 {
    display: none;
  }

  #lnb a {
    position: relative;
    z-index: 9;
  }
  
  #lnb .slogan {
    display: none;
    position: absolute;
    left: 0;
    top: 17rem;
    width: 100%;
    height: 39.2rem;
    background: url(/img/lnb-bg.png) no-repeat left -7.5rem bottom 0 / 66.4rem;
  }

  .on #lnb .slogan {
    display: block;
  }

  #lnb .slogan .tit {
    color: var(--main);
    font-size: 3.3rem;
    font-weight: 600;
    line-height: normal;
  }

  #lnb .slogan .txt {
    margin-top: 2rem;
    color: #666;
    font-size: 1.8rem;
    line-height: 140%;
    letter-spacing: 0.09rem;
  }

  #lnb .lnb-box>ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  #lnb .lnb-box>ul>li {
    position: relative;
  }
  
  #lnb .lnb-box>ul>li.mypage {
    display: none;
  }
  
  #lnb .lnb-box>ul>li>a {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--height);
    color: #333;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
  }
  
  #lnb .lnb-box>ul>li.select>a,
  #lnb .lnb-box>ul>li:hover>a {
    color: var(--main);
    font-weight: 700;
    line-height: normal;
  }

  #lnb .lnb-box>ul>li>a::before {
    content: '';
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: 2.8rem;
    margin: 0 auto;
    width: 0;
    height: 0.8rem;
    background: url(/img/lnb-on.svg) no-repeat center / 10.7rem;
    opacity: 0;
    transition: .3s;
  }
  
  #lnb .lnb-box>ul>li.select>a::before,
  #lnb .lnb-box>ul>li:hover>a::before {
    width: 10.7rem;
    opacity: 1;
  }
  
  #lnb .sub-menu {
    position: absolute;
    top: 11.6rem;
    width: 100%;
    padding-top: 4.1rem;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin: 0 auto;
  }
  
  .on #lnb .sub-menu {
    display: flex;
  }
  
  #lnb .lnb-box>ul>li:nth-child(2) .sub-menu,
  #lnb .lnb-box>ul>li:nth-child(3) .sub-menu {
    left: calc(50% - 6rem);
    width: 12rem;
  }
  
  #lnb .lnb-box>ul>li:nth-child(4) .sub-menu {
    left: calc(50% - 6.5rem);
    width: 13rem;
  }
  
  #lnb .lnb-box>ul>li:nth-child(2) .sub-menu,
  #lnb .lnb-box>ul>li:nth-child(5) .sub-menu {
    left: calc(50% - 8rem);
    width: 16rem;
  }
  
  #lnb .sub-menu>li>a {
    color: #333;
    text-align: center;
    font-size: 1.8rem;
  }
  
  #lnb .sub-menu>li.select>a,
  #lnb .sub-menu>li>a:hover {
    color: var(--main);
    text-decoration: underline;
  }
  
  #lnb .sub-depth {
    display: none;
  }
}

/* mb */
@media screen and (max-width:1024px) {
  .fixed {
    overflow: hidden;
  }

  header {
    --height: 72px;
    z-index: 99;
  }

  header h1 a {
    height: 36px;
  }
  
  header h1 a img {
    height: 100%;
  }

  #lnb h2 a {
    position: absolute;
    right: 20px;
    top: calc(50% - 20px);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--main) url(/img/lnb-mb.svg);
  }
  
  .fixed #lnb h2 a {
    background-position: -40px 0;
  }
  
  #lnb .slogan {
    display: none;
  }

  #lnb .lnb-box {
    position: fixed;
    left: 0;
    top: var(--height);
    display: none;
    padding: 24px 20px;
    width: 100%;
    height: calc(100% - var(--height));
    background: #fff url(/img/lnb-bg.png) no-repeat right 9.2rem bottom 0 / 50rem;
    z-index: 999;
    overflow-y: auto; 
  }

  .fixed #lnb .lnb-box {
    display: block;
  }

  #lnb .lnb-box>ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 90px;
  }
  
  #lnb .lnb-box>ul>li {    
    width: 100%;
  }

  #lnb .lnb-box>ul>li>a {
    display: inline-block;
    height: auto;
    font-size: 16px;
  }
  
  #lnb .lnb-box>ul>li.select>a {
    color: var(--main);
    font-weight: 500;
    text-decoration: underline;
  }

  #lnb .sub-menu {
    position: absolute;
    left: 125px;
    top: 24px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-top: 0;
    width: calc(100% - 145px);
  }

  #lnb .select .sub-menu {
    display: flex;
  }
  
  #lnb .sub-menu>li {
    position: relative;
    width: 100%;
  }
  
  #lnb .lnb-box>ul>li.mypage>.sub-menu>li:nth-child(1) {
    display: none;
  }

  #lnb .sub-menu>li>a {
    position: relative;
    display: block;
    text-align: left;
    padding: 12px 16px;
    color: #444;
    font-size: 14px;
    line-height: normal;
    border-radius: 0.4rem;
    background: #F0F4FF;
  }
  
  #lnb .sub-menu>li.select>a {
    color: #fff;
    font-weight: 500;
    background: var(--main);
  }

  #lnb .sub-menu>li:has(.sub-depth)>a::before {
		content: '';
		position: absolute;
    top: 50%;
		right: 14px;
		width: 10px;
		height: 2px;
		background: #ACBADE;
	}
	
  #lnb .sub-menu>li:has(.sub-depth)>a::after {
		content: '';
		position: absolute;
		right: 14px;
		top: 50%;
		width: 10px;
		height: 2px;
		background: #ACBADE;
		transform: rotate(90deg);
	}
  
  #lnb .sub-menu>li.select:has(.sub-depth)>a::before {
    background: #fff;
  }
  
  #lnb .sub-menu>li.select:has(.sub-depth)>a::after {
    display: none;
  }

  #lnb .sub-menu>li .sub-depth {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px;
  }
  
  #lnb .sub-menu>li.select .sub-depth {
    display: flex;
  }
  
  #lnb .sub-menu>li .sub-depth a {
    position: relative;
    display: block;
    padding-left: 8px;
    color: #444;
    font-size: 12px;
    line-height: normal;
  }
  
  #lnb .sub-menu>li .sub-depth a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--main);
  }

  #gnb {
    margin-right: 45px;
    gap: 0;
  }

  #gnb a {
    font-size: 0;
    line-height: 0;
  }

  footer .footer-top {
    flex-direction: column;
    gap: 1.8rem;
  }
  
  footer .footer-top .footer-family {
    width: 100%;
  }
  
  footer .footer-top .footer-family>div {
    flex: 1 1 auto;
  }

  footer .footer-top .footer-family button {
    width: 100%;
  }
}

/* min-mb */
@media screen and (max-width:500px) {
  body {
    background: none;
  }

  #ban {
    display: none;
  }
  
  footer {
    padding: 4rem 0;
  }

  footer .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  footer .footer-top .footer-family {
    flex-direction: column;
  }

  footer .footer-btm .footer-copy {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  footer .footer-btm>a {
    display: none;
  }

  footer .footer-btm .footer-copy .tel dd ul {
    justify-content: center;
  }
  
  footer .footer-btm .footer-copy .tel dd ul>li {
    font-size: 1.4rem;
  }

  footer .footer-btm .footer-copy p,
  footer .footer-btm .footer-copy address {
    font-size: 1.4rem;
  }
}
