/* ===============================================
   事務所概要ページ専用スタイル
   =============================================== */

/* KVビジュアル */
.kv-visual {
    margin-top: 80px;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 64, 175, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.kv-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/company-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.kv-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.kv-content h1 {
    font-family: 'Georgia', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.kv-content p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* パンくずリスト */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb-list a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

/* メインコンテンツ */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 2rem;
}

/* セクション共通 */
.section {
    margin-bottom: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* 事務所情報テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.info-table tr {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.info-table th,
.info-table td {
    padding: 1.5rem 1.5rem;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 30%;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--bg-light);
    letter-spacing: 0.05em;
}

.info-table td {
    color: var(--text-dark);
    line-height: 1.9;
}

.info-table td a {
    color: var(--primary-light);
    text-decoration: none;
}

.info-table td a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* 代表弁護士プロフィール */
.profile-card {
    background: var(--bg-light);
    padding: 3rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-image-area {
    text-align: center;
}

.profile-image {
    width: 100%;
    max-width: 220px;
    height: 280px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 1rem;
}

.profile-image-placeholder {
    width: 100%;
    max-width: 220px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem;
    margin: 0 auto 1rem;
}

.profile-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.profile-title {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.profile-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.profile-content p {
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.profile-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.profile-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 経歴 */
.career-list {
    list-style: none;
}

.career-item {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color, #e5e7eb);
}

.career-item:last-child {
    border-bottom: none;
}

.career-year {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
}

.career-content {
    color: var(--text-dark);
    flex: 1;
}

/* アクセス */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.access-info {
    background: var(--bg-light);
    padding: 2rem;
}

.access-info h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.access-detail {
    margin-bottom: 1.5rem;
}

.access-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.access-value {
    color: var(--text-dark);
    line-height: 1.8;
}

.access-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

.map-container {
    background: var(--bg-light);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===============================================
   レスポンシブ
   =============================================== */
@media (max-width: 768px) {
    .kv-visual {
        margin-top: 70px;
        height: 40vh;
        min-height: 300px;
    }

    .kv-content h1 {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    .kv-content p {
        font-size: 1rem;
    }

    .breadcrumb {
        padding: 1rem 1.5rem;
    }

    .main-content {
        padding: 50px 1.5rem;
    }

    .section {
        margin-bottom: 60px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        padding: 1rem 1.5rem 0.5rem;
        border-bottom: none;
    }

    .info-table td {
        padding: 0.5rem 1.5rem 1.5rem;
    }

    .profile-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .profile-content {
        text-align: left;
    }

    .career-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .career-year {
        min-width: auto;
    }

    .access-content {
        grid-template-columns: 1fr;
    }
}