@charset "UTF-8";

/* =========================================
   山形の魅力を知る
   ========================================= */

.area-intro p {
    text-align: center;
}

.area-intro .area-map {
    width: 80%;
    max-width: 570px;
    margin: 50px auto 100px;
}

.area-wrapper {
    margin: 0 auto;
    max-width: 1440px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    padding-right: 5%;
}

.area-inner-menu {
    position: sticky;
    top: 100px;
    width: 40%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #ffeaec 0%, #e6fbff 100%);
    padding: 40px 20px 40px 4%;
    border-radius: 0 12px 12px 0;
}

.area-inner-menu nav {
    display: flex;
    flex-direction: column;
    position: relative;
}

.area-inner-menu .nav-link {
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    padding: 20px 0;
    border-bottom: 1px solid #FFF;
    display: block;
    opacity: 0.6;
}

.area-inner-menu .nav-link:hover,
.area-inner-menu .nav-link.active {
    opacity: 1;
    color: #333333;
}

.area-inner-menu .nav-link h2 {
    font-size: 1.4rem;
    line-height: 1.5em;
    font-weight: 500;
}

.area-inner-menu .nav-link span {
    color: #39A2E8;
    font-size: min(1.4vw, 15px);
}

.content-area {
    flex-grow: 1;
    min-width: 0;
    max-width: 720px;
}

.area-section {
    margin-bottom: 100px;
}

.area-section>p {
    padding-bottom: 30px;
}

.spot-block {
    margin-bottom: 40px;
}

.spot-img {
    border-radius: 8px;
    overflow: hidden;
}

.spot-img img {
    object-fit: cover;
}

.content-area .spot-title {
    padding: 2px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.spot-list {
    position: relative;
    margin-bottom: 20px;
}

.spot-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.6em;
}

.spot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    background-color: #BEEEF7;
    border-radius: 50%;
}

/* --- 数字で見る山形の魅力 --- */
#number .num {
    color: #39A2E8;
    font-family: var(--en-font);
}

#number .unit {
    font-size: 20px;
    font-weight: 600;
    margin-left: 1px;
}

.number-block {
    margin-bottom: 60px;
}

.number-block:last-child {
    margin-bottom: 0;
}

.number-block>p:not(.spot-title) {
    padding: 0 0 25px;
    line-height: 1.8em;
}

.chart-block {
    margin-bottom: 30px;
}

.chart-block:last-child {
    margin-bottom: 0;
}

.chart-heading {
    font-size: 20px;
    font-weight: 500;
    color: #003D80;
    margin-bottom: 15px;
}

.chart-img img {
    width: 100%;
    height: auto;
}

.data-note {
    font-size: 11px;
    line-height: 1.6em;
    margin-top: 15px;
}

/* 2カラムのプレーンな数値ボックス */
.stat-grid {
    display: flex;
    gap: 16px;
    margin: 10px 0;
}

.stat-plain-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFF;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.25);
    padding: 20px 12px;
    text-align: center;
}

.stat-plain-label {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.stat-plain-label span {
    font-size: 22px;
}

.stat-plain-value {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3em;
    padding-top: 10px;
    color: #39A2E8;
    white-space: nowrap;
}

.stat-plain-value.small {
    font-size: 20px;
}

.stat-plain-sub {
    font-size: 14px;
    line-height: 2em;
}

.num-oldcompany-count,
.num-oldcompany-rate-rank {
    font-size: 56px;
}

/* 老舗企業ランキング（3カラム） */
.rank-mini-list {
    display: flex;
    gap: 20px;
    margin: 30px 0 10px;
    text-align: center;
}

.rank-mini-list li {
    flex: 1;
    padding: 0 10px;
    position: relative;
}

.rank-mini-list li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #39A2E8;
}

.rank-mini-list .rank-badge {
    display: inline-block;
    color: #39A2E8;
    font-size: 18px;
    margin-bottom: 8px;
}

.rank-mini-list .rank-badge span {
    font-size: 36px;
    font-family: var(--en-font);
}

.rank-mini-list p {
    font-size: 30px;
    font-weight: 500;
}

