/* リセット & ベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* スライダー全体：コンテンツサイズにフィット */
#page-best-selection .slider-outer {
  position: relative;
  display: none;
  overflow: visible;
  max-width: 980px;
  background-color: #c6c6c6;
  padding: 12px !important;
  margin: 30px 0 !important;
}

/* スライダーラッパー */
#slider {
  display: block;
  overflow: hidden;
  background-color: #fff;
  padding: 15px 60px 60px 60px;
  position: relative;
}

/* Prev/Next ボタン */
.nav-btn {
  position: absolute;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
#prev {
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  display: flex!important;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 1.5%;
}

#prev:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-left: solid 2px #fff;
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  left: 12px;
  bottom: 0;
  margin: auto;
}

#next {
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  display: flex!important;
  align-items: center;
  justify-content: center;
  top: 50%;
  right: 1.5%;
}

#next:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  margin: auto;
}

/* PRデコレーション */
.slide-deco {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 9999;
  background-color: #fff;
  height: 20px;
  width: 44px;
  border: 1px solid #454545!important;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.slide-deco span {
  font-size: 0.95rem;
  border-radius: 2px;
  color: #454545 !important;
  line-height: 1!important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-break: unset;
}

/* スライド群コンテナ */
.slider-container {
  position: relative;
  display: block;
}

/* 各スライド */
.slides {
  position: relative;
}
.slide {
  display: none;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  
}

/* アクティブスライドだけ表示 */
.slide.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* １枚目スライドのスタイル例 */
.slide-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem!important;
}
.slide-inner h2.pc-only {
  display: block;
  font-size: 18px !important;
  margin-top: 0rem !important;
  margin-bottom: 1.2rem !important;
  border-bottom: 3px solid #cfa65f !important;
  padding-bottom: 10px !important;
  width: 100%;
  text-align: center;
  font-weight: bold !important;
}

.slide-sub-title{ 
  text-align: center;
  color: #666!important;
}


.slide-img-box {
  width: 320px;
}
.slide-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.slide-text-box {
  width: calc(100% - 340px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: #fff;
}

#contents .slide-text-box .inner p {
  font-size: 14px !important;
  line-height: 1.65em !important;
}

.slider-button-list{
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: 100%;
  justify-content: center;
}

.slider-button-list a{
  text-decoration: unset!important;
}

/* ドットナビ */
#dots {
  position: absolute;
  bottom: -2.2rem;
  width: 100%;
  text-align: center;
  z-index: 10;
  display: flex!important;
  justify-content: center;
  column-gap: 10px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #f2f2f2;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: #717171;
}

.slide-title {
  display: flex;
  position: relative;
  height: 50px;
  line-height: 50px !important;
  font-size: 16px !important;
  background: #cfa65f !important;
  color: #FFF !important;
  justify-content: center;
  align-items: center;
  width: 40%;
  margin: 15px auto !important;
  font-weight: bold !important;
  border-bottom: unset!important;
  padding: 1px 5px!important;
}
.slide-title::before, .slide-title::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  width: 15px;
  height: 50px;
  background: #fff;
}
.slide-title::before {
  left: -1px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.slide-title::after {
  right: -1px;
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

.slider-container .slider .slide-inner h2 {
  font-size: 18px !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.6rem !important;
  border-bottom: 3px solid #cfa65f !important;
  padding-bottom: 10px !important;
  width: 70%;
  display: flex;
  justify-content: center;
  font-weight: bold !important;
}
.slider .slide-inner .slide-img-box {
    width: 70%;
    display: flex;
    box-sizing: border-box;
    padding: 0px !important;
    justify-content: center;
    align-items: center;
}
.slider .slide-inner .slide-img-box {
    width: 70%;
    display: flex;
    box-sizing: border-box;
    padding: 0px !important;
    justify-content: center;
    align-items: center;
}
.slider .slide-inner .slide-text-box .slider-button-list a {
    display: block;
    width: 80%;
    text-decoration: unset !important;
    margin: 0px 0 10px !important;
}
.slide-text-box a .slider_button1,
.slide-text-box a .slider_button2 {
    height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    font-size: 14px !important;
    font-weight: bold !important;
    border: 2px solid #cfa65f !important;
    margin: 0 auto !important;
    text-decoration: unset!important;
    width: 50%;
}
.slide-text-box a .slider_button1 {
    background-color: #fff;
    color: #cfa65f !important;
}
.slide-text-box a .slider_button2 {
    background-color: #cfa65f;
    color: #fff !important;
}