@charset "UTF-8";

#internship {
    padding: 14rem 0 14rem;

    @media screen and (max-width: 767px) {
        padding: 7.2rem 0 8rem;
    }

    .internship-wrap {
        width: 100%;
        max-width: 184rem;

        @media screen and (max-width: 767px) {
            width: calc(100% - 3rem);
        }

        .internship-banner {
            position: relative;
            width: 184rem;
            max-width: 100%;
            height: 81.8rem;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 2rem;
            box-sizing: border-box;
            background: url("../../img/page/internship/card-bg.png") no-repeat
                center / cover;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 12.3rem;

            @media screen and (max-width: 767px) {
                height: auto;
                min-height: 0;
                padding: 5.6rem 3rem 5rem;
                border-radius: 2rem;
                background-image: url("../../img/page/internship/card-bg-sp.png");
            }

            .internship-avatar {
                position: absolute;
                z-index: 1;
                line-height: 0;
                pointer-events: none;

                & img {
                    display: block;
                    width: 100%;
                    height: auto;
                }

                @media screen and (max-width: 767px) {
                    display: none;
                }
            }

            .internship-avatar-sp {
                display: none;
                position: relative;
                z-index: 2;
                width: 27.6rem;
                max-width: 100%;
                margin: 4.2rem auto 0;
                line-height: 0;

                @media screen and (max-width: 767px) {
                    display: block;
                }

                & img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
            }

            .internship-avatar-left {
                top: 11.7rem;
                left: 7.4rem;
                width: 29.6rem;
            }

            .internship-avatar-right {
                top: 13.4rem;
                right: 10rem;
                width: 38.2rem;
            }

            .internship-en {
                position: relative;
                z-index: 2;
                width: 57.4rem;
                max-width: 100%;
                margin: 0 0 7.7rem;
                font-family: "Montserrat", sans-serif;
                font-style: normal;
                font-weight: 600;
                font-size: 3.1rem;
                line-height: 3.8rem;
                text-align: center;
                letter-spacing: 0.02em;
                text-transform: capitalize;
                color: #ffffff;

                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                    line-height: 1;
                    margin-bottom: 3.2rem;
                }
            }

            .internship-heading {
                position: relative;
                z-index: 2;
                width: 95.9rem;
                max-width: 100%;
                margin: 0 0 7.844rem;
                line-height: 0;

                @media screen and (max-width: 767px) {
                    width: 100%;
                    max-width: 24rem;
                    margin-bottom: 5.4rem;
                }

                & picture,
                & img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
            }

            .internship-lead {
                position: relative;
                z-index: 2;
                width: 68.3rem;
                max-width: 100%;
                margin: 0;
                font-family: "Noto Sans JP", sans-serif;
                font-style: normal;
                font-weight: 500;
                font-size: 2rem;
                line-height: 3.9rem;
                text-align: center;
                letter-spacing: 0.04em;
                color: #ffffff;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 3.4rem;
                    letter-spacing: 0.07em;
                    text-align: left;
                }
            }
        }

        .internship-bubble {
            position: relative;
            width: 128rem;
            max-width: 100%;
            margin: 0 auto;
            line-height: 0;

            .internship-bubble-bg {
                display: block;
                width: 100%;
                height: auto;
            }

            .internship-bubble-bg-sp {
                display: none;
            }

            @media screen and (max-width: 767px) {
                width: 100%;
                max-width: 50.3rem;
            }

            .internship-bubble-body {
                position: absolute;
                inset: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 6.7rem 12rem 12.4rem;
                box-sizing: border-box;

                @media screen and (max-width: 767px) {
                    position: absolute;
                    inset: 0;
                    align-items: stretch;
                    justify-content: flex-start;
                    padding: 5.45rem 4rem 5.6rem;
                    line-height: 1;
                    background: none;
                    border: 0;
                    border-radius: 0;
                }

                .internship-bubble-title {
                    font-family: "Noto Sans JP", sans-serif;
                    font-style: normal;
                    font-weight: 700;
                    font-size: 3.5rem;
                    line-height: 1;
                    text-align: center;
                    letter-spacing: 0.08em;
                    color: #0476e0;
                    margin: 0 0 3.6rem;

                    @media screen and (max-width: 767px) {
                        font-size: 2.6rem;
                        line-height: 3.4rem;
                        letter-spacing: 0.08em;
                        margin-bottom: 3rem;
                    }
                }

                .internship-bubble-list {
                    margin: 0 auto;
                    padding: 0;
                    list-style: none;
                    width: 78rem;
                    @media screen and (max-width: 767px) {
                        width: 100%;
                    }

                    & li {
                        position: relative;
                        padding-left: 2.9rem;
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 400;
                        font-size: 2rem;
                        line-height: 4.3rem;
                        letter-spacing: 0.1em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            padding-left: 2.3rem;
                            font-size: 1.6rem;
                            line-height: 2.4rem;
                            letter-spacing: 0.04em;

                            &:not(:last-child) {
                                margin-bottom: 2.9rem;
                            }
                        }

                        &::before {
                            content: "";
                            position: absolute;
                            left: 0;
                            top: 1.45rem;
                            width: 1.3rem;
                            height: 1.3rem;
                            border-radius: 50%;
                            background: #0476e0;

                            @media screen and (max-width: 767px) {
                                top: 0.7rem;
                            }
                        }

                        & strong {
                            font-weight: 700;
                        }
                    }
                }

                .internship-bubble-illust {
                    display: none;
                    width: 30.2rem;
                    max-width: 100%;
                    margin: 2.4rem auto 0;
                    line-height: 0;

                    @media screen and (max-width: 767px) {
                        display: block;
                        margin-top: auto;
                        width: auto;
                        margin: 2.1rem auto 0;
                    }

                    & img {
                        display: block;
                        width: 100%;
                        height: auto;
                        @media screen and (max-width: 767px) {
                            width: 19.8rem;
                        }
                    }
                }
            }

            @media screen and (max-width: 767px) {
                .internship-bubble-bg-pc {
                    display: none;
                }

                .internship-bubble-bg-sp {
                    display: block;
                }
            }
        }

        .internship-main {
            width: 128rem;
            max-width: 100%;
            margin: 0 auto;

            .internship-block {
                margin-top: 12rem;

                @media screen and (max-width: 767px) {
                    margin-top: 6rem;
                }

                &:last-child {
                    margin-bottom: 0;
                }
            }

            .internship-section-title {
                font-family: "Noto Sans JP", sans-serif;
                font-style: normal;
                font-weight: 700;
                font-size: 3.6rem;
                line-height: 1.4;
                text-align: center;
                letter-spacing: 0.08em;
                color: #1d1d1d;
                margin: 0 0 6rem;

                @media screen and (max-width: 767px) {
                    font-size: 2.2rem;
                    letter-spacing: 0.06em;
                    margin-bottom: 3.2rem;
                }
            }

            .feature-cards {
                display: flex;
                justify-content: space-between;
                align-items: stretch;
                gap: 3rem;
                margin: 0;
                padding: 0;
                list-style: none;

                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    gap: 2.4rem;
                }

                .feature-card {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 40.667rem;
                    padding: 4.8rem 3.2rem 4rem;
                    box-sizing: border-box;
                    background: #ffffff;
                    border-radius: 2.4rem;

                    @media screen and (max-width: 767px) {
                        width: 100%;
                        padding: 3.2rem 2.4rem;
                    }

                    .feature-card-media {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 21.36rem;
                        min-height: 18.772rem;
                        margin: 0 0 2.8rem;
                        line-height: 0;

                        @media screen and (max-width: 767px) {
                            width: 12.8rem;
                            min-height: 11.3rem;
                            margin-bottom: 1.6rem;
                        }

                        & img {
                            display: block;
                            width: 100%;
                            height: auto;
                        }
                    }

                    .feature-card-media-1 {
                        & img {
                            width: 18.9rem;

                            @media screen and (max-width: 767px) {
                                width: 11.3rem;
                            }
                        }
                    }

                    .feature-card-media-2 {
                        & img {
                            width: 21.36rem;

                            @media screen and (max-width: 767px) {
                                width: 12.8rem;
                            }
                        }
                    }

                    .feature-card-media-3 {
                        & img {
                            width: 17.2rem;

                            @media screen and (max-width: 767px) {
                                width: 10.3rem;
                            }
                        }
                    }

                    .feature-card-text {
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 2rem;
                        line-height: 3.7rem;
                        text-align: center;
                        letter-spacing: 0.07em;
                        color: #0476e0;
                        margin: 0;

                        @media screen and (max-width: 767px) {
                            font-size: 1.5rem;
                            line-height: 2.6rem;
                        }
                    }
                }
            }

            .voice-list {
                display: flex;
                flex-direction: column;
                gap: 4.8rem;
                margin: 0;
                padding: 0;
                list-style: none;

                @media screen and (max-width: 767px) {
                    gap: 3.2rem;
                }

                .voice-item {
                    display: flex;
                    align-items: flex-start;
                    gap: 4.8rem;

                    @media screen and (max-width: 767px) {
                        display: grid;
                        grid-template-columns: 10rem 1fr;
                        grid-template-rows: 10rem auto;
                        grid-template-areas:
                            "avatar bubble"
                            "meta bubble";
                        align-items: start;
                        gap: 0.8rem 1.6rem;
                    }

                    .voice-avatar {
                        flex: 0 0 auto;
                        width: 20.9rem;
                        line-height: 0;

                        @media screen and (max-width: 767px) {
                            grid-area: avatar;
                            width: 10rem;
                            margin-top: 1.6rem;
                        }

                        & img {
                            display: block;
                            width: 100%;
                            height: auto;
                            border-radius: 50%;
                        }
                    }

                    .voice-body {
                        flex: 1;
                        min-width: 0;

                        @media screen and (max-width: 767px) {
                            display: contents;
                        }

                        .voice-bubble-wrap {
                            position: relative;
                            margin-top: 3rem;

                            @media screen and (max-width: 767px) {
                                grid-area: bubble;
                                margin-top: 1.4rem;
                            }
                        }

                        .voice-arrow {
                            position: absolute;
                            z-index: 0;
                            top: 5rem;
                            left: -2.7rem;
                            width: 6.919rem;
                            height: 6.316rem;
                            pointer-events: none;

                            @media screen and (max-width: 767px) {
                                top: 3.8rem;
                                left: -1.3rem;
                                width: 3.3rem;
                                height: 3rem;
                            }
                        }

                        .voice-bubble {
                            position: relative;
                            z-index: 1;
                            padding: 5rem 6rem;
                            background: #ffffff;
                            border-radius: 10.1rem;
                            box-sizing: border-box;

                            @media screen and (max-width: 767px) {
                                padding: 4.7rem 2rem 4.7rem 3rem;
                                border-radius: 5.8rem;
                            }

                            & p {
                                font-family: "Noto Sans JP", sans-serif;
                                font-style: normal;
                                font-weight: 400;
                                font-size: 1.8rem;
                                line-height: 3.6rem;
                                letter-spacing: 0.04em;
                                color: #000000;
                                margin: 0;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.6rem;
                                    line-height: 2.6rem;
                                    font-weight: 500;
                                    letter-spacing: 0.07em;
                                }
                            }
                        }

                        .voice-meta {
                            margin: 3.6rem calc(6.9rem) 0 0;
                            font-family: "Noto Sans JP", sans-serif;
                            font-style: normal;
                            font-weight: 600;
                            font-size: 1.8rem;
                            line-height: 1;
                            letter-spacing: 0.04em;
                            text-align: right;
                            color: #0476e0;

                            @media screen and (max-width: 767px) {
                                grid-area: meta;
                                margin: 2rem 0 0;
                                font-size: 1.2rem;
                                line-height: 1.4;
                                text-align: center;
                            }
                        }
                    }

                    &.is-reverse {
                        flex-direction: row-reverse;

                        @media screen and (max-width: 767px) {
                            grid-template-columns: 1fr 10rem;
                            grid-template-areas:
                                "bubble avatar"
                                "bubble meta";
                        }

                        .voice-body .voice-meta {
                            margin: 3.6rem 5rem 0 0;
                            text-align: right;

                            @media screen and (max-width: 767px) {
                                margin: 2rem 0 0;
                                text-align: center;
                            }
                        }
                    }

                    &.is-reverse .voice-body .voice-arrow {
                        left: auto;
                        right: -2.7rem;
                        transform: scaleX(-1);

                        @media screen and (max-width: 767px) {
                            left: auto;
                            right: -1.3rem;
                        }
                    }
                }
            }

            .flow-days {
                margin: 0;
                padding: 0;
                list-style: none;

                .flow-day {
                    position: relative;
                    display: flex;
                    align-items: stretch;
                    height: 17.1rem;
                    box-sizing: border-box;
                    border-radius: 4.6rem;
                    background: #ffffff;
                    overflow: hidden;

                    @media screen and (max-width: 767px) {
                        flex-direction: column;
                        height: auto;
                        border-radius: 2rem;
                    }

                    &:not(:last-child) {
                        margin-bottom: 7.9rem;

                        @media screen and (max-width: 767px) {
                            margin-bottom: 4rem;
                        }

                        &::after {
                            content: "";
                            position: absolute;
                            left: 50%;
                            top: 100%;
                            width: 5.535rem;
                            height: 3.3rem;
                            margin-top: calc((7.9rem - 3.3rem) / 2);
                            background: url("../../img/page/internship/flow-arrow.svg")
                                center / contain no-repeat;
                            transform: translateX(-50%);

                            @media screen and (max-width: 767px) {
                                width: 3.2rem;
                                height: 1.9rem;
                                margin-top: calc((4rem - 1.9rem) / 2);
                            }
                        }
                    }

                    .flow-day-label {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 0.4rem;
                        flex: 0 0 21.9rem;
                        height: 100%;
                        border-radius: 4.6rem 0 0 4.6rem;
                        font-family: "Montserrat", sans-serif;
                        font-style: normal;
                        font-weight: 700;
                        font-size: 3.1rem;
                        line-height: 1;
                        letter-spacing: 0.02em;
                        color: #ffffff;

                        @media screen and (max-width: 767px) {
                            flex: none;
                            width: 100%;
                            height: auto;
                            min-height: 5.6rem;
                            border-radius: 2rem 2rem 0 0;
                            font-size: 1.8rem;
                        }

                        .flow-day-num {
                            font-size: 3.8rem;
                            line-height: 1;

                            @media screen and (max-width: 767px) {
                                font-size: 2.2rem;
                            }
                        }
                    }

                    .flow-day-body {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        min-width: 0;
                        padding: 4.3rem 4rem 4.3rem 5.8rem;
                        box-sizing: border-box;

                        @media screen and (max-width: 767px) {
                            padding: 2rem 2rem;
                        }

                        & p {
                            font-style: normal;
                            font-weight: 400;
                            font-size: 1.8rem;
                            line-height: 2;
                            letter-spacing: 0.04em;
                            color: #000000;
                            margin: 0;

                            @media screen and (max-width: 767px) {
                                font-size: 1.4rem;
                            }
                        }
                    }

                    .flow-day-visual {
                        flex: 0 0 auto;
                        align-self: stretch;
                        line-height: 0;

                        @media screen and (max-width: 767px) {
                            width: 100%;
                        }

                        & img {
                            display: block;
                            height: 100%;
                            width: auto;

                            @media screen and (max-width: 767px) {
                                width: 100%;
                                height: auto;
                            }
                        }
                    }

                    &:nth-child(1) .flow-day-label {
                        background: #3fbfff;
                    }

                    &:nth-child(2) .flow-day-label {
                        background: #50a0ea;
                    }

                    &:nth-child(3) .flow-day-label {
                        background: #0476e0;
                    }
                }
            }

            .overview-card {
                padding: 10rem;
                background: #ffffff;
                border-radius: 2.4rem;
                box-sizing: border-box;

                @media screen and (max-width: 767px) {
                    padding: 3rem 2rem;
                    border-radius: 1.6rem;
                }

                .overview-table {
                    width: 100%;
                    table-layout: fixed;
                    border-collapse: collapse;

                    & th,
                    & td {
                        padding: 4rem;
                        border-top: 0.1rem solid #e0e0e0;
                        border-bottom: 0.1rem solid #e0e0e0;
                        text-align: left;
                        vertical-align: middle;
                        font-style: normal;
                        font-size: 1.8rem;
                        line-height: 1.8;
                        letter-spacing: 0.04em;
                        color: #000000;
                        @media screen and (max-width: 767px) {
                            display: block;
                            width: 100%;
                            padding: 1.2rem 0;
                            box-sizing: border-box;
                            font-size: 1.3rem;
                        }
                    }

                    & th {
                        width: 34rem;
                        background: #f9f9f9;
                        font-weight: 700;

                        @media screen and (max-width: 767px) {
                            width: 100%;
                            background: none;
                            border-bottom: none;
                            padding-bottom: 0.4rem;
                        }
                    }

                    & td {
                        font-weight: 400;
                        background: #ffffff;

                        @media screen and (max-width: 767px) {
                            border-top: none;
                        }
                    }
                }
            }

            .intern-faq {
                .faq-item {
                    margin-bottom: 1.6rem;
                    background: #ffffff;
                    border-radius: 2rem;
                    overflow: hidden;

                    @media screen and (max-width: 767px) {
                        margin-bottom: 1.2rem;
                        border-radius: 1.2rem;
                    }

                    &:last-child {
                        margin-bottom: 0;
                    }

                    .faq-q {
                        display: flex;
                        align-items: center;
                        gap: 3rem;
                        width: 100%;
                        padding: 3.2rem 8.5rem 3.2rem 3rem;
                        background: none;
                        border: none;
                        text-align: left;
                        cursor: pointer;
                        box-sizing: border-box;

                        @media screen and (max-width: 767px) {
                            gap: 1rem;
                            padding: 1.6rem 1.6rem;
                        }

                        .faq-q-icon {
                            flex: 0 0 auto;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 5.3rem;
                            height: 5.3rem;
                            border-radius: 50%;
                            background: #0476e0;
                            font-family: "Montserrat", sans-serif;
                            font-weight: 600;
                            font-size: 2.4rem;
                            line-height: 1;
                            color: #ffffff;

                            @media screen and (max-width: 767px) {
                                width: 4.2rem;
                                height: 4.2rem;
                                font-size: 1.4rem;
                            }
                        }

                        .faq-q-text {
                            flex: 1;
                            min-width: 0;
                            font-style: normal;
                            font-weight: 600;
                            font-size: 2.2rem;
                            line-height: 1.6;
                            letter-spacing: 0.11em;
                            color: #0476e0;
                            @media screen and (max-width: 767px) {
                                font-size: 1.3rem;
                            }
                        }

                        .faq-q-mark {
                            position: relative;
                            flex: 0 0 auto;
                            width: 2.5rem;
                            height: 2.5rem;

                            @media screen and (max-width: 767px) {
                                width: 1.4rem;
                                height: 1.4rem;
                            }

                            &::before,
                            &::after {
                                content: "";
                                position: absolute;
                                top: 50%;
                                left: 0;
                                width: 100%;
                                height: 3.3px;
                                background: #9bb8d0;
                                transform: translateY(-50%);
                            }

                            &::after {
                                transform: translateY(-50%) rotate(90deg);
                                transition: transform 0.3s ease;
                            }
                        }

                        &[aria-expanded="true"] {
                            .faq-q-mark::after {
                                transform: translateY(-50%) rotate(0deg);
                            }
                        }
                    }

                    .faq-a {
                        display: none;
                        padding: 0 3.2rem 2.8rem 9.2rem;

                        @media screen and (max-width: 767px) {
                            padding: 0 1.6rem 1.6rem 5.8rem;
                        }

                        & p {
                            font-style: normal;
                            font-weight: 400;
                            font-size: 1.8rem;
                            line-height: 2;
                            letter-spacing: 0.04em;
                            color: #000000;
                            margin: 0;

                            @media screen and (max-width: 767px) {
                                font-size: 1.3rem;
                            }
                        }
                    }
                }
            }
        }
    }
}

#internship #internship-entry {
    margin-top: 12rem;

    @media screen and (max-width: 767px) {
        margin-top: 6rem;
    }

    .internship-section-title {
        font-family: "Noto Sans JP", sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 3.6rem;
        line-height: 1.4;
        text-align: center;
        letter-spacing: 0.08em;
        color: #1d1d1d;
        margin: 0 0 6rem;

        @media screen and (max-width: 767px) {
            font-size: 2.2rem;
            letter-spacing: 0.06em;
            margin-bottom: 3.2rem;
        }
    }

    .internship-google-form {
        width: 100%;
        max-width: 100rem;
        margin: 0 auto;

        @media screen and (max-width: 767px) {
            /* Edge-to-edge — form sits outside .inner */
            width: 100%;
            max-width: none;
            margin: 0;
        }

        & iframe {
            display: block;
            width: 100%;
            height: 260rem;
            border: 0;
            margin: 0;
            background: transparent;
        }
    }
}
