@charset "UTF-8";
/*
Theme Name:三栄ケアサービス
*/
/* ------------------------------------
// ブロックエディタ対応クラス
----------------------------------- */
#contents .editor-styles-wrapper {
  line-height: 1.3;
}
#contents .editor-styles-wrapper .mt10 {
  margin-bottom: 10px !important;
}
#contents .editor-styles-wrapper h4 {
  font-size: 113%;
  font-weight: 900;
  margin: 45px 0 20px;
}
#contents .editor-styles-wrapper .wp-block-table {
  margin-bottom: 20px;
  overflow-x: visible;
}
#contents .editor-styles-wrapper .wp-block-table table {
  width: 100%;
  border-bottom: solid 4px #707070;
  border-top: solid 4px #707070;
  line-height: 2;
}
#contents .editor-styles-wrapper .wp-block-table table thead th {
  border-bottom: solid 4px #707070;
  text-align: center;
  padding: 5px;
  font-size: 113%;
  color: #707070;
  border-right: solid 1px #707070;
}
#contents .editor-styles-wrapper .wp-block-table table thead th:last-child {
  border-right: none;
}
#contents .editor-styles-wrapper .wp-block-table table tbody th,
#contents .editor-styles-wrapper .wp-block-table table tbody td {
  padding: 20px 15px 25px 30px;
  border-right: solid 1px #707070;
  border-bottom: solid 1px #707070;
  font-weight: 500;
}
#contents .editor-styles-wrapper .wp-block-table .wp-element-caption {
  margin-top: 10px;
}
#contents .editor-styles-wrapper p {
  margin-bottom: 40px;
  line-height: 2;
}
#contents .editor-styles-wrapper p:last-child {
  margin-bottom: 0;
}
#contents .editor-styles-wrapper ul {
  margin-bottom: 30px;
  line-height: 2;
  list-style: none;
  padding: 0;
}
#contents .editor-styles-wrapper ul li {
  position: relative;
  padding-left: 1em;
}
#contents .editor-styles-wrapper ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}
#contents .editor-styles-wrapper ul.list-note li {
  font-size: 94%;
}
#contents .editor-styles-wrapper ul.list-note li::before {
  content: "■";
  color: #707070;
  position: absolute;
  left: 0;
  margin-right: 5px;
}
#contents .editor-styles-wrapper ol {
  list-style-type: decimal;
  margin-bottom: 30px;
  padding-left: 1em;
  margin-left: 0.2em;
}
#contents .editor-styles-wrapper ol li {
  margin-bottom: 10px;
}
#contents .editor-styles-wrapper ol.num-katakana {
  list-style-type: katakana;
  margin-left: 1em;
}
#contents .editor-styles-wrapper ol.num-katakana.wp-block {
  margin-left: auto;
  padding-left: 2em;
}
#contents .editor-styles-wrapper ol.num-kakko {
  list-style: none;
  counter-reset: num-kakko;
  padding-left: 0;
  margin-left: 0;
}
#contents .editor-styles-wrapper ol.num-kakko > li {
  counter-increment: num-kakko;
  padding-left: 2em;
  position: relative;
}
#contents .editor-styles-wrapper ol.num-kakko > li::before {
  content: "(" counter(num-kakko) ")";
  position: absolute;
  left: 0;
}
#contents .editor-styles-wrapper ol.num-maru {
  list-style: none;
  counter-reset: num-maru;
  padding-left: 0;
  margin-left: 0;
}
#contents .editor-styles-wrapper ol.num-maru > li {
  counter-increment: num-maru;
  padding-left: 1.5em;
  position: relative;
}
#contents .editor-styles-wrapper ol.num-maru > li::before {
  content: counter(num-maru);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #333;
  border-radius: 50%;
  width: 1.3em;
  height: 1.3em;
}
#contents .editor-styles-wrapper ol.wp-block {
  margin-left: auto;
}
#contents .editor-styles-wrapper ol ol,
#contents .editor-styles-wrapper ol ul {
  margin-top: 10px;
}
#contents .editor-styles-wrapper ol ol:last-child,
#contents .editor-styles-wrapper ol ul:last-child {
  margin-bottom: 0;
}
#contents .editor-styles-wrapper .wp-block-buttons {
  margin-top: 45px;
  margin-bottom: 45px;
}
#contents .editor-styles-wrapper .wp-block-buttons:last-child {
  margin-bottom: 0;
}
#contents .editor-styles-wrapper .wp-block-buttons.back_categorytop {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 0;
}
#contents .editor-styles-wrapper .wp-block-buttons .wp-block-button .wp-block-button__link {
  color: #fff;
  background-color: #fff;
  border-radius: 0;
  padding: 25px 15px;
  min-width: 317px;
  border: solid 1px #707070;
  color: #707070;
}
#contents .editor-styles-wrapper .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
  background: none;
  opacity: 0.8;
}
#contents .editor-styles-wrapper .wp-block-buttons.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#contents .editor-styles-wrapper .wp-block-buttons.flex::after {
  content: "";
  width: 31%;
  height: 0;
}
#contents .editor-styles-wrapper .wp-block-buttons.flex > * {
  width: 31%;
  margin-bottom: 15px;
}
#contents .editor-styles-wrapper .wp-block-buttons.flex > * .wp-block-button__link {
  min-width: 0;
  display: block;
}
#contents .editor-styles-wrapper .wp-block-image {
  margin-top: 45px;
  margin-bottom: 45px;
}
#contents .editor-styles-wrapper .wp-block-image figcaption {
  font-size: 107%;
}
#contents .editor-styles-wrapper hr {
  display: block;
}
#contents .editor-styles-wrapper hr.is-style-wide {
  border: 2px solid;
}
#contents .editor-styles-wrapper hr.is-style-dots {
  border-bottom: 2px dotted;
}
#contents .editor-styles-wrapper hr.is-style-dots:before {
  content: "";
  font-weight: bold;
  letter-spacing: 0.8em;
  display: none;
}
#contents .editor-styles-wrapper .is-layout-flex {
  clear: both;
  padding-top: 30px;
}
@media only screen and (max-width: 767px) {
  #contents .editor-styles-wrapper .mt10 {
    margin-bottom: 1rem !important;
  }
  #contents .editor-styles-wrapper h4 {
    font-size: 113%;
  }
  #contents .editor-styles-wrapper .wp-block-table {
    margin-bottom: 30px;
  }
  #contents .editor-styles-wrapper .wp-block-table table {
    line-height: 1.5;
  }
  #contents .editor-styles-wrapper .wp-block-table table thead th {
    padding: 10px;
    width: auto !important;
    height: auto !important;
  }
  #contents .editor-styles-wrapper .wp-block-table table tbody th,
