/* ボタン */

.button_area {
    background-color: #F7E684;
    padding: 16px 24px;
    text-align: center;
    border-radius: 50%;
    border: 3px solid #062326;
    box-shadow: 5px 5px 0px 0px #062326;
    margin-top: 330px;
}

.button_area.aa {
    margin-top: 0px;
}


.button_text {
    line-height: 160%;
    font-size: 20px;
    font-weight: 700;
}

.button_area:hover {
    transform: translateY(4px);
    box-shadow: none;
}


/* メインビジュアル */
.nav_sp {
    display: none;
}

.mv {
    height: 800px;
    background-color: #0685D8;
    background-image: url(./image/Rectangle\ 48.svg);
}

.mv_container {
    padding-top: 45px;
    position: relative;
    height: auto;
    margin-bottom: 10px;
}

.mv_image_box {
    display: flex;
    justify-content: center;
}

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

.mv_title_container {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
}

.mv_title {
    font-size: clamp(24px, 3vw, 48px);
    margin-bottom: 15px;
    font-weight: 700;
    color: #FF5300;
    background-color: #FFF;
    padding: 3px 0px;
    border: 7px solid #062326;
    text-align: center;
    line-height: 160%;
    width: 100%;
    max-width: 359px;
    white-space: nowrap;
}

.mv_subtitle {
    font-size: clamp(16px, 3vw, 32px);
    font-weight: 700;
    color: #FF5300;
    background-color: #FFF;
    padding: 10px 10px;
    text-align: center;
    border: 7px solid #062326;
    line-height: 160%;
    white-space: nowrap;
}

.mv_title_inner {
    width: 100%;
    max-width: 359px;
    height: auto;
}

.mv_copy {
    position: absolute;
    right: 0;
}

.copy_image {
    width: clamp(7.063rem, 2.435rem + 12.99vw, 14.125rem);
}

.mv_main_container {
    display: flex;
    justify-content: center;
    position: relative;
}

.mv_image {
    width: clamp(21.125rem, 13.058rem + 22.64vw, 33.438rem);
    margin-top: 60px;
}

.mv_image_box {
    display: flex;
}

/* おにぎり自動スライドショー */

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    margin-bottom: 35px;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

.scroll-infinity__item {
    width: calc(100vw / 8);
}

.scroll-infinity__item>img {
    width: 90%;
}


/* ナビ */
#global-nav.m_fixed {
    left: 0;
    position: fixed;
    top: 0;
    z-index: 100;
}

#global-nav {
    background: #fff;
    width: 100%;
}

.nav_container {
    display: flex;
    justify-content: center;
    column-gap: 9%;
    padding: 20px 0px;
    border-bottom: 10px solid #062326;
    border-top: 10px solid #062326;
}

.nav_title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
}

.nav_l_link {
    display: inline-block;
    padding-bottom: 2px;
    position: relative;
}

.nav_l_link::after {
    background-color: #062326;
    bottom: 0;
    content: '';
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
}

.nav_l_link:hover::after {
    width: 100%;
}

/* ABOUT */
.about {
    background-color: #629E42;
    padding: 20px 0px;
}

.about_container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 120px;
}

