:root {
    --brand-main-color-dark: #0b4271;
    --brand-main-color-normal: #4169e1;
    --brand-main-color-light: #5f96d9;
}

main .container-980 {
    max-width: 980px;
    margin: 0 auto;
}

.lp-kv>img {
    width: 100%;
}

.lp-head2 {
    display: flex;
    margin-bottom: 2.5rem;
    font-size: 22px;
    align-items: center;
    font-weight: 700;
}

.lp-head2::before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    flex: 0 0 3rem;
    border-inline: 1rem solid var(--brand-main-color-dark);
    background-color: var(--brand-main-color-light);
}

.lp-head2>span {
    flex: 0 0 auto;
    padding-inline: .4rem;
}

.lp-head2::after {
    content: '';
    display: block;
    flex: 1 1 0;
    height: 1px;
    background-color: #000;
}

.lp-btn {
    border-radius: 0;
    background-color: var(--brand-main-color-light);
    color: #fff;
    font-weight: 700;
}

.lp-btn:hover {
    background-color: var(--brand-main-color-dark);
    color: #fff;
}

.plan-box {
    display: grid;
    gap: 15px;
    /* 任意の余白 */
}

/* #region plan-box */
/* 各要素にエリア名を定義 */
.plan-box__info img {
    width: 100%;
}

.plan-box__info--digital {
    grid-area: info-digi;
}

.plan-box__info--digital-with-paper {
    grid-area: info-with;
}

.plan-box__info--paper {
    grid-area: info-paper;
    max-width: 50vw;
    margin-inline: auto;
}

.plan-box__btn--digital {
    grid-area: btn-digi;
}

.plan-box__btn--paper {
    grid-area: btn-paper;
}

/* --- PC版のレイアウト --- */
.plan-box {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    /* 3カラム */
    grid-template-areas:
        "info-digi info-with info-paper"
        "btn-digi  btn-digi  btn-paper";
    /* 左2つが同じボタンエリアなら重ねるか分割 */
}

/* --- SP版のレイアウト (デフォルト) --- */
@media (max-width: 767px) {
    .plan-box {
        grid-template-columns: 1fr 1fr;
        /* 2カラム */
        grid-template-areas:
            "info-digi  info-with"
            "btn-digi   btn-digi"
            /* ボタンを2列分つなげる場合 */
            "info-paper info-paper"
            /* 紙あり情報を全幅に */
            "btn-paper  btn-paper";
        /* 紙ありボタンを全幅に */
    }

    /* ボタンや画像を全幅で見せたい場合の調整 */
    .plan-box__btn--digital {
        text-align: center;
    }
}

/* #endregion plan-box */

/* #region digital-info */
.lp-digital-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp-digital-info img {
    display: block;
    width: 100%;
    height: auto;
}

.lp-digital-info__pricing {
    flex: 1 1 58%;
}

.lp-digital-info__ss {
    flex: 1 1 42%;
}

@media (max-width: 767px) {
    .lp-digital-info {
        flex-direction: column;
    }
    .lp-digital-info__pricing {
        flex: 1 1 100%;
    }

    .lp-digital-info__ss {
        flex: 1 1 100%;
    }
}

/* #endregion digital-info */

/* #region digital-features */
.lp-digital-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1.25px solid #e4e4e4;
    margin-top: 30px;
}

.lp-digital-features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12.5px 25px;
    gap: 30px;
    min-height: 200px;
}

/* 奇数 */
.lp-digital-features__item:nth-child(odd) {
    background-color: rgba(95, 150, 217, 0.1);
}

.lp-digital-features__number {
    display: flex;
    padding-bottom: 6.25px;
    font-weight: 700;
    font-size: 35px;
    color: var(--brand-main-color-dark);
    text-align: center;
    font-family: 'Noto Sans JP', 'Noto Sans', 'Roboto', sans-serif;
    border-bottom: 3.75px solid var(--brand-main-color-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-digital-features__text {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.8;
    color: #000;
    text-align: center;
}

.lp-digital-features__text p {
    margin: 0;
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .lp-digital-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-digital-features__item:nth-child(3) {
        background-color: transparent;
    }
    .lp-digital-features__item:nth-child(4) {
        background-color: rgba(95, 150, 217, 0.1);
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    .lp-digital-features__item {
        min-height: 180px;
        padding: 15px 0;
    }
    
    .lp-digital-features__number {
        font-size: 28px;
    }
    
    .lp-digital-features__text {
        font-size: 16px;
    }
}

/* #endregion digital-features */

/* #region content-list */
.lp-content-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lp-content-list__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 900px;
    max-width: 100%;
    padding: 0 40px;
}

.lp-content-list__item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.lp-content-list__category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100px;
    flex-shrink: 0;
    padding-bottom: 5px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8;
    color: var(--brand-main-color-dark);
    text-align: center;
    white-space: nowrap;
}

.lp-content-list__description {
    flex: 1 0 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.lp-content-list__divider {
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
    margin: 0;
}

@media (max-width: 767px) {
    .lp-content-list__container {
        padding: 0 1rem;
    }
}
/* #endregion content-list */

/* #region features */
.lp-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
}

.lp-features__container {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 980px;
    max-width: 100%;
}

.lp-features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 260px;
    flex-shrink: 0;
}

.lp-features__icon {
    position: relative;
    width: 181.5px;
    height: 181.5px;
    flex-shrink: 0;
}

.lp-features__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lp-features__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.lp-features__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.8;
    color: var(--brand-main-color-dark);
    text-align: center;
    white-space: nowrap;
}

.lp-features__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    text-align: center;
    margin: 0;
}

.lp-features__buttons {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.lp-features__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    width: 400px;
    height: 80px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lp-features__button--primary {
    background-color: #b8860b;
    color: #fff;
}

.lp-features__button--primary:hover {
    background-color: #997209;
    color: #fff;
    text-decoration: none;
}

.lp-features__button--secondary {
    border: 1px solid #b8860b;
    background-color: transparent;
    color: #b8860b;
}

.lp-features__button--secondary:hover {
    background-color: #b8860b22;
    text-decoration: none;
}

.lp-features__button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-weight: 700;
    text-align: center;
}

.lp-features__button-subtitle {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 auto;
}

.lp-features__button-title {
    font-size: 21.6px;
    line-height: 1.5;
    margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .lp-features__buttons {
        align-items: center;
        gap: 20px;
    }
    
    .lp-features__button {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .lp-features__container {
        gap: 30px;
    }
    
    .lp-features__item {
        width: 100%;
        max-width: 260px;
    }
    
    .lp-features__icon {
        width: 150px;
        height: 150px;
    }
    
    .lp-features__title {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .lp-features__description {
        font-size: 14px;
    }
}
/* #endregion features */


.lp-paper-pricing > img {
    width: 100%;
    max-width: 524px;
}

.lp-tell > img {
    max-width: 100%;
}

.lp-border-box {
    padding: 2.5rem;
}
@media (max-width: 767px) {
    .lp-border-box {
        padding: 1.25rem;
    }
}

/* #region spacing */

.lp-mb__xl {
    margin-bottom: 6.25rem; /* 100px */
}

.lp-mb__l {
    margin-bottom: 3.125rem; /* 50px */
}
.lp-mb__m {
    margin-bottom: 1.25rem; /* 20px */
}

@media (max-width: 767px) {
    .lp-mb__xl {
        margin-bottom: 3.125rem; /* 50px */
    }

    .lp-mb__l {
        margin-bottom: 2rem; /* 32px */
    }
}
/* #endregion spacing */
