@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.wp-singular .top-slider, body.archive .top-slider{
display: none;
}
body.wp-singular .content.cf {
    background-color: #ffffff;
}
body #content #content-in {
    padding: 0px 0 !important;
}
body.home #content #content-in {
    padding: 30px 0 !important;
}
.content {
    margin-top: 5px;
}

body #main.main {
    width: 814px !important;
    margin-right: 0px !important;
}
.ect-3-columns {
    column-gap: 0.5%;
}
a.pagination-next-link.key-btn {
    background-color: #000000;
    color: #ffffff;
    border-radius: 13px;
}
.go-to-top-button {
border-width: 0;
background-color: #666666;
color: #fff;
text-decoration: none;
display: flex;
justify-content: center;
align-items: center;
width: 56px;
height: 56px;
FONT-WEIGHT: 500;
text-align: center;
line-height: 1;
border-radius: 5px;
font-size: 22px;
}

.fa-angle-double-up:before {
    content: "\f077";
}

a.pagination-next-link, a.pagination-next-link:visited, div.pagination-next a, div.pagination-next a:visited{
color: #ffffff;
        text-decoration: none;
        transition: none;
}
hr.wp-block-separator {
display: block;
border: 1px solid #f2f2f2;
}






/* Toppage */
body.search .top-slider{display: none;}

.content.cf {
    background-color: #f2f2f2;
}
.main {
        background-color: unset!important;
    width: 860px;
    padding: 0px 0px;
    border: 1px solid transparent;
    border-radius: var(--cocoon-basic-border-radius);
    position: relative;
    z-index: 0;
}


/* 人気記事：カード内を横並び＋上下中央 */
.sidebar .widget_popular_entries .popular-entry-card-link,
.sidebar .widget_popular_entries .a-wrap {
  display: flex !important;
  align-items: center !important;
}
a.entry-card-wrap.a-wrap {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
}
.entry-card-snippet {
    color: #777777;
    font-size: 13px;
    font-weight: unset;
}
.pagination .current {
background-color: rgba(0, 0, 0, 1);
    border-color: rgba(0, 0, 0, 1);
    color: #ffffff;
}
.page-numbers{
        border-color: rgba(0, 0, 0, 0);
}
.ect-3-columns .entry-card-wrap {
    width: 32%;
    padding: 7px;
}

.ect-3-columns {
    column-gap: 1%;
}
.top-slider {
    margin-top: 5px;
}


/*  投稿一覧 */
.fas.fa-history{
display:none;
}
.ect-vertical-card .entry-card-wrap .entry-card-content {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 0;
    text-align: center;
    justify-content: space-between;
}

/* 投稿一覧カードのサムネイルを300:250比率にする */
.entry-card-thumb,
.ect-vertical-card .entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 300 / 160 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #fff;
}

/* サムネイル画像をクロップせずに全体表示 */
.entry-card-thumb img,
.entry-card-thumb .card-thumb-image,
.ect-vertical-card .entry-card-thumb img,
.ect-vertical-card .entry-card-thumb .card-thumb-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cat-label {
    position: absolute;
    top: 0.24em;
    left: 0.24em;
    border: 1px solid #eee;
    font-size: 10px;
    color: var(--cocoon-white-color);
    background-color: rgba(51, 51, 51, 0.7);
    padding: 1px 5px;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
}
span.fas.fa-folder-open {
    display: none;
}
h1#archive-title {
    font-weight: bold;
}
body.archive.category div#breadcrumb,
body.archive.tag div.breadcrumb.fm-tag-breadcrumb {
    display: none;
}
.ect-vertical-card .entry-card-wrap .entry-card-meta {
    margin-top: 0;
    padding-top: 5px;
    position: unset;
}

/* 投稿 */
.post-bottom-meta {
  margin-top: 40px;
  padding-top: 16px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.8;
}

.post-bottom-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.post-bottom-meta-label {
  font-weight: 700;
}

.post-bottom-meta a {
  color: #0095ff;
  text-decoration: underline;
}
.article-header.entry-header{
display: none;
}

.article h2 {
color: #232b35;
background-color: unset;
    margin: 16px 0 0 0;
    padding: 0 0;
    margin-bottom: 1.62em;
}

