@charset "UTF-8";
/* 
Theme Name:京都府社協
*/
/* ------------------------------------
// content structure
----------------------------------- */
main article {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 15px 160px 15px;
}
main a:hover {
  background: linear-gradient(transparent 60%, #ffee00 60%) no-repeat;
}
@media screen and (max-width: 767px) {
  main article {
    padding: 0 3rem 13rem;
  }
  main p {
    font-size: 1.6rem;
    line-height: 1.8;
  }
}

/* ------------------------------------
// pagetitle
----------------------------------- */
#pagetitle {
  background: #eeeeee;
  margin-bottom: 70px;
}
#pagetitle .inner {
  max-width: 1070px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  text-align: center;
}
#pagetitle .inner .breadcrumbs {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
}
#pagetitle .inner .breadcrumbs a {
  color: #333;
  background: none;
}
#pagetitle .inner .breadcrumbs a:hover {
  text-decoration: underline;
}
#pagetitle .inner h1 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0 10px;
  line-height: 1.3;
}
#pagetitle .inner h1::after {
  content: "";
  width: 100%;
  height: 4px;
  background: #333333;
  position: absolute;
  left: 0;
  bottom: -10px;
}
#pagetitle .inner h1 .category {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin: -1.5em 0 5px;
}
@media screen and (max-width: 767px) {
  #pagetitle {
    margin-bottom: 3.5rem;
  }
  #pagetitle .inner {
    padding: 3rem 3rem 4rem;
  }
  #pagetitle .inner .breadcrumbs {
    display: none;
  }
  #pagetitle .inner h1 {
    font-size: 2rem;
    display: block;
  }
  #pagetitle .inner h1::after {
    height: 0.4rem;
    bottom: -1rem;
  }
  #pagetitle .inner h1 .category {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
  }
}

