@charset "utf-8";

/* ========================================
   サービスページ ヒーロー（wall.html 等）
   左：テキスト / 右：画像の2カラムレイアウト
   ======================================== */
.p-service-hero--space {
    margin:5rem auto 0;
    max-width: 88rem;
}
.p-service-hero figure {
    text-align: center;
}

.p-service-hero figure img {
    width: 100%;
    max-width: 30rem;
    height: auto;
    object-fit: contain;
}

.p-service-hero__img {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 0 auto 3rem;
}

.p-service-hero__img .txt {
    flex: 1 1 55%;
}

.p-service-hero__img figure {
    flex: 1 1 45%;
    margin: 0;
}

.p-service-hero__img figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .p-service-hero__img {
        flex-direction: column;
        gap: 1.5rem;
    }
    .p-service-hero__img .txt h2 {
        font-size: 2rem;
    }
}

.p-service-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 6rem;
}

.p-service-hero__features section {
    width: 48%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto;
    border-radius: 2rem;
}

@media screen and (max-width: 600px) {
    .p-service-hero__features section {
        width: 96%;
    }
}

/* ========================================
   外壁塗装の必要性 — インフォグラフィック（wall.html）
   ======================================== */
.p-service-reason {
    position: relative;
    counter-reset: reason-step;
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--color-subtlebg) 0%, transparent 12%, transparent 88%, var(--color-subtlebg) 100%);
    border-radius: 1.6rem;
}

.p-service-reason h2 {
    text-align: center;
    margin-bottom: 1.6rem;
}

.p-service-reason h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.p-service-reason>p:first-of-type {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto 4rem;
    line-height: 1.8;
    color: var(--color-txt);
}

.p-service-reason>section {
    position: relative;
    counter-increment: reason-step;
    margin: 0 auto 3rem;
    padding: 2.4rem 2.4rem 2.4rem 9rem;
    max-width: 72rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 1.2rem;
    border-left: 4px solid var(--color-accent);
}

.p-service-reason>section:last-of-type {
    margin-bottom: 0;
}

/* タイムラインの縦線（1本目・2本目のセクションから下へ） */
.p-service-reason>section::after {
    content: "";
    position: absolute;
    left: 3.9rem;
    top: 5.6rem;
    bottom: -3rem;
    width: 2px;
    background: var(--color-accent);
    opacity: 0.35;
    z-index: 0;
}

.p-service-reason>section:last-of-type::after {
    display: none;
}

/* 番号サークル */
.p-service-reason>section::before {
    content: counter(reason-step);
    position: absolute;
    left: 2rem;
    top: 2.4rem;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 4.4rem;
    text-align: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 184, 159, 0.35);
}

.p-service-reason>section h3 {
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    font-size: 2rem;
    color: var(--color-txt);
}

.p-service-reason>section h3::after {
    display: none;
}

.p-service-reason>section p {
    margin: 0;
}

/* 末尾のまとめ段落 */
.p-service-reason>p:last-of-type {
    text-align: center;
    max-width: 64rem;
    margin: 3rem auto 0;
    padding: 2rem 2.4rem;
    line-height: 1.85;
    color: var(--color-txt);
    border-radius: 1rem;
}

@media screen and (max-width: 600px) {
    .p-service-reason {
        padding: 2.4rem 1.6rem;
    }
    .p-service-reason>section {
        padding-left: 2.4rem;
        padding-top: 6rem;
        margin-left: 1.6rem;
        margin-right: 1.6rem;
        max-width: none;
    }

    .p-service-reason>section::before {
        left: 50%;
        top: 0.8rem;
        transform: translateX(-50%);
    }

    .p-service-reason>section::after {
        content:none;
    }

    .p-service-reason>section h3 {
        text-align: center;
    }
}

/* ========================================
   屋根カバー工法のメリット（cover.html）— STEP形式・点線タイムライン
   ======================================== */
.p-service-merits {
    position: relative;
    counter-reset: merits-step;
    margin-top: 4rem;
    padding: 4rem 0;
    background: #fff;
    border-radius: 1.6rem;
}

.p-service-merits h2 {
    text-align: center;
    margin-bottom: 2.4rem;
}

.p-service-merits h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.p-service-merits>section {
    position: relative;
    counter-increment: merits-step;
    margin: 0 auto 4rem;
    padding: 0 2.4rem 2.4rem 10rem;
    max-width: 72rem;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    border-left: none;
}

.p-service-merits>section:last-of-type {
    margin-bottom: 0;
}

/* 点線の縦ライン（円の中心を貫く） */
.p-service-merits>section::after {
    content: "";
    position: absolute;
    left: 4.4rem;
    top: 5.8rem;
    bottom: -4rem;
    width: 0;
    border-left: 2px dotted rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.p-service-merits>section:last-of-type::after {
    display: none;
}

/* STEP 01 形式の円バッジ */
.p-service-merits>section::before {
    content: counter(merits-step);
    position: absolute;
    left: 2rem;
    top: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 3.0rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 184, 159, 0.35);
}

.p-service-merits>section h3 {
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    font-size: 2.2rem;
    font-weight: bold;
}

.p-service-merits>section h3::after {
    display: none;
}

.p-service-merits>section p {
    margin: 0;
    line-height: 1.8;
    color: var(--color-txt);
}

@media screen and (max-width: 767px) {
    .p-service-merits {
        padding: 2.4rem 1.6rem;
    }

    .p-service-merits>section {
        padding-left: 2.4rem;
        padding-top: 7rem;
        margin-left: 1.6rem;
        margin-right: 1.6rem;
        max-width: none;
        margin-bottom: 3rem;
    }

    .p-service-merits>section::before {
        left: 50%;
        top: 1.6rem;
        transform: translateX(-50%);
        width: 5rem;
        height: 5rem;
    }

    .p-service-merits>section::after {
        left: 50%;
        transform: translateX(-50%);
        top: 5.2rem;
    }

    .p-service-merits>section h3 {
        text-align: center;
    }
}

