/* ======= 基本設定 ======= */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --body-font: 'Noto Sans JP', sans-serif;
    --heading-font: 'Noto Sans JP', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #388e3c;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: #388e3c;
    color: white;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* ======= ヘッダー ======= */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--dark-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ======= ヒーローセクション ======= */
.hero {
    background-color: #f1f8e9;
    padding: 80px 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ======= 特集記事セクション ======= */
.featured-posts {
    padding: 80px 0;
}

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

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.post-image {
    height: 200px;
    overflow: hidden;
}

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

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 8px;
}

/* ======= ニュースレターセクション ======= */
.newsletter {
    background-color: #e8f5e9;
    padding: 80px 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.letter-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--box-shadow);
    display: flex;
    text-align: left;
}

.letter-icon {
    flex: 0 0 70px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 20px;
}

.letter-text {
    flex: 1;
}

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

.signature {
    font-style: italic;
    margin-top: 20px;
    text-align: right;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 30px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ======= 統計セクション ======= */
.stats {
    padding: 80px 0;
    background-color: white;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 15px 10px;
}

.color-box {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
}

.chart-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
    font-style: italic;
}

/* ======= フッター ======= */
footer {
    background-color: #2e7d32;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-posts, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3, .footer-links h3, .footer-posts h3, .footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact address p {
    margin-bottom: 10px;
}

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

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

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

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

/* ======= Cookieバナー ======= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: none;
}

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

.cookie-content p {
    margin: 10px 0;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
}

.cookie-buttons button {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#accept-all {
    background-color: var(--primary-color);
    color: white;
}

#customize {
    background-color: var(--secondary-color);
    color: white;
}

#reject {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

#accept-all:hover, #customize:hover {
    opacity: 0.9;
}

#reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-more-info {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.cookie-more-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ======= ページバナー（内部ページ用） ======= */
.page-banner {
    background-color: #f1f8e9;
    padding: 60px 0;
    text-align: center;
}

.page-banner h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
}

/* ======= お問い合わせページ ======= */
.contact-section {
    padding: 60px 0;
}

