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

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

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

/* Color Variables */
:root {
    --primary-color: #4a90a4;
    --secondary-color: #e8f4f8;
    --accent-color: #d4a574;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --success-color: #4a7c59;
    --warm-bg: #fff4e6;
    --light-blue: #f0f8ff;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100px;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo-image {
    height: auto;
    width: auto;
    max-height: 80px;
    max-width: 400px;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #3a7a8a;
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-fullscreen {
    background: url('images/トップページ.jpg') center center/cover no-repeat;
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 2rem 0;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #3a7a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* White text styles for fullscreen hero */
.hero-subtitle-white {
    display: block;
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-main-white {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description-white {
    font-size: 1.2rem;
    color: white;
    margin: 2rem 0;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-main-message {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 4rem 0;
    text-align: center;
}

.hero-buttons-white {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-white {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary-white:hover {
    background: #3a7a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-secondary-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}


.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Concept Section */
.concept {
    padding: 6rem 0;
    background: var(--warm-bg);
}

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

.concept-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.concept-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.concept-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Greeting Section */
.greeting {
    padding: 6rem 0;
    background: white;
}

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

.greeting-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.greeting-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.greeting-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--secondary-color);
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 2rem;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
}

.feature-icon img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

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

.service-card {
    background: var(--light-blue);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateX(5px);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--warm-bg);
}

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

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    width: 30%;
}

.info-table td {
    color: var(--text-dark);
}

.info-table td a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-table td a:hover {
    text-decoration: underline;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

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

.contact-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.contact-method strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.phone-number a {
    color: var(--primary-color);
    text-decoration: none;
}

.phone-number a:hover {
    text-decoration: underline;
}

.fax-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.contact-method p a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-method p a:hover {
    text-decoration: underline;
}

.phone-hours {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-container {
    margin-bottom: 1rem;
}

.footer-logo-image {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 0.8;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 1rem 1rem;
        min-height: 80px;
    }
    
    .logo-image {
        height: auto;
        max-height: 60px;
        max-width: 300px;
    }
    
    .hero-main-message {
        font-size: 1.4rem;
        margin: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-main {
        font-size: 2rem;
    }
    
    .hero-main-white {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-white {
        font-size: 1rem;
    }
    
    .hero-description-white {
        font-size: 1rem;
    }
    
    .hero-buttons,
    .hero-buttons-white {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-primary-white,
    .btn-secondary-white {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    
    .concept-content,
    .greeting-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-section {
        margin-top: 3rem;
    }
    
    .greeting-content {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        height: 150px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-date,
    .news-category {
        margin: 0;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-main {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

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

/* Image Placeholder Styles */
.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
}

.placeholder-content {
    text-align: center;
    color: var(--primary-color);
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
}

.icon-placeholder .placeholder-icon {
    font-size: 2rem;
    margin: 0;
}

/* Specific placeholder heights */
.concept-image .image-placeholder {
    height: 350px;
}

.greeting-image .image-placeholder {
    height: 300px;
    border-radius: 50%;
}

.about-image .image-placeholder {
    height: 250px;
}

.hero-image .image-placeholder {
    height: 400px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
