#jg-hd {
  position: absolute;
}

.hgroup-wrap {
  display: table;
  width: 100%;
  overflow: hidden;
}

.hgroup {
  display: table-cell;
  width: 100%;
  height: 32rem;
  padding-top: 60px;
  background: url("../images/sub_visual_m_01.jpg") center center/cover no-repeat;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  -webkit-animation: visual-ani 1.6s both;
          animation: visual-ani 1.6s both;
}

.sub-h2 {
  font-size: 5.2rem;
}

.sub-h2-desc {
  position: relative;
  display: inline-block;
  padding: 0 0.5rem;
  z-index: 1;
}

.desc-line {
  position: absolute;
  left: 0;
  top: 60%;
  width: 100%;
  height: 50%;
  z-index: -1;
  background-color: #ccc;
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-animation: line-ani 0.5s linear 0.5s both;
          animation: line-ani 0.5s linear 0.5s both;
}

#jg-main-container {
  min-height: 100rem;
}

.lnb-container {
  position: relative;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  z-index: 99;
}
.lnb-container.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.lnb-wrap {
  position: relative;
  height: 4.5rem;
  padding: 0;
}
.lnb-wrap a {
  display: block;
  line-height: 4.5rem;
}
.lnb-wrap button {
  overflow: hidden;
  text-indent: -9999em;
  background-color: transparent;
}
.lnb-wrap button, .lnb-wrap .btn-home {
  display: none;
  width: 7rem;
  height: 7rem;
  border: 1px solid #ddd;
  border-width: 0 1px;
  padding-top: 0.6rem;
  text-align: center;
}

.material-symbols-outlined {
  font-size: 2.4rem;
}

.lnb {
  position: absolute;
  top: 0;
  width: 50%;
  height: 4.5rem;
  overflow: hidden;
}
.lnb.active {
  height: auto;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.lnb a {
  padding: 0 1rem;
}
.lnb a:hover, .lnb .lnb-btn:hover .active a {
  background-color: rgba(0, 0, 0, 0.04);
}
.lnb .active a {
  position: relative;
}
.lnb .active a:after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.6rem 0.4rem 0;
  border-color: transparent;
  border-top-color: #666;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.lnb-depth1 {
  left: 0;
  background-color: #fff;
}

.lnb-depth2 {
  left: 50%;
}
.lnb-depth2 .active a:after {
  border-top-color: #fff;
}
.lnb-depth2 li a {
  color: #fff;
}

.txt-size-wrap {
  position: absolute;
  top: 0;
  right: 0;
  height: 7rem;
}
.txt-size-wrap button {
  position: relative;
  float: left;
  border-right-width: 0;
}
.txt-size-wrap .txt-size-plus-btn:before, .txt-size-wrap .txt-size-plus-btn:after, .txt-size-wrap .txt-size-minus-btn:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 0.2rem;
  background-color: #666;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.txt-size-wrap .txt-size-plus-btn:after {
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
          transform: translate(-50%, -50%) rotate(90deg);
}
.txt-size-wrap .txt-reset-btn {
  border-right-width: 1px;
  text-indent: 0;
  color: #666;
  font-weight: bold;
  font-size: 1.8rem;
}

@media screen and (max-width: 767px) {
  .lnb-wrap {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 768px) {
  .hgroup {
    height: 40rem;
  }
  .lnb-wrap {
    height: 5.4rem;
  }
  .lnb-wrap a {
    line-height: 5.4rem;
  }
  .lnb {
    height: 5.4rem;
  }
}
@media screen and (min-width: 1024px) {
  .lnb-wrap {
    height: 7rem;
  }
  .lnb-wrap a {
    line-height: 7rem;
  }
  .lnb-wrap button, .lnb-wrap .btn-home {
    display: block;
  }
  .lnb {
    width: 25rem;
    height: 7rem;
    font-size: 1.7rem;
  }
  .lnb a {
    padding: 0 2rem;
    line-height: 5.4rem;
  }
  .lnb .active a {
    line-height: 7rem;
  }
  .lnb .active a:after {
    right: 2rem;
  }
  .lnb-depth1 {
    left: 7rem;
  }
  .lnb-depth2 {
    left: 32rem;
  }
}
@-webkit-keyframes visual-ani {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  70% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
  to {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes visual-ani {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  70% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
  to {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes line-ani {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}
@keyframes line-ani {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}