@charset "UTF-8";
/************************************
** トップページ:新着カルーセル(横100%・連続スライド)
************************************/
/* トップページではメインスクロール(ウィジェットエリア)を非表示 */
body.home #main-scroll,
body.home .main-scroll {
  display: none !important;
}

body.home .my-carousel,
body.home .cocoon-new-carousel {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  overflow-x: clip;
  padding: 0px;
  min-height: 150px;
}
body.home .cocoon-new-carousel .carousel-in {
  max-width: 1200px;
  margin: 0 auto;
}
body.home .my-carousel .slick-list,
body.home .cocoon-new-carousel .slick-list {
  overflow: visible;
}
body.home .my-carousel .slick-track,
body.home .cocoon-new-carousel .slick-track {
  display: flex;
  align-items: stretch;
}
body.home .my-carousel .slick-slide,
body.home .cocoon-new-carousel .slick-slide {
  position: relative;
  z-index: 1;
  transform-origin: center center;
  will-change: transform;
  padding: 0.5%;
  transform: scale(0.99);
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 23%;
  margin-bottom:0px;
}
body.home .my-carousel .slick-slide.is-focus,
body.home .cocoon-new-carousel .slick-slide.is-focus {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}
body.home .my-carousel .slick-slide.is-peek,
body.home .cocoon-new-carousel .slick-slide.is-peek {
  transform: scale(0.99);
  opacity: 0.9;
}
body.home .my-carousel .slick-slide,
body.home .cocoon-new-carousel .slick-slide {
  outline: none;
}
body.home .my-carousel .slick-arrow,
body.home .cocoon-new-carousel .slick-arrow {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  z-index: 5;
  /* left: 10px; */
}
body.home .my-carousel .slick-arrow.slick-next,
body.home .cocoon-new-carousel .slick-arrow.slick-next {
  left: auto;
  right: 10px;
}
body.home .my-carousel .slick-arrow:before,
body.home .cocoon-new-carousel .slick-arrow:before {
  color: #fff;
  font-size: 14px;
}
body.home .my-carousel .entry-card,
body.home .cocoon-new-carousel .entry-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
body.home #list.my-carousel {
  width: 100%;
}

