#header {
  width: 100%;
  height: 120px;
  z-index: 300;
  position: absolute;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#header.active:after {
  height: 120px;
}

#header:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  background: #fff;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  -webkit-transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

#header_logo {
  position: absolute;
  z-index: 30;
  height: 120px;
  width: 240px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#header_logo .logo {
  line-height: 1;
  margin: 0;
  padding: 0;
  font-weight: 500;
  display: block;
  width: 86%;
  position: absolute;
  left: 18%;
  top: 50%;
  -ms-transform: translate(-13%, -50%);
  -webkit-transform: translate(-13%, -50%);
  transform: translate(-13%, -50%);
}

#header_logo a {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 90px;
  line-height: 1;
  justify-content: center;
  align-items: center;
  position: relative;
  display: flex;
  position: relative;
}

#header_logo img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: 100%;
  -webkit-transition: opacity 0.35s ease-in-out;
  transition: opacity 0.35s ease-in-out;
}

#header_logo .mobile_logo_image {
  display: none;
}

@media screen and (max-width: 1200px) {
  #header_logo a {
    margin: 0 auto;
    padding: 0;
    width: 50px;
    max-width: 200px;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #header_logo img {
    width: auto;
    height: 80%;
  }
}

#header_logo .pc_logo_image.type2 {
  display: none;
}

.global_menu > ul > li > a {
  padding: 0;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  height: 61px;
  display: inline-flex;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*align-items: center;*/
  justify-content: center;
}

.global_menu .menu > ul > li > a {
  padding: 0;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  height: 61px;
  display: inline-flex;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}
.global_menu > ul > li > a span.title {
  max-height: 1.1em;
  position: relative;
  overflow: hidden;
  display: block;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.global_menu > ul > li > a span.title_inner {
  display: block;
  position: relative;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.global_menu > ul > li > a span.main {
  display: block;
  line-height: 1.2;
}

.global_menu > ul > li > a span.sub {
  display: block;
  line-height: 1;
}

/*
#header .global_menu>ul>li>a:hover{
        color: #ff4000 !important;
}
*/

.global_menu > ul > li > a:hover span.title_inner,
.global_menu > ul > li.active_button > a span.title_inner,
.global_menu > ul > li.active > a span.title_inner {
  -webkit-transform: translate3d(0, -0.5em, 0);
  transform: translate3d(0, -1em, 0);
}

#global_menu_right.global_menu > ul > li > a,
#global_menu_right.global_menu .menu > ul > li > a,
#common_menu.global_menu > ul > li > a {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

#common_menu.global_menu > ul > li > a {
  border-top: none;
}

#header,
#header_logo,
.global_menu > ul > li > a,
#lang_button,
#header_sns,
#menu_button,
#index_news {
  border-color: rgba(255, 255, 255, 0.3);
}

body.use_header_fix #header {
  position: fixed;
  top: 0;
  left: 0;
}

body.use_header_fix.admin-bar #header {
  top: 32px;
}

.global_menu {
  width: 100%;
  height: 61px;
  z-index: 20;
}

#common_menu.global_menu {
  width: calc(100% - 0);
}
#common_menu.global_menu.search_on {
  width: calc(100% - 60px);
}

#global_menu_left {
  width: calc(50% - 120px);
  position: absolute;
  left: 0;
  bottom: 0;
}

.global_menu > ul,
.global_menu .menu > ul {
  position: relative;
  margin: 0;
  font-size: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.global_menu .menu > ul {
  flex-wrap: nowrap;
  overflow: hidden;
}

.global_menu > ul > li,
.global_menu .menu > ul > li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 1;
  text-align: center;
  font-size: 14px;
  -ms-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
}

.global_menu
  > ul
  > li:first-of-type
  > a
  .global_menu
  .menu
  > ul
  > li:first-of-type
  > a {
  border-left: none;
}

#global_menu_left.global_menu > ul > li:first-of-type > a,
#global_menu_left.global_menu .menu > ul > li:first-of-type > a {
  border-left: none;
}
/*
.global_menu>ul>li.current-menu-item>a {
    color: #ff4000 !important;
}

body.home .global_menu>ul>li.current-menu-item>a {
    color: #fff !important;
}
*/

.global_menu ul ul {
  display: none;
  width: 100%;
  min-width: 240px;
  position: absolute;
  top: 61px;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 9999;
}

.global_menu ul ul li {
  line-height: 1.5;
  padding: 0;
  margin: 0;
  text-align: left;
  position: relative;
  display: block;
}

