@charset "UTF-8";

/* common */
main {
    margin: 50rem 0 0;
}

/* MV */
.main-visual {
    width: 100%;
    height: 58rem;
    position: absolute;
    top: 0;
    background: url(../images/mv-sub.png) no-repeat center / cover;
}

.main-visual h2 {
    font-size: max(2.5vw, 4rem);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    gap: 1vw;
}

.main-visual span {
    font-size: max(1.6vw, 3rem);
    font-family: "Book Antiqua", sans-serif;
    font-style: italic;
}

/* company */
.company{
    padding: 7vw 0;
}

.company-inner{
    width: 130rem;
    max-width: 90%;
    margin: auto;
}

.company-list {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 15vw;
    position: relative;
}

.company-list::after{
    position: absolute;
    content: "";
    background: url(../images/bg-top-company.png) no-repeat;
    width: 31vw;
    height: 8vw;
    right: 0;
    bottom: -10vw;
    background-size: 31vw;
}

.company-list li {
    width: 47%;
}

.company-list li img {
    width: 100%;
}

.company-detail {
    display: flex;
    flex-wrap: wrap;
    font-size: max(1vw, 1.5rem);
}

.company-detail dt {
    width: 30%;
    border-bottom: 1px #fff solid;
    margin: 0 0 2rem;
    padding: 0 0 2rem;
    line-height: 1.5;
}

.company-detail dd {
    width: 70%;
    border-bottom: 1px #fff solid;
    margin: 0 0 2rem;
    padding: 0 0 2rem;
    line-height: 1.5;
}

.c-map{
    width: 100%;
    min-width: initial;
    height: 60rem;
    aspect-ratio: 16/9;
}

@media screen and (max-width: 968px) {
    /* common */
    main {
        margin: 30rem 0 0;
    }

    /* MV */
    .main-visual {
        width: 100%;
        height: 30rem;
        position: absolute;
        top: 0;
        background: url(../images/mv-sub-sp.png) no-repeat center / cover;
    }

    .main-visual h2 {
        font-size: 3.6rem;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        gap: 1vw;
        white-space: nowrap;
    }

    .main-visual span {
        font-size: 2.4rem;
        font-family: "Book Antiqua", sans-serif;
        font-style: italic;
    }

    /* company */
    .company{
        padding: 5rem 0;
    }

    .company-inner{
        width: 130rem;
        max-width: 90%;
        margin: auto;
    }

    .company-list {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto 15rem;
        flex-direction: column-reverse;
        position: relative;
    }

    .company-list::after{
        position: absolute;
        content: "";
        background: url(../images/bg-top-company.png) no-repeat;
        width: 30rem;
        height: 8rem;
        right: 0;
        bottom: -10rem;
        background-size: 30rem;
    }

    .company-list li {
        width: 100%;
    }

    .company-list li img {
        width: 100%;
    }

    .company-detail {
        display: flex;
        flex-wrap: wrap;
        font-size: max(1vw, 1.5rem);
        flex-direction: column;
    }

    .company-detail dt {
        width: 100%;
        border-bottom: 1px #fff solid;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        line-height: 1.5;
    }

    .company-detail dd {
        width: 100%;
        border-bottom: 1px #fff solid;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        line-height: 1.5;
    }

    .c-map{
        width: 100%;
        min-width: initial;
        height: 40rem;
        aspect-ratio: 16/9;
    }
}
