@charset "utf-8";

/* * {
    outline: orange solid 1px;
} */

body {
    background-color: #E7E7E8;
    overflow-x: hidden;
    box-sizing: border-box;
}

.ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 40px;
    position: relative;
    color: #000;
}

.ttl::after {
    display: block;
    content: "";
    background: #A8ABAF;
    width: 60px;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ttl h1 {
    font-size: 4rem;
    line-height: 1.225;
    letter-spacing: 0.05em;
    color: #A8ABAF;
}

@media only screen and (max-width: 47.9375em) {
    .ttl h3 {
        font-size: 7.4666666667vw;
    }
}

.ttl h3 {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

@media only screen and (max-width: 47.9375em) {
    .ttl span {
        font-size: 4.2666666667vw;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #FFF;
}


/* 
ANIMATION
*/
.fadein-init {
    opacity: 0;
    transform: translateY(30px);
}

.fadein-init.fadein-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


/* style */
section:nth-child(1) {
    border-bottom: none;
}


#hero {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.hero__img--dummy {
    width: 100%;
    aspect-ratio: 1040 / 515;
}

.hero__img {
    display: block;
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 0;
    object-fit: cover;
    top: 78px;
    left: 0;
}

@media (max-width: 640px) {
    .hero__img--dummy {
        aspect-ratio: 640 / 900;
    }
}


.concept {
    width: 100%;
    padding: 0;
}

.concept__wrapper:first-child {
    width: 96%;
    aspect-ratio: 3 / 1;
    margin-left: 50px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.concept__wrapper:first-child img {
    width: 32%;
    object-fit: contain;
    margin-top: auto;
}

.concept__wrapper:first-child .concept__text {
    width: 60%;
    margin: 10px 20px auto auto;
    line-height: 2.4;
    text-align: left;
    font-size: 1.8vw;
    font-weight: 500;
}

.concept__wrapper:last-child {
    width: 80%;
    height: auto;
    margin: 20px auto;
    padding-left: 80px;
    justify-content: space-between;
}

.concept__item {
    text-align: center;
    margin: auto;

}

.concept__img-wh {
    width: 40%;
}

.concept__img-logo {
    width: 60%;
    margin-bottom: 40px;
}

@media (min-width: 1040px) {
    .concept__wrapper:first-child .concept__text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .concept__wrapper:first-child {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .concept__wrapper:first-child .concept__text {
        width: 100%;
        height: fit-content;
        margin: 0 auto;
        text-align: center;
        line-height: 2;
        letter-spacing: 0.1rem;
        font-size: 16px;
        font-weight: 400;
    }

    .concept__img-bk {
        display: none;
    }

    .concept__wrapper:last-child {
        flex-direction: column;
        justify-content: center;
        margin: 10px auto;
        margin-bottom: 40px;
        padding-left: 0;
    }

    .concept__img-wh {
        width: 74%;
        margin: 60px auto;
    }

}



.feature__ttl {
    margin-bottom: 100px;
}

.feature__item {
    align-items: center;
    margin: 100px auto;
}

.feature__item-img {
    width: 56%;
}

.feature__item-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.feature__item-content {
    width: 40%;
}

.feature__item-ttl {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 2;
}

.feature__item-label {
    font-size: 36px;
    font-weight: 900;
    color: #bcbcbc;
    margin-bottom: 10px;
}

.feater__item-sub--ttl {
    display: inline;
    font-size: 20px;
    font-weight: 500;
    background: linear-gradient(transparent 60%, #d4d4d4 60%);
}

.feature__item-text {
    font-size: 18px;
}

@media (max-width: 640px) {

    .sn__card-img--right,
    .sn__card-img--left {
        flex-direction: column-reverse;
    }

    .feature__item {
        align-items: center;
        margin: 80px auto;
    }

    .feature__item-img {
        width: 100%;
    }

    .feature__item-content {
        width: 100%;
        text-align: center;
    }

    .feature__item-ttl {
        margin-bottom: 20px;
    }

    .feature__item-label {
        display: none;
    }

    .feater__item-sub--ttl {
        font-size: 16px;
        color: #FFF;
        padding: 4px 20px;
        background: #000;
        border-radius: 6px;
    }

    .feature__item-text {
        width: 90%;
        margin: 20px auto;
    }

}



.group-ttl {
    margin: 10px auto;
}

.group-ttl div {
    font-size: 32px;
    font-weight: bold;
    color: #a8abaf;
}

.group-ttl span {
    font-size: 16px;
    display: inline-block;
    color: #000;
    margin: 0 auto 20px auto;
}

.situation__card-group {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 26px;
    row-gap: 32px;
    margin: 0 auto 150px auto;
}

.situation__card-ttl {
    font-size: 20px;
    font-weight: bold;
    margin: 16px 0 0 0;
}

.situation__card-text {
    font-size: 16px;
    margin: 0;
}

@media (max-width: 640px) {
    .accordion-gallery {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin: -160px auto 160px auto;
    }

    .nanogrplus__accordion-item {
        position: relative;
        overflow: hidden;
        aspect-ratio: 8 / 1;
        transition: aspect-ratio 0.6s ease, transform 0.6s ease;
        cursor: pointer;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .nanogrplus__accordion-item .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
        transition: opacity 0.6s ease;
        z-index: 1;
        pointer-events: none;
    }

    .nanogrplus__accordion-item .heading {
        position: absolute;
        top: 6px;
        left: 16px;
        z-index: 5;
        color: white;
        font-size: 20px;
        font-weight: bold;
        pointer-events: none;
        transition: color 0.6s ease;

        text-shadow:
            0 0 4px rgba(0, 0, 0, 0.6),
            0 0 8px rgba(0, 0, 0, 0.5),
            0 0 12px rgba(0, 0, 0, 0.4);
    }

    .nanogrplus__accordion-item .caption {
        position: absolute;
        bottom: 12px;
        right: 12px;
        color: white;
        text-align: right;
        padding: 2px 8px;
        font-size: 14px;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
        text-shadow:
            0 0 4px rgba(0, 0, 0, 0.6),
            0 0 8px rgba(0, 0, 0, 0.5),
            0 0 12px rgba(0, 0, 0, 0.4);
    }

    .nanogrplus__accordion-item.active {
        aspect-ratio: 16 / 9;
        z-index: 2;
    }

    .nanogrplus__accordion-item.active .overlay {
        opacity: 0;
    }

    .nanogrplus__accordion-item.active .caption {
        opacity: 1;
    }

    .nanogrplus__accordion-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease, opacity 0.4s ease;
        border-radius: 8px;
    }

    .nanogrplus__accordion-item {
        opacity: 1;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
    }

    .nanogrplus__accordion-item img {
        opacity: 1;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
    }
}

/* Safari描画安定化 */
.nanogrplus__accordion-item .heading,
.nanogrplus__accordion-item .overlay {
    will-change: transform, opacity;
    transform: translateZ(0);
}


/* 機能アイコン一覧 */
.feature__icons {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 42px auto;
}

.icon {
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature__icons:hover .icon {
    transform: scale(0.8);
    opacity: 0.5;
}

.feature__icons:hover .icon:hover {
    transform: scale(1.2);
    opacity: 1;
}

@media (max-width: 640px) {
    .feature__icons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
}



/* 計測方法 */
.original__item {
    margin: 40px auto;
}

.content-ttl {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.8rem;
    margin: 0 auto 22px auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.card-slider {
    margin-inline: auto;
    width: 100%;
}

.card {
    margin: 0 10px;
}

.card img {
    height: auto;
    width: 100%;
}

.arrow_box {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.slide-arrow {
    width: 60px;
    height: 60px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
}

.slide-arrow img {
    width: 30px;
    height: auto;
    display: block;
    pointer-events: none;
}

@media (max-width: 640px) {
    .original__sp img {
        margin: 10px auto;
    }
}


/* 高低差機能 */
.slope__ttl {
    margin-bottom: 100px;
}

.slope__card {
    width: 100%;
    margin: 80px auto 100px auto;
    gap: 5vw;
}

.slope__card-img {
    width: 54%;
}

.slope__card-img img {
    width: 100%;
    object-fit: contain;
}

.slope__card-content {
    width: 40%;
}

.slope__card:nth-of-type(1) {
    margin-top: 80px;
}

.slope__card:nth-of-type(2) {
    margin-top: 100px;
}

.slope__cards img {
    width: 50%;
}

.slope__card-content {
    margin: auto 0;
}

.slope__card-ttl {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
}

.slope__card-text {
    font-size: 16px;
}

.slope__card-text--note {
    color: red;
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .slope__ttl {
        margin-bottom: 40px;
    }

    .slope .content-ttl {
        width: 90%;
        letter-spacing: 0;
        font-size: 18px;
    }

    .slope__card {
        width: 100%;
        flex-direction: column;
    }

    .slope__card-img {
        width: 90%;
        margin: 0 auto;
    }

    .slope__card-content {
        width: 90%;
        margin: 0 auto;
    }
}



/* その他特長 */
.functions__ttl {
    margin: 40px auto;
}

.functions__slider {
    width: 100%;
}

.functions__card:first-child {
    margin-left: 120px;
}

.functions__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.functions__card div {
    margin-top: 20px;
    font-weight: bold;
}

.functions .arrow_box {
    text-align: left;
    margin-left: 120px;
}

@media (max-width: 768px) {

    .functions__card:first-child,
    .functions .arrow_box {
        margin-left: 60px;
    }

}




.made-in-japan img {
    display: block;
    width: 60%;
    text-align: center;
    margin: 60px auto;
}

.made-in-japan p {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}


.specs__image {
    width: 92%;
    height: auto;
    display: block;
    margin: 60px auto;
    padding-left: 70px;
}

.specs__table {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    border-collapse: collapse;
}

.specs__label-ttl,
.specs__value-ttl {
    font-weight: bold;
    color: #A8ABAF;
    padding: 10px;
    border-bottom: 1px solid #000;
}

.specs__label,
.specs__value {
    padding: 12px;
    border-bottom: 1px solid #000;
    vertical-align: top;
}

.specs__note,
.attention {
    width: 80%;
    margin: 20px auto;
    font-size: 16px;
    gap: 40px;
    justify-content: center;
}

.specs__note {
    text-align: center;
}

.attention img {
    width: 10%;
    object-fit: contain;
}

@media (max-width: 640px) {
    .specs__image {
        width: 100%;
        padding-left: 0;
    }

    .specs__table {
        width: 100%;
    }

    .specs__label {
        width: 30%;
    }

    .specs__note,
    .attention {
        flex-direction: column;
        gap: 10px;
    }

    .attention img {
        width: 20%;
        margin: 10px auto 0 auto;
    }

    .attention__text {
        margin-top: 0;
        text-align: center;
    }

}


.series {
    width: 100%;
}

.series__card {
    width: 100%;
    gap: 100px;
    margin-bottom: 100px;
}

.series__card-image {
    width: 40%;
    height: auto;
    display: block;
    object-fit: contain;
}

.series__card-logo {
    height: 10%;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .series__title .sn__h1 {
        font-size: 40px;
    }

    .series__title .sn__h3 {
        font-size: 26px;
        margin-bottom: 60px;
    }

    .series__card {
        flex-direction: column;
        gap: 20px;
    }

    .series__card-image {
        width: 80%;
        margin: 10px auto;
    }

    .series__card-logo {
        height: 24px;
        max-height: 100px;
        margin-bottom: 20px;
    }

    .series__card button {
        display: block;
        margin: 10px auto;
    }
}


.fade-slider-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
