@charset "UTF-8";

.inner__works {
    width: 72.92%;
    max-width: 1050px;
    margin-inline: auto;
}

.mv {
    padding-top: 264px;
}

.mv__title {
    font-size: 66px;
    font-weight: 500;
    line-height: 1.242;
    color: #000;
    text-align: center;
}

.mv__title-sub {
    display: block;
    font-weight: 300;
    color: #ec5a11;
}

.web {
    padding-top: 158px;
}

.web__list {
    display: flex;
    justify-content: space-between;
}

.web__item {
    width: 46.9%;
}

.web__figure {
    position: relative;
}

.web__img--pc {
    width: 91.7%;
    margin-left: 6.5%;
}

.web__screen {
    position: absolute;
    top: 8%;
    left: 17%;
    width: 70.7%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.web__img--sp {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27.2%;
}

.web__figure--single .web__img {
    width: 100%;
}

.web__body {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
    padding-left: 22px;
}

.web__name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #2f2f2f;
}

.web__category {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #a0a0a0;
}

.web__purpose,
.web__role {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #ec5a11;
}

.web__purpose {
    margin-top: 12px;
}

.web__role {
    margin-top: 4px;
}

.web__buttons {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 19px;
}

/* works ページの SITE / VIEW MORE は base.css の共通サイズより小さくする。
   PC でも 1140px 以下と同じ大きさを上限にしている */
.button {
    width: 116px;
    height: 52px;
}

.button--small {
    width: 84px;
    height: 40px;
}

.web__list--sub {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 87.06%;
    margin-top: 133px;
    margin-inline: auto;
}

.web__item--sub {
    display: flex;
    flex-direction: column;
    width: 46.9%;
}

.web__item--sub:nth-child(n+3) {
    margin-top: 50px;
}

.web__figure--sub {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 487 / 277;
}

.web__figure--sub .web__img {
    width: 105%;
}

.web__badge {
    position: absolute;
    top: 49.5%;
    left: 75.5%;
    width: 26.7%;

    border-radius: 50%;
    background-color: #fff;
}

.web__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
    padding-right: 44px;
}

.web__label {
    font-size: 14px;
    line-height: 1.45;
    color: #2f2f2f;
}

.web__name--sub {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.45;
    color: #2f2f2f;
}

.web__role--sub {
    margin-top: 11px;
    font-size: 18px;
    line-height: 1.45;
}

.web__tags {
    font-size: 14px;
    line-height: 1.5;
    color: #a0a0a0;
}

.web__time {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.45;
    color: #999;
}



.graphic {
    padding-top: 80px;
}

.graphic__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.graphic__column {
    flex-shrink: 0;
}

.graphic__column--main {
    width: 50.76%;
}

.graphic__column--sub {
    width: 53.71%;
    margin-left: -47px;
}

.graphic__item + .graphic__item {
    margin-top: 20px;
}

.graphic__item img {
    width: 100%;
}

.graphic__item--parfait {
    width: 87.6%;
}

.graphic__item--pizza {
    width: 89.7%;
    margin-left: 10.3%;
}

.next {
    padding-top: 200px;
}

@media (max-width: 1140px) {

    .web__head {
        gap: 12px;
        padding-right: 12px;
    }

    .web__name {
        font-size: 20px;
    }

    .web__role {
        font-size: 16px;
    }

    .web__name--sub {
        font-size: 18px;
    }

    .web__role--sub {
        font-size: 16px;
    }
}

@media (max-width: 1014px) {

    .web__head {
        gap: 8px;
        padding-right: 0;
    }

    .web__label {
        font-size: 12px;
    }

    .web__name {
        font-size: 20px;
    }

    .web__role {
        font-size: 14px;
    }

    .web__name--sub {
        font-size: 20px;
    }

    .web__role--sub {
        font-size: 14px;
    }

    .button {
        width: 96px;
        height: 44px;
        font-size: 14px;
    }

    .button--small {
        width: 80px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .inner__works {
        width: 86%;
        max-width: none;
    }

    .mv {
        padding-top: 140px;
    }

    .mv__title {
        font-size: 34px;
    }

    .web {
        padding-top: 60px;
    }

    .web__list {
        display: block;
    }

    .web__item {
        width: auto;
    }

    .web__item + .web__item {
        margin-top: 60px;
    }

    .web__body {
        display: block;
        margin-top: 16px;
        padding-left: 0;
    }

    .web__name {
        font-size: 18px;
    }

    .web__category {
        margin-top: 16px;
        font-size: 13px;
    }

    .web__purpose,
    .web__role {
        font-size: 13px;
    }

    .web__purpose {
        margin-top: 8px;
    }

    .web__buttons {
        flex-direction: row;
        gap: 12px;
        margin-top: 20px;
    }

    .web__list--sub {
        display: block;
        width: auto;
        margin-top: 60px;
    }

    .web__item--sub {
        width: auto;
    }

    .web__item--sub + .web__item--sub {
        margin-top: 48px;
    }

    .web__figure--sub {
        aspect-ratio: auto;
        height: auto;
    }

    .web__figure--sub .web__img {
        width: 100%;
    }

    .web__badge {
        top: 48.6%;
        left: 71.9%;
        width: 25.4%;
    }

    .web__head {
        margin-top: 16px;
        padding-right: 0;
    }

    .web__label {
        font-size: 11px;
    }

    .web__name--sub {
        font-size: 17px;
    }

    .web__role--sub {
        margin-top: 8px;
        font-size: 13px;
    }

    .web__time {
        margin-top: 8px;
        font-size: 13px;
    }

    .web__tags {
        font-size: 13px;
    }

    .web__role--sub + .web__tags,
    .web__time + .web__tags {
        margin-top: 10px;
    }

    .graphic {
        padding-top: 80px;
    }

    .graphic__inner {
        display: block;
    }

    .graphic__column {
        width: auto;
    }

    .graphic__column--sub {
        margin-top: 20px;
        margin-left: 0;
    }

    .graphic__item--parfait,
    .graphic__item--pizza {
        width: auto;
        margin-left: 0;
    }

    .next {
        padding-top: 100px;
    }

    .web__category,
    .web__role,
    .web__label,
    .web__role--sub,
    .web__time,
    .web__tags {
        line-height: 30px;
    }
}
