@charset "utf-8";

/*SPの設定*/

main {
    margin-top: 87px;
}

section#campaign {
    background-color: #ffda01;
    padding-top: 45px;
    padding-bottom: 40px;
}

section#campaign > div {
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

section#campaign > div > h1 {
    max-width: 952px;
    margin-left: auto;
    margin-right: auto;
}

section#campaign > div > .txt {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    text-align: center;
}

.theme {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

.theme .box {
    background-color: #ffffff;
    border: solid 5px #9eb4dd;
    border-radius: 30px;
    padding-bottom: 40px;
}

.theme .box h2 {
    margin-top: -20px;
    max-width: 300px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.theme .box dl {
    display: flex;
    flex-flow: column;
    gap: 30px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

.theme .box dl > div dt {
    max-width: 180px;
}

.theme .box dl > div dd:first-of-type {
    margin-top: 10px;
    font-size: 1.6rem;
}

.theme .box dl > div dd:last-of-type {
    margin-top: 10px;
    text-align: center;
}

.theme .box dl > div dd + dd {
    margin-top: 25px;
}

.theme .box dl > div dd:last-of-type img {
    border-radius: 20px;
}

.theme .box .img {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.theme .box .img > .img_mds {
    max-width: 609px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.theme .box .img > .img_hit {
    max-width: 549px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.theme .box .img > .img_hit img {
    width: 100%;
}

.theme .box .img > .img_p {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

.theme .box .note {
    display: flex;
    flex-flow: column;
    gap: 10px;
    list-style: none;
    margin: 30px auto 0;
    padding: 0 0 0 1.2em;
    width: 85%;
    font-size: 1.3rem;
    counter-reset: number 0;
}

.theme .box .note > li {
    position: relative;
    padding-left: 1em;
}

.theme .box .note > li::before {
    counter-increment: number 1;
    content: "※" counter(number);
    position: absolute;
    top: 0;
    left: -1.2em;
}

.theme .kikan .mds {
    max-width: 707px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.theme .kikan .bb {
    max-width: 729px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

.theme .box#theme_next {
    border: solid 5px #76c287;
    margin-top: 15%;
}

.theme .box#theme_next h2 {
    margin-top: -25.5px;
    max-width: 270px;
}

.theme .box#theme_next h3 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.theme .box#theme_next h3:first-of-type {
    margin-top: 20px;
}

.theme .box#theme_next .img > .img_hit {
    margin-top: 30px;
}

.theme .box#theme_next .img > .img_hit img {
    width: 100%;
}

#app {
    max-width: 800px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

#app > h2 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app > .txt {
    max-width: 736px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 85%;
}

#app > dl {
    display: flex;
    flex-flow: column;
    gap: 15px;
    margin-top: 40px;
}

#app > dl > div {
    width: 100%;
    border: solid 6px #9eb4dd;
    border-radius: 10px;
}

#app > dl > div > dt {
    margin-left: -1px;
    margin-right: -1px;
    background-color: #9eb4dd;
    text-align: center;
    position: relative;
    margin-top: -5px;
}

#app > dl > div > dt img {
    max-width: 300px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#app > dl > div > dd {
    padding: 7% 5%;
    font-size: 1.6rem;
}

#app > dl > div > dd > div {
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app > dl > div > dd p {
    margin-top: 7%;
}

#app > dl > div > dd p {
    margin-top: 7%;
}

#app #app_image {
    margin-top: 5%;
    display: flex;
    flex-flow: column;
    gap: 20px;
}

#app #app_image > div {
    border: solid 6px #9eb4dd;
    border-radius: 10px;
    padding-bottom: 40px;
}

#app #app_image > div h3 {
    background-color: #9eb4dd;
    margin-right: -1px;
    margin-left: -1px;
    text-align: center;
}

#app #app_image > div h3 img {
    width: 90%;
    max-width: 448px;
    position: relative;
    top: -5px;
}

#app #app_image > div .logo {
    text-align: center;
    padding: 5% 0;
    max-width: fit-content;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#app #app_image > div dl {
    display: flex;
    justify-content: center;
    flex-flow: column;
    gap: 40px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app #app_image > div dl > div {
    width: 100%;
}

