@charset "UTF-8";
/*
Theme Name: SAKAI Theme
Author: 
Author URI: 
Version: 1.0
*/


/*404ページ*/
.section-notfound {
  line-height: 2;
}

/*お知らせ調整*/
.news-sidebar__item-link.current {
  color: #ffffff!important;
}

.news-sidebar__item-link.current::before {
  transform: scale(1, 1)!important;
  transform-origin: left top!important;
}

/* 投稿エディタ */
.aligncenter {
  display: block!important;
  margin: 0 auto;
  text-align: center;
}
.alignright { float: right; }
.alignleft { float: left; }
img[class*="wp-image-"],
img[class*="attachment-"] {
  height: auto;
  max-width: 100%;
}
img.alignleft {
  margin-right: 25px;
}
img.alignright {
  margin-left: 25px;
}
  @media screen and (max-width: 990px) {
    img.alignleft {
      margin-right: 15px;
    }
    img.alignright {
      margin-left: 15px;
    }
  }

.news-detail__body h1 {
  position: relative;
  padding: 5px;
  font-size: 1.5rem;
  line-height:  1.4;
  font-weight: 600;
  border-bottom: 1px solid #2F468E;
}
.news-detail__body h2 {
  padding: 2px 0 2px 18px;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  border-left: 3px solid #2F468E;
}
.news-detail__body h3 {
  padding: 10px 20px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: #2F468E;
}
.news-detail__body h4 {
  position: relative;
  padding: 0 0 10px 0;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}
.news-detail__body h5 {
  position: relative;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}
.news-detail__body h6 {
  position: relative;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}
  @media screen and (max-width: 990px) {
    .news-detail__body {
      gap: 1.2rem!important;
    }
    .news-detail__body h1 {
      font-size: 1.25rem;
    }
    .news-detail__body h2 {
      padding: 2px 0 2px 15px;
      font-size: 1.25rem;
      border-left: 2px solid #2F468E;
    }
    .news-detail__body h3 {
      padding: 10px 18px;
      font-size: 1.2rem;
    }
    .news-detail__body h4 {
      padding: 0 0 10px 0;
      font-size: 1.2rem;
      line-height: 1.3;
      font-weight: 600;
    }
    .news-detail__body h5 {
      font-size: 1.15rem;
      line-height: 1.3;
      font-weight: 600;
    }
    .news-detail__body h6 {
      font-size: 1.1rem;
    }
  }

.news-detail__body img {
  display: inline-block;
  width: auto;
  height: auto;
}

.news-detail__body ul {
  padding-left: 20px;
  line-height: 1.8;
  font-size: 1rem;
}
.news-detail__body ul li {
  list-style-type: disc;
}
.news-detail__body ul li ul {
  margin-bottom: 10px;
  font-size: 93%;
}
.news-detail__body ul li ul li {
  list-style-type:circle;
}
  @media screen and (max-width: 990px) {
    .news-detail__body ul {
      margin-bottom: 5vw;
      padding-left: 5.4vw;
    }
    .news-detail__body ul li ul {
      margin-bottom: 2vw;
    }
  }

.news-detail__body ol {
  counter-reset: section;
  line-height: 1.8;
  font-size: 1rem;
}
.news-detail__body ol li {
  list-style: none;
}
.news-detail__body ol > li:before {
  content : counters(section, '-') '. ';
  counter-increment : section;
}
.news-detail__body ol li ol {
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 93%;
}
  @media screen and (max-width: 990px) {
    .news-detail__body ol {
      margin-bottom: 5vw;
    }
    .news-detail__body ol li ol {
      padding-left: 5.4vw;
      margin-bottom: 2vw;
    }
  }

.news-detail__body table {
  width:100%;
  font-size: 1rem;
  border-collapse: collapse;
  line-height: 1.5;
}
.news-detail__body th {
  text-align: left;
  padding:10px;
  border:solid 1px #ddd;
  font-weight: 500;
  background: #eee;
}
.news-detail__body td {
  padding:10px;
  border:solid 1px #ddd;
}
  @media screen and (max-width: 990px) {
    .news-detail__body th {
      padding:2vw;
    }
    .news-detail__body td {
      padding:2vw;
    }
  }

.news-detail__body table img {
  margin-bottom: 0;
}

