/******************************/
/* TOP共通 */
/******************************/
.p-top-section {
  box-sizing: content-box;
  margin: 64px 0;

  @media screen and (min-width: 768px) {
    margin-top: 96px;
    margin-bottom: 96px;
  }
}

.p-top-section__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 max(16px, 2%);
}

.p-top-section__header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-top-section__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

.p-top-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 32px 16px;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;

  @media screen and (min-width: 500px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 20px;
  }

  @media screen and (min-width: 800px) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
  }
}

.p-top-product-list__item {
  flex: 0 0 auto;
  display: flex;
}

/******************************/
/* スライドショー */
/******************************/
.p-main-slider {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 max(16px, 2%);

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
  }

  .bx-wrapper {
    border: none;
    box-shadow: none;
    margin-bottom: 0;

    .bx-viewport {
      border: 0;
      box-shadow: none;
      left: 0;
    }

    .bx-pager {
      box-sizing: border-box;
      padding-top: 0;
      padding-right: 25px;
      bottom: 45px;
      text-align: right;
      display: none;

      @media screen and (min-width: 768px) {
        display: block;
      }

      &.bx-default-pager a {
        margin-left: 5px;
        margin-right: 5px;
        background: #E9EDE8;

        &.active {
          position: relative;
          background: #505748;
        }

        &:hover {
          background: #CBDBD3;
        }
      }
    }
  }
}

/******************************/
/* インフォメーション機能 */
/******************************/
.p-top-news {
  margin: 16px 0;

  .splide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    overflow: hidden;

    @media screen and (min-width: 600px) {
      flex-direction: row;
      align-items: center;
      gap: 4px;
    }
  }

  .splide__track {
    display: flex;
    flex: 1;
    width: 100%;
  }

  .splide__list {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .splide__arrows {
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    @media screen and (min-width: 600px) {
      align-self: center;
    }

    .splide__arrow {
      position: static;
      transform: translateY(0);
      background: transparent;
      width: 24px;
      height: 24px;
      transition: 0.3s ease;

      svg {
        width: 14px;
        height: 14px;
        fill: #728270;
      }
    }
  }

  .splide__arrow:hover:not(:disabled) {
    opacity: 1;
    background: #CBDBD3;
  }
}

.p-top-news__container {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 max(16px, 2%);

}

.p-top-news__header {
  display: none;

  @media screen and (min-width: 600px) {
    display: block;
  }
}

.p-top-news__body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.p-top-news-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2;
  width: 100%;
  min-width: 0;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 16px;
    font-size: 14px;
  }

  a {
    text-decoration: underline;

    &:hover {
      opacity: 0.7;
    }
  }
}

.p-top-news-list__date {
  flex: 0 0 auto;
}

.p-top-news-list__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/******************************/
/* ピックアップ */
/******************************/
.p-top-pickup {
  margin: 32px 0;

  .splide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;

    &:not( .is-overflow ) {
      .splide__list {
        justify-content: center;
      }

      .splide__slide:last-child {
        margin: 0 !important;
      }
    }

    .splide__slide {
      display: flex;
    }

    .splide__pagination {
      bottom: auto;
      left: auto;
      position: relative;
      transform: none;
      width: auto;
      padding: 0;

      .splide__pagination__page {
        background: transparent;
        border: 1px solid #728270;

        &.is-active {
          background: #728270;
        }
      }
    }
  }
}

.p-top-pickup__container {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 max(16px, 2%);
}

.p-top-pickup__item {
  display: flex;
  align-items: center;
  justify-content: center;

  a {
    transition: 0.3s ease;

    &:hover {
      opacity: 0.7;
    }
  }

  img {
    width: 100%;
    height: auto;
  }
}

/******************************/
/* コンセプト */
/******************************/
.p-concept {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 64px 0;

  @media screen and (min-width: 1024px) {
    flex-direction: row-reverse;
    align-items: center;
    gap: 0;
    margin-top: 80px;
    margin-bottom: 120px;
  }
}

.p-concept__img {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
  background-image: url(https://img.shop-pro.jp/tmpl_img/91/no-image-concept.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  @media screen and (min-width: 1024px) {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    width: 50%;
    min-height: 600px;
  }
}

.p-concept__text {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 max(16px, 2%);
  line-height: 2;
  text-align: center;

  @media screen and (min-width: 1024px) {
    padding: 80px 32px;
    width: 50%;
    max-width: 650px;
    max-height: 600px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: left;
  }
}

.p-concept__title {
  margin: 0;
  font-size: 18px;
  font-weight: normal;

  @media screen and (min-width: 1024px) {
    font-size: 26px;
  }
}

