/* 統合元: jellycate-style.css */
:root {
  --main-color: #f38200;
  --main-hover: #d97400;
  --accent-color: #ffd8a1;
  --bg-color: #fffaf4;
  --text-main: #333333;
  --text-light: #666666;
  --border-color: #e6e6e6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Base Wrapper */
.mikan-lp-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--white);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-size: 16px;
}

/* Character img */
.char-img {
  width: 80px;
  display: block;
  opacity: 0.95;
}

/* Section Common */
.lp-section {
  padding: 60px 4%;
}

.lp-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 40px;
  position: relative;
  line-height: 30px;
}

.lp-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--main-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.lp-bg-light {
  background-color: var(--bg-color);
}

/* CTA Button */
.cta-btn-wrapper {
  text-align: center;
  margin-top: 30px;
  line-height: 24px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff9b33, var(--main-color));
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(243, 130, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  box-shadow: 0 6px 15px rgba(243, 130, 0, 0.5);
  color: var(--white);
}

/* 1. First View */
.fv-section {
  position: relative;
  text-align: center;
  padding: 60px 4% 80px;
  background-color: var(--accent-color);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.fv-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--main-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.fv-sub {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
}

.fv-char {
  position: absolute;
  bottom: 15px;
  left: 5%;
  width: 59px;
  opacity: 0.95;
}

/* 2. Benefit */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 30px;
  gap: 30px;
  margin: 10px 0;
}

.benefit-image {
  flex: 0 0 45%;
  border-radius: 8px;
  overflow: hidden;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.benefit-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.benefit-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--main-color);
  line-height: 1;
}

.benefit-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--main-color);
}

.benefit-text p {
  color: var(--text-light);
}

.benefit-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* 3. Products */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #eee;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active {
  background-color: var(--main-color);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Sub Tabs */
.sub-tab-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.sub-tab-btn {
  background-color: transparent;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  padding: 8px 25px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.sub-tab-btn.active,
.sub-tab-btn:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.sub-tab-content {
  display: none;
}

.sub-tab-content.active {
  display: block;
}

.swiper {
  width: 100%;
  padding-bottom: 40px !important;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  height: 100%;
}

.product-card img {
  border-radius: 4px;
  margin-bottom: 15px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-card .p-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  height: 40px;
  overflow: hidden;
}

.product-card .p-price {
  color: var(--main-color);
  font-weight: bold;
  font-size: 16px;
}

/* Ranking Icon */
.rank-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #666;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border: 2px solid #fff;
  letter-spacing: 0.05em;
}

