@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.5
*/


/************************************
** 子テーマ用のスタイルを書く
************************************/


/*必要ならばここにコードを書く*/


/************************************
** 文字と段落の装飾
************************************/


/* studying-price */

.regular-price {
  display: none;
}


/* Noto Sans JP */

@font-face {
  font-family: Noto Sans JP;
  font-style: normal;
  font-weight: 400;
  src: url('https://kiryusblog.com/wp-content/themes/cocoon-child-master/font/NotoSansJP-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: Noto Sans JP;
  font-style: normal;
  font-weight: 700;
  src: url('https://kiryusblog.com/wp-content/themes/cocoon-child-master/font/NotoSansJP-Bold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: Noto Sans JP;
  font-style: normal;
  font-weight: 900;
  src: url('https://kiryusblog.com/wp-content/themes/cocoon-child-master/font/NotoSansJP-Black.woff') format('woff');
  font-display: swap;
}

body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
}


/* 一部フォント修正（バックスラッシュ表示のため） */

.font-arial {
  font-family: "Arial"
}


/* 文字間隔 */

body {
  letter-spacing: .2px;
}


/* リンク */

a.amazon-item-title-link,
a.amazon-item-review-link,
a.rakuten-item-title-link,
.article p a,
.article li a,
.article table a,
.article .credit a,
.article dl a,
.article .point-label a,
.author-name a,
.author-info a,
.sidebar p a,
.toggle-wrap a {
  font-weight: bold;
  text-decoration: none;
}

/* 強調 */

.red,
.marker-under {
  font-weight: bold;
}

.xlarge {
  font-weight: bold;
  font-size: x-large;
}

.xxlarge {
  font-weight: bold;
  font-size: xx-large;
}

.small {
  font-size: small;
}


/* 中央寄せ */

.banner {
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.centered {
  text-align: center;
}

.article .adbanner,
.sidebar .adbanner {
  text-align: center;
}

.article .testimage,
.sidebar .testimage {
  text-align: center;
}


/* 引用元情報 */

.article .credit,
#sidebar .credit {
  font-size: small;
  color: gray;
  text-align: center;
  margin-top: -1em;
  margin-bottom: 2em;
}


/* 見出し 見た目 */

.article h3 {
  border-top: none;
  border-right: none;
}

.article h4 {
  border-top: none;
}


/* 見出し 余白 */

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin-top: 2.0em;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin-bottom: 1.2em;
}


/* 分数 */

.frac {
  display: inline-block;
  vertical-align: -0.6em;
  text-align: center;
  font-size: 1em;
  line-height: 1.2em;
}

.frac-top,
.frac-bottom {
  display: block;
  padding: 0 0.3em;
  margin: 0px 0.2em 0px 0.05em;
}

.frac-top {
  line-height: 1.0em;
}

.frac-bottom {
  line-height: 1.2em;
  border-top: solid 0.075em;
}


/* コード */

.entry-content pre {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
}


/* 見えないblockquote */

.article .hidden-blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.article .hidden-blockquote::before {
  content: "";
}

.article .hidden-blockquote::after {
  content: "";
}


/* 評価の星 */

img.star {
  box-shadow: none;
  margin-right: 8px;
}


/************************************
** 記事上段
************************************/


/* ロゴ */

.tagline,
.site-name-text {
  font-weight: bold;
}


/* アイキャッチ画像 */

.eye-catch {
  margin-left: auto;
  margin-right: auto;
}

.eye-catch-image {
  box-shadow: 5px 5px 15px #eee;
}

.category-page-content p img {
  box-shadow: 5px 5px 15px #eee;
}


/* イントロ */

.intro {
  margin-bottom: 1.8em;
}

.intro .speech-balloon {
  font-weight: bold;
}


/* バルーンとバルーン横画像 */

.speech-wrap {
  margin-top: 2em;
  margin-bottom: 2em;
}

.entry-content .speech-balloon p {
  margin-top: 0;
  margin-bottom: 0;
}

.iwe-shadow .speech-wrap img,
.iwe-shadow .speech-wrap amp-img {
  box-shadow: none;
}

div.speech-balloon {
  padding-left: 16px;
}


/* ボタン */

.btn {
  box-shadow: 0 7px 10px -5px rgba(0, 0, 0, 0.5);
  min-width: 120px;
}

