.translated-ltr header br {
  display: none;
}


body {
  position: relative;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}
.nav-on {
  background: #e85400;
}
.nav-on > a:hover {
  color: #fff !important;
}
.nav-on:hover > a {
  color: #fff !important;
}
.header-hamburger {
  display: none;
}
header {
  background-color: #000;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.header-gnav {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  height: 75px;
}
.header-logo {
  width: 180px;
}
.logo-img {
  width: 100%;
  height: auto;
}
.nav-items > a {
  color: #fff;
  display: block;
  text-align: center;
  padding: 0px 10px;
  line-height: 75px;
  font-weight: 600;
  transition: color 0.3s;
}
.g-nav {
  display: flex;
  height: 75px;
}
.nav-items a:hover {
  color: #e85400;
}

.mega-nav {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  background-color: #fff;
  top: 75px;
  left: 0;
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.1s ease;
  max-height: 70vh;
  overflow-y: auto;
}
.mega-nav-products {
  height: 600px;
}
.mega-nav-download {
  height: 250px;
}
.mega-nav-csr,
.mega-nav-company {
  height: 250px;
}

.mega-nav-contents-download,
.mega-nav-contents-products {
  max-width: 1200px;
}
.mega-nav-contents-csr,
.mega-nav-contents-company {
  max-width: 800px;
}
.mega-nav-contents {
  margin: auto;
  padding: 20px 0;
  position: relative;
  font-weight: 500;
  height: 100%;
}
.mega-nav-contents-top-link {
  width: 100%;
  border-bottom: #ddd solid 1px;
  padding: 0 15px 5px;
}

.sub-nav-1,
.sub-nav-2,
.sub-nav-3 {
  position: absolute;
  top: 60px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.05s ease;
  padding: 15px 0;
}
.sub-nav-1 {
  opacity: 1;
  left: 0;

  border-left: #ddd solid 1px;
  border-right: #ddd solid 1px;
}
.sub-nav-2,
.sub-nav-3 {
  width: 100%;
  height: 100%;
  left: 100%;
  top: 0;
}
.sub-nav-2 {
  margin-left: 1px;
}
.sub-nav-1-products {
  width: 33.33333%;
}
.sub-nav-1-download {
  width: 50%;
}
.sub-nav {
  width: 800px;
  display: flex;
  background-color: #fff;
  opacity: 1;
  padding: 15px 0;
  margin: 0 auto;
}
.sub-nav-csr,
.sub-nav-company {
  width: 33.33333%;
  border-right: #ddd solid 1px;
  color: #4b4b4b;
  text-align: center;
}
.sub-nav-csr-1,
.sub-nav-company-1 {
  border-left: #ddd solid 1px;
}
.sub-nav-csr-link,
.sub-nav-company-link {
  display: block;
  margin: 10px;
  padding: 15px 0 10px;
  border-radius: 10px;
  transition: background-color 0.3s;
}
.sub-nav-csr-link:hover,
.sub-nav-company-link:hover {
  background-color: #dbdbdb;
}
.sub-nav-link-icon {
  width: 100px;
  height: 100px;
}
.sub-nav-link-txt {
  font-size: 1.1rem;
  font-weight: 600;
}

.sub-nav-1-products::before,
.sub-nav-1-products::after,
.sub-nav-1-download::before {
  content: '';
  border-right: #ddd solid 1px;
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  z-index: 1;
}
.sub-nav-1-products::before,
.sub-nav-1-download::before {
  left: 200%;
}
.sub-nav-1-products::after {
  left: 300%;
}
.mega-nav:hover .sub-nav-1-products::before,
.mega-nav:hover .sub-nav-1-products::after,
.mega-nav:hover .sub-nav-1-download::before {
  border-right: #ddd solid 1px;
}

/* メニュー1はメガメニュー全体と一緒に表示 
.mega-nav:hover,
.nav-items:hover .mega-nav,
.mega-nav:hover .sub-nav-1,
.nav-items:hover .mega-nav .sub-nav-1 {
  opacity: 1;
  visibility: visible;
}
*/
/* 変更後（新）: bodyにno-hover-initがついている間はこのルールが効かない */
body:not(.no-hover-init) .mega-nav:hover,
body:not(.no-hover-init) .nav-items:hover .mega-nav,
body:not(.no-hover-init) .mega-nav:hover .sub-nav-1,
body:not(.no-hover-init) .nav-items:hover .mega-nav .sub-nav-1 {
  opacity: 1;
  visibility: visible;
}


