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

:root {
    --primary-color: #2c5f7d;
    --secondary-color: #4a9ebb;
    --accent-color: #e8f4f8;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

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

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

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

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

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

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active-page {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

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

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.main-content {
    padding: 60px 0;
}

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

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

.intro-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.intro-card:hover {
    transform: translateY(-10px);
}

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

.intro-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.post-content {
    padding: 25px;
}

.post-title a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 600;
}

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

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

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: var(--secondary-color);
}

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

.benefit-item {
    padding: 30px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.3s;
}

.benefit-item:hover {
    border-color: var(--secondary-color);
}

.benefit-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

.complaint-section {
    margin-top: 60px;
}

.complaint-box {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.complaint-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.complaint-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-top: 15px;
    font-family: inherit;
    resize: vertical;
}

.submit-btn {
    margin-top: 15px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.site-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

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

.social-links a {
    color: var(--white);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

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

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

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

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

.cookie-content h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.accept-btn {
    background-color: var(--success-color);
    color: var(--white);
}

.customize-btn {
    background-color: var(--warning-color);
    color: var(--white);
}

.decline-btn {
    background-color: var(--border-color);
    color: var(--text-dark);
}

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

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-description {
    font-size: 20px;
    opacity: 0.95;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

.blog-post-body {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.post-category {
    background-color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post-title a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 700;
}

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

.blog-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.category-list a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
}

.recent-posts a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.recent-posts img {
    border-radius: 5px;
    object-fit: cover;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 15px;
    background-color: var(--light-gray);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.tag-cloud a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 10px 0;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

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

.value-card {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: center;
}

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

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--accent-color);
    border-radius: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
}

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

.contact-info-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    color: var(--secondary-color);
}

.info-content h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
}

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

.social-links-contact a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links-contact a:hover {
    color: var(--secondary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.success-modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-button {
    margin-top: 20px;
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.post-single {
    margin-bottom: 60px;
}

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

.post-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-wrapper {
    max-width: 900px;
    margin: -80px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.post-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.post-main-title {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.3;
}

.post-body-content {
    line-height: 1.9;
    font-size: 17px;
}

.lead-paragraph {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.post-body-content h2 {
    font-size: 30px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.post-body-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.post-body-content p {
    margin-bottom: 20px;
}

.recipe-list,
.recipe-steps {
    margin: 20px 0 20px 30px;
}

.recipe-list li,
.recipe-steps li {
    margin-bottom: 10px;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.tag-label {
    font-weight: 600;
    color: var(--text-dark);
}

.post-tag {
    padding: 6px 15px;
    background-color: var(--light-gray);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

.post-tag:hover {
    background-color: var(--accent-color);
}

.post-share {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-label {
    font-weight: 600;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: var(--light-gray);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background-color: var(--accent-color);
}

.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.related-post-item {
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.related-post-item:hover {
    transform: translateY(-5px);
}

.related-post-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-item h4 {
    padding: 15px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .blog-layout,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .post-content-wrapper {
        margin-top: 0;
        padding: 25px;
    }

    .post-main-title {
        font-size: 28px;
    }

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

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