#main {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1f5daa;
  overflow: hidden;
}
.main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#header {
  width: 100%;
  height: 60px;
  padding-top: 40px;
  color: #fff;
  box-sizing: content-box;
}
#header .container {
  position: relative;
  width: 90%;
  max-width: 1440px;
  height: 60px;
  margin: auto;
}
#header .container .logo {
  position: absolute;
  left: 0;
  bottom: -20px;
}
#header .container .logo h1 {
  display: inline-block;
}
#header .container .logo h1 a {
  display: block;
  width: 200px;
}
#header .container .logo h1 a img {
  width: 100%;
  vertical-align: bottom;
}
#header .container .logo h2 {
  display: inline-block;
  font-size: 18px;
  vertical-align: middle;
  margin-bottom: 20px;
}
#header .container .logo h2 span {
  font-weight: 700;
}
.nav-menu {
  position: absolute;
  right: 0;
  bottom: 0;
}
.nav-menu ul {

}
.nav-menu ul li {
  display: inline-block;
  margin-left: 60px;  
  position: relative;
  padding-bottom: 20px;
}

.nav-menu ul li a {
  color: #fff;
  font-size: 18px;
  padding:20px 0;
}
.nav-menu ul li a:first-child {
  margin-left: 0;
}
.nav-menu ul li .nav_2ul{
 display: none;
 position: absolute; 
 top:40px; 
 left:50%; 
 transform: translateX(-50%);
 background: #fff;
 border-radius: 5px;
 border-top: 3px solid #4999ff;
 transition: all 0.4s ease;
 z-index: 3;
 text-align: center;
}
.nav-menu ul li .nav_2ul:before{
  content: ""; position: absolute; top:-5px; left:calc(50% - 3px); width:10px; height: 10px; background: #4999ff; transform: rotate(45deg);

}
.nav-menu ul li:hover .nav_2ul{
 display:block;
 height:auto;
}
.nav-menu ul li .nav_2ul li {
  margin-left:0;
  width:100%;
  background-color: #fff;
  padding-bottom: 0;
  transition: all 0.4s ease;
}

.nav-menu ul li .nav_2ul li .nav_2ul_a {
 color:#1f5caa;
 padding: 10px 25px;
 display: block;
 transition: all 0.4s ease;
 font-size: 15px;
 text-align: center;
}
.nav-menu ul li .nav_2ul li:hover {
  background: #1f5caa;
}
.nav-menu ul li .nav_2ul li .nav_2ul_a:hover { 
 color:#fff
}


.menu-wrap button,
.menu-btn {
  background: none;
  border: none;
  position: absolute;
  top: 40px;
  right: 30px;
  font-size: 30px;
  display: none;
  z-index: 102;
  padding: 0;
  width: 40px;
  height: 40px;
}
.menu-wrap .close-btn {
  position: fixed;
}
.menu-wrap button img {
  width: 100%;
  vertical-align: top;
}

