/*
Theme Name: Lightning Child
Theme URI: ★ テーマの公式サイトなどのURL（空欄でも可） ★
Template: lightning
Description: ★ テーマの説明（空欄でも可） ★
Author: ★ テーマ作成者の名前（空欄でも可） ★
Tags: 
Version: 0.5.1
*/


/* ------------------------------------------------------------ */
/*	熱気球フェスタ2023 搭乗抽選応募フォーム
/* ------------------------------------------------------------ */

table.mwForm {
    border: none;
    border-spacing: 6px;
    border-collapse: separate;
    margin: 0 0 20px;
}
table.mwForm th,
table.mwForm td {
    line-height: 1.6;
    border: 0;
    border-radius: 5px;
    padding: 13px;
}
table.mwForm th {
    width: 30%;
    color: #ffffff;
    background-color: #7abaf2;
}
table.mwForm td {
    width: 70%;
    border-bottom: none;
    background-color: #ffffff;
}
table.mwForm td span.ttl {
    font-weight: bold;
    display: inline-block;
    margin: 0 0 5px;
}
@media screen and (max-width: 991px) {
    table.mwForm {
        max-width: 100%;
        border-collapse: collapse;
    }
    table.mwForm tr {
        width: 100%;
        display: block;
        list-style: none;
    }
    table.mwForm th,
    table.mwForm td {
        width: 100%;
        text-align: left;
        display: list-item;
        border: none;
        padding: 10px 15px;
        box-sizing: border-box;
    }
    table.mwForm th {
        border-radius: 5px 5px 0 0;
    }
    table.mwForm td {
        border-radius: 0 0 5px 5px;
        margin-bottom: 8px !important;
    }
}

/* 必須・任意の設定 ------------------------- */

span.required, span.option {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 3px;
    position: relative;
    top: -1px;
    margin: 0 10px 0 0;
    padding: 3px 5px;
}
span.required {
    background-color: #ff0000;
}
span.option {
    background-color: #999999;
}
.mw_wp_form_confirm span.required,
.mw_wp_form_confirm span.option {
    display: none;
}

/* 入力フォームの設定 ------------------------- */

table.mwForm td input[type="text"],
table.mwForm td input[type="email"],
table.mwForm td textarea {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
table.mwForm td .mwform-tel-field input[type="text"] {
    width: unset;
}
.mw_wp_form .horizontal-item {
    margin: 0 10px 0 0;
}
.mw_wp_form .horizontal-item + .horizontal-item {
    margin: 0;
}
::placeholder {
    color: #dddddd;
}