@charset "UTF-8";
/* ============================================================================
   BINS EX 申込サイト 差分スタイル
   ----------------------------------------------------------------------------
   土台は サイト共通 css/style.css（binsics 等と同じ）。ここには共通側に無い
   フォーム・ステップ・確認画面・再現UIカードなどの差分だけを置く。
   色・角丸・影は共通の CSS変数（--primary/--accent/--action-gradient 等）を使う。
   ========================================================================== */

/* ---------- 小物 ---------- */
.bx-ribbon {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.bx-ribbon.is-accent {
    background: var(--action-gradient);
}

.wrap-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-only {
    display: none;
}

@media (max-width: 640px) {
    .sp-only {
        display: inline;
    }
}

/* 左寄せの小見出し（フォーム画面用。共通 .section-title は中央・大なので別物） */
.bx-title {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 8px;
    padding-bottom: 10px;
    position: relative;
}

.bx-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.bx-lead {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 22px;
}

/* 既存フォーム画面が使う旧クラス名の別名（sec/card系） */
.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec {
    padding: 40px 0 0;
}

.sec-title {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 8px;
    padding-bottom: 10px;
    position: relative;
}

.sec-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.sec-lead {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 22px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.card p {
    font-size: 0.95rem;
}

.card-soft {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 18px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
}

/* ---------- カード（フォーム画面用の白箱） ---------- */
.bx-card {
    background: var(--bg-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.bx-card-soft {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 18px;
}

.bx-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
}

/* ---------- チェック付き箇条書き（共通 .check-list と同じ見た目・独立版） ---------- */
.pt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pt-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

.pt-list b {
    color: var(--primary);
}

.note-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.note-list li {
    margin-bottom: 6px;
    list-style: disc;
}

/* ---------- ステップ表示 ---------- */
.steps {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 34px 0 26px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100px;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #94a3b8;
    user-select: none;
}

.step.is-active .step-circle {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .3);
}

.step.is-done .step-circle {
    background: var(--accent);
    color: #fff;
}

.step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}

.step.is-active .step-label,
.step.is-done .step-label {
    color: var(--primary);
}

/* ---------- フォーム ---------- */
.field {
    margin-bottom: 18px;
}

.field > label,
.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.req {
    color: #dc2626;
    margin-left: 2px;
}

.opt {
    color: #94a3b8;
    font-weight: 500;
    margin-left: 4px;
}

.input,
select.input,
textarea.input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    background: #fff;
    color: var(--text-main);
}

textarea.input {
    min-height: 100px;
    resize: vertical;
}

.input:focus,
select.input:focus,
textarea.input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.input.is-err {
    border-color: #dc2626;
    background: #fef4f3;
}

.input-zip {
    width: 160px;
}

.field-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

.err {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 5px;
}

.err-box {
    border: 1.5px solid #dc2626;
    background: #fef4f3;
    color: #991b1b;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.err-box ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.err-box li {
    list-style: disc;
}

.zip-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.btn-zip {
    padding: 12px 18px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-sans);
}

/* 店舗ブロック */
.shop-block {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    padding: 16px;
    margin-bottom: 12px;
}

.shop-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.shop-no {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.shop-del {
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
}

.shop-del:hover {
    color: #dc2626;
}

.btn-add {
    width: 100%;
    padding: 12px;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-add:hover {
    border-color: var(--accent);
    color: var(--primary);
}

/* 同意チェック */
.agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #fff;
    margin-bottom: 10px;
    cursor: pointer;
}

.agree input[type="checkbox"],
.agree input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: var(--accent);
}

.agree-text {
    font-size: 0.85rem;
}

.agree-text a {
    color: #0369a1;
    text-decoration: underline;
}

.agree-text small {
    display: block;
    color: #94a3b8;
    font-size: 0.72rem;
    margin-top: 3px;
}

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-sans);
    transition: all .25s ease;
}

/* 主CTA＝共通 .btn-cta-strong と同じゴールド */
.btn-gold,
.btn-blue {
    background: var(--action-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, .4);
}

