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

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

.wrap {
    width: 100%;
}

.main{
	background:#ffffff !important;
}

/* menu */

.navi-in > ul li {
    width: 16.66666666666667%;
}

#menu-item-20 {
    background: #007DAF;
}

#menu-item-37 {
    background: #24B953;
}

#menu-item-41 {
    background: #fab041;
}

#menu-item-30 {
    background: #fe605d;
}

#menu-item-56 {
    background: #e25d8e;
}

#menu-item-25 {
    background: #5d7c53;
}

#navi .navi-in a:hover {
    background-color: #32492a;
}

.content {
    margin-top: 0;
}

/* main */
.main {
    border-radius: 0;
	padding: 50px 20px;
	margin:0 auto;
}

/* list */
.a-wrap {

}

.ect-3-columns {
    gap: 20px;
}

.ect-3-columns .entry-card-wrap {
    width: calc(25% - 15px);
    padding: 0;
	border: 1px solid #e6e7e2;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb {
    width: 100%;
    float: none;
    margin: 0;
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 0;
    padding: 10px 15px !important;
}

.entry-card-title {
    font-size: 24px !important;
	font-weight:normal;
	line-height:1.4;
	
}

.card-thumb img {
    width: 100%;
    border-radius: 0;
    height: 150px;
}

/* sidebar */    
.mainr, .sidebar {
	border-radius: 0;
    background: #f3f4ef;
	border:none !important;
	padding:50px 20px;
}

.sidebar h3 {
        background-color: #f3f4ef;
    padding: 0 5px;
    margin: 10px 0 15px;
    border-radius: 0;
    color: #41563a;
    font-size: 16px;
    font-weight: normal;
    border-left: 5px solid #41563a;
}

.widget-entry-cards .a-wrap {
    padding: 0;
    line-height: 1.3;
    margin-bottom: 20px;
    /*border: 1px solid #f3f4ef;*/
	background:#fff;
}

.card-title {
    font-size: 18px;
    line-height: 1.5;
	color: #41563a;
	font-weight:normal;
}

.list-item-caption {
    color: #fff;
}

.widget_categories ul li a:hover{
	background:#32492a;
	border-radius:4px;
}

.popular-entry-card-thumb {
    margin: 0 !important;
}

.widget-entry-cards.card-large-image .card-content {
    margin: 0;
    padding: 10px 15px !important;
	
}

.a-wrap:hover {
    background-color: #e6e7e2 !important;

}

/* article */

.article {
    margin-bottom: 2em;
    max-width: 800px;
    margin: 0 auto;
}

.eye-catch img {
    max-height: 360px;
    object-fit: cover;
}

.entry-categories-tags {
    margin-bottom: 18px;
    margin-top: 20px;
}

.eye-catch-wrap {
   
    margin: 30px auto;
}

.article h1 {
    font-size: 28px;
    padding: 15px;
    line-height: 1.5;
}

.article h2 {
    border-left: 7px solid #5ea346;
	border-right: none;
	border-top: none;
	border-bottom: none;
    font-size: 24px;
    padding: 5px 20px;
    margin: 3em auto 1em;
	line-height: 1.5;
	background:#fff;
	font-weight:normal;
}

.article h3 {
    border-left: 4px solid #5ea346;
    border-right: none;
    border-top: none;
    border-bottom: none;
    font-size: 18px;
    padding: 0 20px;
    margin: 3em auto 1em;
    line-height: 1.5;
}

.article h4 {
    font-size: 18px;
    padding: 20px 10px;
    font-weight: normal;
    line-height: 1.5;
	border-top: 2px solid #5ea346;
	border-bottom: 2px solid #5ea346;
}

.wp-block-image img {
    display: block;
    max-width: 480px;
	width:100%;
}

.pagination-next-link, .comment-btn {
    background-color: #b9d1af;
    border: none;
    color: #fff;
    display: block;
    font-size: 16px;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 10px;
    display: block;
    border-radius: 4px;
}

.pagination-next-link:hover, .comment-btn:hover {
    background-color: #4E6845;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.pagination .current {
    background-color: #4E6845;
}

.page-numbers {
    color: #fff;
    border: none;
    margin: 0 4px;
    font-size: 16px;
    background: #b9d1af;
}

.pagination a:hover {
    background-color: #4E6845;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.wp-block-separator {
    margin: 50px auto;
}

