/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: #e94b35;
    transition: color 0.3s ease;
}

a:hover {
    color: #c73a29;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #e94b35;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #e94b35;
}

nav ul li a.active {
    color: #e94b35;
}

nav ul li a.active:after,
nav ul li a:hover:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e94b35;
}

/* Hero Section */
.hero {
    background-image: url('images/1.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #e94b35;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c73a29;
    color: white;
}

/* Welcome Multilingual Section */
.welcome-multilingual {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.welcome-multilingual h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.language-greetings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.language-greetings p {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.language {
    font-weight: 600;
    color: #e94b35;
    margin-right: 8px;
}

/* Daily Inspiration Section */
.daily-inspiration {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
}

.daily-inspiration h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.inspiration-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.inspiration-image {
    flex: 1;
}

.inspiration-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.inspiration-text {
    flex: 1.5;
}

.quote {
    font-family: 'Noto Serif JP', 'Georgia', serif;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #e94b35;
}

/* Featured Posts */
.featured-posts {
    padding: 4rem 2rem;
    background-color: #fff;
}

.featured-posts h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.post-content p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.read-more:after {
    content: ' →';
}

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

/* Footer */
footer {
    background-color: #333;
    color: #f9f9f9;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e94b35;
}

.footer-column p,
.footer-column li {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-column a {
    color: #ccc;
}

.footer-column a:hover {
    color: #e94b35;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    color: white;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #e94b35;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #999;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    z-index: 1000;
    display: none;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cookie-accept {
    background-color: #e94b35;
    color: white;
}

#cookie-accept:hover {
    background-color: #c73a29;
}

#cookie-settings,
#cookie-decline {
    background-color: #555;
    color: white;
}

#cookie-settings:hover,
#cookie-decline:hover {
    background-color: #444;
}

.cookie-more-info {
    font-size: 0.9rem;
}

.cookie-more-info a {
    text-decoration: underline;
    color: white;
}

/* Page Banner */
.page-banner {
    background-color: #f0f0f0;
    padding: 3rem 2rem;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/5.jpg');
    background-size: cover;
    background-position: center;
}

.page-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    color: #666;
}

/* About Page Styles */
.about-content {
    padding: 4rem 2rem;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-intro p {
    margin-bottom: 1.5rem;
}

.team-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.team-member p:nth-of-type(1) {
    color: #e94b35;
    font-weight: 600;
}

.team-member .social-links {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.our-mission {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.our-mission h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-text {
    flex: 1.5;
}

.mission-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.mission-text ul li {
    margin-bottom: 1rem;
}

/* Blog Page Styles */
.blog-content {
    padding: 4rem 2rem;
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.posts-container {
    flex: 2;
}

.blog-sidebar {
    flex: 1;
}

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-image {
    flex: 1;
}

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

.post-details {
    flex: 2;
    padding: 2rem;
}

.post-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.2rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

.sidebar-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
}

.category-list li a:after {
    content: '→';
}

.popular-posts li {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.popular-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-posts a {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.popular-posts .post-date {
    font-size: 0.85rem;
    color: #777;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.subscribe-form button {
    padding: 0.8rem;
    background-color: #e94b35;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #c73a29;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 2rem;
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.info-icon {
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(233, 75, 53, 0.1);
    color: #e94b35;
    border-radius: 50%;
}

.info-text h4 {
    margin-bottom: 0.5rem;
    color: #444;
}

.info-text p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #e94b35;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c73a29;
}

.map-section {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.map-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.map-overlay:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.map-overlay p {
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: #28a745;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 1.5rem;
    color: #666;
}

#close-modal-btn {
    padding: 0.8rem 2rem;
    background-color: #e94b35;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#close-modal-btn:hover {
    background-color: #c73a29;
}

/* Single Blog Post Styles */
.blog-post-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-content {
    margin-bottom: 3rem;
}

.post-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-content h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, 
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content ul li, 
.post-content ol li {
    margin-bottom: 0.8rem;
}

.post-content ul {
    list-style-type: disc;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    background-color: #f0f0f0;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #666;
}

.post-tags a:hover {
    background-color: #e94b35;
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #f0f0f0;
}

.post-share span {
    font-weight: 600;
}

.social-share {
    display: flex;
    gap: 0.8rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background-color: #e94b35;
    color: white;
    transform: translateY(-3px);
}

.post-author-bio {
    display: flex;
    gap: 2rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

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

.author-info h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #777;
}

.author-info h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.author-info p {
    color: #666;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.post-nav-prev,
.post-nav-next {
    max-width: 45%;
}

.post-nav-prev a,
.post-nav-next a {
    font-weight: 600;
    display: inline-block;
    padding: 0.8rem 0;
}

.related-posts {
    margin: 0 auto 4rem;
    max-width: 1100px;
    padding: 0 2rem;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

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

.related-post h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
}

.related-post .read-more {
    padding: 0 1.5rem 1.5rem;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .inspiration-content,
    .mission-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .blog-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .language-greetings {
        flex-direction: column;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-nav-prev,
    .post-nav-next {
        max-width: 100%;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