.rank-icon.rank-1 {
  background: linear-gradient(135deg, #fcecae, #f2b700);
  color: #a67c00;
  width: 56px;
  height: 56px;
  font-size: 18px;
  top: 0;
  left: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.rank-icon.rank-2 {
  background: linear-gradient(135deg, #e6e6e6, #a8a8a8);
  color: #444;
  width: 50px;
  height: 50px;
  font-size: 16px;
  top: 0;
  left: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.rank-icon.rank-3 {
  background: linear-gradient(135deg, #f0c5a3, #cd7f32);
  color: #7b4a1b;
  width: 50px;
  height: 50px;
  font-size: 16px;
  top: 0;
  left: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Category links */
.category-links {
  margin-top: 50px;
}

.category-links h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.cat-link {
  display: block;
  background-color: var(--white);
  border: 1px solid var(--main-color);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.cat-link:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.cat-banner {
  display: block;
  background-color: #e5f4e7;
  color: #2d8a3e;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  border: 2px solid #2d8a3e;
}

/* 4. Scenes */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scene-card {
  background: var(--white);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.scene-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scene-card h4 {
  color: var(--main-color);
  font-size: 18px;
  margin-bottom: 15px;
}

/* 5. Story */
.story-box {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid var(--accent-color);
  display: flex;
  gap: 30px;
  align-items: center;
}

.story-image {
  flex: 0 0 45%;
  border-radius: 8px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-content {
  flex: 1;
}

.story-box h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--main-color);
}

.story-box p {
  margin-bottom: 15px;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border-color);
  padding: 15px;
  text-align: left;
}

.compare-table th {
  background-color: var(--bg-color);
  width: 25%;
}

.compare-table th.highlight,
.compare-table td.highlight {
  background-color: var(--accent-color);
  font-weight: bold;
}

.compare-table .highlight {
  color: #b75e00;
}

/* Chart */
.chart-wrapper-iframe {
  width: 100%;
  height: 600px;
  border: none;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

/* Accordion Q&A */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.qa-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--white);
  overflow: hidden;
}

.qa-title {
  appearance: none;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  background-color: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qa-title::after {
  content: '+';
  font-size: 24px;
  color: var(--main-color);
  transition: 0.3s;
}

.qa-item.open .qa-title::after {
  transform: rotate(45deg);
}

.qa-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-item.open .qa-content {
  padding: 20px;
  max-height: 500px;
}

/* 6. Closing */
.closing-section {
  text-align: center;
}

.closing-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.award-box {
  background: var(--white);
  border: 2px solid #e5c158;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 30px;
  font-weight: bold;
  color: #b48d1c;
}

.re-benefit {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.re-benefit p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .fv-title {
    font-size: 24px;
  }

  .fv-sub {
    font-size: 16px;
  }

  .fv-char {
    width: 80px;
    right: 5%;
    bottom: 10px;
  }

  .benefit-item {
    flex-direction: column !important;
    text-align: center;
    gap: 15px;
  }

  .benefit-image {
    flex: none;
    width: 100%;
  }

  .story-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .story-image {
    flex: none;
    width: 100%;
  }

  .story-content h4 {
    text-align: left;
  }

  .story-content p {
    text-align: left;
  }

  .scene-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .chart-wrapper-iframe {
    height: 700px;
    /* Adjust for mobile chart if needed */
  }
}

/* 統合元: index-style.css */
/* 新規追加・上書き用のCSS */
.fv-section-jelly {
    position: relative;
    text-align: center;
    padding: 120px 4% 140px;
    overflow: hidden;
    background-color: #fdf5eb;
}

.fv-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.fv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
    z-index: 1;
}

.fv-title-jelly {
    font-size: 44px;
    font-weight: 900;
    color: #d94a00;
    margin-bottom: 24px;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.9);
}

.fv-sub-jelly {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-btn-jelly {
    display: inline-block;
    color: #ff9b33;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 50px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(243, 130, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: solid 1px #ff9b33;
}



@keyframes shine {
    100% {
        left: 150%;
    }
}

.cta-btn-jelly:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 130, 0, 0.6);
    color: #ff9b33;
}

.problem-section {
    background-color: #fffaf4;
    padding: 80px 4%;
    text-align: center;
    margin: 30px 0;
}

.problem-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.problem-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--main-color);
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    position: relative;
}

.problem-card::before {
    content: "?";
    display: block;
    width: 30px;
    height: 30px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: -15px;
    left: 20px;
}

.problem-solution {
    font-size: 24px;
    font-weight: 900;
    color: #d94a00;
    background: #fff;
    padding: 20px 40px;
    display: inline-block;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(217, 74, 0, 0.15);
    border: 2px solid var(--accent-color);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--accent-color);
}

.review-card::before {
    content: "“";
    font-size: 70px;
    color: var(--accent-color);
    position: absolute;
    top: -5px;
    left: 20px;
    font-family: serif;
    opacity: 0.5;
    line-height: 1;
}

.review-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.review-meta {
    text-align: right;
    color: var(--main-color);
    font-size: 14px;
    font-weight: bold;
}

.product-item {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 30%;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
    margin: 0 15px;
}

.product-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-item img {
    border-radius: 8px;
    margin-bottom: 20px;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.product-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-color);
    font-weight: 900;
}

.product-item .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

@media screen and (max-width: 768px) {
    .fv-title-jelly {
        font-size: 28px;
    }

    .fv-sub-jelly {
        font-size: 16px;
        padding: 12px 15px;
    }

    .problem-card,
    .product-item {
        width: 100%;
    }

    .problem-solution {
        font-size: 18px;
        padding: 15px 25px;
    }

    .fv-section-jelly {
        padding: 80px 4% 100px;
    }
}

/* タブコンテナ用 */
.product-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.tab-btn {
    background-color: #fff;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.tab-btn:hover {
    background-color: var(--main-color);
    color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content.active {
    display: block;
}

/* サブタブ (用途から選ぶ) */
.sub-tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 15px;
}

.sub-tab-btn {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #777;
    padding: 8px 15px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.sub-tab-btn.active {
    color: #fff;
    background-color: var(--main-color);
    border-bottom: none;
    border-radius: 50px;
}

/* ランキングスライダー用 */
.ranking-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--main-color);
    color: #fff;
}

