@charset "UTF-8";

/* =========================================
   Profile Section (プロフィール部分)
========================================= */
.profile-text.eft {
    position: absolute;
    display: inline-block;
    bottom: 50px;
    background: #FFF;
    padding: 40px;
    z-index: 2;
    left: 3%;
    opacity: 0;
    border-radius: 12px;
    min-width: 360px;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    transition: all 1s ease .5s;
}

.profile-text.eft.eon {
    opacity: 1;
    left: 5%;
}

.profile-job {
    margin-bottom: 14px;
}

.profile-job span {
    display: inline-block;
    background: #003D80;
    border-radius: 8px;
    color: #FFF;
    padding: 2px 10px;
}

.profile-name {
    font-size: 2em;
    font-family: var(--en-font);
    color: #003D80;
    margin-bottom: 15px;
}

.profile-desc {
    line-height: 1.6em;
}


/* =========================================
   Article Section (記事部分)
========================================= */
.article-header {
    font-size: 1rem;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 8px;
}

.article-hero {
    padding: 10px 0 20px;
    font-size: 1.4rem;
    line-height: 1.8em;
}

.article-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.article-text {
    flex: 1;
    text-align: justify;
}

.article-text p {
    margin: 0 0 1.5em 0;
    text-indent: 1em;
}

.article-text p span {
    color: #FF5255;
}

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

.article-img {
    width: calc(50% - 30px);
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}

.article-row.flip-64 .article-text {
    order: 2;
}

.article-row.flip-64 .article-img {
    order: 1;
    width: calc(35% - 30px);
}

.inner-section.gradation-bg {
    padding: 80px 0;
    background: linear-gradient(120deg, #fedcdf 0%, #beeef7 100%);
}

.article-img-full {
    width: 90%;
    margin: 50px auto;
    max-width: 1160px;
}

.article-img-full img {
    border-radius: 16px;
}


/* =========================================
   My Goal Section (目標部分)
========================================= */
.my-goal {
    line-height: 1.8;
    margin: 20px 0;
    position: relative;
    z-index: 3;
}

.my-goal span {
    font-size: min(2vw, 24px);
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    color: transparent;
    overflow: hidden;
}

.my-goal span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 8px;
    background-color: #fff;
    transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.my-goal.eft.eon span {
    color: #000;
    transition: color 0.5s 0.4s;
}

.my-goal.eft.eon span::before {
    width: 100%;
}


/* =========================================
   Timeline Section (タイムライン部分)
========================================= */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 120px;
}

.timeline-item {
    display: flex;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 64, 152, 0.3);
    border-radius: 12px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(20px);
}

