@charset "utf-8";

section {
    margin-bottom: 60px;
}

/**
* ============================
* 30th anniversary
* ============================
*/
.anniversary-banner {
    margin-bottom: 0;
    padding: 30px 20px;
    background-color: white;
}

.anniversary-banner .inner-content {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.anniversary-banner .inner-content img {
    max-width: 180px;
}

.anniversary-banner .inner-content div {
    display: flex;
    flex-flow: column;
    width: 100%;
    gap: 10px;
}

.anniversary-banner .inner-content div h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
}

.anniversary-banner .inner-content div p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}


/**
* ============================
* president message
* ============================
*/
.president-message .inner-content {
    display: flex;
    align-items: center;
    flex-flow: column;
    background-color: #899CAE;
    background-image: url(../img/top_movie_haikei_1.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    color: #fff;
    padding: 16px 20px;
}

.president-message .inner-content h2 {
    font-size: 24px;
}

.president-message .inner-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.president-message .inner-content a {
    margin: 0 auto;
}

.president-message .inner-content img {
    max-width: 330px;
}

/**
* ============================
* topic
* ============================
*/
section#topic {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}

section#topic article {
    display: flex;
    flex-flow: column;
    gap: 10px;
}

section#topic article figure {
    width: calc(100% - 20px);
    margin: 0 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #1a1a1a;
}

section#topic article figure img {
    width: 100%;
    object-fit: contain;
}

section#topic article p {
    font-size: 18px;
    line-height: 2;
}

/**
* ============================
* recruit・works・about us
* ============================
*/
section.main-section {
    display: flex;
    flex-flow: column;
    gap: 12px;
}

section.main-section h2 {
    margin: 0;
    font-size: 64px;
    font-weight: bold;
    color: #004086;
    line-height: 1;
}

section.main-section h2 .accent {
    display: inline-block;
    color: #29D0D8 !important;
}

section.main-section h2+.h2-sub {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #004086;
}

section.main-section>p:not(.h2-sub) {
    font-size: 18px;
    line-height: 2;
    letter-spacing: 2px;
}

section.main-section .more {
    width: max-content;
    align-self: end;
}

section.main-section .more img {
    width: 240px;
}

section#recruit figure img,
section#works figure img {
    box-shadow: 11px 11px 4px 0px #00000040;
}

section#about .org-chart {
    display: block;
    max-width: 320px;
    margin: 0 auto;
}

section#about .org-chart-pc {
    display: none;
}

section#about .org-chart,
section#about .org-chart-pc {
    margin: 40px auto;
}

/**
* ============================
* signage banner
* ============================
*/
section#ai-signage .banner-link>div {
    position: relative;
    width: 100%;
}

section#ai-signage .banner-link img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 11px 11px 4px 0px #00000040;
}
section#ai-signage .banner-link img.sp {
    display: block;
    margin-left: 6px;
}
section#ai-signage .banner-link img.tb,
section#ai-signage .banner-link img.pc {
    display: none;
}

section#ai-signage .inner-content {
    position: absolute;
    left: 24px;
    top: 24px;
    width: calc(100% - 56px);
}

section#ai-signage .inner-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

section#ai-signage .inner-content p {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

section#ai-signage .inner-content ul {
    display: flex;
    flex-flow: column;
    gap: 10px;
}

section#ai-signage .inner-content li {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-align: center;
    background: #fff;
    border-radius: 40px;
}

section#productions {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
    margin-bottom: 80px;
}

section#productions>* {
    width: 100%;
}

section#productions article.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

section#productions article.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

section#productions article.card figure {
    width: 100%;
    aspect-ratio: 1 / 1;
}

section#productions article.card img {
    width: 100%;
}

section#productions article.card figcaption {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.6;
}


@media (min-width: 624px) {
    .president-message .inner-content img {
        max-width: 360px;
    }

    section#ai-signage .banner-link img.sp {
        display: none;
    }

    section#ai-signage .banner-link img.tb {
        display: block;
    }

    section#ai-signage .inner-content ul {
        max-width: 320px;
    }

    section#productions>* {
        width: auto;
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (min-width: 769px) {
    .anniversary-banner .inner-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .anniversary-banner .inner-content div h2 {
        font-size: 44px;
    }

    .anniversary-banner .inner-content div p {
        font-size: 32px;
    }

    section#topic {
        gap: 32px;
    }

    section#topic article {
        flex-flow: row;
        gap: 20px;
    }

    section#topic article figure {
        flex: 0 0 300px;
        align-self: baseline;
        width: auto;
        margin: 0;
    }

    section.main-section h2 {
        font-size: 160px;
    }

    section#about .org-chart {
        display: none !important;
    }

    section#about .org-chart-pc {
        display: block !important;
    }
}

