@charset "UTF-8";
/*TOPページ*/
#carousel {
    width: 100%;
    height: 80vh;
    display: flex;
    overflow: hidden;
}
#carousel li,.slick-track {
    height: 100%;
}
#carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

main > section#linkWrap {
    position: relative;
}
main > section#linkWrap:before {
    content: "";
    width: 100vw;
    height: 100px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    display: block;
    margin-top:-130px;
    left: calc(50vh - 50%);
}
#link {
    background: #ffffffcd;
    margin-top: -100px;
    margin: -100px auto 0;
    max-width: 1280px;
    border-radius: 15px;
    padding: 5em;
    width: 90%;
}
#link ul {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    text-align: center;
    margin-top: 2em;
}
#link ul li {
    width: 30%;
    margin: 2% 1% 0;
}
#link ul li a {
    padding:.7em .8em;
    border: 5px solid #D9D9D9;
    display: block;
    font-weight: bold;
    font-size: 20px;
    border-radius: 35px;
    background: url(../img/common/arrow.svg) no-repeat 10px center;
    transition: .3s all;
}
#link ul li a:hover {
    background: url(../img/common/arrow.svg) no-repeat 16px center;
}
#link ul li a span {
    font-size: 16px;
}
#signup {
    max-width:1120px;
    margin: 0 auto;
    padding: 2em;
    text-align: center;
    background: linear-gradient(180deg,#F9B64A 0%,#FF9D00 100%);
    color: #FFF;
    position: relative;
    width: 90%;
}
#signup h3 {
    font-family: "Zen Maru Gothic", serif;
    font-size: 1.5em;
    margin-bottom: .8em;
}
#signup a {
    color: #FFF !important;
    display: inline-block;
    padding: .5em 1em;
    border: 1px solid #FFF;
    width: 80%;
    max-width: 280px;
    font-size: 1.3em;
    font-weight: bold;
}
#signup:before,
#signup:after {
    content: "";
    width: 50px;
    height: 50px;
    background: #FFF;
    display: block;
    position: absolute;
    left: -25px;
    top: -25px;
    transform: rotate(45deg);
}
#signup:after {
    left: auto;
    top: auto;
    right: -25px;
    bottom: -25px;
}
@media screen and (max-width:1024px){
    #carousel {
        height: 55vh;
    }    
    #link {
        padding: 2em 1em;
    }
    #signup {
        max-width: 720px;
        padding:1.5em;
    }
    #signup h3 {
        margin-bottom: .5em;
        font-size:1.3em;
    }
    #signup a {
        font-size:1.2em;
    }
    #link ul {
        margin-top: 1em;
    }
    #link ul li a {
        padding: .7em .3em .7em 1.2em;
        text-align: center;
    }
}
@media screen and (max-width:480px){
    #carousel {
        height: 55vh;
      }
      #link {
        padding: 2em .7em;
        margin-top: -50px;
    }
     #link ul li {
        width: 48%;
    }
      #link ul li a {
        padding: .5em .3em .5em .9em;
        font-size: 18px;
        background: url(../img/common/arrow.svg) no-repeat 10px center;
        background-size:auto 50%;
      }
      #link ul li a:hover {
        background: url(../img/common/arrow.svg) no-repeat 16px center;
        background-size:auto 50%;
    }
    #signup h3 {
        font-size: 1.15em;
    }
}

/*登録ページ*/
#email {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}
#email > p {
    margin-top: 3em;
    text-align: center;
}
#flow ul {
    counter-reset: number 0;
    width: 94%;
    margin: 0 auto;
}
#flow ul li {
    padding-left: 1em;
    position: relative;
    margin-bottom: 1em;
}
#flow ul li:before {
    counter-increment: number 1; /* number カウンタの増加数をセット */
    content: counter(number) ". "; 
    position: absolute;
    left: 0;
}
@media screen and (max-width:480px){
    #email > p {
        text-align: left;
      }
}