/**
 * 法務ページ用のスタイル
 */

/* メインビジュアル */
.sub-page-custom01 {
    background-image: url('../images/law-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    position: relative;
}

.sub-page-custom01 .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sub-page-custom01 .main-visual-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    color: #fff;
}

/* テーブルスタイル */
.table-with-row-header {
    margin: 30px 0;
}

.table-with-row-header table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.table-with-row-header th {
    background-color: #f5f5f5;
    padding: 15px;
    width: 30%;
    text-align: left;
    border: 1px solid #ddd;
}

.table-with-row-header td {
    padding: 15px;
    border: 1px solid #ddd;
}

.table-with-row-header a {
    color: #156082;
    text-decoration: underline;
}

.table-with-row-header a:hover {
    opacity: 0.8;
}

/* CTAセクション */
.cta_sec {
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta_sec h5 {
    font-size: 24px;
    margin-bottom: 20px;
}

.cta_sec h4 {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta_sec .btn_row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta_sec .button a {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.cta_sec .button a.red {
    background-color: #e74c3c;
    color: #fff;
}

.cta_sec .button a.blue {
    background-color: #3498db;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sub-page-custom01 {
        min-height: 200px;
    }
    
    .sub-page-custom01 .main-visual-content {
        padding: 40px 0;
    }
    
    .table-with-row-header th,
    .table-with-row-header td {
        padding: 10px;
    }
    
    .cta_sec .btn_row {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta_sec .button a {
        width: 100%;
        text-align: center;
    }
} 