@media (min-width: 1025px) {
    .president-message .inner-content {
        padding-bottom: 32px;
    }

    .president-message .inner-content h2 {
        font-size: 64px;
    }

    .president-message .inner-content p {
        font-size: 36px;
    }

    .president-message .inner-content img {
        max-width: 900px;
    }

    .anniversary-banner .inner-content {
        flex-flow: row;
        align-items: start;
        gap: 28px;
        width: max-content;
        max-width: unset;
        margin: 0 auto;
    }

    section#ai-signage .banner-link img.sp,
    section#ai-signage .banner-link img.tb {
        display: none;
    }

    section#ai-signage .banner-link img.pc {
        display: block;
    }

    section#ai-signage .inner-content {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        height: calc(100% - 56px);
        zoom: 0.8;
    }

    section#ai-signage .inner-content p {
        margin-top: 0;
        margin-bottom: auto;
    }

    section#ai-signage .inner-content ul {
        flex-flow: row;
        max-width: unset;
        margin: 0;
    }

    section.main-section {
        position: relative;
        flex-flow: wrap;
        column-gap: 40px;
        padding-bottom: 80px;
    }

    section.main-section.works {
        margin-bottom: 100px;
    }

    section.main-section h2,
    section.main-section h2+.h2-sub {
        width: 100%;
    }

    section.main-section:not(#about) figure,
    section.main-section:not(#about) p:not(.h2-sub) {
        flex: 0 0 calc((100% - 40px) / 2);
    }

    .text-right-pc {
        text-align: end;
    }

    section.main-section.works figure {
        order: 4;
    }

    section.main-section.works p:not(.h2-sub) {
        order: 3;
    }

    section.main-section.recruit .more {
        position: absolute;
        bottom: 0;
        right: 20px;
    }

    section.main-section.works .more {
        position: absolute;
        bottom: 0;
        left: 20px;
    }

    section.main-section.about .more {
        position: absolute;
        top: 160px;
        right: 20px;
    }

    section#productions>* {
        width: auto;
        flex: 0 0 calc((100% - 60px) / 4);
    }
}

@media (min-width: 1280px) {
    section#topic {
        flex-flow: row;
        justify-content: center;
    }

    section#topic article {
        flex-flow: row;
        gap: 40px;
    }

    section#topic article figure {
        flex: 0 0 290px;
    }

    section.main-section {
        padding-bottom: 20px;
    }

    section.main-section.works .more {
        bottom: -34px;
    }

    section#ai-signage .inner-content {
        zoom: unset;
    }
}

@media (min-width: 1440px) {
    .anniversary-banner .inner-content img {
        max-width: 290px;
    }

    .anniversary-banner .inner-content div h2 {
        font-size: 68px;
    }

    .anniversary-banner .inner-content div p {
        font-size: 40px;
    }

    section.main-section {
        padding-bottom: 0;
    }

    section.main-section.works .more {
        bottom: 0;
    }
}


/**
* ============================
* FV
* ============================
*/
section.fv {
    position: relative;
    overflow: hidden;
    height: 372px;
    background: #eef7ff;
    margin-bottom: 0 !important;
}

section.fv .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

section.fv .inner-content {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
}

section.fv .by-name {
    position: absolute;
    bottom: 50px;
    left: 20px;
    font-weight: 700;
    font-family: "Inter";
    line-height: 1;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 12px #00408659;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

section.fv .inner-content h1 {
    font-size: 72px;
    font-weight: 700;
    font-family: "Inter";
    line-height: 1;
    color: white;
    text-shadow: 2px 2px 12px #00408659;
}

@media (min-width: 769px) {
    section.fv {
        height: 80vh;
    }

    section.fv .by-name {
        font-size: 34px;
        left: auto;
        right: 50px;
    }

    section.fv .inner-content h1 {
        font-size: 78px;
    }
}

@media (min-width: 1025px) {
    section.fv {
        height: 70vh;
    }

    section.fv .by-name {
        font-size: 42px;
    }


    section.fv .inner-content {
        position: absolute;
        top: 40px;
        left: 60px;
        width: auto;
    }

    section.fv .inner-content h1 {
        font-size: 122px;
    }
}

@media (min-width: 1440px) {
    section.fv {
        height: 70vh;
    }

    section.fv .inner-content {
        top: 30px;
        left: 0;
        right: 0;
        max-width: 1400px;
        margin: 0 auto;
    }



    section.fv .inner-content h1 {
        font-size: 144px;
    }
}

@media (min-width: 1620px) {
    section.fv .inner-content {
        width: max-content;
        max-width: unset;
        padding-right: 120px;
    }

    section.fv .inner-content h1 {
        font-size: 174px;
    }
}