.shopDetail-cont {
    flex-grow: 1;
}
.shopDetail-cashback {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 15px;
    border: 1px solid #f2f2f2;
    border-radius: 10px;
}
.shopDetail-label {
    min-width: 142px;
    height: 30px;
    margin-right: 20px;
    padding: 6px;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    background-color: #f2f2f2;
    border-radius: 50px;
    margin-bottom: 0em!important;
}
.shopDetail-grant {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.shopDetail-note {
    margin-right: 10px;
    font-size: 14px;
    margin-bottom: 0em!important;
}
.shopDetail-price {
    color: #ac2330;
    font-weight: bold;
    margin-bottom: 0em!important;
}
.shopDetail-price .type-em {
    font-size: 24px;
    line-height: 1.1;
}
.pattern-premium .shopDetail-label {
    background-color: #fff7d0;
}
p.shopDetail-transition {
    text-align: right;
    margin-bottom: 0em!important;
}
body .is-layout-flex {
    display: flex;
    align-items: flex-start;
}
h3.wp-block-heading {
    padding: 8px 10px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
        background-color: #000;
border-radius: 10px 10px 0px 0px;
}
.article h3{
   margin-bottom: 0em;
}
.shopDetail-flow
 {
    margin-top: 20px;
    text-align: right;
}
/* ボタングループ本体 */
.wp-block-buttons.shopDetail-btn {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  margin: 16px 0 24px !important;
}

/* ボタンの外側 */
.wp-block-buttons.shopDetail-btn .wp-block-button {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: none !important;
}

/* ボタンリンク */
.wp-block-buttons.shopDetail-btn .wp-block-button__link {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  min-height: 42px !important;
  padding: 5px 40px 5px 20px !important;
  border: 1px solid #288563 !important;
  color: #288563 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  background-color: #fff !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

/* 左側のspriteアイコン */
.wp-block-buttons.shopDetail-btn .wp-block-button__link::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 21px !important;
  margin-right: 8px !important;
  background-image: url(https://azby.fmworld.net/premium/mall/common/images/sprite_pc_003.png) !important;
  background-repeat: no-repeat !important;
  background-position: -2px -34px !important;
}

/* 右側の下矢印 */
.wp-block-buttons.shopDetail-btn .wp-block-button__link::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  right: 20px !important;
  width: 12px !important;
  height: 8px !important;
  background-color: #288563 !important;
  clip-path: polygon(0 0, 100% 0%, 50% 50%) !important;
  transform: translateY(-50%) !important;
}



/* 楽天市場 詳細ボタン専用 */
.entry-content .shopDetail-btn {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 24px !important;
  clear: both !important;
  flex-wrap: nowrap !important;
}

/* ボタン本体 */
.entry-content .shopDetail-btn .wp-block-button {
  width: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

/* ボタンリンク */
.entry-content .shopDetail-btn .wp-block-button__link {
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 140px !important;
  padding: 8px 18px !important;
  line-height: 1.4 !important;
  position: relative !important;
  padding: 8px 42px 8px 18px !important;
  min-width: 160px !important;
  line-height: 1.4 !important;
}
/* 楽天市場 詳細ボタン：アイコン位置調整 */
.entry-content .shopDetail-btn .wp-block-button__link {
  position: relative !important;
  padding: 8px 42px 8px 18px !important;
  min-width: 160px !important;
  line-height: 1.4 !important;
}

/* spriteアイコンを右側中央に固定 */
.entry-content .shopDetail-btn .wp-block-button__link::after {
  position: absolute !important;
  right: 16px !important;
  top: 68% !important;
  transform: translateY(-50%) !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
}


/* 投稿下部メタ情報：中央2行レイアウト */
.post-bottom-meta {
    margin: 40px auto 0 !important;
    padding: 10px 0 10px 0 !important;
    border-bottom: 1px solid #e9e9e9 !important;
    display: grid !important;
    grid-template-columns: auto;
    justify-content: end;
    column-gap: 32px;
    row-gap: 4px;
    text-align: right;
    font-size: 14px;
    line-height: 1.7;
    color: #222;
    width: 100%;
    border: 0px red solid;
}

/* 中の各項目の余計な装飾をリセット */
.post-bottom-meta > * {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: auto !important;
  display: block !important;
}

/* リンクの見た目 */
.post-bottom-meta a {
  color: #222 !important;
  text-decoration: none;
}

.post-bottom-meta a:hover {
  text-decoration: underline;
}


/*応募期間*/
.period {
    display: flex;
    align-items: center;
    max-width: 980px;
    margin: 50px auto 0;
    border: 1px solid #333;
    font-weight: bold;
    font-size: 24px;
    background-color: #333;
    border-radius: 50px;
    overflow: hidden;
}
.period-head {
    flex-shrink: 0;
    width: 240px;
    padding: 10px;
    color: #fff;
    text-align: center;
    margin-bottom: 0em!important;
}
.period-txt {
    flex-grow: 1;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    margin-bottom: 0em!important;
}
.type-block {
    display: inline-block;
}

/*ボタン*/

div.transition-btn-red a {
   background-color: #ac2330!important;
}

div.transition-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 660px;
    min-height: 58px;
    margin: 0 auto;
    padding: 10px 45px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.2;
    text-decoration: none;
    background-color: #333;
    border-radius: 50px;
}
div.transition-btn a::after {
    width: 20px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
}
div.transition-btn a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 15px;
    height: 20px;
    background-color: #fff;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    transform: translateY(-50%);
}
body *, body *::before, body *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



