/* リセット & ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d3e;
    --secondary-color: #2d5a3d;
    --accent-color: #d4af37;
    --accent-gold: #c9a961;
    --accent-gold-light: #e8d5a3;
    --text-primary: #ffffff;
    --text-secondary: #c4c4c4;
    --bg-primary: #0d1f18;
    --bg-secondary: #0c261b;
    --bg-card: #172b24;
    --dark-green: #1a4d3e;
    --dark-green-light: #123827;
    --gradient-1: linear-gradient(135deg, #1a4d3e 0%, #2d5a3d 100%);
    --gradient-2: linear-gradient(135deg, #d4af37 0%, #c9a961 100%);
    --gradient-3: linear-gradient(135deg, #1a4d3e 0%, #d4af37 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 15px 40px rgba(212, 175, 55, 0.2);
}

html {
    scroll-behavior: smooth;
}

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

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 31, 24, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1f18;
    background-image: 
        url('img/bg.png'),
        linear-gradient(135deg, #1a4d3e 0%, #0d1f18 50%, #1a4d3e 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(212, 175, 55, 0.2);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 4rem;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-primary);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1), transparent 50%),
        linear-gradient(to bottom, rgba(13, 31, 24, 0.3), rgba(13, 31, 24, 0.5));
    z-index: 1;
}

/* セクション */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

/* 会社概要 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    background: var(--dark-green-light);
}

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

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.about-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 役員情報 */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.director-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    background: var(--dark-green-light);
}

.director-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.director-card h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.director-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 事業内容 */
.business-content {
    max-width: 800px;
    margin: 0 auto;
}

.business-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    background: var(--dark-green-light);
}

.business-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.business-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.business-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 所在地 */
.location-content {
    max-width: 600px;
    margin: 0 auto;
}

.location-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    background: var(--dark-green-light);
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.location-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* フッター */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

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

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

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

    .hero {
        height: 100vh;
        padding-top: 70px;
    }

    .section {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .directors-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .about-card,
    .director-card,
    .business-card,
    .location-card {
        padding: 2rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

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

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

