.ff_serif {
  font-family: "Noto Sans JP", sans-serif !important;
  letter-spacing: normal;
}

.commonHead {
  background-image: none;
  min-height: auto;
  margin-top: 4em;
  padding-top: 4em;
}

section.expensive .body .box .comparison .the_jewel_cafe {
  min-width: 50%;
}

section.expensive .body .box .comparison .the_jewel_cafe .the_price .the_value {
  font-style: normal;
  font-size: 46px;
  padding-left: 0;
}

section.expensive
  .body
  .box
  .comparison
  .the_jewel_cafe
  .the_price
  .achieved
  .mini {
  margin-top: -11px;
  background: orange;
  padding: 0 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

section.expensive .body .box .comparison .the_jewel_cafe .the_price {
  text-align: center;
}

section.results .intro {
  width: 100%;
  letter-spacing: normal;
  font-weight: 400;
}

section.expensive .intro {
  width: 100%;
  margin: 0 auto 0.5em auto;
}

section.intro .sub {
  font-size: 18px;
  padding-bottom: 12px;
}

section.intro .appeal {
  font-size: 24px;
}
section.intro .main {
  font-size: 36px;
  padding-bottom: 0.2em;
}

section.intro .main:after {
  background: rgb(218, 23, 43);
}

section.intro .text {
  width: 65%;
  line-height: 1.6;
}

section.intro {
  background-image: url("https://jewel-cafe.tw/wp-content/themes/jewel/rn/img/gold-kaitori/jctw-gold-model.png");
  background-position: right -15px top 41% !important;
  background-size: 380px auto !important;
}

.commonHead .sub {
  font-size: 16px;
  letter-spacing: normal;
  font-weight: 400;
  text-align: center;
}

section.expensive .body .box .comparison table {
  font-weight: 400;
  font-size: 16px;
}

.comparison .others th {
  font-size: 16px;
}

section.expensive .body .box .comparison {
  min-height: 225px;
}

.slide {
  display: grid;
  grid-template-rows: auto auto; /* 2 rows */
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 10px;
}

section.results .achieves .item {
  padding: 0;
  box-shadow: none;
  margin: 0;
  background-color: white;
  border-radius: 0;
}

section.results .achieves .item .upper:after {
  height: 0;
}

.lower {
  font-size: 12px;
}

section.results .achieves .item .upper .comment {
  color: #e50019;
  text-align: end;
}

section.results .achieves .item .upper {
  float: right;
  padding-right: 0.5em;
}

section.results .achieves .item .upper .comment {
  padding: 1.6em 0 0;
}

.bg-pink {
  background-color: #fef7f7;
  padding-bottom: 20px;
  margin-bottom: 63px;
}

.name {
  padding-left: 10px;
}

section.policy {
  background-image: none;
  background-color: initial;
}
section.policy .bg {
  background-image: none;
}

section.policy .policies .item {
  width: 100%;
}
section.policy .policies .item .panel .title {
  font-size: 16px;
}

.policies .item .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

section.policy .policies .item .panel .float {
  padding: 1em;
  background-color: #fcf7f0;
  min-height: 135px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

section.policy .policies .item .image {
  width: 100%;
}

section.policy .policies .item .panel {
  width: 100%;
}

.policies {
  display: flex;
  margin-top: 20px;
}

.carousel-container {
  position: relative;
  /* max-width: 300px; */
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 auto;
  width: 26% !important;
  padding: 10px; /* Adjust item padding as needed */
  box-sizing: border-box;
}

.btnPrevNext {
  text-align: end;
  position: absolute;
  right: 0;
  border: 0;
}

button.carousel-control {
  padding: 8px 10px;
  background-color: #e50019;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.star {
  color: #f4c01e;
  font-size: 22px;
}

section.voice .body .each .customer {
  padding-bottom: 1em;
  margin-bottom: 1em;
}

section.voice .body .each {
  padding-bottom: 1em;
  margin-bottom: 1em;
}

section.voice .body .each .staff .top .title {
  font-size: 18px;
}
section.voice .body .each .customer .top .title {
  font-size: 18px;
}
section.voice .body .each .customer .top {
  margin-bottom: 1em;
}
section.ways .body .index {
  padding: 0;
  border: none;
  margin-bottom: 0;
}

.carousel-container {
  position: relative;
  /* max-width: 600px; */
  margin: auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #bbb;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: #717171;
}

.content-txt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px;
}

section.columns .body .item .info .the_title {
  font-size: 16px;
  padding-left: 20px;
}
.column-btn {
  background-color: #de1123;
  width: max-content;
  padding: 10px;
  border-radius: 20px;
  color: white;
}
section.columns .body .item .info {
  height: 100%;
  position: relative;
}

.btn-more {
  position: absolute;
  right: 0;
  bottom: 0;
}
img.youko {
  width: 8%;
  margin-right: 20px;
}

.commonHead .main {
  display: flex;
  align-items: center;

  font-size: 36px;
}

.ycolumn {
  display: flex;
  align-items: center;
  color: white;
  background-color: #de1123;
  font-size: 36px;
  height: 80px;
}

section.columns .body .item {
  border-top: none;
}

.accordion {
  /* border: 1px solid #ccc; */
}

.accordion-item {
  border-bottom: 1px solid #000;
}

.accordion-header {
  background-color: transparent;
  padding: 15px;
  cursor: pointer;
  position: relative;
  padding-left: 30px; /* Ensure space for the icons */
  font-size: 18px;
  font-weight: 700;
}

.accordion-header::before {
  content: "+"; /* Plus icon for collapsed state */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: red;
}

.accordion-item.active .accordion-header::before {
  content: "-"; /* Minus icon for expanded state */
}

.accordion-content {
  padding: 10px;
  display: none; /* Hide content by default */
}

.accordion-item.active .accordion-content {
  display: block; /* Show content when accordion is active */
}

section.greet .label_red {
  border-radius: 5px;
  font-size: 18px;
  padding: 15px 0;
}

img.rank {
  width: 4%;
}

.rank-flex {
  display: flex;
  justify-content: center;
}

.h2rank {
  align-content: center;
  font-size: 36px;
  padding: 0 20px;
}

section.ranking .body .item {
  background-color: #fcf7f0;
  box-shadow: none;
  width: 32%;
}
section.ranking .body .item .title {
  background-color: #fcf7f0;
  justify-content: center;
}

section.ranking .body .item .title .value {
  color: #000;
  font-size: 18px;
}
section.ranking .body {
  padding-top: 20px;
}

section.ranking .body .item .text {
  padding: 0.5em 2.5em 2em;
  font-size: 16px;
}

.h2title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-top: 20px;
}
.bnr {
  width: 100%;
}
section.policy .container {
  padding-left: 0;
}
.policyContainer {
  display: flex;
  position: relative;
  font-size: 36px;
}

