/* ========================================
   ESTIMATE PAGE
======================================== */

.l-estimatePage {
    background: #f4f4f4;
}

/* section heading */
.l-estimatePage .c-sectionHeading {
    text-align: center;
    margin-bottom: 32px;
}

.l-estimatePage .c-sectionHeading__sub {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #0f9aa0;
}

.l-estimatePage .c-sectionHeading__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.35;
    color: #111;
}

.l-estimatePage .c-sectionHeading__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 30px;
    height: 5px;
    border-radius: 999px;
    background: #0f9aa0;
    transform: translateX(-50%);
}

/* ========================================
   LARGE PANEL
======================================== */

.p-estimatePanel {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 56px 0;
    border-radius: 48px;
    background: linear-gradient(135deg, #efefef 0%, #f7f7f7 100%);
}

.p-estimatePanel--method {
    margin-top: 40px;
}

.p-estimatePanel--flow {
    margin-top: 36px;
}

.p-estimatePanel--point {
    margin-top: 36px;
}

/* ========================================
   CARD
======================================== */

.p-estimateCard {
    background: #fff;
    border-radius: 32px;
    padding: 36px 40px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .08);
}

.p-estimateCard__title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: #111;
}

/* ========================================
   METHOD TABLE
======================================== */

.p-estimateMethodCard {
    max-width: 960px;
    margin: 0 auto;
}

.p-estimateTableWrap {
    overflow-x: auto;
}

.p-estimateTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.p-estimateTable th,
.p-estimateTable td {
    padding: 20px 24px;
    border-bottom: 1px solid #e4e4e4;
    text-align: left;
    vertical-align: middle;
}

.p-estimateTable thead th {
    background: linear-gradient(90deg, #fff0a4, #ffeda0);
    font-weight: 900;
    color: #111;
}

.p-estimateTable tbody th {
    width: 26%;
    font-size: 17px;
    font-weight: 900;
    color: #111;
}

.p-estimateTable tbody td {
    color: #222;
    line-height: 1.8;
}

.p-estimateIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 50%;
    background: #0f9aa0;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    vertical-align: middle;
}

.p-estimateNote {
    position: relative;
    margin: 24px 0 0;
    padding-left: 34px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.p-estimateNote::before {
    content: "i";
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #0f9aa0;
    color: #0f9aa0;
    font-weight: 900;
    font-size: 13px;
}

/* ========================================
   FLOW
======================================== */

.p-estimateFlow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.p-estimateFlowItem {
    position: relative;
    min-height: 250px;
    padding: 42px 28px 30px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .07);
    text-align: center;
}

.p-estimateFlowItem:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -23px;
    top: 50%;
    color: #0f9aa0;
    font-size: 54px;
    font-weight: 800;
    transform: translateY(-50%);
}

.p-estimateFlowItem__num {
    position: absolute;
    left: 22px;
    top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0f9aa0;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
}

.p-estimateFlowItem__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #e7f4f4;
    color: #0f9aa0;
    font-size: 30px;
}

.p-estimateFlowItem h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
    color: #111;
}

.p-estimateFlowItem p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
    color: #222;
}

/* ========================================
   GRID
======================================== */

.p-estimateGridSection {
    max-width: 1120px;
    margin: 36px auto 0;
}

.p-estimateGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.p-estimateMiniPanel {
    padding: 42px 28px;
    border-radius: 40px;
    background: linear-gradient(135deg, #efefef 0%, #f7f7f7 100%);
}

.p-estimateMiniPanel .c-sectionHeading {
    margin-bottom: 24px;
}

.p-estimateMiniPanel .c-sectionHeading__title {
    font-size: clamp(24px, 2.4vw, 32px);
}

/* checklist */
.p-estimateCheckList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-estimateCheckList li {
    position: relative;
    padding: 15px 0 15px 34px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.p-estimateCheckList li:last-child {
    border-bottom: none;
}

.p-estimateCheckList li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 14px;
    color: #0f9aa0;
    font-weight: 900;
}

/* support */
.p-estimateSupportCard {
    display: grid;
    grid-template-columns: 1fr 150px;
    align-items: center;
    gap: 24px;
    min-height: 280px;
}

.p-estimateSupportCard h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
    color: #111;
}

.p-estimateSupportCard p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.9;
    color: #222;
}

.p-estimateTextLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f9aa0;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.p-estimateTextLink::after {
    content: "›";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0f9aa0;
    color: #fff;
}

.p-estimateSupportCard__illust {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #eef7f7;
    font-size: 72px;
}

/* ========================================
   POINT
======================================== */

.p-estimatePanel--point {
    padding: 48px 40px 52px;
}

.p-estimatePointGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto;
}

.p-estimatePointCard {
    min-height: 130px;
    padding: 26px 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .07);
}

.p-estimatePointCard h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
    white-space: nowrap;
    color: #111;
    text-align: center;
}

.p-estimatePointCard__content {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 20px;
    align-items: center;
}

.p-estimatePointCard__icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff2a8 0%, #ffe680 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #111;
}

.p-estimatePointCard p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
    color: #222;
}

/* ========================================
   ACTION
======================================== */

.p-estimateAction {
    max-width: 1120px;
    margin: 36px auto 80px;
}

.p-estimateAction__box {
    padding: 34px 40px 38px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .06);
    text-align: center;
}

.p-estimateAction__lead {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 900;
    color: #111;
}

.p-estimateAction__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

.p-estimateAction__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    border-radius: 18px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 900;
    text-decoration: none;
}

.p-estimateAction__btn span {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.p-estimateAction__btn--tel {
    border: 2px solid #0f9aa0;
    color: #0f9aa0;
    background: #fff;
}

.p-estimateAction__btn--web {
    color: #fff;
    background: linear-gradient(135deg, #0f9aa0, #007f7d);
    box-shadow: 0 14px 28px rgba(15, 154, 160, .24);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {
    .p-estimatePanel {
        margin-inline: 20px;
        padding: 40px 0;
        border-radius: 34px;
    }

    .p-estimateFlow,
    .p-estimateGrid,
    .p-estimatePointGrid,
    .p-estimateAction__buttons {
        grid-template-columns: 1fr;
    }

    .p-estimateFlowItem:not(:last-child)::after {
        content: "↓";
        right: auto;
        left: 50%;
        top: auto;
        bottom: -34px;
        transform: translateX(-50%);
        font-size: 36px;
    }

    .p-estimateFlow {
        gap: 42px;
    }

    .p-estimateGridSection,
    .p-estimateAction {
        margin-inline: 20px;
    }

    .p-estimateSupportCard {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .p-estimateSupportCard__illust {
        margin: 0 auto;
    }

    .p-estimatePointCard {
        grid-template-columns: 64px 1fr;
    }
}

@media (max-width: 767px) {
    .p-estimatePanel {
        border-radius: 28px;
        margin-top: 28px;
    }

    .p-estimateCard {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .p-estimateTable th,
    .p-estimateTable td {
        padding: 14px 12px;
        font-size: 13px;
    }

    .p-estimateTable tbody th {
        font-size: 14px;
    }

    .p-estimateIcon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
        font-size: 10px;
    }

    .p-estimateMiniPanel {
        padding: 30px 18px;
        border-radius: 28px;
    }

    .p-estimateAction {
        margin-bottom: 56px;
    }

    .p-estimateAction__box {
        padding: 28px 20px;
        border-radius: 26px;
    }

    .p-estimateAction__btn {
        font-size: 17px;
    }
}