.news-detail__body blockquote {
  position: relative;
  border: solid 1px #ddd;
  padding: 20px 20px 20px 55px;
  line-height: 1.8;
}
.news-detail__body blockquote::before {
  position: absolute;
  left: 18px;
  top: 20px;
  content: "“";
  line-height: 1;
  font-size: 5rem;
  color: #d7d7d7;
}
.news-detail__body blockquote p:last-child {
  margin-bottom: 0;
}
  @media screen and (max-width: 990px) {
    .news-detail__body blockquote {
      border: solid 3px #d7d7d7;
      padding: 4vw 3.33vw 4vw 9.33vw;
    }
    .news-detail__body blockquote::before {
      left: 2vw;
      top: 4vw;
      font-size: 12.33vw;
    }
  }

.news-detail__body u {
  text-decoration: underline;
}

.news-detail__body .wp-caption.alignright {
  margin-left: 25px;
}
.news-detail__body .wp-caption.alignleft {
  margin-right: 25px;
}
  @media screen and (max-width: 990px) {
    .news-detail__body .wp-caption {
      width: 100%!important;
      float: none!important;
    }
  }

.news-detail__body .wp-caption img {
  margin-bottom: 5px;
}
.news-detail__body .wp-caption p {
  font-size: 90%;
  color: #757575;
  font-style: italic;
}
  @media screen and (max-width: 990px) {
    .news-detail__body .wp-caption img {
      margin-bottom: 2vw;
    }
  }

/*フォーム調整*/
.wpcf7-radio .wpcf7-list-item {
  margin-left: 0;
  margin-right: 15px;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}
.wpcf7 .wpcf7-spinner {
  position: absolute;
  right: calc(50% - 35px)!important;
  bottom: -35px!important;
}
.wpcf7 .wpcf7-response-output {
  text-align: center!important;
}

.wpcf7-submit[disabled] {
  color: #999!important;
  opacity: 1!important;
  background-color: #ccc!important;
}
  @media (max-width: 990px) {
    .wpcf7-submit[disabled] {
      padding: 20px 80px!important;
    }
  }


/*確認画面*/
.custom-wpcf7cp-confirm.wpcf7cp-form-hide > * {
  height: 0;
  padding: 0;
  margin: 0;
}
.custom-wpcf7cp-confirm.wpcf7cp-form-hide #privacy {
  display: none;
}

div#wpcf7cpcnf {
  position: relative!important;
}
div#wpcf7cpcnf th {
  font-weight: 500;
  width: 300px;
  padding: 15px 25px;
  border-bottom: solid 1px #F0F0F0;
  text-align: left;
  background: rgba(221,221,221,0.7) ;
}
div#wpcf7cpcnf th p {
  margin: 0;
}
div#wpcf7cpcnf td {
  padding: 15px 25px;
}
  @media screen and (max-width: 999px) {
    div#wpcf7cpcnf table,
    div#wpcf7cpcnf tbody,
    div#wpcf7cpcnf tr,
    div#wpcf7cpcnf th,
    div#wpcf7cpcnf td {
      display: block;
      width: 100%;
    }
    div#wpcf7cpcnf th {
      padding: 2.66vw 4vw;
    }
    div#wpcf7cpcnf td {
      padding: 4vw 0;
    }
  }

.wpcf7cp-btns {
  text-align: center;
  margin-top: 3rem!important;
}
.wpcf7cp-btns button {
  background-color: #2F468E;
  border-radius: 0.625rem;
  color: #ffffff;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 1rem;
  width: 15.5rem;
  margin: 0 20px 20px 20px!important;
}
.wpcf7cp-btns button.wpcf7cp-cfm-submit-btn:hover {
  background-color: #4CABE1;
}
.wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
  background-color: #999;
}
.wpcf7cp-btns button.wpcf7cp-cfm-edit-btn:hover {
  background-color: #bbb;
}
  @media screen and (max-width: 990px) {
    .wpcf7cp-btns button:last-child {
      margin-bottom: 0!important;
    }
  }

.group-wrap .form__field:first-child {
  border-top: none;
}

input[type="radio"] {
  position: absolute;
  display: block!important;
  z-index: -10px;
}
.form__files > li > label {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}
.form__files li {
  margin: 7px 0;
}
