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

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

/*サイトマップ*/
.sitemap h2 {
	position: relative;
	padding: 0 0 0 35px;
	background-color: transparent;
	margin-top: 2em;
}
.sitemap h2::before {
	content: "";
	background-image: url(https://takobo.site/wp-content/uploads/2025/12/IMG_0034-2-e1766558314157.png);
	background-repeat: no-repeat;
	background-size: contain;
    width: 100%;
    height: 30px;
    position: absolute;
	top: 0;
	left: 0;
}

/*コンテンツ上部のタコのイラスト*/
#main::before {
	content: "";
	background-image: url(https://takobo.site/wp-content/uploads/2025/12/IMG_0022-e1766305221755.png);
	background-repeat: no-repeat;
	background-size: contain;
    width: 100px;
    height: 90px;
    position: absolute;
    top: -50px;
    left: 43%;
}

.original-setting-text {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 400;
	line-height: 1.8;
}

/*カテゴリーとタグの個別ページの見出しの点線余白調整*/
#archive-title::after {
	margin-top: 5px;
}
/*フォントの設定*/
#navi .navi-in a,
.article h1,
.entry-content p,
.card-title,
.next-post-title,
.prev-post-title,
.archive-title {
	font-family: "Zen Maru Gothic", sans-serif;
}

/*ナビゲーションホバー時*/
#navi .navi-in a:hover,
#navi-footer .navi-footer-in a:hover {
	background-color: transparent;
	color: #6cb9e0;
}

/*ヘッダーの上部パディング入れる*/
#header-container-in {
	padding-top: 28px;
}
/*アピールエリア調整*/
#appeal-in {
	min-height: 116px;
	padding: 0;
}

/*メインエリアのパディング変更*/
.main {
	padding: 44px 35px;
}

/*見出しの行間変更*/
.original-heading img{
	vertical-align: bottom;
}
/*イラストカードのテキストエリア余白・文字サイズ変更*/
.widget-entry-cards.card-large-image .card-content {
	padding: 5px 0 0;
	margin: 0;
}
.widget-entry-cards.card-large-image .e-card {
	font-size: 16px;
}

/*フロント固定ページのタイトル,すべてのページの投稿日を非表示にする*/
.front-top-page #main .entry-title,
.page .date-tags {
	display: none;
}

/*メインコンテンツとサイドバーのデザイン変更*/
.page #main,
.page #sidebar,
.main,
.sidebar {
	background-color: #FBF5DE;
	border: none;
	border-radius: 10px;
	box-shadow: 0 0 7px 2px rgba(42,79,98,0.25);
}

/*ホーム以外の見出し*/
.entry-title {
   text-align: center;
   font-size: 36px;
   line-height: 1;
}

/*投稿ページ*/
.article .entry-content {
	margin-bottom: 18px;
}
.type-post .article-header h1 {
	font-size: 36px;
	margin: 0;
	font-family: "Zen Maru Gothic", sans-serif;
}
.type-post .article-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 14px;
}
.type-post .article-header .date-tags {
	margin-bottom: 0;
}
.article-footer .sns-share-message {
	font-size: 20px;
	margin-bottom: 17px;
}
.bc-brand-color-white a {
	background-color: transparent;
}

/*h2タグのデザイン変更*/
.page #main .wp-block-heading {
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	margin-bottom: 32px;
}
/*関連イラストh2タグ*/
h2.related-entry-heading {
	font-family: "Zen Maru Gothic", sans-serif;
    background-image: url(https://takobo.site/wp-content/uploads/2025/12/IMG_0034-1-e1765776012169.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 55px;
	font-size: 32px;
	margin: 100px 0 20px;
}

/*サイドバーh3タグのデザイン変更*/
.sidebar h3 {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 24px;
	background-color: transparent;
	padding: 0;
	margin: 0 0 20px;
	line-height: 1;
}
.sidebar h3::after {
	content: "";
	background-image: url(https://takobo.site/wp-content/uploads/2025/12/Line-1.png);
  	background-repeat: no-repeat;
  	background-size: cover;
	width: 100%;
	height: 4px;
	display: block;
	background-position: left bottom;
	margin-top: 0.3em;
}

/*新着イラストのレイアウト変更*/
#main .flexwrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 32px;
}
#main .flexwrap a {
	width: calc((100% - 64px) / 3);
	margin-bottom: 0;
	padding: 0;
}
#main .a-wrap:hover {
	background-color: transparent;
	opacity: .6;
}
/*投稿日と更新日のスタイル変更*/
.post-update {
	display: none;
}
.new-entry-card-meta {
	margin-top: 3px;
}
.entry-date {
	margin-left: 0;
}
.post-date {
	letter-spacing: .08em;
	color: #747474;
	font-size: 12px;
}
/*メインコンテンツの上部マージン削除*/
.entry-content {
	margin-top: 0;
}