.rank-mini-list .note {
    font-size: 13px;
    line-height: 1em;
    top: -0.8em;
    position: relative;
}

/* 数値ボックス＋吹き出し（比較データ） */
.stat-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.stat-box {
    flex: 0 0 auto;
    width: 44%;
    background: #FFF;
    border: 1px solid #cfe8f2;
    border-radius: 16px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.25);
    padding: 30px 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-box-label {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.stat-box-value {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3em;
    color: #39A2E8;
    white-space: nowrap;
}

.stat-bubble {
    position: relative;
    flex: 1;
    margin: 15px 0;
    background: #F5F3EC;
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.stat-bubble::after {
    content: "";
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 14px 50px 14px 0;
    border-color: transparent #F5F3EC transparent transparent;
    z-index: 2;
}

.stat-bubble.icon-bubble {
    justify-content: space-between;
    gap: 16px;
}

.stat-bubble.icon-bubble .bubble-item {
    flex: 1;
    width: auto;
}

.bubble-item {
    text-align: center;
    padding: 0 12px;
    position: relative;
    width: 50%;
}

.bubble-item+.bubble-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    border-left: 1px dashed #39A2E8;
}

.number-block:last-of-type .bubble-item+.bubble-item::before {
    display: none;
}

.bubble-label {
    font-size: 16px;
}

.bubble-value {
    font-size: 24px;
    font-weight: 600;
    color: #39A2E8;
    white-space: nowrap;
}

.bubble-label.gray {
    color: #818181;
}

.bubble-value.gray {
    color: #818181;
    font-weight: 500;
}

#number .bubble-value.gray .num {
    color: #818181;
    font-weight: 500;
}

.bubble-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.bubble-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.num-tricohabit-rank,
.num-household-rank,
.num-ramen-rank,
.num-badge-happiness-rank,
.num-happiness-tohoku-rank,
.num-income-rank,
.num-income-gap,
.num-commute-yamagata {
    font-size: 46px;
}

.num-income-gap {
    font-size: 46px;
    letter-spacing: -0.08em;
    padding-right: 5px;
}

.num-tricohabit-yamagata-int,
.num-tricohabit-national-int,
.num-household-yamagata-int,
.num-household-national-int,
.num-ramen-price,
.num-happiness-national-rank,
.num-commute-national-hour,
.num-commute-national-min,
.num-commute-national-rank {
    font-size: 36px;
}

.unit-tricohabit-yamagata,
.unit-ramen-price {
    color: #39A2E8;
}

/* =========================================
   スマートフォン用スタイル (山形の魅力を知る)
   ========================================= */
