/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ナビゲーション */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.nav-subtitle {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

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

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #111;
    outline: 2px solid #e0e0e0;
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle:hover,
.nav-toggle:focus {
    outline: 2px solid #e0e0e0;
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: #555;
    margin: 0.25rem 0;
    transition: 0.3s;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-mobile {
    display: none;
    border-top: 1px solid #f0f0f0;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile-link {
    color: #555;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus {
    color: #111;
    outline: 2px solid #e0e0e0;
}

/* メインビジュアル */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.desktop-break {
    display: none;
}

@media (min-width: 640px) {
    .desktop-break {
        display: block;
    }
}

.hero-button {
    background-color: #2d3748;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-button:hover,
.hero-button:focus {
    background-color: #1a202c;
    outline: 2px solid #e0e0e0;
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #111;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-divider {
    width: 4rem;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 auto;
}

/* 事業所紹介 */
.about {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

@media (min-width: 640px) {
    .about {
        padding: 5rem 0;
    }
}

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

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #111;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .about-subtitle {
        font-size: 1.5rem;
    }
}

.about-paragraph {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background-color: #e0e0e0;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.about-company {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .about-company {
        padding: 2rem;
    }
}

.company-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .company-title {
        font-size: 1.25rem;
    }
}

.company-info {
    color: #555;
}

.company-info p {
    margin-bottom: 0.75rem;
}

/* サービス内容 */
.services {
    padding: 4rem 0;
    background-color: white;
}

@media (min-width: 640px) {
    .services {
        padding: 5rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: 2px solid #e0e0e0;
}

.service-header {
    text-align: center;
    margin-bottom: 1rem;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #666;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111;
}

@media (min-width: 640px) {
    .service-title {
        font-size: 1.25rem;
    }
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-info {
    margin-top: 1rem;
}

.service-detail {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #888;
}

.service-detail svg {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* アクセス情報 */
.access {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

@media (min-width: 640px) {
    .access {
        padding: 5rem 0;
    }
}

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

@media (min-width: 1024px) {
    .access-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.access-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .access-subtitle {
        font-size: 1.25rem;
    }
}

.access-details {
    margin-bottom: 2rem;
}

.access-main {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.access-icon {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: #888;
}

.access-station {
    font-weight: 500;
    color: #111;
}

.access-line {
    color: #666;
    font-size: 0.875rem;
}

.access-nearby {
    margin-left: 2rem;
    color: #666;
}

.access-nearby p {
    margin-bottom: 0.5rem;
}

.access-environment {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.environment-title {
    font-weight: 500;
    color: #111;
    margin-bottom: 0.75rem;
}

.environment-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

.access-map {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    aspect-ratio: 16 / 9;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.map-content {
    text-align: center;
    color: #888;
}

.map-title {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.map-subtitle {
    font-size: 0.75rem;
}

.map-address {
    font-size: 0.875rem;
    color: #666;
}

.map-address p {
    margin-bottom: 0.5rem;
}

/* お問い合わせ */
.contact {
    padding: 4rem 0;
    background-color: white;
}

@media (min-width: 640px) {
    .contact {
        padding: 5rem 0;
    }
}

.contact .container {
    max-width: 64rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-top: 1.5rem;
}

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

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-card:focus-within {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: 2px solid #e0e0e0;
}

.contact-card:nth-child(3) {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .contact-card:nth-child(3) {
        grid-column: auto;
    }
}

.contact-header {
    margin-bottom: 1rem;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.line-icon {
    background-color: #dcfce7;
    color: #16a34a;
}

.phone-icon {
    background-color: #dbeafe;
    color: #2563eb;
}

.mail-icon {
    background-color: #f3e8ff;
    color: #9333ea;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111;
}

.contact-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.contact-time {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-hours {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.contact-button {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid;
    border-radius: 0.375rem;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.line-button {
    border-color: #bbf7d0;
    color: #15803d;
}

.line-button:hover,
.line-button:focus {
    background-color: #f0fdf4;
    outline: 2px solid #16a34a;
}

.phone-button {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.phone-button:hover,
.phone-button:focus {
    background-color: #eff6ff;
    outline: 2px solid #2563eb;
}

.mail-button {
    border-color: #e9d5ff;
    color: #7c3aed;
}

.mail-button:hover,
.mail-button:focus {
    background-color: #faf5ff;
    outline: 2px solid #9333ea;
}

/* フッター */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 3rem 0;
}

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

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-description {
    color: #a0aec0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-group-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #4a5568;
    border-radius: 4px;
    color: #e2e8f0;
    background-color: rgba(255, 255, 255, 0.04);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-group-link:hover,
.footer-group-link:focus {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: #a0aec0;
    color: #ffffff;
    outline: none;
}

.footer-group-link svg {
    flex-shrink: 0;
}

.footer-subtitle {
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    color: #a0aec0;
    font-size: 0.875rem;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-contact {
    color: #a0aec0;
    font-size: 0.875rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* フォーカス表示の改善 */
*:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* スクリーンリーダー用の非表示テキスト */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