/* Content Views：空の抜粋欄を非表示 */
.pt-cv-content:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pt-cv-content p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#pager-post-navi{
    display: none;
}   

.pt-cv-thumb-wrapper .pt-cv-thumbnail {
    object-fit: contain;
    width: 100%;
    margin-bottom: 0 !important;
}
#pt-cv-view-4pyg4nbi .pt-cv-thumbnail, 
#pt-cv-view-4pyg4nbi .pt-cv-title a, 
#pt-cv-view-4pyg4nbi .pt-cv-content, 
#pt-cv-view-s8qtn2du .pt-cv-thumbnail, 
#pt-cv-view-s8qtn2du .pt-cv-title a, 
#pt-cv-view-s8qtn2du .pt-cv-content,
#pt-cv-view-kelogpvr .pt-cv-thumbnail, 
#pt-cv-view-kelogpvr .pt-cv-title a, 
#pt-cv-view-kelogpvr .pt-cv-content
{
    height: auto!important;
    font-size: 16px!important;
    text-align: center;
}
#pt-cv-view-4pyg4nbi .pt-cv-remain-wrapper, 
#pt-cv-view-s8qtn2du .pt-cv-remain-wrapper,
#pt-cv-view-kelogpvr .pt-cv-remain-wrapper
 {
    text-align: center;

}


.article h4 {
    border-top: 0px solid var(--cocoon-thin-color);
    border-bottom: 0px solid var(--cocoon-thin-color);
    padding: 3px 0px;
}

/* ==============================
   Content Views：カードレイアウト調整
============================== */

/* 5列表示 */
#pt-cv-view-4pyg4nbi > .pt-cv-page {
  grid-template-columns: repeat(5, 1fr) !important;
  grid-gap: 10px !important;
}

/* カード全体を縦方向にする */
#pt-cv-view-4pyg4nbi .pt-cv-content-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* サムネイルは上部固定 */
#pt-cv-view-4pyg4nbi .pt-cv-thumb-wrapper {
  flex: 0 0 auto !important;
}

/* タイトル・抜粋・続きを読むエリア */
#pt-cv-view-4pyg4nbi .pt-cv-remain-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 130px !important;
  justify-content: space-between;
}

/* 空の抜粋欄を非表示 */
#pt-cv-view-4pyg4nbi .pt-cv-content:empty,
#pt-cv-view-4pyg4nbi .pt-cv-content p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 続きを読むを下部・幅100%にする */
#pt-cv-view-4pyg4nbi .pt-cv-remain-wrapper > a.pt-cv-readmore,
#pt-cv-view-4pyg4nbi .pt-cv-remain-wrapper > a.pt-cv-readmore.btn,
#pt-cv-view-4pyg4nbi .pt-cv-remain-wrapper > a.pt-cv-readmore.btn.btn-success {
  margin-top: auto !important;
  align-self: stretch !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.pt-cv-blockgrid.grid1.layout2 .pt-cv-remain-wrapper {
    padding: 0 0px;
}
.pt-cv-view .pt-cv-title {
    margin-bottom: 10px;
    padding: 0px 5px;
}
.pt-cv-blockgrid.grid1.layout2 .pt-cv-content-item,
#pt-cv-view-s8qtn2du .pt-cv-content-item,
#pt-cv-view-kelogpvr .pt-cv-content-item,
.wp-container-core-group-is-layout-7387b849
{
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 5px;
}

