@charset "euc-jp";

/*---top-common---*/
.section {
  padding: 60px 20px;
  position: relative;
}
.section-bg-white {
  background-color: var(--color-white);
  color: var(--color-black);
}
.section-bg-gray {
  background-color: var(--color-main-gray);
  color: var(--color-black);
}
.section-title {
  font-family: var(--font-outfit);
  font-size: var(--font-size-section-title);
  font-weight: var(--font-weight-section-title);
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  text-align: center;
}
.section-subtitle {
  font-family: var(--font-gothic);
  font-size: var(--font-size-section-subtitle);
  font-weight: var(--font-weight-section-subtitle);
  text-align: center;
  display: block;
  margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
  .section {
    padding: 60px 60px;
  }
  .section-title {
    font-size: var(--font-size-section-title-l);
  }
  .section-subtitle {
    font-size: var(--font-size-section-subtitle-l);
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .section {
    padding: 60px 120px;
  }
}

/*---main-visual---*/
.main-visual {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(0px - var(--h-header));
  overflow: hidden;
}
.main-visual__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.news-area {
  display: flex;
  justify-content: flex-start;
  background-color: var(--color-main-orange);
  color: var(--color-white);
  padding: 8px 20px;
  line-height: 1;
  align-items: center;
}
.news-title {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  margin-right: 10px;
}
.news-text {
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-white);
}
.news-text:hover {
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .news-area {
    padding: 10px 20px;
    justify-content: center;
  }
}

/*---bannerー---*/
.banner-section {
  padding: 60px 20px;
  background-color: var(--color-white);
}
.banner-item {
  width: 100%;
  overflow: hidden;
}
.banner-item:first-child {
  margin-bottom: 10px;
}
.banner-image {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 768px) {
  .banner-section {
    padding: 60px 60px;
    display: flex;
  }
  .banner-item:first-child {
    margin: 0 30px 0 0;
  }
}
@media screen and (min-width: 1440px) {
  .banner-section {
    padding: 120px 120px;
  }
}

/*---ranking---*/
.ranking-swiper {
  overflow: visible;
}
.swiper-slide.ranking-item {
  height: auto;
}
.ranking-item {
  position: relative;
  overflow: visible;
  margin-top: 20px;
  padding-top: 8px;
}
.ranking-item img {
  border-radius: 2px;
}
.ranking-badge {
  position: absolute;
  top: -20px;
  left: 0;
  color: var(--color-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: 20px;
  z-index: 2;
}
.ranking-badge::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 1px;
  top: 24px;
  left: 0px;
  border-top: 1px solid var(--color-black);
  transform: rotate(-45deg);
  pointer-events: none;
  z-index: 3;
}
.ranking-info {
  font-family: var(--font-noto);
  color: var(--color-black);
  text-align: center;
  padding: 12px;
}
.ranking-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.ranking-price {
  font-size: 16px;
  font-weight: 600;
}
.swiper-wrap {
  position: relative;
}
.ranking-button-prev,
.ranking-button-next {
  position: absolute;
  color: var(--color-white) !important;

  --swiper-navigation-size: 36px;
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2) - 36px) !important;
  width: 36px !important;
  height: 36px !important;
}
.ranking-button-prev {
  left: -16px !important;
}
.ranking-button-next {
  right: -16px !important;
}
.ranking-button-prev:after,
.ranking-button-next:after {
  font-size: 18px !important;
}

@media screen and (min-width: 768px) {
  .ranking-item img {
    border-radius: 6px;
  }
}

/*---category---*/
/* default:3列 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.category-grid-item {
  text-align: center;
}
.category-image-container {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.category-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.category-name {
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-top: 4px;
}

/* PC:1列 */
@media screen and (min-width: 1024px) {
  .category-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
  }
  .category-grid-item {
    flex: 0 0 calc(16.666% - 17px); /* 6等分（余白調整） */
    max-width: 170px;
    text-align: center;
  }
  .category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .category-image-container {
    width: 100%;
    margin-bottom: 15px;
    aspect-ratio: 1/1;
  }
  .category-name {
    font-size: 16px;
    line-height: 1.2;
  }
}

/* 幅が狭いPC向け調整 */
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .category-grid {
    padding: 0 20px;
  }
  .category-grid-item {
    flex: 0 0 calc(16.666% - 15px); /* 狭い画面での調整 */
  }
  .category-name {
    font-size: 12px;
  }
}

