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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/*---------------------------------
親カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li a{ 
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

.widget_categories ul li a::before{
  font-family: "Font Awesome 5 Free";
  content: "\f07b";
  color: #5FB3F5; /* アイコンの色 */
  padding-right: 6px;
}

.widget_categories > ul > li > a:first-child{ 
  border-top: none;
}

/*---------------------------------
子カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li ul li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f15c";
  color: #5FB3F5; /* アイコンの色 */
  padding-right: 6px;
}

/* 2021.10.05 商品リンク改修*/

.itemlink-body {
	    width: 100%;
}

.itemlink-box {
    display: flex;
    grid-gap: 0 24px;
    width: 100%;
    border: 2px solid #efefef;
    padding: 30px 10px;
}

.itemlink-image > a{
    display: block;
    width: 200px;
    height: 200px;
}

.itemlink-box a:hover{
    color: #fff;
    opacity: .80;
}



.itemlink-image > a > img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.itemlink-box .itemlink-box_buttons{
    margin: 20px 0;
}

.itemlink-btn_wrap .-amazon{
    background: #f99a0c;
}

.itemlink-btn_wrap .-rakuten{
    background: #e0423c;
}

.itemlink-btn_wrap .-yahoo{
    background: #438ee8;
}

.itemlink-btn_wrap .-other{
    background: #5ca250;
}

.itemlink-box__title > a {
    display: block;
    width: 100%;
    color: inherit!important;
    text-decoration: none!important;
}

.itemlink-box__info {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
    opacity: .75;
}

.itemlink-box_buttons{
	    position: relative;
    left: -4px;
    display: flex;
    flex-wrap: wrap;
    grid-area: areaBtns;
    align-items: flex-end;
    width: calc(100% + 8px);
    margin: 12px 0 0;
    padding: 0;
}


.itemlink-btn{
    padding: 4px;
}

[data-maxclmn-pc=fit]>.itemlink-btn_wrap {
    flex: 1;
    max-width: 50%;
    font-size: 15px;
}

.itemlink-btn_wrap{
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
    padding: 4px;
}

.itemlink-box[data-btn-style=dflt] .itemlink-btn {
    position: relative;
    overflow: hidden;
    color: #fff!important;
    background-color: #3c3c3c;
    box-shadow: 0 1px 4px -1px rgb(0 0 0 / 20%);
}

.itemlink-btn{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0!important;
    padding: 12px;
    font-size: 1em;
    line-height: 1;
    letter-spacing: .5px;
    white-space: nowrap;
    text-align: center;
    color: #fff !important;
    text-decoration: none!important;
	box-shadow: 0 1px 4px -1px rgb(0 0 0 / 20%);
}

@media (max-width: 767px){
	[data-maxclmn-mb="1"]>.itemlink-btn_wrap {
    flex-basis: 100%;
    max-width: 100%;
    font-size: 15px;
}
	
	
    .itemlink-box{
        display: block;
        margin: 2em auto;
    width: 90%;
    }
    
   .itemlink-image > a{ 
    width: 200px;
    height: 200px;
    text-align: center;
    margin: 0 auto 20px;
    }
    
    .itemlink-box .itemlink-box_buttons{
		margin-bottom:0 !important
	}
    .itemlink-box .itemlink-btn-inner{
        width: 100%;
    }
    
    .itemlink-btn-inner {
        widows: 100%;
    }
}


/* 2021.10.18 デバイス一覧*/
.DeviceUser_Container{
	list-style:none;
	padding:0 !important;
	display: flex;
    flex-wrap: wrap;
	margin-bottom:10px !important;
}

.user_txt ul{
	list-style:none;
	padding:0 !important;
}

.DeviceUser_inner{
	    width: 32%;
    box-sizing: border-box;
    padding: 2%;
    margin: 0 2% 2% 0 !important;
    background: #fafafa;
    border-radius: 5px;
    text-align: center;
}
.DeviceUser_inner:nth-child(3n){
	margin-right:0 !important;
}

.user_txt .post-categories{
	margin-bottom:0;
}
.user_image img{
	border-radius:50%;
	width:75%;
}

.user_button{
	text-align:center;
}

.user_button a{
	text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    background: #1967d2;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    box-shadow: 0 1px 4px -1px rgb(0 0 0 / 20%);
}


/* ranking 10.18 */


ul.fixed-page li,
ul.wpp-list li {
    border-bottom: 1px dashed #77776E;
    position: relative;
    list-style: none;
}
ul.fixed-page li:last-child,
ul.wpp-list li:last-child{
	border-bottom:none !important;
}

/*記事タイトル*/
ul.fixed-page li a.wpp-post-title,
ul.wpp-list li a.wpp-post-title {
    display: block;
    text-decoration: none;
    font-size: 15px;
    color: #333;
    margin: 10px 10px 10px 0px;
}

ul.fixed-page li a.wpp-post-title:hover,
ul.wpp-list li a.wpp-post-title:hover {
    color: #3fa3ff;
}
/*アイキャッチ*/
ul.fixed-page li img,
ul.wpp-list li img {
    margin: 10px;
}
/*ランキングカウンター*/
ul.wpp-list li:before {
    content: counter(wpp-count);
    display: block;
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #555;
    padding: 3px 10px;
    border-radius:50%;
    z-index: 1;
}
/*カウント数*/
ul.wpp-list li {
    counter-increment: wpp-count;
}
/*ランキング1〜3の色変更*/
ul.wpp-list li:nth-child(1):before{
    background-color: #EFAF00;
}
ul.wpp-list li:nth-child(2):before{
    background-color: #9EACB4;
}
ul.wpp-list li:nth-child(3):before{
    background-color: #BA6E40;
}
@media (max-width: 767px){
	ul.wpp-list li:before {
		padding:5px 10px;
	}
}



ul.fixed-page {
	padding:0 !important;
	display: block;
    overflow: hidden;
}

.wgt-taglist{
	padding:0;
	list-style:none;
	display:flex;
	flex-flow: wrap;
}

.wgt-taglist li{
	display:inline-block;
    margin: 0 5px 5px;
}

.wgt-taglist li a{
	display:block;
	border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
}

.widget_search,
.search-box{
	margin-bottom:10px !important;
}






.rect-vertical-card-3 .related-entry-card-wrap {
    width: 31% !important;
    box-shadow: 0px -1px 8px 0px rgb(0 0 0 / 20%);
}

@media screen and (max-width: 834px){
.rect-vertical-card .related-entry-card-wrap {
    width: 47% !important;
}
	.rect-vertical-card .related-entry-card-title {
    font-size: 14px !important;
		font-weight:normal;
}
	.related-entry-card-content {
    padding: 5px !important;
}
}

.item-label .menu_box{
	text-decoration:underline;
}