* {
    color: #222222;
    padding: 0;
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow: hidden-x;
}

p,
li.div,
a.img {
    margin: 0;
    padding: 0;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
}

body {
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 110%;
}


header {
    height: 65px;
    width: 100svw;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 99999999;



    img {
        max-height: 50px;
    }

    div:nth-child(1) {
        justify-self: start;
    }

    div:nth-child(2) {
        justify-self: end;
        padding-right: 10px;
    }
}

@media screen and (max-width:600px) {
    header {

        height: 50px;

        img {
            max-height: 35px;
        }

        div:nth-child(2) {
            padding-right: 30px;
        }

        h1 {
            margin-top: 6px;
        }

    }
}


section#top {
    margin: 0 auto 0 auto;
    display: block;
}

#top .container {
    max-width: 880px;
    width: 100%;
    margin: 0 auto 0 auto;
}

#top img {
    max-width: 100%;
    width: 100%;
}


footer {
    background-color: #e6e6e6;
    width: 100%;
    height: 95px;
    position: fixed;
    bottom: 0;
    margin: 0 auto 0 auto;

    .container {
        max-width: 550px;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr 0.73fr;
        margin: -2px auto 0 auto;
        justify-content: center;
        align-items: center;
        height: 108px;
    }

    img {
        height: 73px;
        width: 100%;
    }

    div:nth-child(1) {
        justify-self: end;
        padding-right: 10px;
    }

    div:nth-child(2) {
        justify-self: start;
        padding-left: 10px;
    }
}


@media screen and (max-width:500px) {

    footer {
        height: 80px;

        img {
            width: 100%;
            height: 65px;
        }

        .container {
            height: 90px;
        }
    }
}

.secbg {
    background-color: #ffffff;
}


.mainsec {
    max-width: 880px;
    margin: 0 auto 0 auto;
    width: 100%;

    background-color: #cfb0d2;

    img {
        max-width: 100%;
    }
}

.inner {
    margin-top: 0px;
    background-color: #cfb0d2;
    padding: 25px;
}

.inner h1 {
    background-image: url(../img/hdsvg.svg);
    background-repeat: no-repeat;
    width: 300px;
    text-align: center;
    font-size: 120%;
    color: #fff;
    background-position: 50% 50%;
    font-weight: 500;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.contentssec {
    background-image: linear-gradient(180deg, rgba(255, 241, 230, 1) 90%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    margin-top: -1px;

    .container {
        max-width: 600px;
        width: 100%;
        margin: 0 auto 0 auto;
    }

    img {
        max-width: 100%;
    }
}


.contentssecbefore {
    background-image: url(../images/wave.svg);
    background-repeat: repeat-x;
    height: 20px;
    background-position: 0% 100%;

}

.sechd {
    margin-top: 0px;
}



.msec1 {
    margin-top: -15px;
}

.mseci1 {
    position: relative;
    height: 582px;

    div:nth-child(1) {
        position: absolute;
        top: 0;
        left: 0;
    }

    div:nth-child(2) {
        position: absolute;
        top: 77%;
    }
}

@media screen and (max-width:600px) {
    .mseci1 {
        height: calc(600px - (600px - 100svw) *1.05);


        div:nth-child(2) {

            top: 77%;
        }
    }
}


.msec2 {
    margin-top: -13px;
}

.mseci2 {
    position: relative;
    height: 582px;

    div:nth-child(1) {
        position: absolute;
        top: 0;
        left: 0;
    }

    div:nth-child(2) {
        position: absolute;
        top: 73%;
    }
}

@media screen and (max-width:600px) {
    .mseci2 {
        height: calc(600px - (600px - 100svw) *1.05);
    }
}


.msec3 {
    margin-top: -3px;
    margin-bottom: 30px;
}

.mseci3 {
    position: relative;
    height: 582px;

    div:nth-child(1) {
        position: absolute;
        top: 0;
        left: 0;
    }

    div:nth-child(2) {
        position: absolute;
        top: 81%;
    }
}

@media screen and (max-width:600px) {
    .mseci3 {
        height: calc(600px - (600px - 100svw) *1.05);

        div:nth-child(2) {
            position: absolute;
            top: 82%;
        }
    }
}


.contentsfsec {
    background-color: #ffffff;
    width: 100%;
    margin-top: -1px;

    .container {
        max-width: 600px;
        width: 100%;
        margin: 0 auto 0 auto;
    }

    img {
        max-width: 100%;
    }
}

.contentsftsec {
    background-color: #ffffff;

    width: 100%;
    margin-top: -1px;

    .container {
        max-width: 880px;
        width: 100%;
        margin: 0 auto 0 auto;
    }

    img {
        max-width: 100%;
    }
}

.footerbg {
    background-color: #af74ae;
}

.footerbg .msec1 {
    text-align: center;
    padding-top: 30px;


}

.footerbg img {
    max-width: 400px !important;
    width: 70%;
}


@media screen and (max-width:600px) {
    .mainsec {}
}




#cboxOverlay {
    background: #000;
}

#cboxLoadedContent {
    background: #fff;
}

