/* Wine Set Page Styles */
:root {
  --icon-width: 1px;
  --icon-color: #6C404A;
  --container-padding: max(20px, calc((100vw - 1200px) / 2));
  --main-color: #6C404A;
  --font-family: "Noto Sans JP", sans-serif;
  --font-family-serif: "Noto Serif JP", serif;
}

.main{
  /*background-color: #F8F7F5;*/
  font-family: var(--font-family);
  padding-top: 112px;
}

.wine-set-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #FFFFFF;
}

.hero-section {
  position: relative;
}

.hero-visual-area {
  background-color: #FDF9F5;
  padding: 30px 24px 40px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.hero-header {
  text-align: center;
  margin-bottom: 28px;
}

.hero-icon {
  width: 16px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.hero-copy {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #b39252;
  font-family: var(--font-family-serif);
}

.hero-title {
  margin: 5px 0 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: #1c2538;
  position: relative;
  display: inline-block;
  padding-bottom: 30px;
  font-family: var(--font-family-serif);
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 52px;
  height: 1.5px;
  background-color: #b39252;
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #6f7989;
}

.hero-main-visual {
  max-width: 940px;
  margin: 0 auto;
}

.hero-main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(28, 37, 56, 0.14);
}

.hero-text {
  text-align: center;
  padding: 34px 20px 30px;
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 1px solid #e6e6e6;
}

.hero-text p {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
  color: #31394a;
  font-family: var(--font-family);
}

.icon-arrow-bottom {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--main-color);
  border-width: 0 0 1px 1px;
  transform: rotate(-45deg);
  margin-top: 5px;
  transition: transform 0.3s ease;
}

@keyframes bounce-arrow {
  0%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(3px) rotate(-45deg);
  }
}

/* セクションタイトル */
.prts__contents {
  margin: 60px auto 10px;
  max-width: 1200px;
  text-align: center;
  position: relative;
}

.cmsi__head {
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-family-serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1c2538;
  line-height: 1.3;
}

.cmsi__head::before,
.cmsi__head::after {
  content: "";
  width: clamp(42px, 7vw, 38px);
  height: 1.5px;
  background-color: #8b95a4;
  flex: 0 0 auto;
}

.main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.main-title::before {
  content: "";
  display: block;
  width: 1100px;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  top: 20px;
  z-index: 0;
}

.main-title h2 {
  font-size: 20px;
  color: var(--main-color);
  margin: 0;
  white-space: nowrap;
  font-weight: normal;
  background: #fff;
  padding: 0 30px;
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
}

.sub-title {
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

.sub-title h3 {
  font-size: 36px;
  color: var(--main-color);
  margin: 0;
  font-weight: bold;
  font-family: var(--font-family-serif);
}

.sub-title-line {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 2px;
  background: var(--main-color);
  display: block;
}

.cmsi__txt {
  padding: 0 20px;
}

.choice-nav-section {
  background: #f4f5f7;
  margin: 36px 0 12px;
  padding: 44px 20px 48px;
}

/* 背景色付きセクションを画面幅いっぱいに広げる */
.choice-nav-section,
#popular {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.choice-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.choice-nav-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: #1d2431;
  font-family: var(--font-family-serif);
}

.choice-nav-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 20px 10px;
  text-decoration: none;
  background: #ffffff;
  border: 2px solid #e4e6eb;
  color: #1d2431;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.choice-nav-btn-main {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.choice-nav-btn-sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #5f6672;
}

.choice-nav-section a,
.choice-nav-section a:hover,
.choice-nav-section a:focus,
.choice-nav-section a:active,
.choice-nav-section a:visited {
  text-decoration: none;
}

.choice-nav-btn:hover,
.choice-nav-btn:focus-visible {
  background: #f1c40f;
  border-color: #f1c40f;
}

.choice-nav-btn:hover .choice-nav-btn-sub,
.choice-nav-btn:focus-visible .choice-nav-btn-sub {
  color: #4e4630;
}

.anchor-offset {
  display: block;
  position: relative;
  top: -130px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

.condition-link-section {
  padding: 8px 20px 90px;
}

.condition-link-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.condition-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.condition-link-card {
  min-height: 180px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.condition-link-section a,
.condition-link-section a:hover,
.condition-link-section a:focus,
.condition-link-section a:active,
.condition-link-section a:visited {
  text-decoration: none;
}

.condition-link-card:hover,
.condition-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: #d5dae2;
  background: #ffffff;
}

.condition-link-icon {
  font-size: 36px;
  line-height: 1;
}

.condition-red .condition-link-icon {
  color: #8f0000;
}

.condition-white .condition-link-icon {
  color: #8aa227;
}

.condition-spark .condition-link-icon {
  color: #9c7a1b;
}

.condition-mix .condition-link-icon {
  color: #c1c8d2;
}

.condition-link-en {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #31394a;
}

.condition-link-ja {
  margin-top: 8px;
  font-size: 15px;
  color: #6f7989;
}

.cmp__txt-title {
  margin-bottom: 15px;
}

.cmp__txt-title h3 {
  font-size: 24px;
  color: var(--main-color);
  margin: 0;
  font-weight: normal;
  line-height: 1.6;
  font-family: var(--font-family);
}

.cmp__txt-txt {
  margin-bottom: 30px;
}

.cmp__txt-txt p {
  font-size: 16px;
  color: var(--main-color);
  line-height: 1.8;
  margin: 0;
  font-family: var(--font-family);
}

/* タブ要素のコンテナ */
.tabelem-container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto 30px auto;
}

