/**
 * The Wise - Custom Styles for Front Page
 * Lightning Child Theme
 */

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
	background: linear-gradient(135deg, #FF4081 0%, #9C27B0 100%);
	color: #ffffff;
	padding: 80px 20px;
	text-align: center;
	margin-bottom: 60px;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin: 0 0 20px 0;
	letter-spacing: 2px;
	font-family: 'Georgia', serif;
}

.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 300;
	margin: 0 0 15px 0;
	letter-spacing: 1px;
}

.hero-description {
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0;
	opacity: 0.95;
}

/* ========================================
   Subsites Section
   ======================================== */

.subsites-section {
	background-color: #f5f5f5;
	padding: 60px 20px;
	margin-bottom: 60px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

.subsites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

/* ========================================
   Subsite Cards
   ======================================== */

.subsite-card {
	background: #ffffff;
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 450px;
}

.subsite-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

.card-icon svg {
	width: 100%;
	height: 100%;
	color: inherit;
}

.card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #333333;
}

.card-description {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #666666;
	margin: 0 0 30px 0;
	flex-grow: 1;
}

.card-button {
	display: inline-block;
	padding: 12px 35px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	border: 2px solid;
	cursor: pointer;
}

.card-button:hover {
	transform: scale(1.05);
}

/* Card Color Variants */

.card-beauty {
	border-top: 4px solid #E91E63;
}

.card-beauty .card-icon {
	color: #E91E63;
	background-color: rgba(233, 30, 99, 0.1);
}

.card-beauty .card-button {
	background-color: #E91E63;
	color: #ffffff;
	border-color: #E91E63;
}

.card-beauty .card-button:hover {
	background-color: #C2185B;
	border-color: #C2185B;
}

.card-camping {
	border-top: 4px solid #FF9800;
}

.card-camping .card-icon {
	color: #FF9800;
	background-color: rgba(255, 152, 0, 0.1);
}

.card-camping .card-button {
	background-color: #FF9800;
	color: #ffffff;
	border-color: #FF9800;
}

.card-camping .card-button:hover {
	background-color: #F57C00;
	border-color: #F57C00;
}

.card-vod {
	border-top: 4px solid #673AB7;
}

.card-vod .card-icon {
	color: #673AB7;
	background-color: rgba(103, 58, 183, 0.1);
}

.card-vod .card-button {
	background-color: #673AB7;
	color: #ffffff;
	border-color: #673AB7;
}

.card-vod .card-button:hover {
	background-color: #512DA8;
	border-color: #512DA8;
}

/* ========================================
   Message Section
   ======================================== */

.message-section {
	background-color: #ffffff;
	padding: 80px 20px; /* パディングを増やしてゆとりを持たせる */
	margin-bottom: 60px;
}

.section-title {
	font-size: 2.2rem; /* タイトルを少し大きく */
	font-weight: 700;
	text-align: center;
	margin: 0 0 50px 0; /* 下の余白を増やす */
	color: #333333;
	position: relative;
	padding-bottom: 20px;
}

.section-title::after {
	content: '';
	display: block;
	width: 80px; /* ラインを長く */
	height: 4px; /* ラインを太く */
	background: linear-gradient(90deg, #E91E63, #9C27B0);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px; /* ラインに丸み */
}

.message-content {
	max-width: 900px; /* 幅を広げて読みやすく */
	margin: 0 auto;
	text-align: left; /* テキストを左寄せにして読みやすく */
	padding: 0 30px;
}

.message-content p {
	font-size: 1.1rem; /* フォントサイズを大きく */
	line-height: 2.0; /* 行間を広げて読みやすく */
	color: #444444;
	margin: 0 0 25px 0;
}

.founder-info {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 1px solid #e0e0e0;
	text-align: right; /* 署名を右寄せに */
}

.founder-info p {
	margin: 5px 0;
	font-size: 1rem;
}
/* ========================================
   Latest Posts Section
   ======================================== */

.latest-posts-section {
	background-color: #f5f5f5;
	padding: 80px 20px; /* パディングを増やしてゆとりを持たせる */
	margin-bottom: 0; /* ページ最下部なのでマージンをなくす */
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* カードを大きく */
	gap: 40px; /* 間隔を広げる */
	margin-top: 50px;
}

.post-card {
	background: #ffffff;
	border-radius: 12px; /* 角を丸く */
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* 影を強くして立体感を出す */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-left: 5px solid #E91E63; /* アクセントライン */
}

.post-card:hover {
	transform: translateY(-8px); /* ホバー時の浮き上がりを大きく */
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.post-card {
	padding: 25px;
}

.post-title {
	font-size: 1.2rem; /* タイトルを大きく */
	font-weight: 700;
	margin: 0 0 12px 0;
}

.post-excerpt {
	font-size: 1rem; /* 本文を大きく */
	line-height: 1.7;
	color: #666666;
	margin: 0 0 20px 0;
}

.post-date {
	font-size: 0.9rem;
	color: #999999;
	margin: 0;
	font-style: italic;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
	.hero-section {
		padding: 60px 15px;
		margin-bottom: 40px;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.2rem;
	}

	.subsites-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.subsite-card {
		padding: 30px 20px;
		min-height: auto;
	}

	.section-title {
		font-size: 1.5rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.card-title {
		font-size: 1.2rem;
	}

	.card-description {
		font-size: 0.9rem;
	}

	.section-title {
		font-size: 1.3rem;
	}
}

/* ========================================
   Additional Utilities
   ======================================== */

a {
	color: #E91E63;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #9C27B0;
}

/* Ensure proper spacing for Lightning theme */
#primary {
	margin-top: 0;
}

.site-main {
	margin: 0;
	padding: 0;
}

/* ========================================
   3 Themes Latest Pick Up Section
   ======================================== */

.latest-pick-up-section {
	background-color: #ffffff;
	padding: 60px 20px;
	margin-bottom: 60px;
}

.pick-up-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.pick-up-card {
	border-radius: 10px;
	padding: 30px;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.pick-up-card:hover {
	transform: translateY(-5px);
}

.pick-up-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.pick-up-article-title {
	font-size: 1rem;
	line-height: 1.6;
	margin: 15px 0;
}

.pick-up-link {
	display: inline-block;
	color: #ffffff;
	text-decoration: underline;
	font-weight: 600;
	transition: opacity 0.3s ease;
}

.pick-up-link:hover {
	opacity: 0.8;
}

/* Color Variants */
.pick-up-card.card-beauty {
	background-color: #E91E63; /* ピンク */
}

.pick-up-card.card-camping {
	background-color: #FF9800; /* オレンジ */
}

.pick-up-card.card-vod {
	background-color: #673AB7; /* 紫 */
}

/* Responsive */
@media (max-width: 768px) {
	.pick-up-grid {
		grid-template-columns: 1fr;
	}
}
