/* PcWatcher 公式サイト（静的HTML）。ビルド不要。明るい配色で統一する。 */
:root {
    --bg: #ffffff;
    --bg-soft: #f3f8fe;
    --bg-tint: #eaf3fd;
    --text: #1c2733;
    --text-muted: #5b6b7c;
    --border: #dbe6f2;
    --accent: #1a6fd1;
    --accent-strong: #1558a8;
    --accent-deep: #0f3f7a;
    --accent-text: #ffffff;
    --gray-head: #5a6672;
    --todo-bg: #fff3b0;
    --todo-text: #5a4a00;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(26, 111, 209, 0.12);
    --max: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-strong);
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* 未確定の項目。公開前にすべて解消する（grep 【要確認】 で一覧できる） */
mark.todo {
    background: var(--todo-bg);
    color: var(--todo-text);
    padding: 0 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

/* ヘッダー */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.brand span {
    color: var(--accent);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 22px;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav a {
    color: var(--text);
    text-decoration: none;
}

.nav a:hover {
    color: var(--accent);
}

.nav a.btn {
    color: var(--accent);
}

.nav a.btn:not(.ghost) {
    color: var(--accent-text);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    box-shadow: 0 6px 16px rgba(26, 111, 209, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: var(--accent-text);
    transform: translateY(-1px);
}

.btn.ghost {
    background: #fff;
    color: var(--accent);
    box-shadow: none;
}

.btn.ghost:hover {
    background: var(--bg-tint);
    color: var(--accent-strong);
}

.btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
    box-shadow: none;
}

.btn.big {
    padding: 18px 44px;
    font-size: 1.1rem;
}

.btn.white {
    background: #fff;
    border-color: #fff;
    color: var(--accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn.white:hover {
    background: var(--bg-tint);
    border-color: var(--bg-tint);
    color: var(--accent-strong);
}

/* ヒーロー: 左に見出し、右に画面のモックアップ。背景は斜めに色を切り替える */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    padding: 64px 0 72px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 52%;
    background: linear-gradient(160deg, #3a8be6, var(--accent));
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 24px;
}

.hero .eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    line-height: 1.4;
    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero p.lead {
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero .note {
    margin: 16px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hero-art {
    filter: drop-shadow(0 24px 40px rgba(15, 63, 122, 0.35));
}

/* 特徴の帯 */
.points {
    background: #fff;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.points ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.points li {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-weight: 700;
}

.points li span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tint);
    color: var(--accent);
    font-size: 1.1rem;
}

/* セクション */
section {
    padding: 72px 0;
}

section.soft {
    background: var(--bg-soft);
}

section h2 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    text-align: center;
    font-weight: 800;
    line-height: 1.5;
}

section h2 em {
    font-style: normal;
    color: var(--accent);
}

section .sub {
    margin: 0 auto 40px;
    max-width: 680px;
    text-align: center;
    color: var(--text-muted);
}

.sub-accent {
    color: var(--accent) !important;
    font-weight: 700;
}

/* 課題と解決の比較 */
.compare {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
    max-width: 920px;
    margin: 0 auto;
}

.compare .panel {
    border-radius: var(--radius);
    background: #fff;
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(28, 39, 51, 0.06);
}

.compare .panel.after {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.compare .panel h3 {
    margin: 0;
    padding: 14px 20px;
    text-align: center;
    color: #fff;
    background: var(--gray-head);
    font-size: 1.05rem;
}

.compare .panel.after h3 {
    background: var(--accent);
}

.compare .panel .body {
    padding: 20px 20px 24px;
    text-align: center;
}

.compare .panel p {
    margin: 10px 0 0;
    font-weight: 700;
}

/* 特長（01・02・03）。左右を交互に配置 */
.feature {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 44px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(28, 39, 51, 0.07);
}

.feature:nth-of-type(even) .feature-art {
    order: -1;
}

.feature .num {
    display: block;
    color: var(--accent);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.feature h3 {
    margin: 6px 0 12px;
    font-size: 1.5rem;
    line-height: 1.5;
}

.feature h3 em {
    font-style: normal;
    color: var(--accent);
}

.feature p {
    margin: 0;
    color: var(--text-muted);
}

.feature ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.feature li {
    margin: 4px 0;
    font-weight: 600;
}

.feature li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    margin-right: 8px;
}

/* さらに安心の仕組み */
.grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 6px 18px rgba(28, 39, 51, 0.05);
}

.card .icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--bg-tint);
    color: var(--accent);
    font-size: 1.5rem;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 手順 */
.steps {
    counter-reset: step;
    display: grid;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps li {
    counter-increment: step;
    background: #fff;
    border-radius: var(--radius);
    padding: 70px 26px 26px;
    position: relative;
    box-shadow: 0 8px 24px rgba(28, 39, 51, 0.07);
}

.steps li::before {
    content: "STEP " counter(step);
    position: absolute;
    left: 24px;
    top: 22px;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.steps strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.steps span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 料金 */
.price-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 !important;
    text-align: center;
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}

.price-card h3 {
    margin: 0 !important;
    padding: 14px;
    background: var(--accent);
    color: #fff;
}

.price-card .inner {
    padding: 24px 28px 30px;
}

.price-card .price {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent);
}

.price-card .price small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    text-align: left;
    display: inline-block;
}

.price-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    margin-right: 8px;
}