/* 小型モバイル対応 */
@media screen and (max-width: 480px) {
  .category-grid {
    gap: 15px;
  }
  .category-name {
    font-size: 12px;
  }
}

/*商品紹介セクション*/
.product-intro {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}
.product-intro-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-main-orange);
}
.product-intro-item:last-child {
  border-bottom: none;
}
/*SP*/
.product-intro-content {
  display: grid;
  grid-template-areas:
    'image header'
    'image button'
    'description description';
  grid-template-columns: 48% 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 16px;
  color: var(--color-black);
  align-items: center;
}
/* 偶数の商品は画像と情報を入れ替え */
.product-intro-item:nth-child(even) .product-intro-content {
  grid-template-areas:
    'header image'
    'button image'
    'description description';
}
.product-intro-image {
  grid-area: image;
}
.product-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}
.product-intro-text {
  grid-area: header;
  display: flex;
  flex-direction: column;
  margin: auto 0;
}
.product-intro-name {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.product-name-sp {
  display: inline;
}
.product-name-pc {
  display: none;
}
.product-intro-name-en {
  font-family: var(--font-outfit);
  font-size: 22px;
  font-weight: 300;
  margin-top: 4px;
}
.product-intro-button {
  grid-area: button;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 54px 10px 39px;
  background-color: var(--color-main-orange);
  color: var(--color-white);
  font-family: var(---font-gothic);
  border-radius: 50px;
  height: 40px;
  width: 166px;
  font-size: 14px;
  font-weight: 700;
}
.product-intro-button:hover {
  opacity: 0.7;
  color: var(--color-white);
  text-decoration: none;
}
.product-intro-button::after {
  content: '';
  position: absolute;
  right: 40px;
  width: 5px;
  height: 10px;
  background-image: url('https://file001.shop-pro.jp/PA01517/924/svg/right_arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.product-intro-description {
  grid-area: description;
  font-family: var(---font-gothic);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
/*tablet*/
@media screen and (min-width: 768px) {
  .product-intro-item {
    padding-top: 60px;
  }
  /* コンテンツレイアウト変更 - 横2列 */
  .product-intro-content {
    display: grid;
    grid-template-areas:
      'image header'
      'image description'
      'image button';
    grid-template-columns: 46% 1fr;
    grid-template-rows: auto 136px auto;
    gap: 0 40px;
    align-items: center;
  }
  /* 偶数の商品は画像と情報を入れ替え */
  .product-intro-item:nth-child(even) .product-intro-content {
    grid-template-areas:
      'header image'
      'description image'
      'button image';
  }
  .product-intro-name {
    font-size: 20px;
  }
  .product-name-sp {
    display: none;
  }
  .product-name-pc {
    display: inline;
  }
  .product-intro-name-en {
    font-size: 32px;
    letter-spacing: 0.05em;
  }
  .product-intro-button {
    width: 219px;
    height: 64px;
    padding: 20px 75px 20px 60px;
  }
  .product-intro-button::after {
    right: 65px;
  }
  .product-intro-description {
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
  }
}
@media screen and (min-width: 1024px) {
  .product-intro-content {
    gap: 0 60px;
  }
  .product-intro-name-en {
    font-size: 40px;
  }
  .product-intro-description {
    line-height: 1.9;
  }
}
@media screen and (min-width: 1440px) {
  .product-intro-name-en {
    font-size: 50px;
    margin-top: 16px;
  }
}

/*recommend history*/
.flex-products {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.flex-product-item {
  width: calc((100% - 30px) / 3);
  border-radius: 2px;
  overflow: hidden;
}
.flex-product-image {
  height: 0;
  padding-bottom: 100%;
  position: relative;
  margin-bottom: 8px;
}
.flex-product-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flex-product-name {
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 600;
  display: block;
  line-height: 1;
  letter-spacing: 0px;
  text-align: center;
  margin-bottom: 8px;
}
.flex-product-price {
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: 1;
  letter-spacing: 0px;
  text-align: center;
}
.flex-product-soldout {
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: 1;
  letter-spacing: 0px;
  text-align: center;
}
.flex-products.bg-orange,
.flex-products.bg-orange a {
  color: var(--color-white);
}
.flex-products.bg-white,
.flex-products.bg-white a {
  color: var(--color-black);
}
@media screen and (min-width: 1024px) {
  .flex-products {
    gap: 30px 15px;
  }
  .flex-product-item {
    width: calc((100% - 60px) / 5);
    border-radius: 6px;
  }
  .flex-product-name {
    font-size: 16px;
  }
  .flex-product-price {
    font-size: 18px;
  }
  .flex-product-soldout {
    font-size: 18px;
  }
  .history-section .flex-product-item:last-child {
    display: none;
  }
}
@media screen and (min-width: 1440px) {
  .flex-products {
    gap: 30px;
  }
  .flex-product-item {
    width: calc((100% - 120px) / 5);
  }
}
/*story*/
.story-section {
  background-image: url('https://img21.shop-pro.jp/PA01517/924/etc_base64/Ymctc3Rvcnk.jpg?cmsp_timestamp=20250701075316');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
}
.story-content {
  display: grid;
  grid-template-areas:
    'heading'
    'text1'
    'main'
    'cacao'
    'fruit'
    'text2'
    'choco';
}
.story-heading {
  grid-area: heading;
  font-family: var(--font-noto);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: center;
}
.story-paragraph {
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin: 30px auto;
}
.story-paragraph._text1 {
  grid-area: text1;
}
.story-paragraph._text2 {
  grid-area: text2;
  margin-top: -20px;
}
.story-image {
  overflow: hidden;
  border-radius: 2px;
}
.story-image img {
  width: 100%;
  height: auto;
  display: block;
}
.story-image-main {
  grid-area: main;
  width: 77.18%;
}
.story-image-cacao {
  grid-area: cacao;
  width: 45.13%;
  position: relative;
  top: -31px;
  left: 54.5%;
}
.story-image-fruit {
  grid-area: fruit;
  width: 39.234%;
  position: relative;
  top: -77px;
  left: 10%;
}
.story-image-chocolate {
  grid-area: choco;
  width: 77.18%;
  position: relative;
  left: 22%;
}
@media screen and (min-width: 768px) {
  .story-heading {
    font-size: 24px;
  }
  .story-paragraph {
    font-size: 16px;
  }
}
@media screen and (min-width: 1024px) {
  .story-section {
    padding: 120px 0 0;
  }
  .story-content {
    display: grid;
    grid-template-areas:
      'heading main'
      'text1 main'
      'cacao fruit'
      'choco text2';
    grid-auto-columns: 1fr 1fr;
  }
  .story-heading {
    font-size: 24px;
  }
  .story-paragraph._text2 {
    position: relative;
  }
  .story-paragraph {
    font-size: 16px;
  }
  .story-image-main {
    width: 102.5%;
    position: relative;
    left: -2.5%;
  }
  .story-image-cacao {
    width: 118.335%;
    top: 100px;
    left: 15.7%;
  }
  .story-image-fruit {
    width: 55.418%;
    top: 220px;
    left: 44.5%;
  }
  .story-image-chocolate {
    width: 100%;
    top: 200px;
    left: 0;
  }
  .story-paragraph._text2 {
    position: relative;
    top: 120%;
  }
  .story-bottom-space {
    height: 120px;
    width: 100%;
    display: block;
    clear: both;
    position: relative;
    z-index: 1;
    margin-top: 200px;
  }
}
@media screen and (min-width: 1440px) {
  .story-image-chocolate {
    width: 112.5%;
  }
  .story-paragraph._text2 {
    top: 100%;
    left: 10px;
  }
}
/*blog*/
.blog-section {
  padding-bottom: 0;
}
/*shop*/
.shop-info {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    'image details'
    'map map';
  gap: 20px 0;
}
.shop-image {
  grid-area: image;
  width: 100%;
  aspect-ratio: 134px / 180px;
  overflow: hidden;
  border-radius: 2px;
}
.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-details {
  grid-area: details;
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  padding: 10px 15px;
}
.shop-address {
  margin-bottom: 10px;
}
.shop-map {
  grid-area: map;
  position: relative;
  width: 100%;
  height: 0;
  /* 高さ/幅の比率 = 約43.87% */
  padding-bottom: calc(154 / 351 * 100%);
}
.shop-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .shop-info {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    grid-template-areas:
      'image details'
      'image map';
    gap: 0 30px;
  }
  .shop-image {
    grid-area: image;
    overflow: hidden;
    border-radius: 6px;
  }
  .shop-details {
    padding-bottom: 30px;
  }
}
