@charset "utf-8";

/* 固定ヘッダー(モバイル50px)の下にヒーローを表示する */
picture {
    margin-top: var(--header-h);
    display: block;
    width: 100%;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
}



.hero-caption {
    font-size: 1.125rem;
    font-weight: normal;
    text-align: center;
    padding: 0 .5rem;
}

.hero-caption strong {
    font-size: 1.375rem;
    color: #007ACC;
    font-weight: bold;
}


/* ===============================
service area
=============================== */

.service-area {
    padding: 60px 20px;
    background: #f8fbff;
}


/* ===============================
header
見出しは左、ボタンは右に配置する
(文字サイズ・色・下余白は nav.css の .area-header 側で共通定義)
=============================== */

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


/* ===============================
button
=============================== */

.area-btn {
    display: inline-block;
    padding: 14px 15px;

    background: linear-gradient(135deg, #007ACC, #0094ff);
    color: #fff;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;

    text-decoration: none;

    border-radius: 50px;
    border: none;

    box-shadow: 0 6px 16px rgba(0,0,0,0.15);

    transition: all .3s ease;
    cursor: pointer;
}

/* クリック */
.area-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===============================
service cards
=============================== */

.service-cards {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-bottom: 40px;
}


/* ===============================
card
=============================== */

.service-card {
    background: #fff;

    padding: 18px;

    border-radius: 10px;

    text-align: center;

    border: 1px solid #eee;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);

    transition: 0.25s;
}


.service-card img {
    width: 25%;
}


.service-title {
    font-size: 16px;
    font-weight: 600;

    color: #333;

    margin-top: 14px;

    /* 1行の項目と2行の項目でカードの高さを揃える */
    min-height: 3.2em;
}


/* ===============================
text
=============================== */

.service-text {
    text-align: center;
    line-height: 1.8;
}


.service-text p {
    margin: 18px 0;
}


.service-highlight {
    font-size: 18px;
    font-weight: bold;

    color: #007ACC;
}




/* ===============================
price area
=============================== */

.price-area {
    padding: 60px 20px;
    background: #f7fbff;
}


/* ===============================
price contents
=============================== */

.price-contents {

    display: grid;

    grid-template-columns: 1fr;

    gap: 24px;

    margin-top: 30px;

}


/* ===============================
card
=============================== */

.price-content {

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

}


/* ===============================
image
=============================== */

.price-image {

    width: 100%;

    /* 対応エリアの地図が切れないよう、素材と同じ3:2で表示する */
    aspect-ratio: 3 / 2;

    object-fit: cover;

    display: block;

}


/* ===============================
text area
=============================== */

.price-title {

    font-size: 20px;

    font-weight: 700;

    padding: 18px 20px 10px;

}


.price-text {

    padding: 0 20px 20px;

    line-height: 1.8;

    /* 基準サイズに連動させる(スマホ16px / PC20px) */
    font-size: 1rem;

    color: #444;

}



/* ===============================
estimate area
=============================== */

.estimate-area {

    padding: 70px 20px;

    background: linear-gradient(135deg,
            #f0f8ff,
            #e6f3ff);

    text-align: center;

}


/* ===============================
estimate text
=============================== */

.estimate-text {

    max-width: 700px;

    margin: 0 auto;

    background: #fff;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

}


.estimate-text p {

    font-size: 1rem;

    line-height: 1.8;

    margin-bottom: 16px;

}



/* ===============================
point area
=============================== */

.point-area {

    padding: 70px 20px;

    background: #f8fbff;

}


/* ===============================
point contents
=============================== */

.point-contents {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;

    margin-top: 40px;

}


/* ===============================
card
=============================== */

.point-content {

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

}


/* ===============================
image
=============================== */

.point-image {

    width: 100%;

    height: 200px;

    object-fit: cover;

    display: block;

}


/* ===============================
title
=============================== */

.point-title {

    font-size: 20px;

    font-weight: 700;

    padding: 20px 20px 10px;

    color: #222;

}


/* ===============================
text
=============================== */

.point-text {

    padding: 0 20px 20px;

    font-size: 1rem;

    line-height: 1.8;

    color: #444;

}


/* ===============================
message area
=============================== */

.message-area {

    padding: 80px 20px;

    background: #f8fbff;

}


/* ===============================
contents
=============================== */

.message-contents {

    max-width: 1000px;

    margin: auto;

    display: grid;

    gap: 30px;

}


/* ===============================
card
=============================== */

.message-content {

    background: #ffffff;

    padding: 30px;

   

    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

}


/* ===============================
title
=============================== */

.message-title {

    font-size: 20px;

    margin-bottom: 15px;

    border-left: 4px solid #007ACC;

    padding-left: 10px;

}


/* ===============================
text
=============================== */

.message-content p {

    line-height: 1.8;

    color: #444;

}


/* ===============================
qualification list
=============================== */

.qualification-list {

    list-style: none;

    padding: 0;

}

.qualification-list li {

    padding: 8px 0;

    border-bottom: 1px solid #eee;

    font-size: 1rem;

}

.qualification-list li::before {

    content: "✔";

    color: #007ACC;

    margin-right: 8px;

}



/* レスポンシブ対応 */
@media (min-width: 768px) {

    html {
        font-size: 20px;
    }

    body {
        font-size: 1rem;

    }


    .inner {
        max-width: 1366px;
        margin: 0 auto;
    }


    /* ヒーローは .inner の max-width を突き破って画面幅いっぱいに表示する */
    picture {
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .hero-img {
        height: auto;
        max-height: 85vh;
        object-fit: cover;
        /* 画像内の文字が下部にあるため、トリミングは上側(風景)だけに寄せる */
        object-position: bottom;
    }


    .service-area {
        padding: 80px 20px;
    }


    .service-cards {

        grid-template-columns: repeat(3, 1fr);

        gap: 24px;

    }

    .service-card {

        padding: 24px;

    }

    .service-title {

        font-size: 18px;

    }





    .price-contents {

        grid-template-columns: repeat(2, 1fr);

        gap: 32px;

    }

    .price-title {

        font-size: 22px;

    }




    .estimate-area {

        padding: 100px 20px;

    }

    .estimate-area .area-title {

        font-size: 32px;

    }

    .area-btn {

        font-size: 16px;

        padding: 14px 28px;

    }


    .point-area {

        padding: 100px 20px;

    }

    .point-contents {

        grid-template-columns: repeat(2, 1fr);

        gap: 40px;

    }

    .point-image {

        height: 220px;

    }

    .point-title {

        font-size: 22px;

    }

    .message-area {

        padding: 100px 20px;

    }

    .message-contents {

        grid-template-columns: 1fr 1fr;

        gap: 40px;

    }


    /* ===============================
    hover（PCのみ）
    =============================== */

    .area-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .price-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .point-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .message-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

}

/* ===============================
404ページ
=============================== */

.notfound-area {
    padding: 120px 20px 100px;
    background: #f8fbff;
    text-align: center;
}

.notfound-area .area-header {
    display: block;
}

.notfound-text {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.notfound-text p {
    line-height: 1.8;
    margin-bottom: 30px;
}

@media (min-width: 1024px) {

    .notfound-area {
        padding-top: calc(var(--header-h) + 106px);
    }

}


/* ===============================
プライバシーポリシー
=============================== */

.policy-area {
    padding: calc(var(--header-h) + 50px) 20px 100px;
    background: #f8fbff;
}

.policy-contents {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 36px 26px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.policy-lead {
    line-height: 1.9;
    margin-bottom: 40px;
}

.policy-section {
    margin-bottom: 36px;
}

.policy-section:last-of-type {
    margin-bottom: 0;
}

.policy-title {
    font-size: 18px;
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 4px solid #007ACC;
}

.policy-section p {
    line-height: 1.9;
    color: #444;
}

.policy-section p + p,
.policy-section ul + p {
    margin-top: 14px;
}

.policy-section ul {
    margin: 14px 0 0;
    padding-left: 1.3em;
}

.policy-section li {
    line-height: 1.9;
    color: #444;
    margin-bottom: 6px;
}

/* 事業者情報・問い合わせ窓口の定義リスト */
.policy-dl {
    margin-top: 14px;
}

.policy-dl dt {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.policy-dl dd {
    line-height: 1.9;
    color: #444;
    margin: 0 0 14px;
}

.policy-dl dd:last-child {
    margin-bottom: 0;
}

.policy-date {
    margin-top: 44px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

@media (min-width: 768px) {

    .policy-area {
        padding-bottom: 120px;
    }

    .policy-contents {
        padding: 50px 45px;
    }

    .policy-dl {
        display: grid;
        grid-template-columns: 8em 1fr;
        row-gap: 10px;
    }

    .policy-dl dd {
        margin-bottom: 0;
    }

}
