/* 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: #2C3E50;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background: #f0f8ff;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(15px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

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

/* Floating Bubble Animation */
.bubble {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: bubbleFloat linear infinite;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.5) 0%, rgba(135, 206, 235, 0.2) 70%, transparent 100%);
    left: 10%;
    top: 20%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(173, 216, 230, 0.6) 0%, rgba(173, 216, 230, 0.25) 70%, transparent 100%);
    left: 20%;
    top: 60%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(176, 224, 230, 0.4) 0%, rgba(176, 224, 230, 0.15) 70%, transparent 100%);
    left: 35%;
    top: 40%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(152, 201, 235, 0.55) 0%, rgba(152, 201, 235, 0.22) 70%, transparent 100%);
    left: 50%;
    top: 80%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.45) 0%, rgba(135, 206, 235, 0.18) 70%, transparent 100%);
    left: 65%;
    top: 30%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(173, 216, 230, 0.65) 0%, rgba(173, 216, 230, 0.28) 70%, transparent 100%);
    left: 80%;
    top: 70%;
    animation-duration: 7s;
    animation-delay: 5s;
}

.bubble:nth-child(7) {
    width: 75px;
    height: 75px;
    background: radial-gradient(circle, rgba(176, 224, 230, 0.5) 0%, rgba(176, 224, 230, 0.2) 70%, transparent 100%);
    left: 90%;
    top: 50%;
    animation-duration: 13s;
    animation-delay: 6s;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* トップにいる時のヘッダースタイル（不透明） */
.header.at-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* スクロール時のヘッダースタイル（透過） */
.header.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

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

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.lang-btn {
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Main Content */
main {
    padding-top: 80px;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #34495E;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 20px rgba(52, 152, 219, 0.1);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498DB;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15), 0 0 30px rgba(52, 152, 219, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    color: #7F8C8D;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.cta-btn {
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

/* Services Section */
.services {
    padding: 0;
    background: transparent;
    height: 500vh;
    position: relative;
}

.services .container {
    position: sticky;
    top: 0;
    height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

.service-image {
    max-width: 100%;
    height: auto;
}

.service-text-area {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    padding-left: 1rem;
}

.service-description {
    font-size: 1rem;
    color: #5D6D7E;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.service-description.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.service-description-bottom {
    transition: opacity 0.5s ease;
}

.service-link {
    display: inline-block;
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.3);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

.service-diagram {
    flex: 2.5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.service-image {
    max-width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    min-height: 60vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #34495E;
    margin-bottom: 4rem;
    letter-spacing: 3px;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 20px rgba(52, 152, 219, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
}

.service-card p {
    color: #7F8C8D;
    line-height: 1.6;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #34495E;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-info p {
    color: #7F8C8D;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-email {
    color: #3498DB;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0;
    letter-spacing: 0.5px;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1), 0 0 15px rgba(52, 152, 219, 0.15);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #3498DB;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #3498DB;
    color: white;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #34495E;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E1E8ED;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
}

.form-group input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 2px dashed #E1E8ED;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #5D6D7E;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1rem;
    min-height: 48px;
}

.file-upload-label:hover {
    border-color: #4A90E2;
    background: rgba(74, 144, 226, 0.05);
    color: #4A90E2;
}

.file-upload-label svg {
    transition: transform 0.3s ease;
}

.file-upload-label:hover svg {
    transform: translateY(-2px);
}

.file-upload-info {
    margin-top: 8px;
}

.file-upload-info small {
    color: #7F8C8D;
    font-size: 0.875rem;
    line-height: 1.4;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.file-upload-container.has-file .file-upload-label {
    border-color: #27AE60;
    background: rgba(39, 174, 96, 0.05);
    color: #27AE60;
}

.file-upload-container.has-file .file-upload-text::after {
    content: " ✓";
    color: #27AE60;
    font-weight: bold;
}

.form-group textarea {
    resize: none;
}

.privacy-policy-notice {
    font-size: 0.9rem;
    color: #34495E;
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.privacy-policy-notice a {
    color: #3498DB;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.privacy-policy-notice a:hover {
    color: #2980B9;
    text-decoration-thickness: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

/* Thank You Message */
.thank-you-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-out;
}

.thank-you-icon {
    margin-bottom: 2rem;
    animation: scaleIn 0.6s ease-out 0.2s both;
}

.thank-you-icon svg {
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.2));
}

.thank-you-icon circle {
    fill: rgba(52, 152, 219, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.thank-you-title {
    font-size: 2rem;
    font-weight: 700;
    color: #34495E;
    margin-bottom: 1.5rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.thank-you-text {
    font-size: 1.1rem;
    color: #7F8C8D;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        fill: rgba(52, 152, 219, 0.1);
    }
    50% {
        fill: rgba(52, 152, 219, 0.2);
    }
    100% {
        fill: rgba(52, 152, 219, 0.1);
    }
}

/* News Section */
.news {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-left: 3px solid #3498DB;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.news-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: #7F8C8D;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2C3E50;
    line-height: 1.5;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.news-summary {
    font-size: 0.9rem;
    color: #5D6D7E;
    line-height: 1.5;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

/* News Navigation */
.news-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.news-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #E1E8ED;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #5D6D7E;
}

.news-nav-btn:hover:not(:disabled) {
    border-color: #3498DB;
    color: #3498DB;
    transform: scale(1.1);
}

.news-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.news-pagination {
    font-size: 1rem;
    color: #5D6D7E;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.news-pagination .current-page {
    font-weight: 600;
    color: #3498DB;
}

/* News Animation */
.news-grid {
    transition: all 0.3s ease;
}

.news-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.news-item.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.news-item.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: newsItemFadeIn 0.5s ease forwards;
}

@keyframes newsItemFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Detail Page */
.news-detail {
    padding: 120px 0 50px 0;
    min-height: 100vh;
    background: transparent;
}

.news-detail-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #34495E;
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.news-detail-date {
    font-size: 1rem;
    color: #7F8C8D;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}


.news-detail-body {
    color: #5D6D7E;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.news-detail-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 2rem 0 1rem 0;
}

.news-detail-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 1.5rem 0 1rem 0;
}

.news-detail-body p {
    margin-bottom: 1rem;
}

.news-detail-body ul {
    margin: 1rem 0 1rem 2rem;
}

.news-detail-body li {
    margin-bottom: 0.5rem;
}

.news-detail-body a {
    color: #3498DB;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.news-detail-body a:hover {
    color: #2980B9;
    text-decoration-thickness: 2px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498DB;
    text-decoration: none;
    font-weight: 500;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498DB;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.back-to-home:hover {
    background: #3498DB;
    color: white;
    transform: translateX(-5px);
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', sans-serif;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
    color: #3498DB;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 180px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }
    
    .service-diagram {
        flex: none;
        padding: 0;
    }
    
.service-image {
        max-height: 50vh;
        min-height: 40vh;
        width: 100%;
    }
    
    .service-text-area {
        flex: none;
        align-items: center;
        text-align: center;
        padding-left: 0;
    }
    
    .services .container {
        height: 80vh;
        top: 90px;
    }
    
    .service-description {
        margin-bottom: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .thank-you-message {
        padding: 3rem 2rem;
        min-height: 350px;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-text {
        font-size: 1rem;
    }
    
    .services,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-info h3 {
        font-size: 1rem;
    }
    
    .contact-email {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .thank-you-message {
        padding: 2.5rem 1.5rem;
        min-height: 300px;
    }
    
    .thank-you-icon svg {
        width: 60px;
        height: 60px;
    }
    
    /* News section mobile styles */
    .news {
        padding: 60px 0;
    }
    
    .news-grid {
        gap: 0.75rem;
    }
    
    .news-item {
        padding: 0.75rem 1rem;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-navigation {
        gap: 1rem;
    }
    
    .news-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .news-detail-content {
        padding: 2rem 1.5rem;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
    
    .news-detail-thumbnail {
        height: 250px;
    }
    
    .thank-you-title {
        font-size: 1.6rem;
    }
    
    .thank-you-text {
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: rgba(52, 152, 219, 0.3);
    color: #34495E;
}

::-moz-selection {
    background: rgba(52, 152, 219, 0.3);
    color: #34495E;
}
