:root {
--primary-color: #667eea;
--secondary-color: #764ba2;
--text-dark: #2c3e50;
--text-light: #7f8c8d;
--bg-light: #ffffff;
--bg-gray: #f8f9fa;
--border-color: #e0e0e0;
--shadow: 0 2px 10px rgba(0,0,0,0.1);
--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
color: var(--text-dark);
background-color: var(--bg-light);
line-height: 1.6;
}

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

.main-navigation {
background-color: var(--bg-light);
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 1000;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo-section {
display: flex;
align-items: center;
gap: 15px;
}

.logo-img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
}

.site-title {
font-size: 1.3rem;
font-weight: bold;
color: var(--primary-color);
}

.nav-menu {
display: flex;
list-style: none;
gap: 30px;
}

.nav-menu a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: var(--transition);
padding: 8px 0;
position: relative;
}

.nav-menu a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
color: var(--primary-color);
}

.mobile-toggle {
display: none;
flex-direction: column;
background: none;
border: none;
cursor: pointer;
}

.hamburger {
width: 25px;
height: 3px;
background-color: var(--text-dark);
position: relative;
transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
content: '';
position: absolute;
width: 25px;
height: 3px;
background-color: var(--text-dark);
transition: var(--transition);
}

.hamburger::before {
top: -8px;
}

.hamburger::after {
top: 8px;
}

.hero-section {
position: relative;
height: 600px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

.hero-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}

.hero-overlay {
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
z-index: 2;
}

.hero-content {
position: relative;
z-index: 3;
text-align: center;
color: white;
max-width: 800px;
padding: 20px;
}

.hero-title {
font-size: 3.5rem;
margin-bottom: 20px;
font-weight: bold;
}

.hero-subtitle {
font-size: 1.4rem;
margin-bottom: 30px;
}

.cta-button {
display: inline-block;
padding: 15px 40px;
background-color: white;
color: var(--primary-color);
text-decoration: none;
border-radius: 50px;
font-weight: bold;
font-size: 1.1rem;
transition: var(--transition);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.intro-section {
padding: 80px 20px;
background-color: var(--bg-light);
}

.intro-section .container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}

.intro-content h2 {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 25px;
}

.intro-content p {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-dark);
}

.intro-image img {
width: 100%;
height: auto;
border-radius: 15px;
box-shadow: var(--shadow);
}

.features-section {
padding: 80px 20px;
background-color: var(--bg-gray);
}

.section-title {
text-align: center;
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 50px;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.feature-card {
background-color: var(--bg-light);
padding: 40px 30px;
border-radius: 15px;
text-align: center;
transition: var(--transition);
box-shadow: var(--shadow);
}

.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
font-size: 3.5rem;
margin-bottom: 20px;
}

.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--text-dark);
}

.feature-card p {
color: var(--text-light);
line-height: 1.7;
}

.unknown-facts-section {
padding: 80px 20px;
background-color: var(--bg-light);
}

.facts-list {
max-width: 900px;
margin: 0 auto;
}

.fact-item {
display: flex;
gap: 30px;
margin-bottom: 40px;
padding: 30px;
background-color: var(--bg-gray);
border-radius: 15px;
transition: var(--transition);
}

.fact-item:hover {
transform: translateX(10px);
box-shadow: var(--shadow);
}

.fact-number {
font-size: 3rem;
font-weight: bold;
color: var(--primary-color);
min-width: 80px;
}

.fact-content h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--text-dark);
}

.fact-content p {
line-height: 1.8;
color: var(--text-dark);
}

.recent-posts-section {
padding: 80px 20px;
background-color: var(--bg-gray);
}

.posts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 40px;
margin-bottom: 50px;
}

.post-preview {
background-color: var(--bg-light);
border-radius: 15px;
overflow: hidden;
box-shadow: var(--shadow);
transition: var(--transition);
}

.post-preview:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-image {
width: 100%;
height: 250px;
object-fit: cover;
}

.post-content {
padding: 30px;
}

.post-content h3 a {
text-decoration: none;
color: var(--text-dark);
transition: var(--transition);
}

.post-content h3 a:hover {
color: var(--primary-color);
}

.post-excerpt {
margin: 15px 0;
color: var(--text-light);
line-height: 1.7;
}

.read-more {
color: var(--primary-color);
text-decoration: none;
font-weight: bold;
transition: var(--transition);
}

.read-more:hover {
color: var(--secondary-color);
}

.text-center {
text-align: center;
}

.secondary-button {
display: inline-block;
padding: 12px 35px;
background-color: transparent;
color: var(--primary-color);
text-decoration: none;
border: 2px solid var(--primary-color);
border-radius: 50px;
font-weight: bold;
transition: var(--transition);
}

.secondary-button:hover {
background-color: var(--primary-color);
color: white;
}

.cta-section {
padding: 80px 20px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
text-align: center;
color: white;
}

.cta-section h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}

.cta-section p {
font-size: 1.2rem;
margin-bottom: 30px;
}

.cta-button-white {
display: inline-block;
padding: 15px 40px;
background-color: white;
color: var(--primary-color);
text-decoration: none;
border-radius: 50px;
font-weight: bold;
font-size: 1.1rem;
transition: var(--transition);
}

.cta-button-white:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.site-footer {
background-color: #2c3e50;
color: white;
padding: 60px 20px 20px;
}

.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 40px;
}

.footer-column h4 {
margin-bottom: 20px;
font-size: 1.3rem;
}

.footer-column p {
line-height: 1.8;
color: #bdc3c7;
}

.registration-number {
margin-top: 15px;
font-size: 0.9rem;
color: #95a5a6;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 12px;
}

.footer-links a {
color: #bdc3c7;
text-decoration: none;
transition: var(--transition);
}

.footer-links a:hover {
color: white;
padding-left: 5px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-links a {
color: #bdc3c7;
transition: var(--transition);
}

.social-links a:hover {
color: white;
transform: translateY(-3px);
}

.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid #34495e;
color: #95a5a6;
}

.cookie-consent {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(44, 62, 80, 0.98);
color: white;
padding: 30px 20px;
z-index: 10000;
box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

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

.cookie-content h3 {
margin-bottom: 15px;
font-size: 1.3rem;
}

.cookie-content p {
margin-bottom: 20px;
line-height: 1.7;
color: #bdc3c7;
}

.cookie-buttons {
display: flex;
gap: 15px;
margin-bottom: 15px;
flex-wrap: wrap;
}

.cookie-btn {
padding: 10px 25px;
border: none;
border-radius: 50px;
font-weight: bold;
cursor: pointer;
transition: var(--transition);
}

.accept-all {
background-color: #27ae60;
color: white;
}

.accept-all:hover {
background-color: #229954;
}

.customize {
background-color: #3498db;
color: white;
}

.customize:hover {
background-color: #2980b9;
}

.decline {
background-color: #95a5a6;
color: white;
}

.decline:hover {
background-color: #7f8c8d;
}

.cookie-policy-link {
font-size: 0.9rem;
}

.cookie-policy-link a {
color: #3498db;
text-decoration: underline;
}

@media (max-width: 768px) {
.mobile-toggle {
display: flex;
}

.nav-menu {
display: none;
position: absolute;
top: 80px;
left: 0;
right: 0;
background-color: var(--bg-light);
flex-direction: column;
padding: 20px;
box-shadow: var(--shadow);
}

.nav-menu.active {
display: flex;
}

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

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

.intro-section .container {
grid-template-columns: 1fr;
}

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

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

.fact-item {
flex-direction: column;
text-align: center;
}

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

.cookie-buttons {
flex-direction: column;
}

.cookie-btn {
width: 100%;
}
}