#contents .editor-styles-wrapper .wp-block-table table tbody td {
    padding: 10px;
    font-size: 100%;
    width: auto !important;
    height: auto !important;
    word-break: break-all;
  }
  #contents .editor-styles-wrapper p {
    line-height: 1.8;
  }
  #contents .editor-styles-wrapper ul {
    margin-bottom: 30px;
  }
  #contents .editor-styles-wrapper ul li {
    font-size: 100%;
    line-height: 1.8;
    margin-right: 5px;
  }
  #contents .editor-styles-wrapper ul.list-note li {
    font-size: 94%;
  }
  #contents .editor-styles-wrapper ol {
    margin-bottom: 30px;
  }
  #contents .editor-styles-wrapper ol li {
    margin-bottom: 5px;
    font-size: 100%;
  }
  #contents .editor-styles-wrapper ol.katakana {
    list-style-type: katakana;
    margin-left: 1em;
  }
  #contents .editor-styles-wrapper ol.katakana.wp-block {
    margin-left: auto;
    padding-left: 2em;
  }
  #contents .editor-styles-wrapper ol.wp-block {
    margin-left: auto;
    padding-left: 1.2em;
  }
  #contents .editor-styles-wrapper .wp-block-image {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  #contents .editor-styles-wrapper .wp-block-image figcaption {
    font-size: 100%;
  }
  #contents .editor-styles-wrapper .wp-block-image .alignright,
#contents .editor-styles-wrapper .wp-block-image .alignleft {
    display: block;
    float: none;
    text-align: center;
  }
}

/* ------------------------------------
// pagination
----------------------------------- */
.pagination {
  margin-top: 100px;
  text-align: center;
}
.pagination li {
  display: inline-block;
  font-size: 107%;
  line-height: 1;
  margin: 0 6px;
}
.pagination li span.current {
  background: #b9a349;
  border: 1px solid #b9a349;
  color: #fff;
  display: inline-block;
  font-weight: 500;
  padding: 0.4em 0.4em;
}
.pagination li a {
  border: 1px solid #b9a349;
  background: #fff;
  display: inline-block;
  padding: 0.4em 0.4em;
  color: #333 !important;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .pagination {
    margin-top: 5rem;
  }
  .pagination li {
    margin: 0 5px;
  }
  .pagination li span.current {
    padding: 5px;
  }
  .pagination li a {
    padding: 5px;
  }
}