/*投稿ページのページャー*/
#pager-post-navi .fa-chevron-left,
#pager-post-navi .fa-chevron-right {
	color: #E3B486;
}

/*固定ページのページネーション*/
/*次ページボタンを無くす*/
.pager-links.pager-prev-next,
.pagination-next-link {
  display: none;
}
.page-numbers {
	border-color: transparent;
	font-size: 22px;
	line-height: 46px;
	border-radius: 50%;
	border: none;
	box-shadow: 0 0 5px rgba(120,116,102,0.1);
	font-family: "Lilita One", sans-serif;
	background-color: #fff;
}
.page-numbers.current {
  	background-color: #EAC8A6;
}
.page-numbers.dots {
	  opacity: 1;
	  background: none;
}

.body .new-entry-cards {
	margin-bottom: 0;
}


/*イラストカードのデザイン変更*/
.a-wrap figure img,
.original-favorite-list-item img,
.entry-content .is-resized img {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 7px rgba(78,76,66,0.13);
	margin: 0;
}

/*関連イラストカードのデザイン変更*/
#related-entries .related-list .related-entry-card-thumb img {
	box-shadow: 0 0 7px rgba(78,76,66,0.13);
	background-color: #fff;
	border-radius: 10px;
	margin-bottom: 5px;
}
.rect-vertical-card-3 .related-list {
	gap: 40px 32px;
}
.rect-vertical-card .related-entry-card-wrap {
	padding: 0;
	width: calc((100% - 64px) / 3);
}
.related-entry-card-title {
	margin-bottom: 0;
}
.related-entry-card-content .related-entry-card-info,
.entry-card-info {
	justify-content: flex-start;
}
.rect-vertical-card .related-entry-card-meta {
	padding-top: 0;
	margin-top: 3px;
}
.rect-vertical-card .related-entry-card-content,
.ect-vertical-card .entry-card-wrap .entry-card-content {
	display: block;
}
#related-entries {
	margin-bottom: 50px;
}

/*関連イラストのカテゴリー表示を消す*/
.related-entry-card-thumb .cat-label {
	display: none;
}

/*投稿ページボタンのスタイル変更*/
.wp-block-file .wp-element-button {
	font-family: "Zen Maru Gothic", sans-serif;
	background-color: #DE4459;
	padding: 20px 52px;
	border: 3px solid #333;
	border-radius: 30px;
	box-shadow: 3px 3px #333;
}
.wp-block-file .wp-element-button:hover {
	background-color: #FBF5DE;
	color: #DE4459;
}

/*利用規約ページ*/
.is-style-ok-box, .ok-box,
.is-style-ng-box, .ng-box {
	background: none;
}
.is-style-ok-box::before, .ok-box::before,
.is-style-ng-box::before, .ng-box::before {
	font-size: 25px;
}
.original-heading {
	font-family: "Zen Maru Gothic", sans-serif;
}
/*見出しの下の点線*/
.original-heading-img::after,
#archive-title::after {
	content: "";
	background-image: url(https://takobo.site/wp-content/uploads/2025/12/Line-1.png);
  	background-repeat: no-repeat;
  	background-size: contain;
	width: 100%;
	height: 4px;
	display: block;
	background-position: left bottom;
	margin-top: 0.6em;
}

