/* pre_inside.css */

.head-section {
    position: relative;
    color: #fff;
    background-color: #0d539b;
    .parallax {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
        z-index: 0;
        .image {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            z-index: 1;
            background-position: 50% 0;
            background-image: url(https://www.kanazawa-it.ac.jp/assets/img/freshers/inside/head_bg.png);
            background-size: 100% auto;
            background-repeat: no-repeat;
            @media (width <= 1267px) {
                background-size: 1267px auto;
            }
            @media (width <= 767px) {
                background-size: 634px auto;
            }
        }
        .filter {
            position: absolute;
            z-index: 2;
            left: 0;
            right: 0;
            bottom: 0;
            height: 200px;
            background-image: linear-gradient(to bottom, rgba(13, 83, 155, 0) 0%, rgba(13, 83, 155, 1) 50%);
        }
    }
    .head {
        position: relative;
        display: flex;
        align-items: center;
        width: fit-content;
        margin: 0 auto;
        padding-top: 57px;
        @media (width <= 767px) {
            padding-top: 55px;
        }
        h1 {
            .head-img {
                width: 631px;
                height: auto;
                @media (width <= 767px) {
                    width: 236px;
                }
            }
        }
    }
    .message {
        position: relative;
        font-size: 17px;
        font-weight: var(--font-weight-medium);
        line-height: 1.9;
        max-width: 730px;
        margin: 0 auto;
        padding-top: 25px;
        padding-bottom: 43px;
        @media (width <= 767px) {
            font-size: 14px;
            margin: 0 16px;
            padding-top: 29px;
            padding-bottom: 10px;
        }
    }
    .bottom {
        position: relative;
        display: flex;
        width: 100%;
        overflow: hidden;
        .spacer {
            flex: 1;
            background-color: #dff2fb;
            @media (width <= 1046px) {
                display: none;
            }
        }
        .bottom-img {
            width: 1046px;
            height: 81px;
            @media (width <= 1046px) {
                object-fit: cover;
                width: 100%;
            }

        }
    }
}


.tab-container {
    ul.tab-list {
        display: flex;
        column-gap: 5px;
        border-bottom: 2px solid #000;
        margin-bottom: 30px;
        width: 100%;
        @media (width <= 767px) {
            column-gap: 4px;
        }
        li {
            position: relative;
            font-size: 20px;
            font-weight: bold;
            border: 2px solid #000;
            color: #fff;
            background-color: #000;
            flex: 1;
            height: 62px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: -2px;
            cursor: pointer;
            @media (width <= 767px) {
                font-size: 14px;
                height: 47px;
            }
            &:first-child {
                margin-left: 25px;
                @media (width <= 767px) {
                    margin-left: 9px;
                }
            }
            &:last-child {
                margin-right: 25px;
                @media (width <= 767px) {
                    margin-right: 9px;
                }
            }
            &.active {
                border-bottom-color: #cae3f6;
                background-color: #cae3f6;
                color: #000;
                cursor: default;
            }
            @media (width >= 768px) {
                &:not(.active):hover {
                    translate: 0 -2px;
                }
            }
        }
    }
    .tab-page {
        display: none;
        .box {
            .inner {
                &::before {
                    background-color: #cae3f6;
                }
                .split-device {
                    display: flex;
                    width: 100%;
                    @media (width <= 767px) {
                        display: block;
                        margin-top: -3px;
                    }
                    .device {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        .device-split-h3 {
                            margin-top: 3px;
                            margin-bottom: 12px;
                            font-size: 20px;
                            font-weight: bold;
                            text-align: center;
                            @media (width <= 767px) {
                                font-size: 19px;
                                margin-top: 0;
                                margin-bottom: 9px;
                            }
                        }
                        .grow {
                            flex: 1;
                        }
                        .store-link {
                            display: block;
                            width: fit-content;
                            margin: 37px auto 15px;
                            @media (width <= 767px) {
                                margin-top: 25px;
                            }
                            img {
                                width: auto;
                                height: 70px;
                                @media (width <= 767px) {
                                    height: 56px;
                                }
                            }
                            @media (width >= 768px) {
                                &:hover {
                                    scale: var(--hover-scale);
                                }
                            }
                        }
                        &:first-child {
                            padding-right: 25px;
                            @media (width <= 767px) {
                                padding-right: 0;
                            }
                        }
                        &:last-child {
                            padding-left: 25px;
                            @media (width <= 767px) {
                                padding-left: 0;
                            }
                        }
                        &.--android {
                            @media (width <= 767px) {
                                margin-top: 16px;
                                margin-bottom: -7px;
                            }
                        }
                    }
                    .hr {
                        position: relative;
                        border: none;
                        height: 2px;
                        margin-left: -15px;
                        margin-right: -15px;
                        margin-top: 12px;
                        background-color: #e3e3e3;
                        &::after {
                            position: absolute;
                            display: block;
                            content: "";
                            height: 2px;
                            width: 7px;
                            background-color: #e3e3e3;
                            border-left: 2px solid #000;
                            top: 0;
                            right: -8px;
                        }
                    }
                    &::before {
                        display: block;
                        content: "";
                        position: absolute;
                        top: 0;
                        left: calc(50% - 1px);
                        width: 2px;
                        bottom: 0;
                        background-color: #e3e3e3;
                    }
                    @media (width <= 767px) {
                        &::before {
                            display: none;
                        }
                    }
                }
            }
        }
        &.active {
            display: block;
        }
        .zoom-download-img {
            margin-top: 31px;
            margin-bottom: 22px;
            width: 100%;
            height: auto;
            @media (width <= 767px) {
                margin-top: 26px;
                margin-bottom: 17px;
            }
        }
        .zoom-question-img {
            margin-bottom: 13px;
            width: 100%;
            height: auto;

        }
        .zoom-question-pc-img {
            margin-bottom: 18px;
            width: 100%;
            height: auto;
        }
    }
}

.--step-up-section {
    padding-top: 39px;
    @media (width <= 767px) {
        padding-top: 14px;
    }
}
.--zoom-section {
    padding-top: 91px;
    @media (width <= 767px) {
        padding-top: 58px;
    }
}
.--zoom-section + .--zoom-section {
    padding-top: 96px;
    @media (width <= 767px) {
        padding-top: 63px;
    }
}

.--split-doc-link {
    margin-top: 32px;
    @media (width <= 767px) {
        margin-top: 23px;
        margin-left: auto;
        margin-right: auto;
    }
}