/*  mobile menu  */
#bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 2;
  display: none;
}
.header-m {
  width: 85%;
  max-width: 600px;
  height: 100%;
  z-index: 9;
  position: fixed;
  right: 0;
  top: 0;
  background: #fff;
  display: none;
}
.menu-header {
  position: relative;
  width: 100%;
  height: 120px;
  background: #1f5daa;
}
.menu-header h2 {
  height: 60px;
  font-size: 14px;
  color: #fff;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-header h2 img {
  height: 100%;
}
.menu-header h2 p {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.m-nav-menu .menu-list {
  width: 100%;
  margin-bottom: 0;
}
.m-nav-menu .menu-list > a {
  display: block;
  width: 100%;
  color: #191919;
  font-size: 28px;
  line-height: 1;
  padding: 33px 40px;
  border-bottom: 2px solid #1f5daa;
  text-align: left;
}
.m-nav-menu .menu-list a img {
  width: 100%;
}
.m-nav-menu .menu2 {
  height: 0;
  overflow: hidden;
  
}

.m-nav-menu .menu2.on {
  height: auto;
  transition: all 0.4s ease;
}
.m-nav-menu .menu2 ul {
  
}
.m-nav-menu .menu2 ul .menu-list2 {
  border-bottom: 1px solid #ddd;
}

.m-nav-menu .menu2 ul .menu-list2:last-child {  
  border-bottom: none;
}

.m-nav-menu .menu2 ul .menu-list2 a {
  color:#fff;
  padding:20px 40px;
  font-size: 24px;
  background : #00316f;
  text-align: left;
  display: block;
}

.m-nav-menu .menu21 {
  height: 0;
  overflow: hidden;
  
}

.m-nav-menu .menu21.on {
  height: auto;
  transition: all 0.4s ease;
}
.m-nav-menu .menu21 ul {
  
}
.m-nav-menu .menu21 ul .menu-list2 {
  border-bottom: 1px solid #ddd;
}

.m-nav-menu .menu21 ul .menu-list2:last-child {  
  border-bottom: none;
}

.m-nav-menu .menu21 ul .menu-list2 a {
  color:#fff;
  padding:20px 40px;
  font-size: 24px;
  background : #00316f;
  text-align: left;
  display: block;
}

.m-nav-menu .cs-menu a {
  display: block;
  position: relative;
  text-align: left;
}
.m-nav-menu .cs-menu a .toggle-btns {
  position: absolute;
  right: 40px;
  top: 33px;
  width: 30px;
  height: 30px;
}
.menu-up {
  display: none;
}

.list-wrap {
  display: none;
  padding: 22px 0;
  background: #8ab1e4;
}
.m-nav-menu .cs-menu .list-wrap .list a {
  color: #fff;
  padding: 15px 48px;
  font-size: 28px;
}
.m-nav-menu .cs-menu .list-wrap .list a:hover {
  color: #1f5caa;
}
.down-app {
  text-align: center;
}
.down-app h3 {
  font-size: 28px;
  color: #191919;
  text-align: center;
  margin: 59.3px auto 20px;
}
.down-app h3 p {
  font-size: 38px;
  font-weight: 700;
  display: inline;
}
.down-app a {
  display: inline-block;
  height: 86px;
}
.down-app a img {
  height: 100%;
}
/* End mobile menu */
/* Footer */
#footer {
  position: relative;
  width: 100%;
  background: #505050;
}
#footer .container {
  width: 80%;
  max-width: 1200px;
  margin: auto;
}
.foot-menu-wrap {
  width: 100%;
  height: 50px;
  padding: 15px 0;
  border-bottom: 1px solid #fff;
}
.foot-menu-wrap .container {
  display: flex;
  justify-content: space-between;
}
.foot-menu-wrap .foot-menu {
  display: flex;
}
.foot-menu-wrap .foot-menu a {
  margin-right: 39px;
  font-size: 16px;
  color: #fff;
}
.foot-menu-wrap .foot-menu a:last-child {
  margin-right: 0;
}
.foot-menu-wrap .sns-wrap {
  display: flex;
}
.foot-menu-wrap .sns-wrap .sns-img {
  margin-right: 15px;
}
.foot-menu-wrap .sns-wrap .sns-img:last-child {
  margin-right: 0;
}
.foot-menu-wrap .sns-wrap .sns-img p.on {
  display: none;
}
.foot-menu-wrap .sns-wrap .sns-img:hover p.on {
  display: block;
}
.foot-menu-wrap .sns-wrap .sns-img:hover p.off {
  display: none;
}
.foot-info-wrap {
  padding: 40px 0 43px;
}
.foot-info-wrap .container {
  display: flex;
}
.foot-info-wrap .foot-logo {
  margin-right: 43px;
  text-decoration: none;
}
.foot-info-wrap .foot-info {
  color: #fff;
  font-size: 16px;
  line-height: 1.38;
}
.foot-info-wrap .foot-info .copy-right {
  margin-top: 15px;
}
/* End Footer */

.check_box {width:50px}

@media (max-width: 1200px) {
  .nav-menu a {
    margin-left: 40px;
  }
}