/*お気に入りページ*/
.article ul li {
	border-top: none;
	margin: 0;
}
.original-favorite-list-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 32px;
	padding-left: 0;
}
.original-favorite-list-item {
	width: calc((100% - 64px) / 3);
	list-style-type: none;
}
.original-favorite-list-item img {
	margin-bottom: 10px;
}
.original-favorite-list-item a {
	color: #333;
}
.original-favorite-list-item a:hover {
	color: #6cb9e0;
}

/*フッター*/
.footer {
	margin-top: 120px;
	padding: 0;
}

.footer-bottom-logo {
	top: 20%;
}

.footer-bottom {
	padding: 48px 0 28px;
	margin-top: 0;
}

.navi-footer-in a {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 16px;
}

.navi-footer-in > .menu-footer li {
	border-left: none;
}

.navi-footer-in > .menu-footer li:last-child {
	border-right: none;
}

.footer-bottom.fnm-text-width .menu-footer li a {
	padding: 0 25px;
}

.navi-footer-in > .menu-footer li a:last-child {
	padding-right: 0;
}

.copyright {
	font-family: "Zen Maru Gothic", sans-serif;
	margin-top: 52px;
	font-size: 12px;
	font-weight: 600;
}

/*サイドバー*/
.sidebar {
	padding: 44px 35px;
}

.body .widget {
	margin-bottom: 100px;
}

/*検索バー*/
.search-box {
	margin: 18px 0 0;
}
input.search-edit {
	border: 1px solid #6CB9E0;
	position: relative;
}
input.search-edit::placeholder {
	font-family: "Zen Maru Gothic", sans-serif;
	color: #aaa;
}
button.search-submit {
	width: 48px;
	height: 100%;
	background-color: #6CB9E0;
	position: absolute;
	right: 0;
	top: 0;
	color: #fff;
}

/*カテゴリー*/
.widget_categories ul li {
	margin-bottom: 10px;
}
.widget_categories ul li a,
.entry-categories .cat-link {
	font-family: "Zen Maru Gothic", sans-serif;
	background-color: #F7D8C8;
	font-weight: 500;
	border-radius: 4px;
	color: #DE4459;
	padding: 0.6em;
	line-height: 1;
	font-size: 16px;
}
.entry-categories .cat-link {
	font-size: 14px;
}
.widget_categories ul li a:hover {
	background-color: #DE4459;
	color: #F7D8C8;
}

/*タグクラウド*/
.tagcloud a,
.entry-tags a {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	border-radius: 20px;
	border: 1px solid #EB9495;
	color: #DE4459;
	padding: 0.5em 0.9em;
	line-height: 1;
	flex: 0 1 auto;
	font-size: 16px;
	margin-right: 7px;
	margin-bottom: 7px;
}
.entry-tags a {
	font-size: 14px;
}
.fa-tag:before {
	font-size: 12px;
	color: #EB9495;
}
.tagcloud a:hover {
	background-color: #DE4459;
	color: #F7D8C8;
}
.entry-tags a:hover {
	opacity: .5;
	color: #DE4459;
}
/*お知らせ*/
#pc_text-2 .text-pc {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
}
/*SNSフォローボタン*/
.widget_sns_follow_buttons .sns-follow-message {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	margin-bottom: 35px;
}
.nwa .sns-follow-buttons a {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 20px;
	margin: 0 6px;
}
/*SNSシェアボタン*/
.button-caption {
	display: none;
}
.sns-share-buttons a {
	border-radius: 50%;
	margin: 10px;
}
#main .sns-share a {
	width: 56px;
	height: 56px;
	margin-bottom: 0.5em;
}
.social-icon {
	font-size: 24px;
}

/*お問い合わせ*/
/* フォーム全体のスタイル */
.wpcf7 {
	font-family: "Zen Maru Gothic", sans-serif;
	max-width: 600px;
	margin: auto;
}

/* ラベルのスタイル */
.wpcf7-form input,
.wpcf7-form textarea {
	margin-top: 7px;
}
.wpcf7-form .original-margin {
	margin-bottom: 18px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	border: 1px solid #E3B486;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 700;
	border: 3px solid #333;
	background-color: #6CB9E0;
	color: #fff;
	border-radius: 30px;
	box-shadow: 3px 3px 0 1px #333333;
	width: 240px;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
	font-size: 16px;
}
.wpcf7-form input[type="submit"]:hover {
	background-color: #FBF5DE;
	color: #6CB9E0;
}
/*送信ボタン中央揃え*/
.wpcf7-spinner {
    display: none !important;
}
.wpcf7-form .btn-center {
	text-align: center;
}

