/* =========================================================
   Buffy合同会社 下層ページ共通スタイル
   (問い合わせフォーム・利用規約・プライバシーポリシー・送信完了)
   トップページ(TopPage.css)と同じ色・フォントを使っています
========================================================= */

:root {
    --c-primary: #e9793f;
    --c-primary-dark: #d0612a;
    --c-accent: #f4a261;
    --c-bg: #fdf8f2;
    --c-bg-alt: #f7ecdf;
    --c-surface: #ffffff;
    --c-text: #3d2c22;
    --c-text-sub: #7a6556;
    --c-line: #ecdccb;
    --c-danger: #d64545;

    --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
    --font-body: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;

    --radius: 18px;
    --shadow: 0 10px 30px rgba(120, 72, 30, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}


/* =========================
   ヘッダー
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 242, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-line);
}

.site-header-inner {
    max-width: 1100px;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--c-primary);
}

.site-logo-text {
    font-family: var(--font-round);
    font-weight: 900;
    font-size: 24px;
    color: var(--c-text);
    letter-spacing: 0.02em;
}

.site-logo-text small {
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    color: var(--c-text-sub);
}

.site-back {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    border: 2px solid var(--c-line);
    background: #fff;
    transition: border-color .2s ease;
    white-space: nowrap;
}

.site-back:hover {
    border-color: var(--c-accent);
}


/* =========================
   ページタイトル
========================= */

.page-hero {
    text-align: center;
    padding: 56px 20px 40px;
    background:
        radial-gradient(circle at 85% 10%, #fde3cc 0, transparent 45%),
        radial-gradient(circle at 10% 100%, #f9e9d6 0, transparent 40%),
        var(--c-bg);
}

.page-eyebrow {
    margin: 0 0 6px;
    font-family: var(--font-round);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--c-primary);
}

.page-title {
    margin: 0;
    font-family: var(--font-round);
    font-weight: 900;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.4;
    color: var(--c-text);
}

.page-lead {
    margin: 12px 0 0;
    color: var(--c-text-sub);
    font-size: 15px;
}

.page-badges {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.page-badges li {
    background: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(120, 72, 30, 0.08);
}

.page-badges li span {
    color: var(--c-primary);
    font-weight: 700;
    margin-right: 6px;
}


/* =========================
   フッター
========================= */

.site-footer {
    margin-top: 64px;
    background: var(--c-text);
    color: #f3e7da;
    padding: 36px 20px;
    text-align: center;
}

.site-footer-logo {
    margin: 0 0 12px;
    font-family: var(--font-round);
    font-weight: 900;
    font-size: 22px;
}

.site-footer-logo small {
    font-size: 12px;
    margin-left: 4px;
    color: #cdb9a6;
}

.site-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.site-footer-nav a {
    font-size: 14px;
    color: #f3e7da;
    text-decoration: none;
}

.site-footer-nav a:hover {
    text-decoration: underline;
}

.site-footer-copy {
    margin: 0;
    font-size: 12px;
    color: #cdb9a6;
}


/* =========================
   スマホ
========================= */

@media (max-width: 640px) {
    .site-header-inner {
        height: 56px;
    }

    .site-logo-text {
        font-size: 21px;
    }

    .site-back {
        font-size: 13px;
        padding: 4px 12px;
    }

    .page-hero {
        padding: 36px 16px 28px;
    }
}


/* =========================
   利用規約・プライバシーポリシー用
========================= */

button.site-back {
    font-family: var(--font-body);
    cursor: pointer;
}

span.site-logo {
    cursor: default;
}

.doc-tab-note {
    max-width: 780px;
    margin: 0 auto 20px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #8a5a1f;
    background: #fff6e0;
    border: 1px solid #f6dfae;
    border-radius: 12px;
}

.doc-tab-note[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .doc-tab-note {
        margin: 0 16px 16px;
    }
}