@media screen and (max-width: 768px) {
    .area-intro .area-map {
        margin: 50px auto 0;
    }

    .area-wrapper {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
        padding: 0;
    }

    .content-area {
        width: 90%;
        max-width: auto;
        margin: 0 auto;
    }

    .area-section {
        width: 100%;
        margin-bottom: 60px;
    }

    .area-inner-menu {
        top: 65px;
        left: 2%;
        width: 96%;
        z-index: 999;
        padding: 0 20px;
        border-radius: 8px;
        border-bottom: 1px solid #eee;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .area-inner-menu::-webkit-scrollbar {
        height: 4px;
        display: block;
    }

    .area-inner-menu nav {
        display: flex;
        flex-direction: row;
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .area-inner-menu .nav-link {
        flex-shrink: 0;
        padding: 15px 20px 5px 0;
        border-bottom: none;
    }

    .area-inner-menu .nav-link:hover,
    .area-inner-menu .nav-link.active {
        border-left: none;
    }

    .area-inner-menu .nav-link h2 {
        font-size: 0.9rem;
        line-height: 1em;
    }

    .area-inner-menu .nav-link span {
        font-size: 0.7rem;
        padding-top: 5px;
        line-height: 1.4em;
        display: inline-block;
    }
}

/* --- 数字で見る山形の魅力（このセクションのみ1023px以下でスマホレイアウト） --- */
@media screen and (max-width: 1023px) {
    .number-block {
        margin-bottom: 40px;
    }

    .number-block>p:not(.spot-title) {
        padding: 12px 0 20px;
    }

    .chart-heading {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .stat-grid {
        flex-direction: column;
        gap: 12px;
    }

    .stat-plain-box {
        padding: 20px 12px;
    }

    .rank-mini-list {
        flex-direction: column;
        gap: 15px;
        margin: 25px 0 10px;
    }

    .rank-mini-list li {
        padding-bottom: 20px;
    }

    /* 数値ボックス＋吹き出しはスマホで縦積みにし、吹き出しを下段・上向きに */
    .stat-compare {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    .stat-box {
        width: 100%;
        max-width: 480px;
    }

    .stat-bubble {
        width: 100%;
        max-width: 480px;
        padding: 22px 16px 14px;
    }

    .stat-bubble::after {
        left: 50%;
        top: -34px;
        transform: translateX(-50%);
        border-width: 0 14px 35px 14px;
        border-color: transparent transparent #F5F3EC transparent;
    }

    .stat-bubble.icon-bubble {
        gap: 12px;
    }
}

@media screen and (max-width:480px) {

    #number .unit {
        font-size: 16px;
    }

    .num-tricohabit-rank,
    .num-household-rank,
    .num-ramen-rank,
    .num-badge-happiness-rank,
    .num-happiness-tohoku-rank,
    .num-income-rank,
    .num-income-gap,
    .num-commute-yamagata {
        font-size: 36px;
    }

    .num-income-gap {
        font-size: 36px;
    }

    .num-tricohabit-yamagata-int,
    .num-tricohabit-national-int,
    .num-household-yamagata-int,
    .num-household-national-int,
    .num-ramen-price,
    .num-happiness-national-rank,
    .num-commute-national-hour,
    .num-commute-national-min,
    .num-commute-national-rank {
        font-size: 26px;
    }
}

.content-wrap.mb {
    padding: 0 0 120px;
}

.content-wrap.mb .button-wrap {
    padding-top: 0;
}

.button-wrap .color-black {
    color: #333;
}

@media screen and (max-width: 768px) {
    .content-wrap.mb {
        padding: 0 0 60px;
    }


}

/* =========================================
   山形銀行を知る
   ========================================= */

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

.about-intro p span {
    color: #FF5255;
}

.section-desc {
    text-align: center;
    padding-bottom: 80px;
}

.section-desc .hero {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.6em;
    padding: 20px 0 30px;
}

.center-text,
.end-center-text {
    text-align: center;
}

.end-center-text {
    padding-top: 50px;
}

/* 各セクションの背景装飾 */
.about-section01>.content-wrap,
.about-section02>.content-wrap,
.about-section03>.content-wrap,
.about-section04>.content-wrap {
    position: relative;
    z-index: 2;
}

.about-section01>.content-wrap::after,
.about-section02>.content-wrap::after,
.about-section03>.content-wrap::after,
.about-section04>.content-wrap::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    right: 0;
    top: 100px;
    z-index: -1;
}

.about-section01>.content-wrap::after {
    background-image: url('../img/introduction_img/about-section01-illust.svg');
    width: 270px;
    height: 230px;
}

.about-section02>.content-wrap::after {
    background-image: url('../img/introduction_img/about-section02-illust.svg');
    width: 270px;
    height: 400px;
}

.about-section03>.content-wrap::after {
    background-image: url('../img/introduction_img/about-section03-illust.svg');
    width: 270px;
    height: 220px;
}

/* --- Section1: 山形と共に歩んできた“とき” --- */
.about-hitory {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.about-hitory .note {
    text-align: left;
    padding: 0 10px;
    font-size: 10px;
    color: #003D80;
    line-height: 1.4em;
}

.card-list {
    list-style: none;
    padding: 0 0 5px;
    margin: 0;
    display: flex;
    justify-content: center;
}

.card-item {
    width: 100%;
    background-color: #F7F5ED;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-item::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 70px;
    height: 50px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.card-item:nth-child(1):before {
    background-image: url(../img/introduction_img/about-section-icon01.svg);
}

.card-item:nth-child(2):before {
    background-image: url(../img/introduction_img/about-section-icon02.svg);
}

.card-item:nth-child(3):before {
    background-image: url(../img/introduction_img/about-section-icon03.svg);
}

.card-item .text-area {
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card-item .description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.card-item .main-text {
    color: #003D80;
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    position: relative;
}

.card-item .main-text .number {
    font-weight: 600;
}

.card-item .main-text sup {
    font-size: 14px;
    line-height: 0;
    align-self: flex-start;
    padding-top: 5px;
}

.card-item .unit {
    font-size: 20px;
    margin-left: 4px;
}

/* データで見る山形銀行 */
.data-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 80px;
}

.data-stat-card {
    background: #FFF;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.25);
    padding: 23px 12px;
    text-align: center;
}


.data-stat-label {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.data-stat-value {
    font-size: 22px;
    color: #39A2E8;
    font-weight: 500;
    line-height: 1.4em;
}

.data-stat-value .num {
    font-size: 30px;
    font-family: var(--en-font);
}

.data-stat-value .unit {
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 1px;
}

.data-stat-badge {
    font-size: 14px;
    font-weight: 600;
    color: #39A2E8;
    line-height: 1.2em;
}

.data-stat-note {
    font-size: 9px;
    line-height: 1.2em;
    margin-top: 12px;
}

@media screen and (max-width: 1024px) {
    .data-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .data-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .data-stat-card {
        padding: 20px 12px;
    }

    .data-stat-value {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .data-stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* --- Section2: 地域密着のリーディングカンパニーに求められる“こと” --- */
.about-sub-block {
    margin-bottom: 50px;
}

.about-sub-block:last-child {
    margin-bottom: 0;
}

.about-sub-block .gradation-title span {
    padding: 2px 14px;
    font-weight: 500;
}

.about-sub-block .block-title {
    position: relative;
    padding-left: 200px;
    display: flex;
    align-items: center;
    font-size: 32px;
    line-height: 1.4em;
    height: 120px;
    margin: 20px 0;
}

.about-sub-block .block-title::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;

    width: 180px;
    height: 120px;
    left: 0;
    top: 0;
    border-radius: 12px;
}

.about-sub-block .block-title.challenge01::before {
    background-image: url('../img/introduction_img/about-section02-challenge01.jpg');
}

.about-sub-block .block-title.challenge02::before {
    background-image: url('../img/introduction_img/about-section02-challenge02.jpg');
}

.about-sub-block .block-title.challenge03::before {
    background-image: url('../img/introduction_img/about-section02-challenge03.jpg');
}

.why-what {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
}

.why-what>li {
    background: #fff;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    width: 48%;
    padding: 10px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}

.why-what>li+li::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/introduction_img/icon-cross.svg');
    width: 40px;
    height: 40px;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
}

.why-what>li:last-child {
    position: relative;
    margin-left: 70px;
}

.why-what>li .box-title {
    background: linear-gradient(90deg, #ffeaec 0%, #e6fbff 100%);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.why-what>li .box-title p {
    margin: 0;
    color: #39A2E8;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.3em;
}

.why-what>li .box-title span {
    display: block;
    font-size: 0.7rem;
    line-height: 1.3em;
    font-family: var(--en-font);
}

.why-what>li .text-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

.bule-dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.bule-dot-list li {
    border: none;
    box-shadow: none;
    width: auto;
    border-radius: 0;
    background: transparent;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    display: block;
}

.bule-dot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #b3ebff;
    border-radius: 50%;
}

.bule-dot-list li:last-of-type {
    margin-bottom: 0;
}

.button-wrap {
    padding-top: 50px;
}

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

/* --- Section3: 価値を生み出す“ひと” --- */
.value-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
}

.value-list>li {
    background: #fff;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    width: 48%;
    padding: 30px 20px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}

.value-list>li:last-child {
    position: relative;
    margin-left: 10px;
}

.value-list>li .title {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.value-list>li .title span {
    position: relative;
    display: inline-block;
    padding: 1px 12px;
    border-radius: 8px;
    overflow: hidden;
    color: #FFF;
    font-size: 0.9rem;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    white-space: nowrap;
}

.value-list>li .hero {
    text-align: center;
    font-size: 1.3rem;
    padding-bottom: 20px;
}

/* --- Section4: つなぐ、やまがたの未来 --- */
.about-section04 {
    padding: 100px 0 80px;
}

.fullwidth-content {
    position: relative;
}

.fullwidth-content .text-area {
    position: absolute;
    display: inline-block;
    right: 10%;
    top: 8%;
    z-index: 2;
    transition-delay: 1s;
}

.fullwidth-content .text-area p span {
    position: relative;
    display: inline-block;
    padding: 1px 12px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
    background: #FFF;
    white-space: nowrap;
}

.fullwidth-content .text-area p span.hero {
    position: relative;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    overflow: hidden;
    color: #FFF;
    font-size: 1.6rem;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    white-space: nowrap;
}

.fullwidth-content .bg-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* =========================================
   スマートフォン用スタイル (山形銀行を知る)
   ========================================= */
@media (max-width: 768px) {

    /* --- 共通・イントロダクション --- */
    .about-intro p {
        padding-bottom: 40px;
    }

    .section-desc .hero {
        font-size: clamp(20px, 3vw, 32px);
        padding: 20px 0;
    }

    /* 各セクションの背景装飾 */
    .about-section01>.content-wrap::after,
    .about-section02>.content-wrap::after,
    .about-section03>.content-wrap::after,
    .about-section04>.content-wrap::after {
        top: 50px;
    }

    .about-section01>.content-wrap::after,
    .about-section02>.content-wrap::after,
    .about-section03>.content-wrap::after {
        width: 200px;
    }

    .about-section01>.content-wrap::after {
        height: 170px;
    }

    /* --- Section1: 山形と共に歩んできた“とき” --- */
    .card-list {
        gap: 40px;
        flex-direction: column;
    }

    .card-item {
        padding: 44px 10px 20px;
    }

    .card-item .text-area {
        min-height: 2em;
    }

    .card-item .main-text {
        font-size: 22px;
    }

    /* --- Section2: 地域密着のリーディングカンパニーに求められる“こと” --- */
    .about-sub-block .gradation-title span {
        padding: 2px 12px;
        font-size: 0.9rem;
    }

    .about-sub-block .block-title {
        padding-left: 105px;
        font-size: min(4.4vw, 18px);
        height: 60px;
    }

    .about-sub-block .block-title::before {
        background-size: cover;
        width: 90px;
        height: 70px;
    }

    .about-sub-block .block-title.challenge01::before {
        background-image: url('../img/introduction_img/about-section02-challenge01.jpg');
    }

    .about-sub-block .block-title.challenge02::before {
        background-image: url('../img/introduction_img/about-section02-challenge02.jpg');
    }

    .about-sub-block .block-title.challenge03::before {
        background-image: url('../img/introduction_img/about-section02-challenge03.jpg');
    }

    .why-what {
        flex-direction: column;
    }

    .why-what>li {
        width: 100%;
    }

    .why-what>li+li::before {
        width: 30px;
        height: 30px;
        left: 50%;
        top: -35px;
        transform: translateX(-50%);
    }

    .why-what>li:last-child {
        margin-left: 0;
        margin-top: 40px;
    }

    .why-what>li .box-title p {
        font-size: 0.9rem;
    }

    .why-what>li .text-area {
        padding: 10px 5px;
    }

    .bule-dot-list li {
        margin-bottom: 5px;
    }

    /* --- Section3: 価値を生み出す“ひと” --- */
    .value-list {
        flex-direction: column;
    }

    .value-list>li {
        width: 100%;
        padding: 20px;
    }

    .value-list>li:last-child {
        margin-top: 10px;
        margin-left: 0;
    }

    .value-list>li .title span {
        padding: 1px 8px;
        font-size: 0.7rem;
    }

    .value-list>li .hero {
        font-size: 1.2rem;
    }

    /* --- Section4: つなぐ、やまがたの未来 --- */
    .about-section04 {
        padding: 30px 0 80px;
    }

    .fullwidth-content .text-area {
        right: auto;
        left: 3%;
        top: auto;
        bottom: 3%;
    }

    .fullwidth-content .text-area p span {
        padding: 1px 10px;
        font-size: 0.8rem;
    }

    .fullwidth-content .text-area p span.hero {
        padding: 6px 10px;
        font-size: 1.2rem;
    }

    .fullwidth-content .bg-image img {
        object-fit: cover;
        min-height: 400px;
    }
}

/* =========================================
   山形の未来への挑戦を知る
   ========================================= */

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

.future-sub-section {
    margin-bottom: 80px;
}

.future-sub-section.no-mb {
    margin-bottom: 0;
}

.future-section-desc {
    padding: 0 0 30px;
}

.future .main-content .gradation-title {
    font-size: 16px;
    font-weight: 500;
    padding: 2px 14px;
}

.future-sub-section .hero-text {
    font-size: 1.2rem;
    padding-bottom: 10px;
}

.numbered-list {
    position: relative;
    margin: 20px 0;
}

.numbered-list li {
    margin-bottom: 10px;
    position: relative;
}

.numbered-list li {
    font-weight: 700;
    position: relative;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.numbered-list li span {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F3EC;
    border-radius: 4px;
    left: 0;
    top: 0;
    top: 50%;
    width: 40px;
    height: 40px;
}

.challenge-title {
    font-size: clamp(14px, 2vw, 20px);
    font-family: var(--en-font);
    color: #39A2E8;
    padding-bottom: 15px;
}

.challnege-client {
    font-size: clamp(24px, 3vw, 32px);
    padding-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.challnege-client::after {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    bottom: 0;
    left: 0;
}

.challnege-client span {
    padding-left: 24px;
    position: relative;
    font-size: 14px;
}

.challnege-client span::before {
    content: "";
    display: block;
    position: absolute;
    background: #000;
    width: 1px;
    height: 20px;
    left: 10px;
    bottom: 0;

}

.project-history {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0 0 60px;
    position: relative;
}

.project-history::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/introduction_img/gradation-arrow.svg');
    width: 80px;
    height: 20px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);

}

.project-history>div {
    background: #fff;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    width: 48%;
    padding: 10px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-history>div+div::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/introduction_img/icon-cross.svg');
    width: 40px;
    height: 40px;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
}

.project-history>div:last-child {
    position: relative;
    margin-left: 70px;
}

.project-history>div .box-title {
    background: linear-gradient(90deg, #ffeaec 0%, #e6fbff 100%);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.project-history>div .box-title p {
    margin: 0;
    color: #39A2E8;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.3em;
}

.project-history>div .text-area {
    flex-grow: 1;
    display: flex;
    padding: 20px 10px;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

.project-result {
    background: #fff;
    border: 1px solid #e0f2f7;
    border-radius: 12px;
    width: calc(48% - 10px);
    padding: 10px;
    box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
}

.project-result .box-title {
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.project-result .box-title p {
    margin: 0;
    color: #FFF;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.3em;
}

.project-result .text-area {
    flex-grow: 1;
    display: flex;
    padding: 20px 10px;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

.point-box {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 61, 128, 0.25);
    overflow: hidden;
    margin: 40px auto 0;
}

.point-box .box-title {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(120deg, #ffeaec 0%, #e6fbff 100%);
}

.point-box .box-title p {
    color: #39A2E8;
    font-size: 20px;
    font-family: var(--en-font);
    padding-left: 44px;
    position: relative;
}

.point-box .box-title p::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/introduction_img/point-finger.svg');
    width: 30px;
    height: 45px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.point-box .text-area {
    width: 75%;
    padding: 30px 40px;
}

.future-sub-section__title {
    font-size: 20px;
    color: #003D80;
    padding-bottom: 20px;
}

/* =========================================
   スマートフォン用スタイル (山形の未来への挑戦を知る)
   ========================================= */
@media (max-width: 768px) {

    /* --- 共通・イントロダクション --- */
    .future-intro p {
        padding-bottom: 20px;
    }

    .future-sub-section {
        margin-bottom: 40px;
    }

    .future-sub-section.no-mb {
        margin-bottom: 0;
    }

    .future-section-desc {
        padding: 0 0 30px;
    }

    .future .main-content .gradation-title {
        font-size: 14px;
        font-weight: 500;
        padding: 1px 10px;
    }

    .future-sub-section .hero-text {
        font-size: 1rem;
        padding-bottom: 10px;
    }

    .numbered-list {
        position: relative;
        margin: 20px 0;
    }

    .numbered-list li {
        margin-bottom: 10px;
        position: relative;
    }

    .numbered-list li {
        font-weight: 700;
        position: relative;
        align-items: center;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        line-height: 1.6em;
    }

    .numbered-list li span {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #F5F3EC;
        border-radius: 4px;
        left: 0;
        top: 0;
        top: 50%;
        width: 40px;
        height: 40px;
    }

    .challenge-title {
        font-size: clamp(14px, 2vw, 20px);
        font-family: var(--en-font);
        color: #39A2E8;
        padding-bottom: 15px;
    }

    .challnege-client {
        font-size: clamp(20px, 3vw, 24px);
        padding-bottom: 10px;
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .challnege-client::after {
        content: "";
        display: block;
        position: absolute;
        width: 50%;
        height: 3px;
        background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
        bottom: 0;
        left: 0;
    }

    .challnege-client span {
        display: block;
        padding-left: 0;
        position: relative;
        font-size: 12px;
        line-height: 1.6em;
    }

    .challnege-client span::before {
        display: none;
    }

    .project-history {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        list-style: none;
        margin: 0 0 60px;
        position: relative;
    }

    .project-history::after {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('../img/introduction_img/gradation-arrow.svg');
        width: 80px;
        height: 20px;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);

    }

    .project-history>div {
        background: #fff;
        border: 1px solid #e0f2f7;
        border-radius: 12px;
        width: 100%;
        padding: 10px;
        box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .project-history>div+div::before {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('../img/introduction_img/icon-cross.svg');
        width: 40px;
        height: 40px;
        left: 50%;
        top: -50px;
        transform: translateY(0) translateX(-50%);
    }

    .project-history>div:last-child {
        position: relative;
        margin-left: 0;
        margin-top: 60px;
    }

    .project-history>div .box-title {
        background: linear-gradient(90deg, #ffeaec 0%, #e6fbff 100%);
        border-radius: 8px;
        padding: 10px;
        text-align: center;
    }

    .project-history>div .box-title p {
        margin: 0;
        color: #39A2E8;
        font-weight: 500;
        font-size: 1rem;
        line-height: 1.3em;
    }

    .project-history>div .text-area {
        flex-grow: 1;
        display: flex;
        padding: 20px 10px;
        line-height: 1.8;
        color: #333;
        text-align: center;
    }

    .project-result {
        background: #fff;
        border: 1px solid #e0f2f7;
        border-radius: 12px;
        width: 100%;
        padding: 10px;
        box-shadow: 0 0 10px 0 rgba(69, 115, 139, 0.3);
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 0 auto;
    }

    .project-result .box-title {
        background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
        border-radius: 8px;
        padding: 10px;
        text-align: center;
    }

    .project-result .box-title p {
        margin: 0;
        color: #FFF;
        font-weight: 500;
        font-size: 1.1rem;
        line-height: 1.3em;
    }

    .project-result .text-area {
        flex-grow: 1;
        display: flex;
        padding: 20px 10px;
        line-height: 1.8;
        color: #333;
        text-align: center;
    }

    .point-box {
        display: flex;
        flex-wrap: wrap;
        border-radius: 8px;
        background: #FFF;
        box-shadow: 0 0 10px 0 rgba(0, 61, 128, 0.25);
        overflow: hidden;
        margin: 40px auto 0;
    }

    .point-box .box-title {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: linear-gradient(120deg, #ffeaec 0%, #e6fbff 100%);
    }

    .point-box .box-title p {
        color: #39A2E8;
        font-size: 18px;
        font-family: var(--en-font);
        padding-left: 30px;
        position: relative;
    }

    .point-box .box-title p::before {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('../img/introduction_img/point-finger.svg');
        width: 20px;
        height: 35px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .point-box .text-area {
        width: 100%;
        padding: 20px 20px;
    }

    .future-sub-section__title {
        font-size: min(4.4vw, 16px);
        color: #003D80;
        padding-bottom: 10px;
    }
}