/* ---------- caseSwiper01 ---------- */

.caseSwiper01 {
    width: 100%;
    margin: 80px auto;
}

.caseSwiper01 .swiper {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper {
        padding: 1rem 2rem;
        width: 100%;
        margin: 0;
    }
}

.caseSwiper01 .swiper-buttons {
    width: 1200px;
    margin: 0 -200px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper-buttons {
        width: 100%;
        margin: 0 auto;
    }
}

.caseSwiper01 .swiper-slide {
    scale: 0.9;
    transition: all 0.5s;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper-slide {
        opacity: 0.5;
    }
}

.caseSwiper01 .swiper-slide-active {
    scale: 1;
    transition: all 0.5s;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper-slide-active {
        opacity: 1;
    }
}

.caseSwiper01 .swiper-button-next,
.caseSwiper01 .swiper-button-prev {
    color: #333;
    background: #d9ceb0;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    transition: all 0.5s;
}

.caseSwiper01 .swiper-button-next:hover,
.caseSwiper01 .swiper-button-prev:hover {
    opacity: 0.7;
}

.caseSwiper01 .swiper-button-next {
    position: absolute;
    right: -6.4rem;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper-button-next {
        right: 0;
    }
}

.caseSwiper01 .swiper-button-prev {
    position: absolute;
    left: -6.4rem;
}

@media screen and (max-width: 768px) {
    .caseSwiper01 .swiper-button-prev {
        left: 0;
    }
}

.caseSwiper01 .swiper-button-next:after,
.caseSwiper01 .swiper-button-prev:after {
    font-size: 1.1rem;
    font-weight: 600;
}

.caseSwiper01 .swiper-button-next,
.caseSwiper01 .swiper-button-prev {
    top: 50% !important;
}

/* ---------- noSwiper--case ---------- */

.noSwiper--case {
    display: flex;
    justify-content: center;
    gap: 0 2.4rem;
    flex-wrap: wrap;
    max-width: 84rem;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

.noSwiper--case .c-card {
    width: calc((100% - 1.8rem) / 2);
}

@media screen and (max-width: 768px) {
    .noSwiper--case .c-card {
        width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .noSwiper--case .c-card+.c-card {
        margin-top: 2.4rem;
    }
}

/* ---------- c-card ---------- */

.c-card {
    background: #fff;
    color: #333;
}

.c-card__link {
    position: relative;
    display: block;
    color: #333;
}

.c-card__link:hover {
    opacity: 0.7;
}

.c-card__label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--main);
    color: #fff;
    font-size: 1.1rem;
    padding: 0.2rem 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.c-card__thumb01 {
    display: flex;
    height: 15rem;
    align-items: center;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .c-card__thumb01 {
        height: 13rem;
    }
}

.c-card__thumb01 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.c-card__thumb02 {
    display: flex;
}

.c-card__thumb02 img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
}

.c-card__thumb02 img.large {
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.c-card__body {
    padding: 1.6rem;
}

.c-card__title {
    font-weight: 600;
    margin-bottom: 1.6rem;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-card__dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.c-card__dl dt {
    width: 30%;
}

.c-card__dl dd {
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-card__info {
    border-top: 1px solid #d6d6d6;
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    font-size: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 0.8rem;
    color: var(--gray-dark);
}

/* ---------- c-tagcloud ---------- */

.c-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.c-tagcloud a {
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    transition: all 0.5s;
    color: #333;
}

.c-tagcloud a:hover {
    background: #d6d6d6;
}

/* ---------- blogSwiper ---------- */

.blogSwiper .swiper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.blogSwiper .swiper-buttons {
    width: 1100px;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 768px) {
    .blogSwiper .swiper-buttons {
        width: 100%;
    }
}

.blogSwiper .swiper-button-next,
.blogSwiper .swiper-button-prev {
    color: var(--white);
    background: var(--main-dark);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transition: all 0.5s;
}

.blogSwiper .swiper-button-next:hover,
.blogSwiper .swiper-button-prev:hover {
    opacity: 0.7;
}

.blogSwiper .swiper-button-next:after,
.blogSwiper .swiper-button-prev:after {
    font-size: 1.4rem;
    font-weight: 600;
}

/* ---------- noSwiper--blog ---------- */

.noSwiper--blog {
    display: flex;
    justify-content: center;
    gap: 0 2.4rem;
    flex-wrap: wrap;
    max-width: 84rem;
    width: 100%;
    margin: 0 auto;
}

.noSwiper--blog .c-card {
    width: calc((100% - 1.8rem) / 3);
}

@media screen and (max-width: 768px) {
    .noSwiper--blog .c-card {
        width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .noSwiper--blog .c-card+.c-card {
        margin-top: 2.4rem;
    }
}

/* ---------- l-blog ---------- */

.l-blog {
    padding: 80px 0;
}

.l-blog__inner {
    width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .l-blog__inner {
        width: 100%;
    }
}

/* ---------- tab ---------- */

.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
}

@media screen and (max-width: 768px) {
    .tab-wrap {
        gap: 0 0.6rem;
    }
}

.tab-label {
    border-radius: 1rem 1rem 0 0;
    border: 0.1rem solid #940010;
    border-bottom: none;
    background: #fff;
    width: calc((100% - 6rem) / 5);
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1em;
    transition: all 0.5s;
    order: -1;
    position: relative;
    z-index: 50;
}

@media screen and (max-width: 768px) {
    .tab-label {
        width: calc((100% - 3rem) / 3);
        height: 5rem;
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .tab-label.sp-first {
        margin-left: 1rem;
    }
}

.tab-label:hover {
    background: #940010;
    color: #fff;
}

.tab-content {
    width: 100%;
    display: none;
}

.tab-content__inner {
    background: #f5f5f5;
    padding: 8rem 0;
}

@media screen and (max-width: 768px) {
    .tab-content__inner {
        padding: 6rem 0;
    }
}

.tab-switch:checked+.tab-label {
    border-radius: 1rem 1rem 0 0;
    background: #940010;
    color: #fff;
    position: relative;
}

.tab-switch:checked+.tab-label::after {
    content: "";
    background: #940010;
    width: 1.6rem;
    height: 1.6rem;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    left: 50%;
    bottom: -1.4rem;
    transform: translate(-50%, 0);
    z-index: 20;
}

.tab-switch:checked+.tab-label+.tab-content {
    display: block;
}

.tab-switch {
    display: none;
}