@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.main {
  position: relative;
  padding: 36px 29px 62px;
}

/* ページネーション */
.page-numbers {
  border-radius: 100%;
  border: 1px solid #cccccc;
  color: #357ed3;
  font-size: 20px;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .page-numbers {
    font-size: 16px;
    width: 40px;
    height: 40px;
    line-height: 36px;
  }
}

.nav-links {
  display: flex;
  justify-content: center;
}

.page-numbers.dots {
  display: inline-block;
  background-color: unset;
  border: none;
  width: unset;
  position: relative;
  line-height: 40px;
  color: transparent; /* テキストを透明に */
}

.page-numbers.dots::before {
  content: "…";
  display: inline-block;
  position: absolute;
  bottom: -0.8em;
  left: 50%;
  transform: translate(-50%, 0);
  color: #000; /* 疑似要素の色を設定 */
}

.pagination .current {
  background-color: #347ed3;
  color: #fff;
  border: none;
}

#main::after {
  content: "";
  display: inline-block;
  width: 214px;
  height: 219px;
  background-image: url(files/images/header/header_fig2.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: -131px;
  right: 9.6%;
  z-index: 1;
}

/* シングルページでは装飾を非表示 */
.single #main::after,
.single #main::before {
  display: none;
}

.article h1,
.article h2 {
  padding: 0;
  line-height: calc(34 / 18);
}

.article h2 {
  margin-bottom: 1.12em;
  color: #357ed3;
  background-color: unset;
  font-size: 18px;
}

.article h3 {
  font-size: 16px;
  line-height: calc(28 / 16);
  padding: 0;
  padding-left: 0.5em;
  border: none;
  position: relative;
  margin-bottom: 0.4em;
  border-left: 3px solid #357ed3;
  padding-bottom: 0.1em;
}

.entry-content a {
  color: #001dfc;
  text-decoration: underline;
}

.entry-content a {
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.entry-content a:hover {
  opacity: 0.7;
  color: #001dfc;
  filter: alpha(opacity=70);
}

.entry-content ul,
.entry-content ol {
  background-color: #f1f8fc;
  font-weight: 600;
  padding: 1.4em 3em;
}
@media screen and (max-width: 768px) {
  .entry-content ul,
  .entry-content ol {
    padding: 0.7em 2.2em;
  }
}

.entry-content ul li,
.entry-content ol li {
  line-height: 2.2;
}

.entry-title,
.archive-title {
  font-size: 18px;
  margin-bottom: 24px;
  margin-top: 0;
}

.entry-title {
  font-size: 26px!important;
}

.article-footer,
.entry-footer {
  margin-top: 90px;
}

/* アイキャッチ上のラベル */
.eye-catch .cat-label {
  display: none;
}

/* 目次 */
#toc {
  width: 100%;
  border: 5px solid #eaeaea;
  padding-top: 1.2em;
  padding-bottom: 1.5em;
}

#toc .toc-list > li:not(:first-child) {
  margin-top: 2.2em;
}

.toc-title {
  text-align: left;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 20px;
  padding: 2px 8px;
}

.toc-content a {
  color: #0027ff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 400;
}

.toc .toc-list {
  list-style: none;
  padding-top: 0em;
  padding-bottom: 0;
  padding-left: 0.5em;
  background-color: unset;
}

.toc .toc-list ol {
  list-style: none;
  position: relative;
  background-color: unset;
}

.toc-list ol li::before {
  content: "・";
  color: #0027ff;
  display: inline-block;
  position: absolute;
  left: 0;
}

@media screen and (max-width: 768px) {
  #toc {
    padding-top: 0.8em;
    padding-left: 1.1em;
    padding-bottom: 1em;
    margin-bottom: 2.4em;
  }
  .toc-list {
    margin-top: 5px;
  }
}

.marker-under {
  background: linear-gradient(transparent 60%, #fff500 60%);
}

#main::before {
  content: "";
  display: inline-block;
  width: 360px;
  height: 148px;
  background-image: url(files/images/header/header_fig1.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: -145px;
  left: 57%;
  transform: translate(-50%, 0);
}

@media screen and (max-width: 768px) {
  #main::before {
    background-image: url(files/images/header/header_fig1_sp.png);
    width: 194px;
    height: 55px;
    top: -52px;
    left: 118px;
  }
}

@media screen and (max-width: 768px) {
  #main::after {
    width: 126px;
    height: 118px;
    top: -73px;
    right: 21px;
  }
}

.content {
  margin-top: -30px;
  background-color: #fff;
}

.no-sidebar .content .main {
  border-radius: 40px 40px 0 0;
}

@media screen and (max-width: 768px) {
  .content {
    margin-top: -18px;
    border-radius: 20px 20px 0 0;
  }
  .no-sidebar .content .main {
    border-radius: 20px 20px 0 0;
    padding-top: 24px;
    padding-bottom: 10px;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: inherit;
}

.fade,
.list a {
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.fade:hover,
.list a:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.footer {
  margin-top: 0;
  padding: 0;
}

.a-wrap {
  padding: 0;
}

.a-wrap:hover {
  background-color: unset;
  color: inherit;
}

.carousel-entry-card-thumb,
.related-entry-card-thumb,
.widget-entry-card-thumb,
.entry-card-thumb {
  float: unset;
}

/* category一覧ページ */

/* 次へ、前への非表示 */
.pagination-next,
.pagination-previous {
  display: none;
}
/* PVエリアの非表示 */

.archive-title {
  display: none;
}
.list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 12px;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.entry-card-thumb {
  width: 100%;
}
.admin-pv {
  display: none;
}

.entry-card-content {
  margin: 0;
}

.card-thumb img {
  aspect-ratio: 338 / 200;
  border-radius: 10px;
}

.article {
  max-width: 785px;
  margin: 0 auto;
}

@media screen and (max-width: 834px) {
  main.main,
  div.sidebar {
    padding: 32px 20px;
  }
}

@media screen and (max-width: 768px) {
  .article h1 {
    font-size: 16px;
    line-height: calc(26 / 16);
  }
}
.sns-share {
  margin-top: 40px;
}

.sns-share-message {
  text-align: left;
  font-size: 18px;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .sns-share-message {
    font-size: 16px;
  }
}

.sns-buttons {
  justify-content: flex-start;
  margin-top: 23px;
}

/* SP用、2つ目以降のニュース一覧 */
@media screen and (max-width: 768px) {
  .entry-card-wrap:not(:first-child) {
    .entry-card {
      display: grid;
      grid-template-columns: 36% 1fr;
      gap: 20px;
    }

    .news-list__meta {
      display: block;
      margin-bottom: 0;
    }

    .news-list__content {
      padding: 0;
    }

    .news-list__title {
      margin-top: 0px;
    }
  }
  .sns-buttons {
    margin-top: 15px;
  }
  .sns-buttons a {
    height: 30px;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}

.go-to-top-button,
.go-to-top-common,
.go-to-top-hide,
.go-to-top-button-icon-font {
  border-radius: 100px;
  width: 60px;
  height: 60px;
  background-color: #8b99afbd;
}

.fa-angle-double-up:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 12px;
  background-image: url(files/images/common/arw.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-bottom: 7px;
}
