/*===========================================================================*/
/*  price page                                                                */
/*===========================================================================*/
.p-price {
    background-color: #EEF5F8;
    padding-top: 130px;
    padding-bottom: 120px;
}

.p-price__inner {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* ---------- intro ---------- */
.p-price__intro {
    background: #fff;
    border-radius: 18px;
    padding: 44px 48px;
    box-shadow: 7px 7px 25px 0 rgba(0, 39, 105, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.p-price__intro-lead {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: .02em;
    flex: 1 1 380px;
}

.p-price__intro-points {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.p-price__intro-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #EEF5F8 0%, #fff 100%);
    border: 1px solid #D8E4EF;
    border-radius: 100vh;
}

.p-price__intro-points .--num {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
}

.p-price__intro-points .--txt {
    font-size: 14px;
    font-weight: 700;
    color: #17499D;
}

/* ---------- section heading ---------- */
.p-price__section {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.p-price__head {
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
}

.p-price__head--en {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.p-price__head--ja {
    font-size: 38px;
    font-weight: 700;
    color: #17499D;
    letter-spacing: .04em;
    line-height: 1.4;
    font-feature-settings: 'pwid' on, 'palt' on;
    position: relative;
    padding-bottom: 18px;
}

.p-price__head--ja::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2AB7EB 0%, #007DC5 100%);
}

/* ---------- block ---------- */
.p-price__block {
    background: #fff;
    border-radius: 18px;
    padding: 50px 56px;
    box-shadow: 7px 7px 25px 0 rgba(0, 39, 105, 0.05);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-price__block-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-price__block-title {
    font-size: 24px;
    font-weight: 800;
    color: #17499D;
    letter-spacing: .04em;
    line-height: 1.4;
    padding-left: 18px;
    border-left: 4px solid #24ADE0;
}

.p-price__block-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: #465265;
    padding-left: 22px;
}

/* ---------- table ---------- */
.p-price__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.p-price__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #D8E4EF;
}

.p-price__table thead th {
    background: linear-gradient(135deg, #17499D 0%, #002769 100%);
    color: #fff;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.p-price__table thead th:last-child {
    border-right: none;
}

.p-price__table tbody tr {
    transition: background-color .3s ease;
}

.p-price__table tbody tr:nth-child(even) {
    background: #F6FAFD;
}

.p-price__table tbody tr:hover {
    background: #EEF5F8;
}

.p-price__table tbody td {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid #E9EDF3;
    border-right: 1px solid #E9EDF3;
    color: #2D3748;
}

.p-price__table tbody td:last-child {
    border-right: none;
}

.p-price__table tbody td.--price {
    color: #17499D;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
}

/* ---------- pack plan ---------- */
.p-price__packs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.p-price__pack {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #D8E4EF;
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.p-price__pack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2AB7EB 0%, #007DC5 100%);
}

.p-price__pack.--m::before {
    background: linear-gradient(90deg, #17499D 0%, #002769 100%);
}

.p-price__pack.--l::before {
    background: linear-gradient(90deg, #FFB100 0%, #FF7A00 100%);
}

.p-price__pack-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 6px;
}

.p-price__pack-label {
    font-size: 28px;
    font-weight: 800;
    color: #17499D;
    letter-spacing: .04em;
    line-height: 1;
}

.p-price__pack.--m .p-price__pack-label { color: #002769; }
.p-price__pack.--l .p-price__pack-label { color: #FF7A00; }

.p-price__pack-truck {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100vh;
    background: #EEF5F8;
    color: #17499D;
}

.p-price__pack-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #D8E4EF;
}

.p-price__pack-price .--num {
    font-size: 44px;
    font-weight: 700;
    color: #17499D;
    line-height: 1;
    letter-spacing: .02em;
}

.p-price__pack-price .--yen {
    font-size: 16px;
    font-weight: 700;
    color: #17499D;
}

.p-price__pack-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-price__pack-meta > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
}

.p-price__pack-meta dt {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #17499D;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    letter-spacing: .04em;
}

.p-price__pack-meta dd {
    font-size: 14px;
    font-weight: 600;
    color: #2D3748;
    line-height: 1.5;
}

.p-price__pack-items {
    background: #F6FAFD;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.p-price__pack-items .--label {
    font-size: 12px;
    font-weight: 700;
    color: #17499D;
    letter-spacing: .04em;
}

.p-price__pack-items .--list {
    font-size: 13px;
    line-height: 1.65;
    color: #465265;
}

/* ---------- simple items list (dl) ---------- */
.p-price__items {
    border-top: 1px solid #E9EDF3;
}

.p-price__items-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 8px;
    border-bottom: 1px solid #E9EDF3;
}

.p-price__items-row dt {
    font-size: 15px;
    font-weight: 600;
    color: #2D3748;
}

.p-price__items-row dd {
    font-size: 15px;
    font-weight: 800;
    color: #17499D;
    white-space: nowrap;
    letter-spacing: .02em;
}

/* ---------- notes ---------- */
.p-price__notes {
    background: #FFF8E6;
    border: 1px solid #FFE7A8;
    border-radius: 14px;
    padding: 24px 32px;
}

.p-price__notes-title {
    font-size: 16px;
    font-weight: 800;
    color: #B46A00;
    margin-bottom: 12px;
    letter-spacing: .04em;
}

.p-price__notes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-price__notes-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #5C4400;
}

.p-price__notes-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFB100;
}

/* ---------- included services ---------- */
.p-price__included {
    background: linear-gradient(135deg, #17499D 0%, #002769 100%);
    border-radius: 18px;
    padding: 48px 56px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.p-price__included-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .04em;
    position: relative;
    padding-bottom: 16px;
}

.p-price__included-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #24ADE0;
    border-radius: 3px;
}

.p-price__included-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.p-price__included-list li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 22px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.p-price__included-list .--icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    color: #24ADE0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.p-price__included-list .--icon i {
    font-size: 24px;
    line-height: 1;
}

.p-price__included-list .--label {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .04em;
}

.p-price__included-note {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- category nav ---------- */
.p-price__nav {
    background: #fff;
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: 0 4px 12px rgba(0, 39, 105, 0.04);
    position: sticky;
    top: 80px;
    z-index: 5;
}

.p-price__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.p-price__nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 100vh;
    background: #F6FAFD;
    border: 1px solid #D8E4EF;
    font-size: 14px;
    font-weight: 700;
    color: #17499D;
    letter-spacing: .04em;
    transition: all .3s ease;
}

@media (min-width: 901px) {
    .p-price__nav a:hover {
        background: linear-gradient(135deg, #2AB7EB 0%, #007DC5 100%);
        color: #fff;
        border-color: transparent;
    }
}

/* ---------- category section ---------- */
.p-price__category {
    background: #fff;
    border-radius: 18px;
    padding: 40px 48px;
    box-shadow: 7px 7px 25px 0 rgba(0, 39, 105, 0.05);
    scroll-margin-top: 100px;
}

.p-price__category + .p-price__category {
    margin-top: 24px;
}

.p-price__category-title {
    font-size: 22px;
    font-weight: 800;
    color: #17499D;
    letter-spacing: .04em;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #EEF5F8;
    position: relative;
}

.p-price__category-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2AB7EB 0%, #007DC5 100%);
}

.p-price__category .p-price__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    border-top: none;
}

