/* =================================
   page-cost.css
   料金ページ（page-cost.php）
================================= */

.page-cost {
    overflow-x: hidden;
}

/* =================================
   Component: ページヒーロー
================================= */
.page-hero-section {
    position: relative;
    overflow: hidden;
    background: repeating-conic-gradient(
        #ffc200 0deg 9deg,
        #ffc800 9deg 18deg
    );
}

.page-hero-section_swiper {
    width: 100%;
    max-width: 600px;
}

/* スライド共通 */
.page-hero-section_slide {
    position: relative;
    min-height: 500px;
    background-color: #f5c800;
    overflow: hidden;
}


/* スライド内レイアウト */
.page-hero-section_slide_inner {
    position: relative;
    background-color: var(--color-white);
    padding: 0 0 20px;
}
.page-hero-section_slide_inner img {
    margin: 0 auto;
}

/* ページネーション */
.page-hero-section_pagination {
    position: absolute;
    bottom: 12px !important;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.page-hero-section_pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--color-black);
    opacity: 0.3;
    margin: 0 4px;
}

.page-hero-section_pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--color-black);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-section_slide {
        min-height: 440px;
    }

    .page-hero-section_slide_inner {
        min-height: 440px;
        padding: 0;
    }

}


/* ----- 料金一覧（画像＋行） ----- */
.cost-price-section {
    padding: 30px 0 0;
}

.cost-price-section_inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

.cost-price-group {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
    scroll-margin-top: 110px;
}

.cost-price-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cost-price-group_ttl {
    font-size: 30px;
    font-weight: bold;
    color: #FFA234;
    text-align: center;
    margin: 0 0 20px;
}

.cost-price-group_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-price-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-sizing: border-box;
    scroll-margin-top: 110px;
}

.cost-price-row_thumb {
    flex-shrink: 0;
    width: 142px;
    height: 72px;
    overflow: hidden;
    background-color: #ddd;
}

.cost-price-row_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cost-price-row_body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cost-price-row_label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray);
    line-height: 1.4;
    margin: 0;
}

.cost-price-row_price_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
}

.cost-price-row_price {
    font-size: 1.05rem;
    font-weight: 900;
    color: #cb3d00;
}

.cost-price-row_unit {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-gray);
}

.cost-price-group_note {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-gray);
}

.cost-price-group_link {
    margin-top: 16px;
}

/* ================================
   工事料金：PC で 2 列表示
================================ */
@media (min-width: 768px) {
  .cost-price-group_list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列 */
    gap: 36px 30px;
  }

  .cost-price-row {
    height: 100%;
  }
}

@media (max-width: 768px) {
    .cost-price-group_ttl {
        font-size: 24px;
    }
    .cost-price-row_thumb {
        width: 102px;
    }
}


@media (min-width: 769px) {
    .page-hero-section {
        background: none !important;
    }

    .page-hero-section_swiper {
        max-width: 1280px;
        margin: 0 auto;
    }

    .page-hero-section_slide {
        min-height: auto;
        background: none;
    }

    .page-hero-section_slide_inner {
        background: #fff;
        padding: 40px;
        border-radius: 12px;
        max-width: 1280px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-hero-section_slide_inner img {
        width: 100%;
         max-width: 1500px;
        height: 700px;
        display: block;
        margin: 0 auto;
    }
}   
/* lp-service-cards（サービスカード一覧）は lp-service-cards.css（functions.php で enqueue） */