/* ========================================
   雨漏りページ — NGリスト（やってはいけない被害）
   ======================================== */
.listing--ng {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
}

.listing--ng li {
    width: 31.3333%;
    margin: 0 1% 3%;
    position: relative;
    margin-bottom: 1.0rem;
    line-height: 1.6;
    border: 1px solid #eee;
    padding: 1rem 0 1rem 5rem;
}

.listing--ng li::before {
    content: "×";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    background: #666;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================
   外壁塗装をするタイミング — 画像グリッド（wall.html）
   ======================================== */
.p-service-timing>div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.4rem;
}

.p-service-timing>div figure {
    margin: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0.8rem;
    overflow: hidden;
}

.p-service-timing>div img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 400;
    object-fit: cover;
}

.p-service-timing>div figcaption {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--color-txt);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 767px) {
    .p-service-timing>div {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1.6rem;
    }

    .p-service-timing>div figcaption {
        padding: 0.8rem;
        font-size: 1.3rem;
    }
}

/* ========================================
   坪数別外壁塗装費用（kwp.html）レスポンシブ
   ======================================== */
div.p-narrow {
    max-width: 100rem;
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   企業理念（philosophy）— 斜め柄エリア
   ======================================== */
.p-philosophy {
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
}

.p-philosophy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--color-accent);
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0,
            transparent 5px,
            rgba(0, 0, 0, 0.08) 5px,
            rgba(0, 0, 0, 0.08) 6px),
        repeating-linear-gradient(90deg,
            transparent 0,
            transparent 5px,
            rgba(0, 0, 0, 0.08) 5px,
            rgba(0, 0, 0, 0.08) 6px);
    background-size: 6px 6px;
    clip-path: polygon(62% 0, 100% 0, 80% 100%, 42% 100%);
}

.p-philosophy section {
    position: relative;
    z-index: 1;
    margin-top: 6rem;
}

.p-philosophy h2 {
    border: none;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: 0;
    color: var(--color-accent);
}

.p-philosophy h2::after {
    content: none;
}

.p-philosophy p {
    font-size: 3.0rem;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.p-philosophy__mvv>section>section {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 1rem;
}

.p-philosophy__mvv>section>section h3+section {
    margin-top: 0;
}

.p-philosophy__mvv h2 {
    text-align: center;
    font-size: 3.6rem;
}

.p-philosophy__mvv h2 span {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-txt);
    display: block;
    padding-top: 1rem;
}

.p-philosophy__mvv h3 {
    border: none;
    font-size: 2.2rem;
    margin-bottom: 0;
    color: var(--color-accent);
    padding-left: 0;
}

.p-philosophy__mvv h3 span {
    font-size: 1.4rem;
    display: block;
    color: var(--color-txt);
    padding: 0.4rem 0 1rem;
    margin-bottom: 0;
}

.p-philosophy__mvv h3::after {
    content: none;
}

.p-philosophy__mvv p {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.6;
    width: 50%;
    max-width: 50rem;
    margin: 0 0 0 auto;
}

.p-philosophy__mvv h4 {
    width: 50%;
    max-width: 50rem;
    margin: 0 0 1rem auto;
    padding: 0;
    border: none;
}

.p-philosophy__mvv h4+p {
    opacity: 0.6;
    font-size: 1.8rem;
}

.p-philosophy__management h2 {
    text-align: center;
    font-size: 3.6rem;
}

.p-philosophy__management h2 span {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-txt);
    display: block;
    padding-top: 1rem;
}

.p-philosophy__management p {
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.6;
}

.p-philosophy__management p strong {
    font-size: 2.8rem;
}

.p-philosophy__management p mark {
    font-size: 2.8rem;
}

@media screen and (max-width: 600px) {
    .p-philosophy::before {
        clip-path: polygon(80% 0, 100% 0, 80% 100%, 60% 100%);
    }

    .p-philosophy p {
        font-size: 2.4rem;
    }

    .p-philosophy__mvv p {
        width: 80%;
    }

    .p-philosophy__mvv h4 {
        width: 80%;
    }

    .p-philosophy__management p {
        font-size: 1.6rem;
    }

    .p-philosophy__management p strong {
        font-size: 2.2rem;
    }
}

/* ========================================
   社会貢献・SDGsページ - SDGsとの関連リスト
   ======================================== */
.p-sdgs-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.p-sdgs-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--color-sub);
    border-radius: 8px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--color-txt);
}

.p-sdgs-list li img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.2rem;
}

