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

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

/*-- 非表示にしたいものはここで指定 --*/
.page .date-tags, figure.prev-post-thumb, figure.next-post-thumb, .fa-folder-open, .fa-bars, .fa-close, #header-container, .breadcrumb-item+.breadcrumb-item::before, .swiper-button-next, .swiper-button-prev, .eye-catch-wrap, #post-10 h1.entry-title {
  display:none !important;
}

/*-- 全体サイズ指定 --*/
@media (min-width:576px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: none;
	}
}
.wrap {
    width: 100%;
    max-width: 1440px;
}
.content {margin-top: 3rem;}

.article h2 {
    background: no-repeat;
    padding: 1rem 0;
    margin-bottom: 0;
}

/*-- ヘッダー/フッター共通 --*/
.mobile-menu-buttons, #footer {
    background: #EFEFEF;
}

/*-- ヘッダー --*/
.logo-menu-button {
    justify-content: flex-start !important;
}
.mobile-menu-buttons .menu-button {
    width: 100%;
    height: auto;
	cursor: auto;
}

img.site-logo-image.header-site-logo-image {
    max-width: 400px;
}
aside ul li.menu-item-has-children a {
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid #999;
    margin-bottom: 10px;
}
ul.sub-menu {
    padding: 0 !important;
}
ul.sub-menu li a {
    font-weight: 300 !important;
    font-size: .8rem !important;
    border-bottom: none !important;
    position: relative;
    padding: 5px;
    margin: 0 !important;
}
ul.sub-menu li a:after {
    position: absolute;
    right: 3%;
    transform: rotate(-90deg);
    background-size: 1rem;
    top: 20%;
}
.navi-menu-button {
    justify-content: flex-end !important;
    padding-right: 20px;
}
@media (max-width:768px) {
	aside ul {width: 100%;}	
	aside ul li.menu-item-has-children {width: 100%;}
	.mobile-menu-buttons .menu-icon {
    width: 30px !important;
    height: 30px !important;
    background-size: 2rem;
	}
}
@media (min-width:769px) and (max-width:1023px) {
	aside ul li {
    	width: 50%;
    	padding: 0 1%;
	}	
}
@media (min-width: 768px) {
	ul.sub-menu li {width: 100%;}	
}
@media (min-width: 1024px) {
	.mobile-menu-buttons {
		display: flex;
		align-items: stretch;
	}
    .mobile-header-menu-buttons {
        top: 0;
        bottom: auto;
        justify-content: space-between;
        min-width: 46px;
        box-shadow: 0 0 5px darkgrey;
		min-height: 80px;
    }
	aside ul li {
        width: 25%;
        padding: 0 .5%;
    }
}

.logo-menu-button img {padding:.5rem;}

.pager-post-navi a {
    background: #ececec;
    padding: 15px 10px !important;
    position: relative;
    border: none;
    border-radius: 0;
}
.pager-post-navi a.prev-post:before, .pager-post-navi a.next-post:before {
	position: absolute;
	top: 10%;
	color: #999;
}
.pager-post-navi a.prev-post:before {
	content: '前ページ';
	left: 10%;
}
.pager-post-navi a.next-post:before {
	content: '次ページ';
	right: 10%;
}
.cf::after{display:none;}

/*-- ハンバーガーメニュー --*/
.mobile-menu-buttons .menu-icon {
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.menu-close-button {
    text-align: right;
    padding-right: 3%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    width: 30px;
    height: 30px;
    position: relative;
    right: -80%;
    margin: 4%;
}
#navi-menu-content {
    overflow: hidden;
	overflow-y: scroll;
}
.navi-menu-content {
    right: 0;
    left: unset;
	-webkit-transform: translateX(105%);
    transform: translateX(105%);
}
.menu-drawer a:hover, .widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover, .widget_block ul li a:hover {
    background-color: #7EC932;
    color: #fff;
}
ul.menu-drawer {
    width: 100%;
    height: auto;
	padding-bottom: 5% !important;
}
ul.menu-drawer li.menu-item-has-children a {
    padding: 20px 10px;
    border-bottom: 1px solid #999;
	display:flex;
}
ul.menu-drawer li.menu-item-has-children ul.sub-menu a {
    padding: 10px;
}
@media (max-width: 480px) {
    .menu-content {
        max-width: 100%;
    }
}

