.hbg-menu .only-side {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 112px;
  padding: 0 140px 0 48px;
  border-bottom: 1px solid #E6E6E6;
  box-sizing: border-box;
}
.header-btn-wrap {
  display: flex;
}
.header-login-btn {
  margin-right: 10px;
}
.header-nav-btn {
  margin: 0 0 0 auto;
}
.header-login-btn a,
.header-nav-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 2px solid #E6E6E6;
  border-radius: 40px;
  font-weight: bold;
  background: #fff;
}
.header-nav-btn a:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 0 0 8px;
  background: url(/upload/static/icon-arrow-03.svg) no-repeat 0 0;
  background-size: 16px;
}
.header-logo > a > img {
  max-height: 80px;
}
.menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 26px;
  right: 48px;
  width: 60px;
  height: 60px;
  line-height: 1;
  border-radius: 100%;
  color: #fff;
  font-size: 10px;
  background: #333;
  cursor: pointer;
  z-index: 201;
}
.menu-btn-line {
  width: 24px;
  margin: 0 0 4px;
}
.menu-btn-line span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 0 5px;
  background: #fff;
  transition: .3s;
}
.menu-btn-line span:nth-child(3) {
  width: 16px;
}
.menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  width: 24px;
  transform: translateY(-6px) rotate(-45deg);
}
.hbg-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  overflow: auto;
  background: #fff;
  z-index: 200;
}
.hbg-menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}
.hbg-menu-logo {
  width: 35.90909090909091%;
  text-align: center;
}
.hbg-menu-logo img {
  width: auto;
  max-width: 314px;
  height: auto;
  max-height: 100px;
}
.hbg-menu-logo .header-nav-btn {
  margin: 56px 0 0;
}
.hbg-menu-logo .header-nav-btn a {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  border: 2px solid #E6E6E6;
  border-radius: 40px;
  font-weight: bold;
  background: #fff;
}
.hbg-menu-logo .header-nav-btn a:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 0 0 8px;
  background: url(/upload/static/icon-arrow-03.svg) no-repeat 0 0;
  background-size: 16px;
}
.hbg-menu-nav-01 {
  flex: 1;
  margin: 0 0 0 80px;
}
.hbg-menu-nav-01-ttl {
  line-height: 1.5;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: bold;
  font-family: "Poppins";
}
.hbg-menu-nav-01-nav + .hbg-menu-nav-01-ttl {
  margin-top: 40px;
}
.hbg-menu-nav-01-nav {
  border-top: 1px solid #333;
}
.hbg-menu-nav-01-nav li a {
  display: block;
  position: relative;
  padding: 24px 40px 24px 0;
  color: inherit;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}
.hbg-menu-nav-01-nav li a span {
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
}
.hbg-menu-nav-01-nav li a:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transform: scale(1, 1);
  transform-origin: right top;
  transition: .3s;
}
.hbg-menu-nav-01-nav li a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 18px;
  height: 10px;
  background: url(/upload/static/icon-arrow-02.svg) no-repeat 0 0;
  background-size: 18px 10px;
  transform: translateY(-50%);
  transition: .3s;
}
.hbg-menu-nav-01-sns {
  display: flex;
  align-items: center;
}
.hbg-menu-nav-01-sns li {
  margin: 0 40px 0 0;
}
.hbg-menu-nav-01-sns li a {
  display: flex;
  align-items: center;
}
.hbg-menu-nav-01-sns li a:hover {
  text-decoration: none;
}
.hbg-menu-nav-01-sns li a img {
  display: block;
  width: 36px;
  margin: 0 16px 0 0;
}
.hbg-menu-nav-01-sns li.x a img {
  width: 34px;
}
.hbg-menu-nav-01-sns li a span {
  display: inline-block;
  position: relative;
}

@media screen and (min-width: 768px) {
  .header-nav-btn a:hover {
    background: #E6E6E6;
  }
  .menu-btn:hover .menu-btn-line span:nth-child(3) {
    width: 24px;
  }
  .hbg-menu-logo .header-nav-btn a:hover {
    background: #E6E6E6;
  }
  .hbg-menu-nav-01-nav li a:hover:before{
    transform: scale(0, 1);
  }
  .hbg-menu-nav-01-sns li a span:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .3s;
  }
  .hbg-menu-nav-01-sns li a:hover span:after {
    transform: scale(1, 1);
  }
}

