/* ===============================================================
    トップ Message
=============================================================== */

.aboutLan {
    position: relative;
    width: 100%;
    margin: 0 auto 60px;
}

.aboutLan__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
}

.aboutLan__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    margin-bottom: 40px;
}

.aboutLan__img {
    width: 51%;
    max-width: 480px;
}

.aboutLan__img img {
    width: 100%;
}

.aboutLan__desc {    
    width: 48%;
    max-width: 446px;
}

.aboutLan__desc p {    
    text-align: left;
    line-height: 2.2;
}

/* movie */
.aboutLan__movie > .pageSection__title {
    margin-bottom: 0.54em;
    font-size: var(--font-size-title-xl);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: var(--color-text-accent);
} 

.aboutLan__movie {
    width: 100%;
    margin: 0 auto;

}

.aboutLan__movie video {
    width: 100%;

}
/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {

    .aboutLan {
        position: relative;
        width: 100%;
        margin: 0 auto 40px;
    }

    .aboutLan__content {
        flex-direction: column;
        gap: 8px;
        margin-bottom: calc(30px - 1.75em) ;
    }

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

    .aboutLan__desc {    
        width: 100%;
        max-width: initial;
    }

    .aboutLan__desc p {    
        line-height: 1.75;
    }
}


/* ===============================================================
    Lan-bridgeの5つの強み
=============================================================== */
.features {
    margin: 0 auto;
    padding: 60px 0;
    background-color: var(--color-bg-surface);
}

.features__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.features__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 30px;
    row-gap: 60px;
    max-width: 1000px;
    margin: 75px auto 0;
}

.features__item {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 30%;
    max-width: 290px;
    text-align: center;
    border-radius: 16px;
    background-color: var(--color-bg-white);
    position: relative;
    padding: 48px 24px 30px;
}

.features__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    z-index: 99;
}

.features__number {
    position: absolute;
    top: -35px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    font-size: var(--font-size-title-xl);
    font-weight: 700;
    line-height: 70px;
    color: var(--color-text-highlight);
    background-color: var(--color-bg-white);
    border-radius: 50%;

}

.features__icon {
    height: 75px;
    object-fit: contain;
    margin-bottom: 24px;
}

.features__title {
    height: 54px;
    font-size: var(--font-size-title-s);
    line-height: 1.45;
    color: var(--color-text-accent);
    margin: 0 0 20px 0;
}

.features__desc {
    text-align: left;
}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    .features {
        padding: 40px 0;
    }

    .features__list {
        margin: 45px auto 0;
        gap: 50px;
    }

    .features__item {
        width: 100%;
        max-width: 500px;
        padding: 18px 16px 16px;
    }

    .features__number {
        width: 56px;
        height: 56px;
        top: -28px;
        line-height: 56px;
        z-index: 9;

    }
    .features__title {
        height: initial;
        font-size: var(--font-size-title-s);
        line-height: 1.45;
        color: var(--color-text-accent);
        margin: 0 0 10px 0;
    }

    .features__icon {
        height: 50px;
        margin-bottom: 10px;
    }

    .features__desc {
        padding-bottom: 0;
    }

}


/* ===============================================================
    主な4つのサービス
=============================================================== */
.services {
    padding: 60px 20px;
}

.services__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.services__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.services__list {
}

.services__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.services__item.flex-reverce {
    flex-direction: row-reverse;
}

.services__img {
    width: 100%;
    max-width: 410px;
    flex: 2;
    z-index: 9;
}

.services__img img {
    width: 100%;
    max-width: 410px;
    flex: 1;
    border-radius: 16px;
}

.services__desc {
    position: relative;
    min-height: 200px;
    margin-top: 58px;
    padding: 40px 40px 40px 0;
    background-color: transparent;
    z-index: 1;
}

.services__item.flex-reverce > .services__desc {
    padding: 40px 0 40px 30px;
}

/* 背景をはみ出させるボックス */
.services__desc::before {
    content: "";
    position: absolute;
    top:0;
    right: 0;
    width: 120%;
    height: 100%;
    background-color: var(--color-bg-surface);
    z-index: -9;
}