.p-price__category .p-price__items-row {
    padding: 14px 4px;
}

/* ---------- bottom notice ---------- */
.p-price__notice {
    margin-top: 36px;
    background: #fff;
    border-radius: 14px;
    padding: 22px 32px;
    border: 1px dashed #BFD4EA;
    font-size: 14px;
    line-height: 1.85;
    color: #465265;
}

.p-price__notice .--label {
    display: inline-block;
    padding: 4px 12px;
    margin-right: 12px;
    background: #EEF5F8;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    vertical-align: middle;
}

/* ---------- simulator cta ---------- */
.p-price__simulator-cta {
    background: linear-gradient(135deg, #17499D 0%, #002769 100%);
    border-radius: 18px;
    padding: 40px 48px;
    color: #fff;
    text-align: center;
    box-shadow: 7px 7px 25px 0 rgba(0, 39, 105, 0.08);
}

.p-price__simulator-cta-en {
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8EDBFF;
}

.p-price__simulator-cta-title {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .04em;
}

.p-price__simulator-cta-text {
    margin-top: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.p-price__simulator-cta-btn {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2AB7EB 0%, #007DC5 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 0 26px;
}

/* ===========================================================================*/
/*  SP                                                                        */
/* ===========================================================================*/
@media screen and (max-width: 900px) {
    .p-price {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .p-price__inner {
        gap: 60px;
    }

    .p-price__intro {
        padding: 24px 20px;
        gap: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .p-price__intro-lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .p-price__intro-points {
        gap: 8px;
        justify-content: center;
    }

    .p-price__intro-points li {
        padding: 8px 14px;
        gap: 6px;
    }

    .p-price__intro-points .--num {
        font-size: 16px;
    }

    .p-price__intro-points .--txt {
        font-size: 12px;
    }

    .p-price__section {
        gap: 32px;
    }

    .p-price__head--en {
        font-size: 13px;
    }

    .p-price__head--ja {
        font-size: 26px;
        padding-bottom: 12px;
    }

    .p-price__block {
        padding: 28px 20px;
        gap: 20px;
    }

    .p-price__block-title {
        font-size: 18px;
        padding-left: 12px;
        border-left-width: 3px;
    }

    .p-price__block-text {
        font-size: 13px;
        line-height: 1.7;
        padding-left: 0;
    }

    /* Stacked card-style table on SP */
    .p-price__table {
        display: block;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .p-price__table thead {
        display: none;
    }

    .p-price__table tbody,
    .p-price__table tr {
        display: block;
    }

    .p-price__table tbody tr {
        background: #F6FAFD !important;
        border: 1px solid #D8E4EF;
        border-radius: 10px;
        padding: 8px 14px;
        margin-bottom: 12px;
    }

    .p-price__table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        text-align: left;
        font-size: 14px;
        border: none;
        border-bottom: 1px dashed #E9EDF3;
    }

    .p-price__table tbody td:last-child {
        border-bottom: none;
    }

    .p-price__table tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        color: #17499D;
        letter-spacing: .04em;
    }

    .p-price__table tbody td.--price {
        font-size: 16px;
    }

    .p-price__packs {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .p-price__pack {
        padding: 22px 18px 24px;
    }

    .p-price__pack-label {
        font-size: 24px;
    }

    .p-price__pack-price .--num {
        font-size: 36px;
    }

    .p-price__pack-meta > div {
        grid-template-columns: 76px 1fr;
        gap: 10px;
    }

    .p-price__items-row {
        padding: 14px 4px;
        gap: 10px;
    }

    .p-price__items-row dt {
        font-size: 14px;
    }

    .p-price__items-row dd {
        font-size: 14px;
    }

    .p-price__notes {
        padding: 18px 18px;
    }

    .p-price__notes-title {
        font-size: 14px;
    }

    .p-price__notes-list li {
        font-size: 13px;
    }

    .p-price__included {
        padding: 28px 20px;
        gap: 20px;
    }

    .p-price__included-title {
        font-size: 18px;
    }

    .p-price__included-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .p-price__included-list li {
        padding: 14px 8px;
        gap: 8px;
    }

    .p-price__included-list .--icon {
        width: 40px;
        height: 40px;
    }

    .p-price__included-list .--icon i {
        font-size: 18px;
    }

    .p-price__included-list .--label {
        font-size: 12px;
    }

    .p-price__included-note {
        font-size: 13px;
    }

    .p-price__nav {
        padding: 12px 14px;
        position: static;
    }

    .p-price__nav ul {
        gap: 6px;
    }

    .p-price__nav a {
        padding: 7px 14px;
        font-size: 12px;
    }

    .p-price__category {
        padding: 26px 20px;
        scroll-margin-top: 20px;
    }

    .p-price__category-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .p-price__category .p-price__items {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .p-price__category .p-price__items-row {
        padding: 12px 0;
    }

    .p-price__notice {
        padding: 18px 18px;
        font-size: 13px;
        line-height: 1.7;
    }

    .p-price__notice .--label {
        display: inline-block;
        margin-bottom: 6px;
    }

    .p-price__simulator-cta {
        padding: 28px 20px;
    }

    .p-price__simulator-cta-title {
        font-size: 22px;
    }

    .p-price__simulator-cta-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .p-price__simulator-cta-btn {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 14px;
    }
}
