@charset "utf-8";

/* コンテナ: 背景画像とテキストの親要素 */
.siteface-container {
    position: relative;
    height: 100vh;
}

/* 背景画像（UCB, UCLA, UCSD）のループ */
main .siteface {
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: slideShow 25s forwards;
    /* 20秒で3枚の画像を表示 */
    z-index: 1;
    /* 背景のz-indexを1に設定 */
}

/* 背景画像の切り替えアニメーション */
@keyframes slideShow {

    /* UCB */
    0% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucb_sathergate.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    24.9999% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucb_sathergate.jpg");
        background-size: auto 130%;
        opacity: 1;
    }

    /* UCLA */
    25% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucla_building.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    27% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucla_building.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    54.9999% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucla_building.jpg");
        background-size: auto 130%;
        opacity: 1;
    }

    /* UCSD */
    55% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucsd_library.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    57% {
        background-image:
            linear-gradient(140deg,
                #d9e5f888,
                #5b88d188 40%,
                #2d4c7c99 60%,
                #04102499),
            url("../../images/img-home/ucsd_library.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    84.9999% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucsd_library.jpg");
        background-size: auto 130%;
        opacity: 1;
    }

    /* UCBの画像で停止 */
    85% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucb_sathergate.jpg");
        background-size: auto 100%;
        opacity: 1;
    }

    100% {
        background-image:
            linear-gradient(140deg,
                #d9e5f877,
                #5b88d177 40%,
                #2d4c7c88 60%,
                #04102488),
            url("../../images/img-home/ucb_sathergate.jpg");
        background-size: auto 110%;
        opacity: 1;
    }
}

main .siteface {
    width: 100%;
    height: 100vh;
    padding: 20px;

    display: flex;
    align-items: center;
    text-align: center;
}

/* 文字コンテンツ */
.siteface_content {
    position: relative;
    z-index: 3;

    padding: 70px 20px 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(166 166 214 / 0.2);
    padding: 20px 20px 100px;

    display: flex;
    justify-content: space-evenly;
}

