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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #2563eb;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --background-light: #f9fafb;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 
                 'Yu Gothic', 'Meiryo', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--accent-color);
    background: var(--background-light);
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 1s ease backwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.8;
    animation: fadeIn 1s ease 1s backwards;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.3;
    }
}

/* セクション共通 */
section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

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

/* Pick1について */
.about {
    background: var(--background-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-color);
    text-align: justify;
}

/* 事業について */
.business-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.business-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.08);
}

.business-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 16px;
}

.business-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.business-card-content p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
}

/* サービスカード */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    line-height: 1.4;
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

.service-link-wrapper {
    text-align: center;
    margin-top: 60px;
}

.service-link {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.service-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

/* 会社概要 */
.company {
    background: var(--background-light);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.company-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    font-weight: 600;
    color: var(--text-color);
}

.company-value {
    color: var(--text-light);
}

/* お問い合わせCTA（トップページ） */
.cta-section {
    background: var(--background-light);
    padding: 100px 0;
    text-align: center;
}

.cta-section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.cta-section-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 56px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.cta-button-large:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

/* お問い合わせページ */
.contact-page {
    padding: 80px 0 120px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.required {
    color: #e53e3e;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        height: 100svh;
    }

    .hero-video {
        /* モバイルでは動画を少し拡大して表示 */
        min-width: 100%;
        min-height: 100%;
    }

    .hero-title {
        margin-bottom: 24px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .business-intro {
        margin-bottom: 40px;
    }

    .business-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .business-card,
    .service-card {
        padding: 32px 24px;
    }

    .company-info {
        padding: 32px 24px;
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    /* サービスページ */
    .page-hero {
        padding: 120px 0 60px;
    }

    .service-detail {
        padding: 60px 0;
    }

    .service-category {
        margin-bottom: 60px;
    }

    .service-detail-card {
        padding: 32px 24px;
    }

    .service-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 16px 20px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .business-card-content p {
        font-size: 14px;
    }
}

/* サービスページ */
.page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2563eb 100%);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 68px;
}

.page-hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9;
    font-weight: 300;
}

.service-detail {
    padding: 100px 0;
}

.service-category {
    margin-bottom: 100px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-category-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    text-align: center;
}

.service-category-description {
    font-size: 15px;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 60px;
}

.service-detail-grid {
    display: grid;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.service-detail-header {
    margin-bottom: 32px;
}

.service-number-large {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.service-detail-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.service-detail-description {
    font-size: 15px;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 32px;
    text-align: justify;
}

.service-features,
.service-benefits {
    margin-bottom: 32px;
}

.service-features:last-child,
.service-benefits:last-child {
    margin-bottom: 0;
}

.service-features-title,
.service-benefits-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.service-features-list,
.service-benefits-list {
    list-style: none;
    padding-left: 0;
}

.service-features-list li,
.service-benefits-list li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.service-features-list li::before,
.service-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

.service-cta {
    background: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.service-cta-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-cta-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.nav-link.active {
    color: var(--accent-color);
}

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

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

