@charset "UTF-8";

p:empty {
    display: none;
}


/**************contact foam7***************/

/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    font-size: 16px;
    color: #333333;
    font-weight: bold;
}

/* 必須フィールドのラベルスタイル */
.wpcf7-form .required {
    background-color: #ff0000;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
    font-size: 12px;
}

/* インプットフィールドのスタイル */
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    background-color: #ffffff;
}

.wpcf7-form input[type="radio"] {
    width: auto;
}

.wpcf7-form input[type="checkbox"] {
    width: auto;
    margin-bottom: 0;
}

/* テキストエリアのスタイル */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
    background-color: #5cb85c;
    border-color: #4cae4c;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: none;
}

.wpcf7-form input[type="submit"]:hover {
    opacity: .7;
}

/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
    color: red;
    font-size: 14px;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    color: green;
    font-size: 16px;
    margin-bottom: 20px;
}

.submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wpcf7-form-control-wrap {
    display: block;
}