.slider-btn.prev-btn {
    left: -15px;
}

.slider-btn.next-btn {
    right: -15px;
}

@media screen and (max-width: 768px) {
    .slider-btn.prev-btn {
        left: 0px;
    }

    .slider-btn.next-btn {
        right: 0px;
    }
}

@media screen and (max-width: 500px) {
    .slider-btn {
        display: none;
    }

    /* 500px以下は横2つ表示（スワイプスクロール対応） */
    .product-tabs-container .ranking-slider .product-item,
    .product-tabs-container .product-lineup .product-item {
        width: 45%;
        flex: 0 0 45%;
        margin: 0 5px;
        padding: 15px 10px;
    }

    .product-tabs-container .product-item img {
        margin-bottom: 10px;
    }

    .product-tabs-container .product-item h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .product-tabs-container .product-item .price {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .product-tabs-container .cta-btn-jelly {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .product-tabs-container .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
        top: -10px;
        left: -10px;
    }
}

.ranking-slider,
.product-lineup {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 5px;
    padding: 20px 5px 30px 15px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ranking-slider::-webkit-scrollbar,
.product-lineup::-webkit-scrollbar {
    display: none;
}

.ranking-slider .product-item,
.product-lineup .product-item {
    flex: 0 0 auto;
    width: 30%;
    min-width: 270px;
    scroll-snap-align: center;
    position: relative;
    margin: 0 14px;
}

.rank-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: #ffb74d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 3px solid #fff;
}

.rank-badge.rank-1 {
    background: #ffd700;
    color: #b8860b;
}

.rank-badge.rank-2 {
    background: #e0e0e0;
    color: #555;
}

.rank-badge.rank-3 {
    background: #d28c5a;
    color: #fff;
}

@media screen and (max-width: 768px) {

    .ranking-slider .product-item,
    .product-lineup .product-item {
        width: 85%;
        min-width: unset;
        flex: 0 0 85%;
    }
}


.sub-tab-content {
    display: none;
    animation: fadeIn 0.4s;
}

.sub-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 動画用レスポンシブコンテナ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reason-text-box {
    text-align: left;
    background: #fffaf4;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--main-color);
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.reason-text-box p {
    margin-bottom: 15px;
}

.reason-text-box p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .reason-text-box {
        padding: 20px 15px;
        font-size: 14px;
    }
}

/* 味わいチャート */
.flavor-section {
    background-color: var(--white);
    padding: 40px 4%;
    text-align: center;
}

.flavor-map-container {
    width: 100%;
    max-width: 380px;
    margin: 40px auto;
    position: relative;
    background: #fffaf4;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.flavor-axis-x {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #d94a00;
    opacity: 0.3;
}

.flavor-axis-y {
    position: absolute;
    left: 50%;
    top: 5%;
    bottom: 5%;
    width: 2px;
    background: #d94a00;
    opacity: 0.3;
}

.flavor-label {
    position: absolute;
    font-weight: 900;
    color: #d94a00;
    font-size: 14px;
    background: #fffaf4;
    padding: 2px 6px;
    border-radius: 4px;
}

.flavor-label.top {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.flavor-label.bottom {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.flavor-label.left {
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.flavor-label.right {
    right: 0%;
    top: 50%;
    transform: translate(50%, -50%);
}

.flavor-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    z-index: 10;
    cursor: pointer;
}

/* 吹き出しのスタイル */
.flavor-tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--main-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
    text-align: left;
    font-weight: normal;
}

.flavor-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--main-color) transparent transparent transparent;
}

.flavor-dot:hover .flavor-tooltip,
.flavor-dot.active .flavor-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

