@charset "UTF-8";

/* =========================================================
   合同会社LPT 量産HP セットアップ・ヒアリングフォーム
   ベースは ../style.css（ネイビー＋ゴールド・明朝見出し）
   ========================================================= */

/* ヒアリング画面ではヘッダーのナビを最小化 */
.site-header .gnav ul { gap: 12px; }
.site-header .gnav a {
    font-size: 1.4rem;
    color: #cdd5e3;
}
.site-header .gnav a:hover { color: var(--gold-light); }

/* ====== ヒーロー ====== */
.ob-hero {
    margin-top: 84px;
    padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: #fff;
    text-align: center;
}
.ob-hero .ob-eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    letter-spacing: .35em;
    color: var(--gold-light);
    margin-bottom: 18px;
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}
.ob-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.5;
    color: #fff;
    margin-bottom: 22px;
}
.ob-hero .ob-sub {
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    line-height: 1.85;
    color: #d4dbe8;
    max-width: 720px;
    margin: 0 auto 32px;
}
.ob-hero .ob-sub strong { color: var(--gold-light); }
.ob-hero .ob-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.ob-hero .ob-steps li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(216,190,134,.25);
    border-radius: 999px;
    font-size: 1.35rem;
    color: #eaeef6;
}
.ob-hero .ob-steps .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ====== フォーム本体 ====== */
.ob-body {
    padding: clamp(40px, 6vw, 64px) 0 clamp(60px, 8vw, 96px);
    background: var(--bg);
}
.wrap-narrow {
    width: min(820px, 92%);
    margin-inline: auto;
}

.hearing-form { display: block; }

/* セクション枠 */
.hf-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(22px, 4vw, 36px) clamp(20px, 4vw, 36px);
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(16,29,57,.06);
}
.hf-section legend {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 0;
}
.hf-section .hf-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 50%;
    font-family: "Noto Serif JP", serif;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.hf-desc {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 20px;
}

/* 行（ラベル＋入力） */
.hf-row { margin-bottom: 22px; }
.hf-row:last-child { margin-bottom: 0; }
.hf-label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.45rem;
    margin-bottom: 10px;
}
.hf-label .req {
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: 2px;
}
.hf-label .opt {
    color: var(--muted);
    font-size: 1.2rem;
    margin-left: 10px;
}
.hf-row input[type="text"],
.hf-row input[type="email"],
.hf-row input[type="tel"],
.hf-row textarea,
.hf-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: 1.5rem;
    font-family: inherit;
    color: var(--text);
    background: #fbfcfd;
    transition: border-color .2s, box-shadow .2s;
}
.hf-row input:focus,
.hf-row textarea:focus,
.hf-row select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(194,162,92,.2);
    background: #fff;
}
.hf-row textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.8;
}
.hf-hint {
    font-size: 1.25rem;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.6;
}

/* ドメイン入力（[希望文字列] + .com の横並び） */
.domain-input-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fbfcfd;
    transition: border-color .2s, box-shadow .2s;
}
.domain-input-row:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(194,162,92,.2);
    background: #fff;
}
.domain-input-row input[type="text"] {
    flex: 1;
    width: auto !important;
    min-width: 0;
    border: none !important;
    background: transparent !important;
    padding: 12px 14px !important;
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
}
.domain-input-row input[type="text"]:focus {
    box-shadow: none !important;
    background: transparent !important;
}
.domain-input-row .domain-tld {
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: rgba(22,40,74,.08);
    color: var(--navy);
    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 1.5rem;
    border-left: 1.5px solid var(--line);
    flex-shrink: 0;
}

/* ファイル入力 */
.hf-file {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--line);
    border-radius: 8px;
    background: #fbfcfd;
    font-size: 1.35rem;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.hf-file:hover {
    border-color: var(--gold);
    background: rgba(194,162,92,.06);
}
.hf-file::file-selector-button {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 14px;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}
.hf-file::file-selector-button:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

/* ラジオ／チェック群 */
.hf-radio-group,
.hf-check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hf-check-group.hf-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}
.hf-radio-group label,
.hf-check-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    background: #fafbfc;
    font-size: 1.4rem;
    line-height: 1.55;
    color: var(--text);
}
.hf-radio-group label:hover,
.hf-check-group label:hover {
    background: #f0f3f8;
    border-color: rgba(194,162,92,.5);
}
.hf-radio-group input[type="radio"],
.hf-check-group input[type="checkbox"] {
    accent-color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
    transform: scale(1.15);
}
.hf-radio-group label:has(input:checked),
.hf-check-group label:has(input:checked) {
    background: rgba(194,162,92,.12);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}
.hf-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    color: var(--ink);
    cursor: pointer;
    margin-top: 6px;
}
.hf-inline-check input[type="checkbox"] {
    accent-color: var(--gold);
    transform: scale(1.1);
}

/* 標準文ボックス */
.hf-default {
    background: rgba(22,40,74,.05);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 1.35rem;
    color: var(--ink);
    line-height: 1.85;
}
.hf-default strong { color: var(--navy); }

/* ====== テーマカラー選択（単色見本付きラジオカード） ====== */
.color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}
@media (min-width: 540px) {
    .color-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 820px) {
    .color-grid { grid-template-columns: repeat(4, 1fr); }
}
.color-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}
.color-card:hover {
    transform: translateY(-2px);
    border-color: rgba(194,162,92,.5);
    box-shadow: 0 6px 16px rgba(16,29,57,.10);
}
.color-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.color-card:has(input:checked) {
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(194,162,92,.30);
    background: linear-gradient(180deg, #fffaf0 0%, #fff 40%);
}
.color-card:has(input:checked)::after {
    content: "✓ 選択中";
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.cc-swatch-single {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
}
.cc-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
}
.cc-codes {
    font-family: "Courier New", monospace;
    color: var(--muted);
    font-size: 1.2rem;
    text-align: center;
}

/* ====== レスポンシブ ====== */
@media (max-width: 600px) {
    .ob-hero .ob-steps li { font-size: 1.25rem; padding: 8px 14px; }
    .hf-section legend { font-size: 1.7rem; }
    .hf-section .hf-num { width: 32px; height: 32px; font-size: 1.3rem; }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
}
