/*
Theme Name: 田村経営センター
Description: 田村経営センター
Version: 1.0.0
*/
@charset "UTF-8";

.c-pankuzu {
  padding: 15px 0px 12px;
  background: #d9ede4;
}
.c-pankuzuInner {
  padding: 0 4% 0 4%;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: content-box;
  margin: 0 auto;
}
.c-pankuzuList {
  display : flex;
  flex-wrap: wrap;
}
.c-pankuzuList__item {
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  margin-right: 11px;
  margin-bottom: 4px;
  position: relative;
  font-weight: 500;
}
.c-pankuzuList__item + .c-pankuzuList__item {
  margin-left: 16px;
}
.c-pankuzuList__item:before {
  position: absolute;
  top: 11px;
  left: -19px;
  content: "";
	width: 10px;
	height: 1px;
  background: #1e8857;
}
.c-pankuzuList__item:first-child:before {
  display: none;
}
.c-pankuzuList__item:last-child {
  margin-right: 0;
}
.c-pankuzuList__item a {
  display: inline-block;
  position: relative;
  color:#178653;
}

@media screen and (max-width: 768px) {
  .c-pankuzu {
    padding: 15px 0px 12px;
  }
  .c-pankuzuInner {
  }
  .c-pankuzuList {
  }
  .c-pankuzuList__item {
    font-size: 12px;
    margin-right: 7px;
    margin-bottom: 4px;
  }
  .c-pankuzuList__item + .c-pankuzuList__item {
    margin-left: 12px;
  }
  .c-pankuzuList__item:before {
    top: 8px;
    left: -15px;
    width: 8px;
    height: 1px;
  }
}


.l-inner {
  margin: 0 auto;
  padding: 0 4% 0 4%;
  max-width: 1300px;
}


.p-pageHead {
  padding: 70px 0 0;
  background: #f9f9f9 url(page-head-back.jpg) no-repeat center;
  background-size: auto 100%;
}
.p-pageHeadInner {
  display: flex;
  align-items: center;
  height: 200px;
  padding: 20px 4% 20px 4%;
  max-width: 1300px;
  margin: 0 auto;
}
.p-pageHead__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.c-headTitle {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .p-pageHead {
    padding: 0px 0 0;
    background: #f9f9f9 url(page-head-back-sp.jpg) no-repeat right center;
    background-size: auto 100%;
  }
  .p-pageHeadInner {
    height: 80px;
    padding: 20px 4% 20px 4%;
  }
  .p-pageHead__title {
    font-size: 22px;
  }

  .c-headTitle {
    font-size: 22px;
    margin-bottom: 30px;
  }
}

.c-columnList {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 30px;
}
.c-columnList li {
  width: calc(25% - 22.5px);
}
.c-columnList li a {
  display: block;
}
.c-columnList__img {
  aspect-ratio: 600 / 400;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}
