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



.comment .avatar {
	width: 55px!important;
	height: 55px!important!;
}




.boxCardInfo {
	position: relative;
	border-radius: 10px;
	padding: 5px;
	margin-top: 1.8em;
}
.boxCardInfo-spec {
	background: linear-gradient(135deg, #DFE3E6, #A8ADB3);
}
.boxCardInfo-highlight {
	background: linear-gradient(135deg, #4F90DA, #1C5FA8);
}
.boxCardInfo-spec::after,
.boxCardInfo-highlight::after {
	position: absolute;
	top: -1.35em;
	left: 1.2em;
	background: #FFF;
	font-size: 120%;
	font-weight: bold;
	padding: .5em 1em 0;
	z-index: 2;
}
.boxCardInfo-spec::after {
	content: "このクレカの基本情報";
	color: #A8ADB3;
}
.boxCardInfo-highlight::after {
	content: "注目ポイント";
	color: #4F90DA;
}
.boxCardInfo ul {
	background: #FFF;
	border-radius: 5px;
	font-size: 90%;
	font-weight: 500;
	margin-bottom: 0em!important;
	padding-top: 1.2em;
	padding-bottom: 1em;
	padding-left: 3em;
	line-height: 2.2em;
}












/* サイドバーでのカード紹介 */
.sidebarCards {
	background: linear-gradient(135deg, #3e70ba, #4f90da, #5fa0e0, #70b0e6, #81c0ec);
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
	width: 100%;
	border: 1px solid #c2d6ff;
}
.sidebarCards > p {
	display: none;
}
.sidebarCards-title {
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 20px;
	text-align: center;
	position: relative;
	letter-spacing: 0.5px;
}
.sidebarCards-title::before {
	content: "\1F393"; /* 🎓 */
	margin-right: 6px;
}
.sidebarCards-item {
	display: block;
	background: #ffffff;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 16px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	text-decoration: none;
	color: inherit;
}
.sidebarCards-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.sidebarCards-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 8px;
}
.sidebarCards-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #ff5e5e;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
}
.sidebarCards-content {
	width: 100%;
	text-align: center;
}
.sidebarCards-name {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px 0;
	color: #333;
}
.sidebarCards-description {
	font-size: 13px;
	margin: 0 0 8px 0;
	color: #666;
	line-height: 1.4;
}
.sidebarCards-linkWrapper {
	text-align: center;
}
.sidebarCards-link {
	display: inline-block;
	font-size: 13px;
	color: #ffffff;
	background-color: #3498db;
	padding: 6px 12px;
	border-radius: 6px;
	font-weight: bold;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.sidebarCards-item:hover .sidebarCards-link {
	background-color: #2980b9;
/* 	transform: scale(1.05); */
}























/* テーブルのスクロール */
.table-scroll {
	overflow: auto;
	position: relative;
	max-width: 100%;
}

/* 横スクロール */
.table-scroll table {
	min-width: 600px;
	border-collapse: collapse;
	width: 100%;
}

.table-scroll th,
.table-scroll td {
	white-space: nowrap;
	font-size: 65%;
}

/* 上部のヘッダーを固定（HTML側のクラス名：divに「fixed-header」） */
.table-scroll.fixed-header thead th {
	position: sticky;
	top: 0;
	z-index: 2;
}

/* 左端の列を固定（HTML側のクラス名：divに「fixed-column」） */
.table-scroll.fixed-column th:first-child,
.table-scroll.fixed-column td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
}
.table-scroll.fixed-column th:first-child {
	background: #AAC2D2;
}
.table-scroll.fixed-column td:first-child {
	background: #FAFBFC;
}






.textRed {
	color: red;
	font-weight: bold;
}
.textSmall {
	font-size: 80%;
}
marker {
	background:linear-gradient(transparent 70%, #F8E81C 60%);
	font-weight: bold;
}






.cardIntroduction {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
/* スマホ時の縦並びと間隔確保 */
@media screen and (max-width: 768px) {
	.cardIntroduction {
		flex-direction: column;
	}
	.cardIntroduction ul + ul {
/* 		margin-top: 20px; */
	}
}
.cardIntroduction ul {
	position: relative;
	flex: 1;
	min-width: 300px;
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	padding: 4em 1em 0em 1em; /* タイトル帯の高さ分を上部に確保 */
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	color: #333;
	font-size: 90%;
}
/* メリット用ボックスの背景色・枠線 */
.cardIntroductionMerit {
	background-color: #e6fffa;
	border: 1px solid #81e6d9;
}
/* デメリット用ボックスの背景色・枠線 */
.cardIntroductionDemerit {
	background-color: #fff5f5;
	border: 1px solid #feb2b2;
}
/* 疑似要素タイトル共通スタイル */
.cardIntroductionMerit::before,
.cardIntroductionDemerit::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 12px 16px;
	font-size: 1.1em;
	font-weight: bold;
	color: #fff;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-sizing: border-box;
}
/* 各タイトルの中身と色 */
.cardIntroductionMerit::before {
	content: "✅ メリット";
	background-color: #38b2ac;
}
.cardIntroductionDemerit::before {
	content: "⚠️ デメリット";
	background-color: #e53e3e;
}
/* リスト項目のスタイル */
.cardIntroduction li {
	padding: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.cardIntroduction li:last-child {
	border-bottom: none;
}








/* タイムラインのファースト改行を削除 */
.timeline-item-snippet br:first-of-type {
	display: none;
}




/****************************************************
 * 共通｜吹き出し
 ****************************************************/

.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 #FF0000;
	background-color: #FFF;
}

.balloonUser-icon::after {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #555;
	text-align: center;
	content: "";
}

.balloonRino::after { content:"リノ"; color:#D18F73; font-weight:bold; }
.balloonKino::after { content:"キノ"; color:#4E6E45; font-weight:bold; }
.balloonRino img { border: 2px solid #D18F73; }
.balloonKino img { border: 2px solid #4E6E45; }

.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;
	}
}












/* 引用（画像用） */
.quoteImage figure {
	text-align: center;
}
.quoteImage figure img {
	width: 100%;
}
.quoteImage figure figcaption {
	margin-top: .5em;
}
.quoteImage figure figcaption a {
	color: #535252;
	text-decoration: none;
}
.quoteImage figure figcaption a::before {
	content: "引用元：";
}








/* テーブルのデザイン */
table {
}
table caption {
	text-align: center;
}
table th {
	color: #FFF;
	background-color: #AAC2D2;
	text-align: center;
}
table td {
}
table td ul,
table td ol {
	padding-left: 25px!important;
	margin-bottom: 0!important;
}
table td ul li {
}
table .tableCenter {
	text-align: center;
	font-size: 80%;
}
table .tableCenter img {
	width: 80%;
}

/* テーブル（カード紹介用） */
.cardSpec {
	text-align: center;
}
.cardSpec tr:nth-of-type(2) td img {
	width: 50%;
}
.cardSpec .cardBrand {
	justify-content: center;
}
.cardSpec ul,
.cardSpec ol {
	list-style: none;
	padding-left: 0!important;
}





/* カードブランドの横並び */
.cardBrand {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	padding-left: 0!important;
}
.cardBrand li:nth-child(n+2) {
	padding-left: .5em;
}
.cardBrand li img {
	width: 28px;
	height: auto;
}




/* 見出し下にアフィリエイトの文言を追加 */
.attentionAffiliate::before {
	content: "PR";
	padding: .2em .4em;
	color: #FFF;
	background: #AAC2D2;
}


/* 運営情報系記事の見出し */
.headingOperation {
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 1em!important;
	counter-increment: title;
}
.headingOperation::before {
	content: "第"counter(title)"条";
	padding-right: 1em;
}




.card-section {
  border: 1px solid #ddd;
  padding: 1.5em;
  margin-bottom: 2em;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.card-title {
  font-size: 1.5em;
  margin-bottom: 1em;
  color: #222;
}

.card-info-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* ←ここを変更 */
  gap: 1em;
  align-items: center;
  margin-bottom: 1.5em;
  width: 100%; /* 明示的に追加 */
}

.card-image {
  flex: 0 0 35%;
  max-width: 35%;
  min-width: 200px; /* 必要に応じて調整 */
}

.card-catch {
  flex: 0 0 65%;
  max-width: 65%;
  min-width: 250px; /* 必要に応じて調整 */
}


.card-catch {
  flex: 0 0 65%;
  max-width: 65%;
  font-weight: bold;
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
  min-width: 200px;
}


.card-flex-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}

.card-box {
  flex: 1 1 100%;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-box-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  border-left: 4px solid #007B55;
  padding-left: 0.5em;
  color: #333;
}

.card-box ul {
  padding-left: 1.2em;
  margin: 0;
}

.card-box li {
  list-style-type: disc;
  margin-bottom: 0.5em;
}

.card-description {
  margin-top: 1em;
  line-height: 1.7;
  color: #444;
}

.card-cta {
  text-align: center;
  margin-top: 2em;
}

.card-cta a {
  background-color: #007B55;
  color: #fff;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.card-cta a:hover {
  background-color: #005c3a;
}

@media screen and (min-width: 768px) {
  .card-box {
    flex: 1 1 calc(50% - 0.5em);
  }
}

@media screen and (max-width: 767px) {
  .card-info-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .card-image, .card-catch {
    max-width: 100%;
    flex: 1 1 100%;
  }
}








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


 /* 参照サイトのリスト */
.referenceList::before {
	content: "参照サイト";
	margin-left: -1.8em;
	font-size: 90%;
}
.referenceList li a {
	font-size: 80%;
	font-style: italic;
	text-decoration: none;
}







#sidebar-scroll .toc {
	width: 100%;
}
#sidebar-scroll .toc-content {
	padding: 10px;
}
#sidebar-scroll .toc-list > li {
	font-size: 90%;
}
#sidebar-scroll .toc .toc-list ol {
	margin-top: 0.5rem;
	padding-left: 1em;
}




.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;
}






/************************************
 * アコーディオン
 ************************************/

.accordion {
	width: 100%;
	background-color: #E5F4FC;
	margin-bottom: 1em;
}
.accordion:not([open]) {
	margin-bottom: 7px;
}
.accordion summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 1em 2em;
	border-radius: 5px;
	background-color: #88ABDA;
	color: #FFF;
	font-weight: 600;
	cursor: pointer;
}
.accordion summary::-webkit-details-marker {
	display: none;
}
.accordion summary::before,
.accordion summary::after {
	width: 3px;
	height: .9em;
	border-radius: 5px;
	background-color: #FFF;
	content: '';
}
.accordion summary::before {
	position: absolute;
	right: 2em;
	rotate: 90deg;
}
.accordion summary::after {
	transition: rotate .3s;
}
.accordion[open] summary::after {
	rotate: 90deg;
}
.accordion p {
	transform: translateY(-10px);
	opacity: 0;
	margin: 0;
	padding: 1em 2em;
	color: #69788A;
	transition: transform .5s, opacity .5s;
}
.accordion[open] p {
	transform: none;
	opacity: 1;
}












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

/* スムーススクロール */
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;
}
