/* =========================================
   BASE
========================================= */

body {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
}

section {
    padding: 120px 0;
}

.container,
.price__inner,
.plan-check__inner,
.features__inner,
.options__inner,
.template-cta__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================
   PAGE FV（テンプレートページと揃える）
========================================= */

.page-fv {
    background: url("../img/page-fv.webp") center/cover no-repeat;
    padding: 140px 0 120px;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 80px;
}


.page-fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.page-fv__inner {
    position: relative;
    z-index: 2;
}

.page-fv__title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 16px;
}

.page-fv__subtitle {
    font-size: 20px;
    letter-spacing: .05em;
}

@media (max-width: 768px) {

    .page-fv {
        padding: 80px 0;
        text-align: center;
    }

    .page-fv__inner {
        padding: 0 24px;
    }

    .page-fv__title {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .page-fv__subtitle {
        font-size: 15px;
        line-height: 1.7;
        opacity: 0.9;
    }
}

@media (max-width: 400px) {

    .page-fv {
        padding: 64px 0;
    }

    .page-fv__inner {
        padding: 0 16px;
    }

    .page-fv__title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .page-fv__subtitle {
        font-size: 14px;
        line-height: 1.6;
    }
}


/* =========================================
   BREADCRUMB（共通デザイン）
========================================= */

.breadcrumb {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 40px;
    font-size: 13px;
    color: #555;
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    text-decoration: none;
    color: #0080a3;
    transition: 0.2s;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li::after {
    content: ">";
    margin-left: 8px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: "";
}

@media (max-width: 780px) {
    .breadcrumb {
        padding: 0 20px;
    }
}

/* ================= PC/SP端末プレビュー ================= */

.work-device-block {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.device-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* PC */
.device-frame {
    width: 600px;
    height: 400px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.device-screen.scrollable {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.device-screen img {
    width: 100%;
    display: block;
}

/* SP */
.device-frame.sp {
    width: 300px;
    height: 400px;
    border-radius: 18px;
}

/* =========================================
   Work Detail (4項目まとめセクション)
========================================= */
.work-detail {
    padding: 80px 0;
    background: #fafafa;
}

.work-detail__inner {
    width: min(900px, 90%);
    margin: 0 auto;
}

.work-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.work-detail__block {
    margin-bottom: 40px;
    padding: 24px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.work-detail__heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    border-left: 4px solid #c48b5a;
    /* 実績ページの高級感カラー */
    padding-left: 12px;
}

.work-detail__text {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}


/* ===========================
   SP（768px 以下）
=========================== */
@media (max-width: 768px) {

    .work-detail {
        padding: 60px 0;
    }

    .work-section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .work-detail__block {
        padding: 20px 22px;
    }

    .work-detail__heading {
        font-size: 18px;
    }

    .work-detail__text {
        font-size: 15px;
        line-height: 1.8;
    }
}


/* ===========================
   SP（400px 以下）
=========================== */
@media (max-width: 400px) {
    .work-detail__block {
        padding: 18px;
    }

    .work-detail__heading {
        font-size: 17px;
    }

    .work-detail__text {
        font-size: 14px;
    }
}


/* ================= 概要 ================= */

.summary-list li,
.points-list li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* ================= カラー ================= */

.color-set {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.color-chip {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--c);
}

/* ================= CTA ================= */

.work-cta {
    background: #0080a3;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.work-cta .btn {
    margin-top: 20px;
}


/* =========================================================
   共通セクションタイトル
========================================================= */
.work-section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
    letter-spacing: 0.02em;
}

/* =========================================================
   Preview Section（PC/SPプレビュー）
========================================================= */

.work-preview {
    padding: 120px 0;
    background: #ffffff;
}

.work-preview__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* PC/SP の並び（2カラム） */
.work-device-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* タイトル */
.device-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0080a3;
}

/* デバイスフレーム共通 */
.device-frame {
    width: 100%;
    background: #111;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    position: relative;
}

.device-screen {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    height: 520px;
    border: 2px solid #333;
}

/* スクロール可能 */
.device-screen.scrollable {
    overflow-y: scroll;
}

.device-screen img {
    width: 100%;
    display: block;
}

/* PCスタンド */
.device-stand {
    width: 60%;
    height: 12px;
    background: #222;
    border-radius: 0 0 6px 6px;
    margin: 10px auto 0;
}


/* =========================================================
   Summary Section（制作概要）
========================================================= */

.work-summary {
    padding: 120px 0;
    background: #fafafa;
}

.work-summary__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    line-height: 2;
    font-size: 17px;
    color: #444;
}

.summary-list strong {
    color: #0080a3;
    margin-right: 6px;
}

/* =========================================================
   Design Style（カラー・フォント）
========================================================= */

.work-style {
    padding: 120px 0;
    background: #fafafa;
}

.work-style__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.color-set {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.color-chip {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--c);
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.font-note {
    text-align: center;
    font-size: 15px;
    color: #555;
}


/* =========================================================
   Responsive（768px以下）
========================================================= */

@media (max-width: 768px) {

    .work-section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .work-preview {
        padding: 80px 0;
    }

    .work-preview__inner {
        padding: 0 20px;
    }

    /* 2カラム → 1カラム */
    .work-device-block {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .device-screen {
        height: 420px;
    }

    .work-summary,
    .work-points,
    .work-style {
        padding: 80px 0;
    }

    .summary-list,
    .points-list {
        font-size: 15px;
    }

    .color-chip {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   Responsive（400px以下）
========================================================= */

@media (max-width: 400px) {

    .work-section-title {
        font-size: 22px;
    }

    .device-title {
        font-size: 16px;
    }

    .device-screen {
        height: 350px;
    }

    .summary-list,
    .points-list {
        font-size: 14px;
        line-height: 1.8;
    }

    .color-chip {
        width: 38px;
        height: 38px;
    }
}

/* =============================
   ハンバーガーの最優先制御
============================= */

/* PCでは必ず非表示 */
@media (min-width: 769px) {
    .sp-only {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
        right: -100% !important;
    }
}