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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


.header-container-in.hlt-top-menu .logo-header img {
  max-height: 36px;
  height: auto;
  vertical-align: middle;
}


.related-entry-card-title, .entry-card-title {
  font-size: 20px;
  margin: 0 0 5px 0;
  line-height: 1.25;
  font-weight: 800;
  font-family: 'Noto Serif JP', serif;
}

.entry-title, .archive-title {
  font-size: 32px;
  margin: 16px 0;
  line-height: 1.2;
  font-family: 'Noto Serif JP', serif;
  font-weight: 800;
}

.article h3 {
  border-left: 7px solid var(--cocoon-middle-thickness-color);
  border-right: 1px solid var(--cocoon-thin-color);
  border-top: 1px solid var(--cocoon-thin-color);
  border-bottom: 1px solid var(--cocoon-thin-color);
  font-size: 20px;
  padding: 12px 20px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
}

.tag-link, .comment-reply-link {
  color: var(--cocoon-text-color);
  text-decoration: none;
  display: inline-block;
  margin-right: 5px;
  padding: 1px 8px;
  font-size: 12px;
  border: 1px solid var(--cocoon-x-pallid-text-color);
  border-radius: 15px;
  word-break: break-all;
}

.cat-link {
  color: var(--cocoon-white-color);
  text-decoration: none;
  display: inline-block;
  margin-right: 5px;
  padding: 2px 9px;
  font-size: 12px;
  background-color: var(--cocoon-text-color);
  word-break: break-all;
  border: 1px solid var(--cocoon-x-pallid-text-color);
  border-radius: 15px;

}
.kaerebalink-name{
font-size: 120%;
font-weight: 800;
text-decoration: none;}

.booklink-box,
.kaerebalink-box,
.tomarebalink-box,
.product-item-box {
  padding: 20px 25px 10px;
  width: 96%;
  border: 2px solid #dfdfdf;
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
}

.booklink-image,
.kaerebalink-image,
.tomarebalink-image,
.product-item-thumb {
  width: 160px;
  min-width: 160px;
  margin: 0 auto 1em !important;
  float: none !important;
  text-align: center;
}
.booklink-image *,
.kaerebalink-image *,
.tomarebalink-image *,
.product-item-thumb * {
  display: block;
}
.booklink-image > a > img,
.kaerebalink-image > a > img,
.tomarebalink-image > a > img,
.product-item-thumb > a > img {
  margin: 0 auto;
}
.booklink-info,
.kaerebalink-info,
.tomarebalink-info,
.product-item-content {
  line-height: 125%;
  width: 100%;
}

.booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date {
  font-size: 12px;
}

.booklink-detail, .kaerebalink-detail, .tomarebalink-address {
  color: #333;
  font-size: 12px;
  margin: 0 0 10px;
}

