@charset "UTF-8";

#sfcf-wrap {
    max-width: 680px;
    margin: 0 auto;
}

#sfcf-form .sfcf-group {
    margin-bottom: 1.4em;
}

.sfcf-label {
    display: flex;
    align-items: center;
    gap: .5em;
    font-weight: bold;
    margin-bottom: .4em;
    flex-wrap: wrap;
}

.sfcf-req {
    font-size: .75em;
    line-height: 1rem;
    background: #c00;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: normal;
    display: inline-block;
}

.sfcf-opt {
    font-size: .75em;
    line-height: 1rem;
    background: #888;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: normal;
    display: inline-block;
}

.sfcf-desc {
    display: block;
    font-size: .85em;
    color: #666;
    margin-top: .3em;
}

#sfcf-form input[type="text"],
#sfcf-form input[type="email"],
#sfcf-form input[type="tel"],
#sfcf-form input[type="url"],
#sfcf-form input[type="number"],
#sfcf-form select,
#sfcf-form textarea {
    width: 100%;
    padding: .5em .7em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

#sfcf-form textarea {
    resize: vertical;
}

#sfcf-form input:focus,
#sfcf-form select:focus,
#sfcf-form textarea:focus {
    outline: 2px solid #0073aa;
    border-color: #0073aa;
}

.sfcf-choices {
    display: flex;
    flex-wrap: wrap;
    gap: .5em 1.5em;
}

.sfcf-choice {
    display: flex;
    align-items: center;
    gap: .4em;
    font-weight: normal;
    cursor: pointer;
}

.sfcf-errors {
    background: #fff0f0;
    border: 1px solid #c00;
    border-radius: 4px;
    padding: 1em;
    margin-bottom: 1.2em;
}

.sfcf-errors p {
    margin: 0 0 .3em;
    color: #c00;
}

.sfcf-thanks {
    background: #f0fff0;
    border: 1px solid #090;
    border-radius: 4px;
    padding: 1.5em;
    color: #060;
}

.sfcf-confirm-lead {
    margin-bottom: 1em;
}

.sfcf-confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.sfcf-confirm-table th,
.sfcf-confirm-table td {
    border-bottom: 1px solid #ddd;
    padding: .7em .8em;
    text-align: left;
    vertical-align: top;
}

.sfcf-confirm-table th {
    width: 32%;
    background: #f7f7f7;
    font-weight: bold;
}

.sfcf-actions {
    display: flex;
    gap: .8em;
    flex-wrap: wrap;
    margin-top: 1em;
}

.sfcf-btn {
    padding: .6em 1.8em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background .2s;
}

.sfcf-btn-primary {
    background: #0073aa;
    color: #fff;
}

.sfcf-btn-primary:hover,
.sfcf-btn-primary:focus {
    background: #005a87;
}

.sfcf-btn-primary:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.sfcf-btn-secondary {
    background: #eee;
    color: #333;
    border: 1px solid #ccc;
}

.sfcf-btn-secondary:hover,
.sfcf-btn-secondary:focus {
    background: #ddd;
}

/* ハニーポット: display:none はボットに無視されやすいため visibility＋高さゼロで隠す */
.sfcf-hp {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}