@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/
/************************************
** 子テーマ用のスタイルを書く
************************************/
body {
  overflow-x: hidden;
}

/* header */
.header-container-in.hlt-top-menu {
  padding: 0 40px;
}

.site-name-text-link {
  padding: initial;
}

.header .logo-header img {
  width: 90px;
}

.navi-in > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  text-align: initial;
  align-items: center;
  height: 70px;
}

#navi .navi-in>ul>li {
  width: initial;
}

.navi-in > ul li {
  height: initial;
  line-height: initial;
  margin-left: 40px;
}

.navi-in a {
  font-size: 14px;
  font-weight: 600;
}


/* KW Newsロゴエリア */
.content-top {
  padding: 150px 40px 0;
  margin: initial;
  transition: all 1.0s;
}

.content-top .widget_media_image {
  margin-bottom: 70px;
}

.content-top .widget img {
  width: 400px;
  transition: all 1.0s;
}



/* カテゴリメニューエリア */
.content-top .widget_custom_html {
  margin-bottom: 105px;
}

.kw-news-nav {
  width: 100vw;
	margin: 0 calc(46.5% - 50vw);
  padding: 0 calc(50vw - 50%);
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  overflow-x: auto;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.kw-news-nav::-webkit-scrollbar {
  display:none; /* Chrome, Safari 対応 */
}

.kw-news-nav ul {
  padding-left: 45px;
}

.kw-news-nav__list {
  display: flex;
  align-items: center;
  height: 100px;
  margin: 0;
  list-style: none;
}


.kw-news-nav__item {
  margin: 0 60px;
  transition: all 1.0s;
}

.kw-news-nav__item:first-child {
  margin-left: 0;
}

.kw-news-nav__link {
  font-size: 20px;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0 40px;
  color: #333;
}

.kw-news-nav__link::after {
  content: "";
  position: absolute;
  bottom: -32px; /* border-bottom に重なるように */
  left: 0;
  width: 100%;
  color: #77198d;
  transform: scaleX(0);
  transform-origin: bottom;
  transition: transform 0.3s ease, height 0.3s ease;
}

.kw-news-nav__link:hover {
  color: #77198d;
}

.kw-news-nav__link:hover::after {
  transform: scaleX(1);
  height: 3px;
  background-color: #77198d;
}

.kw-news-nav__link.active {
  color: #77198d;
}


.kw-news-nav__link.active::after {
  transform: scaleX(1);
  height: 3px;
  background-color: #77198d;
}




/* コンテンツエリア */
.main {
  margin-bottom: 100px;
}

.archive-title {
  margin-bottom: 3px !important;
}

#list, .list-wrap {
  margin-bottom: 120px;
}

.list {
  row-gap: 140px;
}

.list > a {
  position: relative;
}

.list > a::after {
  content: '';
  display: block;
  height: 1px;
  background-color: #ccc;
  width: calc(100% + 10px); /* 親要素の幅 + 10px */
  position: absolute;
  left: -5px; /* 左右5pxずつ伸ばす */
  bottom: -70px; /* 区切り線をrow-gapの半分の位置に配置 */
}

.list > a:last-child::after {
  display: none;
}

.a-wrap {
  padding: 0 10px;
}

.entry-card .cat-label,
.related-entry-card .cat-label {
  display: none;
}

.entry-card-thumb {
  width: 290px; /* アーカイブ系サムネイル */
}

.related-entry-card-title, .entry-card-title {
  margin: 0 0 15px 0;
  line-height: 1.7;
}

.entry-card-snippet {
  font-size: 15px;
  line-height: 1.7;
}

.pagination-next {
  display: none;
}

.page-numbers { 
  height: 40px;
  width: 35px;
  margin: 0 7px;
  line-height: 40px;
  border:1px solid #ccc;
} 