.about_subtitle {
    writing-mode: vertical-rl;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.about_left_sp {
    display: none;
}

.about_box_right {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about_box_right_sp {
    display: none;
}

.about_title {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 900;
}

.about_left_containers {
    margin-top: 120px;
    background-color: #FFF;
    width: 100%;
    max-width: 942px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 30px;
    border: 10px solid #062326;
}

.about_left_box {
    width: 100%;
    max-width: 800px;
    position: relative;
}


/* スライド */

.swiper-button-next {
    padding: 30px;
    width: 100%;
    background-image: url(./image/arrow_right.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    right: -35px !important;
}

.swiper-button-prev {
    padding: 30px;
    width: 100%;
    background-image: url(./image/arrow_left.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    left: -35px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important;
}

.swiper-pagination {
    bottom: -40px !important;
}

/* 画像サイズ調整 */
.slide_image {
    width: 100%;
    text-align: center;
    padding-bottom: 40px;
}

/* WORKS */
.works {
    background-color: #FF5300;
    padding: 120px 0px;
}

.works_title {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin-right: 50px;
}

.works_inner {
    background-color: #fff;
    border: 10px solid #062326;
}

.works_container {
    margin: 80px 54px;
}

.works_box_left {
    margin-top: 80px;
}

.works_title_right {
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    margin-bottom: 20px;
}

.works_title_left {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
}

.works_top_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 120px;
}

.works_top_box.under {
    margin-top: 80px;
}


/* ウェブ */
.works_item_left {
    display: flex;
    justify-content: flex-start;
    column-gap: 3%;
    flex-wrap: wrap;
    row-gap: 40px;
}

.web_image {
    width: 100%;
    border: 1px solid #062326;
    box-shadow: 8px 8px 0px 0px #062326;
    transition: .3s all;
}

.web_image:hover {
    transform: translateY(4px);
    box-shadow: none;
}

.works_item_web {
    width: 100%;
    max-width: 440px;
}

/* バナー */

.banner_image {
    width: 100%;
    max-width: 400px;
    border: 1px solid #062326;
}

.works_box_banner {
    margin-top: 80px;
}

.works_item_container_banner {
    display: flex;
    flex-wrap: wrap;
    row-gap: 40px;
    justify-content: flex-end;
    column-gap: 3%;
}

/* グラフィック */
.graphic_image {
    width: 100%;
    max-width: 360px;
    height: auto;
    border: 1px solid #062326;
}

.works_item_container {
    display: flex;
    column-gap: 3%;
    flex-wrap: wrap;
    row-gap: 40px;
}


/* イラスト */

.works_box_illust {
    margin-top: 80px;
}

.works_illust_item {
    display: flex;
    justify-content: center;
    column-gap: 2%;
}

.illust_image {
    width: 32%;
    border: 1px solid #062326;
}

/* ラベル */
.label {
    width: 100%;
    max-width: 217px;
    height: 40px;
    text-align: center;
    padding-top: 5px;
    color: #FFF;
    font-size: 20px;
    line-height: 160%;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 15px;
}

.label.client {
    background-color: #FF5300;
}

.label.school {
    background-color: #0685D8;
}

@media screen and (max-width: 570px) {
    .body {
        overflow: hidden;
    }

    .sp-button {
        position: relative;
        display: inline-block;
    }

    .nav_container {
        display: flex;
        justify-content: center;
        column-gap: 9%;
        padding: 20px 0px;
        border-bottom: 10px solid #062326;
        border-top: 10px solid #062326;
    }

    .mv {
        height: 720px;
    }

    .mv_container {
        margin-bottom: 60px;
    }

    .mv_text_box {
        display: flex;
        flex-direction: column;
    }

    .mv_title {
        border: 4px solid #062326;
    }

    .mv_subtitle {
        border: 4px solid #062326;
    }

    .mv_copy_container {
        display: none;
    }

    .mv_copy_container.sp {
        display: block;
        margin-top: 0px;
        width: 30%;
        margin-left: 20%;
    }

    .mv_title_container {
        display: flex;
    }

    .mv_main_container {
        margin-left: auto;
        margin-right: auto;
    }

    .mv_image {
        margin-top: 150px;
    }

    .scroll-infinity__item {
        width: calc(100vw / 4);
    }

    .about_container {
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
        align-items: center;
    }

    .about_box_right {
        display: none;
    }

    .about_box_right_sp {
        display: block;
        display: flex;
        margin-top: 0px;
        column-gap: 5%;
        justify-content: center;
        margin-top: 80px;
        width: 100%;
    }

    .about_subtitle {
        writing-mode: horizontal-tb;
    }

    .slide {
        --img-size: min(800px, 70vw);
        --aspect-ratio: 0.8;
        position: relative;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        gap: 8px;
        inline-size: var(--img-size);
        aspect-ratio: var(--aspect-ratio);
        border: 1px solid #ccc;
        box-sizing: content-box;
        margin: auto;
        padding: 0;
        background-color: #ccc;
        text-align: center;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .button_area {
        margin-top: 0px;
    }

    .about_left_containers {
        margin-top: 60px;
        background-color: #FFF;
        max-width: 400px;
        width: 100%;
        padding-inline: 18px;
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .about_box_left {
        margin-bottom: 0px;
    }

    .about_left_sp {
        display: block;
    }

    .about_left_pc {
        display: none;
    }

    .swiper-button-next {
        padding: 25px;
        width: 100%;
        right: -35px !important;
    }

    .swiper-button-prev {
        padding: 25px;
        width: 100%;
        left: -35px !important;
    }


    .swiper-button-next::after,
    .swiper-button-prev::after {
        content: none !important;
    }

    .about_left_box {
        width: 100%;
        max-width: 800px;
        max-height: 676px;
    }

    .works {
        background-color: #FF5300;
        padding: 60px 0px;
    }

    .works_top_box {
        margin-bottom: 60px;
    }

    .works_item_container {
        row-gap: 40px;
    }

    .works_box_left {
        margin-top: 60px;
    }

    .works_container {
        margin: 0px 20px;
        margin-bottom: 60px;
    }

    .works_item_web {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .works_box_banner {
        margin-top: 60px;
    }

    .works_item_banner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .works_item_graphic {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* 画像サイズ調整 */

    .works_illust_item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        column-gap: 2%;
        row-gap: 20px;
    }

    .illust_image {
        width: 100%;
    }
}