@charset "utf-8";

/* ============================================================
   header.css
   ヘッダー専用スタイル
   ============================================================ */


/* ------------------------------------------------------------
   検索フォーム（スコープ外に必要なもの）
   ------------------------------------------------------------ */

.header-main-searchbox input,
.header-main-searchbox select {
  height: 40px;
}

.header-searchbox-category,
.header-searchbox-searchword {
  height: 32px;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.2em;
  vertical-align: middle;
  border: none;
  border-radius: 0;
  background: #fff;
}

.header-searchbox-searchword {
  height: 100%;
  width: 100%;
  padding: 0 12px;
  font-size: 14px;
  border: none;
  border-right: none;
  background-color: #F2F2F2;
  box-sizing: border-box;
  color: #B3B3B3;
}

.bg-highlight {
  background: #ffffe5;
}


/* ------------------------------------------------------------
   ヘッダー基本
   ------------------------------------------------------------ */

header {
  border-bottom: 1px solid #D9D9D9;
  position: fixed;
  top: 0;
  z-index: 3;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

/* ヘッダー内リンクの下線を消す・文字色を黒に */
header a,
header a:link,
header a:visited,
header a:hover,
header a:active {
  text-decoration: none;
  color: #000;
}

/* liタグのデフォルト・を削除 */
header ul,
header li {
  list-style: none;
  padding: 0;
  margin: 0;
}

div.header {
  border-bottom: none;
}

.header-links-main {
  background-color: #F2F2F2;
  font-size: 1.2rem;
  color: #6f6f6f;
}

.header .header-links-inner {
  max-width: 1310px;
  width: auto;
}

.header .heaer-links-link a {
  font-size: 1.2rem;
  color: #6f6f6f;
  padding: 0 10px;
}

.header .heaer-links-link a:last-child {
  padding-right: 0;
}

.header .heaer-links-link span {
  font-size: 1.2rem;
  color: #6f6f6f;
}

.header-main {
  max-width: 1310px;
  width: auto;
  height: 70px;
  margin: 20px auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-main img {
  vertical-align: baseline;
}

.header-main-logo {
  margin: 0;
  height: auto;
}

.header-main-logo a {
  transition: all .2s ease;
}

.header-main-logo a:hover {
  opacity: .8;
}

.header-main-logo img {
  width: 80px;
  height: auto;
  display: block;
}


/* ------------------------------------------------------------
   検索フォーム詳細
   ------------------------------------------------------------ */

.header-main-searchbox {
  flex: 1;
  margin: 0 40px;
}

.header-main-searchbox > form {
  width: 100%;
  height: 40px;
  border: none;
  background: #F2F2F2;
  border-radius: 3px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.header-searchbox-searchword:focus {
  outline: none;
  background: #ffffe5;
}

.header-searchbox-searchword::-ms-placeholder { color: #999; }
.header-searchbox-searchword::placeholder      { color: #999; }

.header-searchbox-category {
  color: #262626;
  padding-left: 20px;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
  border-right: 1px solid #DDD;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(../../image/pc/common/icon_header_category_select.png);
  background-repeat: no-repeat;
  background-size: 10px 6px;
  background-position: right 12px center;
}

.header-searchbox-category:focus {
  outline: none;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(../../image/pc/common/icon_header_category_select.png);
  background-repeat: no-repeat;
  background-size: 10px 6px;
  background-position: right 12px center;
}

.header-searchbox-category-wrap {
  display: none;
}

input[type="submit"].header-searchbox-searchbtn {
  width: 40px;
  height: 40px;
  background-color: #F2F2F2;
  background-image: url(../../image/pc/header/icon_search_black.png);
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  order: -1;
  cursor: pointer;
  transition: all .2s ease;
}

input[type="submit"].header-searchbox-searchbtn:focus {
  outline: 1px dotted #333;
}

input[type="submit"].header-searchbox-searchbtn.bg-highlight {
  background-color: #ffffe5;
  border-color: #ffffe5;
}

.header-searchbox-searchbtn:hover {
  opacity: .8;
}

.header-main-searchbox form:focus-within {
  background: #ffffe5;
}

.header-main-searchbox form:focus-within .header-searchbox-searchword {
  background-color: #ffffe5;
}

@media screen and (max-width: 1150px) and (min-width: 769px) {
  .header-main-searchbox > form {
    width: calc(100vw - 470px);
  }
}


/* ------------------------------------------------------------
   ヘッダーアイコンメニュー
   ------------------------------------------------------------ */

.header-main-menu {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.header-main-menu a {
  display: flex;
  flex-direction: column;
  min-width: 65px;
  margin: 0;
  position: relative;
}

.header-main-menu a:hover {
  text-decoration: none;
  opacity: .7;
}

.header-main-menu .mypage img,
.header-main-menu .toplogin img,
.header-main-menu .topfavorite img,
.header-main-menu .topshop img,
.header-main-menu .topcart img
 {
  height: 30px;
  width: 32px;
  display: block;
  margin: 0 auto;
}

.header-main-menu .topmenu
{
  margin-top: 8px;
}

.header-main-menu .topmenu img
{
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
}

.header-main-menu .topshop,
.header-main-menu .topcart,
.header-main-menu .topfavorite,
.header-main-menu .toplogin,
.header-main-menu .mypage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-icon-name,
.header-main-menu p {
  margin-top: 10px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: #000;
}

.header-icon-name,
.header-main-menu .topmenu p {
  margin-top: 14px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: #000;
}

.cart-icon .header-icon-name {
  margin-left: 5px;
}

.header-main-menu-mypage {
  display: inline;
  position: relative;
}

.header-main-menu-mypage-links {
  font-size: 15px;
  background-color: #e6e6e6;
  display: none;
  margin-right: -115px;
  padding: 15px;
  position: absolute;
  top: 60px;
  right: 40%;
  width: 200px;
  height: 220px;
  z-index: 500;
  box-sizing: content-box;
}

.header-main-menu-mypage-links li {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAYAAABcUvyWAAAAPElEQVQYlWNYuXLlfyBgQMdgorOzE0MSzkCXRFGFLIlhNkwSQ+Lw4cP/e3t7MV2DVQdWO7C6Cqs/cPkcAI1LwhF2by8sAAAAAElFTkSuQmCC) no-repeat right 10px;
}

.header-main-menu-mypage-links:after {
  border: solid transparent;
  content: " ";
  height: 100%;
  width: 100%;
  position: absolute;
  top: -40px;
  left: 0;
  z-index: -1;
}

.header-main-menu-mypage-links img {
  position: absolute;
  z-index: -1;
  top: -10px;
  left: 86px;
}

.header-main-menu-mypage-links a {
  padding: 10px 0;
}

#header-main-count {
  display: inline-block;
  min-width: 16px;
  padding: 0 5px;
  box-sizing: border-box;
  position: absolute;
  top: -7px;
  right: 0;
  color: #fff;
  font-size: .8rem;
  font-weight: normal;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  background: #DB0A17;
}


/* ------------------------------------------------------------
   非表示要素
   ------------------------------------------------------------ */

.header-links,
.header-pickupword,
.header_obi,
.header-main-menu-torepo {
  display: none;
}


/* ------------------------------------------------------------
   スクロール時のヘッダー挙動
   ※ header要素・.header クラスに厳密に限定する
   ------------------------------------------------------------ */

header.is-scrolled {
  border-bottom: 1px solid #DDD;
  transition: 0.4s;
}

header.is-scrolled .header-main {
  margin: 10px auto;
  padding-top: 0;
}

header.is-scrolled .header-links,
header.is-scrolled .header-pickupword,
header.is-scrolled .header_obi,
header.is-scrolled .header-main-searchbox p,
header.is-scrolled .header-main-menu-torepo {
  display: none;
  opacity: 0;
  transition: 0.4s;
}


/* ------------------------------------------------------------
   ドロワーメニュー
   ------------------------------------------------------------ */

.header-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
}

.header-menu-overlay.is-open {
  display: block;
}

.header-menu-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  padding: 42px 12px 24px;
  box-sizing: border-box;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.header-menu-panel.is-open {
  right: 0;
}

.header-menu-close {
  position: absolute;
  top: 15px;
  right: 12px;
  border: none;
  background: none;
  color: #333;
  font-size: 35px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  margin: 0 !important;
  font-weight: 400 !important;
}

.header-menu-block {
  margin-bottom: 16px;
}

.header-menu-heading {
  background: #e5e5e5;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
  border-radius: 3px;
  margin-top: 14px !important;
  color: #55555 !important;
}

.header-menu-block a {
  display: block;
  padding: 24px 12px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}

.header-menu-block a:hover {
  opacity: 0.7;
  text-decoration: none;
}


/* ------------------------------------------------------------
   キャンペーンバナー
   ------------------------------------------------------------ */

.header-campaign-banner img {
  width: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------------
    帯バナー
---------------------------------------------------------------- */

#obi_banner {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  min-width: 1200px;
  height: 40px;
  background-size: 375px 40px;
  background-repeat: repeat-x;
  z-index: 499;
}

body:has(#obi_banner) {
  padding-top: 195px;
}

body:has(#obi_banner) main {
  top: 0 !important;
}

#obi_banner:hover {
  opacity: 0.7;
}

#obi_banner .top_bnrline_link {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
  background-size: auto 100%;
}

#obi_banner img {
  display: block;
  visibility: hidden;
  width: auto;
  height: auto;
}

.top_bnrline_hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}