/* 法人概要用CSS */

/* フォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');

/* ページタイトル */
.page-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    /* font-weight: 600; */
    margin-bottom: 30px;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
}

/* テーブルコンテナ */
.overview-table-container {
    margin-bottom: 40px;
}

/* 概要テーブル */
.overview-table {
    width: 97%;
    margin: auto;
    border-collapse: collapse;
    background-color: #fff;
    color: #565656;
}

.overview-table th,
.overview-table td {
    padding: 15px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #ddd;
}

.overview-table th {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    width: 120px;
    min-width: 120px;
    font-size: 14px;
    background-color: transparent;
    border-left: none;
    border-top: none;
}

.overview-table td {
    font-size: 14px;
    line-height: 1.7;
    border-top: none;
    border-right: none;
	padding-left: 40px;
}

/* 役員行の下ボーダーを削除 */
.overview-table tr:last-child th,
.overview-table tr:last-child td {
    border-bottom: none;
}

/* リンクスタイル */
.google-map-link,
.contact-link {
    color: #d32f2f;
    text-decoration: none;
    margin-left: 10px;
}

.google-map-link:hover,
.contact-link:hover {
    text-decoration: underline;
}

.contact-link {
    color: #d32f2f;
    font-weight: 500;
}

/* 事業内容 */
.business-content p {
    margin-bottom: 8px;
}

.business-content p:last-child {
    margin-bottom: 0;
}

/* 受託事業 */
.commissioned-business p {
    margin-bottom: 6px;
}

.commissioned-business p:last-child {
    margin-bottom: 0;
}

.commissioned-business strong {
    font-weight: bold;
    color: #333;
}

/* 役員 */
.officers dl {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.officers dl:last-child {
    margin-bottom: 0;
}

.officers dt {
    text-align: right;
    font-weight: normal;
    width: 9%;
    margin: 0;
}

.officers dd {
    text-align: left;
    margin: 0;
    width: 88%;
}

/* レスポンシブ対応 - テーブルレイアウト切り替え */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    /* テーブルをブロック要素に変更 */
    .overview-table,
    .overview-table tbody,
    .overview-table tr,
    .overview-table th,
    .overview-table td {
        display: block;
    }
    
    .overview-table tr {
        margin-bottom: 15px;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .overview-table th {
        font-family: 'Shippori Mincho', serif;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 15px;
        border: none;
        width: auto;
        min-width: auto;
        background-color: transparent;
        border-bottom: 1px solid #ddd;
    }
    
    .overview-table td {
        font-size: 13px;
        padding: 15px;
        border: none;
        margin-left: 0;
    }
    
    /* 役員行（最後の行）の下ボーダーを削除 */
    .overview-table tr:last-child th {
        border-bottom: none;
    }
    
    /* 役員のレスポンシブ調整 */
    .officers dl {
        margin-bottom: 4px;
    }
    
    .officers dt {
        width: 15%;
    }
    
    .officers dd {
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .overview-table tr {
        margin-bottom: 12px;
    }
    
    .overview-table th {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .overview-table td {
        font-size: 12px;
        line-height: 1.6;
        padding: 12px;
    }
    
    .business-content p,
    .commissioned-business p {
        margin-bottom: 5px;
    }
    
    .officers dl {
        margin-bottom: 3px;
    }
    
    .officers dt {
        width: 20%;
        font-size: 12px;
    }
    
    .officers dd {
        width: 75%;
        font-size: 12px;
    }
}