/*
Wordpress 
__________________________*/

/*__ BOCK EDITOR__*/
.sgl-cts > * {
  margin-block-start: 2rem;
  margin-block-end: 0;
}

/*useragent, reset.cssの上書き*/
.sgl-cts .alignright{ float: right; margin-left: 1em; }
.sgl-cts .alignleft{ float: left; margin-right: 1em; }
.sgl-cts .aligncenter{ clear: both; margin-right: auto; margin-left: auto; }
.sgl-cts .wp-block-heading{ font-weight: bold; margin-top: 3em; }
.sgl-cts .wp-block-heading:first-child{ margin-top: 0; }
.sgl-cts h1 { font-size: 2em; }
.sgl-cts h2.wp-block-heading { padding-left: .5em;border-left: solid 5px #e60012;font-size: 2.8rem;font-weight: bold;margin-bottom: 20px;margin-top: 0;}
.sgl-cts h3.wp-block-heading {margin-top: 0; border-bottom: solid 2px #e60012;padding-bottom: .25em;font-size: 2.4rem;font-weight: bold;margin-bottom: 20px;}
.sgl-cts h4,.sgl-cts h5,.sgl-cts h6 {font-size: 1em; }

.sgl-cts p { margin: 0;padding: 0; line-height: 2; font-size: 1.8rem;  margin-bottom: 50px;}

#sgl-cts p.has-regular-font-size { font-size: 1em; }
#sgl-cts p.has-larger-font-size { font-size: 2.625em; }
.sgl-cts a{ color:#0000EE; text-decoration: underline; }
.sgl-cts strong,.sgl-cts b{ font-weight: bold; }
.sgl-cts blockquote, .sgl-cts q{ quotes: unset; }
.sgl-cts mark { background-color: #FEFF00;color: inherit;font-style: inherit;font-weight: inherit; }


.sgl-cts .wp-block-image{ margin-bottom: 100px;}
.sgl-cts .wp-block-image img{ width: auto; }

#sgl-cts .wp-block-gallery .blocks-gallery-item{ margin: 0; }

.sgl-cts ul{ font-size: 1.8rem;margin-bottom: 50px;}
.sgl-cts ul li{padding-left: 1.5em;text-indent: -1.5em;margin-bottom: 10px;}
.sgl-cts ul li:before{content: "●"; color: #e60012; margin-right: .5em;}
.sgl-cts ol{ list-style: decimal; list-style-position: inside; }

.sgl-cts .wp-block-button__link{ color: #fff; text-decoration: none }
.sgl-cts .wp-block-button.is-style-squared .wp-block-button__link{ border-radius: 0; }
.sgl-cts .wp-block-file__button { color: #fff; text-decoration: none; padding: .3em .5em; }

/*追加設定*/
.sgl-cts:after{content: ""; clear: both; }
.sgl-cts hr, .sgl-cts .wp-block-heading{ clear: both; }
.sgl-cts img{ width: auto;}
.sgl-cts .single-tn{ margin-bottom: 3em; text-align: center;}

.wp-block-table{ width: 100%; margin-bottom: 50px;}
.wp-block-table th {
    padding: 1em!important;
    background: #e60012;
    color: #fff;
    border: solid 1px #e3e3e3!important;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
}
.wp-block-table  td {
    padding: 1em!important;
    line-height: 1.5;
    border: solid 1px #e3e3e3!important;
}
.wp-block-table thead{border: none!important;}

.img-area {display: grid;column-gap:1rem; grid-template-columns: 1fr 1fr 1fr;}

#ez-toc-container{padding: 30px 5%;background: #f9f9f9;margin-bottom: 50px;}
#ez-toc-container .ez-toc-title {color: #e60012;font-size: 2.4rem;font-weight: bold;line-height: 2;margin: 0;}
#ez-toc-container ul{margin: 0;}
#ez-toc-container ul li{margin: 0;}
#ez-toc-container ul li a{color: #222; ine-height: 2; padding-left: .5em; text-indent: -.5em; text-decoration: none;}
#ez-toc-container ul li:before {content: "・";margin-right: 0;color: #222;}


@media screen and (max-width: 1024px) {
  .sgl-cts p { font-size: 1.4rem; margin-bottom: 40px;}
  .sgl-cts .wp-block-image{ margin-bottom: 70px;}
  .sgl-cts h2.wp-block-heading { font-size: 2rem; margin-bottom: 15px;}
  .sgl-cts h3.wp-block-heading { font-size: 2rem; margin-bottom: 15px;}
  
  .sgl-cts ul{ font-size: 1.4rem;margin-bottom: 40px;}
}

@media screen and (max-width: 767px) {
  .sgl-cts p {font-size: 1.4rem; margin-bottom: 30px;}
  .sgl-cts .wp-block-image{ margin-bottom: 50px;}
  .sgl-cts h2.wp-block-heading {font-size: 1.6rem; margin-bottom: 10px;}
  .sgl-cts h3.wp-block-heading {font-size: 1.6rem; margin-bottom: 10px;}
  
  .sgl-cts ul{ font-size: 1.4rem;margin-bottom: 30px;}
}


/*__Contact Form 7__*/
.wpcf7-mail-sent-ok {display: none!important;}
.wpcf7-spinner{display: none!important;}
.wpcf7-spinner{position: absolute!important; top: 50%;}
.wpcf7-form input[type="checkbox"] {width: 1em!important; margin-left:0.1em!important; margin-right: 0.1em!important;}
.wpcf7-form input[type="radio"] {width: 0!important;margin: 0!important;}
.wpcf7-list-item{display: inline-block!important;margin-left: 0em!important;margin-right: 0em!important;}
.wpcf7-list-item-label::before {content: ""; margin-right: 0.2em;}
.wpcf7-list-item-label::after {content: ""; margin-right: 1em;}

.wpcf7-form .tel_area .wpcf7-not-valid-tip{ text-align: left;line-height: 1;position: absolute;left: 0;margin-top: 0.2em; }

.wpcf7-form td.tel_area:has(.wpcf7-not-valid-tip){padding-bottom: 2em!important;}
.wpcf7-form.invalid .wpcf7-acceptance + .wpcf7-not-valid-tip{ white-space: nowrap;}

.form-link a:after{content: ""; background: url(../img/cmn/form_privacy_ico.png) no-repeat;width: 17px; height: 16px; background-size: contain;display: inline-block; margin: 0 5px; vertical-align: middle;}

.wpcf7-form-control-wrap {width: 100%;}
.wpcf7-form-control-wrap span{line-height: 1;}
.wpcf7-list-item-label{letter-spacing: 0;}



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