.pagination .current { 
  background-color:#77198d;
  color:#fff;
  border:1px solid #77198d;
} 
  .pagination a:hover { 
  background-color:#77198d;
  color:#fff;
  border:1px solid #77198d;
} 


/* サイドバーエリア */
.body .widget{
  margin-bottom: 80px;
}

.sidebar {
  padding-top: 70px;
}

.sidebar h3 {
  letter-spacing: .1em;
  border-bottom: 3px solid #333;
}

.widget-entry-cards figure {
  width: 110px;
}

.widget-entry-cards .a-wrap {
  margin-bottom: 40px;
  position: relative;
}

.widget-entry-cards .a-wrap::after {
  content: '';
  display: block;
  height: 1px;
  background-color: #ccc;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -20px;
}

.widget-entry-card {
  font-size: 14px;
  font-weight: 500;
}

.widget-entry-card-content {
  padding-top: 4px;
}

.widget_new_entries .display-none {
	display: block;
}

.widget-entry-card .post-date {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
}

.widget-entry-card .post-date::before {
  font-family: "Font Awesome 5 Free";
  content: '\f017';
  font-size: 10px;
  margin-right: 2px;
}

.widget-entry-card .post-update {
	display: none;
}


/* 投稿ページ */
.article-header {
  display: flex;
  flex-flow: column;
}
  
.entry-title {
  order: 2;
  letter-spacing: .03em;
}

.eye-catch-wrap {
  order: 3;
}

.date-tags {
  order: 1;
  letter-spacing: .02em;
  text-align: left;
  margin-bottom: initial;
}

.entry-title, .archive-title {
  font-size: 32px;
  margin: 16px 0 50px;
  line-height: 1.5 !important;
}

.wp-block-heading {
  padding: 60px 0 5px 0 !important;
}

.entry-content {
  margin-bottom: 50px;
}

.entry-categories-tags {
  margin-bottom: 50px;
}

.sns-share-buttons {
  margin-bottom: 80px;
}

.pager-post-navi {
  margin-bottom: 120px;
}

.pager-post-navi a {
  border: 1px solid #ccc;
}

.pager-post-navi a:last-child {
  border-left: none;
}

.pager-post-navi a figure {
  min-width: 100px;
  max-width: 100px;
}

.pager-post-navi a figure img {
  height: 70px;
}

.prev-next-home span {
  display: none;
}

.related-entries {
  margin-bottom: 140px;
}

.related-entry-heading {
  display: inline-block;
  width: 100%;
  height: 40px;
  font-size: 20px;
  letter-spacing: .25em;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 40px;
  color: #fff;
  background-color: #333;
}

.rect-vertical-card-3 .related-list {
  column-gap: 2.75%;
}

.rect-vertical-card-3 .related-entry-card-wrap {
  width: 31.5%;
}

.related-list {
  row-gap: 40px;
  margin-bottom: 2em;
}

.related-entry-card-thumb {
  margin-bottom: 8px !important;
}

.related-entry-card-title {
  margin-bottom: 5px;
}

.related-entry-card-snippet {
  line-height: 1.5;
}

/* Smartslider */
.n2-section-smartslider .n2-ss-slider-wrapper-inside picture.skip-lazy {
	position: relative;
}

.n2-section-smartslider .n2-ss-slider-wrapper-inside picture.skip-lazy img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 560px;
	position: absolute;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.n2-section-smartslider .n2-ss-slider-controls img {
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.7)); 
}



/* フッターエリア */
#footer {
  width: 100vw;
	margin: 0 calc(50% - 50vw);
	background: #eee;
}

.footer-in {
  padding: 40px 12% 0;
}

.footer-widgets {
  font-size: 15px;
}

.footer-mobile, .footer-left, .footer-center, .footer-right {
  padding: initial;
}

.footer-menu__ttl {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 25px 0;
}

.footer-menu__list {
  padding-left:0;
}

.footer-menu__item {
  list-style:none;
  margin-bottom: 20px;
}

