@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.5
*/

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

/* Base & Reset */
body {
	color: #4a4a4a;
	overflow-x: hidden;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fdfdfd; }
::-webkit-scrollbar-thumb { background: #e2dcd8; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #c5baba; }

/* Scroll Trigger Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Hero Animation */
.hero-bg {
	animation: heroZoom 15s ease-out forwards;
}
@keyframes heroZoom {
	0% { transform: scale(1.1); }
	100% { transform: scale(1); }
}
.hero-text-anim {
	opacity: 0;
	animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ★アニメーションのキーフレームを追加★ */
@keyframes fadeInUp {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
	0% { opacity: 0; transform: translateY(10px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism */
.glass-nav {
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}
.glass-card {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 1);
	box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
	transition: all 0.4s ease;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}
.glass-card:hover {
	transform: translateY(-5px) translateZ(0);
	-webkit-transform: translateY(-5px) translateZ(0);
	box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
	border-color: rgba(255, 255, 255, 0.8);
}
.glass-panel {
	background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

/* Button Effects */
.btn-shimmer {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}
.btn-shimmer::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
	transform: skewX(-25deg);
}
.btn-shimmer:hover::after {
	animation: shimmer 1.5s infinite;
}
.btn-shimmer:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(183, 92, 117, 0.4);
}

/* Blob Background Animation */
.blob-container {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	overflow: hidden; z-index: -1;
	pointer-events: none;
}
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	animation: moveBlob 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.blob-pink { width: 50vw; height: 50vw; background: #fdf3f5; top: -10%; left: -10%; }
.blob-mint { width: 45vw; height: 45vw; background: #f2fbf9; top: 40%; right: -10%; animation-delay: -5s; }
.blob-blue { width: 40vw; height: 40vw; background: #f0f8ff; bottom: -20%; left: 20%; animation-delay: -10s; }

@keyframes moveBlob {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(5vw, 8vh) scale(1.1); }
	100% { transform: translate(-5vw, 12vh) scale(0.9); }
}

/* LED Colors Glow */
.glow-red:hover { box-shadow: 0 0 30px rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }
.glow-blue:hover { box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); }
.glow-green:hover { box-shadow: 0 0 30px rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
.glow-yellow:hover { box-shadow: 0 0 30px rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); }

/* Accordion */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-icon {
	transition: transform 0.4s ease;
}
.accordion-btn.active .accordion-icon {
	transform: rotate(180deg);
}

/* ★Cocoon お知らせリスト（ショートコード）強制上書きCSS★ */
/* リスト全体のラッパー */
.cocoon-news-wrapper .new-entry-cards {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
}

/* リンク（aタグ）のスタイル */
.cocoon-news-wrapper .a-wrap {
	display: block !important;
	padding: 1.25rem 0 !important;
	border-bottom: 1px solid #f3f4f6 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
}

.cocoon-news-wrapper .a-wrap:last-child {
	border-bottom: none !important;
}

.cocoon-news-wrapper .a-wrap:hover {
	background-color: #fafafa !important;
	padding-left: 0.5rem !important; /* ホバー時に少し右へスライド */
}

/* サムネイル、抜粋、カテゴリラベル等の不要な要素を強制非表示 */
.cocoon-news-wrapper .new-entry-card-thumb,
.cocoon-news-wrapper .new-entry-card-snippet,
.cocoon-news-wrapper .new-entry-card-folder,
.cocoon-news-wrapper .entry-category {
	display: none !important;
}

/* コンテンツ部分をフレックスボックスにして並び替え */
.cocoon-news-wrapper .new-entry-card-content {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.25rem !important;
	margin: 0 !important;
}

@media (min-width: 768px) {
	.cocoon-news-wrapper .new-entry-card-content {
		flex-direction: row !important;
		align-items: baseline !important;
		gap: 1.5rem !important;
	}
}

/* 日付エリアを強制的に最初に配置(order: -1) */
.cocoon-news-wrapper .new-entry-card-meta {
	order: -1 !important; 
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
}

/* 投稿日のテキストスタイル */
.cocoon-news-wrapper .new-entry-card-date,
.cocoon-news-wrapper .post-date,
.cocoon-news-wrapper .post-update {
	font-size: 0.875rem !important;
	color: #a89f91 !important; /* アクセントカラー(greige) */
	margin: 0 !important;
	line-height: 1 !important;
	font-family: inherit !important;
}

/* 日付横のアイコンを非表示 */
.cocoon-news-wrapper .new-entry-card-date .fa,
.cocoon-news-wrapper .new-entry-card-date .fas,
.cocoon-news-wrapper .new-entry-card-date .far {
	display: none !important;
}

@media (min-width: 768px) {
	.cocoon-news-wrapper .new-entry-card-meta {
		flex-shrink: 0 !important;
		width: 100px !important; /* 日付の幅を固定してタイトルの開始位置を揃える */
	}
}

/* 投稿日表示 */
.cocoon-news-wrapper .new-entry-card-date {
	display: block;
}

/* 投稿日非表示 */
.cocoon-news-wrapper .new-entry-card-update-date {
	display: none;
}

/* タイトルのスタイル */
.cocoon-news-wrapper .new-entry-card-title {
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.6 !important;
	color: #4a4a4a !important;
	margin: 0 !important;
	flex: 1 !important;
	transition: color 0.3s ease !important;
}

.cocoon-news-wrapper .a-wrap:hover .new-entry-card-title {
	color: #5c92b7 !important; /* ホバー時にアクセントカラー(bluegray)に変更 */
}

/* Safe area for mobile floating bar */
.pb-safe { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }

/* Utility */
.text-gradient {
	background: linear-gradient(135deg, #a89f91, #d4af37);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* プライバシーポリシー */

.bg_pp {
	font-family: 'Noto Sans JP', sans-serif;
	color: #333;
	background-color: #fafafa !important;
}

.section-title {
	position: relative;
	padding-left: 1rem;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 1.2rem;
	background-color: #5c92b7;
	border-radius: 2px;
}

/* リンクのホバーアニメーション */
.hover-link {
	transition: color 0.3s ease;
}
.hover-link:hover {
	color: #5c92b7;
}