/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
	color: red;
	font-size: 14px;
	margin-top: 3px;
}
.wpcf7 form.invalid .wpcf7-response-output {
	font-size: 16px;
	border: none;
	text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
	font-size: 16px;
	border: none;
	text-align: center;
}

/*オリジナルのアラート*/
.wpcf7-form .original-alert {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

/*タグとカテゴリーの個別ページ*/
.archive-title {
    font-size: 32px;
	margin: 16px 0 30px;
}
.archive-title span::before {
	display: none;
}
.ect-3-columns .entry-card-snippet {
	display: none;
}
.cat-label {
	display: none;
}
#list {
	gap: 40px 32px;
}
.ect-3-columns .entry-card-wrap {
	padding: 0;
	width: calc((100% - 64px) / 3);
}
/*アピールエリア*/
.appeal {
		background-size: contain;
	}

/*フッターモバイルボタンの文字色と背景色を変更*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button,
.navi-menu-button.menu-button .custom-menu-icon,
.navi-menu-button.menu-button .custom-menu-caption,
.sidebar-menu-button.menu-button,
.top-menu-button.menu-button .top-menu-icon,
.top-menu-button.menu-button .top-menu-caption {
	color: #6cb9e0;
}

/*スライドインメニューをカスタマイズ*/
.navi-menu-content{
	left: auto;/*スライドインメニューを右から出す*/
	right: 0;
	transform: translateX(101%);
	background-color: rgba(251,245,222,1);
}

.menu-drawer a{
	font-size: 1.1em;/*文字の大きさ*/
	color: #333;/*文字の色*/
	line-height: 3em;
}

.menu-drawer a:hover{
	color: #333;
	background-color: rgba(108,185,224,0.6);
}

/*上に戻るボタン*/
.go-to-top-button-image {
	width: 70px;
	height: 70px;
	border-radius: 50%;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	/*1023px以下でロゴの位置を変更*/
	#header-container-in {
		padding-top: 20px;
	}
	
	/*フッターのパディングとロゴ下の調製*/
	.footer-bottom {
		padding: 20px 28px;
	}
	.logo-footer {
		margin: 8px auto 15px;
	}
	
	/*サイドバーの修正*/
	#slide-in-sidebar {
		padding-top: 10px;
		box-shadow: none;
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
		/*ロゴの大きさを変更*/
		img.site-logo-image{
		width: 200px;
		}
		.navi-footer-in > .menu-footer {
			flex-wrap: nowrap;
			justify-content: center;
		}
		.navi-footer-in a {
			font-size: 90%;
		}
		.navi-footer-in>.menu-footer li a:last-child {
			padding: 0 25px 0 0;
		}
	
		/*メインエリアのパディング変更*/
		main.main {
			padding: 22px 14px;
		}
		/*メインエリアのgap変更*/
		#main .flexwrap a,
		.rect-vertical-card .related-entry-card-wrap,
		.original-favorite-list-item,
		.ect-3-columns .entry-card-wrap {
			width: calc((100% - 30px) / 3);
		}
		#main .flexwrap,
		.rect-vertical-card-3 .related-list,
		.original-favorite-list-wrap,
		#list {
			gap: 20px 15px;
		}
}
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.appeal {
		background-image: url(https://takobo.site/wp-content/uploads/2025/12/SP-eyecatch.png);
	}
	
	/*メインエリアのgap変更*/
	#main .flexwrap a,
	.rect-vertical-card .related-entry-card-wrap,
	.original-favorite-list-item,
	.ect-3-columns .entry-card-wrap {
		width: calc((100% - 20px) / 3);
	}
	#main .flexwrap,
	.rect-vertical-card-3 .related-list,
	.original-favorite-list-wrap,
	#list {
		gap: 15px 10px;
	}
}