section.policy .policies .item .panel .text {
  font-size: 14px;
}

section.voice .body .each .text {
  line-height: 1.6;
}

section.voice {
  margin-bottom: 70px;
}

section.ways .body .text p {
  margin-bottom: 0;
}

section.columns .body .item .image img {
  max-width: 200px;
}

section.greet .head {
  margin-bottom: 1em;
}

section.ways .body .index {
  width: 100%;
}

.glide__arrows .glide__arrow {
  background: #de1122;
  color: white;
  font-weight: bold;
  font-size: 16px;
  width: 35px;
  height: 35px;
  text-align: center;
  align-content: center;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shop-direction-title-container {
  display: flex;
  justify-content: space-between;
}

.shop-direction .shop-direction-title {
  font-size: 32px;
  font-weight: bold;
  margin: 12px 0;
}

.shop-direction-img {
  width: 100%;
  height: 200px;
}
.shop-direction-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.shop-direction-container {
  background: #fcf7f0 0% 0% no-repeat padding-box;
  border-radius: 0px 0px 10px 10px;
}

.glide__slide {
  min-height: 300px !important;
}

.glide_ {
  padding: 10px;
}

.carousel {
  width: auto !important;
}

.p-12 {
  background: #fcf7f0 !important;
}

@media screen and (max-width: 786px) {
  .blog-archive-list li {
    width: calc(100% / 1 - 10px);
  }
  section.columns .body .item .image img {
    max-width: 100%;
    height: auto !important;
  }
  /* .carousel {
    width: 1200px !important;
  } */
  .carousel-item {
    height: 280px;
  }
  section.expensive .intro {
    margin: 0 auto 1.5em auto;
  }
  .-cushion {
    padding: 2.5vw 6.6vw;
  }
  .fs_12 {
    font-size: 16px;
  }
  .h2title {
    font-size: 24px;
  }
  section.columns .body .item .image {
    flex: 2;
  }
  .carousel-slide img {
    max-width: 336px !important;
  }
  /* section.ways .body .index {
    width: 28%;
  } */
  .fs_26 {
    font-size: 24px;
  }
  .policyContainer {
    font-size: 14px;
  }
  .message {
    font-weight: 400;
    font-size: 12px;
  }
  section.intro .main {
    font-size: 23px;
  }
  section.intro .appeal {
    font-size: 20px;
  }
  section.ranking .body .item .title .medal {
    padding-top: 0;
  }
  section.ranking .body .item .title {
    padding: 2em 0.25em 1em;
  }
  section.ranking .body .item {
    width: 100%;
  }

  section.ranking .body {
    display: block !important;
  }
  img.rank {
    width: 10%;
  }
  .h2rank {
    font-size: 24px;
  }
  .item {
    margin-bottom: 0;
  }
  .content-txt {
    display: block;
    margin-top: 20px;
  }
  .ycolumn-mb {
    font-size: 18px;
    margin: 0 20px;
  }
  .ycolumn {
    padding: 0;
  }
  img.youko {
    width: 29%;
    margin: 20px;
  }
  .commonHead {
    /* margin: 0 15px; */
    padding-top: 50px;
  }
  section.results {
    margin: 0 20px;
    /* padding-top: 8vw; */
  }
  .btnPrevNext {
    top: 2px;
  }
  button.carousel-control {
    padding: 2px 6px;
  }

  .bg-pink {
    padding-bottom: 60px;
  }

  section.policy .policies .item .panel .float {
    margin-left: 0;
    min-height: 100px;
    width: auto;
  }
  .carousel-container {
    padding-top: 0px;
  }
  .name {
    padding-top: 10px;
  }
  section.results .achieves .item .upper {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  section.intro {
    background-image: none;
  }

  section.intro .text {
    width: 100%;
  }

  section.expensive .body .box .comparison .image {
    max-width: 40%;
    align-self: self-end;
  }
  section.expensive
    .body
    .box
    .comparison
    .the_jewel_cafe
    .the_price
    .the_value {
    font-size: 32px;
  }
  .commonHead .main {
    font-size: 24px;
  }

  section.expensive .body .box .comparison {
    min-height: 190px;
  }

  /* Default styling for achieves and item */
  .achieves {
    overflow-x: auto; /* Allow horizontal scrolling */
    white-space: nowrap; /* Keep items in a single row */
  }

  .item {
    display: inline-block;
    vertical-align: top;
    white-space: normal; /* Reset white-space for item content */
  }

  .item .image {
    width: 100%; /* Ensure image takes full width of item */
    text-align: center; /* Center the image */
  }

  .item img {
    max-width: 100%; /* Ensure image fits within its container */
    height: auto;
  }

  .lower,
  .upper {
    text-align: center; /* Center align text in lower and upper sections */
  }

  .swiper-pagination {
    display: none;
  }
}
/* Media query for mobile devices (less than 768px) */
@media (max-width: 767px) {
  .achieves {
    overflow-x: hidden; /* No horizontal scrolling */
  }

  .item {
    display: block;
    margin-bottom: 20px; /* Adjust spacing between items */
  }

  .item:last-child {
    margin-bottom: 0; /* Remove margin from last item */
  }
}