.wp-block-cocoon-blocks-blank-box-1 {
    border: 0px solid #fff;
    padding: 12px 18px;
}
h4.wp-block-heading #toc2 {
    display: block;
    margin: 0px 0px !important;
    margin-bottom:0px !important;
    border: 0px solid red;
}

.pt-cv-thumb-wrapper a, .pt-cv-remain-wrapper a {
color: #232b35;
}
    .main a, .main a:visited {
        color: #232b35;
        text-decoration: none!important;
        transition: none;
    }

.has-red-border-color {
    border: 3px red solid!important;
}
.article h4 {
    border-top: 0px solid var(--cocoon-thin-color);
    border-bottom: 0px solid var(--cocoon-thin-color);
    padding: 3px 0px;
    margin-bottom: 5px;
    font-size: 24px;
    margin-top: 10px;
}
.step-item{
  margin-bottom:0.8em!important;
}
.step-item-arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 16px auto;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 20px solid #dc3514;
}
.border-gray{
      border: 3px solid #c5c5c5;
}
.pt-cv-remain-wrapper .pt-cv-content,
.pt-cv-wrapper .pt-cv-content{
    color:#ff0000;
}
.pt-cv-remain-wrapper .pt-cv-rmwrap,
.pt-cv-wrapper .pt-cv-rmwrap
{
  display: none;
}
span.far.fa-clock {
    display: none;
}
h1.wp-block-heading {
    font-size: 26px;
}
.wp-container-core-group-is-layout-7387b849 .wp-block-image{
width:320px;
}
/* 画像を320px固定にする */
.entry-content figure.img-width-320 {
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  flex: 0 0 320px !important;
  flex-shrink: 0 !important;
}

/* 中の画像をfigure幅に合わせる */
.entry-content figure.img-width-320 img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}
.wp-block-group .wp-block-paragraph{
margin-bottom: 0px;
}
.wp-block-group p.wp-block-paragraph-right {
  width: 100% !important;
  text-align: right !important;
  color: #ff0000;
}
.wp-block-group p.wp-block-paragraph-shopname{
font-weight: bold;
}

.wp-block-group-shop{
border:2px solid #e9e9e9;
    padding: 11px 14px;
}
.body .wp-block-image{
    margin-bottom:0px;
}
#media_image-2 img, img.image.wp-image-152 {
    width: 100%;
}
.article h6, .article h5, .article h2{
    border-bottom: 0px solid var(--cocoon-thin-color);
        margin-bottom: 0em;
}

/* Content Views：第2位から開始 */
#pt-cv-view-s8qtn2du .pt-cv-page {
  counter-reset: ranking 1;
}

/* 各カード */
#pt-cv-view-s8qtn2du .pt-cv-content-item {
  counter-increment: ranking;
  position: relative !important;
  margin-top: 34px !important;
  overflow: visible !important;
}

/* 順位を枠の外・上に表示 */
#pt-cv-view-s8qtn2du .pt-cv-content-item::before {
  content: "第" counter(ranking) "位";
  position: absolute;
  top: -36px;
  left: 0;
  width: 100%;
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  text-align: left;
}

h2.wp-block-heading{
    margin-bottom:25px;
}

.wp-block-group.wp-block-group-period {
    box-shadow: #e1e1e1 0 0 0px 0;
}
 .wp-container-core-group-is-layout-06231453.wp-container-core-group-is-layout-7387b849{

    width:auto;
    box-shadow: #e1e1e1 0 0 0px 0;
 }
 .wp-container-core-group-is-layout-06231453.wp-container-core-group-is-layout-7387b849 .wp-block-image{
        width:auto;
 }


.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
    justify-content: space-between;
}
.blogcard-thumbnail img, .card-thumb img {
    aspect-ratio: 300 / 250;
    object-fit: contain;
}
.is-list-horizontal .card-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 0 12px;
}
aside.widget-sidebar a.popular-entry-card-link.widget-entry-card-link.a-wrap {
    max-width: 100%;
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 5px;
}
body.postid-82 a.popular-entry-card-link.widget-entry-card-link.a-wrap{
    max-width: 19%!important;
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 5px;
}

a.popular-entry-card-link.widget-entry-card-link.a-wrap {
    max-width: 32%;
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 5px;
}
.is-list-horizontal.large-thumb .card-title, .is-list-horizontal.large-thumb-on .card-title {
    -webkit-line-clamp: 2;
    height: 3.6em;
}
.ranking-item-image-tag {
    max-width: 220px;
    margin-right: 1em;
    position: relative;
    align-items: flex-start;
}


