@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap');

/*共通---------------------------------------------------------------------------------------------------------------*/

#contents{
    font-size: 1rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

#contents a {
    text-decoration: none;
    transition: .3s;
}

#contents a:hover {
    opacity: 0.6;
    text-decoration: none !important;
}

img{
    width: 100%;
}

/*PC---------------------------------*/
#contents .sp {
    display: none !important;
}

#contents .pc {
    display: block ;
}

/*SP---------------------------------*/
@media only screen and (max-width: 767px) {
    #contents .pc {
        display: none !important;
    }

    #contents .sp {
        display: block !important;
    }

    img {
        width: 100%;
        height: auto;
    }

}

/*-------------------h1-------------------*/
h1{
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}


/*-------------------rules-------------------*/
#rules{
    max-width: 1000px;
    width: 90%;
    margin: 50px auto;
}
#rules h2{
   font-size: 2rem;
   font-weight: 700;
   text-align: center;
   background: #016479;
   color:#fff;
   padding:10px 0;
}
#rules .box {
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
    font-weight: normal;
    border:1px solid #016479;
    padding:20px;
}
#rules .box li {
    margin: 30px 0 0 0;
    line-height: 1.6;
}
#rules .box a,
#rules .box h3,
#rules .box p {
    font-weight: normal;
    line-height: 150%;
    margin: 5px 0 0 0;
}
#rules .box a {
    color: #E00251;
}

#rules .box h3 {
    font-weight: bold;
}

#rules .box ul.notes {
    margin: 10px 0 0 0;
}

#rules .box ul.notes li {
    padding-left: 1em;
    text-indent: -1em;
    margin: 5px 0 0 0;
}

#rules .box ul.dotlist>li {
    padding-left: 1em;
    text-indent: -1em;
    margin: 10px 0 0 0;
}

#rules .box ul.steplist>li {
    padding-left: 3.5em;
    text-indent: -3.5em;
    margin: 10px 0 0 0;
}

#rules .box ul.numberlist>li {
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin: 10px 0 0 0;
}

#rules .box ul.double_list li:nth-child(n+10) {
    padding-left: 1.9em;
    text-indent: -1.9em;
    margin-left: -0.6em;
}

@media only screen and (max-width: 767px) {
    #rules {
        margin: 50px auto;
    }
    #rules .box{
        font-size: 0.9rem;
    }
    #rules h2 {
        margin: 0 auto;
    }
    #rules dt {
        width: 20%;
    }
    #rules dd {
        width: 75%;
    }
    #rules dd span {
        font-size: clamp(12px, 3.4vw, 14px);
    }
}

/*-------------------contact-------------------*/

.contact{
    max-width: 1000px;
    width: 90%;
    margin: 50px auto;
    background: #016479;
    color:#fff;
    text-align: center;
    padding:30px 0;
}
.contact h2{
    font-size: 1.4rem;
    margin: 0 0 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact h2:before,
.contact h2:after {
    border-top: 1px solid #fff;
    content: "";
    width: 15%;
}
.contact h2:before {
    margin-right: 10px;
}
.contact h2:after {
    margin-left: 5px;
}
.contact p{
    font-weight: 400;
}
.contact p span{
    font-size:2rem;
    display: block;
    margin: 10px 0;
    font-weight: 600;
}

@media only screen and (max-width: 767px) {
.contact h2{
    font-size: 5vw;
}

.contact p{
    font-size: 0.9rem;
}

.contact p span{
    font-size:8vw;
}
}