/*-- アコーディオン --*/
.navi-menu-content .button:not(.current-menu-item):not(.current-menu-ancestor) > .sub-menu:not(.active) {
display: none;
}
.menu-item-has-children a:not([href]):not([class]):hover  {
	color:#fff;
	cursor: pointer;
}
li.menu-item-has-children a:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    content: "";
    flex-shrink: 0;
    height: 1.25rem;
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
    width: 1.25rem;
}
li.menu-item-has-children a:hover:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

li.menu-item-has-children a.opened:after {
    transform: rotate(-180deg);
}

/*-- アコーディオン直下_雪印種苗ロゴ --*/
a#snowseed_top {
    display: block;
    position: relative;
    border: 3px solid #0074c0;
    width: 75%;
    margin: 0 auto 20%;
    text-align: center;
    padding: 5%;
	transition:.25s ease;
}
a#snowseed_top:hover, a#snowseed_top:focus {
	filter:opacity(0.7);
}

/*-- サムネ --*/
.cat-label {
    font-size: 1rem;
    background-color: #0074c0;
    padding: .5% 3%;
	border:none;
}

/*-- 新着情報 --*/
#info-list { padding: 0 10px;}
.info-list-item {
display:flex;/*横並びに変更*/
flex-direction: row-reverse;/*前後逆に*/
justify-content: flex-end;/*前後逆に*/
padding-bottom:0px;/*文字間調整*/
align-items: center;
}
.info-list-caption, .info-list-item-categorys {
display:none;/*カテゴリ消す*/
}
.info-list-item-date {
font-size:16px;/*日付大きさ*/
margin-left:5px;/*文字間調整*/
color:#666;/*日付文字色変更*/
}
.info-list-content{
margin:0px;/*文字間調整*/
}
.info-list-item-content {
    width: 100%;
    margin-bottom: 0;
}
.info-list-item-content-link {
    display: inline-block;
    width: 100%;
    padding: .5% 1%;
	transition: .25s ease;
}
.info-list-item-content-link:hover {
    background: #85C932;
    color: #fff;
    text-decoration: none;
}

/*-- トップぺージ --*/
.entry-card-wrap a {
    text-decoration: none;
    color: #666;
    font-weight: 600;
}
.swiper-button-next {display:none;}
.is-list-horizontal.large-thumb .widget-entry-card-link, .is-list-horizontal.large-thumb-on .widget-entry-card-link {
    max-width: 33%;
}
@media (max-width: 834px) {
.is-list-horizontal.large-thumb .widget-entry-card-link, .is-list-horizontal.large-thumb-on .widget-entry-card-link {
    max-width: 100%;
}
.swiper-wrapper {display: block !important;}
.ect-vertical-card .entry-card-wrap {width: 95%;}
}
.entry-card-wrap .widget-entry-card-content {
    margin-left: 0;
}
.favorites-list {
    padding: 0;
}
.widget-entry-card-snippet {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* 任意の行数を指定 */
}