#app #app_image > div dl > div > dd:first-of-type {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app #app_image > div:first-of-type dl > div > dd:first-of-type {
    width: 50%;
}

#app #app_image > div dl > div > dt {
    font-size: 1.9rem;
    font-weight: bold;
    margin-top: 25px;
}

#app #app_image > div dl > div > dd:last-of-type {
    font-size: 1.6rem;
    margin-top: 10px;
}

#app #app_image > div .hp {
    max-width: 138px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

#app #app_image > div .app_link {
    display: flex;
    flex-flow: column;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

#app #app_image > div .app_link > a img {
    height: 66px;
}

#app #app_bb {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}





/***********************************************/
@media only screen and (min-width:768px) {
/*PCの設定*/

main {
    margin-top: 151px;
}

section#campaign {
    padding-top: 120px;
    padding-bottom: 8%;
}

section#campaign > div > .txt {
    max-width: 506px;
    margin-top: 5%;
}

.theme {
    margin-top: 8%;
}

.theme .box {
    border: solid 7px #9eb4dd;
    padding-bottom: 7%;
}

.theme .box h2 {
    margin-top: -20px;
    max-width: 512px;
}


.theme .box dl {
    flex-flow: row;
    gap: 4%;
    margin-top: 3%;
    justify-content: center;
}

.theme .box dl > div {
    width: 30.6%;
}

.theme .box dl > div dd:first-of-type {
    margin-top: 3%;
}

.theme .box dl > div dd:last-of-type {
    margin-top: 7%;
}

.theme .box .img > .img_hit {
    margin-top: 10%;
}

.theme .box .img > .img_p {
    margin-top: 5%;
}

.theme .box .img > .img_mds {
    margin-top: 10%;
}

.theme .kikan .mds {
    margin-top: 7%;
}

.theme .kikan .bb {
    margin-top: 4%;
}

.theme .box#theme_next {
    border: solid 7px #76c287;
    margin-top: 15%;
}

.theme .box#theme_next h2 {
    margin-top: -40px;
    max-width: 420px;
}

.theme .box#theme_next h3 {
    margin-top: 7%;
}

.theme .box#theme_next h3:first-of-type {
    margin-top: 6%;
}

.theme .box#theme_next .img > .img_hit {
    margin-top: 5%;
}

.theme .box .note {
    margin: 5% auto 0;
    font-size: 1.4rem;
}


#app {
    margin-top: 8%;
}

#app > h2 {
    width: 100%;
}

#app > .txt {
    margin-top: 5%;
    width: 100%;
}

#app > dl {
    flex-flow: row;
    gap: 5%;
    margin-top: 5%;
}

#app > dl > div > dt img {
    width: 100%;
}

#app > dl > div > dd {
    padding: 20px 5%;
}



#app #app_image > div {
    padding-bottom: 8%;
}

#app #app_image > div dl {
    gap: 5%;
    flex-flow: row;
}
#app #app_image > div:first-of-type dl {
    gap: 8%;
}

#app #app_image > div dl > div {
    width: 50%;
}

#app #app_image > div:first-of-type dl > div {
    width: 35%;
}

#app #app_image > div dl > div > dd:first-of-type {
    width: 100%;
}

#app #app_image > div:first-of-type dl > div > dd:first-of-type {
    width: 78%;
}

#app #app_image > div dl > div > dt {
    margin-top: 10%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app #app_image > div:first-of-type dl > div > dt {
    width: 100%;
}

#app #app_image > div dl > div > dd:last-of-type {
    margin-top: 4%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#app #app_image > div:first-of-type dl > div > dd:last-of-type {
    width: 100%;
}

#app #app_image > div .hp {
    margin-top: 5%;
}

#app #app_image > div .app_link {
    flex-flow: row;
    gap: 5%;
    margin-top: 5%;
}

#app #app_bb {
    margin-top: 9%;
}


main #pagetop {
    padding-top: 5%;
}

}