@charset "UTF-8";

/* =======================================================================
   問い合わせフォーム  スタイル
   ★ テーマカラーは下の :root を、親サイト（../style.css）と同じ値に合わせてください
   ======================================================================= */

:root {
    --main:       #16284a;   /* ネイビー */
    --main-dark:  #0f1d38;
    --main-deep:  #0a142a;
    --main-light: #284874;
    --accent:       #c2a25c; /* ゴールド */
    --accent-light: #d4b878;

    --bg: #ffffff;
    --bg-soft: #f4f6fb;
    --text: #232a33;
    --text-light: #5f6b78;
    --line: #e3e8f0;
    --shadow: 0 10px 30px rgba(16, 28, 60, 0.08);
    --req: #c0392b;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: var(--text);
    background: var(--bg-soft);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 12px rgba(16, 28, 60, 0.05);
}
.header-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-back { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--main); }
.header-back:hover { color: var(--main-light); }
.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--main);
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-mark {
    font-family: "Noto Serif JP", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
}
.header-title {
    font-family: "Noto Serif JP", serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--main-dark);
    letter-spacing: 0.04em;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(118deg, var(--main-deep) 0%, var(--main-dark) 45%, var(--main) 100%);
    color: #fff;
    text-align: center;
    padding: 56px 24px 60px;
}
.hero-en { font-size: 12px; letter-spacing: 0.24em; color: var(--accent-light); font-weight: 700; }
.hero-title {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 10px;
}
.hero-lead { font-size: 15px; color: rgba(255, 255, 255, 0.88); margin-top: 16px; line-height: 2; }
.hero-jump { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.jump-btn {
    display: inline-block;
    background: #fff;
    color: var(--main);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 4px;
    transition: background .2s, transform .2s;
}
.jump-btn:hover { background: var(--bg-soft); transform: translateY(-2px); }
.jump-btn.is-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.jump-btn.is-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== Phone guidance ===== */
.tel-guide {
    max-width: 832px;
    margin: -32px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 24px;
}
.tel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 22px 24px;
    text-align: center;
}
.tel-card.is-emg { border-top: 4px solid var(--req); }
.tel-card.is-support { border-top: 4px solid var(--accent); }
.tel-card .tc-label { font-size: 13px; font-weight: 700; color: var(--main-dark); }
.tel-card.is-emg .tc-label { color: var(--req); }
.tel-card .tc-num {
    font-family: "Noto Serif JP", serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--main-dark);
    margin: 6px 0 4px;
}
.tel-card.is-emg .tc-num { color: var(--req); }
.tel-card .tc-navi { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.tel-card.is-emg .tc-navi { color: var(--req); }
.tel-card .tc-time { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }

/* ===== Form section ===== */
.form-section { padding: 64px 0; scroll-margin-top: 20px; }
.form-section .sec-en { font-size: 12px; letter-spacing: 0.24em; color: var(--accent); font-weight: 700; text-align: center; }
.form-section .sec-ttl {
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--main-dark);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.06em;
}

/* notice */
.notice {
    background: #fff;
    border-left: 5px solid var(--accent);
    border-radius: 6px;
    padding: 22px 26px;
    margin: 32px auto 0;
    box-shadow: var(--shadow);
}
.notice.is-warn { border-left-color: var(--req); }
.notice-ttl { font-weight: 700; color: var(--main-dark); margin-bottom: 10px; }
.notice ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.95; color: var(--text); }
.notice ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.notice .small { font-size: 13px; color: var(--text-light); margin-top: 12px; }
.notice strong { color: var(--main-dark); }

/* form card */
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px 40px 44px;
    margin-top: 28px;
}
.form-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.form-row:first-of-type { padding-top: 4px; }
.form-row:last-of-type { border-bottom: none; padding-bottom: 4px; }
.form-label {
    width: 170px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--main-dark);
    font-size: 15px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.04em; line-height: 1.6; }
.badge.req { background: var(--req); color: #fff; }
.badge.opt { background: #e3e8f0; color: var(--text-light); }
.form-input { flex: 1; min-width: 0; }
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input input[type="date"],
.form-input select,
.form-input textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #fbfcfe;
    transition: border-color .2s, box-shadow .2s;
}
.form-input input:focus,
.form-input select:focus,
.form-input textarea:focus {
    outline: none;
    border-color: var(--main-light);
    box-shadow: 0 0 0 3px rgba(16, 28, 60, 0.12);
    background: #fff;
}
.form-input textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.form-input .hint { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }
.datetime-set { display: flex; gap: 10px; flex-wrap: wrap; }
.datetime-set input[type="date"] { flex: 1 1 180px; }
.datetime-set select { flex: 1 1 120px; }

/* ===== 個人情報の利用目的明示 ＋ 同意チェックボックス ===== */
.form-consent {
    margin: 28px 0 8px;
    padding: 20px 22px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--main);
    border-radius: 6px;
}
.form-consent .consent-purpose {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 14px;
}
.form-consent .consent-purpose a {
    color: var(--main);
    text-decoration: underline;
    font-weight: 700;
}
.form-consent .consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 500;
}
.form-consent .consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--main);
    cursor: pointer;
}
.form-consent .consent-check a {
    color: var(--main);
    text-decoration: underline;
    font-weight: 700;
}
.form-consent .consent-check .badge { margin-left: 4px; }

.form-submit { text-align: center; margin-top: 28px; }
.btn-submit {
    display: inline-block;
    background: var(--main);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    padding: 16px 64px;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    font-family: inherit;
}
.btn-submit:hover {
    background: var(--main-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 28, 60, 0.28);
}

.section-divider { border: none; border-top: 1px solid var(--line); max-width: 880px; margin: 0 auto; }

/* link card (thanks) */
.link-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 52px 44px;
    box-shadow: var(--shadow);
}
.link-card .lc-ttl {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--main-dark);
    letter-spacing: 0.04em;
}
.link-card .lc-text { color: var(--text-light); font-size: 15px; line-height: 2; margin: 18px auto 28px; }

/* ===== Footer ===== */
.site-footer { background: var(--main-deep); color: rgba(255, 255, 255, 0.7); text-align: center; padding: 28px 24px; margin-top: 20px; }
.site-footer .f-mark { font-family: "Noto Serif JP", serif; letter-spacing: 0.1em; color: #fff; font-size: 15px; font-weight: 700; }
.site-footer .f-copy { font-size: 12px; margin-top: 8px; color: rgba(255, 255, 255, 0.5); }

/* ===== Responsive ===== */
@media screen and (max-width: 680px) {
    .hero-title { font-size: 23px; }
    .hero-jump { flex-direction: column; align-items: stretch; }
    .tel-guide { grid-template-columns: 1fr; margin-top: -24px; }
    .form-section { padding: 44px 0; }
    .form-section .sec-ttl { font-size: 21px; }
    .form-card { padding: 24px 18px 30px; }
    .form-row { flex-direction: column; gap: 8px; padding: 16px 0; }
    .form-label { width: auto; padding-top: 0; }
    .btn-submit { width: 100%; padding: 16px 0; }
    .header-title { font-size: 15px; }
}
