@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

html {
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3",
    "Noto Sans JP",
    sans-serif;
  overflow-x: hidden;
}

.hidden_list li {
  list-style: none;
}

.visible_list li {
  list-style: disc;
  margin-left: 2em;
}

/* header */
.header_element {
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}

.ec-headerNaviRole {
  padding-bottom: 5px;
}

.ec-hedderNavi__bottom {
  width: 950px;
  margin: 0 auto;
  display: block;
  padding-bottom: 40px;
}

.ec-headerNavi__bottom-search {
  float: right;
}

.ec-headerNavi__bottom-logo {
  display: none;
}

.list_category {
  padding-left: 0;
  margin: 1em;
  line-height: 2;
}

.list_category li {
  list-style: none;
}

/* TOPおすすめ */
.ec-secHeading__category {
  font-size: 25px;
  position: relative;
  margin-left: 1em;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: solid 5px #56783c;
}

.ec-categoryItemRole__list {
  flex-wrap: wrap;
}

.ec-categoryItemRole__listItem {
  width: 32%;
  margin: 0px 5px 20px 5px;
  float: left;
}

.ec-categoryItemRole__listItem a {
  max-width: 96%;
  display: block;
}

.ec-categoryItemRole__listItemTitle {
  margin: 5px;
  font-weight: bold;
  color: #2e2e2e;
  height: 60px;
}

.ec-shelfGrid__item-image,
.ec-categoryItemRole__listItem img {
  width: 232px;
  height: 174px;
  object-fit: contain;
}

.ec-categoryItemRole__listItemPrice {
  color: #cc0000;
  font-weight: bold;
  text-align: right;
  font-size: 19px;
}

.ec-categoryItemRole__listItemPrice span {
  color: #cc0000;
  font-weight: bold;
  text-align: right;
  font-size: 14px;
}

.ec-categoryItemRole__more {
  display: block;
  clear: both;
  width: 94%;
  text-align: right;
}

.ec-categoryItemRole__more a {
  background: #3b3b3b;
  border-radius: 2px;
  padding: 10px 15px;
  color: #fff;
}

.ec-categoryItemRole__more a:hover {
  background: #686666;
  text-decoration: none;
}

/* info */
.d_info {
  margin: auto;
  width: 88%;
}

.d_info ul {
  list-style: none;
  display: inline-block;
  padding: 0;
  width: 100%;
  margin-bottom: 5px;
}

.l_info {
  display: block;
  width: 32%;
  min-height: 160px;
  margin-right: 10px;
  float: left;
}

.d_info h3 {
  font-size: 19px;
  background: #edeaea;
  padding: 5px;
}

.d_info p {
  width: 97%;
  margin: auto;
  margin-bottom: 10px;
}

/* footer (legacy - overridden by site-footer) */
.ec-footerRole {
  margin-top: 0;
}

/* =============================================
   ヘッダー
   ============================================= */

/* 上部バー */
.site-header-top {
  background: #fff;
  border-bottom: 1px solid #dbdbdb;
  padding: 16px 0;
}

.site-header-top__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-top__tagline {
  font-size: 12px;
  color: #333;
}

