picture.firstviewImage img {
    filter: brightness(20%);
    max-height: 400px;
    object-fit: contain;
}

.firstviewContent__Title {
  text-align: center;
}

.firstviewContent__Title br {
  display: none;
}

@media screen and (max-width: 767px) {
  .firstviewContent__Title br {
    display: block;
  }
}

.before_after {
    padding: 100px 0 0;
    position: relative;
}

/* custom */
.componentPlan span {
    background-color: #BBA171;
    border-radius: 6px;
    padding: 0px 5px;
    margin: 0 3px;
}

/* custom */

.firstBox {
    max-width: 844px;
    margin: 3rem auto 4rem;
    border: 1px solid #000;
    padding: 36px;
}

.firstBox .title {
    margin: 0 0 20px;
    text-align: center;
    color: #000000;
    font-size: 20px;
}

.firstBox p {
    font-size: 15px;
}

.LinkText {
    text-align: right;
}

.LinkText a {
    text-decoration: underline;
    color: #7d7d76;
}

.boxTop {
    font-size: 30px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature {
    display: flex;
    justify-content: space-between;
}

.feature p {
  font-size: var(--font-size20);
  line-height: var(--lineHeight);
}

.rightBox p {
    padding-left: 40px;
    font-size: 20px;
    line-height: var(--lineHeight);
}

.gorillaText {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

.componentPlan {
    font-size: var(--font-size20);
    line-height: var(--lineHeight);
}

.planSection {
    font-size: 21px;
    background: #BBA171;
    padding: 26px 50px;
    border-radius: 12px;
    transition: opacity 0.2s ease-in-out;
}

.planBox a {
    color: #333;
    text-decoration: none;
}

.ancker {
    margin-bottom: 14px;
}

.planSection span {
    font-size: 14px;
}


@media screen and (min-width: 768px) {
    .lastLoopBox {
        margin-bottom: 130px !important;
    }

    .leftBox {
        width: 504px;
    }

    .leftBox img {
        max-width: 504px;
        width: 504px;
    }

    .rightBox {
        max-width: 490px;
        width: 490px;
    }

    .planSection {
        width: 483px;
    }

    .planBox {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.breadcrumb {
  overflow-x: auto;
}

.breadcrumbList {
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .firstBox {
      margin: 2rem 1.5rem 0;
      padding-left: calc(100vw / var(--viewport)* 32);
      padding-right: calc(100vw / var(--viewport)* 32);
      padding-top: calc(100vw / var(--viewport)* 32);
      padding-bottom: calc(100vw / var(--viewport)* 32);
    }
    .firstBox .title {
      font-size: calc(100vw / var(--viewport)* 32);
    }
    .firstBox p {
      font-size: calc(100vw / var(--viewport)* 22);
    }

    h2 {
        font-size: 20px;
    }

    .before_after {
        padding: 0 0 50px;
    }

    .lastLoopBox {
        margin-bottom: calc(100vw / var(--viewport) * 180) !important;
    }

    .leftBox img {
        width: 100%;
    }

    .rightBox p {
        font-size: calc(100vw / var(--viewport) * 28);
        margin-top: calc(100vw / var(--viewport) * 24);
    }

    .planBoxText {
        font-size: calc(100vw / var(--viewport) * 24);
    }

    .h3titlePlan {
        font-size: calc(100vw / var(--viewport) * 26);
    }

    .componentPlan .h3title {
        margin-left: -20px;
        margin-right: -20px;
    }

    .componentPlan span {
        border-radius: calc(100vw / var(--viewport) * 6);
        padding: calc(100vw / var(--viewport) * 2) calc(100vw / var(--viewport) * 8);
        margin: 0 calc(100vw / var(--viewport) * 6);
    }

    .boxTop {
        font-size: calc(100vw / var(--viewport) * 34);
        margin-bottom: calc(100vw / var(--viewport) * 16);
    }

    .boxTop1 {
        width: calc(100vw / var(--viewport) * 44);
        margin-right: calc(100vw / var(--viewport) * 11);
        margin-bottom: calc(100vw / var(--viewport)* 4);
    }

    .caseImg {
        margin-top: calc(100vw / var(--viewport) * 30);
        margin-bottom: calc(100vw / var(--viewport) * 45);
    }

    .boxTop1 span {
        font-size: calc(100vw / var(--viewport) * 34);
    }

    .feature {
        display: block;
    }

    .feature p {
      font-size: calc(100vw / var(--viewport) * 28);
    }

    .margin-bottomSP {
        margin-bottom: calc(100vw / var(--viewport) * 30);
    }

    .loopBox {
        margin-bottom: calc(100vw / var(--viewport) * 80);
    }

    .planSection {
        width: 100%;
    }

    .planSection {
        font-size: calc(100vw / var(--viewport) * 32);
        background: #BBA171;
        padding: calc(100vw / var(--viewport) * 48) calc(100vw / var(--viewport) * 68);
        border-radius: 6px;
        transition: opacity 0.2s ease-in-out;
        margin-bottom: calc(100vw / var(--viewport) * 20);
    }

    .planSection span {
        font-size: calc(100vw / var(--viewport) * 20);
    }

    .planBox {
        display: block;
    }

    .planBoxText {
        text-align: left;
        margin-top: calc(100vw / var(--viewport) * 40);
    }

    .positionA img {
        right: calc(100vw / var(--viewport) * 16);
    }

    .breadcrumbList {
        flex-direction: row;
    }

    .breadcrumbItem:not(:last-child) {
        margin-bottom: 0 !important;

    }
}

.about{
    margin: 100px 0 100px;
}

.innerOut{
    padding: 50px 0 70px;
    background-color: #F5F5F5;
}

.innerOut p {
    font-weight: bold;
}

.caseBody.shimi {
    margin-top: 50px;
    margin-bottom: 80px;
}

.caseBody h2 {
  font-size: 30px;
}

.swiper-wrapper {
    height: auto !important;
    margin-top: 30px;
    margin-bottom: 50px;
    counter-reset: case; /* カウンターをリセット */
}

.swiper-slide {
  padding-inline: 40px;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 15px) !important;
}

@media screen and (min-width: 768px) {
  .caseBody {
      width: 600px;
      margin: auto;
  }

  .swiper {
    width: 100%;
  }

  .swiper-slide {
      width: 600px !important;
      margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .caseBody.shimi {
      margin-bottom: 0;
  }
  .caseBody h2 {
      font-size: 20px;
  }
  .swiper-slide {
    padding-top: 20px;
    padding-inline: 20px;
  }
}

.caseListItem__Flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 6.5px;
}

.caseListItem__Meta .caseListItem__Flow li {
    position: relative;
    padding-right: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.caseListItem__Flow li:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 11px;
    border-color: transparent transparent transparent #000000;
}

.caseListItem__Details {
    margin-top: 20px;
    padding: 10px 13px;
    background: #FFFFFF;
    border-radius: 6px;
}

.caseListItem__Details table th {
    width: 11em;
    font-size: 13px;
    font-weight: bold;
    text-align: right;
    line-height: 2.15;
    vertical-align: top;
}

.caseListItem__Details table td {
    padding-left: 21px;
    font-size: 13px;
    line-height: 2.15;
    vertical-align: top;
}

.caseListItem__Images img {
  max-width: unset;
}

@media screen and (max-width: 767px) {
    .caseBody h2 {
      font-weight: 600;
    }

    .caseList {
        column-gap: unset;
    }

    .caseListItem__Meta .caseListItem__Flow li {
        font-size: 12px;
    }

    .caseListItem__Details {
        margin-top: 4vw;
        padding: 2.133vw 2.4vw;
        border-radius: 0.8vw;
    }

    .caseListItem__Details table th {
      width: 6em;
    }

    .caseListItem__Details table td {
        padding-left: 1.867vw;
        /* font-size: 2.8vw; */
    }

    .innerOut {
        padding: 40px 0 20px;
    }

    .about {
        margin: 50px 0 50px;
    }

    h2.h3title.margin-bottomSP {
        line-height: unset;
    }
}



@media (max-width: 768px) {
    .caseListWrapper {
        overflow: hidden;
    }
    .caseList {
        display: flex;
    }
    .caseListItem {
        width: 100%;
        flex-shrink: 0;
    }
}

.swiper-button-prev:after{
    content: '<';
}

.swiper-button-next:after{
    content: '>';
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: unset !important;
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #bba170 !important;
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: calc(var(--swiper-navigation-size) / 44* 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next {
    right: 5px !important;
}

.swiper-button-prev {
    left: 5px !important;
}
