@charset "UTF-8";
@import url("../../../../css/index.css");
@import url("../../../../css/hamburger_menu.css");

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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ==================================================
ブログ側：共通ヘッダー・フッター スマホ補正
================================================== */

@media screen and (max-width: 599px) {

	/* --------------------------------
	ページ幅
	-------------------------------- */
	body {
		min-width: 0;
		width: 100%;
		overflow-x: hidden;
	}


	/* --------------------------------
	ヘッダー
	-------------------------------- */
	header {
		height: 43px;
	}

	header .rogo {
		width: 210px;
		max-width: calc(100vw - 85px);
	}

	.display_tel_1000 {
		width: 100%;
	}
/* ==================================================
article：スマホ ハンバーガーメニュー補正
================================================== */
/* --------------------------------
クリック領域
-------------------------------- */
.H_nav input[type="checkbox"] {
	width: 42px;
	height: 42px;
}

.H_nav .hamburger {
	width: 42px;
	height: 42px;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2.5px;
	background-color: #ffaf2e;
	padding: 8px 6px 3px;
	border: solid #fff 1px;
}
/* 三本線 */
.H_nav .hamburger .line {
	width: 28px;
	height: 2px;
	margin: 0;
	border-radius: 10px;
}

/* MENU文字 */
.H_navP {
	margin-top: 3px;
	font-size: 9px;
	line-height: 1;
}

/* --------------------------------
×になった時
-------------------------------- */

.H_nav input[type="checkbox"]:checked ~ .hamburger .line1,
.H_nav input[type="checkbox"]:checked ~ .hamburger .line3 {
	position: absolute;
	top: 15px;
	left: 4px;
	width: 33px;
	margin: 0;
	transform-origin: center center;
}

.H_nav input[type="checkbox"]:checked ~ .hamburger .line1 {
	transform: rotate(25deg);
}

.H_nav input[type="checkbox"]:checked ~ .hamburger .line2 {
	opacity: 0;
}

.H_nav input[type="checkbox"]:checked ~ .hamburger .line3 {
	transform: rotate(-25deg);
}
.H_nav input[type="checkbox"]:checked ~ .hamburger .H_navP {
	margin-top: 15px;
}

/* --------------------------------
開いたメニュー
-------------------------------- */
.H_nav .menu {
	padding: 72px 0 30px;
}

.H_nav .menu a {
	padding: 17px 0;
	font-size: 21px;
	line-height: 1.4;
}

.H_nav .menu span {
	font-size: 14px;
}

.H_nav .menu p {
	font-size: 25px;
}
	/* --------------------------------
固定下部CTA
-------------------------------- */
.tel_bottom {
	left: 0;
	width: 100%;
	min-width: 0;
	height: 65px;
}

.tel_bottom .tel {
	width: 66%;
	height: 100%;
}

.tel_bottom .mail,
.tel_bottom .LINE {
	width: 17%;
	height: 100%;
}

.tel_bottom > div {
	min-width: 0;
	overflow: hidden;
}

.tel_bottom a {
	width: 100%;
	height: 100%;
	padding-bottom: 4px;
}

/* 電話番号画像 */
.tel_bottom .tel img {
	display: block;
	width: 94%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

/* メール・LINEアイコン */
.tel_bottom .mail img,
.tel_bottom .LINE img {
	width: 45px;
	max-width: 68%;
	height: auto;
	object-fit: contain;
}

.tel_bottom .mail a,
.tel_bottom .LINE a {
	font-size: 10px;
	line-height: 1.15;
	letter-spacing: .3px;
	padding-bottom: 3px;
}
	/* --------------------------------
	フッター問い合わせエリア
	-------------------------------- */
	footer .BG {
		padding: 14px 10px;
	}

	footer .text {
		width: 100%;
	}

	footer .text img {
		width: 65px;
	}

	footer .text h2 {
		font-size: 11px;
		white-space: normal;
		line-height: 1.5;
	}

	footer .text p {
		font-size: 10px;
		line-height: 1.5;
	}


	/* --------------------------------
	フッターCTA
	-------------------------------- */
	footer .link {
		width: 100%;
		gap: 6px;
	}

	footer .link a {
		width: calc(50% - 6px);
		height: 45px;
		margin: 3px;
	}

	footer .link img {
		width: 26px;
		margin-right: 3px;
	}

	footer .link h2 {
		font-size: 14px;
		white-space: normal;
		line-height: 1.4;
	}

	footer .link p {
		font-size: 9px;
		line-height: 1.3;
		margin-bottom: 0;
	}


	/* --------------------------------
	電話番号
	-------------------------------- */
footer .tel {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		margin: 8px 0;
		gap: 6px;
	}

	/* ロゴ */
	footer .tel img:first-child {
		width: 20%;
		max-width: 80px;
		height: auto;
		flex-shrink: 0;
	}

	/* 電話番号画像 */
	footer .tel img:last-child {
		width: 72%;
		max-width: 300px;
		height: auto;
		min-width: 0;
	}

	/* --------------------------------
	行政認定バナー
	-------------------------------- */
	footer .ansin {
		width: 88%;
		max-width: 100%;
	}


	/* --------------------------------
	会社概要
	-------------------------------- */
	footer .company {
		padding: 20px 12px 30px;
	}

	footer .company > div {
		width: 100%;
	}

	footer .company img {
		width: 75%;
		max-width: 280px;
		margin: 0 auto;
	}

	.table_design03 {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 10px auto 20px;
	}

	.table_design03 th,
	.table_design03 td {
		font-size: 12px;
		padding: .7em;
	}

	footer iframe {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}
}
/* --------------------------------
固定ヘッダー分
-------------------------------- */
body .content {
	padding-top: 100px;
	margin-top: 0;
}

/* カテゴリーアーカイブはcontentから除外 */
body.single .content,
body.category .content {
	padding-top: 0;
}

.category-archive-hero-wrap {
	padding-top: 100px;
}
@media screen and (max-width: 599px) {
	body .content,
	.category-archive-hero-wrap {
		padding-top: 0;
	}
	    main.main, div.sidebar {
        padding: 16px;
        margin: 6px 0;
    }
}

/* --------------------------------
カテゴリーカラー定義
-------------------------------- */

:root {
	/* 無料相談会開催日 */
	--color-consultation-schedule: #ffaf2e;
	--color-consultation-schedule-glow: #ffaf2e;

	/* 相談会レポート */
	--color-consultation-report: #013fa6;
	--color-consultation-report-glow: #69b7ed;

	/* 相談事例 */
	--color-case-studies: #7aba3f;
	--color-case-studies-glow: #7aba3f;

	/* 訊けばわかるさ */
	--color-ask: #d9788f;
	--color-ask-glow: #f2b7c5;

	/* デフォルト */
	--cat-color: var(--color-consultation-schedule);
	--cat-glow-color: var(--color-consultation-schedule-glow);
}


/* 無料相談会開催日 */
body.category-consultation-schedule {
	--cat-color: var(--color-consultation-schedule);
	--cat-glow-color: var(--color-consultation-schedule-glow);
}

/* 相談会レポート */
body.category-consultation-report {
	--cat-color: var(--color-consultation-report);
	--cat-glow-color: var(--color-consultation-report-glow);
}

/* 相談事例 */
body.category-case-studies {
	--cat-color: var(--color-case-studies);
	--cat-glow-color: var(--color-case-studies-glow);
}

/* 訊けばわかるさ */
body.category-ask {
	--cat-color: var(--color-ask);
	--cat-glow-color: var(--color-ask-glow);
}


/* 投稿・ウィジェット */
.category-consultation-schedule-post,
.widget_categories .cat-consultation-schedule {
	--cat-color: var(--color-consultation-schedule);
}

.category-consultation-report-post,
.widget_categories .cat-consultation-report {
	--cat-color: var(--color-consultation-report);
}

.category-case-studies-post,
.widget_categories .cat-case-studies {
	--cat-color: var(--color-case-studies);
}
.category-ask-post,
.widget_categories .cat-ask {
	--cat-color: var(--color-ask);
}

/* --------------------------------
共通フッター
-------------------------------- */
footer table tr:nth-of-type(2n+1),
footer table:not(.has-border-color) th,
table:not(.has-border-color) td{
	background-color: initial;
}

footer table:not(.has-border-color) :where(th, td){
	border-left: none;
	border-right: none;
}

footer table th,
footer table td{
	padding: 0;
}

footer table:not(.has-border-color) th{
	border-color: #ffaf2e;
}
table:not(.has-border-color) td{
	border-color: #c1c7c6;
}

/* --------------------------------
ぱんくずリスト
-------------------------------- */
#breadcrumb .fa-fw{
	display: none;
}
#breadcrumb .fa-home:before,
#breadcrumb .fa-folder:before{
	display: none;
}

