@charset "UTF-8";

/* =========================================
   先輩たちのやまがたLIFE
   ========================================= */

/* --- 共通・イントロダクション --- */
.life-intro {
    text-align: center;
    padding-bottom: 60px;
}

.life-modal-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    margin-bottom: 100px;
}

.life-modal-buttons li {
    width: 32%;
    margin-bottom: 30px;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
    position: relative;
    transition: all .4s;
}

@media (hover: hover) {
    .life-modal-buttons li:hover {
        transform: scale(0.98);
        box-shadow: 0 0 3px 0 rgba(69, 115, 139, 0.3);
    }
}

.life-modal-buttons li .life-thum {
    position: relative;
    margin-bottom: 10px;
}

.life-modal-buttons li .life-thum::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/environment_img/life-zoon-icon.svg');
    width: 80px;
    height: 80px;
    z-index: 2;
    top: 0;
    right: 0;
}

.life-modal-buttons li .life-thum .thumnail-image {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.life-modal-buttons li .life-thum p {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: 4px;
    color: #39A2E8;
}

.life-person {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 15px;
}

.life-person .person-image {
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.life-person .person-name {
    flex: 1;
    padding-left: 10px;
}

.life-person .person-name p {
    line-height: 1.6em;
    font-size: 0.9em;
}

.life-person .person-name p span {
    display: block;
    font-size: 20px;
    color: #003D80;
}

.life-modal {
    max-width: 1200px;
}

.life-modal .dialog-inner {
    padding: 30px;
}

.life-modal .mylife {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.life-modal .mylife.on {
    margin: 20px auto 40px;
}

.life-modal .mylife .image-area {
    width: 35%;
    border-radius: 20px;
    overflow: hidden;
}

.life-modal .mylife .text-area {
    width: 61%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.life-modal .mylife.off .image-area {
    order: 2;
}

.life-modal .mylife .text-area .theme-text {
    position: relative;
    margin-bottom: 20px;
}

.life-modal .mylife .text-area .theme-text span {
    display: inline-block;
    color: #FFF;
    padding: 2px 12px;
    border-radius: 8px;
}

.life-modal .mylife.on .text-area .theme-text span {
    background: #39A2E8;
}

.life-modal .mylife.off .text-area .theme-text span {
    background: #FF5255;
}

.life-modal .mylife .text-area .title-text {
    font-size: 30px;
    color: #39A2E8;
    margin-bottom: 10px;
}

.other-photos {
    margin: 30px 0 0;
}

.other-photos>p {
    color: #39A2E8;
    text-align: center;
    padding-bottom: 10px;
}

.other-photos ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.other-photos ul li {
    width: 24%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.other-photos ul li .tag {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: #BEEEF7;
    padding: 0 12px;
    border-radius: 8px;
}

/* =========================================
   スマートフォン用スタイル (life)
   ========================================= */
@media (max-width: 768px) {
    .life-intro {
        padding-bottom: 40px;
    }

    .life-modal-buttons {
        margin-bottom: 50px;
    }

    .life-modal-buttons li {
        width: 48%;
        margin-bottom: 20px;
        border-radius: 24px;
        padding: 8px;
    }

    .life-modal-buttons li .life-thum::before {
        width: 50px;
        height: 50px;
    }

    .life-modal-buttons li .life-thum .thumnail-image {
        border-radius: 20px;
    }

    .life-modal-buttons li .life-thum p {
        font-size: 12px;
    }

    .life-modal .mylife .image-area {
        width: 40%;
    }

    .life-modal .mylife .image-area img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
    }

    .life-modal .mylife .text-area {
        width: 57%;
    }

    .life-modal .mylife .text-area .theme-text {
        margin-bottom: 10px;
    }

    .life-modal .mylife .text-area .title-text {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .other-photos ul li {
        width: 49%;
        margin-bottom: 2%;
    }

    .other-photos ul li .tag {
        left: 5px;
        bottom: 5px;
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .life-modal-buttons {
        max-width: 300px;
        margin: 0 auto;
    }

    .life-modal-buttons li {
        width: 100%;
    }

    .life-modal-buttons li .life-thum .thumnail-image img {
        object-fit: cover;
        object-position: center center;
        max-height: 300px;
    }

    .life-person .person-image {
        width: 60px;
    }

    .life-modal {
        width: 100%;
    }

    .life-modal .dialog-inner {
        padding: 10px;
    }

    .life-modal .mylife.on {
        margin: 0 auto 30px;
    }

    .life-modal .mylife .image-area {
        width: 100%;
        margin-bottom: 20px;
    }

    .life-modal .mylife .text-area {
        width: 100%;
    }

    .life-modal .mylife.off .text-area {
        order: 2;
    }

    .life-modal .mylife.off .image-area {
        order: 1;
    }

    .other-photos ul li {
        width: 100%;
    }
}

/* =========================================
   先輩たちのやまがたLIFE (カルチャーなど)
   ========================================= */

/* --- 共通・イントロダクション --- */
.culture-intro {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.6em;
}

.block-desc {
    font-size: 1.1rem;
    padding-bottom: 20px;
}

.culture-sub-block {
    padding-bottom: 50px;
}

.culture-sub-block:last-of-type {
    padding-bottom: 0;
}

.label-folded {
    position: relative;
    font-size: 32px;
    color: #003D80;
    font-weight: 500;
    padding: 40px 40px;
    display: inline-block;
    width: 100%;
    clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0 100%, 0 1.5rem);
    background: linear-gradient(to right, #ffebeb, #e6f9ff);
    border-radius: 12px;
    margin-bottom: 20px;
}

.label-folded::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ff5a5a;
    border-bottom-right-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.label-folded.with-icon01,
.label-folded.with-icon02,
.label-folded.with-icon03 {
    padding-left: 120px;
    position: relative;
}

.label-folded.with-icon01::before,
.label-folded.with-icon02::before,
.label-folded.with-icon03::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    left: 30px;
    top: 20px;
    z-index: 4;
}

.label-folded.with-icon01::before {
    background-image: url('../img/environment_img/culture-icon01.png');
}

.label-folded.with-icon02::before {
    background-image: url('../img/environment_img/culture-icon02.png');
}

.label-folded.with-icon03::before {
    background-image: url('../img/environment_img/culture-icon03.png');
}

.top-three {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 60px;
}

.top-three li {
    width: calc(33.33% - 14px);
}

.detail-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin: 0 0 20px;
}

.detail-list li {
    width: calc(33.33% - 14px);
    background: #F3FAFA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 20px 20px 20px;
}

.detail-list li p {
    position: relative;
    padding-left: 65px;
    line-height: 1.6em;
    color: #003D80;
}

.detail-list li p::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/environment_img/person-icon.svg');
    width: 50px;
    height: 45px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.culture-sub-block .note span {
    font-size: 1.15rem;
    color: #FF5255;
}

.culture-bottom-text {
    padding: 50px 0;
}

.culture-bottom-text .hero-text {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.6em;
    padding-bottom: 40px;
}

.culture-bottom-text p:not([class]) {
    text-align: center;
}

.inner-section.exmb {
    margin-bottom: 60px;
}

/* =========================================
   スマートフォン用スタイル (culture)
   ========================================= */
@media (max-width: 768px) {
    .culture-intro {
        font-size: clamp(18px, 4vw, 22px);
    }

    .block-desc {
        font-size: 1rem;
        padding-bottom: 15px;
    }

    .culture-sub-block {
        padding-bottom: 30px;
    }

    .label-folded {
        font-size: 20px;
        padding: 20px 20px 20px 30px;
    }

    .top-three li .label-folded {
        margin-bottom: 5px;
    }

    .label-folded.with-icon01,
    .label-folded.with-icon02,
    .label-folded.with-icon03 {
        padding-left: 70px;
    }

    .label-folded.with-icon01::before,
    .label-folded.with-icon02::before,
    .label-folded.with-icon03::before {
        width: 40px;
        height: 40px;
        left: 20px;
    }

    .top-three {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }

    .top-three li {
        width: 100%;
    }

    .detail-list li {
        padding: 15px;
        margin-bottom: 4px;
    }

    .detail-list li p {
        padding-left: 45px;
    }

    .detail-list li p::before {
        width: 40px;
        height: 35px;
    }

    .culture-bottom-text {
        padding: 30px 0;
    }

    .culture-bottom-text .hero-text {
        font-size: clamp(18px, 4vw, 22px);
        padding-bottom: 40px;
    }

    .inner-section.exmb {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .detail-list {
        gap: 0;
    }

    .detail-list li {
        width: 100%;
    }
}