div.shopblock01 {
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 17px 17px 19px 17px;
}
div.shopblock01 p.wp-block-paragraph{
line-height: 1.4;
    font-size: 15px;
}

div.itemblock01{
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 17px 17px 19px 17px;
}
div.itemblock01 p.wp-block-paragraph{
line-height: 1.4;
    font-size: 15px;
}
div.itemblock01 h6.wp-block-heading{
font-size: 16px;
    padding: 9px 0px;
}
div.blank-box.itemblock01 p.wp-block-paragraph {
    font-size: 14px;
    line-height: 155%;
}
div.blank-box.itemblock01 .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    width: 100%;
}

.article h4, .article h5, .article h6 {
    font-size: 20px;
    padding: 9px 0px;
}
div.blank-box.shopblock02 {
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 16px 16px 19px 16px;
    height: stretch;
}
div.blank-box.shopblock02 h6 {
    font-size: 16px;
}
div.blank-box.shopblock02 .wp-block-media-text{
        margin-bottom: 3px;
}

div.blank-box.shopblock02 p.wp-block-paragraph {
    font-size: 14px;
    line-height: 155%;
}

div.ranking-box div.ranking-items div.ranking-item{
    box-shadow: #e1e1e1 0 0 10px 0;
    border-radius: 7px;
    padding: 16px;
    border: 0px solid var(--cocoon-basic-border-color);
}
/* ==============================
   商品カードの高さを揃える
============================== */

/* 3カラムの各列を同じ高さに伸ばす */
.wp-block-columns.is-layout-flex {
  align-items: stretch;
}

/* カラム内のカードを高さ100%にする */
.wp-block-column > .wp-block-cocoon-blocks-blank-box-1,
.wp-block-column > .blank-box,
.wp-block-column > .itemblock01 {
  height: 100%;
}

