@charset "UTF-8";

/* =========================================
   弁護士紹介ページ専用スタイル (lawyer.css)
========================================= */

/* --- ユーティリティ --- */
/* 変な箇所での改行を防ぐためのクラス */
.inline-block {
    display: inline-block;
}

/* --- 1. ヒーローセクション（写真背景・スリム縦幅仕様） --- */
.lawyer-hero-premium {
    position: relative;
    width: 100%;
    min-height: 45vh; /* 70vhから45vhへ狭めてスマートな印象に調整 */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.lawyer-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lawyer-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* 縦幅を狭めた分、顔周りが見えやすい位置に固定 */
}

.lawyer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左側の文字の可読性をガッチリ担保する濃紺グラデーション */
    background: linear-gradient(to right, rgba(0, 43, 107, 0.95) 0%, rgba(0, 43, 107, 0.75) 50%, rgba(0, 43, 107, 0.25) 100%);
}

.lawyer-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 50px; /* 上下の余白もスリム化 */
    padding-bottom: 50px;
}

.lawyer-hero-text {
    max-width: 800px;
    color: #ffffff;
}

.lawyer-catchphrase {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px; /* 縦幅に合わせて少しコンパクトに調整 */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 25px;
    letter-spacing: 0.06em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.highlight-text {
    /* 高級感のある落ち着いたゴールド調マーカーライン */
    background: linear-gradient(transparent 65%, rgba(197, 160, 89, 0.75) 65%);
    padding: 0 6px;
}

.lawyer-greeting {
    font-size: 16px;
    font-weight: 500;
    line-height: 2.0;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* --- 2. プロフィールセクション --- */
.profile-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    max-width: 900px;
    margin: 0 auto;
    border-top: 4px solid #002b6b;
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-img-wrap {
    flex-shrink: 0;
    width: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-info {
    flex: 1;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.profile-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-row:first-child {
    padding-top: 0;
}

.profile-th {
    width: 100px;
    font-weight: 700;
    color: #002b6b;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-td {
    flex: 1;
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

.divider {
    color: #cbd5e0;
    margin: 0 8px;
}

.history-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.history-list li:last-child {
    margin-bottom: 0;
}

.history-list li span {
    font-weight: 700;
    min-width: 70px;
    color: #0c2340;
}

.history-list li p {
    margin: 0;
}


/* --- 3. 特徴セクション --- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 43, 107, 0.08);
    border-color: #002b6b;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: #002b6b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 900;
    font-family: 'Arial', sans-serif;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    color: #0c2340;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.feature-content small {
    color: #888;
    display: block;
    margin-top: 8px;
    font-size: 13px;
}


/* --- レスポンシブ (SP) --- */
@media (max-width: 991px) {
    /* ヒーローセクション調整（SP） */
    .lawyer-hero-premium {
        min-height: auto;
        padding: 50px 0 35px; /* スマホ時のパディングも詰めてスリム化 */
        align-items: flex-start;
    }
    
    .lawyer-hero-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .lawyer-hero-overlay {
        /* スマホ時は縦構図になるため、下から上へのグラデーションで可読性を担保 */
        background: linear-gradient(to top, rgba(0, 43, 107, 1) 0%, rgba(0, 43, 107, 0.8) 70%, rgba(0, 43, 107, 0.3) 100%);
    }

    .lawyer-hero-text {
        text-align: center;
    }

    .lawyer-catchphrase {
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .highlight-text {
        padding: 0 4px;
    }

    .lawyer-greeting {
        font-size: 14px;
        line-height: 1.9;
        text-align: left; /* 長文テキストはスマホでも左寄せが美しい */
    }

    /* プロフィール調整（SP） */
    .profile-card {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }

    .profile-img-wrap {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .profile-row {
        flex-direction: column;
        gap: 6px;
        padding: 15px 0;
    }

    .profile-th {
        width: 100%;
        font-size: 15px;
    }

    .history-list li {
        flex-direction: column;
        gap: 3px;
        margin-bottom: 12px;
    }

    /* 特徴（SP） */
    .feature-item {
        flex-direction: column;
        gap: 15px;
        padding: 25px 20px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .lawyer-greeting {
        font-size: 13px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 340px) {
    .lawyer-catchphrase {
        font-size: 20px;
    }
}