/* ==========================================================
   チケット申込フォーム（single-event.php / inc/ticket-form.php）
   ========================================================== */

.ec-ticket {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid #ddd;
}

.ec-ticket h2 {
    margin-bottom: 0.75em;
}

.ec-ticket-row {
    margin: 0 0 1.25em;
}

.ec-ticket-label {
    display: block;
    margin-bottom: 0.35em;
    font-weight: bold;
}

.ec-ticket-label em {
    margin-left: 0.5em;
    padding: 1px 6px;
    font-size: 0.75em;
    font-style: normal;
    font-weight: normal;
    color: #fff;
    background: #b32d2e;
    border-radius: 3px;
}

.ec-ticket-form input[type="text"],
.ec-ticket-form input[type="email"],
.ec-ticket-form input[type="tel"],
.ec-ticket-form select,
.ec-ticket-form textarea {
    width: 100%;
    max-width: 480px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.ec-ticket-form select {
    width: auto;
    min-width: 8em;
}

.ec-ticket-hint,
.ec-ticket-remain {
    margin-left: 0.5em;
    font-size: 0.9em;
    color: #666;
}

.ec-ticket-closed {
    margin-left: 0.5em;
    font-size: 0.9em;
    color: #b32d2e;
}

.ec-ticket-sessions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-ticket-sessions li {
    margin: 0 0 0.4em;
}

.ec-ticket-sessions input[type="radio"] {
    margin-right: 0.4em;
}

.ec-ticket-notice {
    margin: 0 0 1.25em;
    padding: 12px 16px;
    background: #f6f7f7;
    border-left: 4px solid #999;
}

.ec-ticket-notice-ok {
    background: #f0f8f1;
    border-left-color: #2e7d32;
}

.ec-ticket-notice-error {
    background: #fdf1f1;
    border-left-color: #b32d2e;
}

.ec-ticket-notice ul {
    margin: 0;
    padding-left: 1.2em;
}

.ec-ticket-submit button {
    padding: 10px 32px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background: #2271b1;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.ec-ticket-submit button:hover {
    background: #135e96;
}

/* ボット対策用の入力欄（画面外に配置して見えなくする） */
.ec-ticket-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