.btn-l {
  max-width: 500px;
  margin: 30px auto;
  margin-bottom: 2.4em;
  box-shadow: 0 7px 10px -5px rgba(0, 0, 0, 0.5);
}


/* ボタン上のマイクロコピー */

.copy-above-botton {
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: -1.8em;
}


/* ボタンを光らせる https://give-shot.jp/tokyocss/button-shine/  */

.btn {
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 10%;
  height: 150%;
  background: #fff;
  transform: rotate(45deg);
  animation: reflect 3s linear infinite;
}


/* relfectは後ろのほうで定義 */


/************************************
** 記事下段
************************************/

/* カテゴリーラベル */

.entry-categories-tags {
  padding: 1em 1em 1em;
  margin: 0 0 2em;
  color: #333;
  background-color: #e9f3fd;
  border-radius: 4px;
}

.entry-categories-tags> :last-child {
  margin-bottom: 0;
}

.cat-link {
  color: #1967d2;
  text-decoration: none;
  display: block;
  font-weight: bold;
  font-size: 0.9em;
  background: #e9f3fd;
}

.cat-link:hover {
  opacity: 1;
  color: #e53900;
  background-color: #eee;
}

.entry-categories-tags .tax-icon {
  margin-right: 0;
}

.entry-categories-tags .tax-icon:after {
  content: "「";
  font-weight: bold;
  font-family: "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.cat-link:after {
  content: "」の記事一覧";
  font-weight: bold;
}


/* SNSシェア */

.sns-share,
.sns-follow {
  margin: 2em 0 2.5em;
}


/* CTAボックス */

#cta_box-2 {
  margin-bottom: 1.8em;
}


/* author box in article */

.article .widget_author_box .widget-title {
  border-top: none;
  border-right: none;
  border-left: 7px solid #002266;
  display: block;
  font-weight: bold;
  padding: 7px 10px;
}

.article .author-box {
  padding: 1.2em 1em 0.5em;
  line-height: 1.9;
  border: none;
  border-radius: 0;
  border-top: 1px solid #002266;
  border-bottom: 1px solid #002266;
  font-size: 0.9em;
}

.article .author-box .author-widget-name {
  text-align: center;
  margin-bottom: 12px;
}

.article .author-box .author-thumb {
  float: none;
  margin: 10px auto 5px;
}

.article .author-box .author-content {
  margin-left: 0;
}

.article .author-box .author-name {
  text-align: center;
}

.article .author-box .author-name a {
  color: #333;
}

.article .author-box p {
  line-height: 1.9;
  margin-bottom: 0;
}

.article .author-box .profile-follows {
  display: none;
}


/* フッター内テキストウィジェット画像位置修正 */

.entry-footer amp-img {
  display: inline-block;
}


/************************************
** サイドバー
************************************/


/* サイドバー内リスト */

.sidebar ul {
  margin-bottom: 1.2em;
}


/* サイドバー内パラグラフ */

.sidebar p {
  margin-top: 1.0em;
  margin-bottom: 1.0em;
}


/* サイドバー内テキストウィジェット内ブログカード */

.sidebar .textwidget .blogcard-wrap {
  margin: 15px auto 24px auto
}

.sidebar .textwidget .blogcard-snippet {
  display: none;
}


/* 新着記事 */

.widget-entry-card {
  font-size: 0.9em;
  font-weight: bold;
}


/* 追従目次 */

.toc-widget-box {}


/************************************
** テーマ内の視覚要素の修正
************************************/

/* フロントページ */

.card-arrow .a-wrap {
  height: 100px;
}

/* PRラベル表示 */

.article-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
}

.entry-title,
.archive-title {
  order: 1;
  width: 100%;
}

.archive-title {
  order: 1;
  width: 100%;
}

.date-tags {
  order: 2;
}

.article .post-date,
.article .post-update {
  font-size: 17px;
}

#pr-label {
  order: 3;
  border: none;
  font-size: 17px;
  line-height: 1.2;
  padding: 0 3px 0 3px;
  margin-bottom: 1em;
  margin-left: -6px;
}

.eye-catch-wrap {
  order: 4;
  width: 100%;
}

.review-rating {
  order: 5;
  margin-right: 8px;
}

/* オーバーレイ */

#overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px 30px 0 30px;
  width: 80%;
  z-index: 5;
  font-size: 0.9em;
}

#overlay .bold {
  text-decoration: underline;
}

#close-button {
  position: absolute;
  top: 1px;
  right: 5px;
  cursor: pointer;
  font-size: 20px;
  color: white;
}


/* トグルボックス */

.toggle-wrap {
  font-size: 0.8em;
}

.toggle-button+p {
  display: none;
}


/* ブログカード */

.card-thumb img,
.blogcard-thumbnail img,
.card-thumb amp-img,
.blogcard-thumbnail amp-img {
  box-shadow: none;
}

.sidebar .blogcard {
  padding: 3%;
}


/* もっと見るボタン */

.list-more-button {
  display: block;
}


/* リスト */

.article ul,
.article ol {
  padding: 0px;
  padding-left: 25px;
}

.article ul ul {
  margin-bottom: 0;
  list-style-type: square;
}

.refer-to-category {
  list-style-type: circle;
  /* 一部のカテゴリーページで使用 */
}

/* 定義リスト */

.article dl {
  padding-left: 6px;
}

.article dt {
  font-weight: bold;
}

.article dd {
  margin-top: 4px;
  margin-bottom: 16px;
  margin-left: 40px;
}

.article dd:last-child,
.posts-not-found dd:last-child {
  margin-bottom: 0;
}

/* 開閉リスト */

.article summary {
  font-weight: bold;
}

.article details {
  margin-bottom: 2em;
}


/* テーブル 幅とテキスト位置*/

.article table {
  width: 98%;
  margin: 0 auto;
}

.article .title-box table,
.article .point table {
  width: 100%;
}

.article dd table {
  width: 100%;
  margin: 10px auto;
}

.article th,
.article td {
  text-align: center;
  vertical-align: middle;
}

.article .scrollable-table td {
  height: 5em;
}

article table td .btn {
  margin-top: 1.3em;
  margin-bottom: 1.3em;
}


/* テーブル 色と線 */

.article table thead th {
  background-color: #5B9BD5;
  color: #fff;
}

.article table tbody tr:nth-of-type(2n+1) td,
.article table tbody tr:nth-of-type(2n+1) th {
  background-color: #fff;
}

.article table tbody tr:nth-of-type(2n) td,
.article table tbody tr:nth-of-type(2n) th {
  background-color: #f8fbfd;
}

.article .scrollable-table th,
.article .scrollable-table td {
  padding-right: 8px;
  padding-left: 8px;
}


/*
.article table th, table td {
  border: none;
}

.article table {
  border-bottom: 1px solid #5B9BD5;
}
*/


/* テーブル 比較表のための調整 */

.comparison td,
.comparison th {
  padding-top: 1.0em;
  padding-bottom: 1.0em;
}

.grade-a {
  line-height: 1.5;
  font-weight: bold;
  font-size: xx-large;
  color: #ff7485;
}

.grade-b {
  line-height: 1.5;
  font-weight: bold;
  font-size: xx-large;
  color: #59b0ff;
}

.grade-c {
  line-height: 1.5;
  font-weight: bold;
  font-size: xx-large;
  color: #2ec4c4;
}

.grade-d {
  line-height: 1.5;
  font-weight: bold;
  font-size: xx-large;
  color: #555555;
}


/* アマゾン */

.amazon-item-box {
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
}


/* 楽天 */