/* 画像直下にタイトル、さらに下に概要を表示 */
body.home .my-carousel .entry-card-thumb,
body.home .cocoon-new-carousel .entry-card-thumb {
  width: 100%;
  margin: 0 0 10px 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 300px;
}
body.home .my-carousel .entry-card-thumb img,
body.home .cocoon-new-carousel .entry-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
body.home .my-carousel .entry-card-content,
body.home .cocoon-new-carousel .entry-card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
  padding: 0;
   margin-left: 0 !important;
}
body.home .my-carousel .entry-card-title,
body.home .cocoon-new-carousel .entry-card-title {
  order: 1;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
body.home .my-carousel .entry-card-snippet,
body.home .cocoon-new-carousel .entry-card-snippet {
  order: 2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
body.home .my-carousel .entry-card-meta,
body.home .cocoon-new-carousel .entry-card-meta {
  order: 3;
  margin-top: auto;
  position: static;
}

.my-carousel .slick-slide {
  transition: transform 0.4s ease;
}
.my-carousel .slick-slide.is-focus {
  transform: scale(1.15);
  z-index: 10;
}
.my-carousel .slick-slide.is-peek {
  opacity: 0.7;
}


/* ★ レスポンシブ対応 */
@media screen and (max-width: 1023px) {
  body.home .my-carousel,
  body.home .cocoon-new-carousel {
    padding: 30px 0;
  }
  
  body.home .my-carousel .slick-list,
  body.home .cocoon-new-carousel .slick-list {
    padding: 0 12% !important;
  }
  
  body.home .my-carousel .slick-slide,
  body.home .cocoon-new-carousel .slick-slide {
    margin: 0 10px;
  }
  
  body.home .my-carousel .entry-card-title,
  body.home .cocoon-new-carousel .entry-card-title {
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  body.home .my-carousel,
  body.home .cocoon-new-carousel {
    padding: 25px 0;
  }
  
  body.home .my-carousel .slick-list,
  body.home .cocoon-new-carousel .slick-list {
    padding: 0 10% !important;
  }
  
  body.home .my-carousel .slick-slide,
  body.home .cocoon-new-carousel .slick-slide {
    margin: 0 8px;
  }
  
  body.home .my-carousel .entry-card-title,
  body.home .cocoon-new-carousel .entry-card-title {
    font-size: 14px;
  }
  
  body.home .my-carousel .entry-card-snippet,
  body.home .cocoon-new-carousel .entry-card-snippet {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  
  body.home .my-carousel .entry-card-content,
  body.home .cocoon-new-carousel .entry-card-content {
    padding: 12px;
  }
  
  body.home .my-carousel .slick-arrow,
  body.home .cocoon-new-carousel .slick-arrow {
    width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 540px) {
  body.home .my-carousel,
  body.home .cocoon-new-carousel {
    padding: 20px 0;
  }
  
  body.home .my-carousel .slick-list,
  body.home .cocoon-new-carousel .slick-list {
    padding: 0 8% !important;
  }
  
  body.home .my-carousel .slick-slide,
  body.home .cocoon-new-carousel .slick-slide {
    margin: 0 6px;
  }
  
  body.home .my-carousel .slick-arrow,
  body.home .cocoon-new-carousel .slick-arrow {
    width: 28px;
    height: 28px;
  }
}

/************************************
** トップページ:サイドバー2列化＋100%幅
************************************/
.sidebar {
  max-width: 250px;
}

.home .content-in {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home #main {
  width: 100%;
}

body.home #sidebar {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.home #sidebar .widget {
  margin: 0;
}
/* いったん全て隠して、必要な4つだけ表示 */
body.home #sidebar .widget {
  display: none;
}

body.home #sidebar .widget_search,
body.home #sidebar .widget_block:has(.wp-block-search),
body.home #sidebar #custom_html-2,
body.home #sidebar .widget_categories,
body.home #sidebar .widget_block:has(.wp-block-categories),
body.home #sidebar .widget_archive,
body.home #sidebar .widget_block:has(.wp-block-archives) {
  display: block;
}

body.home #sidebar .widget_search,
body.home #sidebar .widget_block:has(.wp-block-search) { order: 10; }
body.home #sidebar #custom_html-2 { order: 20; }
body.home #sidebar .widget_categories,
body.home #sidebar .widget_block:has(.wp-block-categories) { order: 30; }
body.home #sidebar .widget_archive,
body.home #sidebar .widget_block:has(.wp-block-archives) { order: 40; }

body.home #sidebar .widget_search,
body.home #sidebar .widget_block:has(.wp-block-search),
body.home #sidebar #custom_html-2 {
  grid-column: 1 / -1;
}

/* 1024px以上のレイアウト(変更なし) */
body.home #custom_html-2 .side-author {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: start;
  position: relative;
  background-color: #d5cfcb;
  border-radius: 10px;
  overflow: hidden;
}
#custom_html-2 .side-author {
  padding-bottom:0;
}
body.home #custom_html-2 .widget-sidebar-title.widget-title {
  display: none;
}

body.home #custom_html-2 .side-author > .author-img {
  grid-column: 1;
  grid-row: 1 / span 2;
  z-index: 2;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home #custom_html-2 .side-author > .author-img img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px!important;
}

body.home #custom_html-2 .side-author > :not(.author-img) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

body.home #custom_html-2 .side-author > .author-background {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  z-index: 1;
  line-height: 1;
}

body.home #custom_html-2 .side-author > :not(.author-img):nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-left: calc(25% + 16px);
}

body.home #sidebar .ad-sidebar-top,
body.home #sidebar .ad-sidebar-bottom {
  display: none !important;
}