/* リストアイテムの調整 */
.mega-nav .sub-nav-1 li, 
.mega-nav .sub-nav-2 li, 
.mega-nav .sub-nav-3 li {
  list-style: none;
  margin: 0;
  line-height: 1.15rem;
}

.mega-nav .sub-nav-1 li > a, 
.mega-nav .sub-nav-2 li > a, 
.mega-nav .sub-nav-3 li > a {
  display: flex;
  padding: 10px 15px;
  align-items: center;
}

.menu-link::after {
  content: '';
  background-image: url('https://artray.co.jp/image/next.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 10px;
  height: 10px;
  margin-left: auto;
}

.mega-nav-li-items:hover > a,
.mega-nav-li-items:focus > a {
  color: #e85400;
  border-left: 2px solid #e85400;
  background-color: #f7f7f7;
}
.mega-nav-li-items:focus,
.nav-items:hover > a,
.nav-items:focus > a {
  color: #e85400;
}



@media screen and (max-width: 1280px) {

.header-hamburger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 20px;
}
.header-gnav {
  display: none;
}

a {
  text-decoration: none;
}
.hamburger {
  display: block;
  height: 75px;
  margin-left: auto;
  position: relative;
  z-index: 10;
  width: 60px;
  border: none;
  background-color: transparent;
}
.hamburger.-active .hamburger__line {
  background-color: transparent;
}
.hamburger.-active .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger.-active .hamburger__line::after {
  top: 0;
  transform: rotate(-45deg);
}
.hamburger.-active .hamburger__text::before {
  content: 'close';
}
.hamburger__line {
  display: block;
  height: 2px;
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  background-color: #fff;
  transition: 0.4s;
}
.hamburger__line:before,
.hamburger__line:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  background-color: #fff;
  transition: inherit;
}
.hamburger__line:before {
  top: -10px;
}
.hamburger__line:after {
  top: 10px;
}
.hamburger__text {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}
.hamburger__text::before {
  content: "menu";
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.header__nav-area {
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 9;
  height: 100vh;
  width: 100%;
  visibility: hidden;
  margin-top: 75px;
  background-color: #000;
  transition: 0.4s;
}
.header__nav-area.-active {
  left: 0;
  visibility: visible;
  overflow-y: scroll;
}
.global-navigation {
  padding-top: 40px;
  padding-right: 25px;
  padding-bottom: 250px;
  padding-left: 25px;
}
.global-navigation__list > li {
  border-bottom: 2px solid #e7e9ee;
}
.global-navigation__list > li a:hover {
  color: #e85400;
}
.global-navigation__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  transition: color 0.4s;
  font-size: 0.875rem;
  padding: 20px;
}
.global-navigation__link.-accordion {
  position: relative;
  background: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}
.global-navigation__link.-accordion::after {
  content: '';
  display: block;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 5px;
  width: 2px;
  background-color: #ed3242;
  transform: translateY(-50%);
  transition: transform 0.4s;
}
.global-navigation__link.-accordion::before {
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  background-color: #ed3242;
  transform: translateY(-50%);
  
}
.global-navigation__link.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}
.accordion {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.4s;
}
.accordion.-active {
  height: auto;
  visibility: visible;
}
.accordion__list li {
  font-size: 0.75rem;
  text-align: center;
  padding: 15px;
}
.accordion__link {
  color: #fff;
  display: flex;
  justify-content: center;
}
}

@media screen and (max-width: 600px) {

  .header-hamburger {
    height: 50px;
    margin-left: 10px;
  }
  .header-logo {
    width: 150px;
  }
  .hamburger {
    height: 50px;
    width: 50px;
  }
  .hamburger__line {
    top: 20px;
  }
  .hamburger__text {
    bottom: 2px;
  }
  .header__nav-area {
    margin-top: 50px;
  }
}



/* 言語切り替えの共通スタイル */
.header__inner {
  display: flex;
}
.lang-switch {
  color: #fff;
  margin: auto 1rem;
  list-style: none;
}
.lang-switch a {
  text-decoration: none;
}
.lang-switch .active {
  font-weight: 700;
  cursor: default;
}