/* --------------------------------
サイドバー
-------------------------------- */
.sidebar h3{
	font-family: "font_B";
	background-color: transparent;
	border-bottom: 6px dotted #ffaf2e;
	padding: 0 0 6px 0;
}
/* --------------------------------
ウィジェット新着記事
-------------------------------- */
.widget-entry-cards .a-wrap{
	border-bottom: 1px solid gray;
}
.widget-entry-cards:not(.large-thumb-on) .card-title{
	font-size: 14px;
	font-weight: bold;
	white-space: normal;
	margin-top: 6px;
}
.widget-entry-cards .new-entry-card-post-date{
	color: gray;
	padding: 0;
}
.widget-entry-cards .new-entry-card-post-date .fa-clock-o{
	display: none;
}
.widget-entry-cards .new-entry-card-post-date .entry-date{
	margin-left: 0;
}
.widget-entry-cards .widget-entry-card-thumb{
	width: 65px;
}
.widget-entry-cards .widget-entry-card-thumb.card-thumb img{
	aspect-ratio: 1/1;
	border-radius: 10px;
}
.widget-entry-card-content {
	display: flex;
	flex-direction: column-reverse;
	font-family: "Noto Sans JP", sans-serif;
	margin-left: 65px;
}

/* 日付＋カテゴリーラベル */
.new-entry-card-date {
	display: flex;
	align-items: center;
	gap: 0;
}

