/*
Wordpress 
__________________________*/

/* single-page*/
.sgl-cts strong{font-weight:bold;}
.sgl-cts cite,.sgl-cts em,.sgl-cts i{font-style:italic;}
.sgl-cts big{font-size:131.25%;}
.sgl-cts ins{background:#ffc;text-decoration:none;}
.sgl-cts blockquote{font-style:italic;padding:0.3em;}
.sgl-cts blockquotecite,.sgl-cts blockquoteem,.sgl-cts blockquotei{font-style:normal;}
.sgl-cts pre{background:#f7f7f7;color:#222;line-height:18px;margin-bottom:18px;overflow:auto;padding:1.5em;}
.sgl-cts abbr,.sgl-cts acronym{border-bottom:1px dotted #666;cursor:help;}
.sgl-cts sup,.sgl-cts sub{height:0;line-height:1;position:relative;vertical-align:baseline;}
.sgl-cts sup{bottom:1ex;}
.sgl-cts sub{top:.5ex;}
.sgl-cts p {display: block;margin-bottom: 50px;}
.sgl-cts table,	.sgl-cts th,	.sgl-cts td{border: 1px solid #000;}
.sgl-cts table{
  display: table;
  border-collapse: separate;
  box-sizing: border-box;
  text-indent: initial;
  border-spacing: 2px;
  border-color: grey;
}

.sgl-cts table th,	.sgl-cts table caption {	border-width: 0 1px 1px 0;	padding: 7px;	text-align: left;	vertical-align: baseline;}
.sgl-cts table td {	border-width: 0 1px 1px 0;	padding: 7px;	vertical-align: baseline;}
.sgl-cts ol{ list-style: decimal outside;}
.sgl-cts ul{list-style: disc outside;}
.sgl-cts li{margin-left: 1em;}

.sgl-cts .wp-block-image{margin-bottom: 50px;}

@media screen and (max-width: 1024px){
  .sgl-cts p,.sgl-cts .wp-block-image{margin-bottom: 30px;}
}

/*useragent reset.cssの上書き*/
.sgl-cts h1 {font-size: 2em;font-weight: bold;}
.sgl-cts h2 {font-size: 1.5em;font-weight: bold;}
.sgl-cts h3 {font-size: 1.17em;font-weight: bold;}
.sgl-cts h4 {font-weight: bold;}
.sgl-cts h5 {font-size: 0.83em;font-weight: bold;}
.sgl-cts h6 {display: block;font-size: 0.67em;font-weight: bold;}


/*投稿画面の表のスタイルを当てる*/
.sgl-cts .wp-block-table thead {border-bottom: 3px solid;}
.sgl-cts .wp-block-table tfoot {border-top: 3px solid;}
.sgl-cts .wp-block-table td,.wp-block-table th {padding: 0.5em;border: 1px solid;word-break: normal;}
.sgl-cts .wp-block-table figcaption {color: #555;font-size: 13px;text-align: center;}
.sgl-cts .wp-block-table td,.wp-block-table th {border: 1px solid;}
.sgl-cts .wp-block-table figcaption {color: #555;font-size: 13px;text-align: center;}
.sgl-cts .is-dark-theme .wp-block-table figcaption {color: hsla(0, 0%, 100%, 0.65);}


/*Contact Form 7*/
.wpcf7-mail-sent-ok {display: none!important;}
.wpcf7-spinner{display: none!important;}
.wpcf7-form input[type="radio"] {width: .5em!important;margin: 0!important;}
.wpcf7-list-item{display: inline-block!important;margin-left: 0em!important;margin-right: 0em!important;margin-bottom: 10px!important;}
.wpcf7-list-item-label::before, .wpcf7-list-item-label::after{display: none;}
.wpcf7-form.invalid .wpcf7-acceptance + .wpcf7-not-valid-tip{ white-space: nowrap;}

@media screen and (max-width: 767px){
  .wpcf7-list-item{
    display: block!important;
    margin-right: 2em;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .wpcf7-list-item-label{line-height: 20px;}
}

/*others*/
.thankspage,.page404{text-align: center;padding: 100px 0;}
.post_none{font-size: 15px; padding-top: 2em; padding-bottom: 2em;}
.post_none2{font-size: 15px; text-align: center; padding: 2em 0;margin-left: auto; margin-right: auto}
img{height:auto;}
.breadcrumb br{display:none;}

/*instagram feed*/

#sb_instagram #sbi_images{
  margin-bottom: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  display: flex;
  display: -webkit-flex;
  display: -ms-flex;
}

#sb_instagram #sbi_images .sbi_item{   
  width: 23%;
  margin: 0 0 25px!important;
  max-width: 230px;
}

#sb_instagram .sbi_type_carousel .fa-clone{width: 1em;}

@media screen and (max-width:767px) {
  #sb_instagram #sbi_images{
    width: 114%;
    margin-left: -6%;
    display: flex;
    justify-content: flex-start;
  }

  #sb_instagram #sbi_images .sbi_item{   
    width: 31.33%!important;
    margin: 0 0 10px!important;
    margin-right: 2%!important;
  }
}