.rakuten-item-box {
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.rakuten-item-box img.rakuten-item-thumb-image {
  border: 0;
  box-shadow: none;
}


/* SNSシェアメッセージ */

.sns-share-message {
  font-weight: bold;
}


/* 画像 */

img.no-shadow {
  box-shadow: none;
}


/************************************
** テーマ外の視覚要素
************************************/


/* ツイッター埋め込み */

.twitter-tweet {
  margin-left: auto;
  margin-right: auto;
}


/* インスタグラム埋め込み*/

.instagram-media {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Googleマップ埋め込み */
iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 検索ボタン */

.search_button {
  text-decoration: none;
  color: white;
  padding: 6px 12px;
  border-radius: 3px;
}

.search_button_amazon {
  background: #f79901;
}

.search_button_rakuten {
  background: #bf0000;
}

.search_button_yahoo {
  background: #e60033;
}

.search_button_twitter {
  background: #1A91DA;
}

.search_button_youtube {
  background: #FF0000;
}

.search_button_2ch {
  background: #000000;
}

.search_button_instagram {
  background: #E46999;
}

.search_button_facebook {
  background: #4267B2;
}

.search_button:hover {
  text-decoration: none;
  color: white;
  opacity: .6;
}


/* 手順解説リスト */

.entry-content ol.proc {
  counter-reset: number;
  margin-bottom: 1.5em;
  padding: 0;
  border: none;
}

.entry-content ol.proc li {
  line-height: 1.7;
  position: relative;
  list-style: none;
  padding: 20px 10px 20px 40px;
  margin-bottom: 20px;
  background-color: #e9f3fd;
  border: #002266 1px dashed;
}

.entry-content ol.proc li:before {
  counter-increment: number;
  content: counter(number);
  font-weight: bold;
  position: absolute;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  top: 0;
  left: 0;
  margin-right: 10px;
  z-index: 1;
  color: #fff;
  background-color: #002266;
}


/*
.entry-content ol.proc li img {
  float: none;
  text-align: left;
}
*/

.entry-content ol.proc li p {
  margin-bottom: 1.5em;
}

.entry-content ol.proc li p:last-child {
  margin-bottom: 0;
}

.proc-img {
  margin-bottom: 20px;
}

.proc-img img {
  box-shadow: none;
}


/* ポイント */

.point {
  padding: 2em 2em 2em;
  margin: 0 0 2em;
  background: #fffaee;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.point-label {
  margin-bottom: 1.0em;
  font-weight: bold;
}

.point> :last-child {
  margin-bottom: 0;
}

.point table {
  color: #000;
}

.point .point-video {
  margin-top: -0.6em;
  margin-bottom: -0.4em;
}


/* タイトル付きボックス */

.title-box {
  position: relative;
  margin: 2.5em auto 2.5em;
  padding: 2.5em 2em 2.0em;
  border: 2px solid #002266;
  border-radius: 4px;
  background-color: transparent;
  color: #252525;
}

.title-box .box-title {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #002266;
  color: #fff;
  padding: 0.4em 0.7em;
  line-height: 1;
  font-weight: bold;
  border-radius: 20px;
}

.title-box> :last-child {
  margin-bottom: 0;
}

/* もっと見る */

.content-show-more {
  position: relative;
  height: 450px;
  overflow: hidden;
  transition: height 0.3s ease-out;
  /* Add mask for fading content */
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.7) 70%,
      rgba(0, 0, 0, 0.4) 85%,
      rgba(0, 0, 0, 0.1) 95%,
      rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 480px) {
  .content-show-more {
    height: 450px;
  }
}

.content-show-more.expanded {
  height: auto;
  mask-image: none;
}

.show-more-button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background: #002266;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s;
  font-size: 14px;
  font-weight: bold;
}

.show-more-button:hover {
  opacity: 0.8;
}

.show-more-button.hidden {
  display: none;
}

/* 記事末尾ガイダンス */

.guidance_message {
  font-weight: bold;
  margin-top: 2.5em;
  margin-bottom: .8em;
}

.guidance_message:before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  padding-right: .5em;
  color: #5B9BD5;
}


/* 追従ボックス */

