/* ==============================================
   Page Hero
=============================================== */
.msg-hero {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, #07141e 0%, #0a2535 45%, #0f4c75 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.msg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 75% 50%, rgba(15,76,117,0.35) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 65%, rgba(0,104,56,0.2) 0%, transparent 65%);
}

.msg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
}

.msg-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.msg-hero-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid rgba(86,175,255,0.55);
    color: #7ec8f7;
    padding: 5px 18px;
    border-radius: 2px;
    margin-bottom: 22px;
}

.msg-hero-inner h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.msg-hero-inner p {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.72);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.85;
    font-style: italic;
    letter-spacing: 0.5px;
}

.msg-breadcrumb {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
}

.msg-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.msg-breadcrumb a:hover { color: #7ec8f7; }
.msg-breadcrumb span   { color: rgba(255,255,255,0.28); }

/* ==============================================
   スクロールアニメーション
=============================================== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================================
   Message Body Section
=============================================== */
.msg-body {
    padding: 100px 0;
    background: #fff;
}

.msg-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}

/* プロフィールカード */
.msg-profile {
    position: sticky;
    top: 100px;
}

.profile-card {
    background: linear-gradient(135deg, #07141e 0%, #0a2535 60%, #0f4c75 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 12px 40px rgba(7,20,30,0.25);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(126,200,247,0.4);
}

.profile-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.profile-info {
    color: #fff;
}

.profile-company {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}

.profile-title {
    font-size: 12px;
    color: #7ec8f7;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.profile-belief {
    background: #f4f7fb;
    border-radius: 12px;
    padding: 20px 22px;
    border-left: 3px solid #006838;
}

.belief-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #006838;
    margin-bottom: 8px;
}

.profile-belief p {
    font-size: 13px;
    color: #444;
    line-height: 1.75;
    margin: 0;
}

/* メッセージ本文 */
.msg-content {
    padding-top: 8px;
}

.msg-catch {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 800;
    color: #0d1a26;
    line-height: 1.5;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 2px solid #e8f5ee;
    position: relative;
}

.msg-catch::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #006838, #1a8a5a);
}

.msg-text p {
    font-size: 16px;
    color: #333;
    line-height: 2.1;
    margin-bottom: 22px;
}

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


.msg-sign {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #eef1f6;
    text-align: right;
}

.msg-sign p {
    font-size: 15px;
    font-weight: 700;
    color: #0d1a26;
    line-height: 1.8;
    margin: 0;
}

/* ==============================================
   CTA Section
=============================================== */
.msg-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #061018 0%, #0a2030 50%, #0f4c75 100%);
}

.msg-cta-inner {
    text-align: center;
    color: #fff;
}

.msg-cta-inner h2 {
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 18px;
    border-left: none;
    padding-left: 0;
    color: #fff;
}

.msg-cta-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    margin-bottom: 38px;
}

.msg-cta-btn {
    display: inline-block;
    padding: 18px 52px;
    background: linear-gradient(135deg, #006838, #1a8a5a);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 28px rgba(0,104,56,0.4);
    transition: filter 0.3s, transform 0.2s, box-shadow 0.3s;
}

.msg-cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,104,56,0.5);
}

/* ==============================================
   Responsive
=============================================== */
@media (max-width: 960px) {
    .msg-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .msg-profile {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .msg-hero {
        height: 380px;
    }

    .msg-body,
    .msg-cta {
        padding: 70px 0;
    }

    .msg-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .msg-hero {
        height: 320px;
    }

    .msg-catch {
        font-size: 20px;
    }
}
