:root {
--primary-color: #2c5f8d;
--secondary-color: #4a90c4;
--accent-color: #5eb3d6;
--dark-color: #1a1a1a;
--text-color: #333333;
--text-light: #666666;
--light-color: #f0f4f8;
--white: #ffffff;
--transition: all 0.3s ease;
}

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

body {
font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
color: var(--text-color);
line-height: 1.6;
overflow-x: hidden;
}

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

.main-header {
background: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}

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

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

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

.site-title {
font-size: 1.2rem;
font-weight: 700;
color: var(--dark-color);
}

.main-nav {
display: flex;
}

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

.nav-link {
text-decoration: none;
color: var(--text-color);
font-weight: 600;
transition: var(--transition);
padding: 8px 15px;
border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
color: var(--primary-color);
background-color: var(--light-color);
}

.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 10px;
}

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

.hero-section {
position: relative;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 60px 20px;
overflow: hidden;
}

.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="1000" cy="400" r="120" fill="rgba(255,255,255,0.1)"/><circle cx="600" cy="200" r="60" fill="rgba(255,255,255,0.1)"/></svg>');
opacity: 0.3;
}

.hero-content {
position: relative;
z-index: 1;
color: var(--white);
max-width: 800px;
}

.hero-title {
font-size: 3.5rem;
font-weight: 900;
margin-bottom: 20px;
line-height: 1.2;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 35px;
opacity: 0.95;
}

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

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

.countdown-section {
background: var(--white);
padding: 60px 20px;
text-align: center;
}

.section-title {
font-size: 2.5rem;
color: var(--dark-color);
margin-bottom: 40px;
font-weight: 700;
}

.countdown-timer {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}

.time-box {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: var(--white);
padding: 30px 40px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(44, 95, 141, 0.3);
min-width: 120px;
}

.time-value {
display: block;
font-size: 3rem;
font-weight: 900;
line-height: 1;
}

.time-label {
display: block;
margin-top: 10px;
font-size: 1rem;
opacity: 0.9;
}

.facts-section {
background: linear-gradient(135deg, #f0f4f8 0%, #e3eef7 100%);
padding: 80px 20px;
}

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

.fact-card {
background: var(--white);
padding: 40px 30px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
transition: var(--transition);
}

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

.fact-icon {
color: var(--secondary-color);
margin-bottom: 20px;
}

.fact-title {
font-size: 1.5rem;
color: var(--dark-color);
margin-bottom: 15px;
font-weight: 700;
}

.fact-description {
color: var(--text-light);
line-height: 1.8;
}

.featured-posts {
padding: 80px 20px;
background: var(--white);
}

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

.post-preview {
background: var(--white);
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
transition: var(--transition);
}

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

.post-image {
width: 100%;
height: 220px;
overflow: hidden;
}

.post-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}

.post-preview:hover .post-image img {
transform: scale(1.1);
}

.post-content {
padding: 30px;
}

.post-title {
font-size: 1.4rem;
color: var(--dark-color);
margin-bottom: 15px;
font-weight: 700;
line-height: 1.4;
}

.post-excerpt {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 20px;
}

.read-more {
color: var(--primary-color);
text-decoration: none;
font-weight: 700;
display: inline-flex;
align-items: center;
transition: var(--transition);
}

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

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

.cta-title {
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: 800;
}

.cta-text {
font-size: 1.2rem;
margin-bottom: 35px;
opacity: 0.95;
}

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

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

.main-footer {
background: var(--dark-color);
color: var(--white);
padding: 60px 20px 20px;
}

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

.footer-title {
font-size: 1.5rem;
margin-bottom: 15px;
font-weight: 700;
}

.footer-description {
line-height: 1.8;
opacity: 0.9;
margin-bottom: 20px;
}

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

.social-link {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
transition: var(--transition);
}

.social-link:hover {
background: var(--secondary-color);
transform: translateY(-3px);
}

.footer-heading {
font-size: 1.2rem;
margin-bottom: 20px;
font-weight: 700;
}

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

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

.footer-links a {
color: var(--white);
text-decoration: none;
opacity: 0.9;
transition: var(--transition);
}

.footer-links a:hover {
opacity: 1;
color: var(--accent-color);
}

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

.footer-contact li {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 15px;
opacity: 0.9;
}

.footer-contact svg {
flex-shrink: 0;
margin-top: 3px;
}

.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
opacity: 0.8;
}

.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--white);
box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
padding: 25px;
z-index: 10000;
display: none;
}

.cookie-banner.active {
display: block;
}

.cookie-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
flex-wrap: wrap;
}

.cookie-title {
font-size: 1.2rem;
margin-bottom: 8px;
color: var(--dark-color);
font-weight: 700;
}

.cookie-description {
color: var(--text-light);
line-height: 1.6;
}

.cookie-link {
color: var(--primary-color);
text-decoration: underline;
}

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

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

.cookie-accept {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: var(--white);
}

.cookie-accept:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(44, 95, 141, 0.3);
}

.cookie-settings {
background: var(--light-color);
color: var(--dark-color);
}

.cookie-decline {
background: transparent;
color: var(--text-color);
border: 1px solid #ddd;
}

.cookie-settings-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: none;
align-items: center;
justify-content: center;
z-index: 10001;
padding: 20px;
}

.cookie-settings-modal.active {
display: flex;
}

.modal-content {
background: var(--white);
border-radius: 15px;
max-width: 600px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 25px;
border-bottom: 1px solid #eee;
}

.modal-title {
font-size: 1.5rem;
color: var(--dark-color);
font-weight: 700;
}

.modal-close {
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: var(--text-light);
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: var(--transition);
}

.modal-close:hover {
background: var(--light-color);
}

.modal-body {
padding: 25px;
}

.cookie-option {
margin-bottom: 25px;
}

.cookie-label {
display: flex;
align-items: center;
gap: 10px;
font-weight: 600;
cursor: pointer;
}

.cookie-label input[type="checkbox"] {
width: 20px;
height: 20px;
cursor: pointer;
}

.cookie-option-desc {
color: var(--text-light);
margin-top: 8px;
margin-left: 30px;
font-size: 0.9rem;
line-height: 1.6;
}

.modal-footer {
padding: 25px;
border-top: 1px solid #eee;
text-align: right;
}

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

.main-nav {
display: none;
position: absolute;
top: 90px;
left: 0;
right: 0;
background: var(--white);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-nav.active {
display: block;
}

.nav-list {
flex-direction: column;
padding: 20px;
gap: 0;
}

.nav-link {
display: block;
padding: 15px;
}

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

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

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

.time-box {
padding: 20px 30px;
min-width: 100px;
}

.time-value {
font-size: 2.5rem;
}

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

.cookie-content {
flex-direction: column;
align-items: flex-start;
}

.cookie-buttons {
width: 100%;
}

.cookie-btn {
flex: 1;
}
}

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

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

.cta-title {
font-size: 1.8rem;
}

.countdown-timer {
gap: 15px;
}

.time-box {
padding: 15px 20px;
min-width: 80px;
}
}