.btn-gold:hover,
.btn-blue:hover {
    background: var(--action-gradient-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-navy:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: #fff;
    color: var(--secondary);
    border: 1.5px solid #cbd5e1;
    font-weight: 700;
    box-shadow: none;
}

.btn-ghost:hover {
    border-color: var(--secondary);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.btn-row .btn {
    flex: 1;
}

/* ---------- 確認画面 ---------- */
.conf-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.9rem;
}

.conf-row:last-child {
    border-bottom: none;
}

.conf-row dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex: 0 0 34%;
    margin: 0;
}

.conf-row dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
    word-break: break-all;
}

.done-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* ---------- 再現UIカード（カタログの画面イメージをCSSで再現） ---------- */
.mock {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-lg);
    max-width: 430px;
    width: 100%;
}

.mock-bar {
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
}

.mock-body {
    padding: 18px;
}

.mock-row {
    height: 10px;
    border-radius: 5px;
    background: #eef2f7;
    margin: 8px 0;
}

.mock-row.w80 {
    width: 80%;
}

.mock-row.w60 {
    width: 60%;
}

.mock-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    padding: 2px 10px;
    margin: 0 4px 4px 0;
}

.mock-stats {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.mock-stat {
    flex: 1;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.mock-stat small {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.mock-stat b {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ---------- 料金プラン ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.plan {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.plan.is-featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.plan-head {
    background: #f1f5f9;
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.plan.is-featured .plan-head {
    background: var(--primary);
    color: #fff;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.plan-sub {
    font-size: 0.72rem;
    opacity: .8;
}

.plan-price {
    text-align: center;
    padding: 16px;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary);
}

.plan-price span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan ul {
    margin: 0;
    padding: 0 18px 18px;
}

.plan li {
    font-size: 0.85rem;
    padding: 6px 0 6px 22px;
    position: relative;
    list-style: none;
}

.plan li::before {
    content: '✓';
    position: absolute;
    left: 2px;
    color: var(--accent);
    font-weight: bold;
}

.price-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 10px;
    text-align: center;
}

/* 導入の流れ（4ステップ） */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 40px;
    counter-reset: fstep;
}

.flow-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 22px 18px 18px;
    position: relative;
    box-shadow: var(--shadow-sm);
    counter-increment: fstep;
}

.flow-step::before {
    content: counter(fstep);
    position: absolute;
    top: -14px;
    left: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(212, 175, 55, .4);
}

.flow-step h4 {
    font-size: .95rem;
    color: var(--primary);
    margin: 4px 0 6px;
}

.flow-step p {
    font-size: .8rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ（アコーディオン） */
.faq {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq summary {
    cursor: pointer;
    padding: 16px 18px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq summary::before {
    content: 'Q';
    color: var(--accent);
    font-weight: 900;
    margin-right: 10px;
}

.faq summary::after {
    content: '＋';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: 700;
}

.faq details[open] summary::after {
    content: '−';
}

.faq .faq-a {
    padding: 0 18px 16px 44px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 写真（角丸＋影） */
.photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* 全幅の写真バンド（オーバーレイ文字つき） */
.img-band {
    position: relative;
    min-height: 300px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.img-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
}

.img-band .band-inner {
    position: relative;
    color: #fff;
    padding: 60px 20px;
}

.img-band h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    margin: 0 0 8px;
}

.img-band p {
    color: #e2e8f0;
    font-size: .95rem;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

/* 2カラム（説明×再現UI） */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.split .mock {
    justify-self: center;
}

@media (max-width: 780px) {
    .split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---------- 詳細ページの閲覧保護（会議要望②-3） ---------- */
.protected {
    user-select: none;
    -webkit-user-select: none;
}

@media print {

    .protected,
    header,
    footer {
        display: none !important;
    }

    body::before {
        content: 'このページは印刷できません。ご覧になるには、メールに記載の専用URLからアクセスしてください。';
        display: block;
        padding: 40px;
        font-size: 14px;
    }
}

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
    .bx-card {
        padding: 20px 16px;
    }

    .btn-row {
        flex-direction: column-reverse;
    }

    .conf-row {
        flex-direction: column;
        gap: 2px;
    }

    .conf-row dd {
        text-align: left;
    }

    .step {
        width: 86px;
    }

    /* iOSの自動ズームを防ぐ */
    .input,
    select.input,
    textarea.input {
        font-size: 16px;
    }
}