.footer-menu__link {
  text-decoration: none;
}

.footer-menu__link::before {
  font-family: 'Font Awesome 5 Free';
  font-size: 12px;
  font-weight: 600;
  content: '\f0da';
  margin-right: 1rem;
  color: #77198d;
}

.footer .widget {
  margin-bottom: 60px;
}


.footer-sns__list {
  padding-left:0;
  margin-bottom: 18px;
}

.footer-sns__list::before {
  display: inline-block;
  width: 70px;
}

.footer-sns__list--kw::before {
  content: "KW　→";
}

.footer-sns__list--st::before {
  content: "ST 　→";
}

.footer-sns__item {
  list-style:none;
  display: inline-block;
  margin-right: 30px;
}

.footer-sns__item--deco {
  width: 30px;
  height: 20px;
  text-align: center;
}

.footer-sns__list i {
  font-size: 18px;
}

.footer-bottom-logo {
  float: none;
  position: initial;
}

.footer-bottom-content {
  float: none;
  text-align: center;
}

.copyright {
  font-size: 11px;
}




/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1299px以下*/
@media screen and (max-width: 1299px) {
  /* カテゴリメニューエリア */
  .kw-news-nav {
    margin: 0 calc(50% - 50vw);
  }

  .kw-news-nav ul {
    padding-left: initial;
  }

  /* コンテンツエリア */
  .main, .sidebar, .sidebar-left .main, .sidebar-left .sidebar {
    margin: initial;
  }

  .main {
    width: 68.5%;
  }

  .entry-card-content {
    margin-left: 330px;
  }
}



/*1072px以下*/
@media screen and (max-width: 1072px) {
  /* カテゴリメニューエリア */
  .kw-news-nav__item {
    margin: 0 30px;
    transition: all 1.0s;
  }
}



/*1023px以下*/
@media screen and (max-width: 1023px) {
  .content-top .widget img {
    width: 330px;
    transition: all 1.0s;
  }

  .header-container-in.hlt-top-menu {
    padding: 13px 40px 0;
}


}



/*834px以下*/
@media screen and (max-width: 834px) {
  /* KW Newsロゴエリア */
  .content-top {
    padding: 50px 16px 0;
    transition: all 1.0s;
  }

  .content-top .widget_media_image {
    margin-bottom: 40px;
  }

  .content-top .widget img {
    display: block;
    width: 280px;
    margin: 0 auto;
    transition: all 1.0s;
  }
	
	/* カテゴリメニューエリア */
.content-top .widget_custom_html {
  margin-bottom: 40px;
}

.kw-news-nav__list {
  height: 85px;
}

.kw-news-nav__item {
  margin: 0 40px;
  transition: all 1.0s;
}

.kw-news-nav__link {
  font-size: 18px;
  padding: 0 30px;
}

.kw-news-nav__link::after {
  bottom: -27px; /* border-bottom に重なるように */
}

/* Smartslider */
.n2-section-smartslider .n2-ss-slider-wrapper-inside picture.skip-lazy img {
	max-height: 240px;
}
	
}





/*480px以下*/
@media screen and (max-width: 480px) {
  /* KW Newsロゴエリア */
  .content-top .widget_media_image {
    margin-bottom: 30px;
  }

  /* コンテンツエリア */
  .entry-card-thumb {
    float: initial;
    width: 100%;
  }

  .ect-entry-card .card-thumb {
    margin-bottom: 12px;
  }

  .entry-card-title {
    margin-bottom: 5px;
  }

  .entry-title, .archive-title {
    font-size: 28px;
    margin: 14px 0 40px;
    padding: 0;
  }
  
  .pager-post-navi a:last-child {
    border-left: 1px solid #ccc;
  }
  
  .rect-vertical-card .related-list {
    flex-direction: column;
  }
  
  .rect-vertical-card-3 .related-entry-card-wrap {
    width: 100%;
  }

}