@media screen and (min-width: 1025px) {

    html {
        min-width: 961px;
    }

    body {
        min-width: 961px;
    }

    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    /* sp */

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }


    html,
    body {
        min-width: 100%;
    }

    * {
        box-sizing: border-box;
        -ms-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    /*
    .index-main {
        background: url(../images/title_sp.png) no-repeat top center / cover;
        height: 153vw;
        margin-bottom: 0;
    }
*/


    /*----------------------------header----------------------------------*/

    .hd_logo {
        padding: 12px 3%;
        min-width: inherit;
        position: static;
        top: 0;
        left: 0;
        z-index: 999;
        display: block;
    }

    .hd_logo img {
        width: 217px;
        margin-right: 40px;
        margin: 0.67em 0;
    }

    .hd_logo p {
        font-family: 'Noto Serif CJK Regular', serif;
        font-size: 10px;
        letter-spacing: 0.12em;
        color: #1e1e1e;
        font-weight: 500;
        right: 0;
    }

    .hd_logo p span {
        color: #989898;
        font-size: 11px;
        font-family: 'Cormorant', serif;
        font-weight: 200;
        letter-spacing: 0.04em;
        margin-right: 10px;
        vertical-align: middle;
    }

    /*----------------------------見学ボタン----------------------------------*/
    .anchor {
        bottom: 30px;
        left: calc(50% - 460px/2);
        margin: 0;
        position: relative;
        z-index: 30;
    }

    .anchor img {
        width: 70%;
    }

    /*----------------------------TOPへ戻るボタン----------------------------------*/

    #page-top {
        bottom: 37px;
        right: -10px;
    }

    #page-top img {
        width: 50%;
    }


    /*----------------------------SP_body----------------------------------*/


    .kobaton__subtitle img {
        width: 50%;
        margin-bottom: 20px;
    }

.kobaton__subtitle2 img {
        width: 90%;
        margin-bottom: 20px;
    }

    .kobaton__contest {
        margin-top: 50px;
        padding: 30px 0 30px;
    }

    .kobaton__contest--txt {
        padding: 20px 0;
        width: 90%;
       margin: 30px auto 0;
    }


    .kobaton__contest--txt p {
        width: 90%;
        color: #B7156C;
        font-size: 1.3em;
        line-height: 1.7em;
        text-align: justify;
        text-align-last: left;
        letter-spacing: 0.02em;
        margin: 0 auto;
    }
    
       .kobaton__contest--archive a{ 
    font-size: 13px;
}


.kobaton__contest--contact p{
	display: block;
}


.kobaton__contest--contact p:first-child {
	width:200px;
	margin: 0 auto;
	padding:0.2em 0.5em;
}

.kobaton__contest--contact p:nth-child(2) {
    font-size: 12px;
    text-align: center;
    margin:10px 0;
}

.kobaton__contest--contact p:nth-child(2) a{
	color:#000;
   text-decoration: none;
   border-bottom: 1px solid #000;
}
    

    .kobaton__contest--about div{
    display: block;
}

.kobaton__contest--about div:first-child{
    font-size: 13px;
    line-height: 20px;
    text-align: justify;
    text-align-last: left;
    width: 90%;
    margin: 0 auto;
}

.kobaton__contest--about div:nth-child(2){
    width: 80%;
    margin: 30px auto;
}