.site-header-top__contact {
  background: #BCAF22;
  color: #fff;
  font-size: 12px;
  width: 140px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.site-header-top__contact:hover {
  background: #a89e1e;
  color: #fff;
  text-decoration: none;
}

/* ロゴバー */
.site-header-logo {
  background: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-around;
}

.site-header-logo__inner {
  max-width: 1150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-logo__link {
  display: inline-block;
}

.site-header-logo__img {
  height: 40px;
  width: auto;
}

.site-header-logo__hamburger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.site-header-logo__menu-icon {
  width: 32px;
  height: 32px;
}

/* ナビバー */
.site-header-nav {
  background: #3C7479;
  min-height: 30px;
}

.site-header-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4px 150px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-header-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header-nav__item {
  margin: 0;
}

.site-header-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  padding: 0;
  white-space: nowrap;
}

.site-header-nav__link:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.site-header-nav__icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* PC: 各アイコンサイズをFigmaに合わせる */
.site-header-nav__item:nth-child(1) .site-header-nav__icon {
  width: 24px;
  height: 24px;
}

.site-header-nav__item:nth-child(2) .site-header-nav__icon {
  width: 18px;
  height: 18px;
}

.site-header-nav__item:nth-child(3) .site-header-nav__icon {
  width: 20px;
  height: 20px;
}

.site-header-nav__item:nth-child(4) .site-header-nav__icon {
  width: 20px;
  height: 20px;
}

.site-header-nav__cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-header-nav__cart-badge {
  background: #BCAF22;
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.site-drawer-nav {
  padding: 56px 24px 24px;
}

.site-drawer-nav__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.site-drawer-nav__link:hover {
  color: #bcaf22;
  text-decoration: none;
}

.site-drawer-nav__link--sub {
  padding-left: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.site-drawer-nav__link--sub:hover {
  color: #bcaf22;
}

.site-drawer-nav__link--heading {
  padding: 14px 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: default;
}

.site-header-logo__hamburger.ec-headerNavSP {
  display: flex;
}

.ec-drawerRole.is_active {
  display: block;
}

.ec-drawerRoleClose.is_active {
  display: inline-block;
}

.have_curtain .ec-overlayRole {
  display: block;
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
}

.cart_page .ec-orderConfirm {
  display: none;
}

/* SP */
@media screen and (max-width: 768px) {

  /* 上部バー: SP でも表示 */
  .site-header-top {
    padding: 6px 0;
  }

  .site-header-top__inner {
    max-width: 100%;
    padding: 0 17px;
  }

  .site-header-top__tagline {
    font-size: 12px;
  }

  .site-header-top__contact {
    font-size: 12px;
    width: 100px;
    padding: 3px 10px;
    height: 24px;
    line-height: 18px;
    text-align: center;
  }

  /* ロゴバー */
  .site-header-logo {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-header-logo__inner {
    max-width: 100%;
    padding: 0 17px;
  }

  .site-header-logo__img {
    height: 35px;
  }

  .site-header-logo__menu-icon {
    width: 32px;
    height: 32px;
  }

  /* ナビバー: SP でも表示、左揃えに変更 */
  .site-header-nav__inner {
    padding: 4px 17px;
    justify-content: flex-start;
  }

  .site-header-nav__list {
    gap: 8px;
    width: 100%;
  }

  .site-header-nav__link {
    gap: 4px;
    padding: 0;
  }

  /* アイコンサイズをSPデザインに合わせる */
  .site-header-nav__item:nth-child(1) .site-header-nav__icon {
    width: 24px;
    height: 24px;
  }

  /* account */
  .site-header-nav__item:nth-child(2) .site-header-nav__icon {
    width: 18px;
    height: 18px;
  }

  /* heart */
  .site-header-nav__item:nth-child(3) .site-header-nav__icon {
    width: 20px;
    height: 20px;
  }

  /* lock */
  .site-header-nav__item:nth-child(4) .site-header-nav__icon {
    width: 20px;
    height: 20px;
  }

  /* cart */
  .site-header-nav__cart-badge {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }

  /* ハンバーガーボタンのデフォルトスタイルをリセット */
  .site-header-logo__hamburger.ec-headerNavSP {
    background: none;
    border-radius: 0;
    color: inherit;
  }
}

/* =============================================
   フッター
   ============================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 24px 20px 20px;
  text-align: center;
}

.site-footer__inner {
  max-width: 477px;
  margin: 0 auto;
}

.site-footer__logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer__logo {
  height: 30px;
  width: 180px;
}

.site-footer__nav {
  margin-bottom: 16px;
}

.site-footer__nav-link {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 0 8px;
  display: inline-block;
}

.site-footer__nav-link:hover {
  text-decoration: underline;
  color: #333;
}

.site-footer__license {
  font-size: 12px;
  color: #555;
  margin-bottom: 10px;
}

.site-footer__copyright {
  font-size: 12px;
  color: #555;
  margin: 0;
}

/* =============================================
   トップページ: フレームのマージン調整
   ============================================= */
.front_page .ec-layoutRole__contents {
  display: block;
  padding: 0;
}

.front_page .ec-layoutRole__main,
.front_page .ec-layoutRole__mainWithColumn,
.front_page .ec-layoutRole__mainBetweenColumn {
  width: 100%;
  margin: 0;
  padding: 0;
}

.front_page .ec-categoryRole {
  display: none;
}


/* detail */
.slide-item img {
  width: 312px;
  height: 234px;
  object-fit: contain;
}

/* button */
.ec-blockBtn--action,
.ec-blockBtn--cancel {
  width: 70%;
  height: 40px;
  line-height: 40px;
  margin: auto;
}

.review_div {
  width: 100% !important;
  margin-left: 0 !important;
}

.review_btn {
  text-align: center;
}

/* pc */
@media screen and (min-width: 769px) {
  .ec-shelfGrid__item {
    width: 33% !important;
  }

  .ec-sliderRole {
    width: 90%;
  }

  .bottom_btn {
    width: 100%;
    margin: auto;
    display: inline-block;
    padding-bottom: 20px;
  }

  .bottom_btn .ec-productRole__btn {
    float: left;
    width: 50%;
    margin: auto;
  }

  .ec-cartRole__actions {
    width: 35% !important;
  }
}

/* smartphone */
@media screen and (max-width: 768px) {
  .ec-hedderNavi__bottom {
    width: 95%;
    text-align: center;
  }

  .ec-headerNavi__bottom-search {
    display: none;
  }

  .ec-headerNavi__bottom-logo {
    display: block;
  }

  .ec-categoryItemRole__listItem {
    width: 47%;
  }

  .ec-categoryItemRole__listItemTitle {
    font-size: 14px;
    display: inline-block;
  }

  .ec-shelfGrid__item-image,
  .ec-categoryItemRole__listItem img {
    width: 148px;
    height: 111px;
    object-fit: contain;
  }

  .ec-shelfGrid .ec-shelfGrid__item-image {
    height: auto;
  }

  .ec-shelfGrid__item p {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .ec-categoryItemRole__more {
    width: 98%;
  }

  .ec-shelfGrid__item {
    width: 47%;
  }

  .ec-shelfGrid__item img {
    width: 148px !important;
    height: 111px;
  }

  .header_element {
    width: 70%;
    margin: 1.5rem auto;
  }

  /* info */
  .d_info {
    width: 99%;
    margin: auto;
  }

  .l_info {
    width: 98%;
    min-height: 100px;
    margin: 0 5px;
    float: none;
  }

  /* detail */
  .slide-item img {
    width: 292px;
    height: 219px;
  }

  /* hamburger */
  .ec-headerNavSP {
    border-radius: 3px;
    background: #4e4e4ec9;
    color: #fff;
  }

  /* button */
  .ec-blockBtn--action,
  .ec-blockBtn--cancel {
    width: 80%;
    height: 35px;
    line-height: 35px;
  }

  .ec-shelfRole {
    padding-left: 5px;
    padding-right: 5px;
  }
}
