@charset "utf-8";
#Contact {
    border-collapse: separate;
    border-spacing: 10px;
    display: table;
    margin: 30px auto;
}
#Contact dl {
    display: table-row;
}
#Contact dl dt {
    display: table-cell;
    font-size: 16px;
    line-height: 48px;
    vertical-align: top;
    text-align: left;
}
#Contact dl dt::before {
    background: #3666ff;
    border-radius: 6px;
    color: #ffffff;
    content: "任意";
    font-size: 12px;
    margin-right: 10px;
    padding: 2px 10px;
}
#Contact dl dt.required::before {
    background: #ff0000;
    border-radius: 6px;
    color: #ffffff;
    content: "必須";
    font-size: 12px;
    margin-right: 10px;
    padding: 2px 10px;
}
#Contact dl dt.none::before {
    display: none;
}
#Contact dl dd {
    display: table-cell;
    font-size: 16px;
    line-height: 38px;
    text-align: left;
    vertical-align: top;
}
#Contact dl dd label {
    font-size: 16px;
    margin: 0px;
}
#Contact .company {
    text-align: left;
}
#Contact .wpcf7-not-valid-tip {
    color: #ff0000;
    font-size: 14px;
}
#Contact .buttons {
    caption-side: bottom;
    display: table-caption;
    padding-top: 30px;
    text-align: center;
}
#Contact .buttons input {
    display: block;
    margin: 0 auto 10px auto;
}
#Contact input[type=text], #Contact input[type=email], #Contact input[type=tel] {
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 0;
    padding: 15px 10px;
    width: 100%;
}
#Contact .agree {
    text-align: center;
}
#Contact .multi-text {
    display: flex;
    justify-content: space-between;
}
#Contact .multi-text > span {
    width: 49%;
}
#Contact .multi-select {
    display: flex;
}
#Contact .multi-select .wpcf7-form-control-wrap {
    margin: 0px 10px;
}
#Contact select {
    border: 1px solid #cccccc;
    border-radius: 0;
    padding: 10px 10px;
    margin: 0px 10px 0px 0px;
    width: 100%;
}
#Contact textarea {
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 0;
    padding: 10px 10px;
    width: 100%;
}
#Contact input[type=submit] {
    appearance: none;
    -webkit-appearance: none;
    background: #004EA2;
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 50px;
	width:100%;
}

@media screen and (max-width: 968px) {
    #Contact {
        border-collapse: separate;
        border-spacing: 10px;
        display: table;
        margin: 30px auto;
    }
    #Contact dl {
        display: block;
    }
    #Contact dl dt {
        display: block;
        font-size: 16px;
        line-height: 38px;
        text-align: left;
        vertical-align: top;
    }
    #Contact dl dt::before {
        background: #3666ff;
        border-radius: 6px;
        color: #ffffff;
        content: "任意";
        font-size: 12px;
        margin-right: 10px;
        padding: 2px 10px;
    }
    #Contact dl dt.required::before {
        background: #ff0000;
        border-radius: 6px;
        color: #ffffff;
        content: "必須";
        font-size: 12px;
        margin-right: 10px;
        padding: 2px 10px;
    }
    #Contact dd {
        text-align: left;
    }
    #Contact dd>span {
        padding: 0px;
        text-align: left;
    }
    #Contact dd label {
        white-space: nowrap;
    }
    #Contact .wpcf7-not-valid-tip {
        color: #ff0000;
        font-size: 14px;
    }
    #Contact .buttons {
        caption-side: bottom;
        display: table-caption;
        padding-top: 30px;
        text-align: center;
    }
    #Contact .multi-select {
        white-space: nowrap;
        flex-wrap: wrap;
    }
    #Contact input[type=text], #Contact input[type=email], #Contact input[type=tel], #Contact textarea {
        border: 1px solid #cccccc;
        border-radius: 0;
        box-sizing: border-box;
        margin-bottom: 3px;
        padding: 10px 10px;
        width: 100%;
    }
    #Contact select {
        border: 1px solid #cccccc;
        border-radius: 6px;
        box-sizing: border-box;
        height: 36px;
        margin-bottom: 6px;
        padding: 10px 10px;
        width: 100%;
    }
    #Contact input[type=submit] {
        appearance: none;
        -webkit-appearance: none;
        background: #004EA2;
        border: none;
        border-radius: 0;
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        padding: 20px 50px;
		width:100%;
    }
}