@charset "UTF-8";

.flex{
  display: flex;
  justify-content: space-between;
}
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;
}
@media screen and (max-width: 980px) {
  #new_header {
    margin: 0 0 8px;
  }
}
.top_block{
  width: 980px;
  margin: 0 auto;
  position: relative;
  padding-top: 5px;
}
.top_block .flex{
  align-items: flex-end;
}

/* サイトロゴ */
.top_block h1 img{
  width: 100px;
  margin: 10px 25px 0 0;
}
/*DXpediaロゴ*/
.header_logo_dxpedia{
  text-align: center;
  max-width: 150px;
  transition:.3s;
}
.header_logo_dxpedia:hover{
  opacity: 0.6;
}
.header_logo_dxpedia span{
  display:block;
  padding-bottom:5px;
}
.header_logo_dxpedia span a{
  font-weight:bold;
  color:#5e5e5e;
  font-size:9px;
  letter-spacing: 0;
}
/*経営層向けロゴ*/
.logo_executive{
margin-left: 25px;
}

/* 検索ボックス */
.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ロゴ */
.top_block .header_tw{
  width: 25px;
  height: 25px;
 /* margin-left: 20px;*/
 transition: 0.3s;
}
.top_block .header_tw:hover{
  opacity: 0.6;
}
/* 右上バナー */
.header_banner{
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}
.header_banner p{
  text-align: center;
  margin-left: 10px;
  width: 170px;
  line-height: 2.5;
  box-shadow: #777 1px 1px 5px;
  border-radius: 0 0 5px 5px;
}
.header_banner p a{
  border-radius: 0 0 5px 5px;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}
.header_banner p .material{
  background-color: #F752C0;
}
.header_banner p .faq{
  background-color: #20B889;
}
.header_banner p .contact{
  background-color: #EE623C;
}

.header_banner p .material::before{
  content: url(../img/icon_material.svg);
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
}
.header_banner p .faq::before{
  content: url(../img/icon_faq.svg);
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
}
.header_banner p .contact::before{
  content: url(../img/icon_mail.svg);
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
}
.header_banner a:hover{
  opacity: 0.6;
}

.header_button p{
  width: 100px;
  height: 90%;
  border-radius: 5px;
  text-align: center;
  margin-left: 10px;
  border: rgb(145, 145, 145) 2px solid;
}
.header_button p a{
  width: 100%;
  height: 100%;
  display: block;
  padding-top: 40px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
}
.header_button .faq{
	background-image: url(../img/icon_faq.png);
	background-size: 30%;
	background-repeat: no-repeat;
	background-position: center top 10px;
}

/* ナビゲーション */
.menu_wrapper{
  background-color: #e8e8e8;
  height: 30px;
  box-shadow: rgba(51, 51, 51, 0.168) 5px 5px 5px;
  margin-top: 15px;
}
#new_menu{
  width: 980px;
  margin: 0 auto;
  background: #e8e8e8;
}
#new_menu li{
  position: relative;
  width: calc(100%/7);
  line-height: 30px;
  float: left;
  text-align: center;
}
.nav-line{
  border-right: 2px solid #fff;
}
.menu-arrow:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1px solid #5e5e5e;
  border-bottom: 1px solid #5e5e5e;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#new_menu li a{
  display: block;
  margin: 0;
  color: #333;
  font-size: 14px;
  height: 100%;
  font-weight: bold;
  text-decoration: none;
}
#new_menu li ul{
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
}
#new_menu li ul li{
  overflow: hidden;
  height: 0;
  color: #fff;
  -moz-transition: .1s;
  -webkit-transition: .1s;
  -o-transition: .1s;
  -ms-transition: .1s;
  transition: .1s;
  box-shadow: rgba(51, 51, 51, 0.168) 5px 5px 5px;
  border-left: #E5002D 3px solid;  
  min-width: 100%;white-space: nowrap; 
}
#new_menu li ul li a{
  padding: 0 15px;
  background: #e8e8e8;
  text-align: left;
  font-weight: bold;
}
#new_menu li ul li a::before{
  left: 3px;
  width: 4px;
  height: 4px;
  border-top: 1px solid #7a0;
  border-right: 1px solid #7a0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#new_menu li:hover > a{
  background: #E5002D;
  color: #fff;
  transition: 0.3s;
}
#new_menu li:hover ul li{
  overflow: visible;
  height: 30px;
  transition: 0.3s;
}
#new_menu li:hover ul li:first-child{
  border-top: 0;
}
#new_menu li:hover ul li:last-child{
  border-bottom: 0;
}
#new_menu li:hover>a::after {
  transform: translateY(75%) rotate(-135deg);
}
.sp{
	display: none;
}

