/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 明るいテーマ配色 */
:root {
    --color-primary: #71BD44;
    --color-accent: #F8A03C;
    --color-bg-primary: #FAFAFA;
    --color-bg-secondary: #F0F0F0;
    --color-bg-surface: #FFFFFF;
    --color-text-primary: #535356;
    --color-text-secondary: #6D6D70;
    --color-text-muted: #9A9A9D;
    --color-border: #E0E0E0;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 12px 24px rgba(0, 0, 0, 0.2);
    --glassmorphism-bg: rgba(255, 255, 255, 0.1);
    --glassmorphism-bg-scrolled: rgba(250, 250, 250, 0.9);
    --glassmorphism-border: rgba(0, 0, 0, 0.1);
    --glassmorphism-border-scrolled: rgba(113, 189, 68, 0.3);
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* プログレスバー */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    z-index: 1001;
    width: 0%;
    transition: width 0.3s ease;
}

/* フローティングヘッダー（ガラスモーフィズム） */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glassmorphism-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: 50px;
    padding: 15px 30px;
    z-index: 1000;
    width: 90%;
    max-width: 1000px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--glassmorphism-bg-scrolled);
    backdrop-filter: blur(30px);
    border-color: var(--glassmorphism-border-scrolled);
    box-shadow: 0 8px 32px rgba(113, 189, 68, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
}

.nav-item:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

/* ドロップダウンメニュー */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 1002;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(113, 189, 68, 0.4);
    background: #5BA837;
}

/* モバイルメニューボタン */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ハンバーガーメニューアニメーション */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 1999;
    transition: all 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    padding: 80px 0 20px 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 0 20px;
}

.mobile-nav-item {
    display: block;
    padding: 15px 0;
    color: var(--color-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.mobile-nav-item:hover {
    color: var(--color-primary);
}

.mobile-nav-cta {
    margin-top: 20px;
    padding: 15px;
    background: var(--color-primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: block;
}

.mobile-nav-cta:hover {
    background: #5BA837;
}

/* セクション共通 */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* セクションタイトル */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* 1. ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
    color: var(--color-text-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(250, 250, 250, 0.8) 0%, 
        rgba(240, 248, 255, 0.6) 100%
    );
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.hero-highlight {
    color: var(--color-primary);
    position: relative;
}

/* .hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
} */

.hero-cta {
    position: relative;
    z-index: 10;
}

.cta-btn-large {
    background: var(--color-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    background: #5BA837;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-primary);
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 2. 企業の想いセクション */
.vision {
    background: var(--color-bg-surface);
    text-align: left;
}

.vision-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.vision-text h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

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

.vision-image {
    position: relative;
}

.vision-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.vision-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* 3. サービスセクション */
.services {
    background: var(--color-bg-secondary);
    position: relative;
}

.services-header {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.services-header-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.services-header:hover .services-header-image {
    transform: scale(1.05);
}

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

.service-card {
    background: var(--color-bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--color-primary);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.services-cta {
    margin-top: 3rem;
}

.cta-btn {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: #5BA837;
}

/* 4. 会社情報セクション */
.company-info {
    background: var(--color-bg-surface);
    text-align: left;
}

/* 一般コース詳細専用の幅設定（3列確実表示のため） */
.company-info .section-content {
    max-width: 1400px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.info-card {
    background: var(--color-bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--color-border);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

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

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

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

.business-areas {
    background: var(--color-bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--color-border);
    text-align: left;
}

.business-areas h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.business-areas ul {
    list-style: none;
    padding: 0;
}

.business-areas li {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 3rem;
}

.business-areas li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 1.5rem;
}

/* 5. CTAセクション */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(240, 240, 240, 0.9) 0%, 
        rgba(250, 250, 250, 0.8) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    min-width: 250px;
}

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

.cta-large.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    background: #5BA837;
}

.cta-large.secondary {
    background: var(--color-bg-surface);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.cta-large.secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* フッター */
.footer {
    background: var(--color-text-primary);
    color: var(--color-bg-surface);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo-image {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header {
        width: 95%;
        padding: 12px 20px;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .section {
        padding: 1rem;
        min-height: auto;
        padding-top: 6rem;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .vision-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .vision-photo {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-header-image {
        height: 200px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-large {
        min-width: 200px;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 1rem;
    }
    
    /* モバイルでドロップダウンを無効化 */
    .dropdown-menu {
        display: none;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: fadeInUp 0.8s ease-out;
}

/* スクロール時のアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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