@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 {
  width: 860px;
  padding: 3px 29px;
  border: 1px solid transparent;
  border-radius: var(--cocoon-basic-border-radius);
  position: relative;
  z-index: 0;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  line-height: 1.4;
  font-weight: bold;
}
.article h4,
.article h5,
.article h6 {
  font-size: 20px;
  padding: 9px 10px;
}
.article h2 {
  font-size: 18px;
  padding: 16px 17px 10px;
  background-color: var(--cocoon-xx-thin-color);
  border-radius: var(--cocoon-badge-border-radius);
}
.article h3 {
  border-bottom: 2px solid var(--cocoon-thin-color);
  font-size: 18px;
  padding: 12px 12px 8px;
}
.article h4 {
  border-top: 2px solid var(--cocoon-thin-color);
  border-bottom: 2px solid var(--cocoon-thin-color);
}
.article h5 {
  border-bottom: 2px solid var(--cocoon-thin-color);
}
.article h6 {
  border-bottom: 1px solid var(--cocoon-thin-color);
}
.article .column-wrap h1, .article .column-wrap h2, .article .column-wrap h3, .article .column-wrap h4, .article .column-wrap h5, .article .column-wrap h6 {
  margin-top: 0;
}

/************************************
** 内容
************************************/
.content {
  margin-top: 24px;
}

/*エントリー・アーカイブの見出し*/
.entry-title,
.archive-title {
  font-size: 22px;
  margin: 16px 0;
  line-height: 1.4;
}

.archive-title span {
  margin-right: 10px;
}

.entry-content {
  margin-top: 1em;
  margin-bottom: 3em;
}

.post-date,
.post-update,
.post-author,
.amp-back, .entry-category {
  padding: 2px;
  display: inline;
  font-size: 13px;
}