.kaerebalink-link1 > *,
.booklink-link2 > *,
.tomarebalink-link1 > *,
.product-item-buttons > * {
  background: none !important;
  padding: 0 !important;
  display: block !important;
}
.kaerebalink-link1 a,
.booklink-link2 a,
.tomarebalink-link1 a,
.product-item-buttons a {
  width: 90%;
  display: block;
  margin: 0px auto 8px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
.kaerebalink-link1 a:hover,
.booklink-link2 a:hover,
.tomarebalink-link1 a:hover,
.product-item-buttons a:hover {
  opacity: 0.6;
}

@media screen and (min-width: 769px) {
  .booklink-box,
  .kaerebalink-box,
  .tomarebalink-box,
  .product-item-box {
    text-align: left;
    display: flex;
    font-size: inherit !important;
    border-radius: 10px;
    font-weight: 800;

  }

  .booklink-image,
  .kaerebalink-image,
  .tomarebalink-image,
  .product-item-thumb {
    vertical-align: top;
    box-sizing: border-box;
    min-width: auto !important;
  }

  .booklink-info,
  .kaerebalink-info,
  .tomarebalink-info,
  .product-item-content {
    line-height: 125%;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 25px;
    width: 100%;
  }

  .booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date {
    margin: 6px 0 0;
  }

  .booklink-detail, .kaerebalink-detail {
    margin: 0 0 14px;
  }

  .booklink-link2,
  .kaerebalink-link1,
  .tomarebalink-link1,
  .product-item-buttons {
    display: flex;
    flex-wrap: wrap;
  }
  .booklink-link2 a,
  .kaerebalink-link1 a,
  .tomarebalink-link1 a,
  .product-item-buttons a {
    width: auto;
    text-align: center;
    border-radius: 3px;
  }
  .booklink-link2 a img,
  .kaerebalink-link1 a img,
  .tomarebalink-link1 a img,
  .product-item-buttons a img {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .booklink-link2 > *,
  .kaerebalink-link1 > *,
  .tomarebalink-link1 > *,
  .product-item-buttons > * {
    margin: 0.5%;
    box-sizing: border-box;
  }
}
.shoplinkbtn {
  position: relative;
  border-radius: 5px;
}
.shoplinkbtn img {
  position: absolute;
}


.shoplinkamazon a {
  background: #f79901;
  border-radius: 5px;
  padding: 6px 15px;
}

.shoplinkrakuten a {
  background: #bf0000;
  border-radius: 5px;
  padding: 6px 15px;
}

.shoplinkyahoo a {
  background: #e60033;
  position: relative;
  border-radius: 5px;
  padding: 6px 15px;
}


/* 見出しh2 */
.article h2 {  
    font-family: 'Noto Serif JP', serif;
  padding-left: 0;
    border-left: 0px ;
    border-right: 0px ;
    border-top: 0px ;
    border-bottom: 0px;

  padding-bottom: 5px;
	border-bottom: solid 3px #444;
	position: relative;
	margin-bottom: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
    background-color: #fff;
} 
.article h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #e49000;
	bottom: -3px;
	width: 30%;
  }

  .article h3 {
    border-left: 0px solid var(--cocoon-middle-thickness-color);
    border-right: 0px solid var(--cocoon-thin-color);
    border-top: 0px solid var(--cocoon-thin-color);
    border-bottom: 1px solid #666;
    font-size: 18px;
    padding: 6px 0px;
  }
  


  /* スライドボタン */
  .hovItem {
    display: inline-block;
      text-decoration: none; /* リンクのアンダーラインを削除 */
    margin-top: 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: none;
    text-align: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #e49000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
    min-width: 240px;
    height: 50px;
    padding: 0 15px;
    }
    
    .hovItem::before {
    display: inline-block;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0%;
    height: 100%;
    background-color: #a71b53;
    transition: .5s;
    }
    
    .hovItem:hover::before {
    width: 100%;
    }
    
.linktxt
{color: #fff;
font-weight: 800;
decoration: none;
}

.entry-title, .archive-title {
  font-size: 34px;
  margin: 16px 0;
  padding: 5px 0;
  line-height: 1.2;
  font-family: 'Noto Serif JP', serif;
  font-weight: 800;
}

.cat-label {
  position: absolute;
  top: 0.7em;
  left: 0.7em;
  font-size: 11px;
  color: #fff;
  background-color: #e49000;
  border: 0px;
  border-radius: 15px;
  padding: 1px 5px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-entry-card-title, .entry-card-title {
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.25;
  font-weight: 800;
  font-family: 'Noto Serif JP', serif;}

.sns-buttons a {
    align-content: center;
    align-items: center;
    background-color: var(--cocoon-sns-color);
    border-radius: var(--cocoon-basic-border-radius);
    display: inline-flex;
    font-size: 15px;
    justify-content: center;
    height: 30px;
    margin-bottom: 8px;
    position: relative;
    text-align: center;
    width: 32%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    color: var(--cocoon-white-color);
    text-decoration: none;
}
.sns-share-buttons a .share-count {
  position: absolute;
  right: 3px;
  font-size: 10px;
  line-height: 1;
}

.entry-title,
.archive-title {
  font-size: 33px;
  margin: 0px 0 16px;
  line-height: 1.3;
}

.sns-follow-message, .sns-share-message {
  font-style: italic; /* フォントスタイルをイタリックに設定 */
  font-size: 60px;
  color: #444;
  margin: 0 0 10px 0;
  line-height: 1.25;
  font-family: "Anton", sans-serif;
  font-weight: 500;
  text-align: left;
  margin-bottom: -20px;
  position: relative; /* 親要素の位置を相対位置に設定 */
  overflow: hidden; /* はみ出た内容を非表示に設定 */
}

.sns-follow-message::after, .sns-share-message::after {
  content: ""; /* 内容は空 */
  position: absolute; /* 絶対位置指定 */
  bottom: 5px; /* 要素の下部に配置 */
  left: 0; /* 左端から */
  right: 0; /* 右端まで */
  height: 20px; /* 下部30pxを覆う */
  background-color: white; /* 覆う色（背景に合わせる） */
}





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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .entry-title, .archive-title {
    font-size: 28px;
    margin: 16px 0;
    padding: 5px 0;
    line-height: 1.2;
    font-family: 'Noto Serif JP', serif;
    font-weight: 800;
  }
  
}


.tagline {
  text-align: center;
  font-size: 14px;
  margin: -2em 1em 0.5em;
}

.widget h2 {
  font-size: 16px;
  font-family: 'Noto Serif JP', serif;

}

.wp-block-latest-posts__post-title
{
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9em;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
  line-height: 1.2;
}

.widget-sidebar-title,
.widget-title
{
  font-size: 0.9em;
  text-decoration: none;
  padding: 0px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
}

.widget-entry-card {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  font-family: 'Noto Serif JP', serif;
}


.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a, .widget_block ul li a {
  color: var(--cocoon-text-color);
  text-decoration: none;
  padding: 10px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.eye-catch .cat-label {
  position: absolute;
  right: auto;
  top: 0.6em;
  bottom: auto;
  left: 0.6em;
  font-size: 14px;
  padding: 2px 8px;
  opacity: 0.9;
  border: 0px solid #eee;
}


/* 一覧カード画像を固定高さでトリミング */
.entry-card-thumb,
.related-entry-card-thumb {
  overflow: hidden;
}

.entry-card-thumb-image,
.related-entry-card-thumb-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}