@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    color: #333;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    letter-spacing: 0.1em;
}

a {
    color: #333;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}


.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.section-title {
    font-size: 2.25rem;
    margin-bottom: 100px;
    text-align: center;
    position: relative;
}


.section-title::after {
    content: "";
    width: 100px;
    height: 3px;
    background-color: #333;
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}


#mainvisual {
    height: 720px;
    position: relative;
    margin-bottom: 120px;
}


#mainvisual .text {
    position: absolute;
    top: 280px;
    left: 10%;
    z-index: 10;
}


#mainvisual .text .title {
    font-size: 2.875rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 4px 6px #fff;
}





#mainvisual .text .btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}


#mainvisual .fade li {
    width: 75%;
    position: absolute;
    top: 0;
    right: 0;
    
    opacity: 0;
    
    animation: fade 15s infinite;
}


#mainvisual .fade li:nth-child(1) {
    animation-delay: 0s;
}


#mainvisual .fade li:nth-child(2) {
    animation-delay: 5s;
}


#mainvisual .fade li:nth-child(3) {
    animation-delay: 10s;
}

#mainvisual .fade li img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}


#mainvisual .fade li::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0px 0px 20px 20px #fff;
}


@keyframes fade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}







#reason .inview-slide-right {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

#voice {
    margin-bottom: 120px;
}

#voice .item-left,
#voice .item-right {
    display: flex;
    align-items: flex-start;
    opacity: 0;
    margin-bottom: 60px;
}

#voice .item-left {
    justify-content: flex-start;
}

#voice .item-left:last-of-type {
    margin-bottom: 0;
}

#voice .item-right {
    justify-content: flex-end;
}

#voice .member img {
    width: 120px;
    background-color: #ccc;
    border-radius: 50%;
    margin-bottom: 10px;
}

#voice .member .name {
    font-size: 0.75rem;
    text-align: center;
}


#voice .item-left .recommend-text,
#voice .item-right .recommend-text {
    width: 60%;
    display: flex;
    justify-content: center;
    background: #e9f1fb;
    border-radius: 15px;
    padding: 50px;
    position: relative;
}

#voice .item-left .recommend-text {
    margin-left: 25px;
}


#voice .item-left .recommend-text::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 0;
    margin-left: -30px;
    border: 15px solid transparent;
    border-right: 15px solid #e9f1fb;
}

#voice .item-right .recommend-text {
    margin-right: 25px;
}


#voice .item-right .recommend-text::before {
    content: "";
    position: absolute;
    top: 60%;
    right: 0;
    margin-right: -30px;
    border: 15px solid transparent;
    border-left: 15px solid #e9f1fb;
}


#voice .balloon {
    animation: balloon 0.5s ease-out 0s 1 forwards;
}


@keyframes balloon {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}







#summary .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#summary .menu li {
    width: 48%;
    background-color: #fff;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 32px;
}


#summary .menu li:nth-child(n + 3) {
    margin-bottom: 0;
}

#summary .menu-title {
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

#summary .menu-title .ja {
    display: block;
    font-size: 1.75rem;
    margin-bottom: 15px;
}

#summary .menu-title .en {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 30px;
}


#wait {
    margin-bottom: 120px;
    text-align: center;
}

#wait .title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

#wait .catchphrase {
    font-size: 1.125rem;
    margin-bottom: 40px;
}

#wait .btn {
    background-color: #ff2a2a;
    border-radius: 40px;
    border: solid 3px #ff2a2a;
    color: #fff;
    font-size: 1.75rem;
    font-weight: bold;
    display: block;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

#wait .btn:hover {
    background-color: #fff;
    border: solid 3px #ff2a2a;
    color: #ff2a2a;
}


#footer {
    background-color: #e8e8e8;
    padding: 60px 0 20px 0;
}


#footer .copyright {
    font-size: 2rem;
    text-align: center;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
    .wrapper {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 60px;
    }

    .section-title::after {
        width: 80px;
    }

   
    
    
    #mainvisual {
        height: 490px;
        margin-bottom: 80px;
    }

    #mainvisual .fade li {
        width: 100%;
    }

    #mainvisual .fade li img {
        height: 300px;
    }

    #mainvisual .text {
       
        width: calc(100% - 32px);
        top: 310px;
        left: 16px;
    }

    #mainvisual .text .title {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    

   
    #reason {
        margin-bottom: 80px;
    }

    #reason .bg {
        padding: 40px 0;
    }

    #reason .slide {
        width: calc(100% - 16px);
    }

    #reason .slide .title {
        font-size: 1.5rem;
    }

    @keyframes slide-left {
        0% {
            transform: translateX(-100%);
        }

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

    @keyframes slide-right {
        0% {
            transform: translateX(100%);
        }

        100% {
            opacity: 1;
            transform: translateX(16px);
        }
    }

    
    #voice {
        margin-bottom: 80px;
    }

    #voice .member {
        text-align: center;
    }

    #voice .item-left,
    #voice .item-right {
        margin-bottom: 40px;
    }

    #voice .item-left {
        flex-direction: column-reverse;
        align-items: center;
    }

    #voice .item-right {
        flex-direction: column;
        align-items: center;
    }

    #voice .item-left .recommend-text,
    #voice .item-right .recommend-text {
        width: 100%;
        margin: 0 0 30px 0;
    }

    
    #voice .item-left .recommend-text::before,
    #voice .item-right .recommend-text::before {
        top: 100%;
        border: 15px solid transparent;
        border-top: 15px solid #e9f1fb;
    }

    #voice .item-left .recommend-text::before {
        margin-left: calc(50% - 15px);
    }

    #voice .item-right .recommend-text::before {
        margin-right: calc(50% - 15px);
    }

    
    #summary {
        margin-bottom: 80px;
    }

    #summary .menu {
        flex-direction: column;
    }

    #summary .menu li {
        width: 100%;
        padding: 30px;
    }

    #summary .menu li:nth-child(3) {
        margin-bottom: 32px;
    }

    #summary .menu-title .ja {
        font-size: 1.5rem;
    }

    #summary .menu-title .en {
        font-size: 1rem;
    }

    
    #wait {
        margin-bottom: 80px;
    }

    #wait .title {
        font-size: 1.5rem;
    }

    #wait .catchphrase {
        font-size: 1rem;
    }

    #wait .btn {
        font-size: 1.5rem;
    }

   
}