@charset "UTF-8";
/*
Theme Name: yokote-tsubasa
Description: 横手つばさ保育園
Version: 1.0
Author: cp
*/
html {
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}
 
/* sp View   ～768px  ----------------------------------------------------------------------------------------------*/

/* archive.php front-page.php home.php */
.inner {
  max-width: calc(480px + 12.266%);
  padding-right: 6.133%;
  padding-left: 6.133%;
}
.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  transform: rotate(0.03deg);

}

.news-wrapper .main-content {
  width: 100%;
  margin: auto;
}
.news-wrapper .sidebar {
  width: 100%;
  margin: auto;
}
.news-title {
  margin-top: 0;
  margin-bottom: 1em;
  /* font-family: "Marcellus", serif; */
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/*--- news-list ---*/
.news-list {
  /* width: 114.678%; */
  margin-left: -7.339%;
  margin-left: 0;
  padding-left: 0;
}
.news-list a {
  padding-right: 6.133%;
  padding-left: 6.133%;
}
.news-list a::after {
  right: 5.333%;
}
.news-list .thumbnail {
  /* width: 31%; */
}
/*--- news-list ---*/
.news-list li {
  list-style: none;
}
.news-list > li:not(:last-of-type) {
  margin-bottom: 16px;
}
.news-list > li {
  padding-bottom: 18px;
  border-bottom: 1px solid #BABABA;
}
.news-list a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  padding-left: 3.193%;
  position: relative;
}
.news-list .thumbnail {
  /* display: none; */
  /* display: block;
  width: 17.288%;
  margin-right: 6.101%;
  line-height: 1; */
}
.news-list li .text .title {
  min-height: 24px;
  font-size: 20px;
  text-indent: -40px;
  padding-left: 40px;
}
.news-list li .text .title::before {
  content: "";
  background-size:contain;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat; /* 画像の繰り返しを防ぐ */
  background-position: center; /* 画像を中央に配置 */
  padding-left: 2em;
}
.news-list li:nth-child(5n+1) .text .title::before {background-image: url('./img/char_ahiru.png');}
.news-list li:nth-child(5n+2) .text .title::before {background-image: url('./img/char_hiyoko.png');}
.news-list li:nth-child(5n+3) .text .title::before {background-image: url('./img/char_kirin.png');}
.news-list li:nth-child(5n+4) .text .title::before {background-image: url('./img/char_lion.png');}
.news-list li:nth-child(5n+5) .text .title::before {background-image: url('./img/char_usagi.png');}

.news-list .thumbnail img{
  /* border-radius: 10px; */
}
.news-list .date {
  font-size: 0.8125rem;
  color: #808080;
}
.news-list .text {
  flex: 1 1 0;
  line-height: 1.687;
}
.news-list .text .title {
  width: auto;
}
.news-list > li {
  padding-bottom: 18px;
  border-bottom: 1px solid #BABABA;
}
.news-list > li:not(:last-of-type) {
  margin-bottom: 16px;
}
.news-list a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  /* width: 100%; */
  padding-left: 3.193%;
  position: relative;
}
.news-list a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 14px 14px;
  border-color: transparent transparent #E5E5E5 transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}
.news-list .thumbnail {
  /* width: 17.288%;
  margin-right: 6.101%;
  line-height: 1; */
}
.news-list .text {
  flex: 1 1 0;
  line-height: 1.687;
}
.news-list .date {
  font-size: 0.8125rem;
  color: #808080;
}