.dot-circle {
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.dot-text {
    font-size: 12px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.flavor-dot:hover,
.flavor-dot.active {
    z-index: 9999;
}

.flavor-dot:hover .dot-circle,
.flavor-dot.active .dot-circle {
    transform: scale(1.2);
    background: #d94a00;
}

.flavor-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.flavor-item {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 5px solid var(--main-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flavor-item:hover,
.flavor-item.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fffaf4;
}

.flavor-item-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.flavor-item-content {
    flex: 1;
}

.flavor-name {
    font-size: 16px;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flavor-item-content p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

.flavor-badge {
    font-size: 10px;
    background: var(--accent-color);
    color: #b75e00;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: bold;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}


/* 右固定ナビゲーション */
.fixed-side-banner {
    position: fixed;
    top: 40%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 8000;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid var(--accent-color);
    border-right: none;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.fixed-side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    text-decoration: none;
    color: var(--main-color);
    font-size: 13px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
    border-bottom: 2px solid #ffe0b2;
    transition: all 0.3s ease;
    min-height: 100px;
}

.fixed-side-btn:last-child {
    border-bottom: none;
}

.fixed-side-btn:hover {
    background: #fffaf4;
    color: #d94a00;
}

.fixed-side-btn.btn-cart {
    background: #ff9800;
    color: #fff;
    font-size: 14px;
}

.fixed-side-btn.btn-cart:hover {
    background: #e65100;
}

@media screen and (max-width: 768px) {
    .fixed-side-banner {
        transform: scale(0.85) translateY(-50%);
        transform-origin: right center;
    }
}

/* 定期便バナー用 */
.sub-banner-title {
    font-size: 26px;
    color: #d94a00;
    font-weight: 900;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sub-banner-list {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.sub-banner-item {
    width: 30%;
    min-width: 280px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sub-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.sub-banner-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: block;
}

/* 価格別で探す */
.price-search-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.price-search-btn {
    background: #fff;
    border: 2px solid var(--main-color);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    width: calc(25% - 12px);
    min-width: 160px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-search-btn:hover {
    background: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(217, 74, 0, 0.2);
}

.price-range {
    font-size: 16px;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.price-desc {
    font-size: 13px;
    font-weight: bold;
    color: #555;
    transition: color 0.3s ease;
}

.price-search-btn:hover .price-range,
.price-search-btn:hover .price-desc {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .price-search-btn {
        width: calc(50% - 15px);
    }
}

/* ==========================================================================
   目次（TOC）セクションのスタイル
   ========================================================================== */
.toc-section {
    padding: 30px 4% 10px;
    background-color: #fff;
    text-align: center;
}

.toc-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 25px;
    background: #fffaf4;
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(243, 130, 0, 0.05);
}

.toc-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 900;
    color: var(--main-color);
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--main-color);
    margin-bottom: 15px;
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 15px;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    background-color: #fff;
    padding: 8px 10px;
    border-radius: 50px;
    border: 1px solid #ffe0b2;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.toc-list a:hover {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(243, 130, 0, 0.2);
}

/* ==========================================================================
   「もっと知る」セクションのスタイル
   ========================================================================== */
#more-about-jelly {
    background-color: #fffaf4;
    padding: 80px 4%;
}

.more-content-block {
    max-width: 900px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.more-content-block:last-child {
    margin-bottom: 0;
}

.more-content-sub-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.more-content-sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 2px;
}

/* サブタイトル直下の画像スタイル */
.sub-title-img-wrapper {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 600px;
}

.sub-title-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: block;
}

/* 1. 搾汁方法 */
.extraction-container {
    display: flex;
    gap: 24px;
    margin-bottom: 25px;
}

.extraction-card {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    position: relative;
}

.extraction-card h4 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
}

.method-type {
    font-size: 13px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 15px;
}

.method-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.method-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
}

.stat-label {
    font-size: 14px;
    font-weight: bold;
    color: #888;
}

.stat-val {
    font-size: 20px;
    font-weight: 900;
    color: #555;
}

.stat-val.highlight {
    color: #e65100;
    font-size: 22px;
}

.stat-val small {
    font-size: 12px;
    font-weight: normal;
}

.method-ito {
    border: 2px solid var(--main-color);
    background-color: #fffbf7;
}

.method-ito h4 {
    color: var(--main-color);
}

.badge-ito {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #e65100;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 5px rgba(230, 81, 0, 0.3);
}

/* 詳しく見るボタン */
.more-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

.more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffa726, #f57c00);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 45px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 124, 0, 0.45);
    color: #fff;
}

/* 2. 栄養素 */
.nutrition-intro {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    font-weight: bold;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nutrition-card {
    background: #fffaf5;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.nutrition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(243, 130, 0, 0.08);
}

.nutrition-card h4 {
    font-size: 18px;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 15px;
}

.nutrition-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.nutrition-benefits li {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    font-weight: bold;
}

.nutrition-benefits li:last-child {
    margin-bottom: 0;
}

.nutrition-benefits li span {
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--main-color);
    font-weight: 900;
    font-size: 14px;
}

/* 3. アレンジレシピ */
.recipe-intro {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    font-weight: bold;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.recipe-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

.recipe-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.recipe-num {
    font-size: 20px;
    font-weight: 900;
    color: var(--main-color);
    line-height: 1;
}

.recipe-card h4 {
    font-size: 16px;
    font-weight: 900;
    color: #333;
    margin: 0;
    line-height: 1;
}

.recipe-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   受賞実績（モンドセレクション）セクションのスタイル
   ========================================================================== */
.award-section {
    background-color: #fffbf5;
    padding: 60px 4%;
}

.award-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #ffe0b2;
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 4px 15px rgba(243, 130, 0, 0.03);
}

.award-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* モンドセレクション金メダル画像 */
.award-medal-wrapper {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.award-medal-img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 120px;
    transition: transform 0.3s ease;
}

.award-medal-img:hover {
    transform: scale(1.05);
}

/* テキスト部分 */
.award-text-block {
    flex: 1;
}

.award-subtitle {
    font-size: 13px;
    font-weight: bold;
    color: #b8860b;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.award-main-title {
    font-size: 26px;
    font-weight: 900;
    color: #333;
    line-height: 1.3;
    margin-bottom: 8px;
}

.award-years {
    display: inline-block;
    background-color: #f57c00;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(245, 124, 0, 0.2);
}

.award-detail {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   レスポンシブ対応（目次・もっと知る・受賞実績）
   ========================================================================== */
@media screen and (max-width: 768px) {
    .toc-container {
        padding: 15px;
    }
    
    .toc-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 12px;
    }
    
    .toc-list a {
        font-size: 12px;
        padding: 6px 10px;
    }

    #more-about-jelly {
        padding: 50px 4%;
    }

    .more-content-block {
        padding: 25px 20px;
        margin-bottom: 40px;
    }

    .more-content-sub-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .sub-title-img-wrapper {
        margin-bottom: 20px;
    }

    .extraction-container {
        flex-direction: column;
        gap: 20px;
    }

    .extraction-card {
        padding: 20px;
    }

    .badge-ito {
        top: -10px;
        right: 15px;
        font-size: 10px;
    }

    .nutrition-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nutrition-card {
        padding: 20px 15px;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .recipe-card {
        padding: 20px;
    }

    .award-container {
        padding: 30px 20px;
    }

    .award-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .award-medal-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }

    .award-main-title {
        font-size: 20px;
    }

    .award-detail {
        font-size: 13px;
        text-align: left;
    }
}