/* 縦組みをやめたいときのバリエーション */
.p-concept--writing-mode-horizontal {
  .p-concept__text {
    writing-mode: horizontal-tb;
  }
}

/******************************/
/* 新着商品 */
/******************************/
.p-top-new-item {
  .splide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;

    .splide__slide {
      display: flex;
    }

    .splide__pagination {
      bottom: auto;
      left: auto;
      position: relative;
      transform: none;
      width: auto;
      padding: 0;

      .splide__pagination__page {
        background: transparent;
        border: 1px solid #728270;

        &.is-active {
          background: #728270;
        }
      }
    }
  }
}

/******************************/
/* おすすめ商品 */
/******************************/
.p-top-highly-recommended {
  align-self: center;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;

  @media screen and (min-width: 768px) {
    max-width: 760px;
  }
}

/******************************/
/* 人気商品（5列表示） */
/******************************/

.p-top-seller-grid{
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:28px;

    max-width:1180px;
    width:100%;

    margin:0 auto;
    padding:0;

    list-style:none;
    justify-content:center;
    align-items:start;
}

.p-top-seller-grid .p-top-product-list__item{
    list-style:none;
    margin:0;
    padding:0;
}

/* 人気商品全体を中央寄せ */
.p-top-seller-item .p-top-section__body{
    display:flex;
    justify-content:center;
    width:100%;
}

/* 商品カードを少し大きめに */
.p-top-seller-grid .c-product-item{
    width:100%;
}

/* タブレット */
@media screen and (max-width:1023px){

    .p-top-seller-grid{
        grid-template-columns:repeat(3,1fr);
        gap:24px;
        max-width:900px;
    }

}

/* スマホ */
@media screen and (max-width:767px){

    .p-top-seller-grid{
        grid-template-columns:repeat(2,1fr);
        gap:18px;
        max-width:100%;
    }

}
/******************************/
/* 商品画像サイズ調整 */
/******************************/
.p-top-new-item,
.p-top-seller-item {
  .c-product-item {
    width: 100%;
    max-width: 250px;
    margin-inline: auto;
  }
}

.p-top-product-list {
  .c-product-item {
    width: 100%;
    max-width: 250px;
    margin-inline: auto;
  }
}

.p-top-highly-recommended {
  .c-product-item__image {
    max-width: 360px;
    margin-inline: auto;

    @media screen and (min-width: 768px) {
      max-width: 420px;
    }
  }
}

.c-product-item__image {
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
}
/******************************/
/* こだわりバナー */
/******************************/

.p-kodawari-banner{
  max-width:1280px;
  margin:96px auto 80px;
  padding:0 max(16px,2%);
}

.p-kodawari-banner a{
  display:block;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:.3s ease;
}

.p-kodawari-banner a:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}

.p-kodawari-banner img{
  display:block;
  width:100%;
  height:auto;
}

@media screen and (max-width:767px){

.p-kodawari-banner{
  margin:64px auto;
}

.p-kodawari-banner a{
  border-radius:12px;
}
.p-kodawari-banner img{
  display:block;
  width:100%;
  height:auto;
  transition: transform .5s ease;
}

.p-kodawari-banner:hover img{
  transform: scale(1.02);
}
}
/******************************/
/* 会社・店舗紹介 */
/******************************/