.siteface_content .logo_catchcopy {
    width: 45vw;
    margin-bottom: 30px;

    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

main .siteface_content a img {
    width: 30vw;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(1px 1px 5px #acabab);
}

main .siteface_content h1 {
    margin-top: 30px;
    width: 100%;
    font-size: 25px;
    color: #dddddd;
    text-shadow: 1px 1px 5px #9a9a9a;
    text-align: center;
    line-height: 1.5;
}

main .siteface_content .service_redirect {
    width: 55vw;
    margin-bottom: 100px;
    /* border: solid 5px #cf17e4 */
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

main .siteface_content .service_redirect h2 {
    color: #dddddd;
    font-size: 5.5vw;
    text-align: center;
    text-shadow: 1px 1px 5px #cccccc;
    line-height: 1.5;

}

/* main .siteface_content .service_redirect h3 {
    width: 80%;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 200;
    line-height: 1.8;
    color: #eeeeee;
    text-shadow: 1px 1px 3px #333333;
    border: solid 5px #cf17e4;
} */

/* 理念解説と相談申込のボタン */
/* main .siteface_content .service_redirect .button {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

main .siteface_content .service_redirect .button li {
    margin: 10px 2.5vw;
}

main .siteface_content .service_redirect .button li a {
    text-decoration: none;
    background-color: #020d16;
    color: #fff;
    display: block;
    border-radius: 4px;
    width: 200px;
    height: 50px;
    text-align: center;
    font-weight: 200;
    padding-top: 15px;

}

main .siteface_content .service_redirect .button li a:hover {
    opacity: 0.8;
    transition: 0.3s;
} */

/* サービス紹介 */
.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 50px;
    /* border: solid 2px #e41717; */
}

.service .mission_service_container {
    margin: 10px 0;
    max-width: 70vw;
}

.service h2 {
    font-weight: 900;
    font-size: 40px;
    text-align: center;
    color: rgb(12 12 12 / 0.753);
    margin: 20px auto;
}

.service .buchi_service_message {
    margin: 10px 0;
    max-width: 50vw;
}

.service .buchi_service_message h3 {
    font-size: 20px;
    font-weight: 200;
    color: #5b5b5b;
    text-align: start;
    line-height: 2;
    padding: 10px 0;
}

.service .buchi_strength_pr li {
    list-style-type: circle;

    font-size: 20px;
    font-weight: 200;
    line-height: 1.8;
    color: #5b5b5b;

    padding-left: 10px;
}

.service .buchi_service_redirect {
    margin: 30px auto;
}

.service .buchi_service_redirect a {
    font-size: 30px;

    background-color: #020d16;
    color: #fff;
    border-radius: 5px;

    padding: 12.5px 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    /* For animation */
    background-image: linear-gradient(to left, #020d16 50%, #174974 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: 1s;
}

.service .buchi_service_redirect a:hover {
    background-position: left;
}

.service .buchi_service_redirect a {
    text-decoration: none;
}

/* .service .serviceList {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

main .service .serviceList li {
    text-align: center;
    height: 200px;
    width: 300px;
    margin: 3vw;
    color: #000000c7;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0px 0px 8.0px rgb(166 166 214 / 0.781);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main .service .serviceList li h4 a {
    text-decoration: none;
    font-size: 32px;
    line-height: 1.5;
}

main .service .serviceList li:hover {
    opacity: 0.7;
    transition: 0.3s;
} */

main .achivement {
    background-color: rgb(166 166 214 / 0.089);
    padding: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

main .achivement .achivement_title h2 {
    color: #000000c7;
    font-size: 40px;
    font-weight: 650;
}

main .achivement .achivement_title h3 {
    color: #000000c7;
    font-size: 18px;
    font-weight: 200;
    margin-top: 10px;
}

.buchi_support_result_container {
    display: flex;
    flex-direction: column;
    align-items: center;


    gap: 100px;
    margin-top: 30px;
    margin-bottom: 50px;
}

main .buchi_support_result {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

main .buchi_support_result .buchi_support_image {
    width: 35vw;
    height: auto;
}

main .buchi_support_result .buchi_support_result_sentences {
    font-size: 20px;
    width: 35vw;
    height: auto;
    padding: 0 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    line-height: 2;
}

main .buchi_support_result .buchi_support_result_sentences span {
    font-size: 40px;
    font-weight: 500;
}

/* main .achivement ul li {
    font-size: 25px;
    list-style: none;
    margin: 60px 100px;
}

main .achivement li span {
    font-size: 80px;
}

main .achivement li:before {
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: #020d16;
    border-radius: 50%;
} */

main .buchi_support_result_chart h4 {
    font-size: 30px;
    font-weight: bold;
    color: #000000;
    text-align: start;
    line-height: 2;
    padding: 10px 0;
}

main .achivement .admit_major_number {
    width: 80vw;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: start;
}

main .achivement .admit_major_number .admit_by_uc {
    width: 350px;
    margin: 30px 1vw;
}

main .achivement .admit_major_number .admit_by_uc caption {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

main .achivement .admit_major_number .admit_by_uc table {
    letter-spacing: 0.5rem;
}

main .achivement .admit_major_number .admit_by_uc tbody th {
    border-bottom: 2px solid #020d16;
}

main .achivement .admit_major_number .admit_by_uc tbody th {
    font-size: 16px;
    padding: 6px 3px;
}

main .achivement .admit_major_number .admit_by_uc tbody td {
    font-size: 14px;
    padding: 3px;
}

main .achivement .admit_major_number .admit_by_uc tfoot th {
    font-size: 14px;
    padding: 3px;
    text-align: right;
    padding-right: 30px;
}

main .achivement .admit_major_number .admit_by_uc tfoot td {
    font-size: 14px;
    padding: 3px;
    font-weight: 600;
}

main .achivement .additional_info {
    width: 70vw;
    line-height: 1.5;
    font-size: 14px;
    color: #3e3e3e;
}

/* form below is for smartphone */
@media screen and (max-width: 840px) {
    /* Buchi紹介 */
    main .siteface_container {
        position: relative;
        margin-top: 75px;
        width: 100vw;
        height: 80vh;
    }

    main .siteface {
        width: 100%;
        height: 100%;
        padding: 0x;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-image:
            linear-gradient(140deg,
            #d9e5f877,
            #5b88d177 40%,
            #2d4c7c88 60%,
            #04102488),
            url("../../images/img-home/ucb_tower.jpg");
        background-size: 100vw auto;
        opacity: 1;
        animation: none;
    }

    /* 文字コンテンツ */
    .siteface_content {
        position: relative;
        z-index: 3;
        /* テキストのz-indexを2に設定し、背景の上に表示 */
        padding: 20px;
        width: 100%;
        height: 100%;
        background-color: rgb(166 166 214 / 0.2);
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

    .siteface_content .logo_catchcopy {
        width: 90vw;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        margin: 20px auto;
    }

    main .siteface_content .logo_catchcopy img {
        width: 40vw;
        height: auto;
        object-fit: cover;
    }


    main .siteface_content .logo_catchcopy h1 {
        margin-top: 20px;
        width: 90%;
        font-size: 20px;
        color: #dddddd;
        text-shadow: 1px 1px 5px #9a9a9a;
        text-align: center;
        line-height: 1.5;
    }

    main .siteface_content .service_redirect {
        width: 90vw;
        /* border: solid 5px #cf17e4 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px auto;
    }

    main .siteface_content .service_redirect h2 {
        font-size: 25px;
        color: #dddddd;
        text-shadow: 1px 1px 5px #9a9a9a;
        margin-bottom: 20px;
        text-align: center;  
    }

    main .siteface_content .service_redirect h3 {
        width: 90%;
        max-width: 400px;
        margin-bottom: 15px;
        font-size: 13px;
        font-weight: 200;
        line-height: 1.8;
        color: #eeeeee;
        text-shadow: 1px 1px 3px #333333;
        /* border: solid 5px #cf17e4; */
    }

    main .siteface_content .service_redirect .button {
        display: flex;
        flex-direction: column;
        list-style: none;
        flex-wrap: none;
        justify-content: center;
    }

    main .siteface_content .service_redirect .button li {
        margin: 5px auto;
    }

    main .siteface_content .service_redirect .button li a {
        text-decoration: none;
        background-color: #020d16;
        color: #fff;
        display: block;
        border-radius: 4px;
        width: 200px;
        height: 30px;
        text-align: center;
        font-weight: 200;
        font-size: 18px;
        padding-top: 6px;
    }

    main .siteface_content .service_redirect .button li a:hover {
        opacity: 0.8;
        transition: 0.3s;
    }

    /* サービス紹介 */
    .service {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        width: 100%;
        padding: 20px;
    }

    .service .mission_service_container {
        margin: 10px 0;
        max-width: 70vw;
    }

    .service h2 {
        font-weight: 900;
        font-size: 22px;
        text-align: center;
        color: rgb(12 12 12 / 0.753);
        margin: 20px auto;
    }

    .service .buchi_service_message {
        margin: 10px 0;
        max-width: 70vw;
    }

    .service .buchi_service_message h3 {
        font-size: 16px;
        font-weight: 200;
        color: #5b5b5b;
        text-align: start;
        line-height: 2;
        padding: 10px 0;
    }

    .service .buchi_strength_pr li {
        list-style-type: circle;

        font-size: 18px;
        font-weight: 200;
        color: #5b5b5b;
        line-height: 1.8;

        padding-left: 10px;
    }

    .service .buchi_service_redirect {
        margin: 30px auto;
    }

    .service .buchi_service_redirect a {
        font-size: 25px;

        background-color: #020d16;
        color: #fff;
        border-radius: 5px;

        padding: 12.5px 30px;

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;

        position: relative;
        /* For animation */
        background-image: linear-gradient(to left, #020d16 50%, #174974 50%);
        background-size: 200% 100%;
        background-position: right;
        transition: 1s;
    }

    .service .buchi_service_redirect a:hover {
        background-position: left;
    }

    .service .buchi_service_redirect a {
        text-decoration: none;
    }


    /* 実績紹介 */
    main .achivement {
        background-color: rgb(166 166 214 / 0.089);
        padding: 50px 20px;
    
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    main .achivement .achivement_title {
        text-align: center;
    }
    
    main .achivement .achivement_title h2 {
        color: #000000c7;
        font-size: 30px;
        font-weight: 650;
    }
    
    main .achivement .achivement_title h3 {
        color: #000000c7;
        font-size: 16px;
        font-weight: 200;
        margin-top: 10px;
    }
    
    .buchi_support_result_container {
        display: flex;
        flex-direction: column;
        align-items: center;
    
        gap: 50px;
        margin-top: 30px;
        margin-bottom: 50px;
    }
    
    main .buchi_support_result {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 20px;
    }
    
    main .buchi_support_result .buchi_support_image {
        width: 60vw;
        height: auto;
        order: -1; /* 写真を先に来るように */
    }
    
    main .buchi_support_result .buchi_support_result_sentences {
        font-size: 20px;
        width: 70vw;
        height: auto;
        padding: 0;
    
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    
        line-height: 2;
    }
    
    main .buchi_support_result .buchi_support_result_sentences span {
        font-size: 40px;
        font-weight: 500;
    }

    /* 表 */
    main .achivement .admit_major_number {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: start;
        padding: 0 20px 50px;
        width: 90vw;
    }

    main .achivement .admit_major_number .admit_by_uc {
        width: 270px;
        margin: 30px 2vw;
    }

    main .achivement .additional_info {
        margin: 0 40px;
        padding-bottom: 50px;
        line-height: 2;
        font-weight: 16px;
    }

    main .Contact {
        width: 100%;
        height: auto;
        margin: 0px;
    }

    main .Contact h2 {
        font-size: 25px;
        margin: 20px 0px;
        text-align: center;
    }

    main .Contact h3 a {
        width: 80%;
        font-size: 25px;
        margin: 0% 10%;
    }

    .bottom-fixed-menu ul li {
        margin: 20px 5px;
    }
}