@charset "utf-8";

#pageHeader {
	display: flex;
	flex-direction: column;
	align-items:center;
	justify-content: center;
/* デザイン適用
  border-bottom: 1px solid #cccccc;
*/
  border-bottom: 2px solid #e60012;
  margin-bottom: 20px;
  width: 100%;
}

#pageHeader .top {
  height: 0;
}

.logoInfoArea{
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	position: relative;
}

#titleArea {
  width: 100%;
  overflow: hidden;
  height: 48px;
  margin-top:-7px;
}

/* デザイン適用 */
#sitelogoArea {
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 30%;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  left: 0;
  margin: 0 auto;
  height: auto;
  background-color: transparent;
}

#infoArea {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
	padding: 10px 0;
	position: relative;
	margin-left: 30%;
}

/* デザイン適用 */
#sitelogoArea a span {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

/* デザイン適用 */
#sitelogoArea img {
  margin: 8px;
}

#loginInfoArea {
  text-align: right;
  width: 100%;
/* デザイン適用
  margin-top: 5px;
*/
  /* デザイン適用 */
  background: -moz-linear-gradient(left, #f0c500, #f08200);
  background: -webkit-linear-gradient(left, #f0c500, #f08200);
  background: linear-gradient(to right, #f0c500, #f08200);
}

.searchAreaContent{
	width: 100%;
	background: #333;
}

/* デザイン適用 */
#loginInfoAreaContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
}

#pageHeader .navigation {
/* デザイン適用
  width: 100%;
*/
  display: block;
  text-align: center;
  font-size: 12px;
/* デザイン適用
  border-top: 1px solid #cccccc;
*/
/*   border-left: 1px solid #cccccc; */
/* デザイン適用
  border-right: 1px solid #cccccc;
*/
  white-space: nowrap;
}

#pageHeader ul {
  list-style:none;
}

/* デザイン適用 */
#pageHeader .navigation ul:first-child {
  /*background: #333;*/
}

#pageHeader .dropdown-item a,
#pageHeader .dropdown-item a:hover {
	color: inherit;
	text-decoration: none;
}

#pageHeader .category:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.cart {
  background-color: #333333;
/* デザイン適用
  height: 58px;
*/
  line-height: 2em;
/* デザイン適用
  padding-top: 5px;
*/
  /* デザイン適用 */
  margin: 8px 8px 8px 0;
  border-top: 2px solid #f08200;
  border-right: 2px solid #f08200;
  border-bottom: 2px solid #f08200;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* デザイン適用 */
.cart a {
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* デザイン適用 */
.cart a img {
  width: 30px;
}

#pageHeader .cartLink {
  height: 100%;
  text-decoration: none;
}

#pageHeader .requestQuoteLink {
  text-decoration: none;
}

.cart:hover {
  opacity: 0.7;
  filter: alpha(opacity = 70); /* ie lt 8 */
  -moz-opacity: 0.7; /* FF lt 1.5, Netscape */
  -khtml-opacity: 0.7; /* Safari 1.x */
}

.cart span {
  color: #ffffff;
  display: block;
}

#searchArea select[name='searchCategoryCode'] {
/* デザイン適用
  width: 114px;
*/
  /* デザイン適用 */
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#pageHeader .rightsubmenu {
  border-color: transparent transparent transparent #333333;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
  display: block;
  float: right;
  height: 0;
  margin-top: 5px;
  width: 0;
  padding-right: 15px;
}

/**/
#searchArea {
/* デザイン適用
  border-left: 1px solid #cccccc;
*/
}

.usermame {
  margin-right: 10px;
}

#loginInfoArea p {
  margin-top: 5px;
}

#searchFormArea {
/* デザイン適用
  vertical-align: middle;
*/
/* デザイン適用
  height: 58px;
*/
  height: 100px;
