/* 会社概要ページ固有のスタイル */

/* メインコンテンツ */
main {
    position: relative;
    padding-top: 80px; /* ヘッダーの高さ分のスペースを確保 */
}

/* サブページヒーロー */
.hero {
    position: relative;
    width: 100%;
}

.hero-sub {
    height: 60vh;
    min-height: 400px;
    margin-top: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero005.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 会社概要セクション */
.company-info {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.info-table {
    margin-top: 3rem;
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-dark);
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 600;
    width: 30%;
}

.info-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* 経営理念セクション */
.philosophy {
    padding: 5rem 0;
}

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

.philosophy-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #A09A89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.philosophy-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.philosophy-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* サービス紹介セクション */
.services-intro {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.service-item {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.service-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* アクセスマップセクション */
.access-map {
    padding: 5rem 0;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.map-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.address {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.access-list {
    list-style: none;
    margin-bottom: 2rem;
}

.access-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.access-list strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    color: var(--primary-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.map-placeholder p {
    margin: 0.5rem 0;
}

.map-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    main {
        padding-top: 70px;
    }

    .hero-sub {
        height: 50vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .info-table th,
    .info-table td {
        padding: 1rem;
        display: block;
        width: 100%;
    }
    
    .info-table th {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: var(--text-dark);
    }
    
    .info-table td {
        border-bottom: none;
        padding-top: 0;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .map-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 60px;
    }

    .hero-sub {
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .company-info {
        padding: 3rem 0;
    }
    
    .philosophy {
        padding: 3rem 0;
    }
    
    .services-intro {
        padding: 3rem 0;
    }
    
    .access-map {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-icon {
        width: 60px;
        height: 60px;
    }
    
    .philosophy-icon i {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .map-placeholder {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .map-placeholder i {
        font-size: 3rem;
    }
}