#cboxLoadedContent {
    padding: 0;
    overflow: auto;
    -moz-box-shadow: 0px 1px 10px #000000;
    -webkit-box-shadow: 0px 1px 10px #000000;
    box-shadow: 0px 1px 10px #000000;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose,
#cboxTitle {
    top: -30px;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
    overflow: visible;
}

#cboxTitle {
    color: #fff;
}

#inline-content {
    /* インラインを使用する時のみ */
    margin: 20px;
}

#ajax-wrap {
    /* ajaxを使用する時のみ */
    margin: 20px;
}

.ftcom {
    text-align: center;
    padding-bottom: 50px;
    color: #333;

    div:nth-child(1) {
        padding-bottom: 5px;
        padding-top: 20px;

    }

    div:nth-child(2) {
        font-weight: 600;
        font-size: 130%;
    }

    div:nth-child(3) {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 90%;
    }



    a {
        text-decoration: none;

    }
}


@media screen and (max-width:600px) {
    .ftcom {

        font-size: 80%;
        padding-bottom: 30px;

        div:nth-child(4) {
            font-size: 80%;
        }
    }
}

.maxfreeimg {
    max-width: 330px !important;
    width: 80%;
}

.maxcorpkimg {
    max-width: 180px !important;
    width: 60%;
}


@media screen and (max-width:500px) {
    .maxcorpkimg {

        width: 37%;
    }

    .maxfreeimg {

        width: 65%;
    }


}


.innerbox {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    font-weight: 600;
}

.center-text {
    text-align: center;
}

.atte {
    font-weight: 500;
    font-size: 77%;
    padding-bottom: 30px;
    margin-right: auto;
    margin-right: auto;

}


.touzitsu h2 {

    color: #000;
    margin-bottom: 10px;
    margin-top: 30px;
}

.touzitsu h2 span {
    background-color: #fff;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border: 2px solid #000;
    font-size: 70%;
}

li::marker {

    font-size: 70%;
}

ul {
    padding-left: 20px;

}

.atte ul {
    font-size: 80%;
    padding-bottom: 30px;
 
}


.atte li::marker {

    font-size: 60%;
}




.innerboxnest {
    width: 270px;
    margin-right: auto;
    margin-left: auto;
    font-weight: 600 !important;
}

.innerborder {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #000;
    padding: 5px;
}

.inneratte {
    font-size: 70%;
}

.xs-visible {
    display: none;
}

.innerwh {
    background-color: #ffffff;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    padding-bottom: 5px;
}

.doublegrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.singlegrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
}

.innerwh h2 {
    font-size: 120%;
    margin-bottom: 0px;
    color: #fff;
    font-weight: 500;

    margin-right: auto;
    margin-left: auto;
}

.h2_p1 {
    background-color: #003b82;
    padding: 3px;
    width: 90%;
}

.h2_p2 {
    background-color: #00215b;
    padding: 3px;
    width: 90%;
}

.h2_p3 {
    background-color: #000025;
    padding: 3px;
    width: 60%;
    max-width: 200px;
    
}

.h2_p4 {
    background-color: #990040;
    padding: 3px;
    width: 60%;
        max-width: 200px;
}

.hrpt {
    margin-top: 3px;
    margin-bottom: 10px;
}

.timedata {
    font-size: 130%;
    font-weight: 600;
    margin-bottom: 5px;
}

@media screen and (max-width:600px) {


    .atte {
        font-size: 77%;
    }

    .inner h1 {
        width: 260px;
    }

    .touzitsu {
        font-size: 80%;
    }

    .xs-hidden {
        display: none;
    }

    .innerborder {
        font-size: 80%;
    }

    .xs-visible {
        display: block;
    }

    .innerwh {
        font-size: 65%;
    }
}