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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* サンプルサイト表示 */
.sample-notice {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sample-notice-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
}

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

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 40px; /* サンプル表示バーの高さ分下げる */
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2c5282;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.tagline {
    color: #718096;
    font-size: 0.875rem;
}

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

.nav-menu a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c5282;
}

.btn-appointment {
    background: #48bb78;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s;
}

.btn-appointment:hover {
    background: #38a169;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    margin-top: 120px; /* ナビゲーション + サンプル表示バー分 */
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: white;
    padding: 4rem 0;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

.btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-image {
    flex: 1;
    padding: 0 2rem;
}

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

.notice-bar {
    background: #fef5e7;
    padding: 1rem 0;
    border-bottom: 2px solid #f39c12;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-label {
    background: #f39c12;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.875rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.about {
    padding: 5rem 0;
    background: #f7fafc;
}

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

.about-text h3 {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    padding: 0.5rem 0;
    color: #2d3748;
    font-weight: 500;
}

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

.services {
    padding: 5rem 0;
}

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

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

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-card p {
    color: #718096;
    line-height: 1.6;
}

.doctors {
    padding: 5rem 0;
    background: #f7fafc;
}

.doctor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-image {
    height: 400px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.doctor-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: #2d3748;
}

.specialty {
    padding: 0 1.5rem;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.bio {
    padding: 1rem 1.5rem 1.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.schedule {
    padding: 5rem 0;
}

.schedule-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.schedule-table th {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: center;
}

.schedule-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-table tbody tr:hover {
    background: #f7fafc;
}

.schedule-note {
    text-align: center;
    margin-top: 1rem;
    color: #718096;
}

.access {
    padding: 5rem 0;
    background: #f7fafc;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.access-info h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.access-info dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.access-info dt {
    font-weight: bold;
    color: #4a5568;
}

.access-info dd {
    color: #2d3748;
}

.map {
    width: 100%;
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact {
    padding: 5rem 0;
}

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

.contact-info h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    margin: 1rem 0;
}

.contact-info .btn {
    margin-top: 1rem;
}

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

.contact-form h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .sample-notice-content {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px; /* サンプル表示バー分調整 */
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .access-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .doctor-cards {
        grid-template-columns: 1fr;
    }

    .schedule-table {
        font-size: 0.875rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}