/*------------------------------------
  共通設定
------------------------------------*/
body {
  color: #333333;
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", sans-serif; */
  font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
  line-height: 1.6;
  margin: 0;
}
ul,ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*------------------------------------
  共通部品
------------------------------------*/
.inner {
  max-width: 960px;
  margin: 0 auto;
}
/* スライダー */
.top-slider {
  overflow-x: hidden;
}
.slide-btn {
  position: absolute;
  top: 40%;
  width: 40px;
  height: 40px;
  background-size: cover;
  cursor: pointer;
  display: block;
  z-index: 10;
}
.prev-btn {
  left: 0;
  background: url(../img/arrow_prev.png) no-repeat center/cover;
}
.next-btn {
  right: 0;
  background: url(../img/arrow_next.png) no-repeat center/cover;
}
.slick-slide {
  margin: 0 20px;
}
.slick-list {
  margin: 0 -20px;
}
.slick-dots li.slick-active button::before {
  color: #24b99f;
}
/* フェードイン */
[data-fadeIn] {
  opacity: 0;
  transition: all 1.4s;
  transform: translateY(150px);
}
[data-fadeIn].is-over {
  opacity: 1;
  transform: translateY(0);
}

/*------------------------------------
  ヘッダー
------------------------------------*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 60px;
  border-bottom: 1px solid #f2f2f2;
  z-index: 100;
  background: #ffffff;
}
.header img {
  width: 100%;
  display: block;
}
.header-inner {
  position: relative;
  margin: 0 auto;
  height: 100%;
}
.logo {
  width: 100px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.menu {
  position: absolute;
  top: 50%;
  left: 140px;
  transform: translateY(-50%);
  font-size: 13px;
}
.menu-list {
  display: flex;
  gap: 15px;
}
.search-form {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translateY(-50%);
  height: 35px;
}
.search-input {
  width: 200px;
  height: 100%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 8px 10px 8px 40px; 
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}
.search-input:focus {
  width: 250px;
  border: 1px solid #333333;
}
.search-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.search-button img {
  width: 18px;
  height: 100%;
  margin: auto;
  display: block;
}
.controls {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.controls:hover {
  background: #f2f2f2;
}
.controls-cart {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.controls-cart img {
  width: 20px;
  height: 20px;
}
.controls-cart .cart-batch {
  position: absolute;
  top: 12px;
  right: 8px;
  background: orange;
  width: 20px;
  height: 20px;
  display: block;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
}
/*------------------------------------
  カートボックス
------------------------------------*/
.cart-hover-box {
  position: absolute;
  top: 100%;
  right: -30px;
  width: 280px;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.controls:hover .cart-hover-box {
  opacity: 1;
  pointer-events: auto;
}

.controls:hover .cart-hover-box,
.cart-hover-box:hover {
  display: block;
}
.cart-hover-box::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  background: url(../img/icon_cart_black.svg) center/contain no-repeat;
}
.cart-message {
  font-size: 14px;
}
.is-cart-empty .cart-message {
  color: #666;
}
.cart-hover-box.is-cart-empty::before {
  opacity: 0.5;
}

/*------------------------------------
  contents
------------------------------------*/
.contents {
  padding-top: 60px;
}

/*------------------------------------
  アイテムセクション共通
------------------------------------*/
.c-section {
  margin: 0 auto 60px auto;
}
.c-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  border-bottom: 1px solid #f2f2f2;
}
.c-section-title {
  font-size: 30px;
  font-weight: bold;
}
.more-link {
  position: relative;
  color: #2996cc;
  font-weight: bold;
  font-size: 16px;
  padding-right: 15px;
}
.more-link::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 2px solid #2996cc;
  border-right: 2px solid #2996cc;
  transform: rotate(45deg) translateY(-50%);
}
.item-list {
  display: flex;
  flex-wrap: wrap;
}
.item-list li:nth-child(n + 11) {
  display: none;
}
.item {
  position: relative;
  width: calc(100% / 5);
  margin-bottom: 20px;
}
.item img {
  width: 100%;
  display: block;
}
.item-cap {
  margin-bottom: 5px;
}
.item-info {
  padding: 0 3px;
}
.item-name {
  font-weight: bold;
  font-size: 16px;
}
.item-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2; 
  overflow: hidden;
  font-size: 13px;
}
.item-price {
  margin-top: 5px;
  font-weight: bold;
}

/*------------------------------------
  PICK UP
------------------------------------*/
.thumbnail-list {
  justify-content: space-between;
}
.thumbnail-list .item {
  width: calc(100% / 2 - 10px);
  padding-bottom: 20px;
  border-bottom: 1px solid #f2f2f2;
}
.thumbnail-list .item a {
  display: flex;
}
.thumbnail-list .item-cap {
  width: 100px;
  height: auto;
  margin-right: 15px;
  margin-bottom: 0;
}
.thumbnail-list .item-info {
  width: calc(100% - 100px - 15px);
}

