/* ========================================
   Profile & Other Pages - Additional Styles
   ======================================== */

/* ========== Profile Hero Section ========== */
.profile-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 68px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1675687959770-156e7fdc975e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxvY2VhbiUyMHN1cmZpbmclMjBzdW5yaXNlJTIwQ2hpYmElMjBKYXBhbiUyMGNvYXN0fGVufDF8fHx8MTc3MzMwODQ3MXww&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
}

.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,30,50,0.48) 0%, rgba(26,49,82,0.35) 40%, rgba(15,30,50,0.70) 100%);
}

.profile-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10,25,48,0.40) 0%, transparent 100%);
}

.profile-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
    background-size: 32px 32px;
}

.profile-hero-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

.profile-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px 24px 80px;
}

.profile-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.profile-photo-wrapper {
    flex-shrink: 0;
}

.profile-photo {
    position: relative;
    width: clamp(160px, 24vw, 260px);
    height: clamp(200px, 30vw, 320px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 3px solid rgba(201,168,76,0.5);
}

.profile-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.profile-info {
    text-align: center;
}

.profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-name {
    font-size: clamp(32px, 5vw, 54px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: white;
    letter-spacing: 0.12em;
    line-height: 1.3;
}

.profile-name-en {
    margin-top: 8px;
    font-size: clamp(13px, 1.8vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.1em;
    font-weight: 300;
}

.profile-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
}

.profile-position {
    font-size: clamp(13px, 1.6vw, 15px);
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.75);
    line-height: 2;
    font-weight: 300;
}

.profile-tags {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.profile-tag {
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .profile-hero-grid {
        flex-direction: row;
        align-items: flex-end;
        gap: 64px;
    }

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

    .profile-eyebrow {
        justify-content: flex-start;
    }

    .profile-divider {
        justify-content: flex-start;
    }

    .profile-tags {
        justify-content: flex-start;
    }
}

/* ========== Profile Intro Section ========== */
.profile-intro {
    padding: 96px 0;
    background-color: white;
}

.profile-section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.label-line {
    flex: 1;
    height: 1px;
    background-color: rgba(26,49,82,0.1);
}

.label-text {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: #c9a84c;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.profile-intro-card {
    position: relative;
    border-radius: 16px;
    padding: 40px 32px;
    background-color: #fafbfc;
    border-left: 4px solid #1a3152;
    overflow: hidden;
}

.intro-card-quote {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 120px;
    line-height: 1;
    opacity: 0.04;
    font-family: Georgia, serif;
    color: #1a3152;
    user-select: none;
    pointer-events: none;
}

.intro-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intro-lead {
    font-size: 17px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: #1a3152;
    line-height: 1.9;
    letter-spacing: 0.03em;
}

.intro-text {
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2.3;
    color: #4b5563;
    font-weight: 300;
}

@media (min-width: 768px) {
    .profile-intro-card {
        padding: 56px 56px;
    }
}

/* ========== Profile Omoi Section ========== */
.profile-omoi {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #fdf8f0 0%, #f9f4ea 60%, #fdf8f0 100%);
}

/* container-small override: Reactのmax-w-3xl(768px)に合わせる */
.profile-omoi .container-small,
.profile-timeline .container-small {
    max-width: 768px;
}

.omoi-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(26,49,82,0.8) 1px, transparent 1px);
    background-size: 32px 32px;
}

.omoi-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

.omoi-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.omoi-title {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: clamp(24px, 4vw, 36px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.18em;
}

.omoi-timeline {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.omoi-item {
    display: flex;
    gap: 20px;
}

.omoi-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 10px;
}

.omoi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #c9a84c;
    opacity: 0.7;
    flex-shrink: 0;
}

.omoi-line {
    width: 1px;
    flex: 1;
    margin-top: 8px;
    background-color: rgba(201,168,76,0.3);
}

.omoi-line-none {
    display: none;
}

.omoi-card {
    flex: 1;
    border-radius: 16px;
    padding: 28px 32px;
    background-color: white;
    box-shadow: 0 2px 20px rgba(26,49,82,0.07);
    border: 1px solid rgba(201,168,76,0.12);
}

.omoi-card p {
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2.3;
    color: #4b5563;
    font-weight: 300;
}

@media (min-width: 640px) {
    .omoi-indicator {
        display: flex;
    }
}

/* ========== Profile Timeline Section ========== */
.profile-timeline {
    padding: 96px 0;
    background-color: #fafbfc;
}

.timeline-header {
    text-align: center;
    margin-bottom: 64px;
}