/* category */
.eye-catch .cat-label {
    opacity: 1;
    border: none;
}

.cat-label-5, .cat-link-5, .cat-item-5{
    background-color: #007DAF;
    border: none;
}

.cat-label-7, .cat-link-7, .cat-item-7{
    background-color: #5d7c53;
    border: none;
}

.cat-label-11, .cat-link-11, .cat-item-11 {
    background-color: #fe605d;
    border: none;
}

.cat-label-12, .cat-link-12, .cat-item-12 {
    background-color: #24B953;
    border: none;
}

.cat-label-13, .cat-link-13, .cat-item-13 {
    background-color: #fab041;
    border: none;
}

.cat-label-15, .cat-link-15, .cat-item-15 {
    background-color: #e25d8e;
    border: none;
}

.cat-item {
    border-radius: 4px;
    text-align: center;
	margin: 0 auto 8px;
}

.widget_categories ul li a {
    padding: 8px;
    display: block;
    font-size: 14px;
}

/* 関連記事 */

.rect-vertical-card-3 .related-list {
    gap: 15px;
}

.rect-vertical-card-3 .related-entry-card-wrap {
    width: calc(33% - 10px);
	border: 1px solid #ccc;
	padding:0;
}

.related-entry-card-thumb {
    margin: 0;
}

.rect-vertical-card .related-entry-card-content {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 15px;
}

/* footer */
.footer {
    margin-top: 0;
    padding: 40px 20px 80px;
}

.footer-bottom {
    margin-top: 0;
    padding: 8px;
    position: relative;
    font-size: 14px;
}

.footer-bottom.fnm-text-width .menu-footer li {
    width: auto;
    padding: 5px;
    border-radius: 4px;
    margin: 0 3px;
    border: none;
}

.navi-footer-in a:hover {
    background-color: #222;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1239px) {
    .main, .sidebar, .sidebar-left .main, .sidebar-left .sidebar {
        margin: 0;
    }

    .main {
        width: 76%;
    }

.sidebar {
        padding: 1.5%;
        width: 24%;
    }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	#navi .navi-in > .menu-mobile li {
        width: 16.66666666666667%;
        height: 40px;
        line-height: 40px;
    }
	/* mobile menu */
	.menu-content .menu-drawer {
    padding: 30px 1em 30px;
}
	.menu-drawer li {
    display: block;
    border-radius: 4px;
    margin-bottom: 8px;
}
	
	.menu-drawer a {
    color: #fff;
    text-decoration: none;
    padding: 8px;
    display: block;
    text-align: center;
}
	
	.menu-item-35 {
    background: #007DAF;
}

.menu-item-44 {
    background: #6F5998;
}

.menu-item-52 {
    background: #fe605d;
}

.menu-item-57 {
    background: #24B953;
}

.menu-item-86 {
    background: #fab041;
}

.menu-item-88 {
    background: #e25d8e;
}
	
	.entry-card-title {
    font-size: 18px !important;
	
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
	main.main{
        padding: 32px 16px;
        margin: 0;
        border-width: 0;
    }
	
	/* 関連記事 */
	.rect-vertical-card-3 .related-entry-card-wrap {
    width: calc(50% - 10px);
    border: 1px solid #ccc;
    padding: 0;
}
	
	/* footer */
	    .navi-footer-in > .menu-footer li.menu-item a {
        padding: 8px;
        width: 100%;
    }
	
	.ect-3-columns .entry-card-wrap {
    width: calc(50% - 16px);
   
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	/* header */
	    #navi .navi-in > .menu-mobile {
        display: flex;
        gap: 4px;
		padding:4px;
    }
	
	#navi .navi-in > .menu-mobile li {
        width: calc(50% - 3px);
        height: 40px;
        line-height: 40px;
		border-radius:4px;
    }
	
	 .navi-footer {
        margin: 40px auto;
    }
	
	    .ect-3-columns .entry-card-wrap {
        width: 100%;
    }
	
	    .rect-vertical-card-3 .related-entry-card-wrap {
        width: 100%;
    }
	
	.rect-vertical-card .related-entry-card-title {
    font-size: 14px;
}
	
	.footer-bottom {
    margin-top: 0;
    padding: 0;
    position: relative;
    font-size: 14px;
}
	
	.footer-bottom.fnm-text-width .menu-footer li {
    width: 46%;
    margin: 5px;
}
}