@media screen and (max-width: 767px) {
  .header-login-btn a {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    margin-right: 40px;
    border: 2px solid #E6E6E6;
    border-radius: 40px;
    font-weight: bold;
    background: #fff;
    font-size: 12px;
}

  .header-inner {
    height: 56px;
    padding:0 16px;
  }
  .header-logo > a > img {
    max-width: calc(100vw - 120px);
    max-height: 40px;
  }
  .header-nav {
    display: none !important;
  }
  .menu-btn {
    top: 8px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 8px;
  }
  .menu-btn-line {
    width: 16px;
  }
  .menu-btn-line span {
    width: 16px;
    margin: 0 0 3px;
  }
  .menu-btn-line span:nth-child(3) {
    width: 12px;
  }
  .menu-btn.is-open span:nth-child(3) {
    width: 16px;
    transform: translateY(-2px) rotate(-45deg);
  }
  .hbg-menu {
    top: 56px;
    right: 0;
    height: calc(100vh - 56px);
  }
  .hbg-menu-inner {
    display: block;
    min-height: inherit;
    padding: 16px 16px 64px;
  }
  .hbg-menu-logo {
    display: none;
  }
  .hbg-menu-nav-01 {
    margin: 0 0 24px;
  }
  .hbg-menu-nav-01-ttl {
    margin: 0 0 16px;
  }
  .hbg-menu-nav-01-nav li {
    width: auto;
    margin: 0;
  }
  .hbg-menu-nav-01-nav li a {
    padding: 16px 0;
    font-size: 16px;
  }
  .hbg-menu-nav-01-nav li a:after {
    top: 50%;
    transform: translateY(-50%);
  }
  .hbg-menu-nav-01-nav li a span {
    font-size: 12px;
  }
  .hbg-menu-nav-01 .header-nav-btn {
    display: block !important;
    margin: 40px 0 0;
  }
  /* .hbg-menu-nav-01-sns {
    display: block;
  } */
  .hbg-menu-nav-01-sns li {
    margin: 0 0 16px;
  }
}

/*---------------- top side
----------------------------------------*/
.top .header-side {
  top: 0;
}
.header-side {
  max-width: 1400px;
  margin: 0 auto;
  z-index: 50;
}
.side {
  position: absolute;
  left: 0;
  width: 220px;
  max-height: 80vh;
}
.detail .side {
  top: 140px;
  z-index: 1;
}

.side-ttl {
  line-height: 1.5;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: bold;
  font-family: "Poppins";
}
.side-nav {
  margin: 0 0 40px;
}
.side-nav > ul > li > a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 0;
}
.side-nav > ul > li > a:hover {
  text-decoration: none;
}
.side-nav > ul > li.is-active {
  background: #F6F6F6;
}
.side-sns li {
  margin: 0 0 24px;
}
.side-sns li a {
  display: flex;
  align-items: center;
}
.side-sns li a:hover {
  text-decoration: none;
}
.side-sns li a img {
  display: block;
  width: 36px;
  margin: 0 16px 0 0;
}
.side-sns li.x a img {
  width: 34px;
}
.side-sns li a span {
  display: inline-block;
  position: relative;
}
.megamenu {
  display: none;
}
.megamenu-overlay {
  display: none;
}

@media screen and (max-width: 1480px) {
  .header-side {
    width: 260px;
    left: 40px;
  }
  .side {
    left: 40px;
  }

}

@media screen and (min-width: 768px) {
  .side-nav > ul > li:hover > a {
    background: #F6F6F6;
  }
  .side-sns li a span:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .3s;
  }
  .side-sns li a:hover span:after {
    transform: scale(1, 1);
  }
  /* .megamenu {
    position: fixed;
    top: 0;
    bottom: -100vh;
    left: auto;
    width: 1180px;
    margin-left: 220px;
    padding: 80px 64px;
    background: #F9F9F9;
    z-index: 300;
  }
  .megamenu-ttl {
    margin: 0 0 24px;
    font-weight: bold;
  }
  .megamenu-nav {
    display: flex;
    flex-wrap: wrap;
  }
  .megamenu-nav li {
    position: relative;
    margin: 0 16px 0 0;
  }
  .megamenu-nav li:last-child {
    margin: 0;
  }
  .megamenu-nav li:empty {
    display: none;
  }
  .megamenu-nav li a {
    display: block;
    padding: 2px 16px;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    font-size: 12px;
    background: #F6F6F6;
  } */
  /* .megamenu-nav li.is-active a {
    color: #fff;
    background: #333;
  }
  .megamenu-nav li a:hover {
    text-decoration: none;
  }
  .megamenu-nav li a:empty {
    display: none;
  }
  .megamenu-nav li a:hover {
    color: #fff;
    background: #333;
    text-decoration: none;
  }
  .megamenu-overlay {
    position: fixed;
    top: 0;
    left: auto;
    bottom: -100vh;
    width: 100vw;
    margin-left: 220px;
    background: rgba(0, 0, 0, .35);
    z-index: 200;
  } */
}

@media screen and (max-width: 767px) {
  .side {
    display: none;
    left: 0;
    position: static;
    width: auto;
    margin: 0 16px;
  }
  .post {
    margin-right: 0!important;
  }
  .side-sns li a {
    display: flex;
  }

}
.side .only-header {
  display: none;
}