.timeline-title {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: clamp(22px, 3.5vw, 32px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.05em;
}

.timeline-wrapper {
    position: relative;
    padding-left: 32px;
}

.timeline-line {
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 50px;
    background: linear-gradient(to bottom, rgba(26,49,82,0.15), rgba(26,49,82,0.04));
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.timeline-icon {
    position: absolute;
    left: -32px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a3152;
    box-shadow: 0 4px 12px rgba(26,49,82,0.25);
    flex-shrink: 0;
    z-index: 10;
}

.timeline-icon svg {
    color: white;
}

.timeline-icon-highlight {
    background-color: #c9a84c;
}

.timeline-content {
    flex: 1;
    border-radius: 16px;
    padding: 28px;
    background-color: white;
    border: 1px solid rgba(26,49,82,0.07);
    box-shadow: 0 2px 16px rgba(26,49,82,0.05);
}

.timeline-item-highlight .timeline-content {
    border: 2px solid #c9a84c;
    box-shadow: 0 8px 32px rgba(201,168,76,0.15);
}

.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: #1a3152;
    color: white;
    font-size: 13px;
    font-family: Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.timeline-year-highlight {
    background-color: #c9a84c;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #4b5563;
    line-height: 1.9;
    font-weight: 300;
}

.timeline-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c9a84c;
    margin-top: 8px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .timeline-wrapper {
        padding-left: 56px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-icon {
        left: -56px;
    }
}

/* ========== Profile Message Section ========== */
.profile-message {
    padding: 96px 0;
    background-color: white;
}

.message-header {
    text-align: center;
    margin-bottom: 56px;
}

.message-title {
    margin-top: 16px;
    font-size: clamp(22px, 3.5vw, 32px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.05em;
}

.message-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26,49,82,0.1);
    margin-bottom: 32px;
}

.message-card-border {
    height: 4px;
    background: linear-gradient(90deg, #1a3152, #c9a84c, #1a3152);
}

.message-card-content {
    padding: 40px 32px;
    background-color: white;
    text-align: center;
}

.message-lead {
    margin-bottom: 24px;
    font-size: clamp(18px, 3vw, 24px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    line-height: 1.8;
    letter-spacing: 0.06em;
}

.message-text {
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #6b7280;
    line-height: 2;
    font-weight: 300;
}

.message-cta {
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1e3a6e 0%, #2d5190 100%);
}

.message-cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
    background-size: 28px 28px;
}

.message-cta-content {
    position: relative;
    z-index: 10;
}

.cta-intro {
    margin-bottom: 32px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2.3;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #c9a84c, #d4b055);
    color: white;
    font-size: 17px;
    font-family: Georgia, serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(201,168,76,0.3);
    transition: all 0.3s;
}

.btn-cta-phone:hover {
    box-shadow: 0 12px 32px rgba(201,168,76,0.4);
    transform: translateY(-2px);
}

.btn-cta-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px;
    padding: 14px 28px;
    border: 1.5px solid rgba(255,255,255,0.35);
    background-color: rgba(255,255,255,0.07);
    color: white;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta-email:hover {
    background-color: rgba(255,255,255,0.12);
}

.cta-form-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.cta-form-link:hover {
    color: rgba(255,255,255,0.8);
}

.cta-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-footer p {
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }

    .message-card-content {
        padding: 56px;
    }

    .message-cta {
        padding: 48px;
    }
}

/* ========== Page Hero (Shared for Office/Services pages) ========== */
.page-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    padding-top: 68px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1759658015901-a67d4728c9ff?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxKYXBhbmVzZSUyMGNvYXN0YWwlMjB0b3duJTIwY29uc3VsdGF0aW9uJTIwY2FsbSUyMG9jZWFuJTIwbW9ybmluZ3xlbnwxfHx8fDE3NzMzMTY0ODJ8MA&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15,30,52,0.52) 0%, rgba(26,49,82,0.42) 55%, rgba(20,40,70,0.58) 100%);
}

.page-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10,25,48,0.40) 0%, transparent 100%);
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
    background-size: 32px 32px;
}

.page-hero-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
}

.page-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.page-hero-title {
    font-size: clamp(24px, 4vw, 38px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: white;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.page-hero-subtitle {
    margin-top: 12px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.82);
    font-weight: 300;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

/* ========== Page Content (Shared for Office/Services pages) ========== */
.page-main {
    background-color: #fafbfc;
    min-height: 60vh;
}

.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 24px;
}

.page-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;
}

.page-section-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #c9a84c;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.page-section-title {
    margin-top: 12px;
    font-size: clamp(20px, 3vw, 28px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.05em;
}

.page-cta-box {
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    background: linear-gradient(135deg, #1e3a6e, #2d5090);
    box-shadow: 0 8px 40px rgba(26,49,82,0.2);
}

.page-cta-title {
    margin-bottom: 8px;
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: white;
    letter-spacing: 0.05em;
}

.page-cta-subtitle {
    margin-bottom: 40px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

.page-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.page-cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #c9a84c, #d4b055);
    color: white;
    font-size: 17px;
    font-family: Georgia, serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(201,168,76,0.3);
    transition: all 0.3s;
}

.page-cta-phone:hover {
    box-shadow: 0 12px 32px rgba(201,168,76,0.4);
    transform: translateY(-2px);
}

.page-cta-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px;
    padding: 16px 32px;
    border: 1.5px solid rgba(255,255,255,0.4);
    background-color: rgba(255,255,255,0.07);
    color: white;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
}

.page-cta-contact:hover {
    background-color: rgba(255,255,255,0.12);
}

@media (min-width: 640px) {
    .page-cta-buttons {
        flex-direction: row;
    }

    .page-cta-box {
        padding: 48px;
    }
}

/* ========== Shared Section Label & Divider ========== */
.section-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: #c9a84c;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.section-divider {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #c9a84c;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
}

/* omoi: divider is mt-6 (24px) */
.omoi-header .section-divider {
    margin-top: 24px;
}

/* timeline: divider is mt-4 (16px) */
.timeline-header .section-divider {
    margin-top: 16px;
}

/* message: divider inside card */
.message-card-content .section-divider {
    margin-top: 0;
    margin-bottom: 24px;
}

/* ========== Profile Hero eyebrow & divider lines ========== */
.eyebrow-line {
    display: block;
    height: 1px;
    width: 32px;
    background-color: rgba(255,255,255,0.4);
}

.eyebrow-text {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.7);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.divider-line {
    display: block;
    height: 1px;
    width: 32px;
    background-color: rgba(201,168,76,0.5);
}

.divider-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #c9a84c;
    opacity: 0.8;
}