.tabelem {
  width: 100%;
  overflow-x: unset !important;
  overflow-y: unset !important;
  padding-bottom: 0;
}

.itemlist.ranking {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.itemlist.ranking li {
  flex: unset;
  width: 100%;
  position: relative;
}

.itemlist.ranking li:hover .item_img img {
  transform: translateY(-5px);
}

.itemlist.ranking a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.item_img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}

.item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.item_info {
  padding: 15px 0;
}

.item_info.has-copy .item_name {
  display: block;
  margin: 2px 0 8px;
}

.item_info.has-copy .item_name {
  font-size: 14.5px;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  font-weight: 700;
  color: #1d2431;
}

.item_info.has-copy .item_name > span,
.item_info.has-copy span.item_name {
  display: block;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.item_info.has-copy .item_text {
  margin-top: 0;
  color: #5f6672;
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.item_info.has-copy .item_price {
  justify-content: flex-start;
  margin-top: 12px;
  gap: 0;
}

.item_info.has-copy .item_price .-price {
  font-size: 20px;
  color: #1d2431;
}

.item_info > .icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.item_price {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.item_price .icons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0;
}

.icons .set_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.icons .set_icon.icon-red {
  background: #8f0000;
}

.icons .set_icon.icon-spark {
  background: #9c7a1b;
}

.icons .set_icon.icon-white {
  background: #8aa227;
}

.icons .set_icon.icon-mix {
  background: #a9a9a9;
}

.item_price .icon {
  font-size: clamp(10px, 1.5vw, 12px);
  padding: 2px 10px;
  border-radius: 50px;
  background: var(--main-color);
  color: #fff;
}

.item_price .-price {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: bold;
  color: var(--main-color);
  font-family: var(--font-family);
}

.item_text {
  font-size: 14px;
  color: var(--main-color);
  line-height: 1.5;
  margin-top: 10px;
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  color: var(--main-color);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  z-index: 1;
  background: transparent;
}

.text-toggle.visible {
  display: flex;
}

.text-toggle .icon {
  width: 16px;
  height: 16px;
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin-right: 2px;
}

.text-toggle .icon::before,
.text-toggle .icon::after {
  content: '';
  position: absolute;
  background-color: var(--main-color);
  transition: transform 0.3s ease;
}

.text-toggle .icon::before {
  top: 7px;
  left: 3px;
  width: 10px;
  height: 2px;
}

.text-toggle .icon::after {
  top: 3px;
  left: 7px;
  width: 2px;
  height: 10px;
}

.text-toggle.expanded .icon::after {
  transform: rotate(90deg);
}

.text-toggle .toggle-text {
  background: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
}

.waribiki_wrapper {
  display: none;
}

.waribiki {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.icons .waribiki_wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-height: 24px;
  border-radius: 3px;
  background: #f1cf22;
  padding: 0 10px;
  box-sizing: border-box;
}

.zeikomi {
  font-size: 12px;
  margin-right: 3px;
  font-weight: normal;
}

.item_price .-price .yen {
  font-size: 12px;
  margin-left: 3px;
  font-weight: normal;
}

.-point {
  display: block;
  font-size: clamp(10px, 1.5vw, 12px);
  color: var(--main-color);
  margin-top: 5px;
  font-family: var(--font-family);
}

/* 月替わりセット用の特別なスタイル */
#monthly .tabelem-container {
  max-width: 1080px;
  padding: 0;
  margin: 0 auto;
}

#monthly .itemlist.ranking {
  /*width: 1080px;*/
  margin: 0 auto;
  gap: 30px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

#monthly .itemlist.ranking li {
  flex: 0 0 340px;
  width: 340px;
}

#monthly .item_img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}

#monthly .item_info {
  padding: 20px 0;
}

