/* ===============================================
   代表弁護士の想いページ専用スタイル
   =============================================== */

/* 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/message-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 #e8e8e8;
}

.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: 1100px;
    margin: 0 auto;
    padding: 80px 2rem;
}

/* プロフィールセクション */
.profile-section {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-left-column {
    position: sticky;
    top: 120px;
}

.profile-image-wrapper {
    position: relative;
    overflow: visible;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 0;
}

.profile-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

.profile-image-placeholder {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    z-index: 1;
}

.profile-name-card {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border: 1px solid #e8e8e8;
}

.profile-position {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.profile-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.1em;
}

.profile-name-en {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

/* 経歴セクション */
.career-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid #e8e8e8;
}

.career-box-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    letter-spacing: 0.1em;
}

.career-list {
    list-style: none;
}

.career-list-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.career-list-year {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.career-list-detail {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 300;
}

/* メッセージコンテンツ */
.message-content {
    padding-top: 0.5rem;
}

.message-block {
    margin-bottom: 3rem;
}

.message-block:last-child {
    margin-bottom: 0;
}

.message-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    letter-spacing: 0.05em;
}

.message-text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-dark);
    font-weight: 300;
}

.message-text p {
    margin-bottom: 1.5rem;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-highlight {
    background: linear-gradient(transparent 60%, rgba(30, 58, 138, 0.15) 60%);
    padding: 0 0.2rem;
    font-weight: 500;
}

/* CTAセクション */
.cta-section {
    position: relative;
    padding: 100px 2rem;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 64, 175, 0.95) 100%);
}

.cta-card {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cta-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.cta-card-desc {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

.cta-card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cta-card-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.cta-card-tel:hover {
    background: #f3f4f6;
}

.cta-card-tel-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cta-card-tel-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-card-tel-number {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.cta-card-tel-number:hover {
    color: var(--primary-dark);
}

.cta-card-tel-time {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.cta-card-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-card-form:hover {
    background: var(--primary-dark);
}

.cta-card-form-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card-form-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 0.75rem;
}

.cta-card-form-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
}

.cta-card-form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* ===============================================
   レスポンシブ
   =============================================== */
@media (max-width: 1024px) {
    .profile-section {
        grid-template-columns: 320px 1fr;
        gap: 3rem;
    }

    .profile-left-column {
        position: static;
    }
}

@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: 1.1rem;
    }

    .breadcrumb {
        padding: 0.8rem 1.5rem;
    }

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

    .profile-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .profile-left-column {
        max-width: 320px;
        margin: 0 auto;
    }

    .profile-image-wrapper::before {
        top: 15px;
        left: 15px;
    }

    .profile-name-card {
        padding: 1.5rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .career-box {
        padding: 1.5rem;
    }

    .career-box-title {
        font-size: 1.1rem;
    }

    .message-title {
        font-size: 1.2rem;
    }

    .message-text {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 60px 1.5rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-card-title {
        font-size: 1.4rem;
    }

    .cta-card-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 375px) {
    .kv-content h1 {
        font-size: 2rem;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .message-title {
        font-size: 1.1rem;
    }
}