.c-columnList__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.c-columnListContents {
  margin-top: 12px;
}
.c-columnList__date {
  font-size: 13px;
  line-height: 1.3;
  color: #666;
  font-weight: 500;
  margin-bottom: 6px;
}
.c-columnList__title {
  font-size: 20px;
  line-height: 1.6;
}
.c-columnList__txt {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: #666;
  margin-top: 7px;
}
@media screen and (max-width: 1100px) {
  .c-columnList {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 30px;
  }
  .c-columnList li {
    width: calc(33.33% - 20px);
  }
}
@media screen and (min-width: 769px) {
  .c-columnList li a:hover {
    opacity: 1;
  }
  .c-columnList__img img {
    transition: 0.3s;
  }
  .c-columnList li a:hover .c-columnList__img img {
    transform: scale(1.04);
  }
}
@media screen and (max-width: 768px) {
  .c-columnList {
    gap: 60px 30px;
  }
  .c-columnList li {
    width: calc(50% - 15px);
  }
  .c-columnList li a {
  }
  .c-columnList__img {
    aspect-ratio: 600 / 400;
    border-radius: 10px;
  }
  .c-columnListContents {
    margin-top: 12px;
  }
  .c-columnList__date {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .c-columnList__title {
    font-size: 18px;
  }
  .c-columnList__txt {
    font-size: 15px;
    margin-top: 7px;
  }
}
@media screen and (max-width: 440px) {
  .c-columnList {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .c-columnList li {
    width: 100%;
  }
  .c-columnList li + li {
    padding-top: 20px;
    border-top: #ddd 1px solid;
    margin-top: 20px;
  }
  .c-columnList li a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .c-columnList__img {
    aspect-ratio: 400 / 400;
    border-radius: 10px;
    width: 120px;
  }
  .c-columnListContents {
    margin-top: 0;
    width: calc(100% - 135px);
  }
  .c-columnList__date {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .c-columnList__title {
    font-size: 18px;
    line-height: 1.5;
  }
  .c-columnList__txt {
    display: none;
  }
}

.c-pager {
  margin-top: 80px;
}
.c-pager .wp-pagenavi {
  display : flex;
  justify-content: center;
}
.c-pager .wp-pagenavi a ,
.c-pager .wp-pagenavi span {
  width: 44px;
  height: 44px;
  display : flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  box-sizing: border-box;
  padding: 0 0 2px 0;
  margin: 0 6px;
  background: #FFF;
  border: #1e8857 1px solid;
  font-weight: 700;
  border-radius: 5px;
  color: #1e8857;
}
.c-pager .wp-pagenavi a {
}
.c-pager .wp-pagenavi span {
}
.c-pager .wp-pagenavi a:hover ,
.c-pager .wp-pagenavi span {
  background: #1e8857;
  border: #1e8857 1px solid;
  color: #FFF;
}
.c-pager .wp-pagenavi span.extend {
  border: none;
  background: none;
  width: auto;
  color: #666;
}

@media screen and (max-width: 768px) {
  .c-pager {
    margin-top: 60px;
  }
  .c-pager .wp-pagenavi {
  }
  .c-pager .wp-pagenavi a ,
  .c-pager .wp-pagenavi span {
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 0 0 2px 0;
    margin: 0 5px;
    border-radius: 5px;
  }
  .c-pager .wp-pagenavi a {
  }
  .c-pager .wp-pagenavi span {
  }
}


.p-columnArchive {
  padding: 100px 0;
}
@media screen and (max-width: 768px) {
  .p-columnArchive {
    padding: 70px 0;
  }
}



.p-columnArchiveSingle {
  padding: 100px 0;
}
@media screen and (max-width: 768px) {
  .p-columnArchiveSingle {
    padding: 70px 0;
  }
}
.p-columnArchiveSingleHead {
	max-width: 940px;
  margin: 0 auto 50px;
}
.p-columnArchiveSingleHead .c-headTitle {
  margin-bottom: 0;
}
.p-columnArchiveSingleHead__date {
  font-size: 16px;
  line-height: 1.3;
  color: #666;
  font-weight: 500;
  margin-top: 8px;
}
.p-columnArchiveSingleHead__img {
  margin-top: 30px;
	text-align: center;
}
.p-columnArchiveSingleHead__img img {
	max-width: 100%;
	height: auto;
}
@media screen and (max-width: 768px) {
  .p-columnArchiveSingleHead {
    margin-bottom: 30px;
  }
  .p-columnArchiveSingleHead .c-headTitle {
  }
  .p-columnArchiveSingleHead__date {
    font-size: 14px;
    margin-top: 8px;
  }
}
.p-columnArchiveSingleBody {
	max-width: 940px;
  margin: 0 auto;
}


.c-body {
  font-size: 18px;
  line-height: 1.875;
  text-align: left;
  font-weight: 400;
}
.c-body p {
  margin: 0 0 0 0;
  line-height: 1.875;
}
.c-body * + p {
  margin-top: 1.5em;
}
.c-body p a {
  color: #1e8857;
  text-decoration: underline;
}
.c-body h2 {
  position: relative;
  margin-bottom: 40px;
  padding: 18px 20px 18px 25px;
  background: #d9ede4;
  font-size: 1.5em;
  line-height: 1.2;
}
.c-body h2:before {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  width: 10px;
  height: 100%;
  background: #1e8857;
  content: "";
}
.c-body * + h2 {
  margin-top: 100px;
}
  
.c-body h3 {
  font-size: 1.4em;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
  position: relative;
  padding: 0 0 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #1e8857;
}
.c-body * + h3 {
  margin-top: 60px;
}

.c-body h4 {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  text-align: left;
  color: #007124;
  font-weight: 700;
  margin-bottom: 20px;
}
.c-body * + h4 {
  margin-top: 50px;
}
.c-body * + ul {
  margin-top: 1.5em;
}
.c-body ul li {
  box-sizing: border-box;
  position: relative;
  padding: 0 0 0 20px;
}
.c-body ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #1e8857;
  position: absolute;
  top: 12px;
  left: 3px;
  border-radius: 50%;
}
.c-body ul li + li {
  margin-top: 5px;
}
.c-body * + .wp-block-columns {
  margin-top: 30px;
  margin-bottom: 0;
}
.c-body ol {
  margin-left: 1.5em;
}
@media screen and (max-width: 768px) {
  .c-body {
    font-size: 15px;
  }
  .c-body h2 {
    margin-bottom: 40px;
    padding: 16px 20px 16px 22px;
    font-size: 1.5em;
  }
  .c-body h2:before {
    width: 7px;
  }
  .c-body * + h2 {
    margin-top: 70px;
  }
    
  .c-body h3 {
    font-size: 1.4em;
    padding: 0 0 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #1e8857;
  }
  .c-body * + h3 {
    margin-top: 50px;
  }

  .c-body h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  .c-body * + h4 {
    margin-top: 40px;
  }
  .c-body * + ul {
    margin-top: 1.5em;
  }
  .c-body ul li {
    padding: 0 0 0 17px;
  }
  .c-body ul li::before {
    width: 6px;
    height: 6px;
    top: 10px;
    left: 3px;
  }
  .c-body ul li + li {
    margin-top: 5px;
  }
  .c-body * + .wp-block-columns {
    margin-top: 30px;
    margin-bottom: 0;
  }
  .c-body ol {
    margin-left: 1.5em;
  }
}


.topColumn {
  background: #fff;
}
.topColumn-in {
  margin: 0 auto;
  padding: 90px 4%;
  max-width: 1200px;
}
.topColumn h2 {
  margin-bottom: 50px;
  color: #000;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 40px;
  font-size: 4rem;
}
@media (max-width: 768px) {
  .topColumn {
    margin-bottom: 20px;
  }
  .topColumn-in {
    padding: 11% 0;
  }
  .topColumn-in h2 {
    margin-bottom: 35px;
    font-size: 35px;
    font-size: 3.5rem;
  }
}

