@charset "UTF-8";

.inline-block {
    display: inline-block;
}
.font-bold {
    font-weight: 700;
}

.process-hero-premium {
    position: relative;
    width: 100%;
    min-height: 45vh; /* 弁護士紹介ページに合わせて45vhに変更 */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.process-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.process-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 画像切り替えの記述 */
.pc-img {
    display: block;
}
.sp-img {
    display: none;
}

.process-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 43, 107, 0.95) 0%, rgba(0, 43, 107, 0.75) 50%, rgba(0, 43, 107, 0.2) 100%);
}

.process-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 50px; /* 弁護士紹介ページに合わせて50pxに変更 */
    padding-bottom: 50px; /* 弁護士紹介ページに合わせて50pxに変更 */
}

.process-hero-text {
    max-width: 800px;
    color: #ffffff;
}

.process-category-label {
    display: inline-block;
    background: #c5a059;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.process-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.catch-phrase {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 2.0;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.highlight-text {
    background: linear-gradient(transparent 65%, rgba(197, 160, 89, 0.85) 65%);
    padding: 0 4px;
}

.desc {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    width: 4px;
    background: #eef2f6;
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 94px;
    height: 94px;
    background: #fff;
    border: 4px solid #002b6b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 43, 107, 0.1);
    z-index: 2;
}

.step-num {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: #002b6b;
    text-align: center;
    line-height: 1.2;
}

.timeline-content {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 35px 40px;
    margin-left: 40px;
    flex: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 43, 107, 0.08);
    border-color: #c5a059;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 35px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-left: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    transform: rotate(45deg);
}

.timeline-content:hover::before {
    border-color: #c5a059;
}

.step-title {
    font-size: 22px;
    color: #0c2340;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.step-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .process-hero-premium {
        min-height: auto;
        padding: 50px 0 35px; /* 弁護士紹介ページに合わせて35pxに変更 */
        align-items: flex-start;
    }
    
    /* スマホサイズで画像を切り替え */
    .pc-img {
        display: none !important;
    }
    .sp-img {
        display: block !important;
    }

    .process-hero-overlay {
        background: linear-gradient(to top, rgba(0, 43, 107, 0.85) 0%, rgba(0, 43, 107, 0.4) 60%, rgba(0, 43, 107, 0) 100%);
    }

    .process-hero-inner {
        padding: 0 15px;
        text-align: center;
    }

    .process-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .catch-phrase {
        font-size: 18px;
    }
    
    .highlight-text {
        padding: 0 4px;
    }

    .desc {
        font-size: 14px;
        text-align: left;
    }

    .timeline-wrapper {
        padding: 10px 0 20px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .timeline-marker {
        width: 60px;
        height: 60px;
        border-width: 3px;
        margin-bottom: 15px;
    }

    .step-num {
        font-size: 12px;
    }

    .timeline-content {
        margin-left: 0;
        width: 100%;
        padding: 25px 20px;
    }

    .timeline-content::before {
        display: none;
    }

    .step-title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .step-desc {
        font-size: 15px;
    }
}