@media screen and (max-width: 767px) {
    .p-sdgs-list ul {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .p-sdgs-list li {
        padding: 1.5rem 1.2rem;
    }

    .p-sdgs-list li img {
        width: 100px;
        height: 100px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-sdgs-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   社会貢献・SDGsページ - 活動内容（3本柱）
   ======================================== */
.p-activity-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
}

.p-activity-list section {
    width: 31.3333%;
    margin: 0 1%;
    padding: 2rem 1.5rem;
    background: var(--color-sub);
    border-radius: 8px;
}

.p-activity-list section div {
    text-align: center;
}

.p-activity-list section div img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.p-activity-list section h3 {
    font-size: 2.4rem;
    margin: 1.0rem 0 2.0rem;
    border-left: none;
    text-align: center;
}
.p-activity-list section h3::after{
    content:none;
}

.p-activity-list section p {
    line-height: 1.6;
}

@media screen and (max-width: 1025px) {
    .p-activity-list section {
        width: 48%;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .p-activity-list {
        margin: 0;
    }

    .p-activity-list section {
        width: 100%;
        margin: 0 0 1.5rem 0;
        padding: 1.5rem 1.2rem;
    }

    .p-activity-list section div img {
        max-width: 160px;
    }

    .p-activity-list section h3 {
        font-size: 2rem;
        margin: 0.8rem 0;
    }
}

/* ========================================
   会社概要・ご挨拶（company/greeting）沿革年表
   ======================================== */
.p-history-timeline {
    display: flex;
    flex-wrap: wrap;
    border-left: 2px solid var(--color-accent);
}

.p-history-timeline dt {
    padding: 1rem 0;
    line-height: 1.6;
    font-size: 1.8rem;
    position: relative;
    padding-left: 1rem;
    width: 20rem;
}

.p-history-timeline dt::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 54%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
}

.p-history-timeline dd {
    width: calc(100% - 20rem);
    padding: 1rem 0;
    line-height: 1.6;
    font-size: 1.8rem;
    overflow-wrap: break-word;
}

@media screen and (max-width: 600px) {
    .p-history-timeline {
        display: block;
        padding-left: 0;
        border-left: none;
        margin-left: 0;
    }
    .p-history-timeline dt {
        left: 0;
        padding-left: 2rem;
        padding-bottom: 0;
        border-bottom: none;
        width: 100%;
    }

    .p-history-timeline dt::before {
        /* content: none; */
        left:2px;
        top:60%;
        transform: translateY(-50%);

    }

    .p-history-timeline dd {
        padding: 0.2rem 0 1rem;
        width: 100%;
    }
}

/* ========================================
   選ばれる理由（reason）— top-05 同様の見栄え
   ======================================== */
.p-reason {
    counter-reset: reason;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url(/images/img/top_12.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0 4rem;
}

.p-reason section {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.p-reason section .txt {
    width: 58%;
}

.p-reason section .img {
    width: 40%;
    margin-top: 6.0rem;
}

.p-reason h2 {
    counter-increment: reason;
    color: #fff;
    border: none;
    padding-left: 0;
    font-size: 3.2rem;
    line-height: 1.4;
}

.p-reason h2::before {
    content: counter(reason);
    display: block;
    color: #ffffffca;
    margin-bottom: 1.0rem;
    font-style: italic;
    font-size: 4.8rem;
}

.p-reason h2::after {
    content: none;
}

.p-reason p {
    color: #fff;
}

@media screen and (max-width: 600px) {
    .p-reason {
        padding: 0 0 2rem;
    }

    .p-reason section {
        flex-direction: column;
    }

    .p-reason section.fixbox {
        margin-top: 20px;
    }

    .p-reason section .txt {
        width: 96%;
        margin: 0 auto;
    }

    .p-reason section .img {
        width: 96%;
        margin: 0 auto;
    }

    .p-reason h2 {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
}

/* ========================================
   施工までの流れ（flow）— ステップブロック＋矢印
   ======================================== */
.p-flow__container {
    counter-reset: flow-step;
    margin-top: 2rem;
}

.p-flow__container section {
    position: relative;
    padding-left: 12rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 8rem;
}

.p-flow__container section::before {
    counter-increment: flow-step;
    content: "STEP\A" counter(flow-step, decimal-leading-zero);
    white-space: pre-line;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: bold;
    font-size: 2.6rem;
}

.p-flow__container section h2,
.p-flow__container section h3 {
    margin: 0;
    padding: 2rem 2.4rem 0.4rem;
    font-size: 2rem;
    line-height: 1.4;
    color: var(--color-accent);
    border: none;
}

.p-flow__container section h2::after,
.p-flow__container section h3::after {
    content: none;
}

.p-flow__container section p {
    margin: 0 2.4rem 2rem;
    padding: 0 0 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-txt);
}

.p-flow__container section::after {
    content: "";
    position: absolute;
    left: 6rem;
    transform: translateX(-50%);
    bottom: -1.6rem;
    width: 0;
    height: 0;
    border-left: 1.6rem solid transparent;
    border-right: 1.6rem solid transparent;
    border-top: 1.6rem solid var(--color-accent);
    z-index: 1;
}

.p-flow__container section:last-child::after {
    content: none;
}

.p-flow__container section+section {
    margin-top: 3.2rem;
}

@media screen and (max-width: 600px) {
    .p-flow__container section {
        padding-left: 0;
        padding-top: 0;
        min-height: 0;
    }

    .p-flow__container section::before {
        position: relative;
        width: 100%;
        height: auto;
        bottom: auto;
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        padding: 1.2rem 1rem;
        content: "STEP " counter(flow-step, decimal-leading-zero);
        white-space: normal;
        font-size: 1.8rem;
    }

    .p-flow__container section::after {
        left: 50%;
    }

    .p-flow__container section h2 {
        padding: 1.6rem 1.6rem 0.4rem;
        font-size: 1.8rem;
    }

    .p-flow__container section p {
        margin: 0 1.6rem 1.6rem;
        padding: 0 0 1.6rem;
    }
}

/* ========================================
   本サイト施工事例ページ用（case/xxxx で表示する article 用）
   https://www.h-pros.co.jp/case/20221007 から抜き出し
   ======================================== */

/* dl.table（概要エリア） */
.p-case-detail dl.table {
    margin: 0 0 15px;
    list-style: none;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
}

.p-case-detail dl.table dt {
    clear: both;
    width: 15rem;
    padding: 1rem;
}

.p-case-detail dl.table dd {
    width: calc(100% - 15rem);
    border-bottom: 1px solid #ddd;
    padding: 1rem;
}

/* table.case（塗装箇所テーブル） */
.p-case-detail .scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.p-case-detail .scroll table.case {
    width: max-content;
    min-width: 100%;
}

.p-case-detail table.case {
    width: 100%;
}

.p-case-detail table.case thead th {
    padding: 15px 10px;
    background: #ddd;
}

.p-case-detail table.case tbody th {
    padding: 15px 10px;
    text-align: left;
    background: #f9f9f9;
}

.p-case-detail table.case td {
    padding: 10px;
}

.p-case-detail table.case tbody tr td {
    background: #f9f9f9;
    transition: background 0.3s;
}

.p-case-detail table.case tr:nth-child(even) * {
    background: #f0f0f0;
}

.p-case-detail table.case tr:hover td {
    background: #eee;
}

/* case-01 BEFORE/AFTER */
.p-case-detail .case-01 p {
    font-size: 2rem;
    margin: 10px 0;
    text-align: right;
}

.p-case-detail ul.case-01-main {
    display: flex;
    justify-content: space-between;
    position: relative;
    list-style: none;
}

.p-case-detail ul.case-01-main::before {
    content: "\f148";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    position: absolute;
    left: 20%;
    top: 54%;
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 10rem;
    color: var(--color-accent);
}

.p-case-detail ul.case-01-main li {
    position: relative;
}

.p-case-detail ul.case-01-main li img {
    width: 100%;
    height: auto;
}

.p-case-detail ul.case-01-main li:first-child {
    left: 0;
    bottom: 0;
    width: calc(30% - 10px);
}

.p-case-detail ul.case-01-main li:first-child span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.4rem 0.8rem;
    background: #eee;
    color: var(--color-accent);
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.p-case-detail ul.case-01-main li:last-child {
    right: 0;
    bottom: 0;
    width: 70%;
}

.p-case-detail ul.case-01-main li:last-child span {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.4rem 0.8rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 3rem;
    text-align: center;
}

.p-case-detail ul.case-01-sub {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    position: relative;
    list-style: none;
}

.p-case-detail ul.case-01-sub::before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--color-accent);
}

.p-case-detail ul.case-01-sub li {
    width: 46%;
    position: relative;
}

.p-case-detail ul.case-01-sub li span {
    position: absolute;
}

.p-case-detail ul.case-01-sub li:first-child span {
    left: 0;
    top: 0;
    background: #eee;
    color: var(--color-accent);
    padding: 0.4rem 0.8rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.p-case-detail ul.case-01-sub li:last-child span {
    right: 0;
    bottom: 0;
    background: var(--color-accent);
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 3rem;
    text-align: center;
}

.p-case-detail ul.case-01-sub li img {
    width: 100%;
    height: auto;
}

/* case-02 概要 */
.p-case-detail .case-02-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.p-case-detail .case-02-container div.case-02-box {
    width: 48%;
}

.p-case-detail .case-02 section {
    margin-top: 0;
}

.p-case-detail .case-02 section+section {
    margin-top: 6rem;
}

/* case-03 工事の流れ */
.p-case-detail .case-03 ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
    counter-reset: item;
    list-style: none;
}

.p-case-detail .case-03 ol li {
    width: 23%;
    margin: 1%;
    position: relative;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 1rem;
    line-height: 1.6;
}

.p-case-detail .case-03 ol li::before {
    position: absolute;
    left: 1px;
    top: 1px;
    counter-increment: item;
    content: counter(item);
    font-weight: bold;
    color: #fff;
    background: var(--color-accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 2px;
}

.p-case-detail .case-03 ol li img {
    display: block;
    width: 100%;
    height: auto;
}

/* case-tag */
.p-case-detail ul.case-tag {
    display: none;
}

.p-case-detail ul.case-tag li {
    list-style: none;
    text-align: center;
    margin: 0 10px 10px;
}

.p-case-detail ul.case-tag li a {
    display: block;
    background: #e0edff;
    color: #333;
    font-size: 1.2rem;
    padding: 7px;
    border-radius: 5px;
    text-decoration: none;
}

.p-case-detail ul.case-tag li a::before {
    content: '#';
    padding-right: 1px;
}

.p-case-detail ul.case-tag li a:hover {
    background: #eee;
}

/* conversion CTA */
.p-case-detail p.conversion {
    margin: 2.4rem auto;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.p-case-detail p.conversion a {
    border-radius: 1rem;
    font-size: 3rem;
    display: block;
    text-decoration: none;
}

.p-case-detail p.conversion a span {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* scroll-hint（横スクロールヒント）本サイトで使用している unpkg 版 */
@keyframes scroll-hint-appear {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50%,
    100% {
        transform: translateX(-40px);
        opacity: 0;
    }
}

.p-case-detail .scroll-hint.is-right-scrollable {
    background: linear-gradient(270deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.p-case-detail .scroll-hint.is-right-scrollable.is-left-scrollable {
    background: linear-gradient(90deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0)), linear-gradient(270deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.p-case-detail .scroll-hint.is-left-scrollable {
    background: linear-gradient(90deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.p-case-detail .scroll-hint-icon {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 60px);
    box-sizing: border-box;
    width: 120px;
    height: 80px;
    border-radius: 5px;
    transition: opacity 0.3s;
    opacity: 0;
    background: rgba(0, 0, 0, .7);
    text-align: center;
    padding: 20px 10px 10px 10px;
}

.p-case-detail .scroll-hint-icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    pointer-events: none;
}

.p-case-detail .scroll-hint-text {
    font-size: 10px;
    color: #fff;
    margin-top: 5px;
}

.p-case-detail .scroll-hint-icon-wrap.is-active .scroll-hint-icon {
    opacity: 0.8;
}

.p-case-detail .scroll-hint-icon:before {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    content: "";
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNS43NyIgaGVpZ2h0PSIzMC41MiIgdmlld0JveD0iMCAwIDI1Ljc3IDMwLjUyIj48dGl0bGU+44Ki44K744OD44OIIDM8L3RpdGxlPjxnIGlkPSLjg6zjgqTjg6Tjg7xfMiIgZGF0YS1uYW1lPSLjg6zjgqTjg6Tjg7wgMiI+PGcgaWQ9IuODrOOCpOODpOODvF8xLTIiIGRhdGEtbmFtZT0i44Os44Kk44Ok44O8IDEiPjxwYXRoIGQ9Ik0yMS4zMywzMC41Mkg3Ljg1QTEuNTUsMS41NSwwLDAsMSw2LjMsMjlhMTIuNDYsMTIuNDYsMCwwLDAtLjYzLTQuNDIsMjUuMTYsMjUuMTYsMCwwLDAtNC4yNS01bC0uMDYtLjA2QTUsNSwwLDAsMSwwLDE1Ljg2YTMuNjQsMy42NCwwLDAsMSwxLjE3LTIuNjIsMy42MywzLjYzLDAsMCwxLDUuMTQuMDdWMy43N2EzLjc3LDMuNzcsMCwxLDEsNy41NCwwVjguMzNhMy4zNSwzLjM1LDAsMCwxLDEuMjYsMCwzLDMsMCwwLDEsMiwxLjIyLDMuNSwzLjUsMCwwLDEsMi0uMDYsMy4yMSwzLjIxLDAsMCwxLDIsMS41NCwzLjc0LDMuNzQsMCwwLDEsMywuNDdBNC4yMSw0LjIxLDAsMCwxLDI1Ljc0LDE1YzAsLjExLDAsLjI3LDAsLjQ2YTE5LjI2LDE5LjI2LDAsMCwxLS44NCw3Yy0uMTQuMzgtLjM2LjgxLS41NiwxLjIybC0uMTEuMjJjMCwuMDctLjA5LjE0LS4xNC4yMWE3LjEzLDcuMTMsMCwwLDAtMS4xNywyLjE3Yy0uMDYuNTYtLjA2LDIuMTUtLjA1LDIuNzFBMS41NSwxLjU1LDAsMCwxLDIxLjMzLDMwLjUyWk04LjYxLDI4LjIxaDEyYzAtLjcxLDAtMS43MS4wNy0yLjIzYTguNzQsOC43NCwwLDAsMSwxLjU5LTMuMjVsLjA2LS4xMmExMCwxMCwwLDAsMCwuNDYtMSwxNi44LDE2LjgsMCwwLDAsLjctNi4xMmMwLS4yMywwLS40MSwwLS41NGgwYTIsMiwwLDAsMC0uNjQtMS41MiwxLjMzLDEuMzMsMCwwLDAtMS41NS4wOCwxLjEzLDEuMTMsMCwwLDEtMS4xOC4yOCwxLjE1LDEuMTUsMCwwLDEtLjc4LS45NCwxLjI2LDEuMjYsMCwwLDAtLjc1LTEuMTEsMSwxLDAsMCwwLTEuMTEuMjhsLS4xLjFhMS4xNSwxLjE1LDAsMCwxLTEuMTkuMjksMS4xNiwxLjE2LDAsMCwxLS43OC0uOTVjLS4wOS0uNjgtLjIxLS43Ny0uNy0uODdhLjgyLjgyLDAsMCwwLTEsLjQ4LDEuMTYsMS4xNiwwLDAsMS0yLjE2LS41OFYzLjc3YTEuNDYsMS40NiwwLDEsMC0yLjkyLDB2Ny44NWwwLDQuMzNhMS4xNywxLjE3LDAsMCwxLS44MywxLjExLDEuMTUsMS4xNSwwLDAsMS0xLjItLjM1bC0xLS45MWMtLjQ3LS40Mi0uNzMtLjY2LS44NC0uNzdhMS4zNSwxLjM1LDAsMCwwLTItLjEyTDIuNywxNWExLjMyLDEuMzIsMCwwLDAtLjM5LDFBMi41NywyLjU3LDAsMCwwLDMsMTcuODVsMCwwYTI3LjI0LDI3LjI0LDAsMCwxLDQuNyw1LjYyQTEyLjYzLDEyLjYzLDAsMCwxLDguNjEsMjguMjFaTTIzLjIsMjMuMzVaTTYuNTEsMTYuNTlaIiBmaWxsPSIjZmZmIi8+PC9nPjwvZz48L3N2Zz4=");
}

.p-case-detail .scroll-hint-icon-wrap.is-active .scroll-hint-icon:before {
    animation: scroll-hint-appear 1.2s linear;
    animation-iteration-count: 2;
}

.p-case-detail .scroll-hint-icon:after {
    content: "";
    width: 34px;
    height: 14px;
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -20px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMy4yOSIgaGVpZ2h0PSIxMi4wMiIgdmlld0JveD0iMCAwIDMzLjI5IDEyLjAyIj48dGl0bGU+44Ki44K744OD44OIIDE8L3RpdGxlPjxnIGlkPSLjg6zjgqTjg6Tjg7xfMiIgZGF0YS1uYW1lPSLjg6zjgqTjg6Tjg7wgMiI+PGcgaWQ9IuODrOOCpOODpOODvF8xLTIiIGRhdGEtbmFtZT0i44Os44Kk44Ok44O8IDEiPjxsaW5lIHgxPSIxLjg1IiB5MT0iNi4wMSIgeDI9IjEwLjQiIHkyPSI2LjAxIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTEwLjQsNy4xN0gxLjg1YTEuMTYsMS4xNiwwLDEsMSwwLTIuMzFIMTAuNGExLjE2LDEuMTYsMCwxLDEsMCwyLjMxWiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik03LjQsMTJhMS4xNSwxLjE1LDAsMCwxLS43Mi0uMjVsLTYuMjUtNUExLjIsMS4yLDAsMCwxLDAsNS44NywxLjE0LDEuMTQsMCwwLDEsLjQ2LDVMNi43LjIzQTEuMTYsMS4xNiwwLDAsMSw4LjEsMi4wOEwzLDUuOTEsOC4xMiwxMEExLjE2LDEuMTYsMCwwLDEsNy40LDEyWiIgZmlsbD0iI2ZmZiIvPjxsaW5lIHgxPSIzMS40NSIgeTE9IjYuMDEiIHgyPSIyMi44OSIgeTI9IjYuMDEiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMzEuNDUsNy4xN0gyMi44OWExLjE2LDEuMTYsMCwxLDEsMC0yLjMxaDguNTZhMS4xNiwxLjE2LDAsMCwxLDAsMi4zMVoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMjUuOSwxMmExLjE4LDEuMTgsMCwwLDEtLjkxLS40M0ExLjE3LDEuMTcsMCwwLDEsMjUuMTcsMTBsNS4wOS00LjA1TDI1LjIsMi4wOEExLjE2LDEuMTYsMCwwLDEsMjYuNTkuMjNMMzIuODQsNWExLjE2LDEuMTYsMCwwLDEsLjQ1LjkxLDEuMTQsMS4xNCwwLDAsMS0uNDMuOTJsLTYuMjQsNUExLjE3LDEuMTcsMCwwLDEsMjUuOSwxMloiIGZpbGw9IiNmZmYiLz48L2c+PC9nPjwvc3ZnPg==");
    opacity: 0;
    transition-delay: 2.4s;
}

.p-case-detail .scroll-hint-icon-wrap.is-active .scroll-hint-icon:after {
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .p-case-detail .case-01 {
        margin-top: 0;
    }

    .p-case-detail dl.table dt {
        width: 100%;
        padding-bottom: 0;
    }

    .p-case-detail dl.table dd {
        width: 100%;
    }

    .p-case-detail ul.case-01-main::before {
        left: 18%;
        top: 56%;
        font-size: 6rem;
    }

    .p-case-detail ul.case-01-sub::before {
        font-size: 3rem;
    }

    .p-case-detail ul.case-01-main li:first-child span {
        font-size: 1.4rem;
    }

    .p-case-detail ul.case-01-main li:last-child span {
        font-size: 2.4rem;
    }

    .p-case-detail ul.case-01-sub li:first-child span {
        font-size: 1.4rem;
    }

    .p-case-detail ul.case-01-sub li:last-child span {
        font-size: 2.4rem;
    }

    .p-case-detail .conversion a::before {
        width: 9rem;
        height: 9rem;
    }

    .p-case-detail p.conversion a {
        font-size: 2rem;
        padding: 1.2rem
    }

    .p-case-detail p.conversion a span {
        font-size: 1.4rem;
        margin-top: 0.8rem;
    }

    .p-case-detail .case-02-container {
        flex-direction: column;
    }

    .p-case-detail .case-02-container div.case-02-box {
        width: 100%;
        margin: 2rem 0;
    }

    .p-case-detail .case-02-container div.case-02-box section {
        width: 100%;
    }

    .p-case-detail .case-02-container div.case-02-box section+section {
        width: 100%;
    }

    .p-case-detail .case-03 ol li {
        width: 48%;
    }
}

/* ========================================
   施工事例一覧（/case）本サイトと同じレイアウト
   ======================================== */
.p-case-list .case-parent-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
}

.p-case-list .case-parent-container section {
    width: 23%;
    margin: 1%;
}

.p-case-list .case-parent-container section a {
    text-decoration: none;
    display: block;
    padding: 1rem;
    border-bottom: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.p-case-list .case-parent-container section h2 {
    border:none;
    line-height: 1.2;
    font-size: 1.6rem;
    background: none;
    text-decoration: none;
    color: #333;
    margin-bottom: 5px;
    font-weight: normal;
}
.p-case-list .case-parent-container section h2::after {
    content: none;
}

.p-case-list .case-parent-container section p.img {
    margin-bottom: 0.4rem;
}

.p-case-list .case-parent-container section img {
    width: 100%;
    height: auto;
    display: block;
}

.p-case-list .case-parent-container section dl {
    margin: 0;
    list-style: none;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    border-top:1px solid #ddd;
}

.p-case-list .case-parent-container section dl dt {
    width: 7rem;
    border-bottom: 1px solid #ddd;
    padding: 6px 0;
    color: #333;
    font-size: 1.4rem;
}

.p-case-list .case-parent-container section dl dd {
    width: calc(100% - 7rem);
    border-bottom: 1px dotted #ddd;
    padding: 6px 0;
    color: #333;
    font-size: 1.4rem;
}

.p-case-list__loading,
.p-case-list__empty,
.p-case-list__error {
    color: #666;
}

@media screen and (max-width: 1025px) {
    .p-case-list .case-parent-container section {
        width: 48%;
        margin: 1%;
    }
    .p-case-list .case-parent-container section dl {
        flex-direction: column;
    }
    .p-case-list .case-parent-container section dl dt{
        width: 100%;
        border:none;
        padding-bottom: 0;
    }
    .p-case-list .case-parent-container section dl dd{
        width: 100%;
    }
}

/* ========================================
   事業紹介トップ .page-child カード（service.html）
   画像＋タイトル＋緑丸矢印
   ======================================== */
ul.page-child {
    list-style: none;
    padding: 0;
    margin: 0 -1% 3%;
    display: flex;
    flex-wrap: wrap;
}
ul.page-child li {
    flex: 1 1 23%;
    max-width: 23%;
    margin:0 1%;
}

ul.page-child a {
    display: grid;
    grid-template-rows: 200px auto;
    grid-template-columns: 1fr auto;
    text-decoration: none;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 0 1rem 1rem 1rem;
}
ul.page-child a span {
    font-weight: bold;
    font-size: 2rem;
    padding:1rem 0 0;
}

ul.page-child a:hover {
    border-color: #388e3c;
    box-shadow: 0 0 0 1px #388e3c;
    opacity:1;
}

ul.page-child a img {
    display: block;
    max-width: none;
    margin: 0 -1rem;
    width: calc(100% + 2rem);
    height: 200px;
    object-fit: cover;
    grid-column: 1 / -1;
}

ul.page-child a::after {
    content: '\203a';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height:3rem;
    border: 2px solid #388e3c;
    border-radius: 50%;
    background: #388e3c;
    color: #fff;
    font-size: 1.875rem; /* 1.25rem × 1.5 */
    font-weight: bold;
    margin:0.6rem 0 -0.2rem;
}

@media screen and (max-width: 600px) {
    ul.page-child li {
        flex: 1 1 96%;
        max-width: 96%;
        margin:0 2% 3%;
    }
}


/* 川越市エリアトップ（ヒーロー・紹介） */
.p-area-intro{
    margin-top:-3rem;
}

.p-area-title {
    position: relative;
}
.p-area-title figure {
    margin: 0;
}
.p-area-title figure img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}
.p-area-title h1 {
    position: absolute;
    left: 50%;
    top: 2%;
    transform: translateX(-50%);
    margin: 0 0 1rem;
    z-index: 2;
    width: 90%;
    max-width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    font-size: 3.6rem;
}
.p-area-title h1 span {
    color: #fff !important;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: -1.0rem;
    display: block;
    font-weight: bold;
}
.p-area-intro h1+figure {
    z-index: 1;
    position: relative;
}

.p-area-trait {
    margin: -3rem auto 0;
    width: 100%;
    max-width: 120rem;
    z-index: 2;
    position: relative;
}
.p-area-trait-container {
	max-width: 120rem;
	margin: 0 auto;
	background-color: var(--color-accent);
	padding: 2rem;
	border-radius: 1.6rem;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 4rem;
}
.p-area-trait-box {
	width: calc(31.3333% - 4px);
	color: #fff;
	position: relative;
}
.p-area-trait-box:not(:last-child)::before {
	content: '';
    position: absolute;
    background: #ffffff4f;
    top: 0;
    right: -20px;
    width: 1px;
    height: 90%;
}

.p-area-trait-box p {
	background: #01a690;
    padding: 1rem;
    text-align: center;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
}
.p-area-trait-box p br{
	display: none;
}
.p-area-trait-box figure {
	max-width: 15rem;
	margin: 2rem auto 0;
}
.p-area-trait-box figure img {
	width: 100%;
	height: auto;
}

.p-area-intro-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin:2rem 0 4rem;
	padding: 0;
	justify-content: center;
}
.p-area-intro-cta a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 24rem;
	padding: 1rem 2rem;
	border-radius: 8px;
	font-weight: bold;
	text-decoration: none;
    background: var(--color-conversionbg);
    color:#fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    flex-direction: row;
	gap: 0.5rem;
    font-size:2.0rem;
}
.p-area-intro-cta a:hover {
	transform: translateY(-2px);
    opacity:1;
    box-shadow: none;
}
.p-area-intro-cta li:first-child a {
	background: #06C755;
	color: #fff;
}
.p-area-intro-cta li:first-child a::before {
	content: '';
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background: url(/images/icons/icon-line-black.svg) no-repeat center;
	background-size: contain;
}
.p-area-intro-cta li:last-child a::before {
	content: '';
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background: url(/images/icons/icon-mail-black.svg) no-repeat center;
	background-size: contain;
}

.p-area-intro-content{
    display: flex;
    justify-content: space-around;
    margin:1rem 0;
}
.p-area-intro-content div{
    width: 54%;
    margin-right: 4%;
}
.p-area-intro-content figure{
    width: 38%;
}
.p-area-intro-content figure img {
    width: 100%;
    height: auto;
    box-shadow: 10px 10px 2px rgba(0, 0, 0, 0.2);
}

/* 川越市エリア：お悩みセクション（4カード・吹き出し＋イラスト） */
.p-area-worries h2{
    text-align: center;
}
.p-area-worries-container {
    display: flex;
    flex-wrap: wrap;
    margin:0 -1%;
}
.p-area-worries-container div {
    width:23%;
    margin:0 1% 3%;
    display: flex;
    flex-direction: column;
}
.p-area-worries-container ul {
    position: relative;
    background: var(--color-subtlebg);
    border-radius: 1rem;
    list-style: disc;
    padding:1rem 2rem 1rem 3rem;
    flex: 1;
}
.p-area-worries-container ul::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--color-subtlebg);
}
.p-area-worries-container ul li {
    line-height: 1.6;
    margin-bottom: 0.4rem;
    font-size: 2.0rem;
}
.p-area-worries-container div::after {
    content: '';
    display: block;
    margin-top: 0.75rem;
    width: 100%;
    padding-bottom: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.p-area-worries-container div:nth-of-type(1)::after {
    background-image: url(/images/img/area_02.png);
    background-size:auto 16rem;
}
.p-area-worries-container div:nth-of-type(2)::after {
    background-image: url(/images/img/area_03.png);
    background-size:auto 16rem;
}
.p-area-worries-container div:nth-of-type(3)::after {
    background-image: url(/images/img/area_04.png);
    background-size:auto 16rem;
}
.p-area-worries-container div:nth-of-type(4)::after {
    background-image: url(/images/img/area_05.png);
    background-size:auto 16rem;
}

@media screen and (max-width: 600px) {
    .p-area-worries-container div {
        width:48%;
        margin:0 1% 3%;
        display: flex;
        flex-direction: column;
    }
    .p-area-worries-container ul {
        padding:1rem 1rem 1rem 3rem;
    }
    .p-area-worries-container ul li {
        line-height: 1.4;
        margin-bottom: 0.4rem;
        font-size: 1.6rem;
    }
    .p-area-worries-container div::after {
        padding-bottom: 80%;
    }
}



/* 川越市エリア：選ばれる理由（カード型） */
.p-area-reason h2 {
    text-align: center;
}

/* 川越市エリア 助成金セクション */
.p-area-subsidy {
    padding: 6rem 2rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border-radius: 2rem;
    background:#00B89F;
    border:10px solid var(--color-accent);
}
.p-area-subsidy h2{
    color:#fff;
    border:none;
}
.p-area-subsidy h2::after{
    content:none;
}
.p-area-subsidy p {
    margin: 0 auto;
    max-width:80rem;
    color:#fff;
}
.p-area-subsidy p mark{
    background: linear-gradient(transparent 80%, #01A690 80%);
    color:#fff;
}


/* 川越市エリア一覧（町名リンク） */
.p-area-list nav {
    margin-top: 1.5rem;
}
.p-area-list nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 -1%;
    padding: 0;
}
.p-area-list nav ul li {
    margin: 0 1% 1%;
    text-align: center;
    width: 18%;
}
.p-area-list nav ul li a {
    display: block;
    padding: 0.4em 0.5em;
    color: var(--color-txtlink);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 0 0 1px (0,0,0,0.1);
}
.p-area-list nav ul li a:hover {
    background-color: #eee;
}

/* 川越市エリア レスポンシブ（タブレット） */
@media screen and (max-width: 600px) {
    .p-area-intro{
        margin-top:-1.5rem;
    }
    .p-area-title h1 {
        font-size: 2.4rem;
        width: 100%;
        text-align: left;
        line-height: 1.4;
        padding:0 8rem 0 1rem
    }
    .p-area-title h1 span {
        font-size: 1.4rem;
        color:#fff;
    }

    .p-area-trait {
        margin: -2rem auto 0;
        width: 98%;
    }
    .p-area-trait-container {
        gap: 1rem;
        padding:2rem 0;
    }
    .p-area-trait-box::before {
        display: none;
    }
    .p-area-trait-box p {
        font-size: 1.4rem;
        padding:0.8rem 0.6rem;
    }
    .p-area-trait-box p br{
        display: block;
    }
    .p-area-trait-box figure {
        margin:-1rem auto -2rem;
        text-align: center;
    }
    .p-area-trait-box figure img{
        width: 60%;
        margin: 0 auto;
    }
    .p-area-trait-box:first-of-type figure {
        margin-bottom: 3rem
    }
    .p-area-intro-cta {
        margin: 1.5rem 1rem 3rem;
        flex-direction: column;
        align-items: stretch;
    }
    .p-area-intro-cta a {
        min-width: 0;
        width: 100%;
        font-size: 1.7rem;
        padding: 0.9rem 1.5rem;
    }
    .p-area-intro-content {
        flex-direction: column;
        margin: 1rem 1rem;
    }
    .p-area-intro-content div {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .p-area-intro-content figure {
        width: 100%;
    }
    .p-area-subsidy {
        margin: 0 1rem;
        padding: 3rem 1.5rem 2rem;
        border-width: 6px;
    }
    .p-area-subsidy h2 {
        font-size: 2.0rem;
        line-height: 1.5;
        text-align: left;
    }
    .p-area-subsidy h2 br{
        display: none;
    }
    .p-area-subsidy p{
        text-align: left;
    }
    .p-area-list nav ul li{
       width: 31.3333%;
    }
}

.p-area-case h3 {
    border-left: none;
    padding-left: 0;
    font-size: 1.8rem;
    line-height: 1.6;
	color: var(--color-txt);
	font-weight: normal;
	margin: 0.4rem 0;
}
.p-area-case h3::after {
	content:none;
}
.p-area-case .btn {
    text-align: center;
}


/* ========================================
   コラム：サイトマップ（ツリー表示）
   HTMLは ul.p-column-sitemap のみ前提
   ======================================== */
.p-column-sitemap,
.p-column-sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-column-sitemap {
    --sitemap-line: rgba(0, 0, 0, 0.5);
    --sitemap-hover-bg: rgba(0, 184, 159, 0.08);
    --sitemap-indent: 1.6rem; /* 1階層のインデント */
    --sitemap-branch: 1.2rem; /* 横線の長さ */
}

.p-column-sitemap > li {
    margin: 0.4rem 0;
    padding-left: 0;
}

.p-column-sitemap li {
    position: relative;
    margin: 0.35rem 0;
    padding-left: calc(var(--sitemap-branch) + 0.6rem);
}

/* 子階層のインデント */
.p-column-sitemap ul {
    margin-top: 0.25rem;
    margin-left: var(--sitemap-indent);
}

/* 横線（枝） */
.p-column-sitemap li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05em;
    width: var(--sitemap-branch);
    border-top: 1px solid var(--sitemap-line);
}

/* 縦線（幹） */
.p-column-sitemap li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: -0.45rem;
    border-left: 1px solid var(--sitemap-line);
}

/* 最後の要素は縦線を分岐位置で止める */
.p-column-sitemap li:last-child::after {
    bottom: calc(100% - 1.05em);
}

.p-column-sitemap a {
    display: inline-block;
    text-decoration: none;
    line-height: 1.6;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

.p-column-sitemap a:hover,
.p-column-sitemap a:focus-visible {
    background: var(--sitemap-hover-bg);
    outline: none;
}