/* カテゴリーラベル */
.new-entry-cards .cat-label {
	position: static;
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	margin: 0;
	padding: 2px 7px;
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
	border-radius: 2px;
}
.new-entry-card-update-date.widget-entry-card-update-date.post-update{
	display: none;
}	

/* 無料相談会開催日 */
.new-entry-cards .cat-label-1 {
	background-color: #ffaf2e;
	color: #fff;
}

/* 相談会レポート */
.new-entry-cards .cat-label-2 {
	background-color: #013fa6;
	color: #fff;
}

/* 相談事例 */
.new-entry-cards .cat-label-3 {
	background-color: #7aba3f;
	color: #fff;
}
/* 訊けばわかるさ */
.new-entry-cards .cat-label-17 {
	background-color: #d9788f;
	color: #fff;
}
/* --------------------------------
ウィジェットカテゴリー
-------------------------------- */
.widget_categories .cat-item{
	border-bottom: 1px solid gray;
}
/* カテゴリーリンク */
.widget_categories li > a {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 0.5em;
	width: 100%;
}

/* ▶ CSS三角形 */
.widget_categories li > a::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;

	border-top: 0.3em solid transparent;
	border-bottom: 0.3em solid transparent;
	border-left: 0.48em solid var(--cat-color);

	flex: 0 0 auto;
}

/* カテゴリー名 */
.widget_categories li > a .list-item-caption {
	display: inline-block;
	flex: 1 1 auto;
	min-width: 0;
}
/* --------------------------------
カテゴリーアーカイブ
-------------------------------- */
.category-archive-hero {
	background-color: #ffaf2e;
}

/* 無料相談会 */
.category-archive-hero--consultation-schedule {
	--cat-color: #ffaf2e;
}

/* レポート */
.category-archive-hero--consultation-report {
	--cat-color: #013fa6;
}

