/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-green: #2d5a3d;
    --secondary-green: #3d7a5d;
    --light-green: #e8f5e8;
    --dark-green: #1a3d2a;
    --accent-green: #4a9d6a;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e6ed;
    --shadow: 0 2px 15px rgba(45, 90, 61, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: var(--transition);
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-green);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    padding: 60px 0;
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 800px;
    margin: 3rem auto 0;
}

.store-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: fadeIn 1.5s ease-out;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 61, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-pdf {
    background: var(--accent-green);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 20px;
}

.btn-pdf:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* サービスセクション */
.services {
    padding: 100px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(45, 90, 61, 0.15);
}

.service-icon {
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 会社概要セクション */
.company {
    padding: 100px 0;
    background: var(--white);
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--light-green);
    color: var(--primary-green);
    font-weight: 600;
    width: 30%;
}

.info-table td {
    background: var(--white);
}

/* 店舗情報セクション */
.store {
    padding: 100px 0;
    background: var(--light-gray);
}

.store-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.store-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.store-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.store-content {
    padding: 2rem;
}

.store-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.store-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.detail-section {
    background: var(--white);
    border: 2px solid var(--light-green);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.08);
    transition: var(--transition);
    min-height: 300px;
}

.detail-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.12);
    border-color: var(--accent-green);
}

.detail-section h4 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-green);
    position: relative;
}

.detail-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-green);
}

.detail-section.full-width {
    grid-column: 1 / -1;
}

.map-container {
    margin-top: 1rem;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.1);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table th,
.hours-table td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.hours-table th {
    color: var(--primary-green);
    font-weight: 600;
    width: 40%;
}

.insurance-list {
    list-style: none;
    padding: 0;
}

.insurance-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.insurance-list li:last-child {
    border-bottom: none;
}

/* お知らせセクション */
.news {
    padding: 100px 0;
    background: var(--white);
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.news-date {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.news-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* 採用情報セクション */
.recruitment {
    padding: 100px 0;
    background: var(--light-gray);
    text-align: center;
}

.recruitment-content {
    max-width: 600px;
    margin: 0 auto;
}

.recruitment-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* お問い合わせセクション */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 15px;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-hours {
    background: var(--primary-green);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
}

.contact-hours h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-hours p {
    margin-bottom: 0.5rem;
}

/* フッター */
footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .store-header {
        flex-direction: column;
        text-align: center;
    }

    .store-details {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .services,
    .company,
    .store,
    .news,
    .recruitment,
    .contact {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .logo {
        height: 40px;
    }
}

/* スクロールアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ホバーエフェクト */
.service-card,
.store-card,
.news-item,
.contact-item {
    transition: var(--transition);
}

.service-card:hover,
.news-item:hover {
    transform: translateY(-5px);
}

/* フォーカス可能な要素のアウトライン */
.btn:focus,
.nav-menu a:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}