body.home #sidebar #sidebar-scroll {
  display: contents;
}
body.home #sidebar #sidebar-scroll #block-6{
  display: none;
}
body.home .side-author .author-name{
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  text-align: left;
  margin: 20px 0 0;
  display: block;
  position: relative;
  z-index: 3;
}
body.home .side-author p{
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  padding-top: 5em;
  color: #111111;
}
body.home .sidebar h2, body.home .sidebar h3{
  padding: 25px 25px 0;
  border-bottom: none;
}
body.home .widget_recent_entries ul, body.home .widget_categories ul,
body.home .widget_archive ul, body.home .widget_pages ul, body.home .widget_meta ul, body.home .widget_rss ul, body.home .widget_nav_menu ul, body.home .widget_block ul  {
  background-color: #b59444 !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
body.home .widget_recent_entries ul li a, body.home .widget_categories ul li a,
body.home .widget_archive ul li a, body.home .widget_pages ul li a, body.home .widget_meta ul li a, body.home .widget_rss ul li a, body.home .widget_nav_menu ul li a, body.home .widget_block ul li a {
  padding: 5px 25px 10px;
  color: #fff;
}

/* ★ ブレイクポイント変更: 1024px→767px */
@media screen and (max-width: 767px) {
  .sidebar {
    max-width: none;
    width: 100%;
  }
  body.home #sidebar {
    grid-template-columns: 1fr;
  }
  /* ★ side-authorを縦積みレイアウトに変更 */
  body.home #custom_html-2 .side-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
    position: relative;
  }
  
  /* author-backgroundを背景として配置 */
  body.home #custom_html-2 .side-author > .author-background {
      position: absolute;
      top: 0px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 240px;
      z-index: 1;
      overflow: hidden;
  }
  
  body.home #custom_html-2 .side-author > .author-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* author-imgを背景の上に重ねる */
  body.home #custom_html-2 .side-author > .author-img {
    order: 1;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    grid-column: unset;
    grid-row: unset;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
  }
  
  body.home #custom_html-2 .side-author > .author-img img {
    margin-top: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* author-nameを2番目に配置 */
  body.home .side-author .author-name {
    order: 2;
    grid-column: unset;
    grid-row: unset;
    margin: 0;
    text-align: center;
    width: 100%;
  }
  
  /* 文章を最下部に配置 */
  body.home .side-author p {
    order: 3;
    grid-column: unset;
    grid-row: unset;
    padding-top: 0;
    text-align: center;
    width: 100%;
  }
  
  /* nth-child調整をリセット */
  body.home #custom_html-2 .side-author > :not(.author-img) {
    grid-column: unset;
    grid-row: unset;
  }
  body.home #custom_html-2 .side-author > .author-name {
    padding-top: 1em;
  }
  
  body.home #custom_html-2 .side-author > :not(.author-img):nth-child(2) {
    grid-column: unset;
    grid-row: unset;
    padding-left: 0;
  }
}

/************************************
** 商品関連
************************************/
.shop-carousel {
  margin: 24px 0;
}
.shop-carousel__track {
  overflow: visible;
}
.shop-carousel__item {
  padding: 10px;
}
.shop-carousel__placeholder {
  padding: 24px;
  border: 1px dashed #ccc;
  text-align: center;
  background: #f9f9f9;
}
.shop-carousel__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}
.shop-carousel__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-carousel__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 8px rgba(0,0,0,0.08);
}
.shop-carousel__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}
.shop-carousel__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.shop-carousel__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}
.shop-carousel__name {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.shop-carousel__price {
  margin: 0;
  font-weight: 700;
  color: #b45309;
}
.shop-carousel__meta {
  font-size: 13px;
  color: #555;
}

.shop-grid {
  margin: 32px 0;
}
.shop-grid__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}
.shop-grid__list {
  --shop-grid-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--shop-grid-columns), minmax(0, 1fr));
  gap: 16px;
}
.shop-grid__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-grid__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 8px rgba(0,0,0,0.08);
}
.shop-grid__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
}
.shop-grid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-grid__name {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.shop-grid__price {
  margin: 0;
  font-weight: 700;
  color: #b45309;
}
.shop-grid__meta {
  font-size: 13px;
  color: #555;
}
.shop-grid__placeholder {
  padding: 24px;
  border: 1px dashed #ccc;
  text-align: center;
  background: #f9f9f9;
}

@media screen and (max-width: 1023px) {
  .shop-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .shop-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.shopify-products-grid {
  --shopify-grid-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--shopify-grid-cols), minmax(0, 1fr));
  gap: 20px;
}
.shopify-product-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}
.shopify-product-link img {
  width: 100%;
  height: auto;
  display: block;
}
.shopify-product-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.shopify-product-title {
  margin: 0;
  font-size: 16px;
}
.shopify-product-price {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #2c5f2d;
}
.shopify-product-actions {
  margin-top: auto;
}
.shopify-product-btn {
  display: inline-block;
  padding: 10px 14px;
  background: #2c5f2d;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.shopify-product-btn:hover {
  opacity: 0.92;
}
@media screen and (max-width: 820px) {
  .shopify-products-grid {
    --shopify-grid-cols: 2 !important;
  }
}