.qa-title:focus-visible {
    outline: 3px solid rgba(243, 130, 0, 0.35);
    outline-offset: 3px;
}

/* E-E-A-T導入・実績エリア */
.fv-eeat-intro {
    margin: 0 auto;
    max-width: 1000px;
    padding: 50px 4% 0;
    background-color: var(--bg-color);
    text-align: center;
}

.fv-eeat-intro h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.fv-eeat-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0;
    font-weight: bold;
}

.fv-eeat-container {
    margin: 0 auto;
    max-width: 1000px;
    padding: 30px 4% 50px;
    background-color: var(--bg-color);
    text-align: center;
}

.fv-eeat-badges {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
}

.fv-eeat-badge {
    flex: 1 1 280px;
    min-width: 240px;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-shadow: 0 4px 12px rgba(243, 130, 0, 0.05);
    transition: transform 0.3s ease;
}

.fv-eeat-badge:hover {
    transform: translateY(-4px);
}

.fv-eeat-badge img {
    height: 54px;
    object-fit: contain;
    margin-bottom: 15px;
}

.fv-eeat-badge img.gmark-img {
    border-radius: 4px;
}

.badge-label {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
    font-weight: 700;
}

.badge-label small {
    font-size: 11px;
    color: var(--text-light);
    font-weight: normal;
    display: block;
    margin-top: 6px;
}

.badge-no1 {
    border: 2px solid var(--accent-color);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.no1-badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-main);
}

.no1-sub {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.no1-main {
    font-size: 15px;
    font-weight: 900;
    margin: 8px 0;
    line-height: 1.2;
    color: var(--main-color);
}

.no1-main strong {
    font-size: 24px;
    color: var(--main-color);
}

.no1-desc {
    font-size: 9px;
    color: var(--text-light);
    white-space: nowrap;
}
