header#header {
    height: 30px;
    margin-bottom: 15px;
    position: relative;
    z-index: 10002;
}

header#header img {
    height: 35px;
    max-width: 200px;
    margin-top: 5px;
    margin-left: 15px;
}

div#pagewrap {
    color: #232256;
}

header#header button#gmenu {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: url(../img/controlicon.png);
    background-size: 840px auto;
    background-position: -105px -35px;
    text-indent: -9999px;
    border: none;
    z-index: 9999999;
}

header#header button#gmenu.selected {
    background-position: -560px 0px;

}

div#menuWrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 100px 30px 0 30px;
    z-index: 300;
    background: #eee;
}

div#menuWrap.selected {
    display: block;
}

ul#spmenuUl li {
    border-bottom: 1px dotted #999;
    padding-bottom: 3px;
    margin-bottom: 6px;
    text-indent: 15px;
}

ul#spmenuUl li a {
    text-decoration: none;
    color: #232256;
    font-weight: bold;
    font-size: 14px;
}

ul#pcmenu {
    display: none;
}

@media only screen and (min-width:801px) {

    header#header {
        height: 60px;
        margin-bottom: 20px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    header#header img {
        height: 50px;
        max-width: 280px;
        margin-top: 10px;
        margin-left: 30px;
    }

    header#header.short {
        height: 40px;
        margin-bottom: 12px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    header#header.short img {
        height: 30px;
        max-width: 260px;
        margin-top: 8px;
        margin-left: 30px;
    }

    header#header button#gmenu {
        /*
        position: absolute;
        top: 10px;
        right: 25px;
        width: 50px;
        height: 50px;
        background-size: 1200px auto;
        background-position: -150px -50px;
*/
        display: none;
    }

    header#header button#gmenu.selected {
        display: none;
    }

    header#header h1 {
        margin-right: 30px;
    }

    ul#pcmenu {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-wrap: nowrap;
        font-size: 14px;
        padding-top: 8px;

    }

    ul#pcmenu li {
        margin-right: 12px;
    }

    ul#pcmenu li a {
        text-decoration: none;
        color: #232256;
    }
}

section#pagecontent {
    padding: 30px;
    margin-bottom: 20px;
}

section#pagecontent h1 {
    text-align: center;
    margin-bottom: 25px;
}

div#pagewrap p {
    font-size: 14px;
    margin-bottom: 25px;
}

div#pagewrap p.coution {
    font-size: 14px;
    margin-bottom: 25px;
    background: #232256;
    color: #fff;
    padding: 10px 20px;
}

/*** qa ***/
.qaq {
    background: #FFE38B;
    padding: 15px 15px;
    position: relative;
    font-size: 12px;
}

.qaq::after {
    content: "Q";
    background: #232256;
    position: absolute;
    top: -10px;
    left: -18px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;

}

.qaa {
    background: #EEEEEF;
    padding: 15px 15px;
    position: relative;
    font-size: 12px;
    margin-bottom: 37px;
}

.qaa::after {
    content: "A";
    background: #5E7AA5;
    position: absolute;
    top: -10px;
    left: -18px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

@media only screen and (min-width:801px) {
    section#pagecontent {
        max-width: 900px;
        margin: 0 auto;
    }

    .qaq,
    .qaa {

        font-size: 14px;
    }

}

a.buttonlike {
    background: #232256;
    padding: 8px 15px;
    display: block;
    margin: 0 auto 50px;
    color: #fff;
    max-width: 140px;
    text-align: center;
    text-decoration: none;
}

/*** delet data wrap ***/
div#checkDelete {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ddd;
    z-index: 25000;
    padding: 15px 15px;
}

div.innerDelete {
    max-width: 800px;
    margin: 30px auto;
}

ul#yesno {
    margin: 50px auto;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

ul#yesno li {
    width: 45%;
    margin-left: 10%;
    background: #232256;
    line-height: 4em;
    text-align: center;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

ul#yesno li:first-child {
    margin-left: 0%;
}

.adsbygoogle {
    background: transparent;
}

div#adMobileBottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;

    z-index: 100;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
}

@media only screen and (min-width:811px) {
    div#adMobileBottom {
        display: none;
    }
}

div#sidePcAd {
    display: none;
    width: 190px;
    height: 600px;
}

@media only screen and (min-width:950px) {
    div#sidePcAd {
        display: block;
    }
}

div#upWrap {
    max-width: 950px;
    display: flex;
    margin: 0 auto;
}

/*　links　*/
ul#myLinks {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

ul#myLinks li {
    width: 50%;
    padding: 5px 10px 30px;
}

ul#myLinks dt {
    font-weight: bold;
    font-size: 12px;
}

ul#myLinks dt a {
    text-decoration: none;
    color: #232256;
}

ul#myLinks dd {
    font-size: 12px;
    padding-top: 5px;
}

@media only screen and (min-width:1100px) {
    ul#myLinks li {
        width: 33%;
        padding: 5px 10px 30px;
    }
}

/*顔サンプルページ*/
ul#htmlResult {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;

    background: #fff;
}

ul#htmlResult li div.facebg {
    display: block;
    width: 100px;
    height: 100px;
    background: url(../img/bg_samplelist.png);

}

div#moblist > ul#htmlResult li div.facebg {
    display: block;
    width: 100px;
    height: 100px;
    background: url(../img/bg_samplelistmob.png);

}

div#htmlResultWrap {
    margin: 5px;
    padding: 20px;
    background: #f00;
}

#pagecontent a {
    color: #2EA7E0;
}

div#noResult {
    display: none;
}

button#reShow {
    display: none;
}