.timeline-item dt {
    flex: 0 0 120px;
    background: var(--gradient-primary);
    color: #FFF;
    font-family: var(--en-font);
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.timeline-item dd {
    flex: 1;
    padding: 15px;
    margin: 0;
}

.timeline-item dd p {
    margin: 0;
    line-height: 1.4em;
}


/* =========================================
   Media Query (SP用：PCからの差分のみ記述)
========================================= */
@media screen and (max-width: 768px) {

    /* --- Profile SP --- */
    .profile-text.eft {
        bottom: -30px;
        padding: 20px;
        left: 2%;
        min-width: auto;
    }

    .profile-text.eft.eon {
        left: 3%;
    }

    .profile-job {
        margin-bottom: 8px;
    }

    .profile-job span {
        font-size: 0.8em;
        padding: 1% 10px;
    }

    .profile-name {
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    .profile-desc {
        font-size: 0.8em;
    }

    /* --- Article SP --- */
    .article-header {
        font-size: 1em;
        padding: 2px 12px;
    }

    .article-hero {
        padding: 10px 0 15px;
        font-size: min(4.4vw, 18px);
    }

    .article-row {
        flex-direction: column;
        gap: 0;
    }

    .article-img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .article-row.flip-64 .article-text {
        order: 1;
    }

    .article-row.flip-64 .article-img {
        order: 2;
        width: 100%;
    }

    .inner-section.gradation-bg {
        padding: 40px 0;
    }

    .article-img-full {
        padding-top: 30px;
    }

    .article-img-full img {
        object-fit: cover;
        min-height: 200px;
        border-radius: 12px;
    }

    /* --- My Goal & Timeline SP --- */
    .my-goal span {
        font-size: min(4vw, 18px);
    }

    .gradation-bg .article-img {
        max-width: 260px;
    }

    .timeline {
        margin: 0 auto 80px;
    }

    .timeline-item dt {
        flex: 0 0 85px;
        padding-left: 15px;
        letter-spacing: 0em;
        font-size: 13px;
    }
}


/* =========================================
   山形銀行の仕事
========================================= */


.day-flow-intro {
    text-align: center;
    padding-bottom: 40px;
}

.day-flow {
    padding-bottom: 80px;
}

.day-flow.with-border {
    position: relative;
}

.day-flow.with-border::before {
    content: "";
    display: block;
    position: absolute;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
}

.day-flow-main {
    position: relative;
    margin-bottom: 80px;
}

.day-flow-main .main-text {
    width: 40%;
    max-width: 470px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    padding: 30px 3%;
    min-height: 300px;
    position: absolute;
    bottom: -40px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.day-flow-main .main-text h2 {
    text-align: center;
    font-weight: 500;
    font-size: min(2.2vw, 28px);
    line-height: 1.8em;
}

.day-flow-main .main-image {
    width: 80%;
    position: relative;
    left: 20%;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.day-flow-detail {
    width: 90%;
    max-width: 760px;
    margin: 0 auto;
}

.inner-section-title {
    padding: 120px 0 30px;
    position: relative;
    font-size: 20px;
    text-align: center;
    color: #003D80;
}

.inner-section-title::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/job_img/gradation-arrow.svg');
    width: 50px;
    height: 70px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.day-flow-last {
    text-align: center;
    line-height: 1.8em;
    padding-bottom: 30px;
}

.day-flow-last~p {
    text-align: center;
}
.day-flow-last~p span {
    font-size: 18px;
}

.our_service {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(#ffeaec 0%, #e6fbff 100%);
}

.service-list {
    border-radius: 12px;
    padding: 10px 10px 20px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 64, 152, 0.3);
}

.service-list.box01 {
    margin-bottom: 30px;
}

.service-list .box-title {
    border-radius: 8px;
    height: 60px;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-list .box-title p {
    color: #FFF;
    display: inline-block;
    padding-right: 70px;
    position: relative;
    font-size: 18px;
    height: 60px;
    line-height: 60px;
}

.service-list .box-title p:before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    right: 0;
    bottom: 0;
}

.service-list.box01 .box-title p:before {
    background-image: url('../img/growth_img/service-title01.svg');
}

.service-list.box02 .box-title p:before {
    background-image: url('../img/growth_img/service-title02.svg');
}

.service-desc {
    width: 90%;
    max-width: 760px;
    margin: 30px auto;
}

.service-modal-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
}

.service-modal-btn li {
    width: calc((100% - 30px) / 3);
    border-radius: 16px;
    background: linear-gradient(140deg, #ffeaec 0%, #e6fbff 100%);
    padding: 15px 0 5px;
    transform: scale(1);
    transition: all .5s;
}

.service-modal-btn .btn-title {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.4em;
    color: #003D80;
}

.service-modal-btn .btn-check {
    position: relative;
    display: inline-block;
    color: #39A2E8;
    font-family: var(--en-font);
    font-size: 13px;
    line-height: 1em;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 20px;
}

.service-modal-btn .btn-check::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/job_img/zoom-icon.svg');
    width: 16px;
    height: 16px;
    right: 0;
    top: -2px;
}

.service-modal {
    max-width: 700px;
}

.service-modal .title {
    position: relative;
    font-size: 20px;
    text-align: center;
    color: #003D80;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.service-modal .title::after {
    content: "";
    display: block;
    position: absolute;
    background: linear-gradient(140deg, #ffeaec 0%, #e6fbff 100%);
    width: 100%;
    height: 5px;
    border-radius: 3px;
    bottom: 0;
    left: 0;
}

@media (hover: hover) {
    .service-modal-btn li:hover {
        transform: scale(0.97);
    }
}

@media screen and (max-width: 768px) {
    .day-flow-intro {
        text-align: center;
        padding-bottom: 0;
        font-size: 0.9em;
    }

    .day-flow {
        padding-bottom: 40px;
    }

    .day-flow.with-border {
        position: relative;
    }

    .day-flow.with-border::before {
        content: "";
        display: block;
        position: absolute;
        background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
        left: 0;
        bottom: 0;
        width: 100%;
        height: 4px;
        border-radius: 2px;
    }

    .day-flow-main {
        position: relative;
        margin-bottom: 120px;
    }

    .day-flow-main .main-text {
        width: 70%;
        max-width: 370px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
        padding: 30px 3%;
        min-height: 100px;
        position: absolute;
        bottom: -80px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .day-flow-main .main-text h2 {
        text-align: center;
        font-weight: 500;
        font-size: min(4vw, 20px);
        line-height: 1.8em;
    }

    .day-flow-main .main-image {
        width: 95%;
        position: relative;
        left: 5%;
        z-index: 1;
        border-radius: 12px;
        overflow: hidden;
    }

    .day-flow-detail {
        width: 90%;
        max-width: 760px;
        margin: 0 auto;
    }

    .inner-section-title {
        padding: 100px 0 30px;
        position: relative;
        font-size: 16px;
        text-align: center;
        color: #003D80;
    }

    .inner-section-title::before {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('../img/job_img/gradation-arrow.svg');
        width: 50px;
        height: 70px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .day-flow-last {
        text-align: center;
        line-height: 1.8em;
        padding-bottom: 30px;
    }

    .day-flow-last~p {
        text-align: center;
    }
	
	.day-flow-last~p span {
        font-size: 18px;
    }

    .our_service {
        position: relative;
        padding: 80px 0;
        background: linear-gradient(#ffeaec 0%, #e6fbff 100%);
    }

    .service-list {
        border-radius: 12px;
        padding: 10px 10px 20px;
        background: #fff;
        box-shadow: 0 0 5px rgba(0, 64, 152, 0.3);
    }

    .service-list.box01 {
        margin-bottom: 30px;
    }

    .service-list .box-title {
        border-radius: 8px;
        height: 60px;
        background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .service-list .box-title p {
        color: #FFF;
        display: inline-block;
        padding-right: 70px;
        position: relative;
        font-size: 18px;
        height: 60px;
        line-height: 60px;
    }

    .service-list .box-title p:before {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        width: 60px;
        height: 60px;
        right: 0;
        bottom: 0;
    }

    .service-list.box01 .box-title p:before {
        background-image: url('../img/growth_img/service-title01.svg');
    }

    .service-list.box02 .box-title p:before {
        background-image: url('../img/growth_img/service-title02.svg');
    }

    .service-desc {
        width: 90%;
        max-width: 760px;
        margin: 20px auto;
    }

    .service-modal-btn {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
    }

    .service-modal-btn li {
        width: calc((100% - 10px) / 2);
        border-radius: 8px;
        background: linear-gradient(140deg, #ffeaec 0%, #e6fbff 100%);
        padding: 10px 10px 0;
        transform: scale(1);
        transition: all .5s;
    }

    .service-modal-btn .btn-title {
        text-align: center;
        font-size: 12px;
        line-height: 1.4em;
        color: #003D80;
    }

    .service-modal-btn .btn-check {
        position: relative;
        display: inline-block;
        color: #39A2E8;
        font-family: var(--en-font);
        font-size: 10px;
        line-height: 1em;
        left: 50%;
        transform: translateX(-50%);
        padding-right: 15px;
        top: -5px;
    }

    .service-modal-btn .btn-check::after {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('../img/job_img/zoom-icon.svg');
        width: 12px;
        height: 12px;
        right: 0;
        top: -2px;
    }

    .service-modal {
        max-width: 700px;
    }

    .service-modal .title {
        position: relative;
        font-size: 20px;
        text-align: center;
        color: #003D80;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .service-modal .title::after {
        content: "";
        display: block;
        position: absolute;
        background: linear-gradient(140deg, #ffeaec 0%, #e6fbff 100%);
        width: 100%;
        height: 5px;
        border-radius: 3px;
        bottom: 0;
        left: 0;
    }
}