/* インデックスページ固有 スタイル */

/* ヒーローセクション */
.hero {
    /* 基本設定は .hero-section-base を継承 */
    /* 背景パターンは .hero-background-base を使用 */
    /* ヒーロー背景変数は stylesheet.css の :root で定義済み */
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    /* 基本スタイルは .hero-title-base を継承 */
    text-transform: uppercase;
}

.it-text {
    font-size: 1.1em;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* メインコンテンツ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin-bottom: 6rem;
    padding-top: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 会社概要セクション */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-info {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem;
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    transition: all 0.6s ease;
}

.company-info:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.info-label {
    min-width: 5em;
    flex-shrink: 0;
    position: relative;
}

.info-label::after {
    content: "：";
    position: absolute;
    right: -0.5em;
}

.info-value {
    margin-left: 0.5em;
}


.info-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* お問い合わせセクション */
.contact-description {
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-description {
        font-size: 0.8rem;
    }
}

.contact-form {
    text-align: center;
}

/* モバイルレスポンシブ */
@media (max-width: 768px) {
    .hero {
        padding: clamp(70px, 8vh, 100px) 0 clamp(30px, 5vh, 60px);
        min-height: 75vh;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
        margin-bottom: 1.5rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
        margin-bottom: 2rem;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .company-info {
        padding: 2.5rem 2rem;
    }
    
    .info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .info-label {
        min-width: 4.5em;
    }
    
    .cards-grid {
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .section {
        padding-top: 3.5rem;
        margin-bottom: 5rem;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
    }
    
    .main-content {
        padding: 0 1.5rem;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding: clamp(80px, 10vh, 110px) 0 clamp(40px, 6vh, 70px);
        min-height: 80vh;
    }
    
    .main-content {
        padding: 0 1.5rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .company-info {
        padding: 2.5rem;
    }
}

/* 小さなスマホ対応 */
@media (max-width: 480px) {
    .hero {
        padding: clamp(50px, 6vh, 80px) 0 clamp(20px, 4vh, 40px);
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.8rem);
        margin-bottom: 1.25rem;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2.2vw, 1.2rem);
        margin-bottom: 1.5rem;
        line-height: 1.4;
        padding: 0 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .main-content {
        padding: 0 1rem;
    }
    
    .company-info {
        padding: 2rem 1.5rem;
    }
    
    .info-item {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .info-label {
        min-width: 4em;
        font-size: 0.95rem;
    }
    
    .info-value {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.25rem;
        line-height: 1.3;
    }
    
    .section {
        padding-top: 3rem;
        margin-bottom: 4rem;
    }
    
    .cards-grid {
        gap: 1.75rem;
        margin-top: 2rem;
    }
}

/* モーション低減対応はstylesheet.cssの共通定義で処理済み */