@media screen and (max-width:768px){
	.sp{
		display: block;
	}
  .top_block h1{
    width: 130px;
  }
  .top_block h1 img{
    margin: 0;
  }
  .top_block h1 a{
    width: 100%;
    height: 100%;
    display: block;
  }
  #new_header{
    width: 100%;
    padding: 10px;
    margin: 0;
    top: 0;
    position: sticky;
    width: 100vw;
    padding: 10px 10px 10px calc(10px + 2.5%);
    margin-left: -2.5%;

  }
  
  .flex{
    display: block;
  }
  .top_block .header_tell{
    display: none;
  }
  .header_banner{
    display: none;
  }
  .top_block .header_tw{
    display: none;
  }
  .header_logo_dxpedia,.logo_executive{
    display: none;
  }
  .header_button{
    display: none;
  }
  .menu_wrapper{
    display: none;
  }
  .top_block{
    width: 100%;
  }
  .p_search__field{
    width: auto;
  }
  .p_search{
    margin-top: 10px;
    margin-left: 0
    ;
  }
  


  
#navi {
	position: fixed;
	top: 0;
	left: 0;
	height: 60px;
	width: 100%;
  }
  #navi a{
	color: #fff;
	padding-left: 15px;
  }
  #navi .menu-child li a{
    width: 150%;
    height: 100%;
    display: block;
  }
  /* チェックボックスを非表示 */
  #navi input {
	display: none;
  }
  /* 左上ロゴ */
  .menu-left {
	float: left;
	line-height: 60px;
  }
  .menu-left img {
	vertical-align: middle;
	margin-left: 10px;
	display: none;
  }
  /* 上部メニュー */
  .menu {
	float: right;
	margin: 10px;
  }
  
  .menu-parent {
	float: left;
	margin-right: 30px;
	line-height: 60px;
	font-size: 17px;
	font-weight: bold;
	white-space: nowrap;
	background-color: #E5002D;
  }
  /* パソコンでは V を非表示 */
  .menu-parent .pd {
	display: none;
	width: 100%;
    position: absolute;
    left: 0;
	text-align: right;
  }
  /* 上部メニューの最後の項目 */
  .menu-parent:last-child {
	margin-right: 0px;
  }
  
  #menu-navibtn {
	display: none;
	cursor: pointer;
	cursor: hand;
  }
  
  @media screen and (max-width: 768px) {
	/* スマホの際に V を表示 */
	.menu-parent .pd {
	  display: inline-block;
	  width: 100%;
	}
	.menu {
	  display: none;
	}
	.menu-parent {
	  height: auto;
	  width: 100%;
	  padding: 0;
	  border-bottom: 1px solid #DDD;
	}
	.menu-parent:first-child {
	  border-top: 1px solid #DDD;
	}
	.menu-parent i {
	  padding: 0px 6px;
	}
	/* メニューを移動させないため */
	#menu-navibtn:checked ~ #navi {
	  position: fixed;
	  overflow-y: scroll;
	  overflow-x: hidden;
	  height: 100%;
	}
  .child-none a{
    display: block;
    width: 100%;
    height: 100%;
  }
  .top_block h1{
    margin: 0;
  }
  .sp_contact{
    width: 35%;
    background-color: #ffffff;
    border: #696969 3px solid;
    text-align: center;
    }
 .sp_contact a{
    color: #3a3a3a;
    line-height: 35px;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 15px;
    text-align: center;
  }
  .sp_contact a img{
    width: 30px;
    margin: 2px 5px;
  }
  }
  
  /* ドロップダウンメニュー */
  .menu-parent {
	position: relative;
  }
  .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;
  }
  /* パソコン用 */
  
  /* スマホ用 */
  @media screen and (max-width: 768px) {
	/* ハンバーガーメニューがクリックされた時 */
	#menu-navibtn:checked ~ * .menu {
	  display: block;
	  opacity: 1;
	  margin: 58px 0;
	}
	#menu-navibtn:checked ~ * .menu-parent {
	  max-height: inherit;
	  overflow-y: visible;
    	height: auto;
	}
	#menu-navibtn:checked ~ * .menu-child {
	  max-height: 0;
	  overflow-y: hidden;
	  visibility: hidden;
	}
	/* 子メニュー */
	.menu-parent .menu-child {
	  border-top: 1px solid #DDD;
	  border-bottom: 1px solid #FFF;
	  position: relative;
	  padding: 0 20px;
	  opacity: 1;
	  top: 0;
	  margin-left: auto;
	  left: auto;
	  width: auto;
	}
	.menu-parent > label:hover {
	  cursor: pointer;
	  cursor: hand;
	}
	/* 子メニューがクリックされた時 */
	#navi input[type="checkbox"]:checked ~ .menu-child {
	  max-height: inherit;
	  overflow-y: visible;
	  visibility: visible;
	  background-color: #7d011a;
	}
  /* 閉 */
	.angletoggle:before {
	  content: "＋";
    color: #fff;
    margin-right: 15px;
	}
  /* 閉 */
	#navi input[type="checkbox"]:checked ~ * .angletoggle:before {
	  content: "－";
	}
  }
  /* 子メニュー */
  .menu-child li {
	font-size: 14px;
	border-bottom: 1px solid #DDD;
  }
  /* 余分な最後の線を消去 */
  .menu-child li:last-child {
	border: none;
  }
  .menu-child li i {
	margin-right: 3px;
  }
  
  /* ハンバーガー */
  #navi #navibtn {
	display: none;
  }
  @media screen and (max-width: 768px) {
	#navi #navibtn {
	  display: block;
	  position: absolute;
	  top: 10px;
	  right: 10px;
	}
	#navibtn span {
	  display: block;
	  width: 40px;
	  height: 40px;
	  background-color: #5e5e5e;
	}
	#navibtn span span {
	  display: block;
	  overflow: hidden;
	  width: 1px;
	  height: 1px;
	}
	#navibtn span span::before,
	#navibtn span span::after,
	#navibtn span::after {
	  position: absolute;
	  left:10px;
	  content:"";
	  width: 20px;
	  height: 3px;
	  background-color: #FFF;
	}
	/* 上の棒 */
	#navibtn span span::before {
	  top:10px;
	}
	#menu-navibtn:checked ~ #navi label#navibtn span span::before {
	  top:19px;
	  transform: rotate(-45deg);
	  -webkit-transform: rotate(-45deg);
	}
	/* 下の棒 */
	#navibtn span::after {
	  bottom:10px;
	}
	#menu-navibtn:checked ~ #navi label#navibtn > span::after {
	  bottom:18px;
	  transform: rotate(-135deg);
	  -webkit-transform: rotate(-135deg);
	}
	/* 中の棒 */
	#navibtn span span::after {
	  top:18px;
	}
	#menu-navibtn:checked ~ #navi label#navibtn span span::after {
	  display: none;
	}
}
