/* 会社情報ページのスタイル */

/* スムーズスクロール効果 */
html {
    scroll-behavior: smooth;
}

/* 会社情報ブロック */
.company-details h3 {
    margin-top: 32px;
}

/* 企業バリューセクション（company info用に更新） */
.about-values-section {
    background-color: var(--secondary-color);
    padding: 40px 0;
}

/* COMPANY INFOセクションのテーブル配色改善 */
.about-values-section .company-table {
    background-color: unset;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.about-values-section #head_office .company-table {
    border-radius: 4px 4px 0 0;
}
.about-values-section .company-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-values-section .company-table .company-info-block th,
.about-values-section .location-info .company-table th  {
    border-bottom: 1px solid #393939;
}

.about-values-section .company-table .company-info-block:last-child th,
.about-values-section .location-info .office-block:last-child th  {
    border-bottom: 1px solid #000;
}

.about-values-section .company-table th {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 600;
}

.about-values-section .company-info-block th,
.about-values-section .company-info-block td {
    background-color: white;
    border-left: 0;
}

.about-values-section .company-info-block th{
    background-color: rgb(0, 0, 0);
    color: #cec994;
}

/* COMPANY INFOセクションの見出し */
.about-values-section .products-title {
    color: #cec994;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.value-card {
    background-color: white;
    padding: 25px;
    text-align: center;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.value-title {
    margin-bottom: 12px;
}

/* 会社情報テーブル */
.company-table {
    width: 100%;
    margin: 0;
}

/* LOCATION セクションの会社情報テーブル */
.location-info .company-table {
    table-layout: auto;
    border-collapse: collapse;
    margin-bottom: 0;
    width: 100%;
}

.location-info .company-table th {
    vertical-align: middle;
    padding: 10px;
    width: 30%;
}

@media (max-width: 480px) {
    .location-info .company-table th {
        width: 100%;
    }
    
}

.location-info .company-table td {
    vertical-align: middle;
    padding: 8px 10px;
    text-align: left;
    width: auto;
    white-space: normal;
}

/* LOCATIONセクションの見出しとテーブルスタイル */
.about-values-section .office-block-header th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    border-bottom: none;
    font-weight: 600;
}

.about-values-section .office-block th {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.about-values-section .office-block td {
    background-color: white;
}
.about-values-section .office-map {
    margin-bottom: 30px;
}

.about-values-section .map-frame {
    background-color: white;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ロケーションのレイアウト - 縦表示 */
.location-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 25px 0;
}

.location-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.location-info table {
    height: 100%;
}

.office-map {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    height: 450px;
}

.map-frame {
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-top: none;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* チームセクション */
.section-description {
    margin-top: 8px;
}

.member-profile {
    font-size: 14px;
    margin-top: 12px;
    color: var(--gray-color);
}

/* メンバーカードのターゲットスタイル */
.member-card:target {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: highlight 1.5s ease-in-out;
}

@keyframes highlight {
    0% { background-color: rgba(var(--primary-color-rgb), 0.2); }
    100% { background-color: transparent; }
}

/* リンクスタイル */
.product-director a,
.product-designer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-director a:hover,
.product-designer a:hover {
    text-decoration: underline;
}

/* キャリアセクション */
.careers-section {
    background-color: var(--secondary-color);
    text-align: center;
}

.btn-container {
    margin-top: 25px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .value-cards-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
