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

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

/* ----------------------------------------------------
　AddQuicktag
 --------------------------------------------------------------------- */
.article ul,
.article ol {
	padding-left: 0;
}

.article ul li,
.article ol li{
	margin-left: 1.5em;
	margin-bottom: 1.2em;
}


/* ----------------------------------------------------
　お問い合わせ
 --------------------------------------------------------------------- */
.post-1805 .entry-title {
	text-align: center;	
	margin-top: 40px;
}
 
.post-1805 .date-tags {
	display: none;
}

.contact-form {
    display: flex;
	align-items: center;
    flex-wrap: wrap;
    width: 100%;
    text-align: left;
  }

.contact-form dt {
    width: 30%;
    padding: 8px 16px;
    box-sizing: border-box;
	position: relative;
  }

.contact-form dd {
    width: 70%;
    padding: 8px 16px;
    box-sizing: border-box;
    margin: 0;
  }

.must {
	font-size:0.6em;
	padding: 5px 8px;
	background: #f79034;
	color: #fff;
	border-radius: 5px;
	margin-left:1em;
}

.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	width: 30%;
	border-radius: 10px;
}

.contact_btn {
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner {
	width:0;
	margin:0;
	display: block;
}

@media screen and (max-width: 599px) {
	.contact-form {
		flex-direction: column;
  	}
	
	.contact-form dt {
    	width: 100%;
  	}

	.contact-form dd {
		width: 100%;
		margin-bottom: 12px;
	}

	.wpcf7 input.wpcf7-submit {
		width: 80%;
	}
}

/* ----------------------------------------------------
　トップページ
 --------------------------------------------------------------------- */

/* ページ全体 ------------------------------------------ */
img {
	vertical-align: bottom;
}

.site-name-text {
	display: none;
}

#main {
	overflow: hidden;
	margin-top: 20px;
	padding: 8px 12px;
}

#main .ect-vertical-card {
	justify-content: space-between;
}

.content {
	margin-top: 48px;
}


.sidebar {
	margin-top: 20px;
	padding: 8px 12px;
}

/* 戻るボダン */
.go-to-top {
	right: 10%;
    bottom: 40px;
}

.go-to-top-button {
	width: 50px;
	height: 50px;
}

/* グローバルナビゲーション ------------------------------------------ */
#navi {
	padding: 10px 0;
}

.header-container-in.hlt-top-menu .navi {
	width: initial;
}

.navi-in > ul li {
	width: auto;
	height: 1.4rem;
	line-height: 1.4rem;
}

.navi-in > ul li a {
	display: block;
	padding: 0 14px;
	position: relative;
}

.navi-in > ul li a:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	transition: all .3s;
	transform: scaleX(0);
}

.navi-in > ul li a:hover:after {
 	transform: scaleX(1);
}

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

.navi-in > ul li a:hoverr {
	background: transparent;
}

.navi-in a:hover {
	background: transparent;
}

/* ページネーション ------------------------------------------ */

.pagination-next {
	display: none;
}

.page-numbers {
	border-radius: 50px;
	border: none;
}

.pagination .current {
	background: #669ccc;
	color: #fff;
}

.pagination .prev,
.pagination .next {
	color: #fff;
	background: #174F80;
}


/* 記事一覧カード ------------------------------------------ */
.list .entry-card-wrap {
	width: 47.5%;
}

.entry-card-title, .related-entry-card-title {
	color: #46344f;
}

.a-wrap {
	padding: 0;
}

.a-wrap:hover {
    background: none;
}

.entry-card-thumb {
	overflow: hidden;
}

.a-wrap img {
	transition: 0.3s;
}

.a-wrap:hover img {
	transform: scale(1.1);
	transition: 0.3s;
}

.entry-card-wrap .entry-card-title {
    margin-top: 10px;
    line-height: 1.5;
}

body.home .cat-label,
body.category .cat-label {
	background-color: #46344f;
	color: #ffffff;
	border: none;
	font-size: 14px;
	padding: 4px 8px;
}

/* サイドバー ------------------------------------------ */
.widget_categories ul {
	display: flex;
	flex-wrap: wrap;
}

.widget_categories ul li {
	margin-right: 12px;
	margin-bottom: 12px;
	border: solid 1px #46344f;
	font-weight: bold;
}

.widget_categories ul li a {
	display: block;
	padding: 0px 12px;
	color: #46344f;
	transition: 0.5s;
}

.widget_categories ul li a:hover {
	color: #fff;
	background: #46344f;
	transition: 0.5s;
}

.home .widget-sidebar-title,
.widget-sidebar-title.widget-title{
	color: #46344f;
	margin: 0;
	padding-left: 0;
}