/* 相談事例 */
.category-archive-hero--case-studies {
	--cat-color: #7aba3f;
}
.category-archive-hero--ask {
	--cat-color: #d9788f;
}

/* カテゴリーアーカイブ ヘッダー */
.category-archive-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1920 / 267;
	overflow: hidden;
	background: color-mix(
	in srgb,
	var(--cat-color) 18%,
	white
);}

/* 左右画像 共通 */
.category-archive-hero__image {
	position: absolute;
	top: 0;
	width: 32%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	opacity: 0.5;
}

/* 左画像：右端だけふわっと消す */
.category-archive-hero__image--left {
	left: 0;
	object-position: left center;

	-webkit-mask-image: linear-gradient(
		to right,
		#000 0%,
		#000 65%,
		rgba(0, 0, 0, 0.75) 78%,
		rgba(0, 0, 0, 0.3) 90%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		#000 0%,
		#000 65%,
		rgba(0, 0, 0, 0.75) 78%,
		rgba(0, 0, 0, 0.3) 90%,
		transparent 100%
	);
}

/* 右画像：左端だけふわっと消す */
.category-archive-hero__image--right {
	right: 0;
	object-position: right center;

	-webkit-mask-image: linear-gradient(
		to left,
		#000 0%,
		#000 65%,
		rgba(0, 0, 0, 0.75) 78%,
		rgba(0, 0, 0, 0.3) 90%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to left,
		#000 0%,
		#000 65%,
		rgba(0, 0, 0, 0.75) 78%,
		rgba(0, 0, 0, 0.3) 90%,
		transparent 100%
	);
}

/* --------------------------------
カテゴリーカラーのぼかし
-------------------------------- */

.category-archive-hero__glow {
	position: absolute;
	inset: -40px;
	z-index: 2;
	pointer-events: none;

	background: radial-gradient(
		ellipse at center,
		color-mix(in srgb, var(--cat-color) 28%, transparent) 0%,
		color-mix(in srgb, var(--cat-color) 22%, transparent) 30%,
		color-mix(in srgb, var(--cat-color) 12%, transparent) 55%,
		color-mix(in srgb, var(--cat-color) 4%, transparent) 75%,
		transparent 100%
	);

	filter: blur(50px);
}
/* --------------------------------
タイトル
-------------------------------- */

.category-archive-hero__inner {
	position: relative;
	z-index: 3;
	text-align: center;
	padding: 28px 40px;
}

.category-archive-hero__title {
	display: inline-block;
	margin: 0;
	padding: 0 50px 10px;

	color: #383838;
	font-family: "font_B";
	font-size: clamp(1.7rem, 2.5vw, 2.4rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;

	border-bottom: 1px solid var(--cat-color);
}

.category-archive-hero__subtitle {
	margin: 8px 0 0;

	color: var(--cat-color);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
}


/* --------------------------------
スマホ
-------------------------------- */

@media screen and (max-width: 599px) {

	.category-archive-hero {
		min-height: 130px;
	}

	.category-archive-hero__image {
		width: 45%;
		opacity: 0.65;
	}

	.category-archive-hero__glow {
		background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--cat-color) 8%, transparent) 0%,
		color-mix(in srgb, var(--cat-color) 20%, transparent) 30%,
		color-mix(in srgb, var(--cat-color) 24%, transparent) 50%,
		color-mix(in srgb, var(--cat-color) 20%, transparent) 70%,
		color-mix(in srgb, var(--cat-color) 8%, transparent) 100%
	);
	}

	.category-archive-hero__inner {
		padding: 20px 16px;
	}

	.category-archive-hero__title {
		padding: 0 20px 8px;
		font-size: 1.45rem;
	}

	.category-archive-hero__subtitle {
		margin-top: 6px;
		font-size: 0.72rem;
	}

}

header.category-header,
h1.archive-title{
	display: none;
}
.category-page-content{
	margin-bottom: 1em;
}
.category-page-content h2{
	border-left: 8px solid var(--cat-color);
	background: transparent;
	padding: 16px;
	padding-left: 14px;
	margin-bottom: .5em;
}