.p-company-intro{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  max-width:1280px;
  margin:96px auto;
  background:#faf7f2;
  overflow:visible;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

/* 左写真 */

.p-company-intro__image{
  min-height:480px;
  overflow:hidden;
}

.p-company-intro__image img{
  display:block;
  width:100%;
  height:100%;
  min-height:480px;
  object-fit:cover;
}

/* 右文章 */

.p-company-intro__content{
  position:relative;
  display:flex;
  align-items:center;
  padding:70px;
  background:#faf7f2;
  overflow:visible;
}

/* 和柄 */

.p-company-intro__content::after{

  content:"";

  position:absolute;
  right:0;
  bottom:0;

  width:220px;
  height:220px;

  opacity:.05;

  background:
  radial-gradient(circle at 0 100%,
  transparent 0 30px,
  #8b2f2f 31px 33px,
  transparent 34px 60px,
  #8b2f2f 61px 63px,
  transparent 64px);

  background-size:110px 110px;

}

/* スタンプ */

.p-company-intro__stamp{

  position:absolute;

  top:28px;
  left:-70px;

  width:110px;
  height:110px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:3px double #b93b32;
  border-radius:50%;

  background:rgba(255,255,255,.95);

  color:#b93b32;

  font-family:
  "Hiragino Mincho ProN",
  "Yu Mincho",
  serif;

  font-size:17px;
  font-weight:700;

  line-height:1.5;

  text-align:center;

  transform:rotate(-8deg);

  box-shadow:0 3px 12px rgba(0,0,0,.08);

  z-index:10;

}

/* 小見出し */

.p-company-intro__sub{

  margin-bottom:10px;

  color:#555;

  font-size:14px;

  letter-spacing:.15em;

  font-family:
  "Hiragino Mincho ProN",
  "Yu Mincho",
  serif;

}

/* タイトル */

.p-company-intro__title{

    font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

    font-size:48px;
    font-weight:700;
    letter-spacing:.08em;

    color:#222;

    margin:0 0 30px;

}

/* 本文 */

.p-company-intro__description{

  font-family:
  "Hiragino Mincho ProN",
  "Yu Mincho",
  serif;

  font-size:15px;

  line-height:2.2;

  color:#333;

  margin-bottom:22px;

}

/* ボタン */

.p-company-intro__button{

  display:inline-block;

  margin-top:12px;

  padding:15px 36px;

  border:1px solid #b93b32;

  color:#b93b32;

  text-decoration:none;

  font-family:
  "Hiragino Mincho ProN",
  "Yu Mincho",
  serif;

  background:#fff;

  transition:.3s;

}

.p-company-intro__button:hover{

  background:#b93b32;

  color:#fff;

  transform:translateY(-2px);

}

/* スマホ */

@media(max-width:767px){

.p-company-intro{

grid-template-columns:1fr;

margin:60px 0;

}

.p-company-intro__image{

min-height:280px;

}

.p-company-intro__image img{

min-height:280px;

}

.p-company-intro__content{

padding:65px 25px 45px;

}

.p-company-intro__stamp{

left:20px;
top:-45px;

width:95px;
height:95px;

font-size:15px;

}

.p-company-intro__title{

font-size:34px;

}

.p-company-intro__button{

display:block;

text-align:center;

}

}
/******************************/
/* お客様の声 */
/******************************/
.p-customer-voice {
  margin: 80px 0;
  padding: 64px max(16px, 2%);
  background: #faf8f5;
}

.p-customer-voice__container {
  max-width: 1100px;
  margin-inline: auto;
}

.p-customer-voice__header {
  margin-bottom: 36px;
  text-align: center;
}

.p-customer-voice__title {
  margin: 0;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.08em;

  &::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin: 14px auto 0;
    background: #8b2f2f;
  }
}

.p-customer-voice__lead {
  margin: 18px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.p-customer-voice__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.p-customer-voice__item {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);

  &::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 16px;
    color: #ead8cf;
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
  }
}

.p-customer-voice__stars {
  position: relative;
  margin-bottom: 10px;
  color: #d99a22;
  font-size: 18px;
  letter-spacing: 3px;
}

.p-customer-voice__text {
  position: relative;
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.p-customer-voice__customer {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 13px;
  text-align: right;
}

.p-customer-voice__note {
  margin: 22px 0 0;
  color: #888;
  font-size: 12px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-customer-voice {
    margin: 64px 0;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .p-customer-voice__title {
    font-size: 25px;
  }
}

/******************************/
/* フリースペース */
/******************************/
.p-top-free {
  max-width: 1280px;
  margin: 96px auto;
  padding: 0 max(16px, 2%);
}

/******************************/
/* 店舗情報 */
/******************************/
.p-shop {
  margin: 64px 0;

  @media screen and (min-width: 1024px) {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}

.p-shop__container {
  display: flex;
  flex-direction: column-reverse;

  @media screen and (min-width: 1024px) {
    flex-direction: row-reverse;
    align-items: center;
  }
}

.p-shop__text {
  background-color: #E9EDE8;
  width: 100%;
  padding: 48px 0;

  @media screen and (min-width: 1024px) {
    padding: 80px  0;
  }

  .p-shop__image + & {
    @media screen and (min-width: 1024px) {
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
      margin-right: -20%;
      padding: 80px 20% 80px 0;
    }

    @media screen and (min-width: 1800px) {
      display: flex;
      justify-content: flex-end;
      padding-right: 25%;
    }
  }
}

.p-shop__text-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.p-shop__image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 280px;

  @media screen and (min-width: 1024px) {
    flex: 0 0 50%;
    height: auto;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    @media screen and (min-width: 1024px) {
      max-width: 820px;
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
    }

    @media screen and (min-width: 1640px) {
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
    }
  }
}

.p-shop__header {
  max-width: 600px;
  margin-inline: auto;
}

.p-shop__body,
.p-shop__footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin-inline: auto;
  padding: 0 max(16px, 2%);
}

.p-shop__title {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
}