/* 
front-page.css
*/

/* ==============================
FV
============================== */

/* 一旦仮制作 */
.fv {
    width: 100%;
    height: 100vh;
}

.fv__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fv__slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: calc(100vh - 80px);
    opacity: 0;
    transition: var(--transition-base);
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    visibility: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.fv__slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


@media (width >= 768px) {
    .fv {
        width: 100%;
        height: 100vh;
    }

    .fv__slide {
        height: 100vh;
    }
}

/* ==============================
Concept
============================== */
.concept .wrapper {
    padding: 60px 20px 30px;
}

.concept__inner {
    position: relative;
    margin-bottom: 30px;
    padding: 50px 0;
    color: var(--color-base);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.concept__inner::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100%;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    background: linear-gradient(90deg, #11233E 20%, rgb(0 0 0 / 0%) 100%);
    content: '';
}

.concept__inner-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100%;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.concept__head {
    position: relative;
    z-index: 10;
    padding: 5px 0;
    font-size: var(--font-size-medium);
}

.concept__head--white {
    border-bottom: 1px solid var(--color-base);
}

.concept__head-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.concept__head-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.concept__head-text::before,
.concept__head-text::after {
    display: block;
    width: 10px;
    height: 1px;
    background-color: var(--color-base);
    content: "";
}

.concept__head--black {
    border-bottom: 1px solid var(--color-black);
}

.concept__text {
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

.concept__wrapper {
    display: flex;
    flex-direction: column;
    padding: 30px 0 0;

}

.concept__wrapper-image {
    width: 100%;
    max-height: 360px;
    margin: 50px auto 0;
    overflow: hidden;
    border-radius: 5px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (width >= 768px) {
    .concept__inner {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 500px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .concept .wrapper {
        padding: 120px 0 60px;
    }

    .concept__head-title {
        font-size: var(--font-size-x-large);
    }

    .concept__inner-bg {
        width: 100%;
        margin: 0;
        overflow: hidden;
        border-radius: 5px;
    }

    .concept__inner::after {
        width: 100%;
        margin: 0;
        border-radius: 5px;
    }

    .concept__wrapper {
        flex-direction: row-reverse;
        gap: 60px;
        max-width: 1120px;
        padding-top: 110px;
    }

    .concept__wrapper-image {
        flex: 1;
        max-height: none;
        min-width: 320px;
        margin-top: 0;
    }

    .concept__wrapper-text {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 60%;
    }

    .concept__head {
        font-size: var(--font-size-large);
    }
}

/* ==============================
Iris
============================== */

.iris__head-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    h3 {
        font-size: var(--font-size-medium);
        white-space: nowrap;
    }

    span {
        height: 1px;
        background-color: var(--color-black);
    }

    span:nth-of-type(1) {
        width: 30px;
    }

    span:nth-of-type(2) {
        flex: 1;
    }
}

.iris__text {
    margin-top: 30px;
}

.iris__inner-image {
    height: 360px;
    margin-top: 50px;
    overflow: hidden;
    border-radius: 5px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.iris__list {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.iris__item {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100vw;
    height: 360px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;

    .bg__img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;

        picture {
            display: block;
            height: 100%;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    a {
        width: 100%;
    }

    .iris__item-text {
        position: relative;
        z-index: 10;
        width: 100%;
        padding: 10px;
        color: var(--color-base);
        background-color: var(--color-shadow);
    }

    .iris__item-text-top {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: var(--font-size-medium);

        > span {
            display: block;
            width: 30px;
            height: 1px;
            background-color: var(--color-base);
        }
    }

    .iris__item-text-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 0 40px;
        line-height: var(--line-height-normal);
    }

    .iris__item-text-bottom::after {
        display: block;
        width: 30px;
        height: 30px;
        background-image: url("../images/link__btn.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        content: '';
    }
}

@media (width >= 768px) {
    .iris__experience .wrapper {
    position: relative;
        display: flex;
    flex-direction: column;
    align-items: flex-end;
    }

    .iris__experience .wrapper::before {
    position: absolute;
    top: 110px;
    right: 20px;
    z-index: -1;
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, rgb(255 255 255 / 60%) 20%, rgb(150 169 187 / 60%) 55.77%, rgb(52 89 125 / 60%) 100%);
    content: '';
    }

    .iris__inner {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        width: 100%;
        max-width: 1140px;
        padding-left: 20px;
    }

    .iris__inner-image {
        width: 50%;
        height: 350px;
        max-width: 550px;
        margin-top: 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .iris__head {
        flex: 1;
    }

    .iris__head-line span:nth-of-type(1) {
        display: none;
    }

    .iris__head-line  h3 {
    font-size: var(--font-size-x-large);
    }

    .iris__text {
        font-size: var(--font-size-medium);
    }
    
    .iris__list {
        width: calc(100vw - 200px);
        margin-top: 60px;
    }

    .iris__item {
        width: calc(100vw - 200px);
        height: 400px;
        margin: 0;
        transition: var(--transition-base);

        .bg__img {
            transition: var(--transition-base);
            will-change: transform;
        }
        
        a {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            width: 100%;
            height: 100%;
            background-color: var(--color-shadow);

            &::before {
                position: absolute;
                top: 0;
                left: 0;
                z-index: 2;
                width: 100%;
                height: 100%;
                background-color: transparent;
                transition: var(--transition-base);
                pointer-events:none;
                visibility: hidden;
                content: '';
            }
        }

        

        .iris__item-text {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            width: fit-content;
            margin-bottom: 30px;
            padding-left: 120px;
            overflow: hidden;
            background-color: unset;
            background-color: var(--color-shadow);
            transition: var(--transition-base);

            h4 {
                font-size: var(--font-size-x-large);
            }
        }

        .iris__item-text-bottom::after {
            display: none;
        }
    }

    .iris__item:hover {
        .bg__img { 
            transform: scale(1.1);
        }

        .iris__item-text {
            background-color: unset;
        }

        a::before {
            background-color: var(--color-shadow);
            visibility: visible;
        }
    }
}

/* ==============================
News
============================== */
.news__date { width: 125px; }

.news__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-medium);
}

.news__title > span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.news__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    line-height: var(--line-height-normal);
}

.news__item-top {
    display: flex;
    align-items: center;
    gap: 30px;
}

.news__item-category {
    padding: 5px 10px;
    border: 1px solid var(--color-black);
    border-radius:5px;
}

.news__item-title {
    margin-top: 10px;
    text-decoration: underline;
}

.news__button-link {
    display: block;
    width: fit-content;
    margin: 50px auto 0;
    padding: 10px 50px;
    border: 1px solid var(--color-primary);

    span {
        width: fit-content;
    }
}

.news__item:nth-of-type(4),
.news__item:nth-of-type(5) {
    display: none;
}

@media (width >= 768px) {
    .news .wrapper {
        max-width: 1000px;
    }

    .news__list {
        margin-top: 50px;
    }

    .news__item:nth-of-type(4),
    .news__item:nth-of-type(5) {
        display: block;
    }

    .news__item-link{
        display: flex;
        justify-content: flex-start;
        gap: 50px;
    }

    .news__item-top {
        width: 250px;
        order: 1;
    }

    .news__item-category {
        width: fit-content;
        padding: 2px 10px;
        empty-cells: show;
    }

    .news__item-category-wrapper {
        width: 100px;
    }

    .news__item-title {
        text-decoration: none;
        order: 3;
    }


    .news__button-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        height: 60px;
        margin-top: 80px;
        font-size: var(--font-size-medium);
        border: 2px solid var(--color-primary);
        transition: var(--transition-base);

        &:hover {
            color: var(--color-base);
            background-color: var(--color-primary);
        }
    }
}