.global_menu ul ul a {
  font-size: 14px;
  display: block;
  border: none;
  position: relative;
  padding: 14px 25px 12px;
  height: auto;
  line-height: 1.6;
  margin: 0;
}

.global_menu ul ul a {
  color: #fff;
  background: #000;
}

#global_menu_right {
  width: calc(50% - 120px);
  position: absolute;
  right: 0;
  bottom: 0;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-vertical .slick-slide {
  display: block;
  height: 24px;
  border: none;
}

#header_news {
  height: 24px;
  width: calc(50% - 120px);
  position: absolute;
  left: 0;
  top: 20px;
  overflow: hidden;
  z-index: 20;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

#header_news a {
  display: block;
  color: #fff;
  line-height: 1;
  padding: 4px 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#header_news a .date {
  font-size: 12px;
  float: left;
  width: 90px;
}

#header_news a .title {
  font-size: 14px;
  font-weight: 500;
  float: left;
  width: calc(100%);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  visibility: visible;
}

#header_right_top {
  height: 59px;
  width: calc(50% - 120px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#header_right_top {
  height: 59px;
  width: calc(50% - 120px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#header_button span.title {
  max-height: 1em;
  position: relative;
  overflow: hidden;
  display: block;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#header_button span.title_inner {
  display: block;
  position: relative;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

#header_button span.main {
  display: block;
}

#header_button span.sub {
  display: block;
}

#header_sns {
  z-index: 20;
  text-align: center;
  position: relative;
  /*border-left: 1px solid rgba(255, 255, 255, .3);*/
  padding: 0 10px;
  font-size: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header_sns li {
  display: inline-block;
  position: relative;
}

#header_sns li a {
  display: block;
  overflow: hidden;
  width: 30px;
  height: 59px;
  line-height: 59px;
  text-align: center;
  position: relative;
}

#header_sns li a:before {
  font-family: "design_plus";
  font-size: 20px;
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.clearfix:after {
  display: block;
  clear: both;
  content: "";
}

#lang_button {
  font-family: Arial !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 0 10px;
  font-size: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
}

#lang_button li {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
}

#lang_button li a {
  color: #fff;
  display: block;
  height: 59px;
  line-height: 59px;
  width: 30px;
}

#lang_button li.active a {
  opacity: 0.3;
  pointer-events: none;
}

#global_menu_button {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  /*display: block !important;*/
  font-size: 11px;
  width: 69px;
  height: 59px;
  line-height: 59px;
  text-decoration: none;
  text-align: center;
  z-index: 301;
}

@media screen and (min-width: 1202px) {
  #global_menu_button {
    display: none !important;
  }
}

#global_menu_button span {
  width: 22px;
  height: 2px;
  display: block;
  position: absolute;
  -webkit-transition-property: background-color;
  -webkit-transition-duration: 0.2s;
  -webkit-transition-timing-function: ease;
  transition-property: background-color;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

#global_menu_button span {
  background: #fff;
}

#header.active #global_menu_button span {
  background: #000;
}

#global_menu_button span:nth-child(1) {
  top: 24px;
  left: 24px;
}

#global_menu_button span:nth-child(2) {
  top: 30px;
  left: 24px;
}

#global_menu_button span:nth-child(3) {
  top: 36px;
  left: 24px;
}

#header.active,
#header.active #header_logo,
#header.active .global_menu > ul > li > a,
#header.active #lang_button,
#header.active #header_sns,
#header.active #global_menu_button,
body.header_fix_mobile #header #global_menu_button {
  border-color: #ddd;
}

#header.active #header_logo .logo a,
#header.active .global_menu > ul > li > a,
#header.active .global_menu .menu > ul > li > a,
#header.active #header_news a,
#header.active #header_button,
#header.active #menu_button:before,
body.header_fix_mobile #header #menu_button:before,
#header.active #header_sns li a:before,
#header.active #lang_button li a,
#header.active #header_search_button:before {
  color: #000;
}

#header.active,
#header.active #header_logo,
#header.active .global_menu > ul > li > a,
#header.active .global_menu .menu > ul > li > a,
#header.active #lang_button,
#header.active #header_sns,
#header.active #menu_button,
body.header_fix_mobile #header #menu_button {
  border-color: #ddd;
}

/* ドロワーメニュー */

.open_menu #drawer_menu {
  display: block;
  position: fixed;
  top: 0px;
  right: -400px;
  width: 400px;
  height: 100%;
  overflow: auto;
  z-index: 9999;
  -webkit-transition: right 300ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: right 300ms cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-overflow-scrolling: touch;
}

