@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&family=Zen+Kaku+Gothic+Antique:wght@400;500;700&display=swap');

/*
Syne : 400-800
Zen Kaku Gothic Antique : 400,500,700
*/

:root {
    --color-blue: #004FA3;
    --color-light-blue: #82D4F5;
    --color-text: #333333;

    --font-size-16: calc(16 / 16 * 1rem);
    --font-size-14: calc(14 / 16 * 1rem);

    --font-en: "Syne", sans-serif;
}
#contents{
    font-family: "Roboto","Zen Kaku Gothic Antique", sans-serif;
    font-size: var(--font-size-16);
    font-weight: 400;
    line-height: 1.8;
    text-align: justify;
    color: var(--color-text);
    overflow-x: hidden;
    background: #069dff;
}
#contents a {
    transition: all .2s linear;
    text-decoration: none;
}
#contents a:hover {
    opacity: 0.6;
    text-decoration: none;
}
#contents img{
    width: 100%;
    display: block;
}
#contents .sp {
    display: none !important;
}
@media only screen and (max-width: 767px) {
    #contents {
        font-size: var(--font-size-14);
    }
    #contents .sp {
        display: block !important;
    }
    #contents .pc {
        display: none !important;
    }
}

.bg{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    background: url(../img/bg.webp) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/*main_area---------------------------------*/
#main_area{
    max-width: 500px;
    margin-inline: auto;
}
@media only screen and (max-width: 767px) {
    #main_area {
        max-width: 100%;
    }
}

/*kv---------------------------------*/
.kv h1 img{
    width: 100%;
    display: block;
}

/*cp_area---------------------------------*/
.cp_area{
    padding: 20px 0;
    background: #fff;
    text-align: center;
    font-size: min(4.2vw, 18px);
    font-weight: 800;
} 
.cp_area .read {
    width: 90%;
    margin: 0 auto;
    font-weight: 900;
    font-size: min(5vw, 22px);
    color:#004FA3;
}
.cp_area .read span {
    color: #E60012;
    font-size: min(5.2vw, 26px);
}
.cp_area h3 {
    background: #ff7800;
    color: #fff;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    margin:0 auto 20px;
    padding: 5px 30px;
}
.cp_area .date{
    width: 80%;
    margin: 30px auto;
}
.cp_area .date .chance{
    color:#ff3c00;
    font-size: min(4.8vw, 24px);
}
.cp_area .date ul {
    width: 100%;
    margin: 10px auto 0;
    text-align: left;
}
.cp_area .date ul li{
    border-bottom:1px solid #ff3c00;
    margin-bottom: 10px;
    padding:0 10px 10px;
}
.cp_area .date ul li:first-child{
    border-top:1px solid #ff3c00;
    padding-top: 10px;
}
.cp_area .winners,
.cp_area .howto{
    margin: 50px auto 0;
}
.cp_area .howto .step {
    width: 90%;
    gap: 20px;
    margin: 0 auto;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.cp_area .howto .step li{
    display: flex;
    align-items: center;
    line-height: 1.2;
}
.cp_area .howto .step li .number {
    width: 1.6rem;
    height: 1.6rem;
    border: 2px solid #444;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    margin-right: 10px;
    padding-top: 1.5px;
    line-height: 1;
}
a.btn {
    max-width: 450px;
    width: 100%;
    color: #fff !important;
    border: 2px solid var(--color-blue);
    background: var(--color-blue);
    border-radius: 50px;
    text-align: center;
    font-size: var(--font-size-18);
    font-weight: 700;
    padding: 15px 0;
    display: block;
    position: relative;
    text-decoration: none !important;
    margin: 30px auto;
}
a.btn:before {
    content: '';
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
}
a.btn:after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px var(--color-blue) !important;
    border-right: solid 2px var(--color-blue) !important;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 29px;
    bottom: 0;
    margin: auto;
}
a.btn:hover {
    color: var(--color-blue) !important;
    background: #fff;
    opacity: 1 !important;
}
a.btn:hover:before {
    background: var(--color-blue);
}
a.btn:hover:after {
    border-top: solid 2px #fff !important;
    border-right: solid 2px #fff !important;
}
/*rules---------------------------------*/
#rules{
    margin: 80px auto 50px;
}
#rules h3{
    background: none;
    color: #444;
    padding: 0;
    margin: 0;
}
#rules .box {
    max-width: 800px;
    width: 90%;
    overflow-y: scroll;
    padding: 0 20px 20px;
    text-align: left;
    height: 350px;
    background: #fff;
    border: 1px solid #009fe8;
    border-radius: 10px;
    margin: 10px auto 0;
    overflow-wrap: break-word;
    word-break: break-word;
    font-weight: normal;
    font-size: 0.9rem;
    box-sizing: border-box;
}
#rules .box li {
    margin: 30px 0 0 0;
    line-height: 1.6;
}
#rules .box a,
#rules .box .title,
#rules .box p {
    font-weight: normal;
    line-height: 150%;
    margin: 5px 0 0 0;
}
#rules .box a {
    color: #c83c5f;
}
#rules .box .title {
    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;
}