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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* ================================
   キーボード比較表 汎用CSS
   ================================ */
/* ベースコンテナ - 汎用化されたクラス名 */
.review-comparison-container {
	max-width: 1200px;
	margin: 20px auto;
	padding: 0 15px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 比較表スタイル */
.review-comparison-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1;
}

.review-comparison-table th {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff !important;
	padding: 15px 12px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	border: none;
	position: relative;
	z-index: 10;
}

.review-comparison-table td {
	padding: 12px;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
	font-size: 13px;
	position: relative;
	z-index: 5;
	background: #ffffff !important; /* 背景を白に固定 */
}

/* 価格セルの色分け - 文字色修正版 */
.price-excellent {
	background: linear-gradient(135deg, #e8f5e8, #c8e6c9) !important;
	color: #1b5e20 !important; /* 濃い緑で視認性向上 */
	font-weight: 600;
	text-shadow: none !important; /* テキストシャドウを無効化 */
	position: relative;
	z-index: 15 !important;
}

.price-good {
	background: linear-gradient(135deg, #fff3e0, #ffe0b2) !important;
	color: #e65100 !important; /* 濃いオレンジで視認性向上 */
	font-weight: 600;
	text-shadow: none !important;
	position: relative;
	z-index: 15 !important;
}

.price-high {
	background: linear-gradient(135deg, #ffebee, #ffcdd2) !important;
	color: #c62828 !important; /* 濃い赤で視認性向上 */
	font-weight: 600;
	text-shadow: none !important;
	position: relative;
	z-index: 15 !important;
}

/* 青いエフェクト問題の修正 */
.review-comparison-table td::before,
.review-comparison-table td::after {
	display: none !important; /* 疑似要素を無効化 */
}

/* 推奨度の星評価 */
.star-rating {
	color: #ffd700;
	font-size: 16px;
	text-shadow: none !important;
	position: relative;
	z-index: 20;
}

/* ホバーエフェクト */
.review-comparison-table tbody tr:hover {
	background-color: #f8f9fa !important;
	transform: translateY(-2px);
	transition: all 0.3s ease;
}

.review-comparison-table tbody tr:hover td {
	background-color: inherit !important;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
	.review-comparison-container {
		padding: 0 10px;
	}

	.review-comparison-table {
		font-size: 12px;
	}

	.review-comparison-table th,
	.review-comparison-table td {
		padding: 8px 4px;
	}

	.review-comparison-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

@media (max-width: 480px) {
	.review-comparison-table {
		font-size: 11px;
	}

	.review-comparison-table th,
	.review-comparison-table td {
		padding: 6px 3px;
	}
}

/* 価格注意書きスタイル */
.price-notice {
	background: linear-gradient(135deg, #fff8e1, #ffecb3);
	border: 2px solid #ffb74d;
	border-radius: 8px;
	padding: 15px;
	margin: 20px 0;
	color: #e65100;
	font-size: 14px;
	position: relative;
	z-index: 10;
}

.price-notice i {
	margin-right: 8px;
	color: #ff9800;
}

/* 総合評価セクション */
.review-evaluation-section {
	margin: 40px 0;
	padding: 30px;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-evaluation-section h3 {
	color: #495057;
	margin-bottom: 25px;
	font-size: 24px;
	text-align: center;
}

.evaluation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.evaluation-card {
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	position: relative;
	z-index: 5;
}

.evaluation-card h4 {
	color: #343a40;
	margin-bottom: 15px;
	font-size: 18px;
}

.score-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: bold;
	font-size: 24px;
	position: relative;
	z-index: 10;
}

.score-excellent { background: linear-gradient(135deg, #4caf50, #8bc34a); }
.score-good { background: linear-gradient(135deg, #ff9800, #ffc107); }
.score-average { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.score-high { background: linear-gradient(135deg, #f44336, #e91e63); }

/* 購入推奨セクション */
.review-recommendation-section {
	margin: 40px 0;
	padding: 30px;
	background: linear-gradient(135deg, #e3f2fd, #bbdefb);
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-recommendation-section h3 {
	color: #1976d2;
	margin-bottom: 25px;
	font-size: 24px;
	text-align: center;
}

.recommendation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.recommendation-card {
	background: #ffffff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	border-left: 5px solid;
	position: relative;
	z-index: 5;
}

.recommendation-card.most-recommended {
	border-left-color: #4caf50;
}

.recommendation-card.budget-friendly {
	border-left-color: #ff9800;
}

.recommendation-card.balanced {
	border-left-color: #2196f3;
}

.recommendation-card.premium {
	border-left-color: #9c27b0;
}

.recommendation-card h4 {
	margin-bottom: 15px;
	color: #343a40;
	font-size: 18px;
}

.recommendation-card .target {
	color: #666;
	font-style: italic;
	margin-bottom: 10px;
}

.recommendation-card .reason {
	color: #333;
	line-height: 1.6;
}

/* 文字の視認性向上 */
.review-comparison-table td,
.review-comparison-table th,
.evaluation-card,
.recommendation-card {
	text-shadow: none !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}



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

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

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