@charset "UTF-8";

.swiper-area {
    position: relative;
}

.swiper {
    width: 600px;
    height: 140px;
    margin-bottom: 50px;
}

.swiper .swiper-wrapper {
    height: 90px;
    width: 590px;
    margin: 0px auto;
}

.inner-swiper {
    width: 590px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.swiper-slide p:not(.dummy-tab) {
    width: 110px;
    height: 40px;
    color: #562418;
    font-size: 18px;
    text-align: center;
    background-color: #fff;
    border: 2px solid #562418;
    font-weight: bold;
    border-radius: 28px;
    padding: 4px 0;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}

.swiper-slide p.dummy-tab {
    width: 110px;
    height: 40px;
    font-size: 18px;
    padding: 4px 0;
}

.swiper-slide p.active:not(.dummy-tab) {
    color: #fff;
    background-color: #562418;
}

.swiper-slide p:not(.dummy-tab):hover {
    width: 110px;
    height: 40px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: #562418;
    border-radius: 28px;
    padding: 4px 0;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}

.inner-swiper p:not( :nth-of-type( 5n ) ) { margin-right: 10px; }
.inner-swiper p:nth-of-type( -n+5 ) { margin-bottom: 10px; }

.swiper-pagination {
    width: 155px;
    min-height: 15px;

    margin: 35px auto 0 auto;
}

.sample-slider .swiper-pagination-bullet{
    width: 15px;
    height: 15px;
    background-color: #562418;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff; /* ボタンの色 */
  width: 30px; /* 任意の幅 */
  height: 30px; /* 任意の高さ */
  background: #86694A; /* 任意の背景色 */

  position: absolute;
  top: 31px;
}

.swiper-button-next { clip-path: polygon(0 0, 100% 50%, 0 100%); right: 13%; }
.swiper-button-prev { clip-path: polygon(0 50%, 100% 0, 100% 100%); left: 13%; }

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, -10px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px);
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #562418;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 15px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 15px));
    display: inline-block;
    border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
    background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}

@media screen and (max-width: 1000px) {
    .swiper {
        width: 88vw;
        height: 16.2666vw;
        margin-bottom: 18.6666vw;
    }

    .swiper-slide {
        width: 100% !important;
    }
    
    .swiper .swiper-wrapper {
        height: 16.2666vw;
        width: 100%;
    }
    
    .inner-swiper {
        width: 100%;
    }
    
    .swiper-slide p:not(.dummy-tab) {
        width: calc(86.67vw / 5 - 1.3333vw);
        height: 7.4666vw;
        font-size: 3.7333vw;
        padding: 0.4555vw 0;
        border: solid 1px #562418;
    }
    
    .swiper-slide p.dummy-tab {
        width: calc(86.67vw / 5 - 1.3333vw);
        height: 7.4666vw;
        padding: 0.4555vw 0;
    }
    
    .swiper-slide p:not(.dummy-tab):hover {
        width: calc(86.67vw / 5 - 1.3332vw);
        height: 7.4666vw;
        font-size: 3.7333vw;
        padding: 0.4555vw 0;
    }
    
    .inner-swiper p:not( :nth-of-type( 5n ) ) { margin-right: 1.3333vw; }
    .inner-swiper p:nth-of-type( -n+5 ) { margin-bottom: 1.3333vw; }
    
    .swiper-pagination {
        width: 155px;
        min-height: 15px;
    
        margin: 35px auto 0 auto;
    }
    
    .sample-slider .swiper-pagination-bullet{
        width: 15px;
        height: 15px;
        background-color: #562418;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
      width: 5.264vw; /* 任意の幅 */
      height: 5.264vw; /* 任意の高さ */

      top: 5.6666vw;
    }
    
    .swiper-button-next { clip-path: polygon(0 0, 100% 50%, 0 100%); right: -6%; }
    .swiper-button-prev { clip-path: polygon(0 50%, 100% 0, 100% 100%); left: -6%; }
    
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, -18vw);
        top: var(--swiper-pagination-top, 14.6666vw);
    }
    
    .swiper-pagination {
        position: absolute;
        text-align: center;
        transition: .3s opacity;
        transform: translate3d(0, 0, 0);
        z-index: 10;
    }
    
    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 1.3333vw);
    }
    
    .swiper-pagination-clickable .swiper-pagination-bullet {
        cursor: pointer;
    }
    
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        opacity: var(--swiper-pagination-bullet-opacity, 1);
        background: #562418;
    }
    
    .swiper-pagination-bullet {
        width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 2.6666vw));
        height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 2.6666vw));
    }
}

@media screen and (max-width: 767px) {    
    .swiper {
        width: 88vw;
        height: 16.2666vw;
        margin-bottom: 18.6666vw;
    }

    .swiper-slide {
        width: 100% !important;
    }
    
    .swiper .swiper-wrapper {
        height: 16.2666vw;
        width: 100%;
    }
    
    .inner-swiper {
        width: 100%;
    }
    
    .swiper-slide p:not(.dummy-tab) {
        width: calc(86.67vw / 5 - 1.3333vw);
        height: 7.4666vw;
        font-size: 3.7333vw;
        padding: 0.4555vw 0;
        border: solid 1px #562418;
    }
    
    .swiper-slide p:not(.dummy-tab):hover {
        width: calc(86.67vw / 5 - 1.3332vw);
        height: 7.4666vw;
        font-size: 3.7333vw;
        padding: 0.4555vw 0;
    }
    
    .inner-swiper p:not( :nth-of-type( 5n ) ) { margin-right: 1.3333vw; }
    .inner-swiper p:nth-of-type( -n+5 ) { margin-bottom: 1.3333vw; }
    
    .swiper-pagination {
        width: 155px;
        min-height: 15px;
    
        margin: 35px auto 0 auto;
    }
    
    .sample-slider .swiper-pagination-bullet{
        width: 15px;
        height: 15px;
        background-color: #562418;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
      width: 5.264vw; /* 任意の幅 */
      height: 5.264vw; /* 任意の高さ */

      top: 5.6666vw;
    }
    
    .swiper-button-next { clip-path: polygon(0 0, 100% 50%, 0 100%); right: -6%; }
    .swiper-button-prev { clip-path: polygon(0 50%, 100% 0, 100% 100%); left: -6%; }
    
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, -18vw);
        top: var(--swiper-pagination-top, 14.6666vw);
    }
    
    .swiper-pagination {
        position: absolute;
        text-align: center;
        transition: .3s opacity;
        transform: translate3d(0, 0, 0);
        z-index: 10;
    }
    
    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 1.3333vw);
    }
    
    .swiper-pagination-clickable .swiper-pagination-bullet {
        cursor: pointer;
    }
    
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        opacity: var(--swiper-pagination-bullet-opacity, 1);
        background: #562418;
    }
    
    .swiper-pagination-bullet {
        width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 2.6666vw));
        height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 2.6666vw));
    }
}