/*　人気記事 新着記事　*/
.widget-entry-cards figure {
	overflow: hidden;
}

.widget-entry-cards .a-wrap {
	padding: 0;
}

.new-entry-card-title,
.popular-entry-card-title {
	color: #46344f;
}

.border-partition a {
	border-color: #46344f;
}

.border-partition a:first-of-type {
	border-color: #46344f;
}

.border-partition a:last-of-type {
	border-bottom: none;
}

/* ----------------------------------------------------
　投稿記事　
 --------------------------------------------------------------------- */
/*　ぺージメイン幅について　*/
.post-template-default .sidebar {
    margin-top: 0px;
    padding: 8px 12px;
}

.single-post .content-in .main {
	padding: 20px 5%;
	margin: 0;
}

.single-post #footer #footer-in {
	max-width: 960px;
}

.article h1.entry-title {
	color: #46344f;
	font-size: 2.3rem;
	padding-bottom: 32px;
	margin-bottom: 40px;
	line-height: 3rem;
	border-bottom: solid 2px #46344f;
}

.article h2 {
	font-size: 1.75rem;
	color: #ffffff;
	padding: 20px 0;
	border-radius: 0;
	background: #46344f;
	position: relative;
	margin-top: 2.5em;
}

.article h2::before {
	position: absolute;
	content: '';
	display: block;
	top: 0;
	height: 100%;
	left: -45px;
    width: 50px;
	border: none;
	background: #46344f;
	border-radius: 5px 0 0 5px;
	z-index: -1;
}

.article h2::after {
	position: absolute;
	content: '';
	display: block;
	top: 0;
	height: 100%;
	right: -45px;
    width: 50px;
	border: none;
	background: #46344f;
	border-radius: 0 5px 5px 0;
	z-index: -1;
}

.article h3 {
	border:none;
	padding: 16px 0 16px 0;
	font-size: 1.6rem;
	color: #46344f;
	margin-top: 2em;
	border-bottom: solid 1px #46344f;
}

.article h4{
	border-top:none;
	border-bottom:none;
	padding: 0;
}
 
.article h5{
	border-bottom:none;
	padding: 0;
}
 
.article h6{
	border-bottom:none;
	padding: 0;
}

.wp-block-quote {
	border: solid 1px #46344f;
}

/*　目次　*/
.toc.tnt-number.border-element {
	border: solid 1px #46344f;;
}

.toc {
	margin: 0 auto;
	font-weight: bold;
}

.rect-mini-card .related-entry-card-wrap {
	padding: 0;
}

.related-entry-card {
	border: solid 1px #46344f;
	padding: 12px;
}

/* アフィリエイト　アイテムボックス ------------------------------------------ */
.product-item-box {
	border: none;
	background-color: #fff;
}

/* コメント ------------------------------------------ */
.comment-btn {
	border: solid 1px #46344f;
	font-weight: bold;
}

.pagination-next-link:hover, .comment-btn:hover {
	background: #46344f;
	color: #ffffff;
}

/* ラベル ------------------------------------------ */

body.post-template-default .eye-catch .cat-label {
	border:none;
	background: #46344f;
	color: #ffffff;
	font-size: 1rem;
	padding: 2px 8px;
    opacity: 1;
}

.entry-content p {
	margin-top:1rem;
	margin-bottom: 1.5em;
}

.article .label-box {
	margin: 3rem 0;
}

.article .label-box .label-box-label{
	font-size: 1em;
}

.article .label-box .label-box-content {
	padding: 1em 1.2em;
	background: #FFF7CC;
	border-radius: 2px;
	border: 2px solid #FFDD1A;
}

.article .label-box .label-box-content p {
	margin-top: 0;
}

.article .caption-box {
	margin: 3rem 0;
	background: #DCF3FE;
	border: 1px dashed #80d3fb;
}

.article .caption-box .caption-box-content {
	padding: 1.8em 1.2em;
}

.article .caption-box .caption-box-content p {
	margin-top: 0;
}

.article .caption-box .caption-box-content ul li {
	line-height: 1.7;
}
.article .caption-box-label {
	position: relative;
	background: none;
}

.article .caption-box-label .caption-box-label-text {
	position: absolute;
	top: -15px;
	left: 28px;
	background: #80d3fb;
	color: #ffffff;
	padding: 4px 12px;
	font-size: 0.9rem;
}

.article .tab-caption-box-content {
	padding: 1em 1.2em;
}

.article .tab-caption-box-content p {
	margin-top: 0;
}

/* テーブル ------------------------------------------ */
.article .wp-block-table th {
	background: #00a497;
	color: #fff;
}

.article .wp-block-table td {
	text-align: center;
}

