/* Base Styles */
:root {
    --primary-color: #4A90E2;
    --primary-dark: #3A7BC8;
    --primary-light: #7FB5FF;
    --secondary-color: #F2F9FF;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --background-light: #F8FBFF;
    --background: #FFFFFF;
    --border-color: #E5E5E5;
    --border-light: #F0F0F0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --radius: 8px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

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

.btn-primary, .btn-secondary, .btn-cookie {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: white;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

.read-more span {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover span {
    transform: translateX(5px);
}

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

/* Header Styles */
header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li:not(:last-child) {
    margin-right: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(127, 181, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero h1 span {
    color: var(--primary-color);
    display: block;
}

.hero h2 {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
}

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

/* Features Section */
.features {
    padding: 80px 0;
}

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

.feature-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 0;
    background-color: var(--background-light);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--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: 18px;
    margin-bottom: 10px;
}

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

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--background);
}

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

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

.cta-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #223452;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-light);
}

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

.footer-column ul li a {
    color: #CCCCCC;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #CCCCCC;
}

address p svg {
    margin-right: 10px;
}

address a {
    color: #CCCCCC;
}

address a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #AAAAAA;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #CCCCCC;
    font-size: 14px;
}

.legal-links a:hover {
    color: white;
}

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

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

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

.btn-cookie {
    padding: 8px 16px;
    font-size: 14px;
}

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

.btn-cookie.customize {
    background-color: var(--text-lighter);
    color: white;
}

.btn-cookie.decline {
    background-color: var(--text-light);
    color: white;
}

.cookie-more-info {
    font-size: 14px;
    color: var(--text-light);
}

/* Page Banner */
.page-banner {
    background-color: var(--background-light);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.page-banner p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* About Page */
.about-content {
    padding-bottom: 80px;
}

.about-intro {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.mission, .vision {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--radius);
}

.mission h2, .vision h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.mission p, .vision p {
    color: var(--text-light);
}

.values {
    margin-bottom: 60px;
}

.values h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

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

.value-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.team-card h3 {
    font-size: 18px;
    margin: 15px 0 5px;
    color: var(--text-color);
}

.team-card p {
    color: var(--text-light);
    padding: 0 15px 15px;
    font-size: 14px;
}

.company-info h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

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

.info-item {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

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

.info-item p {
    color: var(--text-color);
}

/* Blog Page */
.blog-content {
    padding-bottom: 80px;
}

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

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

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

.blog-image {
    flex: 0 0 300px;
    overflow: hidden;
}

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

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

.blog-text {
    flex: 1;
    padding: 30px;
}

.blog-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-text h2 a {
    color: var(--text-color);
}

.blog-text h2 a:hover {
    color: var(--primary-color);
}

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

.blog-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.newsletter {
    background-color: var(--background-light);
    padding: 60px 0;
}

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

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.newsletter-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.form-privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Contact Page */
.contact-content {
    padding-bottom: 80px;
}

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

.contact-info {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--radius);
    height: fit-content;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--background);
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.info-icon {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p, .info-content a {
    color: var(--text-light);
}

.info-note {
    font-size: 14px;
    color: var(--text-lighter);
    margin-top: 5px;
}

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

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

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

.contact-form-container h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

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

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

.form-group label {
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

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

.map-container {
    margin-bottom: 60px;
}

.map-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.map-frame {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.faq-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.faq-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item {
    background-color: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.faq-item p {
    color: var(--text-light);
}

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

.modal-content {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-lighter);
}

.thank-you-content {
    text-align: center;
    padding: 20px 0;
}

.thank-you-content svg {
    margin: 0 auto 20px;
}

.thank-you-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--success-color);
}

.thank-you-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-image {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .hero .container,
    .cta .container {
        flex-direction: column;
    }
    
    .hero-content,
    .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--background);
        box-shadow: var(--shadow);
        padding: 20px;
        transform: translateY(-200%);
        transition: var(--transition);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .legal-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-grid,
    .post-grid,
    .values-grid,
    .team-grid,
    .info-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}