.category-page-content p{
	font-size: 16px;
}
.archive.category .main{
	padding-top: 18px;
}
/* 記事カード */
#list .entry-card-wrap {
	position: relative;
	font-family: "Noto Sans JP", sans-serif;;
	/* 薄めボーダー */
	border: 1px solid color-mix(
		in srgb,
		var(--cat-color) 45%,
		white
	);
	/* 薄め背景 */
	background-color: color-mix(
		in srgb,
		var(--cat-color) 7%,
		white
	);
	border-radius: 12px;
	padding: clamp(16px, 2vw, 24px);
}

/* 続きを読む */
#list .entry-card-wrap::after {
	content: "続きを読む ＞";
	position: absolute;
	right: 24px;
	bottom: 15px;
	color: gray;
	font-size: .7em;
	font-weight: 500;
}
#list .entry-card-wrap .entry-card-content{
	margin-left: 20%;
}
#list .entry-card-wrap .cat-label{
	display: none;
}
#list .entry-card-wrap .entry-card-thumb{
	width: 20%;
}
#list .entry-card-wrap .card-thumb img{
	aspect-ratio: 1/1;
	border-radius: 10px;
}
#list .entry-card-title {
	color: var(--cat-color);
	border-bottom: 4px dotted gray;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 17px;
	font-weight: 500;
	text-align: left;
	white-space: normal;
	padding-bottom: .4em;
	margin-bottom: .6em;
		display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
}
#list .entry-card-snippet {
	line-height: 1.5;
	white-space: normal;
}
@media screen and (max-width: 480px) {
#list .entry-card-snippet {
	display: block;
}
}
/* --------------------------------
ページネーション
-------------------------------- */
.pagination-next{
	display: none;
}
.pagination .current.page-numbers{
    background-color: var(--cat-color);
    border-color: var(--cat-color);
		border-radius: 50%;
		color: #fff;
	}
	.pagination .page-numbers{
		font-family: "font_B";
		font-weight: bold;
		background-color: #bfbfbf;
		border-color: #bfbfbf;
		border-radius: 50%;
		color: #fff;
		width: 40px;
		height: 40px;
		line-height: 39px;
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers{
	background-color: transparent;
	border-color: transparent;
	color: gray;
}
/* --------------------------------
記事ぺージ
-------------------------------- */

body.single-post article.post{
	border-radius: 20px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	padding: 40px 36px;
}

.category-consultation-schedule-post .cat-link,
.category-consultation-report-post .cat-link,
.category-case-studies-post .cat-link,
.category-ask-post .cat-link{
	border-color: var(--cat-color);
	background-color: var(--cat-color);
	color: #fff;
}
body.single-post article.post .fa-folder{
	display: none;
}
body.single-post article.post .eye-catch-image {
	border-radius: 15px;
}
body.single-post article.post .cat-label{
	display: none;
}
body.single-post article.post .entry-title{
	font-family: "font_M";
	white-space: normal;
	padding: 0.6em 0;
}
body.single-post article.post .wp-block-paragraph{
	font-size: 16px;
	text-align: left;
}
/* 前の記事　次の記事 */
.pager-post-navi{
	flex-direction: row;
	justify-content: space-between;
}
.pager-post-navi::after{
	display: none;
}
.prev-post-thumb.card-thumb,
.next-post-thumb.card-thumb{
	display: none;
}
.pager-post-navi a.prev-post .prev-post-title,
.pager-post-navi a.next-post .next-post-title{
	white-space: nowrap;
}
/* 相談事例タイトル */
.category-case-studies-post h2.wp-block-heading{
	background-color: transparent;
	text-align: left;
	white-space: normal;
	color: var(--cat-color);
	padding: 0;
	margin-bottom: .5em;
}

@media screen and (max-width: 599px) {
	body.single-post article.post{
	padding: 20px 10px;
}

}

/* その他タイトル */
.single-post:not(.categoryid-3) h2.wp-block-heading {
	white-space: normal;
	color: #fff;
}