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

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
    line-height: 1.7;
    color: #3d3d3d;
    background-color: #fafaf8;
}

.container-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

.main-header {
    background-color: #ffffff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #5d4e37;
    letter-spacing: 0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: #3d3d3d;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #8b7355;
}

.hero-section {
    background: linear-gradient(rgba(93,78,55,0.75), rgba(61,61,61,0.65)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    margin-bottom: 70px;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-text-area {
    max-width: 720px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 38px;
    line-height: 1.75;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #8b7355;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #6f5a43;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139,115,85,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #5d4e37;
}

.info-banner {
    padding: 70px 0;
    background-color: #ffffff;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 50px;
}

.banner-item {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.banner-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.banner-text h3 {
    font-size: 26px;
    color: #5d4e37;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
}

.time-section {
    padding: 45px 0;
    background-color: #f5f1ed;
    text-align: center;
}

.time-display {
    font-size: 32px;
    color: #5d4e37;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.time-display i {
    font-size: 36px;
}

.features-section {
    padding: 80px 0;
    background-color: #fafaf8;
}

.section-title {
    text-align: center;
    font-size: 40px;
    color: #5d4e37;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.feature-card {
    background-color: #ffffff;
    padding: 40px 28px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

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

.feature-icon {
    font-size: 52px;
    color: #8b7355;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 22px;
    color: #3d3d3d;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
}

.latest-posts-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.post-card {
    background-color: #fafaf8;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

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

.post-content {
    padding: 28px;
}

.post-content h3 {
    font-size: 22px;
    color: #5d4e37;
    margin-bottom: 14px;
    font-weight: 600;
}

.post-excerpt {
    font-size: 16px;
    color: #555555;
    margin-bottom: 18px;
    line-height: 1.7;
}

.read-more {
    color: #8b7355;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 14px;
}

.main-footer {
    background-color: #3d3d3d;
    color: #e0e0e0;
    padding: 60px 0 25px;
    margin-top: 80px;
}

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

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 22px;
    font-size: 19px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b7355;
}

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

.footer-contact li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: #8b7355;
    margin-top: 4px;
}

.registration-number {
    margin-top: 18px;
    font-size: 14px;
    color: #b0b0b0;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #555555;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 28px;
    z-index: 10000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

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

.cookie-text h4 {
    font-size: 19px;
    color: #5d4e37;
    margin-bottom: 10px;
}

.cookie-text p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

.cookie-text a {
    color: #8b7355;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.accept-all {
    background-color: #8b7355;
    color: #ffffff;
}

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

.customize {
    background-color: #f5f1ed;
    color: #5d4e37;
}

.customize:hover {
    background-color: #e8e0d5;
}

.decline {
    background-color: transparent;
    color: #666666;
    border: 1px solid #cccccc;
}

.decline:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .primary-nav .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 17px;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