/* 注意書き */
.notice {
    border: 1px solid var(--border);
    border-left: 6px solid var(--accent);
    border-radius: var(--radius);
    background: #fff;
    padding: 22px 26px;
    max-width: 800px;
    margin: 0 auto;
}

.notice h3 {
    margin: 0 0 8px;
}

.notice p,
.notice ul {
    margin: 0 0 8px;
    color: var(--text-muted);
}

/* FAQ */
details {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 16px 22px;
    margin: 0 auto 12px;
    max-width: 800px;
}

details summary {
    cursor: pointer;
    font-weight: 700;
}

details summary::marker {
    color: var(--accent);
}

details p {
    margin: 10px 0 0;
    color: var(--text-muted);
}

/* 最後の呼びかけ */
.cta-band {
    background: linear-gradient(135deg, #3a8be6, var(--accent) 55%, var(--accent-deep));
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
}

.cta-band .sub {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

/* お問い合わせ */
.contact-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

/* 法務ページ */
.doc {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

.doc h1 {
    margin: 0 0 8px;
    font-size: 1.9rem;
}

.doc h2 {
    margin: 32px 0 8px;
    font-size: 1.2rem;
    text-align: left;
    padding-left: 12px;
    border-left: 5px solid var(--accent);
}

.doc p,
.doc li {
    color: var(--text);
}

.doc .draft {
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.doc table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.doc th,
.doc td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.doc th {
    width: 32%;
    background: var(--bg-soft);
    font-weight: 600;
}

/* ひな形（コピーして使う文面） */
.doc .template {
    white-space: pre-wrap;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* フッター */
.site-footer {
    background: #14243a;
    padding: 36px 0;
    font-size: 0.9rem;
    color: #b9c7d8;
}

.site-footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-bottom: 12px;
}

.site-footer a {
    color: #dce6f2;
}

@media (max-width: 860px) {
    .hero::before {
        width: 100%;
        height: 44%;
        top: auto;
        bottom: 0;
        clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
    }

    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .compare {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 1fr;
        padding: 26px 22px;
        gap: 20px;
    }

    .feature:nth-of-type(even) .feature-art {
        order: 0;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 40px 0 48px;
    }

    section {
        padding: 48px 0;
    }

    .nav {
        gap: 2px 14px;
        font-size: 0.85rem;
    }

    .nav .hide-sm {
        display: none;
    }

    .doc th,
    .doc td {
        display: block;
        width: 100%;
    }
}
