/* page-company.css - 会社概要ページ専用スタイル */

/* 会社概要ページ用ヒーローセクション */
.site-hero-bg.hero-company {
    min-height: 300px;
    text-align: center;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.site-hero-bg.hero-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/plan_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.site-hero-bg.hero-company::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}

.hero-company .site-hero-overlay {
    background-color: transparent;
    padding: 0;
    text-align: center;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-company h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8),
                -1px 1px 0 rgba(0, 0, 0, 0.8), 1px 1px 0 rgba(0, 0, 0, 0.8),
                0 0 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* 会社基本情報セクション */
.company-info-section {
    padding: 60px 0;
    background-color: var(--background-white);
}

.company-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.company-info-table {
    flex: 1;
    min-width: 280px;
    border-collapse: collapse;
    width: 100%;
}

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

.company-info-table th {
    width: 120px;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: var(--background-light);
}

.company-name-ja {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.company-name-en {
    font-size: 14px;
    color: var(--text-light);
}

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

.business-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.business-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.company-map {
    flex: 1;
    min-width: 280px;
}

.company-map h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 代表プロフィールセクション */
.profile-photo {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
}
.profile-section {
    padding: 60px 20px;
    background-color: var(--background-light);
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.profile-image {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.profile-image .image-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.profile-content {
    flex: 2;
    min-width: 280px;
}

.profile-name {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.profile-name-en {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 10px;
    font-weight: normal;
}

.profile-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.profile-description {
    margin-bottom: 25px;
}

.profile-description p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.profile-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.profile-subtitle:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background-color: var(--primary-color);
}

.profile-strengths {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-strengths li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.profile-strengths i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
}

/* ビジョン・ミッション・バリューセクション */
.vision-section {
    padding: 60px 0;
    background-color: var(--background-white);
}

.vision-container {
    margin-top: 40px;
}

.vision-box, .mission-box, .value-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    padding: 30px;
    margin-bottom: 30px;
}

.vision-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.vision-title i {
    margin-right: 10px;
}

.vision-content {
    padding: 0 10px;
}

.vision-main-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.vision-sub-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mission-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mission-highlight {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

/* バリューカードのスタイル */
.value-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    flex: 1;
    min-width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.value-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.value-card-icon i {
    font-size: 30px;
    color: white;
}

.value-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.value-card-content {
    text-align: left;
    width: 100%;
}

.value-card-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 沿革セクション */
.history-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.history-container {
    margin-top: 40px;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline:before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    width: 120px;
    padding-right: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    flex-shrink: 0;
    padding-top: 3px;
}

.timeline-content {
    position: relative;
    padding-left: 30px;
    padding-bottom: 10px;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
}

.timeline-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .site-hero-bg.hero-company {
        min-height: 250px;
    }
    
    .hero-company .text-container {
        padding: 15px 20px;
    }
    
    .hero-company h1 {
        font-size: 2rem;
    }
        .company-info-table th {
        width: 100px;
    }
    
    .history-timeline:before {
        left: 90px;
    }
    
    .timeline-date {
        width: 90px;
    }
    
    .profile-image {
        margin: 0 auto;
    }
    
    .profile-image .image-placeholder {
        height: 300px;
    }
    .value-cards {
        flex-direction: column;
    }
    
    .value-card {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .site-hero-bg.hero-company {
        min-height: 200px;
    }
    
    .hero-company .text-container {
        padding: 12px 15px;
    }
    
    .hero-company h1 {
        font-size: 1.8rem;
    }

    .company-info-table th,
    .company-info-table td {
        padding: 10px;
    }
    
    .company-info-table th {
        width: 80px;
    }
    
    .history-timeline:before {
        left: 70px;
    }
    
    .timeline-date {
        width: 70px;
        font-size: 14px;
    }
    
    .timeline-content:before {
        left: -4px;
        width: 10px;
        height: 10px;
    }
    
    .vision-box, .mission-box, .value-box {
        padding: 20px;
    }
    
    .vision-main-text {
        font-size: 18px;
    }
}

/* お問い合わせセクションの背景色を白に変更 */
.site-contact-white {
    background-color: var(--background-white);
}