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



/****************************************************
 * 共通｜色々
 ****************************************************/

/* スムーススクロール */
html {
	scroll-behavior: smooth;
}

/* ふわっとした動作（指定箇所に"fadeIn"を入れる） */
.fadeIn,
.eye-catch img {
	animation-name:fadeInAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
}
@keyframes fadeInAnime {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* 画像の余白削除 */
img { vertical-align: top; }

/* 画像サイズを100% */
/* img { width: 100%; } */

/* スマホで改行削除 */
@media screen and (max-width: 768px) {
	.brSP { display: none; }
}

/* パソコンで改行削除 */
@media screen and (min-width: 769px) {
	.brPC { display: none; }
}

/* reCAPTCHAの中央表示 */
.grecaptcha-badge {
	margin: auto;
}

/* 検索窓の虫眼鏡の位置 */
.search-box br {
	display: none;
}





/****************************************************
 * テキスト
 ****************************************************/

.textRed, .textBlue, .textGreen { font-weight:bold; }
.textRed { color:#FF0000; }
.textBlue { color:#2C6EBD; }
.textGreen { color:#00C300; }
.textSmall { font-size: 80%; }
marker {
	background:linear-gradient(transparent 70%, #F8E81C 60%);
	font-weight: bold;
}





/****************************************************
 * ボックス（グレー）
 ****************************************************/

.boxGray {
	background-color: #F5F5F5;
	padding: 1em;
}
.boxGray-title {
	font-weight: bold;
}
.boxGray-title::before {
	content: '✔ ';
	color: #E6A014;
	font-size: 1.2em;
}
.boxGray ul,
.boxGray ol {
	margin-bottom: 0!important;
}
.boxGray li a {
	color: #6FB6C3;
	font-weight: bold;
	transition: all .3s;
}
.boxGray li a:hover {
	color: #A3EAF7;
}
.boxGray p {
	margin-bottom: 0!important;
}





/****************************************************
 * アコーディオン（単体）
 ****************************************************/

.accordionSingle {
	max-width: 100%;
	margin: 0 auto 1.8em;
}
.accordionSingle-item {
	margin-bottom: 12px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
	background: #f7fafd;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}
.accordionSingle-item:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.accordionSingle-detail {
	width: 100%;
	transition: all 0.3s ease;
	background: transparent;
}
.accordionSingle-question {
	list-style: none;
	cursor: pointer;
	padding: 20px;
	position: relative;
	font-size: 17px;
	font-weight: 600;
	color: #2f3e4d;
	background-color: transparent;
}
.accordionSingle-question::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 20px;
	color: #5c738a;
	transition: transform 0.3s ease;
}
.accordionSingle-detail[open] .accordionSingle-question {
	border-bottom: 1px solid #c3d2e0;
}
.accordionSingle-detail[open] .accordionSingle-question::after {
	content: "−";
	transform: rotate(0deg);
}
.accordionSingle-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.6;
	background-color: #ffffff;
	transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordionSingle-answer b {
	color: #0077CC;
}
.accordionSingle-answer ul,
.accordionSingle-answer ol,
.accordionSingle-answer table {
	margin-bottom: 0;
}
.accordionSingle-detail[open] .accordionSingle-answer {
	max-height: 100%;
	padding: 20px;
}
/* ▼ レスポンシブ調整 */
@media screen and (max-width: 600px) {
	.accordionSingle-question {
		font-size: 16px;
		padding: 18px 30px 16px 60px;
	}
	.accordionSingle-question::before {
		left: 12px;
		top: 16px;
		font-size: 14px;
		padding: 3px 8px;
	}
	.accordionSingle-question::after {
		right: 10px;
		top: 16px;
		font-size: 18px;
	}
	.accordionSingle-answer {
		font-size: 14px;
		padding: 0 16px;
	}
	.accordionSingle-detail[open] .accordionSingle-answer {
		padding: 16px;
	}
}





/****************************************************
 * アコーディオン（FAQ）
 ****************************************************/

.accordionFAQ {
	max-width: 100%;
	margin: 0 auto 1.8em;
/* 	padding: 0 16px; */
	counter-reset: question;
}
.accordionFAQ-item {
	margin-bottom: 12px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
	background: #f7fafd;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}
.accordionFAQ-item:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.accordionFAQ-detail {
	width: 100%;
	transition: all 0.3s ease;
	background: transparent;
}
.accordionFAQ-question {
	list-style: none;
	cursor: pointer;
	padding: 23px 20px 20px 80px;
	position: relative;
	font-size: 17px;
	font-weight: 600;
	color: #2f3e4d;
	background-color: transparent;
}
.accordionFAQ-question::before {
	counter-increment: question;
	content: "Q" counter(question);
	position: absolute;
	left: 20px;
	top: 20px;
	color: #5c738a;
	font-weight: bold;
	font-size: 15px;
	background: #e2ebf7;
	padding: 4px 10px;
	border-radius: 12px;
}
.accordionFAQ-question::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 20px;
	color: #5c738a;
	transition: transform 0.3s ease;
}
.accordionFAQ-detail[open] .accordionFAQ-question {
	border-bottom: 1px solid #c3d2e0;
}
.accordionFAQ-detail[open] .accordionFAQ-question::after {
	content: "−";
	transform: rotate(0deg);
}
.accordionFAQ-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.6;
	background-color: #ffffff;
	transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordionFAQ-answer b {
	color: #0077CC;
}
.accordionFAQ-answer ul,
.accordionFAQ-answer ol,
.accordionFAQ-answer table {
	margin-bottom: 0;
}
.accordionFAQ-detail[open] .accordionFAQ-answer {
	max-height: 100%;
	padding: 20px;
}
/* ▼ レスポンシブ調整 */
@media screen and (max-width: 600px) {
	.accordionFAQ-question {
		font-size: 16px;
		padding: 18px 30px 16px 60px;
	}
	.accordionFAQ-question::before {
		left: 12px;
		top: 16px;
		font-size: 14px;
		padding: 3px 8px;
	}
	.accordionFAQ-question::after {
		right: 10px;
		top: 16px;
		font-size: 18px;
	}
	.accordionFAQ-answer {
		font-size: 14px;
		padding: 0 16px;
	}
	.accordionFAQ-detail[open] .accordionFAQ-answer {
		padding: 16px;
	}
}





/****************************************************
 * 吹き出し
 ****************************************************/

.balloonUser {
	display: flex;
	align-items: flex-start;
	margin-bottom: 24px;
	background-color: #FFF;
	border-radius: 12px;
	padding: 16px;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out forwards;
}
.balloonUser-icon {
	flex-shrink: 0;
	margin-right: 14px;
}
.balloonUser-icon img {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 2px solid #CCC;
	background-color: #FFF;
}
.balloonUser-icon::after {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #555;
	text-align: center;
	content: "";
}

.balloonAuthor::after { content:"リノ"; color:#21221D; font-weight:bold; }
.balloonRino img { border: 2px solid #D18F73; }
.balloonTeacher::after { content:"先生"; color:#B093F7; font-weight:bold; }
.balloonTeacher img { border: 2px solid #BABCDA; }

.balloonUser-review {
	position: relative;
	background-color: #F2F2F2;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	max-width: 100%;
}

/* 吹き出しのしっぽ */
.balloonUser-review::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 16px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 10px solid #F2F2F2;
}
/* アニメーション（ふわっと上がって出てくる） */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* モバイル対応 */
@media (max-width: 480px) {
	.balloonUser {
		flex-direction: row;
		align-items: flex-start;
	}
	.balloonUser-review {
		font-size: 14px;
		line-height: 1.6;
	}
}





/****************************************************
 * リンク
 ****************************************************/

 /* リンク｜関連記事 */
.linkRelated {
	color: #0044CC;
	font-weight: 500;
	text-decoration: none;
	transition: all .3s;
}
.linkRelated::before {
	content: "関連";
	color: #FFF;
	background: var(--skin-grayish-site-main-hover);
	padding: .3em .7em;
	margin-right: .7em;
}




