@charset "UTF-8";

/* ==========================================================================
   Lawyer Page Styles
   ========================================================================== */

/* Anchor List */
.lawyer-anchor {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 60px;
    border-left: 5px solid var(--dgreen);
}

.lawyer-anchor__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dgreen);
}

.lawyer-anchor__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.lawyer-anchor__list a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition);
}

.lawyer-anchor__list a:hover {
    color: var(--primary-color);
}

/* Profile Item */
.profile-item {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.profile-item__header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.profile-item__name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dgreen);
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.profile-item__title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.profile-item__name-en {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-family: 'Times New Roman', serif;
    font-style: italic;
    margin-top: 6px;
    letter-spacing: 0.05em;
}

/* 2カラムレイアウト：左＝履歴、右＝外部組織・弁護士会務 */
.profile-item__content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

.profile-item__side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* セクション見出し */
.profile-item__section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dgreen);
    border-left: 4px solid var(--dgreen);
    padding: 8px 0 8px 12px;
    margin-bottom: 15px;
    background-color: #e8f5f4;
}

/* 履歴リスト */
.profile-item__history {
    margin-bottom: 0;
}

.profile-item__history dt {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dgreen);
    margin-top: 12px;
    margin-bottom: 2px;
}

.profile-item__history dt:first-child {
    margin-top: 0;
}

.profile-item__history dd {
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 12px;
    border-left: 2px solid var(--rgreen);
    margin-left: 4px;
}

/* 外部組織・弁護士会務リスト */
.profile-item__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-item__list li {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 6px 0 6px 16px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.profile-item__list li:last-child {
    border-bottom: none;
}

.profile-item__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* 現任バッジ */
.badge-current {
    display: inline-block;
    font-size: 0.7rem;
    background-color: var(--dgreen);
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

.profile-item__divider {
    border: 0;
    border-top: 1px dashed #ddd;
    margin: 60px 0;
}

/* Responsive */
@media (max-width: 900px) {
    .profile-item__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .profile-item__name {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 4px;
    }

    .profile-item__title {
        font-size: 0.95rem;
    }

    .lawyer-anchor {
        padding: 20px;
    }

    .lawyer-anchor__list {
        flex-direction: column;
        gap: 10px;
    }

    .profile-item__list li {
        font-size: 0.85rem;
    }
}