/* monthlyセクションのスクロールバーを非表示に */
#monthly .tabelem {
  overflow-x: unset;
  padding-bottom: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1120px) {
  .itemlist.ranking {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .itemlist.ranking {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .itemlist.ranking {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    grid-template-columns: unset;
    padding: 0 0 10px 0;
    width: 100%;
    min-width: 0;
  }
  .itemlist.ranking li {
    flex: 0 0 90vw;
    width: 90vw;
    min-width: 220px;
    max-width: 100vw;
  }
  #monthly .tabelem-container {
    overflow-x: hidden;
    margin-left: 0;
    padding: 0 0 10px 0;
  }
  #monthly .itemlist.ranking {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    width: 100%;
    min-width: 0;
    padding: 0 0 10px 0;
  }
  #monthly .itemlist.ranking li {
    flex: 0 0 90vw;
    width: 90vw;
    min-width: 220px;
    max-width: 100vw;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 0;
  }

  .hero-visual-area {
    padding: 60px 16px 28px;
  }

  .hero-icon {
    margin-bottom: 12px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .hero-title {
    font-size: 25px;
    margin-top: 8px;
    padding-bottom: 24px;
  }

  .hero-title::after {
    width: 44px;
    bottom: 11px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-top: 10px;
  }

  .hero-main-visual {
    margin-top: 2px;
  }


  .tabelem-container {
    padding: 0 15px;
  }

  .itemlist.ranking {
    gap: 15px;
    scroll-snap-type: none;
  }

  .itemlist.ranking li {
    flex: 0 0 220px;
    width: 220px;
  }

  #monthly .tabelem {
    overflow-x: visible;
  }

  #monthly .itemlist.ranking li {
    flex: 0 0 260px;
    width: 260px;
  }

  #monthly .item_info {
    padding: 15px 0;
  }

  .item_info {
    flex-direction: column;
    gap: 5px;
  }

  .item_price {
    justify-content: center;
  }

  .item_info.has-copy .item_price {
    justify-content: flex-start;
  }

  .item_info.has-copy .item_name {
    font-size: 15px;
    line-height: 1.55;
    min-height: calc(1.55em * 2);
    margin-bottom: 8px;
  }

  .item_info.has-copy .item_name > span,
  .item_info.has-copy span.item_name {
    font-size: inherit;
    line-height: inherit;
  }

  .item_info.has-copy .item_text {
    font-size: 12px;
    line-height: 1.65;
  }

  .item_info.has-copy .item_price .-price {
    font-size: 18px;
  }

  .item_price .-price {
    margin-left: 0;
  }

  :root {
    --container-padding: 15px;
  }

  .prts__contents {
    margin: 10px auto 0px;
    padding: 0 15px;
    overflow: hidden;
  }

  .main-title::before {
    width: 100vw;
    left: calc(50% - 50vw);
  }

  .main-title h2 {
    font-size: 20px;
    padding: 0 15px;
  }

  .sub-title h3 {
    font-size: 26px;
  }

  .sub-title-line {
    width: 100vw;
    left: calc(50% - 50vw);
  }

  .cmp__txt-title h3 {
    font-size: 18px;
  }

  .cmp__txt-txt p {
    font-size: 14px;
  }

  .cmsi__txt {
    padding: 0 15px;
  }

  .section-title {
    margin: 40px 0 30px;
  }

  .section-title-inner {
    gap: 15px;
  }

  .section-title-line {
    width: 30px;
  }

  .section-title h2 {
    font-size: 16px;
  }

  .section-subtitle {
    font-size: 22px;
  }

  .item_disc {
    font-size: 14px;
  }

  .-price {
    font-size: 16px;
  }

  .hero-text {
    padding: 26px 4px 2px;
  }
  
  .hero-text p {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    margin: 0px 30px 20px;
  }

  .cmsi__head {
    gap: 14px;
    font-size: 20px;
  }

  .cmsi__head::before,
  .cmsi__head::after {
    width: 28px;
  }
  
  .hero-text br {
    display: none;
  }

  .choice-nav-section {
    margin: 24px 0 10px;
    padding: 26px 14px 30px;
  }

  .choice-nav-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .choice-nav-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .choice-nav-btn {
    min-height: 54px;
    border-radius: 22px;
    padding: 16px 18px;
  }

  .choice-nav-btn-main {
    font-size: 18px;
  }

  .choice-nav-btn-sub {
    font-size: 11px;
    margin-top: 6px;
  }

  .anchor-offset {
    top: -80px;
  }

  .condition-link-section {
    padding: 0 14px 8px;
  }

  .condition-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .condition-link-card {
    min-height: 120px;
  }

  .condition-link-icon {
    font-size: 30px;
  }

  .condition-link-en {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .condition-link-ja {
    margin-top: 6px;
    font-size: 13px;
  }

  #monthly .tabelem-container {
    max-width: 100%;
    margin: 0 15px;
  }

  /*#monthly .itemlist.ranking {
    width: max-content;
    margin: 0;
    justify-content: flex-start;
    gap: 15px;
  }*/

  #monthly .itemlist.ranking li {
    flex: 0 0 260px;
    width: 260px;
  }
  .tabelem-container {
    margin-top: 20px;
    margin-bottom: 30px;
    scroll-snap-type: none;
  }

  .tabelem {
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scroll-padding: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .tabelem::-webkit-scrollbar {
    height: 6px;
    display: block !important;
    visibility: visible !important;
  }

  .itemlist.ranking {
    padding: 0 0 10px 0;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
}

.wine-section {
  margin-bottom: 80px;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .wine-section {
    margin-bottom: 60px;
  }

  .wine-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 15px;
  }

  .section-title,
  .section-title-inner,
  .section-title-line,
  .section-subtitle {
    display: none;
  }
}