/************************************
** 目次
************************************/
.toc {
  border: 1px solid var(--cocoon-basic-border-color);
  font-size: 0.9em;
  padding: 1em 1.6em;
  display: table;
}
.toc .toc-list {
  padding-left: 1em;
}
.toc .toc-list ul, .toc .toc-list ol {
  padding-left: 1em;
  margin: 0;
}
.toc li {
  margin: 0;
}
.toc ul {
  list-style: none;
}
.toc a {
  color: var(--cocoon-text-color);
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

.toc-title {
  font-size: 1.1em;
  text-align: center;
  display: block;
  padding: 2px 16px;
}

.nwa .toc {
  border: 0;
  padding: 0 1em;
}

.tnt-none .toc-list,
.tnt-number-detail .toc-list {
  padding-left: 0;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px) {
  h2,
  h3 {
    font-size: 20px;
  }
  .related-entry-heading,
  .comment-title {
    margin: 1.2em 0 1em;
  }
  .entry-card,
  .related-entry-card,
  .e-card-title {
    line-height: 1.3;
  }
  .e-card-title {
    font-size: 16px;
  }
  .e-card-snippet {
    font-size: 13px;
  }
  .cat-label {
    font-size: 10px;
    padding: 1px 3px;
  }
  .pagination-next-link, .comment-btn {
    font-size: 1em;
  }
  .related-entry-card-thumb {
    width: 38%;
  }
  .related-entry-card-content {
    margin-left: 40%;
    font-size: 0.9em;
  }
  /*本文の見出し*/
  .entry-title,
  .article h2,
  .article h3,
  .article h4,
  .article h5,
  .article h6 {
    padding: 0.6em;
  }
  .entry-title,
  .archive-title {
    font-size: 20px;
    padding: 5px 5px 4px;
  }
  .article h2 {
    font-size: 16px;
    padding: 10px 10px 6px;
  }
  .article h3 {
    font-size: 16px;
	padding: 12px 10px 6px;
  }
  .article h4,
  .article h5,
  .article h6 {
    font-size: 16px;
  }
  .entry-title {
    margin: 0;
    margin-bottom: 6px;
  }
  body {
    font-size: 16px;
  }
  .pager-post-navi a figure {
    min-width: 30%;
    max-width: 30%;
  }
  .pager-post-navi a.prev-post .prev-post-title {
    margin-left: 1.6%;
  }
  .pager-post-navi a.next-post .next-post-title {
    margin-right: 1.6%;
  }
  .pager-post-navi a::before {
    font-size: 16px;
  }
  .rect-mini-card .related-entry-card-wrap {
    width: 100%;
  }
  .pager-post-navi.post-navi-square {
    flex-direction: column;
  }
  .pager-post-navi.post-navi-square a {
    width: 100%;
    padding: 7px;
  }
  .pager-post-navi.post-navi-square a:last-child {
    border-top-width: 0;
    border-left-width: 1px;
  }
  .author-box {
    font-size: 0.9em;
    line-height: 1.3;
  }
  .author-box .author-thumb {
    width: 24%;
  }
  .author-box .author-content {
    margin-left: 26%;
  }
  .speech-person {
    width: 16%;
    min-width: 16%;
  }
  .speech-name {
    font-size: 10px;
  }
  .speech-wrap .speech-balloon {
    padding: 7px;
    max-width: 84%;
  }
  .speech-wrap .speech-balloon::before, .speech-wrap .speech-balloon::after {
    border-bottom-width: 7px;
    border-right-width: 7px;
    border-top-width: 7px;
  }
  .speech-wrap .speech-balloon::before {
    left: -7px;
  }
  .speech-wrap .speech-balloon::after {
    left: -5px;
  }
  .speech-wrap:not(.not-nested-style).sbp-l .speech-balloon {
    margin-left: 10px;
  }
  .speech-wrap:not(.not-nested-style).sbp-r .speech-balloon {
    margin-right: 10px;
  }
  .speech-wrap:not(.not-nested-style).sbp-r .speech-balloon::before {
    right: -7px;
    left: auto;
    border-left-width: 7px;
  }
  .speech-wrap:not(.not-nested-style).sbp-r .speech-balloon::after {
    border-left-width: 7px;
    right: -5px;
    left: auto;
  }
  .speech-wrap.sbs-think:not(.not-nested-style).sbp-l .speech-balloon {
    margin-left: 28px;
  }
  .speech-wrap.sbs-think:not(.not-nested-style) .speech-balloon::before {
    top: 4px;
    left: -19px;
    width: 12px;
    height: 12px;
  }
  .speech-wrap.sbs-think:not(.not-nested-style) .speech-balloon::after {
    top: 16px;
    width: 6px;
    height: 6px;
    left: -27px;
  }
  .speech-wrap.sbs-think.sbp-r:not(.not-nested-style) .speech-balloon {
    margin-right: 28px;
  }
  .speech-wrap.sbs-think.sbp-r:not(.not-nested-style) .speech-balloon::before {
    border: 2px solid var(--cocoon-basic-border-color);
    left: auto;
    right: -19px;
  }
  .speech-wrap.sbs-think.sbp-r:not(.not-nested-style) .speech-balloon::after {
    border: 2px solid var(--cocoon-basic-border-color);
    left: auto;
    right: -27px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-line > .speech-balloon::after {
    left: -5px;
  }
  .cocoon-block-balloon.not-nested-style.sbp-l > .speech-balloon {
    margin-left: 10px;
  }
  .cocoon-block-balloon.not-nested-style.sbp-r > .speech-balloon, .cocoon-block-balloon.not-nested-style.sbp-r.sbs-line > .speech-balloon {
    margin-right: 10px;
  }
  .cocoon-block-balloon.not-nested-style.sbp-r > .speech-balloon::before, .cocoon-block-balloon.not-nested-style.sbp-r.sbs-line > .speech-balloon::before {
    right: -7px;
    left: auto;
    border-left-width: 7px;
  }
  .cocoon-block-balloon.not-nested-style.sbp-r > .speech-balloon::after, .cocoon-block-balloon.not-nested-style.sbp-r.sbs-line > .speech-balloon::after {
    border-left-width: 7px;
    right: -5px;
    left: auto;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think > .speech-balloon::before {
    top: 4px;
    left: -19px;
    width: 12px;
    height: 12px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think > .speech-balloon::after {
    top: 16px;
    width: 6px;
    height: 6px;
    left: -27px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think.sbp-l > .speech-balloon {
    margin-left: 28px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think.sbp-r > .speech-balloon {
    margin-right: 28px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think.sbp-r > .speech-balloon::before, .cocoon-block-balloon.not-nested-style.sbs-think.sbp-r > .speech-balloon::after {
    border-width: 2px;
    left: auto;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think.sbp-r > .speech-balloon::before {
    right: -19px;
  }
  .cocoon-block-balloon.not-nested-style.sbs-think.sbp-r > .speech-balloon::after {
    right: -27px;
  }
  .admin-panel > div {
    margin-bottom: 0.6em;
    padding: 2px;
  }
  .menu-content {
    max-width: 84%;
  }
  .cta-heading {
    font-size: 20px;
    padding: 8px;
  }
  .cta-left-and-right .cta-content,
  .cta-right-and-left .cta-content {
    flex-direction: column;
  }
  .cta-button .btn-l, .cta-button .ranking-item-link-buttons a, .ranking-item-link-buttons .cta-button a {
    padding: 1em;
    font-size: 16px;
  }
  .ranking-item-description {
    margin-top: 1em;
  }
  .ranking-item-img-desc,
  .ranking-item-link-buttons {
    display: block;
  }
  .ranking-item-image-tag {
    max-width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .ranking-item-name-text,
  .widget_item_ranking .main-widget-label {
    font-size: 20px;
  }
  a.facebook-follow-button {
    top: 3px;
  }
  #header .site-name-text {
    font-size: 18px;
  }
  .tagline {
    font-size: 12px;
  }
  .navi-footer-in > .menu-footer li.menu-item {
    width: 46%;
  }
  .blogcard-content {
    font-size: 0.84em;
  }
  .blogcard-snippet {
    font-size: 0.74em;
  }
  .ect-vertical-card.sp-entry-card-1-column .entry-card-wrap {
    display: block;
  }
  .ect-vertical-card.sp-entry-card-1-column > * {
    width: 100%;
  }
  #bbpress-forums .form-allowed-tags code {
    width: 100% !important;
  }
  .entry-card-snippet {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .no-sp-snippet .entry-card-snippet {
    display: none;
  }
  .no-sp-snippet-related .related-entry-card-snippet {
    display: none;
  }
  .e-card-meta {
    margin-top: 2px;
  }
  .ect-entry-card .a-wrap:not(.ec-big-card-first) .card-thumb,
  .rect-entry-card .a-wrap:not(.ec-big-card-first) .card-thumb,
  .ect-big-card-first .a-wrap:not(.ec-big-card-first) .card-thumb {
    margin-bottom: 22px;
  }
  .ect-entry-card .a-wrap:not(.ec-big-card-first) .card-content,
  .rect-entry-card .a-wrap:not(.ec-big-card-first) .card-content,
  .ect-big-card-first .a-wrap:not(.ec-big-card-first) .card-content {
    margin: 0;
  }
  .ect-entry-card .a-wrap:not(.ec-big-card-first) .card-meta,
  .rect-entry-card .a-wrap:not(.ec-big-card-first) .card-meta,
  .ect-big-card-first .a-wrap:not(.ec-big-card-first) .card-meta {
    clear: both;
  }
  .list .ect-vertical-card > * {
    width: 48%;
    padding: 0.5% !important;
    margin: 0.5% 0.5% 1.5% !important;
  }
  .sp-display-none {
    display: none !important;
  }
  .image-content amp-img {
    min-width: 200px;
    max-width: 200px;
  }
  .blogcard {
    padding-top: 3%;
  }
  .is-style-information-box,
  .is-style-question-box,
  .is-style-alert-box,
  .is-style-memo-box,
  .is-style-comment-box,
  .is-style-ok-box,
  .is-style-ng-box,
  .is-style-good-box,
  .is-style-bad-box,
  .is-style-profile-box,
  .information-box,
  .question-box,
  .alert-box,
  .information,
  .question,
  .alert,
  .memo-box,
  .comment-box,
  .common-icon-box {
    padding: 28px 12px 12px;
  }
  .is-style-information-box.has-background,
  .is-style-question-box.has-background,
  .is-style-alert-box.has-background,
  .is-style-memo-box.has-background,
  .is-style-comment-box.has-background,
  .is-style-ok-box.has-background,
  .is-style-ng-box.has-background,
  .is-style-good-box.has-background,
  .is-style-bad-box.has-background,
  .is-style-profile-box.has-background,
  .information-box.has-background,
  .question-box.has-background,
  .alert-box.has-background,
  .information.has-background,
  .question.has-background,
  .alert.has-background,
  .memo-box.has-background,
  .comment-box.has-background,
  .common-icon-box.has-background {
    padding: 28px 12px 12px;
  }
  .is-style-information-box::before,
  .is-style-question-box::before,
  .is-style-alert-box::before,
  .is-style-memo-box::before,
  .is-style-comment-box::before,
  .is-style-ok-box::before,
  .is-style-ng-box::before,
  .is-style-good-box::before,
  .is-style-bad-box::before,
  .is-style-profile-box::before,
  .information-box::before,
  .question-box::before,
  .alert-box::before,
  .information::before,
  .question::before,
  .alert::before,
  .memo-box::before,
  .comment-box::before,
  .common-icon-box::before {
    padding: 0;
    top: 0.7em;
    left: 50%;
    margin-left: -0.5em;
    font-size: 18px;
    border: none;
    width: auto;
  }
  .container .blank-box {
    margin-left: 0;
    margin-right: 0;
  }
  .timeline-box .timeline {
    padding-left: 10px;
  }
  .timeline > li.timeline-item {
    overflow: visible;
    border-left: 3px #e5e5d1 solid;
  }
  .timeline-item-label {
    width: auto;
    float: none;
    text-align: left;
    padding-left: 16px;
  }
  .timeline-item-content {
    width: auto;
    padding: 8px;
    float: none;
    border: none;
  }
  .timeline-item::before {
    left: -12px;
    top: 19px;
    width: 21px;
    height: 21px;
  }
  .fb-like-balloon-body {
    font-size: 0.8em;
    padding: 5px;
    line-height: 1.1em;
    margin-right: 0;
    height: 70px;
  }
  .fb-like-balloon-button {
    float: none;
    width: 100%;
    height: 30px;
    display: block;
    padding-top: 0;
    line-height: 24px;
  }
  div.fb-like-mobile {
    display: block;
  }
  div.fb-like-pc {
    display: none;
  }
  .pis-m .si-thumb {
    width: 30%;
  }
  .search-form div {
    padding: 3px 5px;
    font-size: 75%;
  }
  .search-form div.sform {
    min-width: 180px;
  }
  .search-form div.sbtn {
    padding-left: 5px;
    padding-right: 10px;
  }
  .search-form div.sbtn::after {
    font-size: 20px;
    margin-left: -10px;
  }
  div#bbpress-forums div.bbp-reply-author img.avatar {
    position: static;
  }
  div#bbpress-forums .bbp-body div.bbp-reply-author {
    padding-left: 0;
    width: 80px;
    text-align: center;
  }
  div#bbpress-forums .bbp-body div.bbp-reply-content {
    clear: none;
    margin: 0;
  }
  div#bbpress-forums .bbp-body div.bbp-reply-content p {
    margin-top: 0;
  }
  .appeal .appeal-in {
    min-height: 200px;
  }
  .page-numbers.dots {
    display: none;
  }
  .booklink-image, .kaerebalink-image, .tomarebalink-image, .product-item-thumb {
    width: 80px;
    min-width: 80px;
  }
  .booklink-info, .kaerebalink-info, .tomarebalink-info, .product-item-content {
    width: auto !important;
    overflow: visible !important;
    text-align: center !important;
    padding: 0 !important;
  }
  .booklink-link2 > *,
  .kaerebalink-link1 > *,
  .tomarebalink-link1 > *,
  .product-item-buttons > * {
    width: 100%;
    margin: 0 0.5% !important;
  }
}

.ranking-item-image-tag {
  max-width: 200px;
  margin-right: 1em;
  position: relative;
  align-items: flex-start;
}

/*480px以下*/
@media screen and (max-width: 480px){
 .ranking-item-image-tag {
  max-width: 100%;
  margin-right: 1em;
  position: relative;
  align-items: flex-start;
}
}