/* デザイン適用
  display: table-cell;
  width: 50%;
  padding-left: 5px;
*/
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* デザイン適用 */
#searchform {
  margin: 8px;
  display: grid;
  grid-template-columns: 15fr 1fr 1fr;

}
#searchform input {
/* デザイン適用
  margin-left: 0;
*/
  /* デザイン適用 */
  width: 88%;
  margin-left: -4px;
  padding-left: 6px;
  margin-right: -4px;
  padding-right: 6px;
  line-height: 25px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  border-left: 2px solid #333;
  border-top-left-radius:5px;
  border-bottom-left-radius:5px;
  border-right: none;
  outline: none;
}
#searchform button {
  height: 31px;
}
/* デザイン適用 */
#searchform #searchButton {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
#searchform .largeText {
/* デザイン適用
  width: 48%;
*/
  width: 88%;
}

#searchform #catalogSearchButton{
	margin-left: 2px;
}

.head_dropdown {
  width: 100%;
  height: 56px;
  background-color: gray;
}
/*------------
  3mode
--------------*/
.modeTxt{
    font-size:14px;
}
.modeLine{
    height:5px;
    display:inline-block;
    padding:0;
    margin:0;
    vertical-align: top;
    margin-bottom:5px;
}
.modeTxt{
    margin-left:20px;
}
.mode_1{
    background-color:#cccccc;
    width:330px;
}
.mode_shop{
    background-color:#333333;
    width:380px;
}
.mode_mall{
    background-color:#dd7e17;
    width:365px;
}

.searchBlock{
	flex: auto;
 	max-width: fit-content;
}

.searchInput{
	display: flex;
	gap: 5px;
	justify-content: end;
}

/*768px以上（tab/PC）で表示*/
@media screen and (min-width:768px) {
  #pageHeader .navigation {
/* デザイン適用
    height: 58px;
*/
  }
}

/*768px～990pxで表示*/
@media only screen and (min-width:768px) and (max-width:991px) {
  #pageHeader .navigation .cart {
/* デザイン適用
    width: 100%;
*/
  }
}

/*767px以下（SP)で表示*/
@media screen and (max-width:768px) {
  #titleArea a {
    line-height: 40px;
  }
  #titleArea img {
    width: 100%;
  }
  .sp_search_dropdown {
    width: 100%;
  }
  .sp_head_dropdown {
    width: 100%;
    background-color: transparent;
    border: none;
  }
  .btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default
    {
    background-color: transparent;
  }
/* デザイン適用
  .cart {
    width: 60px;
    height: 59px;
  }
  .sp_cart {
    position: absolute;
    top: -60px;
    right: 0;
  }
*/
  .sp_login,.sp_logout {
    width: 60px;
    background-color: #333333;
    height: fit-content;
    /*float: right;
    padding-top:  2px;*/
  }
  .sp_login a,.sp_logout a {
    height: 100%;
  }
  #pageHeader {
    background:#ffffff;
  }
/* デザイン適用
  #pageHeader #searchArea select[name='searchCategoryCode'] {
    width: 100%;
    display: block;
    margin-top: 17px;
    margin-bottom: 10px;
  }
*/
  .sp_login:hover,.sp_logout:hover {
    opacity: 0.7;
    filter: alpha(opacity = 70); /* ie lt 8 */
    -ms-filter: "alpha(opacity=70)"; /* ie 8 */
    -moz-opacity: 0.7; /* FF lt 1.5, Netscape */
    -khtml-opacity: 0.7; /* Safari 1.x */
  }
  .sp_login span {
    color: #ffffff;
    display: block;
  }
  .sp_logout span {
    font-size: 90%;
    color: #ffffff;
    display: block;
  }
  .mode_1,.mode_shop,.mode_mall{
    width:45%;
  }

  .logoInfoArea{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: transparent;
	position: relative;
}

#sitelogoArea {
  z-index: 1;
  display: flex;
  justify-content: start;
  align-items: flex-end;
  width: 50%;
  position: relative;
  transform: none;
  left: 0;
  margin: 0;
}

#infoArea{
	display: none;
}

.authLink{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.searchSp{

}

.searchBtn{
	color: white;
	background-color: #333333;
	width: 60px;
	 display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: end;
  color: white;
  width: 60px;
}

.userControls{
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 5px;
	height: 40px;
	margin: 5px
}

}
