@charset "utf-8";

/* page-hero */
.page-hero {
    background-image: url("../img/page-visual/about.jpg");
}
/* page-heroここまで */

/* section-features */
.features__item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.features__item:last-child {
    margin-bottom: 0;
}

.features__item:nth-child(even) {
    flex-direction: row-reverse;
}

.features__image {
    width: 50%;
}

.features__desc {
    width: 50%;
}

.features__title {
    position: relative;
    margin-bottom: 32px;
    padding-left: 80px;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 2px;
}

.features__title::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    font-size: 56px;
    font-weight: 300;
    color: var(--main-color);
}

.features__item:nth-child(1) .features__title::before {
    content: "01";
}

.features__item:nth-child(2) .features__title::before {
    content: "02";
}

.features__item:nth-child(3) .features__title::before {
    content: "03";
}

.features__item:nth-child(4) .features__title::before {
    content: "04";
}

.features__text {
    line-height: 2;
    font-size: 1.2em;
    letter-spacing: 2px;
}

/* section-featuresここまで */

/* section-slider */
.section-slider {
    position: relative;
    z-index: 0;
    background-color: var(--bg-color);
}

.section-slider::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 280px;
    background-color: #fff;
}

.slider__container {
    position: relative;
    z-index: 2;
}

.slider-content {
    display: flex;
    gap: 56px;
    height: 70vh;
    overflow: hidden;
}

.main-slide {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.slide-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    color: initial;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.thumbnail-container {
    width: 240px;
    display: flex;
    flex-direction: column;
}

.thumbnail-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    height: 10%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border-color: var(--main-color);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail:hover img {
    opacity: 0.8;
}

.thumbnail-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 8px;
    font-size: 0.8rem;
    text-align: center;
}
/* section-sliderここまで */

/* section-equipment */
.section-equipment {
    position: relative;
    z-index: 0;
    background-color: var(--bg-color);
}

.section-equipment::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    left: 0;
    height: 280px;
    background-color: #fff;
}

.equipment__container {
    position: relative;
    z-index: 2;
}

.equipment__list {
    display: flex;
    flex-wrap: wrap;
}

.equipment__item {
    width: 33.333%;
    padding: 40px;
}

.equipment__name {
    font-weight: normal;
}
/* section-equipmentここまで */

/* section-overview */
.overview__info {
    max-width: 800px;
    margin: 0 auto;
}

.overview__info-inner {
    display: flex;
    border-bottom: 1px solid var(--text-color);
}

.overview__info-inner:first-child {
    border-top: 1px solid var(--text-color);
}

.overview__label {
    width: 20%;
}

.overview__value {
    width: 80%;
}

.overview__label,
.overview__value {
    padding: 16px;
    font-size: 1.2em;
    letter-spacing: 2px;
}
/* section-overviewここまで */

@media screen and (max-width: 1024px) {
    .slider-content {
        flex-direction: column;
        gap: 16px;
        height: auto;
    }

    .main-slide {
        height: 400px;
    }

    .thumbnail-container {
        width: 100%;
    }

    .thumbnail-grid {
        flex-direction: row;
        flex-wrap: wrap;
        height: 120px;
    }

    .thumbnail {
        width: 31%;
        height: auto;
    }
}
@media screen and (max-width: 767px) {
    .features__item {
        flex-direction: column;
        gap: 24px;
    }

    .features__item:nth-child(even) {
        flex-direction: column;
    }

    .features__image {
        width: 100%;
    }

    .features__desc {
        width: 100%;
    }

    .features__title {
        font-size: 24px;
        padding-left: 64px;
    }

    .features__title::before {
        bottom: initial;
        top: -10px;
        font-size: 40px;
    }

    .features__text {
        font-size: 1.1em;
        letter-spacing: 1px;
    }

    .equipment__item {
        width: 100%;
        padding: 16px;
    }

    .overview__info-inner {
        flex-wrap: wrap;
    }

    .overview__label {
        width: 100%;
        padding: 16px 16px 0 16px;
    }

    .overview__value {
        width: 100%;
        margin-top: 8px;
        padding: 0 16px 16px 16px;
    }
}
@media screen and (max-width: 599px) {
}