/* ================================================

COMMIT こだわりページ

================================================ */

.commit {
    padding-top: var(--space-10xl);
    padding-bottom: var(--space-8xl);
}

.commit__wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-3xl);
}

.commit__title {
    font-size: clamp(18px, 2.6cqi, 32px);
}

.commit__desc {
    font-size: clamp(13px, 1.33cqi, 16px);
}


/* ········ GALLERY ········ */
.commit__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

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

@media (width < 1024px) {
    .commit__wrap {
        gap: 60px;
    }
}

@media (width < 768px) {
    .commit__wrap {
        flex-direction: column;
        gap: var(--space-9xl);
    }

    .commit__gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .commit__gallery img {
        aspect-ratio: 160/80;
    }
}

/* ----------------------------------------
CULTURE
---------------------------------------- */
.culture {
    padding-bottom: var(--space-10xl);
}

.culture__inner {
    position: relative;
}

.culture__inner::after {
    content: "";
    display: block;
    width: calc(100% + calc(50vw - 50%));
    height: 100%;
    background: url(../../img/common/bg_wall.webp) no-repeat center / cover;
    position: absolute;
    top: 20%;
    z-index: -1;
    margin-right: calc(50% - 50vw);
    left: var(--space-md);
}

.culture__img {
    width: 100%;
    height: auto;
}

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

.culture__title {
    font-size: var(--fontSize-lg);
    text-align: center;
    width: min(80%, 600px);
}

.culture__content {
    width: min(720px, 90%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
}

.culture__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-olive);
    margin-top: 0.25em;
}

.culture__desc {
    text-align: center;
    margin-top: 1em;
}

@media (width < 768px) {
    .culture__inner{
        max-width: 100%;
    }

    .culture__inner::after {
        top: 10%;
    }
}

/* ----------------------------------------
MATERIAL
---------------------------------------- */

.material__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-lg);
}

.material__wrap article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    margin-bottom: var(--space-4xl);
}

/* ········ image ········ */
.material__img {
    aspect-ratio: 460/230;
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

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

/* ········ title ········ */
.material__title {
    font-size: clamp(18px, 2.6cqi, 32px);
    margin-bottom: var(--space-3xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2em;
}

.material__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    margin-left: -2em;
}

.material__name {
    font-size: clamp(16px, 2cqi, 24px);

    margin-bottom: 0.5em;
}

.material__desc {
    margin-bottom: 1em;
}

/* ········ button ········ */
.material__btn {
    width: 100%;
    margin-top: 1em;
    letter-spacing: 0em;
}

.material__btn a {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.material__btn a {
    align-items: center !important;
    width: fit-content;
    margin-left: auto;
}

.material__btn span {
    font-size: 12px;
}

.material__btn .arrow-right {
    width: 200px;
}

.material__btn .arrow-right::before {
    right: 0;
    transform: rotate(20deg);
    width: clamp(10px, 2cqi, 30px);
}

@media (width < 768px) {
    .material__wrap {
        display: grid;
        grid-template-columns: 1fr;
    }

    .material__img {
        aspect-ratio: 174/125;
        overflow: hidden;
    }
}