/* 商品カード本体 */
.wp-block-cocoon-blocks-blank-box-1.itemblock01,
.blank-box.itemblock01 {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* 画像を上、テキストを下に自然配置 */
.blank-box.itemblock01 figure {
  margin-bottom: 12px;
}

/* 商品紹介文を残りの高さに合わせる */
.blank-box.itemblock01 p:last-child {
  flex-grow: 1;
}




/* ==============================
   Cocoonランキング：横並びカード型 最終版
============================== */

/* ランキング全体 */
.ranking-items {
  counter-reset: ranking;
}

/* 各ランキングカード */
.ranking-items .ranking-item {
  counter-increment: ranking;
  display: grid;
  grid-template-columns: 56px 100px 1fr;
  grid-template-areas:
    "rank image title"
    "rank image desc";
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 14px 22px;
  margin-bottom: 18px;
  box-shadow: none;
  border: none !important;
}

/* 左側の順位番号 */
.ranking-items .ranking-item::before {
  content: counter(ranking);
  grid-area: rank;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  font-weight: 700;
  color: #fff;
  background: #d8c75a;
  font-size: 15px;
}

/* 2位 */
.ranking-items .ranking-item:nth-child(2)::before {
  background: #cfcfcf;
}

/* 3位 */
.ranking-items .ranking-item:nth-child(3)::before {
  background: #b08b6b;
}

/* 既存の王冠アイコンを非表示 */
.ranking-items .ranking-item-name-crown,
.ranking-items .g-crown,
.ranking-items .g-crown-circle {
  display: none !important;
}

/* 商品名エリア */
.ranking-items .ranking-item-name {
  display: contents;
}

/* 商品名テキスト */
.ranking-items .ranking-item-name-text {
  grid-area: title;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  align-self: end;
}

/* 画像＋説明エリア */
.ranking-items .ranking-item-img-desc {
  display: contents;
}

/* 画像エリア */
.ranking-items .ranking-item-image-tag {
  grid-area: image;
  align-self: center;
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid #f3efef;
}

/* 画像 */
.ranking-items .ranking-item-image-tag img {
  width: 90px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* 説明文 */
.ranking-items .ranking-item-description {
  grid-area: desc;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  align-self: start;
}

/* 説明文内のpタグ余白を削除 */
.ranking-items .ranking-item-description p {
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

/* リンクボタン等がある場合 */
.ranking-items .ranking-item-link-buttons {
  grid-column: 3;
  margin-top: 8px;
}


/* ==============================
   スマホ調整
============================== */
@media screen and (max-width: 768px) {
  .ranking-items .ranking-item {
    grid-template-columns: 42px 82px 1fr;
    column-gap: 12px;
    row-gap: 3px;
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .ranking-items .ranking-item::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .ranking-items .ranking-item-image-tag {
    padding-left: 12px;
  }

  .ranking-items .ranking-item-image-tag img {
    width: 76px;
  }

  .ranking-items .ranking-item-name-text {
    font-size: 15px;
    line-height: 1.35;
  }

  .ranking-items .ranking-item-description {
    font-size: 13px;
    line-height: 1.45;
  }

  .ranking-items .ranking-item-description p {
    line-height: 1.45;
  }
}


.ranking-item-detail a, .btn-wrap.btn-wrap-blue > a {
    background-color: unset;
}
.ranking-item-link-buttons a:hover {
    opacity: 0.7;
    color: unset;
}
.ranking-item-link-buttons a {
    padding: 0px 31px;
    font-size: 14px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.ranking-item-link a {
    background-color: unset;
}




/*サイドバー*/
/* ==============================
   人気記事：カード横並び＋上下中央
============================== */

/* カード本体を横並びにする */
body .sidebar .widget_popular_entries .popular-entry-card,
body .sidebar .widget_popular_entries .widget-entry-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* サムネイル枠 */
body .sidebar .widget_popular_entries figure.card-thumb,
body .sidebar .widget_popular_entries figure.popular-entry-card-thumb,
body .sidebar .widget_popular_entries figure.widget-entry-card-thumb,
body .sidebar .widget_popular_entries .popular-entry-card-thumb,
body .sidebar .widget_popular_entries .widget-entry-card-thumb {
  float: none !important;
  margin: 0 !important;

  width: 120px !important;
  height: 64px !important;
  flex: 0 0 120px !important;

  overflow: hidden !important;
  background: #fff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* サムネイル画像：画像全体を表示 */
body .sidebar .widget_popular_entries figure.card-thumb img,
body .sidebar .widget_popular_entries figure.popular-entry-card-thumb img,
body .sidebar .widget_popular_entries figure.widget-entry-card-thumb img,
body .sidebar .widget_popular_entries .popular-entry-card-thumb img,
body .sidebar .widget_popular_entries .widget-entry-card-thumb img,
body .sidebar .widget_popular_entries img.card-thumb-image,
body .sidebar .widget_popular_entries img.attachment-thumb120 {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

/* タイトル部分 */
body .sidebar .widget_popular_entries .popular-entry-card-content,
body .sidebar .widget_popular_entries .widget-entry-card-content {
  flex: 1 1 auto !important;
  margin: 0 !important;
  display: block !important;
}





body .sidebar {
    margin: 0px 0px!important;
}
body.archive.tag .sidebar,
body.wp-singular .sidebar,
body.archive.category .sidebar
 {
    width: 336px !important;
    margin: 30px 0px !important;
    border-radius: 15px;
}

.toc-title {
    font-size: 1.1em;
    text-align: left;
    display: block;
    padding: 2px 2px;
    font-weight: bolder;
}
.toc-checkbox:checked+.toc-title::after {
    content: '[閉じる]';
    display: none;
}
.toc-title::after {
    content: '[開く]';
    margin-left: .5em;
    cursor: pointer;
    font-size: .8em;
    display: none;    
}
div#toc.toc{
    display: none;
}


h3.widget-sidebar-scroll-title.widget-title,
h3.widget-sidebar-title.widget-title {
    background-color: unset;
    color: #000;
    font-weight: bold;
    padding: 0 0;
    margin: 0 0;
}
#categories-2 ul {
    margin: 0 10px;
    padding: 0 0;
}
.toc li {
    margin: 6px 0;
}
.popular-entry-card-title.widget-entry-card-title.card-title {
    font-size: 15px;
    padding: 7px 7px 7px 0;
}
.widget-entry-cards .a-wrap {
    padding: 5px;
    line-height: 1.3;
    margin-bottom: 6px;
}
#popular_entries-2 h3.widget-sidebar-title.widget-title {
    background-color: unset;
    color: #000;
    font-weight: bold;
    padding: 0 0;
    margin: 0 0 7px 0;
}




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

	
	
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .ect-vertical-card.sp-entry-card-1-column > * {
    width: 100% !important;
  }
body.home #content #content-in {
    padding: 0px 0 !important;
}


}

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