@charset "UTF-8";
body {
  overflow-x: hidden;
}

@media screen and (max-width: 1200px) {
  body {
    overflow-x: auto;
  }
}

#new_header {
  display: block;
  z-index: 999;
  background-color: rgb(255, 255, 255);
  top: 0;
  position: sticky;
  margin: 0 calc(50% - 50vw) 8px;
}

.l-header-top {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.l-header-top__left {
  align-items: flex-end;
  padding-top: 5px;
  display: flex;
}

/* サイトロゴ */
.l-header-top__logo {
  transition: .3s;
}

.l-header-top__logo:hover {
  opacity: 0.6;
}

.l-header-top__logo img {
  width: 100px;
  margin: 10px 25px 0 0;
}

/*DXpediaロゴ*/
.l-header-top__dxpedia {
  text-align: center;
  max-width: 150px;
  transition: .3s;
}

.l-header-top__dxpedia:hover {
  opacity: 0.6;
}

.l-header-top__dxpedia span {
  display: block;
  padding-bottom: 5px;
}

.l-header-top__dxpedia span a {
  font-weight: bold;
  color: #5e5e5e;
  font-size: 9px;
  letter-spacing: 0;
}

.l-header-top__right__top {
  display: flex;
}

.l-header-top__nav {
  display: flex;
  padding-top: 8px;
}

.l-header-top__nav a {
  transition: .3s;
}

.l-header-top__nav a:hover {
  opacity: .6;
}

.l-header-top__nav__item {
  margin-right: 28px;
}

.l-header-top__nav__item a {
  color: #333;
}

.l-header-top__nav__item-red a {
  color: #BE0533;
  font-weight: bold;
}

.l-header-top__right__under {
  display: flex;
  align-items: baseline;
  margin: 10px 0 0 auto;
  width: fit-content;
}

/* 検索ボックス */
.p_search {
  display: flex;
  height: 28px;
  margin-left: 10px;
}

.p_search__field {
  display: block;
  width: 240px;
  padding: 3px 0px 3px 5px;
  border: 2px solid #cccccc;
  border-right: none;
  border-radius: 3px 0 0 3px;
  box-shadow: none;
}

.p_search__field:focus {
  box-shadow: transparent;
}

.p_search__btn {
  display: block;
  width: 16px;
  padding: 6px;
  border-radius: 0 3px 3px 0;
  box-shadow: none;
  background-color: #5e5e5e;
}

/* Twitterロゴ */
.l-header-top .header_x {
  width: 25px;
  height: 25px;
  transition: 0.3s;
}

.l-header-top .header_x:hover {
  opacity: 0.6;
}

/* 右上バナー */
.l-header-top__banner {
  text-align: center;
  width: 170px;
  line-height: 2.5;
  box-shadow: #777 1px 1px 5px;
  border-radius: 0 0 5px 5px;
  background-color: #BE0533;
  transition: 0.3s;
}

.l-header-top__banner a {
  border-radius: 0 0 5px 5px;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;

}

.l-header-top__banner a::before {
  content: url(../img/icon_mail.svg);
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
}

.l-header-top__banner:hover {
  opacity: 0.6;
}

/* ナビゲーション */
.menu_wrapper {
  background-color: #e8e8e8;
  height: 30px;
  box-shadow: rgba(51, 51, 51, 0.168) 5px 5px 5px;
  margin-top: 15px;
  text-align: left;
}

.l-header-btm-nav {
  width: 1200px;
  margin: 0 auto;
  display: flex;
}

.l-header-btm-nav__item {
  width: calc(100%/5);
  line-height: 30px;
  text-align: center;
  border-right: 2px solid #fff;
}

.l-header-btm-nav__item:last-child {
  border-right: none;
}

.l-header-btm-nav__item__link {
  display: block;
  color: #333;
  font-weight: bold;
}

.l-header-hover {
  position: absolute;
  width: 100%;
  left: 0;
  background: rgba(51, 51, 51, .9);
  visibility: hidden;
  opacity: 0;
  padding: 40px 0;
  text-align: left;
  transition: .3s;
}

.l-header-hover_wrapper {
  width: 780px;
  margin: 0 auto;
}

.l-header-btm-nav__item:hover .l-header-btm-nav__item__link {
  background: #BE0533;
  color: #fff;
}

.l-header-btm-nav__item:hover .l-header-hover {
  visibility: visible;
  opacity: 1;
}

.l-header-hover__ttl {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: block;
  width: 400px;
  text-align: left;
}

.l-header-hover__ttl span {
  font-size: 14px;
  font-weight: normal;
  font-family: serif;
  margin-left: 20px;
}

.l-header-hover__box {
  display: flex;
}

.l-header-hover__box__item {
  margin-right: 50px;
}

.l-header-hover__box__btn {
  display: block;
  width: 180px;
  color: #fff;
  background: #BE0533;
  border-radius: 100vh;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  box-shadow: 2px 3px 2px #333;
  transition: .3s;
}

.l-header-hover__box__btn:hover {
  background: #fff;
  color: #BE0533;
}

.l-header-hover__subttl {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.l-header-hover__link {
  color: #fff;
}

.l-header-hover__link:hover {
  opacity: .6;
}

.l-header-hover__link::before {
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 10px;
  background: url(../img/arrow_w.svg);
  vertical-align: middle;
}

li:has(>.l-header-hover__link) {
  line-height: 2;
}

.l-header-hover__link--child {
  display: block;
  margin-left: 25px;
}

.l-header-hover__link--child a {
  color: #fff;
}

.l-header-hover__link--child a:hover {
  opacity: .6;
}

.sp {
  display: none;
}

@media screen and (max-width:768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .l-header-top__logo {
    margin-right: 15px;
  }

  .l-header-top__logo img {
    margin: 0;
    width: 80px;
  }

  .l-header-top__logo a {
    width: 100%;
    height: 100%;
    display: block;
  }

  .l-header-top__left {
    align-items: baseline;
    padding: 10px 0 0 10px;
  }

  .l-header-top__right {
    display: flex;
  }

  .l-header-top__banner {
    border-radius: 0;
    box-shadow: none;
    line-height: 50px;
    width: fit-content;
    padding: 0 20px;
  }

  .l-header-top .header_x {
    display: none;
  }

  .l-header-sp__search {
    display: block;
    background: #5e5e5e;
    width: 50px;
    text-align: center;
    line-height: 50px;
  }

  .l-header-sp__search img {
    width: 18px;
    padding-top: 14px;
    vertical-align: sub;
  }

  .l-header-top__right__under {
    position: absolute;
    top: 50px;
    right: 0;
    margin: 0;
    background: rgba(51, 51, 51, .9);
    width: 100%;
    padding: 15px;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
  }

  .l-header-top__right__under.is-show {
    visibility: visible;
    opacity: 1;
  }

  .l-header-top {
    width: 100%;
  }

  .p_search__field {
    width: auto;
    background: #fff;
  }

  .p_search {
    margin-left: 0;
  }

  /*レスポンシブ用デザイン変更*/
  #new_header{
    display: flex;
  }

  .menu_wrapper {
    margin-top: 0px;
    background: transparent;
    box-shadow: none
  }

  .l-header-btm-nav {
    width: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 50px;
    left: 0;
    transition: .3s;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
  
  .l-header-btm-nav.active{
    opacity: 1;
    visibility: visible;
  }

  .l-header-btm-nav__item {
    text-align: left;
    border-right: none;
  }

  .l-header-btm-nav__item__link{
    color: #fff;
    padding-left: 15px;
  }

  .l-header-nav01::after,.l-header-nav02::after,.l-header-nav03::after,.l-header-nav04::after{
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 15px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .l-header-hover{
    display: none;
  }

  .l-header-hover.is-show{
    display: block;
    position: static;
    padding: 0;
    background: #7d011a;
    opacity: 1;
    visibility: visible;
  }

  .l-header-hover__box{
    display: block;
  }

  .l-header-hover__box__item{
    margin-right: 0px;
  }

  .l-header-hover__subttl{
    display: none;
  }

  .l-header-hover_wrapper{
    width: auto;
  }

  li:has(>.l-header-hover__link){
    line-height: 3.5;
    border-bottom: 1px solid #fff;
  }

  li:has(>.l-header-hover__box__btn){
    line-height: 3.5;
    border-bottom: 1px solid #fff;
  }

  .l-header-hover__link{
    display: block;
    width: 100%;
    padding-left: 15px;
  }

  .l-header-hover__box__btn{
    width: 100%;
    background: transparent;
    border-radius: 0;
    line-height: 3.5;
    text-align: left;
    margin-bottom: 0;
    box-shadow: none;
    padding-left: 15px;
  }

  .l-header-hover__box__btn::before,.l-header-sp__img::before{
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 10px;
    background: url(../img/arrow_w.svg);
    vertical-align: middle;
  }

  .l-header-hover__link--child{
    margin-left: 0px;
  }

  .l-header-hover__link--child a{
    display: block;
    width: 100%;
    padding-left: 35px;
  }

  .l-header-sp__img{
    width: 100%;
    color: #fff;
    padding-left: 15px;
    line-height: 3.5;
    border-bottom: 1px solid #fff;
  }

  .menu-parent {
    line-height: 48px;
    font-size: 16px;
    font-weight: bold;
    background-color: #BE0533;
    width: 100%;
    border-bottom: 1px solid #DDD;
  }

  .menu-parent:first-child {
    border-top: 1px solid #DDD;
  }

  .menu-parent .menu-child {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin-left: -40px;
    width: auto;
    box-sizing: border-box;
    padding: 0px 20px;
    background-color: #FFF;
    border: 1px solid #000;
  }

  /* 子メニュー */
  .menu-parent .menu-child {
    border-top: 1px solid #DDD;
    padding: 0 20px;
    transition: .3s;
  }

  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn {
    /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    position: relative;
    background: #dfe8e6;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*ボタン内側*/
  .openbtn span {
    display: inline-block;
    transition: all .3s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #5e5e5e;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 13px;
  }

  .openbtn span:nth-of-type(2) {
    top: 19px;
  }

  .openbtn span:nth-of-type(3) {
    top: 25px;
  }

  .openbtn span:nth-of-type(3)::after {
    content: "Menu";
    /*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 5px;
    left: -2px;
    color: #5e5e5e;
    font-size: 0.6rem;
    text-transform: uppercase;
  }

  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

  .openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(3)::after {
    content: "Close";
    /*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top: 5px;
    left: 4px;
  }
}