@charset "utf-8";

/* ========================================
   ヘッダー
======================================== */
.l-header {
  position: relative;
  z-index: 100;
}

.l-header__wrapper {
  position: relative;
  z-index: -2;
  background: linear-gradient(to right,
      #d9c177 0%,
      #f9f0d3 29.3%,
      #f6e9c0 55.6%,
      #dcd0a6 86.2%,
      #d1b96e 100%);
  overflow: hidden;
}

/* 模様重ね*/
.l-header__wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/header/bg_pattern_stripes.png");
  /* または .png */
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

/* .l-header__inner {
  position: relative;
} */

.l-header__logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-start;
  margin-left: 0;
  padding-left: 0;
  align-items: center;
}

.l-header .l-header__logo-wrap {
  max-width: 1100px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.l-header .l-header__logo {
  position: absolute;
  bottom: -58px;
  width: 146px;
  height: auto;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .l-header .l-header__logo {
    position: relative;
    bottom: auto;
    width: 74px;
  }
}

@media screen and (max-width: 374px) {
  .l-header .l-header__logo {
    width: 60px;
  }
}

.l-header .l-header__logo-text {
  height: 66px;
  margin-left: 138px;
}

.l-header .l-header__logo-text img {
  height: 100%;
  width: auto;
}

@media screen and (max-width: 800px) and (min-width: 768px) {
  .l-header .l-header__logo-text {
    height: 63px;
  }
}

@media screen and (max-width: 767px) {
  .l-header .l-header__logo-text {
    height: 70px;
    margin-left: 0;
  }
}


@media screen and (max-width: 374px) {
  .l-header .l-header__logo-text {
    height: 60px;
  }
}

.l-header__top {
  height: 90px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 8px 0;
  justify-content: space-between;
}

@media screen and (min-width: 768px) and (max-width: 1160px) {
  .l-header__top {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media screen and (max-width: 767px) {
  .l-header__top {
    height: auto;
    flex-wrap: wrap;
    gap: 12px 0;
    justify-content: center;
    padding: 16px;
    align-items: center;
  }
}

.l-header__search {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.l-header__search .c-form-item {
  display: flex;
  align-items: center;
}

.l-header__search .c-form-item__input {
  padding-right: 48px;
  height: 40px;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .l-header__search .c-form-item__input {
    font-size: 16px;
  }

  .l-header__search form {
    width: 100%;
  }

  .l-header__search .c-form-item {
    width: 100%;
  }

  .l-header__search .c-form-item__input {
    padding-right: 28px;
    width: 100%;
  }
}

.l-header__search__wrapper {
  background-color: #696969;
}

.l-header__search__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  padding: 10px 0;
}

@media screen and (min-width: 768px) and (max-width: 1160px) {
  .l-header__search__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media screen and (max-width: 767px) {
  .l-header__search__inner {
    padding: 10px 15px;
  }
}

.l-header .c-form-item__input {
  width: 350px;
  border: none;
}

/*@media screen and (min-width: 900px) and (max-width: 1000px) {
  .l-header .c-form-item__input {
    width: 260px;
  }
}*/
@media screen and (max-width: 767px) {
  .l-header .c-form-item__input {
    width: 100%;
  }
}

.l-header__search-button {
  width: 18.91px;
  height: 19.64px;
  background-image: url("../../images/common/icon_search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  position: absolute;
  right: 20px;
  top: 50%;
  padding: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .l-header__search-button {
    right: 9px;
  }
}

.l-header__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

@media screen and (min-width: 768px) and (max-width: 1160px) {
  .l-header__nav {
    /* flex: 1 1 100%;
    width: 100%; */
  }
}

@media screen and (max-width: 767px) {
  .l-header__nav {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }
}

.l-header__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .l-header__nav-list {
    max-width: 343px;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
}

.l-header__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media screen and (max-width: 767px) {
  .l-header__nav-item a {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}

.l-header__nav-item--search .l-header__nav-link {
  padding: 8px 12px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.l-header__nav-item--search .l-header__nav-link:hover {
  background-color: #e0e0e0;
}

.l-header__nav-item--member .l-header__nav-link {
  color: #0066cc;
  font-weight: 700;
}

.l-header__nav-item--member .l-header__nav-link:hover {
  color: #0052a3;
}

.l-header__nav-icon {
  display: block;
  line-height: 1;
  height: 29px;
  text-align: center;
  margin-bottom: 3px;
  position: relative;
}

.l-header__nav-icon img {
  width: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .l-header__nav-icon {
    height: 25px;
    width: 36px;
    margin-bottom: 5px;
  }

  .l-header__nav-icon img {
    height: 100%;
  }
}

.l-header__nav-text {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #000;
}

@media screen and (max-width: 767px) {
  .l-header__nav-text {
    font-size: 9px;
  }
}

.l-header__cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #c13b34;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .l-header__cart-count {
    font-size: 7px;
  }
}

.l-header__cart-count-txt {
  color: #fff;
  display: block;
}

.l-header__nav-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.l-header__nav-link:hover {
  color: #0066cc;
}

@media screen and (max-width: 767px) {
  .l-header__nav-link {
    font-size: 12px;
  }
}

@media screen and (max-width: 767px) {
  #header1Form {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .p-order #header1Form {
    width: auto;
  }
}

/* ========================================
   ログインヘッダー
======================================== */

/* 基本サイズ */
.l-header-login .c-logo-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 16px;
}

@media screen and (min-width: 768px) and (max-width: 1160px) {
  .l-header-login .c-logo-group {
    transform: scale(0.9);
    transform-origin: center top;
    will-change: transform;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 767px) {
  .l-header-login .c-logo-group {
    flex-direction: column;
    padding: 8px 0 0;
    margin-bottom: 16px;
  }
}

/* ロゴ共通 */
.l-header-login .c-logo-group__img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* プライマリロゴ */
.l-header-login .c-logo-group__item--primary .c-logo-group__img {
  width: 190px;
}

@media screen and (max-width: 767px) {
  .l-header-login .c-logo-group__item--primary .c-logo-group__img {
    width: 160px;
  }
}

/* セカンダリロゴ */
.l-header-login .c-logo-group__item--secondary .c-logo-group__img {
  width: 520px;
}

@media screen and (max-width: 767px) {
  .l-header-login .c-logo-group__item--secondary .c-logo-group__img {
    width: 350px;
  }
}



/* ========================================
   PW再設定ンヘッダー
======================================== */

.l-header-reset .l-header-login .c-logo-group {
  transform: scale(0.8);
  transform-origin: center top;
  margin-bottom: 0;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .l-header-reset .l-header-login .c-logo-group {
    transform: scale(0.6);
    margin-bottom: -64px;
  }
}

