@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 {
  display:none;
}

/*-- 全体サイズ指定 --*/
@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: 4rem;}

/*-- ヘッダー/フッター共通 --*/
.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: 20px;
	position: relative;
}
.pager-post-navi a.prev-post:before {
	content: '前ページ';
	position: absolute;
	top: 10%;
	left: 10%;
	color: #999;
}
.pager-post-navi a.next-post:before {
	content: '次ページ';
	position: absolute;
	top: 10%;
	right: 10%;
	color: #999;
}

/*-- ハンバーガーメニュー --*/
.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;
}

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

/*-- パンくずリスト --*/
.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: center;
		width: 100%;
	}
	.pager-post-navi a {
		width: 40%;
	}
}

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

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

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