.open_menu #drawer_menu {
  right: 0;
  box-shadow: -5px 0 20px 0 rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 500px) {
  .open_menu #drawer_menu {
    right: -80%;
    width: 80%;
  }
}

#header_search {
  position: relative;
  right: 0px;
  top: 0px;
  width: 60px;
  height: 60px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header_search_button {
  margin: 0;
  position: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 2;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#header_search_button:before {
  display: block;
  font-family: "design_plus";
  color: #fff;
  font-size: 24px;
  content: "\e915";
  top: 0;
  left: 0;
  position: relative;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#header_search form {
  height: 60px;
  width: 240px;
  top: 10px;
}

@media screen and (max-width: 1201px) {
  .header_fix_mobile #header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);
  }
  body.use_mobile_header_fix #header {
    position: fixed;
  }
  #header.start:after {
    height: 60px;
    top: -60px;
  }
  #header_logo {
    height: 60px;
    width: calc(100% - 60px);
    border: none;
    text-align: center;
    left: calc(50% - 0px);
  }
  #header_logo .logo {
    width: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 500;
    display: block;
  }
  #header_logo .logo {
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .global_menu {
    display: none;
  }
  .global_menu {
    display: none;
  }
  #header_news {
    display: none;
  }
  #header_right_top {
    height: 60px;
    width: auto;
    display: block;
    z-index: 30;
  }
  body.use_header_fix #header:after {
    top: 0;
  }
  body.use_header_fix #header:after {
    height: 0;
  }
  body.use_header_fix #header.active:after {
    height: 60px;
  }
  #header_button {
    display: none;
  }
  #header_sns {
    display: none;
  }
  #header_search {
    display: none;
  }
  #menu_button {
    width: 60px;
    height: 60px;
    line-height: 60px;
    z-index: 300;
    border: none;
  }
}

@media screen and (max-width: 782px) {
  body.use_header_fix.admin-bar #header {
    top: 46px;
  }
}

.megamenu,
.megamenu.active_mega_menu {
  top: 120px;
}

.hover_right_top #header_right_top:hover ~ .megamenu {
  top: 60px !important;
}

.hover_right_top #header_right_top:hover ~ .megamenu.active_mega_menu {
  top: 60px !important;
  opacity: 1 !important;
}
.hover_right_top #header_right_top ~ .megamenu.active_mega_menu:hover {
  top: 60px !important;
  opacity: 1 !important;
}

/* 投稿ページ　header上広告表示対応
=================================== */

body.use_header_fix.admin-bar #single_banner_onheader {
  top: 32px;
}

body.use_header_fix.admin-bar #header.has-ad-area {
  top: 0;
}

body.use_header_fix.admin-bar #header.has-ad-area[style*="top"] {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.use_header_fix.admin-bar #single_banner_onheader {
    top: 46px;
  }
  body.use_header_fix.admin-bar #header.has-ad-area {
    top: 0;
  }
  body.use_header_fix.admin-bar #header.has-ad-area[style*="top"] {
    top: 46px !important;
  }
}

body.use_header_fix #header.has-ad-area {
  position: relative;
}

@media screen and (max-width: 1200px) {
  .mobile body.use_mobile_header_fix #header.has-ad-area,
  .mobile body.use_mobile_header_fix #header.has-ad-area.active {
    position: relative;
  }
  body.admin-bar.header_fix_mobile #header.has-ad-area {
    margin-top: 0;
  }
  .mobile body.admin-bar.header_fix_mobile {
  }
}

#single_banner_onheader {
  width: 100%;
  min-width: 1260px;
  height: 315px;
}

#single_banner_onheader a {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 315px;
  min-width: 1260px;
  max-width: 2400px;
  margin: 0 auto;
}

#single_banner_onheader a img {
  /* max-width: 1600px; */
  height: 315px;
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  #single_banner_onheader {
    width: 100%;
    height: auto;
    min-width: 0;
  }
  #single_banner_onheader a {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
  }
  #single_banner_onheader a img {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* メッセージ 表示位置調整。フッターに固定表示 */
#header_message {
  padding: 10px 0;
  position: fixed;
  z-index: 2000;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ヘッダーコンテンツ非表示時 */
.none-header_content {
  height: 120px;
  display: block;
}
@media screen and (max-width: 1200px) {
  .none-header_content {
    height: 60px;
    display: block;
  }
}