/*-- 記事サムネ --*/
.list {
	flex-wrap: wrap;
    flex-direction: row;
    column-gap: 3.4%;
}
.is-list-horizontal .swiper-wrapper, ul.favorites-list, .rect-vertical-card .related-list {
    justify-content: flex-start;
    column-gap: 3.4%;
}
.a-wrap {
    border: 1px solid #999;
    border-radius: 10px;
    width: 31% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.widget-entry-cards.card-large-image figure { margin: 0; }
.widget-entry-cards.card-large-image figure img { border-radius: 8px 8px  0 0; }
.card-title {
    font-size: 1.6rem !important;
    color: #666;
    font-weight: 700;
}
.is-list-horizontal.large-thumb .card-title, .is-list-horizontal.large-thumb-on .card-title { height: auto;}
.card-content { padding: 1rem !important; }
.card-snippet {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 auto 1.4rem;
}
.card-content:after {
    content: '詳しく見る';
    background: #85C932;
    display: block;
    padding: 4%;
    text-align: center;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
	transition: .25s ease;
}
.a-wrap:hover .widget-entry-card-content:after { filter: brightness(1.1); }

@media (max-width: 834px) {
	.a-wrap {
		width: auto !important;
		margin-bottom: 10% !important;
	}
	.article ul, .article ol {
		padding: 0;
	}
}

@media (max-width: 480px) {
	.rect-vertical-card .related-entry-card-wrap {
		width: 100%;
	}	
}

/*-- 記事リスト_ブックマーク --*/
.favorites-list a {
    color: #666;
    text-decoration: none;
}
.favorites-list p {margin: 0;}
.carousel-entry-card-thumb, .related-entry-card-thumb, .widget-entry-card-thumb, .entry-card-thumb {
    float: none !important;
    margin: 0 !important;
}
.card-thumb img {
    border-radius: 8px 8px 0 0;
}

/*-- ブックマーク --*/
.simplefavorite-button.preset {
    color: #0074c0 !important;
    border-color: #0074c0 !important;
    border-radius: 6px !important;
    font-size: .8rem;
	margin-bottom: 30px;
}
.simplefavorite-button.preset:hover, .simplefavorite-button.preset.active {
    background-color: #0074c0 !important;
	color:#fff !important;
    border: none;
    opacity: 1;
}
.simplefavorite-button.preset:hover {filter:brightness(1.1);}

/*-- パンくずリスト --*/
.breadcrumb {
    font-size: 1.2rem;
}
.breadcrumb .fa-fw {
    display: none;
}

/*-- フッター --*/
aside ul {
    display: flex;
    flex-wrap: wrap;
}
.footer-widgets-mobile {display:block;}
#nav_menu-3 .menu .button:not(.current-menu-item):not(.current-menu-ancestor) > .sub-menu:not(.active) {
display: none;
}
.navi-footer-in > .menu-footer li:first-child {
    border-left: none;
}
.navi-footer-in > .menu-footer li:last-child {
	border-right: none;
}

@media (max-width:768px) {
	#footer-in ul li.menu-item-has-children a {
		display: flex;
		position: relative;
	}
	#footer-in ul li.menu-item-has-children a:after {
		background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-size: 1.25rem;
		content: "";
		flex-shrink: 0;
		height: 1.25rem;
		margin-left: auto;
		transition: transform 0.2s ease-in-out;
		width: 1.25rem;
		position: relative;
        top: 6px;
	}
	#footer-in ul li.menu-item-has-children a:hover:after {
		background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
	}
	#footer-in ul li.menu-item-has-children1 a.opened:after {
		transform: rotate(-180deg);
	}
	#footer-in ul.sub-menu li a {
		font-weight: 300 !important;
		font-size: .8rem !important;
		border-bottom: none !important;
		position: relative;
		padding: 5px 10px;
	}
	#footer-in ul.sub-menu li a:after {display: none;}
	#footer-in ul.sub-menu.active {display: flex !important;}
	#footer-in ul.sub-menu li {width: 50%;}
	ul.menu-footer li:before {
		content:'>';
		position:absolute;
		left:0;
	}
	.navi-footer-in > .menu-footer {
    	padding: 0 5% !important;
	}
	.navi-footer-in > .menu-footer a {
    	font-size: 1.1rem;
	}
    .navi-footer-in > .menu-footer li.menu-item {
        width: 100%;
		position: relative;
    }
}

@media  (max-width: 834px) {
	.navi-footer-in > .menu-footer li.menu-item a {
		padding: 0;
		width: 100%;
		text-align: left;
		padding-left: 5%;
	}	
}

@media (min-width:769px) {
	#footer-in .menu-item-has-children a:not([href]):not([class]) {
    	pointer-events: none;
	}
	#footer-in li.menu-item-object-custom a:not([href]):not([class]):hover {
		cursor: none;
		pointer-events: none;
	}
}

@media (min-width:960px) {
	#pager-post-navi {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-evenly;
		width: 100%;
	}
	.pager-post-navi a {
		width: 40% !important;
	}
}

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

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

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