.post-header .cat-list {
  font-size: 0.8125rem;
}
.post-header .cat-list > li {
  padding-right: 18px;
  padding-left: 18px;
}
.post-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: #555555;
}
.post-header time {
  margin-bottom: 0.5em;
}
/* single.php */
.post-title {
  color: #666;
  border-bottom: 3px #79b530 dashed;
  margin-bottom: 0.718em;
  font-size: 1.375rem;
  font-weight: bold;
  line-height: 1.468;
}
.post-wrapper {
  line-height: 1.75;
  letter-spacing: 0.11em;
}
.post-wrapper > * {
  margin-bottom: 36px;
}
.post-wrapper h2 {
  padding-left: 1.166em;
  margin-bottom: 1.5em;
  border-left: 3px solid #333;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}
.post-wrapper h3 {
  padding: 10px 4.444%;
  margin-bottom: 1.318em;
  background-color: #E2EBEF;
  border-radius: 10px;
  font-size: 1.375rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}
.post-wrapper .images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post-wrapper .images-wrapper.col2 {
  margin-bottom: 0;
}
.post-wrapper .images-wrapper.col2 > a {
  width: 47.46%;
  margin-bottom: 36px;
}
.post-wrapper h2 {
  font-size: 1.125rem;
}
.post-wrapper h3 {
  font-size: 1rem;
}
.box-white {
  padding: 60px 6.551% 92px;
  margin-bottom: 74px;
  background-color: #fff;
  border: 2px #79b530 dotted;
  border-radius: 10px;
}
.box-white.is-page404 {
  padding-top: 56px;
  padding-bottom: 56px;
}
.box-white {
  padding-top: 1em;
  padding-bottom: 60px;
}
  
  
.post .box-white {
  padding-right: 5.882%;
  padding-left: 5.882%;
}
.post .eyecatch {
  height: 0;
  padding-top: 59.841%;
  position: relative;
  overflow: hidden;
}
.post .eyecatch img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.sidebar .item:not(:last-of-type) {
  border-bottom: 1px solid #BABABA;
  margin-bottom: 42px;
}
.sidebar .box-white {
  padding-right: 8.376%;
  padding-left: 8.376%;
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.8125rem;
  color: #555555;
  list-style: none;
}
.cat-list > li {
  min-width: 40px;
  padding: 5px;
  margin-bottom: 0.5em;
  background-color: #F3F3F3;
  border-radius: 5px;
  text-align: center;
  line-height: 1;
}
.cat-list > li:not(:last-of-type) {
  margin-right: 0.923em;
}
.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  margin-top: 28px;
  border-top: 1px dashed #666666;
  border-bottom: 1px dashed #666666;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
}
.page-nav > li {
  min-width: 5em;
  list-style: none;
}
.page-nav > li:first-of-type a::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.page-nav a {
  display: inline-block;
  min-width: 5em;
  padding: 5px 14px;
  position: relative;
}
.page-nav a.to-archive {
  font-weight: bold;
  color: #333;
}
.page-nav a.to-archive::after {
  content: none;
}
.page-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}
.page-nav a.to-archive {
  font-weight: bold;
  color: #333;
}
.page-nav a.to-archive::after {
  content: none;
}
.page-nav a.to-archive {
  padding: 5px 0;
}
.page-nav {
  font-size: 0.8125rem;
}

.c-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  color: #6C6C6C;
  font-size: 0.8125rem;
  line-height: 3.2;
  margin: 0;
  padding: 0;
}
.c-breadcrumbs > li {
  display: inline-block;
  position: relative;
}
.c-breadcrumbs > li:not(:last-of-type)::after {
  content: ">";
  display: inline-block;
  margin-right: 0.5em;
  margin-left: 0.5em;
}

/*--- Tablet View ---------------------------------------------------------------------------------------------------------*/
@media (min-width: 768px){
  /* archive.php front-page.php home.php */
  .inner {
    max-width: calc(1280px + 8%);
    padding-right: 4%;
    padding-left: 4%;
    margin: 0 auto;
  }
  .inner.is-small {
    max-width: calc(1160px + 8%);
  }
  .c-breadcrumbs {
    font-size: 0.875rem;
    margin: 1em;
  }
  .news-wrapper .box-white {
    padding: 26px 7.282% 50px;
  }
  .news-wrapper .main-content {
    width: 61.551%;
  }
  .news-wrapper .sidebar {
    margin-top: 0;
    width: 32.931%;
  }
  .news-wrapper .box-white {
    margin-bottom: 40px;
  }
  .post-header .cat-list {
    font-size: 0.875rem;
  }
  .post-title {
    font-size: 2rem;
  }
}
            
/*--- Desktop View ---------------------------------------------------------------------------------------------------------*/
@media (min-width: 1024px){
}