body {background-color:#ffffff;font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;font-size: 16px;line-height: 1.5;word-wrap:break-word;overflow-wrap:break-word;}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-weight:bold;line-height:1.2;}

.clearfix:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix {display:inline-table;}

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

a {color:#000000;}
a img:hover {filter:alpha(opacity=80);-moz-opacity: 0.8;opacity: 0.8;}
input[type="text"] {padding:10px 5px;box-sizing:border-box;}
input[type="tel"] {padding:10px 5px;box-sizing:border-box;}
input[type="email"] {padding:10px 5px;box-sizing:border-box;}
select {padding:5px;box-sizing:border-box;}
textarea {padding:5px;resize:none;box-sizing:border-box;}
div {box-sizing:border-box;}

.pc {display:block;}
.sp {display:none;}
span.pc {display:inline-block;}
span.sp {display:none;}

.alert-danger {padding:20px;}
    .alert-danger li {display:block !important;color:#ff3333;padding:0 5px 0 20px;width:100% !important;}
    .alert-danger li a {color:#ff0000;}

p {display: block;margin: 1em 0;}
.aligncenter {display: block;margin: 0 auto;}
.alignright { float: right; }
.alignleft { float: left; }
img[class*="wp-image-"], img[class*="attachment-"] {max-width: 100%;height: auto;}
strong { font-weight: bold; }
em { font-style: italic; }
blockquote {display: block;-webkit-margin-before: 1em;-webkit-margin-after: 1em;-webkit-margin-start: 40px;-webkit-margin-end: 40px;}

h1 {text-align:center;padding:20px 0;font-size:32px;line-height:1.5;display:none;}
.gallery {opacity:0;}

#wrap{min-width:300px;width:100%;box-sizing:border-box;position:relative;}

    #wrap #header {width:100%;min-width:300px;}
        #wrap #header #header_contents {width:100%;margin:0 auto;}

    #wrap #main {min-width:300px;}
        #wrap #main #main_contents {width:100%;margin:0 auto;}

    .gallery {display:inline-flex;flex-wrap: wrap;align-items: center;margin:0;padding:0;align-content: space-between;}
        .gallery li {list-style:none;width:11%;font-size:0;line-height:0;overflow: hidden;padding:10px;text-align: center;}
            .gallery li img {max-width:100%;}
            .gallery li a {display: block;border: none;text-decoration: none;}

    #cboxClose {opacity: 0;}

    #wrap #footer {min-width:300px;}
        #wrap #footer #footer_contents {width:100%;margin:0 auto;background-color:#e5eef6;}
        #wrap #footer #copyright {padding:22px 0 16px;text-align:center;}

/* SmatPhones */
@media (max-width: 767px) {
    .pc {display:none;}
    .sp {display:block;}
    span.pc {display:none;}
    span.sp {display:inline-block;}

    #wrap{}
       .gallery li {height:50px;}
}
/* PC */
@media (min-width: 768px) {
    #wrap{}
       .gallery li {height:200px;}
}

/* iPad(横) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    html {font-size:62.5%;}
    body {font-size:10px; font-size:1.0rem;}
}
/* iPad(縦) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    html {font-size:62.5%;}
    body {font-size:10px; font-size:1.0rem;}
}

/* iPhone4,iPhone5,iPhone5sのみ */
@media screen and (min-device-width: 320px) and (max-device-width: 374px) {
    html {font-size:62.5%;}
    body {font-size:28px; font-size:1.0rem;}
}

/* [None Retina iPhone] : iPhone 2G, 3G, 3GS, iPod touch, 2, 3, 4 */
@media only screen and (device-height: 480px) and (-webkit-min-device-pixel-ratio: 1), only screen and (device-width: 480px) and (-webkit-min-device-pixel-ratio: 1) {
    html {font-size:62.5%;}
    body {font-size:28px; font-size:1.0rem;}
}

/* [3inch iPhone and iPod] : iPhone 2G, 3G, 3GS, 4, 4S, iPod touch, 2, 3, 4 */
@media only screen and (device-height: 480px), only screen and (device-width: 480px) {
    html {font-size:62.5%;}
    body {font-size:28px; font-size:1.0rem;}
}

/* [4 inch iPhone and iPod] : iPhone 5, 5s, 5c, iPod touch 5 */
@media only screen and (device-height: 568px), only screen and (device-width: 568px) {
    html {font-size:62.5%;}
    body {font-size:10px; font-size:1.0rem;}
}

/* [Retina iPhone and iPod] : iPhone 4, 4S, 5, 5s, 5c, iPod touch 4, 5 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    html {font-size:62.5%;}
    body {font-size:10px; font-size:1.0rem;}
}

/* iPhone6のみ */
@media screen and (min-device-width : 375px) and (max-device-width : 667px) {
    html {font-size:62.5%;}
    body {font-size:28px; font-size:1.0rem;}
}

/* iPhone6 Plus ~ ちょっと大きいスマホまで */
@media screen and (min-device-width : 414px) and (max-device-width : 736px) {
    html {font-size:62.5%;}
    body {font-size:28px; font-size:1.0rem;}
}