@media screen and (max-width: 580px) {
  .shopify-products-grid {
    --shopify-grid-cols: 1 !important;
    gap: 14px;
  }
}

@media screen and (max-width: 768px) {
  .shop-carousel__thumb img {
    height: 150px;
  }
}


/* 打ち消しエリア */

body.home .sns-share,
body.home .sns-follow {
  display: none;
}

.widget-sidebar {
  background-color: #b59444;
  border: none;
  border-radius: 10px;
}
.widget-sidebar.widget_search {
  background-color: transparent;
}


/* home */
.home .header-in {
  flex-direction: column;
}

.home-shopify-title {
  margin: 32px auto 12px;
}
.home-shopify-title__text {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.home-shopify-more {
  text-align: center;
  margin: 16px auto 28px;
}
.home-shopify-more__btn {
  display: inline-block;
  padding: 10px 26px;
  background: #2c5f2d;
  color: #fff;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}
.home-shopify-more__btn:hover {
  opacity: 0.9;
}

/************************************
** カート
************************************/
.shopify-cart {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 99999;
  background: #fff;
  border: 2px solid #2c5f2d;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-width: 320px;
}
.shopify-cart__title {
  margin: 0 0 12px;
  color: #2c5f2d;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shopify-cart__badge {
  background: #ff0000;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
}
.shopify-cart__items {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 12px;
}
.shopify-cart__item {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.shopify-cart__item-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
  gap: 8px;
}
.shopify-cart__item-title {
  font-weight: 700;
}
.shopify-cart__item-remove {
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}
.shopify-cart__item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.shopify-cart__item-qty button {
  background: #2c5f2d;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}
.shopify-cart__item-qty button:first-child {
  background: #666;
}
.shopify-cart__item-subtotal {
  font-size: 15px;
  font-weight: 700;
  color: #2c5f2d;
}
.shopify-cart__empty {
  color: #999;
  text-align: center;
  padding: 20px;
  margin: 0;
}
.shopify-cart__total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #2c5f2d;
  font-weight: 700;
  font-size: 17px;
  color: #2c5f2d;
}
.shopify-cart__checkout {
  width: 100%;
  background: #2c5f2d;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  margin-top: 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}
.shopify-cart__checkout:hover {
  opacity: 0.9;
}
.shopify-cart__toggle {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 100000;
  background: #2c5f2d;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.shopify-cart__toggle:hover {
  background: #1e4620;
  transform: scale(1.02);
}


@media screen and (max-width: 767px) {
  .shopify-cart__toggle {
    top: 60px;
    right: 10px;
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .shopify-cart {
    top: 100px;
    right: 10px;
    max-width: calc(100vw - 40px);
  }
}

/************************************
** その他
************************************/
body.home .sns-share,
body.home .sns-follow {
  display: none;
}

.widget-sidebar {
  background-color: #b59444;
  border: none;
  border-radius: 10px;
}

.widget-sidebar.widget_search {
  background-color: transparent;
}

.home .header-in {
  flex-direction: column;
}

.home-shopify-title {
  margin: 32px auto 12px;
}

.home-shopify-title__text {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

#header .site-name-text {
  font-size: 18px;
  max-width: 320px;
}

.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a, .widget_block ul li a{
  color: #fff;
}

.rect-vertical-card .related-list {
  justify-content: flex-start;
}