.contact-section .container {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
    margin-bottom: 30px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

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

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-social .social-links {
    display: flex;
}

.social-link {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: var(--dark-color);
    font-weight: 500;
}

.social-link svg {
    margin-right: 8px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.map-section {
    padding: 40px 0 60px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.faq-section {
    padding: 40px 0 80px;
    background-color: #f9f9f9;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    flex-shrink: 0;
    margin-left: 10px;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-question {
    border-bottom-color: #eee;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    width: 80%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalfade 0.3s;
}

@keyframes modalfade {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-body {
    padding: 40px 30px 30px;
    text-align: center;
}

.modal-body svg {
    margin-bottom: 20px;
}

.modal-body h3 {
    margin-bottom: 15px;
}

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

.close-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.close-btn:hover {
    background-color: #388e3c;
}

/* ======= About Usページ ======= */
.about-mission {
    padding: 60px 0;
}

.about-mission .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mission-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.mission-image {
    flex: 1;
    min-width: 300px;
}

.mission-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-highlights {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 15px;
    background-color: white;
    border-radius: var(--border-radius);
    margin: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.team-section {
    padding: 60px 0;
    background-color: #f1f8e9;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray-color);
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    font-size: 1.2rem;
    margin: 15px 0 5px;
    padding: 0 15px;
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
}

.team-member .social-links {
    padding: 0 15px 20px;
    justify-content: center;
}

.values-section {
    padding: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.history-section {
    padding: 60px 0;
    background-color: #f1f8e9;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.timeline-date {
    width: 120px;
    text-align: right;
    padding-right: 20px;
}

.timeline-date span {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
}

.timeline-content {
    width: calc(100% - 150px);
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ======= ブログ記事ページ ======= */
.blog-post {
    padding: 60px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.post-author, .post-date, .post-category {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
}

.post-meta svg {
    margin-right: 5px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.post-content ul, .post-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
}

.info-box {
    background-color: #e8f5e9;
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.info-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.3rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.recipe-box {
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 40px 0;
}

.recipe-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}

.recipe-content {
    display: flex;
    flex-wrap: wrap;
}

.recipe-image {
    flex: 0 0 250px;
    margin-right: 25px;
    margin-bottom: 20px;
}

.recipe-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
}

.recipe-details {
    flex: 1;
    min-width: 300px;
}

.recipe-description {
    margin-bottom: 20px;
    font-style: italic;
}

.recipe-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.recipe-time, .recipe-servings {
    margin-right: 20px;
    margin-bottom: 10px;
}

.recipe-time span, .recipe-servings span {
    display: inline-block;
    background-color: #f1f8e9;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}

.recipe-ingredients h4, .recipe-instructions h4, .recipe-tips h4, .recipe-nutrition h4, .recipe-variations h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    background-color: #f1f8e9;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-author-bio {
    display: flex;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.author-avatar {
    flex: 0 0 100px;
    margin-right: 20px;
}

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

.author-info {
    flex: 1;
}

.author-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.author-info p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.author-info .social-links {
    margin-top: 0;
}

.author-info .social-links a {
    background-color: #e8e8e8;
    color: var(--dark-color);
}

.related-posts {
    margin: 40px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-post {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    flex: 0 0 120px;
}

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

.related-post-content {
    flex: 1;
    padding: 15px;
}

.related-post-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.related-post-content h3 a {
    color: var(--dark-color);
}

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

.related-post-content p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.post-comments {
    margin: 40px 0;
}

.post-comments h2 {
    margin-bottom: 30px;
}

.comments-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ======= 特殊コンポーネント（ブログ記事内） ======= */
.color-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.color-item {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.color-item h3 {
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1.2rem;
}

.color-content {
    background-color: white;
    padding: 15px;
}

.color-examples, .color-benefits {
    margin-bottom: 10px;
}

.color-examples p, .color-benefits p {
    margin-bottom: 5px;
}

.red h3 {
    background-color: #e53935;
}

.orange h3 {
    background-color: #ff9800;
}

.green h3 {
    background-color: #43a047;
}

.blue-purple h3 {
    background-color: #5e35b1;
}

.white h3 {
    background-color: #757575;
}

.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table h3 {
    margin-bottom: 15px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: #f1f8e9;
    font-weight: 600;
}

.comparison-table tr:hover {
    background-color: #f9f9f9;
}

.protein-sources {
    margin: 30px 0;
}

.protein-item {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.protein-item h4 {
    background-color: #e8f5e9;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.animal h4 {
    background-color: #e8eaf6;
    color: #3f51b5;
}

.plant h4 {
    background-color: #e8f5e9;
    color: #4caf50;
}

.protein-content {
    padding: 15px;
}

.seasonal-foods, .snack-timing, .special-needs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.season, .snack-time, .need-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.season h4, .snack-time h3, .need-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
}

.spring h4 {
    border-color: #c8e6c9;
}

.summer h4 {
    border-color: #ffccbc;
}

.fall h4 {
    border-color: #ffecb3;
}

.winter h4 {
    border-color: #b3e5fc;
}

.morning h3 {
    border-color: #c8e6c9;
}

.afternoon h3 {
    border-color: #ffecb3;
}

.evening h3 {
    border-color: #b3e5fc;
}

.weight-control h3 {
    border-color: #c8e6c9;
}

.energy h3 {
    border-color: #ffecb3;
}

.kids h3 {
    border-color: #bbdefb;
}

.blood-sugar h3 {
    border-color: #f8bbd0;
}

.beverage-comparison {
    margin: 30px 0;
}

.beverage-comparison h3 {
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.beverage-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.beverage-item h4 {
    background-color: #e8f5e9;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.beverage-content {
    padding: 15px;
}

.beverage-content p {
    margin-bottom: 10px;
}

.beverage-content p:last-child {
    margin-bottom: 0;
}

.hydration-needs, .dehydration-signs, .special-considerations {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.calculation-box {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: center;
}

.calculation-box h4 {
    margin-bottom: 10px;
}

.calculation-box p {
    margin-bottom: 5px;
}

.calculation-box p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

/* ======= レスポンシブデザイン ======= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .letter-box {
        flex-direction: column;
    }

    .letter-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-content::before {
        left: -40px;
        top: 15px;
    }

    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .author-info .social-links {
        justify-content: center;
    }
}

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

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-links, .footer-posts, .footer-contact {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }

    .recipe-image {
        flex: 0 0 100%;
        margin-right: 0;
    }

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

    .cookie-buttons {
        margin: 15px 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

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

    .mission-highlights {
        flex-direction: column;
    }

    .highlight-item {
        min-width: 100%;
    }

    .related-post {
        flex-direction: column;
    }

    .related-post-image {
        height: 180px;
        flex: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: -1px;
    }

    .newsletter-form .btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .color-nutrition-grid, .seasonal-foods, .snack-timing, .special-needs {
        grid-template-columns: 1fr;
    }
}