.services__item.flex-reverce > .services__desc::before {
    left: 0;
}

/* 中の要素のデザイン */
.services__desc__number.pc {
    display: block;
    position: absolute;
    top: -26px;
    left: 0;
    font-size: var(--font-size-title-xl);
    font-weight: 700;
    color: var(--color-text-highlight);
}

.services__desc__number.sp {
    display: none;
}

.services__item.flex-reverce > .services__desc > .services__desc__number {
    left: 30px;
    right: initial;
}

.services__desc__title {
    padding-top: 0;
    padding-bottom: 10px;
    font-size: var(--font-size-title-s);
    font-weight: 700;
    color: var(--color-text-accent);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .services {
        padding: 40px 24px;
    }
    .services__item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .services__item.flex-reverce {
        flex-direction: column;
    }
    .services__item:last-child {
        margin-bottom: 0;

    }
    
    .services__item.flex-reverce > .services__desc {
        padding: 50px 16px 16px;
    }

    .services__img,
    .services__desc {
        width: 100%;
    }

    .services__desc {
        max-width: 500px;
        margin-top: -50px;
        padding: 50px 24px 24px;
        min-height: initial;
    }

    .services__desc::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .services__desc__number {
        margin: 0 auto;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }

    /* 中の要素のデザイン */
    .services__desc__number.pc {
        display: none;
        position: absolute;
        top: -26px;
        left: 0;
        font-size: var(--font-size-title-xl);
        font-weight: 700;
        color: var(--color-text-highlight);
    }

    .services__desc__number.sp {
        display: block;
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        font-size: var(--font-size-title-xl);
        font-weight: 700;
        color: var(--color-text-highlight);
    }

    .services__desc__title {
        padding-top: 0;
        padding-bottom: 8px;
        line-height: 1.5;
    }
    .services__desc__list.list--dot-blue li {
        position: relative;
        margin-bottom: 0.2em;
        padding-left: 1em;
        line-height: 1.5;
    }
}



/* ===============================================================
    対応分野（抜粋）
=============================================================== */
.fields {
    padding: 60px 20px;
    background-color: var(--color-bg-surface);
}

.fields__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.fields__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 各アイテム共通 */
.fields__item {
    display: flex;
    align-items: center;
    gap: 30px;
    align-items: center;
    position: relative;
    width: 67.6%;
    max-width: 676px; 
    padding: 28px clamp(20px, 3.472222222vw, 50px);
    background-color: var(--color-bg-white);
    border-radius: 16px;
}

/* 交互に左右寄せ */
.fields__item:nth-child(odd) {
    margin-right: auto;
}

.fields__item:nth-child(even) {
    margin-left: auto;
}

/* アイコン固定サイズ */
.fields__item-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.fields__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 番号（薄いグレー） */
.fields__item-number {
    position: absolute;
    right: 50px;
    bottom: 0;
    font-size: var(--font-size-title-xxxl);
    font-weight: 700;
    color: rgba(189, 189, 189, 0.2);
}

/* テキスト */
.fields__item-title {
    font-size: var(--font-size-title-s);
    color: var(--color-text-accent);
    line-height: 1.45;
    margin-bottom: 0.5em;
}

.fields__item-desc {
    padding-bottom: 0;
    line-height: 1.75;    
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .fields {
        padding: 40px 24px 60px;
    }

    .fields__list {
        gap: 20px;
    }

    .fields__item {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 500px;
        height: auto;
        padding: 16px;
        text-align: center;
    }


    .fields__item:nth-child(even),
    .fields__item:nth-child(odd) {
        margin: 0 auto;
    }

    .fields__item-icon {
        height: 40px;
    }

    .fields__item-title {
        margin-bottom: 0.2em;
    }

    .fields__item-desc {
        text-align: left;
    }

    .fields__item-number {
        right: 10px;
        bottom: -10px;
        font-size: 3rem;
    }
}
