@charset "UTF-8";

/* global navi */
.fix-header {
  background-color: #fff;
/*  line-height: 28px;*/
  top: -66px;
  left: 0;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  position: fixed;
  opacity: 0;
  z-index: 1000;
}

.sp_menu {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  top: 22px;
  right: 15px;
  width: 35px;
  height: 22px;
  z-index: 10;
}

.sp_menu span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  z-index: 10;
}

.sp_menu span:nth-of-type(1) {
  top: 0px;
}

.sp_menu span:nth-of-type(2) {
  top: 10px;
}

.sp_menu span:nth-of-type(3) {
  bottom: 0px;
}

.sp_menu.active span {
  background-color: #333;
}

.sp_menu.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(45deg);
  transform: translateY(10px) rotate(45deg);
}

.sp_menu.active span:nth-of-type(2) {
  opacity: 0;
}

.sp_menu.active span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(-45deg);
  transform: translateY(-10px) rotate(-45deg);
}

#nav {
  top: 60px;
}

#nav.active {
  right: 0;
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
}

.nav-inner__block {
  padding: 0.5rem 1rem;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: block;
}

.mega_menu {
  margin: 0 auto;
  display: block;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.mega_menu>ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 15px;
  padding: 0;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin: 0 auto;
  list-style: none;
  background-position: right 12px;
  background-repeat: no-repeat;
  background-size: 1px 30px;
}

.mega_menu>ul.bg-p {
  background-position: right 16px;
}

.mega_menu>ul ul {
  margin: 0;
}

.mega_menu>ul>li {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  text-align: center;
  display: block;
  margin: 1em 0;
  background-image: url(../images/common/globalMenu_border.png);
  background-repeat: no-repeat;
  background-size: 1px 30px;
  background-position: 0 12px;
  margin-top: 0;
}

.mega_menu>ul>li:first-child {
  background-image: none;
}

.mega_menu>ul>li.m-0 {
  margin: 0 !important;
  background-position: 0;
}

.mega_menu>ul>li:hover .menu {
  -webkit-transition: max-height 1s ease-in;
  transition: max-height 1s ease-in;
  max-height: 9999px;
}

.mega_menu>ul>li>a {
  display: block;
  padding: 1em 0.25em 0.75em;
  width: 100%;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  color: #000;
  text-decoration: none;
  border-bottom: solid 1px #fff;
}

li.m-auto .dropdown-trigger {
  width: 100%;
}

li.m-auto .dropdown-trigger>a {
  display: block;
  padding: 1em 0.25em 0.75em;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  border-bottom: solid 3px #fff;
}

li.m-0 .dropdown-trigger>a {
  display: block;
  padding: 0.65rem 1.25rem;
  width: 100%;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  font-size: 15px;
  color: #1e1e1e;
  text-decoration: none;
  border-bottom: solid 3px #fff;
}

.mega_menu>ul>li.m-auto>a {
  padding: 0 1.25rem;
}

.mega_menu>ul>li.m-0>a {
  padding: 0.65em 1.25rem;
}

.mega_menu>ul>li>a:hover,
.mega_menu .dropdown-trigger a:hover {
  color: #111;
  border-bottom: solid 3px #ffffff;
}

.mega_menu>ul .menu {
  -webkit-transition: max-height 0.5s ease-out;
  transition: max-height 0.5s ease-out;
  max-height: 0;
  overflow: hidden;
  width: 100%;
  left: 0;
  text-align: center;
  position: absolute;
  background-color: #333333;
  z-index: 300;
}

.mega_menu>ul .menu .menu_inner {
  padding: 0.75em;
}

.mega_menu>ul .menu .menu_inner li {
  display: inline-block;
  font-weight: bold;
  padding: 0.2em 1.25em;
}

.mega_menu>ul .menu .menu_inner li>a {
  color: #fff;
}

/* Components - Dropdown */

.dropdown {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  position: relative;
  vertical-align: top;
  width: 100%;
}


.dropdown.is-active .dropdown-menu,
.dropdown.is-hoverable:hover .dropdown-menu {
  display: block;
}

.dropdown.is-right .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-menu {
  display: none;
  left: 0;
  min-width: 10rem;
  padding-top: 0;
  position: absolute;
  top: 100%;
  z-index: 20;

}

.dropdown-content {
  background-color: #be9c6d;
  transition: all .8s;
  -webkit-transition: all .8s;
}

.dropdown-item {
  color: #fff !important;
  display: block;
  font-size: 15px;
  line-height: 1.5;
  padding: 0.75rem 1.75rem 0.75rem 0.75rem !important;
  position: relative;
  border-bottom: solid 1px #ccc;
  transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
}

a.dropdown-item {
  padding-right: 3rem;
  white-space: nowrap;
  text-align: left;
}

a.dropdown-item::after {
  content: "\f054";
  display: inline-block;
  font: normal 14px/1 FontAwesome;
  width: 16px;
  height: 12px;
  color: #fff;
  position: absolute;
  top: 40%;
  right: 5px;
  font-size: 12px;
}

a.dropdown-item:hover {
  background-color: #76571B;
  color: #fff;
}

a.dropdown-item.is-active {
  background-color: #76571B;
  color: #fff;
}

.dropdown-divider {
  background-color: #dbdbdb;
  border: none;
  display: block;
  height: 1px;
  margin: 0.5rem 0;
}

.toggle_switch,
.no_switch {
  position: relative;
  cursor: pointer;
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid #ccc;
}

.toggle_switch.open {
  border-bottom: 1px solid #ccc;
}

.toggle_switch:hover {
  background-color: #eee;
}

.no_switch::after {
  content: "\f054";
  display: inline-block;
  font: normal 18px/1 FontAwesome;
  width: 18px;
  height: 12px;
  color: #999;
  position: absolute;
  top: 40%;
  right: 10px;
  font-size: 12px;
}

.toggle_switch::after {
  content: "\f078";
  display: inline-block;
  font: normal 18px/1 FontAwesome;
  width: 18px;
  height: 12px;
  color: #999;
  position: absolute;
  top: 40%;
  right: 10px;
  font-size: 12px;
}

.toggle_contents {
  display: none;
  padding: 0;
}

.toggle_contents ul {
  padding: 0;
  margin-bottom: 0;
}

.toggle_contents li {
  padding: 0.5rem 0.75rem;
  position: relative;
}

.toggle_contents li:last-child {
  border-bottom: none;
}

.nav-gray {
  color: #9fa0a0 !important;
}

.btn-normal {
    --text-opacity: 1;
    color: #fff;
    color: rgba(255, 255, 255, var(--text-opacity));
    border-width: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bg-lang{
  --bg-opacity: 1;
  background-color: #949baa;
  background-color: rgba(148, 155, 170, var(--bg-opacity));
}