/* 関連記事 ------------------------------------------ */
.related-entry-card-thumb {
	margin-top: 0;
	overflow: hidden;
}

.related-entry-card .cat-label {
	background-color: #46344f;
	color: #ffffff;
	border: none;
}

/* ブログカード ------------------------------------------ */
.blogcard-wrap {
	background: #ffffff;
	border: solid 1px #46344f;
}

/* ----------------------------------------------------
投稿日・更新日　アイコン変更　
 --------------------------------------------------------------------- */
.article .post-update {
	font-size: 1rem;
	margin-right: 16px;
}

.article .post-date {
	font-size: 1rem;
}

.article .fa-history:before {
    content: "\f017";
}

.article .fa-clock:before {
    content: "\f044";
}



/* ----------------------------------------------------
フッター
 --------------------------------------------------------------------- */
#footer a:hover {
	background: transparent;
}

#footer a:hover {
	background: transparent;
}

#footer a {
	display: block;
	position: relative;
	padding: 0;
}

#footer a:after {
	position: absolute;
	bottom: -3px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background-color: #46344f;
	transition: all .3s;
	transform: scaleX(0);
}

#footer a:hover:after {
 	transform: scaleX(1);
}

.footer {
  padding: 4%;
}

.navi-footer .menu-footer li {
	margin-right: 20px;
}

.navi-footer .menu-footer li:last-child {
	margin-right: 0;
}

.navi-footer .menu-footer li,
.navi-footer .menu-footer li:last-child {
	border: none;
}

.copyright {
  color: #fff; /*クレジットの文字色*/
	margin-top: 24px;
	font-size: 12px;
	color: #777777;
}

@media screen and (max-width: 599px) {
	.footer-mobile a {
		text-align: center;
		font-size: 0.75rem;
		margin-top: 24px;
		margin-bottom: -30px;
		padding: 0;
	}	
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.navi-footer-in > .menu-footer li.menu-item {
    border: none; /*モバイルでメニューのボーダーを消す*/
  }
	
    .entry-card-title {
        font-size: 1rem;
        line-height: 1.4;
    }
	
	main.main {
		padding: 12px;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.content {
		margin-top: 0;	
	}
	
	.a-wrap img {
		transition: 0;
	}

	.a-wrap:hover img {
		transform: scale(1);
		transition: 0;
	}
	
	.ect-vertical-card {
		flex-direction: column;
	}
	
	.list .entry-card-wrap {
		width: 100%;
	}
	
 	.cat-label {
		font-size: 14px;
		max-width: 90%;
		overflow: visible;
		padding: 4px 8px;
	}
	
	.entry-title {
		padding: 2%;
	}
	
	.article h1.entry-title {
		font-size: 1.4rem;
		line-height: 1.8rem;
		padding-bottom: 16px;
		margin-bottom: 20px;
	}
	
	.article h2 {
		font-size: 1.3rem;
	}
	
	/* お問い合わせ */
	.contact-form dt {
		padding: 0px 16px;
	}
	
	.contact-form dd {
		margin: 0 0 1rem;
		padding: 0px 16px;
	}
	
	.contact-form dt p,
	.contact-form dd p {
		margin-top: 0rem;
   		margin-bottom: 0.5em;
	}
	
	.wpcf7 input.wpcf7-submit {
    	width: 91%;
	}
	
	/* フッターメニュー */
	.footer {
		margin-top: 0;
	}
	
	.footer-bottom {
		margin-top: 0;
	}
	
	.search-menu-button.menu-button,
	.navi-menu-button.menu-button {
		background: #46344f;
		color: #ffffff;
	}
	
	.home-menu-button,
	.top-menu-button {
		background: #46344f;
	}

	.mobile-menu-buttons .menu-button > a {
		color: #ffffff;
	}
	
	.sidebar-menu-button {
		display: none;
	}
	
	/* ドロワーメニュー */
	.navi-footer-in > .menu-footer li.menu-item { /*モバイルでメニューを1カラムにする*/
		width: 100%;
		display: block;
		flex: auto;
		padding: 0.3em 0;
	}
	
	.navi-menu-content{
		left: auto;
		right: 0;
		background-color: #46344f;
		transform: translateX(101%);
		padding-top: 8rem
	}
	
	.menu-close-button {
		text-align: left;
		padding-left: 24px;
	}
	
	.menu-content .menu-drawer {
		padding: 3em 1em 40px;
	}
	
	.menu-content .menu-drawer li {
		margin-bottom: 20px;
		color: #fff;
	}
	
	.menu-content .menu-drawer li a {
		color: #fff;
	}
	
	.menu-content .menu-drawer li a:hover {
		background-color: transparent;
	}
}