.sub-category {
  text-align: center;
  margin: 40px auto 20px;
  position: relative;
  max-width: calc(280px * 4.5);
  padding: 0 20px;
}

.sub-category.no-margin {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .sub-category {
    margin: 10px 15px 15px;
    padding: 0 15px 6px 2px;
  }

  .sub-category h4 {
    font-size: 18px;
    padding: 0 20px;
  }

  .sub-category h4::before,
  .sub-category h4::after {
    width: 15px;
  }
}

.sub_image {
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}

#popular{
  position: relative;
  background: #FDF9F5;
  padding: 8px 0 60px;
}

.high-rated-subhead-wrap {
  max-width: 1200px;
  margin: 0 auto 10px;
  padding: 0 20px;
}

.high-rated-subhead {
  display: inline-block;
  margin: 0;
  padding-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #253149;
  border-bottom: 3px solid #d5d0c7;
}

.sub-category {
  text-align: left;
  max-width: 1200px;
  margin: 28px auto 16px;
  padding: 0 20px 8px;
  border-bottom: 2px solid #d5d0c7;
}

.sub-category h4 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1b2437;
  border: none;
}

.sub-category .subcat-grape {
  color: #5b8a44;
}

.sub-category .subcat-origin {
  color: #4f7fbf;
}

.sub-category .subcat-maker {
  color: #7a6a4d;
}

.sub-category .subcat-food {
  color: #5b8a44;
}

.sub-category .subcat-popular {
  color: #d5aa17;
}

.sub-category .subcat-teiban {
  color: #8f0000;
}

.sub-category h4::before,
.sub-category h4::after {
  content: none;
}

.sub-category h4::before {
  content: none;
}

.sub-category .subcat-icon {
  font-size: 18px;
  line-height: 1;
}

#theme {
  position: relative;
  padding: 0px 0 60px;
  margin-top: -1px;
}

#champagne {
  position: relative;
  padding: 0px 0 60px;
  margin-top: -1px;
}

#food {
  position: relative;
  padding: 0px 0 60px;
  margin-top: -1px;
}

/* セクション間の境界線をスムーズにする */
.wine-section {
  margin-bottom: 0;
}

.set-cta-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: #091631;
  padding: 58px 20px 64px;
}

.set-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.set-cta-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-family-serif);
}

.set-cta-text {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #a6b0c3;
}

.set-cta-actions {
  max-width: 520px;
  margin: 28px auto 0;
  display: grid;
  gap: 14px;
}

.set-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.set-cta-btn:hover,
.set-cta-btn:focus-visible {
  opacity: 0.92;
}

.set-cta-btn-primary {
  background: #b30000;
  color: #ffffff;
  border: 1px solid #b30000;
}

.set-cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #3a4c72;
}

.set-cta-section a,
.set-cta-section a:hover,
.set-cta-section a:focus,
.set-cta-section a:active,
.set-cta-section a:visited {
  text-decoration: none;
}

/* メインコンテンツを背景色の上に表示 */
.prts__contents,
.tabelem-container {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  #popular {
    padding: 20px 0 0px;
  }

  .high-rated-subhead-wrap {
    padding: 0 15px;
    margin-bottom: 8px;
  }

  .high-rated-subhead {
    font-size: 16px;
    padding-bottom: 6px;
  }

  .sub-category {
    margin: 16px auto 10px;
    padding: 0 15px 6px;
  }

  .sub-category h4 {
    font-size: 17px;
  }

  .sub-category .subcat-icon {
    font-size: 16px;
  }

  #theme {
    padding: 0px 0 40px;
  }
  #champagne {
    padding: 0px 0 40px;
  }
  #food {
    padding: 0px 0 40px;
  }

  .set-cta-section {
    padding: 40px 16px 44px;
  }

  .set-cta-title {
    font-size: 22px;
  }

  .set-cta-text {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
  }

  .set-cta-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .set-cta-btn {
    min-height: 52px;
    font-size: 15px;
  }
}