/* ------------------------------------
// archive
----------------------------------- */
ul.category {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
ul.category.left {
  justify-content: flex-start;
}
ul.category li {
  margin: 0 7px 15px 8px;
  font-size: 1.5rem;
}
ul.category li a {
  display: block;
  border: solid 1px #333;
  border-radius: 4px;
  background: #fff;
  color: #666 !important;
  padding: 3px 5px 3px;
  min-width: 115px;
  text-align: center;
  cursor: pointer;
}
ul.category li a.current {
  border-color: #1f8802;
  background: #1f8802;
  color: #fff !important;
}
@media screen and (max-width: 767px) {
  ul.category {
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  ul.category::after {
    content: "";
    width: 30%;
    height: 0;
  }
  ul.category li {
    min-width: 30%;
    margin: 0 0.5rem 1rem 0.5rem;
  }
  ul.category li a {
    min-width: 0;
  }
}

ul.entrylist {
  border-top: dashed 1px #cccccc;
}
ul.entrylist li {
  border-bottom: dashed 1px #cccccc;
}
ul.entrylist li a {
  display: block;
  padding: 15px 55px 20px 20px;
  position: relative;
}
ul.entrylist li a .cate {
  display: inline-block;
  min-width: 124px;
  border-radius: 4px;
  background: #666666;
  border: solid 1px #707070;
  color: #fff;
  line-height: 1.3;
  padding: 2px 10px 1px;
  font-size: 1.3rem;
  text-align: center;
}
ul.entrylist li a .date {
  font-size: 1.4rem;
  margin-left: 20px;
  color: #333;
}
ul.entrylist li a:hover {
  background: none;
}
ul.entrylist li a:hover p span {
  background: linear-gradient(transparent 60%, #ffee00 60%) no-repeat;
}
ul.entrylist li a::after {
  content: "";
  width: 18px;
  height: 32px;
  background: url(img/cmn/icon_arrow_03.png) no-repeat 0 0/100% auto;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  ul.entrylist li a {
    padding: 0.5rem 2rem 1rem 1rem;
  }
  ul.entrylist li a .cate {
    min-width: 12rem;
    padding: 0.2rem 1rem 0.1rem;
  }
  ul.entrylist li a .date {
    margin-left: 1rem;
  }
  ul.entrylist li a::after {
    width: 1.2rem;
    height: 2.6rem;
    right: 0;
  }
}

ul.area {
  display: flex;
  flex-wrap: wrap;
  padding: 0 !important;
}
ul.area li {
  width: 19%;
  margin: 0 1% 10px 0;
}
ul.area li:nth-child(5n) {
  margin-right: 0;
}
ul.area li::before {
  display: none;
}
ul.area li a {
  display: block;
  background: #eeeeee;
  position: relative;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f8802;
  line-height: 1.3;
  padding: 10px 30px 10px 10px;
}
ul.area li a span {
  font-size: 1.4rem;
}
ul.area li a:hover {
  opacity: 0.8;
}
ul.area li a::after {
  content: "";
  width: 12px;
  height: 18px;
  background: url(img/cmn/icon_arrow_02.png) no-repeat 0 0/100% auto;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  ul.area {
    justify-content: space-between;
    padding: 0 !important;
  }
  ul.area li {
    width: 49%;
    margin: 0 0 1rem 0 !important;
  }
  ul.area li a {
    padding: 1rem 3rem 1rem 1rem;
  }
  ul.area li a::after {
    width: 1.2rem;
    height: 1.8rem;
    right: 1.5rem;
  }
}

/* ------------------------------------
// pager
----------------------------------- */
.pager {
  margin-top: 100px;
  text-align: center;
}
.pager li {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 6px;
}
.pager li span.current {
  background: #1f8802;
  border: 1px solid #1f8802;
  color: #fff;
  display: inline-block;
  font-weight: 500;
  padding: 0.5em 0.4em;
}
.pager li a {
  border: 1px solid #1f8802;
  background: #fff;
  display: inline-block;
  padding: 0.5em 0.4em;
}
@media screen and (max-width: 767px) {
  .pager {
    margin-top: 5rem;
  }
  .pager li {
    font-size: 1.6rem;
    margin: 0 0.5rem;
  }
  .pager li span.current {
    padding: 0.7rem;
  }
  .pager li a {
    padding: 0.7rem;
  }
}

/* ------------------------------------
// single
----------------------------------- */
.single > .date {
  text-align: right;
  margin-bottom: 40px;
  font-size: 1.4rem;
}
@media screen and (max-width: 767px) {
  .single > .date {
    margin-bottom: 2rem;
    font-size: 1.3rem;
  }
}

/* ------------------------------------
// ブロックエディタ対応クラス
----------------------------------- */
.editor-styles-wrapper {
  line-height: 1.3;
}
.editor-styles-wrapper .mt10 {
  margin-bottom: 10px !important;
}
.editor-styles-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin: 60px 0 45px;
}
.editor-styles-wrapper h2:first-child {
  margin-top: 0;
}
.editor-styles-wrapper h2::before {
  content: "";
  width: 9px;
  height: 58px;
  background: #1f8802;
  margin-right: 20px;
  flex: none;
}
.editor-styles-wrapper h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #1f8802;
  border-bottom: solid 1px #1f8802;
  margin: 45px 0 10px;
  padding-bottom: 5px;
}
.editor-styles-wrapper h4 {
  font-size: 1.8rem;
  font-weight: 900;
  background: #d9efd3;
  padding: 5px 5px 5px 10px;
  margin: 45px 0 20px;
}
.editor-styles-wrapper .wp-block-table {
  margin-bottom: 20px;
}
.editor-styles-wrapper .wp-block-table table {
  width: 100%;
  border-bottom: solid 4px #1f8802;
  border-top: solid 4px #1f8802;
  line-height: 2;
}
.editor-styles-wrapper .wp-block-table table thead th {
  border-bottom: solid 4px #1f8802;
  text-align: center;
  padding: 5px;
  font-size: 1.6rem;
  color: #1f8802;
  border-right: solid 1px #1f8802;
}
.editor-styles-wrapper .wp-block-table table thead th:last-child {
  border-right: none;
}
.editor-styles-wrapper .wp-block-table table tbody th,
.editor-styles-wrapper .wp-block-table table tbody td {
  padding: 20px 15px 25px 30px;
  border-right: solid 1px #1f8802;
  border-bottom: solid 1px #1f8802;
  font-size: 1.8rem;
  font-weight: 500;
}
.editor-styles-wrapper .wp-block-table table tbody th:last-child,
.editor-styles-wrapper .wp-block-table table tbody td:last-child {
  border-right: none;
}
.editor-styles-wrapper p {
  margin-bottom: 40px;
  line-height: 2;
}
.editor-styles-wrapper p:last-child {
  margin-bottom: 0;
}
.editor-styles-wrapper p + ul, .editor-styles-wrapper p + ol {
  margin-top: -30px;
}
.editor-styles-wrapper ul {
  margin-bottom: 40px;
  position: relative;
  padding-left: 1em;
  line-height: 2;
}
.editor-styles-wrapper ul.entrylist {
  margin: 0;
  padding: 0;
}
.editor-styles-wrapper ul.entrylist li::before {
  display: none;
}
.editor-styles-wrapper ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.editor-styles-wrapper ul.list-note li {
  font-size: 1.5rem;
}
.editor-styles-wrapper ul.list-note li::before {
  content: "■";
  color: #1f8802;
  position: absolute;
  left: 0;
  margin-right: 5px;
}
.editor-styles-wrapper ol {
  list-style-type: decimal;
  margin-bottom: 40px;
  padding-left: 1em;
  margin-left: 0.2em;
}
.editor-styles-wrapper ol li {
  margin-bottom: 10px;
}
.editor-styles-wrapper ol.num-katakana {
  list-style-type: katakana;
  margin-left: 1em;
}
.editor-styles-wrapper ol.num-katakana.wp-block {
  margin-left: auto;
  padding-left: 2em;
}
.editor-styles-wrapper ol.num-kakko {
  list-style: none;
  counter-reset: num-kakko;
  padding-left: 0;
  margin-left: 0;
}
.editor-styles-wrapper ol.num-kakko > li {
  counter-increment: num-kakko;
  padding-left: 2em;
  position: relative;
}
.editor-styles-wrapper ol.num-kakko > li::before {
  content: "(" counter(num-kakko) ")";
  position: absolute;
  left: 0;
}
.editor-styles-wrapper ol.num-maru {
  list-style: none;
  counter-reset: num-maru;
  padding-left: 0;
  margin-left: 0;
}
.editor-styles-wrapper ol.num-maru > li {
  counter-increment: num-maru;
  padding-left: 1.5em;
  position: relative;
}
.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;
}
.editor-styles-wrapper ol.wp-block {
  margin-left: auto;
  padding-left: 1.2em;
}
.editor-styles-wrapper ol ol, .editor-styles-wrapper ol ul {
  margin-top: 10px;
}
.editor-styles-wrapper ol ol:last-child, .editor-styles-wrapper ol ul:last-child {
  margin-bottom: 0;
}
.editor-styles-wrapper dl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.editor-styles-wrapper dl dt {
  color: #1f8802;
  font-size: 2rem;
  font-weight: 900;
  padding-right: 10px;
  width: 20%;
  margin-bottom: 50px;
}
.editor-styles-wrapper dl dd {
  border-left: solid 1px #333;
  padding: 0 0 0 20px;
  font-size: 1.8rem;
  width: 80%;
  margin-bottom: 50px;
  line-height: 2;
}
.editor-styles-wrapper .wp-block-buttons {
  margin-top: 45px;
  margin-bottom: 45px;
}
.editor-styles-wrapper .wp-block-buttons:last-child {
  margin-bottom: 0;
}
.editor-styles-wrapper .wp-block-buttons.back_categorytop {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 0;
}
.editor-styles-wrapper .wp-block-buttons .wp-block-button .wp-block-button__link {
  color: #fff;
  background-color: #fff;
  border-radius: 0;
  font-size: 1.8rem;
  padding: 25px 15px;
  min-width: 317px;
  border: solid 1px #1f8802;
  color: #1f8802;
}
.editor-styles-wrapper .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
  background: none;
  opacity: 0.8;
}
.editor-styles-wrapper .wp-block-buttons .wp-block-button.pdf .wp-block-button__link {
  color: #333333;
  border: solid 1px #707070;
  color: #707070;
  text-align: left;
}
.editor-styles-wrapper .wp-block-buttons .wp-block-button.pdf .wp-block-button__link::before {
  content: "";
  width: 23px;
  height: 27px;
  background: url(img/cmn/icon_pdf.png);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-right: 10px;
}
.editor-styles-wrapper .wp-block-buttons.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.editor-styles-wrapper .wp-block-buttons.flex::after {
  content: "";
  width: 31%;
  height: 0;
}
.editor-styles-wrapper .wp-block-buttons.flex > * {
  width: 31%;
  margin-bottom: 15px;
}
.editor-styles-wrapper .wp-block-buttons.flex > * .wp-block-button__link {
  min-width: 0;
  display: block;
}
.editor-styles-wrapper .wp-block-image {
  margin-top: 45px;
  margin-bottom: 45px;
}
.editor-styles-wrapper .wp-block-image figcaption {
  font-size: 1.5rem;
}
.editor-styles-wrapper .hoken_list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2em;
}
.editor-styles-wrapper .hoken_list section {
  border: 1px solid #1f8802;
  padding-bottom: 0.6em;
  width: 31%;
}
.editor-styles-wrapper .hoken_list h3 {
  background: #eeeeee;
  font-size: 1.8rem;
  margin: 0;
  padding: 10px;
  text-align: center;
}
.editor-styles-wrapper .hoken_list p {
  margin-bottom: 2em;
  padding: 10px 1em 0;
}
.editor-styles-wrapper .hoken_list ul {
  display: flex;
  justify-content: space-between;
  line-height: 1.1;
  margin-bottom: 0;
  padding: 10px 1em;
  position: static;
}
.editor-styles-wrapper .hoken_list ul li {
  text-align: center;
  width: 47%;
}
.editor-styles-wrapper .hoken_list ul li a {
  background: #d9efd3;
  border-radius: 50px;
  display: block;
  padding: 0.8em 1.2em;
  text-align: center;
}
.editor-styles-wrapper .hoken_list ul li::before {
  display: none;
}
@media screen and (max-width: 880px) {
  .editor-styles-wrapper .hoken_list section {
    width: 32%;
  }
  .editor-styles-wrapper .hoken_list p {
    padding: 10px 0.3em 0 0.6em;
  }
  .editor-styles-wrapper .hoken_list ul {
    padding: 10px 0.3em 0 0.6em;
  }
  .editor-styles-wrapper .hoken_list ul li {
    width: 48%;
  }
}
@media screen and (max-width: 767px) {
  .editor-styles-wrapper .mt10 {
    margin-bottom: 1rem !important;
  }
  .editor-styles-wrapper h2 {
    font-size: 2rem;
    margin: 4rem 0 3rem;
  }
  .editor-styles-wrapper h2::before {
    width: 0.9rem;
    height: auto;
    min-height: 7rem;
    margin-right: 2rem;
  }
  .editor-styles-wrapper h3 {
    margin: 3rem 0 1rem;
    padding-bottom: 0.5rem;
  }
  .editor-styles-wrapper h4 {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin: 3rem 0 2rem;
  }
  .editor-styles-wrapper .wp-block-table {
    margin-bottom: 2rem;
  }
  .editor-styles-wrapper .wp-block-table table {
    line-height: 1.5;
  }
  .editor-styles-wrapper .wp-block-table table thead th {
    padding: 0.5rem;
    width: auto !important;
    height: auto !important;
  }
  .editor-styles-wrapper .wp-block-table table tbody th,
.editor-styles-wrapper .wp-block-table table tbody td {
    padding: 1rem;
    font-size: 1.6rem;
    width: auto !important;
    height: auto !important;
    word-break: break-all;
  }
  .editor-styles-wrapper p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
  }
  .editor-styles-wrapper p + ul, .editor-styles-wrapper p + ol {
    margin-top: -2rem;
  }
  .editor-styles-wrapper ul {
    margin-bottom: 2.5rem;
  }
  .editor-styles-wrapper ul li {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-right: 0.5rem;
  }
  .editor-styles-wrapper ol {
    margin-bottom: 2.5rem;
  }
  .editor-styles-wrapper ol li {
    margin-bottom: 1rem;
    font-size: 1.6rem;
  }
  .editor-styles-wrapper ol.katakana {
    list-style-type: katakana;
    margin-left: 1em;
  }
  .editor-styles-wrapper ol.katakana.wp-block {
    margin-left: auto;
    padding-left: 2em;
  }
  .editor-styles-wrapper ol.wp-block {
    margin-left: auto;
    padding-left: 1.2em;
  }
  .editor-styles-wrapper dl {
    display: block;
  }
  .editor-styles-wrapper dl dt {
    font-size: 1.8rem;
    padding-right: 0;
    width: auto;
    margin-bottom: 1rem;
  }
  .editor-styles-wrapper dl dd {
    border-left: none;
    padding: 0;
    font-size: 1.6rem;
    width: auto;
    margin-bottom: 3rem;
    line-height: 1.6;
  }
  .editor-styles-wrapper .wp-block-buttons {
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: block;
  }
  .editor-styles-wrapper .wp-block-buttons.back_categorytop {
    margin-top: 5rem;
    margin-bottom: 0;
  }
  .editor-styles-wrapper .wp-block-buttons .wp-block-button {
    display: block;
  }
  .editor-styles-wrapper .wp-block-buttons .wp-block-button .wp-block-button__link {
    padding: 2rem 1.5rem;
    min-width: 0;
    width: 100%;
  }
  .editor-styles-wrapper .wp-block-buttons .wp-block-button.pdf .wp-block-button__link::before {
    width: 2.3rem;
    height: 2.7rem;
    background-size: 100% auto;
    top: -2px;
    margin-right: 1rem;
  }
  .editor-styles-wrapper .wp-block-buttons.flex {
    display: block;
  }
  .editor-styles-wrapper .wp-block-buttons.flex::after {
    display: none;
  }
  .editor-styles-wrapper .wp-block-buttons.flex > * {
    width: auto;
    margin-bottom: 1.5rem;
  }
  .editor-styles-wrapper .wp-block-image {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
  .editor-styles-wrapper .wp-block-image figcaption {
    font-size: 1.4rem;
  }
  .editor-styles-wrapper .hoken_list {
    display: block;
  }
  .editor-styles-wrapper .hoken_list section {
    margin-bottom: 1.5rem;
    width: auto;
  }
  .editor-styles-wrapper .hoken_list p {
    padding: 10px 1em 0;
  }
  .editor-styles-wrapper .hoken_list ul li a {
    padding: 0.4em 1em;
  }
}

/* ------------------------------------
// 404
----------------------------------- */
.notFound {
  text-align: center;
  padding: 100px 0;
}