.kobaton__contest--about div:nth-child(2) img{
    width: 100%;
}


    .kobaton__detail {

        margin: 50px auto;
    }

    .kobaton__detail--box {
        padding: 0;
        width: 100%;
        border: 0;
        border-radius: 0;
    }

    .kobaton__detail--txt {
        margin: 2% auto 5%;
        text-align: left;
    }

    .kobaton__detail--txt p {
        display: block;
    }

    .kobaton__detail--txt p:first-child {
        color: #fff;
        font-size: 1.4em;
        width: 90%;
        margin: 0 auto;
    }

    .kobaton__detail--txt p:nth-child(2) {
        font-size: 1.3em;
        text-align: justify;
        text-align-last: left;
        width: 88%;
        margin: 2% auto 5%;
    }

    .kobaton__detail--txt2 {
        width: 90%;
        margin: 10% auto 0;
    }


    .kobaton__flow p {
        font-size: 1.3em;
    }


    .kobaton__flow--number > div {
        display: block;
    }


    .kobaton__flow--number > div:nth-child(odd) {
        width: 90%;
        margin: 3% auto;
    }

    .kobaton__flow--number > div:nth-child(odd) img {
        width: 40%;
        margin-bottom: 4%;
    }

    .kobaton__flow--number > div:nth-child(even) {
        margin: 10% 0;
    }

    .kobaton__flow--number > div:nth-child(even) img {
        width: 10%;
        margin: 0 auto;
    }

    .kobaton__flow--back > div:nth-child(2) {
        margin-bottom: 10%;
    }

    .kobaton__flow--back > div:nth-child(3) {
        width: 70%;
        margin: 0 auto;
    }

    .kobaton__flow--back > div:nth-child(3) img {
        margin-bottom: 10%;
        width: 90%;
    }

    .kobaton__flow--back > div:nth-child(4) {
        margin-top: 0;
    }

    .kobaton__flow--back > div:nth-child(4) img {
        width: 80%;
    }

    .kobaton__judge {
        width: 100%;
        margin: 50px auto;
    }

    .kobaton__judge--member div {
	    display: block;
        width: 90%;
        margin: 4% auto;
    }

    .kobaton__judge--member div img {
        width: 80%;
    }


    .kobaton__judge--member div p:nth-child(2) {
        font-size: 1.8em;
    }

 .kobaton__judge--member div p span{
        font-size: 14px;
    }

    .kobaton__judge--member div p:nth-child(3) {
        font-size: 1.1em;

    }
.kobaton__judge--comment {
    padding:50px 0;
/*     margin-top: 50px; */
}
    .kobaton__judge--comment div {
        display: inline-block;
        margin-top: 20px;
    }

    .kobaton__judge--comment img {
        width: 100%;
    }

    .kobaton__judge--comment div:nth-child(2) {
        max-width: 65%;
        font-size: 1.2em;
        margin: 1.5em 2%;
    }

    .kobaton__judge--comment div:nth-child(3) {
        width: 25%;
    }

    .kobaton__remarks {
        padding: 50px 0 55px;
    }

    .kobaton__remarks--about {
        font-size: 1.3em;
        margin: 0 0 20px 10%;
    }


    .kobaton__remarks--txt {
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .kobaton__remarks--box {
        max-width: 90%;
        margin: 30px auto;
        text-align: left;
    }

    .kobaton__remarks--box p  {
        font-size: 1.2em;
        width:90%;
        margin: 0 auto;
        text-align: justify;
        text-align-last:left;
    }


    .kobaton__line {
        max-width: 100%;
    }

.kobaton__attention {
	margin: 30px auto;
	max-width:90%;
}

.kobaton__attention-pink {
	    color: #F85071;
    font-size: 16px;
    line-height: 23px;
    text-align:center;
    margin-bottom: 10px;
}

.kobaton__attention-txt {
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    text-align-last:left;
}

    /*==========================================================================*/
    /*                              Footer                                      */
    /*==========================================================================*/


    #page-top {
        bottom: 130px;
        right: 10px;
    }
}



@media screen and (max-width: 640px) {

    p {
        line-height: 1.7em;
        padding: 0;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }


    /*----------------------------見学ボタン----------------------------------*/
    .anchor img {
        width: 70%;
    }

    /*----------------------------TOPへ戻るボタン----------------------------------*/

    #page-top {
        bottom: 37px;
        right: -10px;
    }

    #page-top img {
        width: 50%;
    }



    .anchor {
        bottom: 30px;
        left: calc(50% - 415px/2);
        margin: 0;
        position: fixed;
        z-index: 30;
    }
}

@media screen and (max-width: 400px) {



    .anchor {
        bottom: 30px;
        left: calc(50% - 370px/2);
        margin: 0;
        position: fixed;
        z-index: 30;
    }
}

@media screen and (max-width: 365px) {}


@media screen and (max-width: 350px) {




    .anchor {
        bottom: 30px;
        left: calc(50% - 319px/2);
        margin: 0;
        position: fixed;
        z-index: 30;
    }
}