@media (max-width: 1024px) {
  #header {
    padding-top: 25px;
  }
  #header .container .logo h2 {
    font-size: 16px;
  }
  #header .container .logo h1 a {
    width: 160px;
  }
  .nav-menu a {
    font-size: 16px;
    margin-left: 25px;
  }
  #footer .container {
    width: 90%;
  }
  .foot-menu-wrap .foot-menu a {
    font-size: 14px;
  }
  .foot-info-wrap .foot-logo {
    width: 25%;
  }
  .foot-info-wrap .foot-logo img {
    width: 100%;
  }
  .foot-info-wrap .foot-info {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  #header {
    padding-top: 20px;
  }
  .nav-menu {
    display: none;
  }
  .menu-wrap .menu-btn {
    display: block;
  }
}
@media (max-width: 480px) {
  #main,
  .main {
    height: auto;
  }
  #header {
    padding-top: 0;
  }
  #header .container {
    height: 50px;
  }
  #header .container .logo {
    bottom: -7px;
  }
  #header .container .logo h1 a {
    width: 110px;
  }
  #header .container .logo h2 {
    font-size: 10px;
    margin-bottom: 5px;
  }
  .menu-wrap button {
    top: 25px;
    right: 15px;
    width: 20px;
    height: 20px;
  }
  .menu-wrap .menu-btn {
    width: 28px;
    height: 28px;
  }
  .menu-header {
    height: 70px;
  }
  .menu-header h2 {
    height: 32px;
    font-size: 10px;
    left: 15px;
  }
  .menu-header button {
    top: 30px;
    right: 20px;
  }
  .menu-header .close-btn {
    width: 35px;
  }
  .m-nav-menu .menu-list > a {
    padding: 18px 25px;
    font-size: 18px;
  }

  .m-nav-menu .menu2 ul .menu-list2 a {
    font-size: 14px;
    padding: 14px 25px;
    
  }
  .m-nav-menu .menu21 ul .menu-list2 a {
    font-size: 14px;
    padding: 14px 25px;
    
  }
  


  .m-nav-menu .cs-menu a .toggle-btns {
    top: 17px;
    right: 20px;
    width: 20px;
    height: 20px;
  }
  .list-wrap {
    padding: 12px 0;
  }
  .m-nav-menu .cs-menu .list-wrap .list a {
    padding: 8px 33px;
    font-size: 18px;
  }
  .down-app h3 {
    font-size: 18px;
  }
  .down-app h3 p {
    font-size: 25px;
  }
  .down-app a {
    height: 46px;
  }
  #down-app {
    width: 15vw;
    height: 15vw;
    left: 5vw;
    bottom: 5vw;
  }
  #down-app a {
    width: 15vw;
    height: 15vw;
    line-height: 15vw;
    font-size: 2vw;
  }

  .foot-menu-wrap {
    height: 45px;
  }
  .foot-menu-wrap .foot-menu a {
    font-size: 12px;
    margin-right: 10px;
  }
  .foot-menu-wrap .sns-wrap .sns-img {
    width: 18px;
    margin-right: 10px;
  }
  .foot-menu-wrap .sns-wrap .sns-img img {
    width: 100%;
  }
  .foot-info-wrap {
    padding: 30px 0 33px;
  }
  .foot-info-wrap .container {
    display: block;
  }
  .foot-info-wrap .foot-logo {
    width: 35%;
    margin-bottom: 20px;
  }
  .foot-info-wrap .foot-info {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  #main,
  .main {
    height: auto;
  }
  #header .container .logo h2 {
    font-size: 12px;
  }
  .menu-header h2 {
    height: 28px;
  }

  .foot-menu-wrap .foot-menu a {
    font-size: 11px;
  }
  .foot-menu-wrap .sns-wrap .sns-img {
    width: 16px;
  }
}
@media (max-width: 320px) {
  #main,
  .main {
    height: auto;
  }
  #header .container .logo h2 {
    font-size: 10px;
  }

  .foot-menu-wrap .foot-menu a {
    font-size: 10px;
    margin-right: 8px;
  }
  .foot-menu-wrap .sns-wrap .sns-img {
    margin-right: 7px;
  }
  .foot-info-wrap .foot-info {
    font-size: 10px;
  }
}