/*------------------------------------
  BRAND
------------------------------------*/
.c-brand {
  background-image: linear-gradient(-225deg, #2CD8D5 0%, #9891ff 56%, #ffbac3 100%);
  padding: 50px 30px;
  margin-bottom: 80px;
  overflow: hidden;
}
.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(20%, 1fr));
  gap: 10px;
}
.brand-list li {
  background: #ffffff;
  border-radius: 8px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.brand-list li a {
  display: block;
}

/*------------------------------------
  フッター
------------------------------------*/
.footer {
  background: #333333;
}
.footer a {
  color: #ffffff;
}
.footer-logo {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
  color: #ffffff;
}
.footer-inner {
  padding: 50px 0;
}
.sns {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.sns li a {
  display: flex;
  align-items: center;
}
.sns li .sns-icon {
  width: 25px;
  margin-right: 10px;
}
.sns li .sns-name {
  line-height: 1;
}
.footer-link {
  background: #000000;
  font-size: 12px;
  padding: 10px;
  text-align: center;
}
.footer-link-list {
  margin-bottom: 10px;
}
.footer-link-list li {
  display: inline-block;
  margin: 0 10px;
}
.footer-copyright {
  font-size: 11px;
  color: #aaaaaa;
}

/*------------------------------------
  サークルバナー
------------------------------------*/
.circle-banner {
  position: fixed;
  right: 0;
  bottom: 10px;
  width: 150px;
  z-index: 10;
  transition: all 0.5s;
  transform: translateX(100%) rotate(90deg);
}
.circle-banner img {
  width: 100%;
}
.circle-banner.is-over {
  right: 10px;
  transform: translateX(0) rotate(0);
}
/*------------------------------------
  カート操作アラート
------------------------------------*/
.flash {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  color: #ffffff;
  background-color: green;
  z-index: 100;
}
.flash.is-remove {
  background-color: #e35d5b;
}

/*=========================================================
  レスポンシブ
=========================================================*/
@media screen and (max-width: 768px) {
/*------------------------------------
  【SP】共通部品
------------------------------------*/
  .inner {
    width: auto;
    margin: 0 10px;
  }
  .slick-slide {
    margin: 0;
  }
  .slick-list {
    margin: 0;
  }

/*------------------------------------
  【SP】ヘッダー
------------------------------------*/
  .header {
    height: 45px;
  }
  .header-links {
    position: fixed;
    width: 100%;
    top: 45px;
    left: 100%;
    background: rgba(255, 255, 255, 0.95);
    height: 100vh;
    z-index: 10;
    transition: all 0.4s;
  }
  .logo {
    width: 70px;
  }
  .menu {
    top: 40%;
    left: 50%;
    font-size: 15px;
    transform: translate(-50%,-50%);
  }
  .search-form {
    left: 100px;
  }
  .search-input {
    width: 160px;
    font-size: 11px;
  }
  .search-input:focus {
    width: 180px;
  }
  .controls {
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    height: 60px;
  }
  .menu-trigger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s;
    width: 30px;
    height: 20px;
    z-index: 100;
    display: block;
  }
  .menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000000;
    /* a→buttonに変更したので追加 */
    left: 0; 
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  /* jsで変更される個所 */
  .header-links.is-active {
    left: 0;
  }
  .menu-trigger.is-active span:nth-of-type(1) {
    transform: translateY(9px) rotate(-315deg);
  }
  .menu-trigger.is-active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.is-active span:nth-of-type(3) {
    transform: translateY(-9px) rotate(315deg);
  }
/*------------------------------------
  【SP】contents
------------------------------------*/
  .contents {
    padding-top: 45px;
  }
/*------------------------------------
  【SP】アイテムセクション共通
------------------------------------*/
  .c-section-title {
    font-size: 20px;
  }
  .more-link {
    font-size: 13px;
  }
  .item {
  width: calc(100% / 2);
  }
  .item-name {
  font-size: 13px;
  }
/*------------------------------------
  【SP】PICK UP
------------------------------------*/
  .thumbnail-list .item {
    width: auto;
  }
/*------------------------------------
  【SP】BRAND
------------------------------------*/
  .c-brand {
    padding: 25px 15px;
  }
  .brand-list {
    grid-template-columns: repeat(auto-fill,minmax(30%, 1fr));
  }
  .brand-list li {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }
/*------------------------------------
  【SP】フッター
------------------------------------*/
  .footer-inner {
    padding: 30px 0;
  }
  .sns li {
    font-size: 10px;
  }
  .footer-link {
    font-size: 10px;
  }
  .footer-link-list li {
    margin: 0 3px;
  }
  .footer-copyright {
    font-size: 9px;
  }
/*------------------------------------
  【SP】モーダル
------------------------------------*/
  .modal-inner {
    width: 80%;
  }
}