.fixed-box {
  position: fixed;
  bottom: 20px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 12px;
  max-width: 500px;
  min-height: 70px;
  background: linear-gradient(to right, #0077dd, #0033bb, #770011);
  box-shadow: 0 7px 10px -5px rgb(0 0 0 / 50%);
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  line-height: 1.8em;
  color: white;
  transition: all .3s ease-in-out;
}

.fixed-box:hover {
  transform: scale(1.04, 1.04);
  color: white;
}

.fixed-box::after {
  content: "\f105";
  position: absolute;
  right: 1em;
  font-size: 20px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  transition: all .2s ease;
}

.fixed-box:hover::after {
  right: 0.8em;
}

@media screen and (max-width: 1023px) {
  .fixed-box {
    bottom: 60px;
  }
}

@media screen and (max-width: 834px) {
  .fixed-box {
    font-size: 14px;
    line-height: 1.6em;
    min-height: auto;
  }

  .fixed-box::after {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .fixed-box {
    font-size: 12px;
  }

  .fixed-box::after {
    font-size: 12px;
  }
}

@media screen and (max-width: 310px) {
  .fixed-box {
    display: none;
  }
}


/* ダブル追従ボックス */

.fixed-box-double {
  min-height: auto;
  padding-top: 5px;
  padding-bottom: 6px;
}

.fixed-box-double-upper {
  bottom: 72px;
}

.fixed-box-double-lower {
  bottom: 20px;
}

@media screen and (max-width: 1023px) {
  .fixed-box-double-upper {
    bottom: 112px;
  }

  .fixed-box-double-lower {
    bottom: 60px;
  }
}

@media screen and (max-width: 834px) {
  .fixed-box-double-upper {
    bottom: 100px;
  }

  .fixed-box-double-lower {
    bottom: 60px;
  }
}


/* 追従ボックス サイドバー要素の透過防止 */

.main {
  z-index: 1;
}


/* 追従ボックスを光らせる https://give-shot.jp/tokyocss/button-shine/  */

.fixed-box {
  position: fixed;
  overflow: hidden;
}

.fixed-box:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 10%;
  height: 150%;
  background: #fff;
  transform: rotate(45deg);
  animation: reflect 3s linear 1;
}

@keyframes reflect {

  0%,
  75% {
    transform: rotate(45deg) scale(0);
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) scale(100);
    opacity: 0;
  }
}


/************************************
** その他の微調整
************************************/

/* 新着記事を非表示 */
.list-new-entries {
  display: none;
}

/* Chromeで縮小画像がぼやけるのを修正 */

img {
  /* image-rendering: -webkit-optimize-contrast */
}


/* 一部img非表示 */

.link img,
.link amp-img {
  display: none;
}


/* Adsense */

.ad-label {
  font-size: 0.8em;
}

.ad-area {
  overflow: visible;
}


/* 動画 */

.video-container {
  margin-left: auto;
  margin-right: auto;
}


/* empty p 対応 */

.article p:empty:before {
  content: none;
}


/* LightHouse対策 */

.breadcrumb a {
  text-decoration: none;
  color: #333;
}


/* シンボル画像 */

.article img.symbol-image {
  box-shadow: none;
}


/* 検索結果ページ */

.posts-not-found p {
  margin-bottom: 1.8em;
}


/* バッジ */

p:has(span.badge) {
  display: flex;
  align-items: baseline;
}

span.badge {
  margin-right: 10px;
  white-space: nowrap;
  position: relative;
  top: -2px;
}

/*
.badge {
  padding: 1px 5px 3px;
  font-size: .8em;
  margin-right: 10px;
}
*/

/* 記事内のブログカードの有無で記事下の余白が変わってしまうChromeのバグを吸収する */
.entry-content {
  margin-bottom: 0;
  padding-bottom: 20px;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/


/*1240px以下*/

@media screen and (max-width: 1240px) {

  /*必要ならばここにコードを書く*/
  .speech-name {
    font-size: 10px;
  }
}


/*1030px以下*/

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


/*任意追加 1023px以下*/

@media screen and (max-width: 1023px) {

  /*必要ならばここにコードを書く*/
  main.main,
  div.sidebar {
    margin-left: 40px;
    margin-right: 40px;
  }

  main.main,
  div.sidebar {
    padding-left: 40px;
    padding-right: 40px;
  }
}


/*任意追加：834px以下*/

@media screen and (max-width: 834px) {

  /*必要ならばここにコードを書く*/
  main.main,
  div.sidebar {
    margin-left: 30px;
    margin-right: 30px;
  }

  main.main,
  div.sidebar {
    padding-left: 30px;
    padding-right: 30px;
  }

  .guidance_message {
    font-size: 0.8em;
  }

  .cat-link {
    font-size: 0.8em;
  }
}


/*768px以下*/

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


/*480px以下*/

@media screen and (max-width: 480px) {

  /*必要ならばここにコードを書く*/
  main.main,
  div.sidebar {
    margin-left: 0;
    margin-right: 0;
  }

  main.main,
  div.sidebar {
    padding: 16px;
  }

  .point {
    padding-left: 1em;
    padding-right: 1em;
  }

  .title-box {
    padding-left: 1em;
    padding-right: 1em;
  }

  .author-box .author-thumb {
    width: 40%;
  }

  .sns-share,
  .sns-follow {
    font-size: .7em;
  }
}