@import "globals.css";
@import "common.css";
@import "faq.css";
@import "flow.css";
@import "features.css";
@import "support.css";
@import "apps.css";
@import "live.css";
@import "introduce.css";
@import "footer.css";
@import "about.css";
@import "office.css";

.top {
    position: relative;
}

.header {
    display: flex;
    font-size: var(--fs28);
    height: 80px;
    justify-content: center;
    padding: 20px;
}

.header img {
    display: block;
    height: 40px;
}

.hero {
    margin-left: -18px;
    margin-right: -18px;
    position: relative;
    height: 100vh;
    max-height: 700px;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: auto;
    min-width: 100%;
    min-height: 100%;
    /*z-index: -1;*/
}

.top__title {
    font-size: var(--fs28);
    margin-top: 20px;
    text-align: center;
}

.top__description {
    margin-top: 20px;
    text-align: center;
}

.top__wrapper {
    padding-top: 10px;
    padding-bottom: 20px;
}


.top__button {
    font-family: 'Shippori Mincho', serif;
    background: var(--c-light-pink);
    border: 1px solid var(--c-pink);
    cursor: pointer;
    border-radius: 40px;
    font-size: var(--fs12);
    font-weight: normal;
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 15%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, 0);
    width: 70%;
}

.line_link {
    background: var(--c-green);
    font-weight: bold;
    position: fixed;
    width: 100%;
    bottom: 0;
    right: auto;
    left: 0;
    opacity: 1 !important;
    z-index: 100;
    transition: .3s;
    max-width: 834px;
    border: 2px solid var(--c-white);
    height: 65px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: var(--c-white);
    cursor: pointer;

}

.line_link_text {
    margin-left: 8px;
}

.line_link_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.btnshine {
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    outline: none;
    overflow: hidden;
}

.btnshine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}

.btnshine:hover::before {
    animation: shine 0.7s;
}

.partner {
    background: var(--c-light-pink);
    padding: 60px;
    margin-left: -18px;
    margin-right: -18px;
    text-align: center;
}

.partner_title {

    margin-bottom: 14px;
    color: var(--c-purple);
    font-size: var(--fs20);
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/*下からフェードイン*/
.fade-in-bottom {
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadein-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下からフェードイン */
.fade-in {
    opacity: 0;
    transform: translate(0, 20px);
    transition: all 1s ease-out;
}

.-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ローダーのスタイル */
.loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--c-light-pink);
    z-index: 9999;
}


.bounceball {
    position: relative;
    display: inline-block;
    height: 37px;
    width: 15px;
}

.bounceball:before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: -20px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--c-pink);
    transform-origin: 50%;
    animation: bounce 500ms alternate infinite ease;
}

.wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text {
    color: var(--c-pink);
    ;
    display: inline-block;
    margin-left: 5px;
}

@keyframes bounce {
    0% {
        top: 30px;
        height: 5px;
        border-radius: 60px 60px 20px 20px;
        transform: scaleX(2);
    }

    35% {
        height: 30px;
        border-radius: 50%;
        transform: scaleX(1);
    }

    100% {
        top: 0;
    }
}

/* ローダーの回転アニメーション */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* コンテンツのアニメーション */
.main {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.main.visible {
    opacity: 1;
    transform: translateY(0);
}



/*PCの場合*/
@media screen and (min-width: 834px) {
    .header {
        justify-content: flex-start;
        padding: 20px 0;
    }

    .hero {
        margin-left: 20px;
        margin-right: 0;
        margin-top: 0;
        position: relative;
        height: auto;
        max-height: initial;
        overflow: visible;
        width: 60%;
        padding-right: 24px;
    }

    .hero__image {
        position: static;
        transform: initial;
        height: auto;
        /*/ここ*/
        /*min-width: auto;*/
        min-height: auto;
        max-width: 100%;
    }

    .top {
        display: flex;
        justify-content: center;
        height: 100%;
        margin-right: -52px;
    }

    .top__title {
        font-size: var(--fs40);
        margin-top: 0;
        text-align: start;
    }

    .top__description {
        margin-bottom: 20px;
        text-align: left;
    }

    .top__button {
        position: static;
        transform: initial;
        width: auto;
    }

    .top__wrapper {
        padding-top: 30px;
        min-width: 200px;
        width: 40%;
    }

    .line_link {
        position: fixed;
        right: 0;
        left: initial;
        bottom: 2%;
        z-index: 100;
        max-width: 500px;
        width: calc(100vw / 2);
    }

    .partner {
        margin-left: -52px;
        margin-right: -52px;
    }
}