/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 22 2026 | 09:45:34 */
/*================================================
 * お問い合わせフォーム（CF7）
 * 華やかなグラデーション背景のラッパー
 ================================================*/

/*----------------------------------------
 * 全体ラッパー
 *---------------------------------------*/
.wpcf7 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 40px auto;
    padding: 60px 40px;
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 50%, #fad0c4 100%);
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 装飾的な背景エフェクト */
.wpcf7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="20" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

/* 内側のコンテンツエリア */
.wpcf7 > * {
    position: relative;
    z-index: 1;
}

/*----------------------------------------
 * フォーム本体（白い背景）
 *---------------------------------------*/
.wpcf7 form {
    width: 100%;
    max-width: 550px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/*----------------------------------------
 * フォーム項目
 *---------------------------------------*/
.form-item {
    width: 100%;
    margin-bottom: 40px;
}

.form-item:last-of-type {
    margin-bottom: 30px;
}

/*----------------------------------------
 * ラベル
 *---------------------------------------*/
.wpcf7 label {
    display: block;
    margin-bottom: 12px;
    color: #1a202c;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* 必須・任意ラベル */
.required,
.optional {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

.required {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    box-shadow: 0 2px 4px rgba(238, 82, 83, 0.15);
}

.optional {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    box-shadow: 0 2px 4px rgba(113, 128, 150, 0.15);
}

/* 必須項目の強調 */
.wpcf7 label:has(.required) {
    color: #1a202c;
    font-weight: 800;
}

/*----------------------------------------
 * 入力欄（共通）
 *---------------------------------------*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 16px 20px;
    color: #1a202c;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ホバー時 */
.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover {
    background-color: #fff8f5;
    border-color: #ffb199;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    background-color: #fff;
    border-color: #ff8a5c;
    outline: none;
    transform: scale(1.005);
    box-shadow: 0 0 0 3px rgba(255, 138, 92, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* エラー状態 */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    background-color: #fff5f5;
    border-color: #ee5253;
}

.wpcf7 input.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 3px rgba(238, 82, 83, 0.1);
}

/* 無効状態 */
.wpcf7 input:disabled,
.wpcf7 select:disabled,
.wpcf7 textarea:disabled {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    opacity: 0.7;
    cursor: not-allowed;
}

/* セレクトボックスの矢印 */
.wpcf7 select {
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff8a5c' viewBox='0 0 24 24' stroke='%23ff8a5c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

/*----------------------------------------
 * 送信ボタン
 *---------------------------------------*/
/* 送信ボタンを囲むpタグ */
.wpcf7 form p:last-of-type {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 50px auto 0 auto !important;
    padding: 0 !important;
    gap: 10px;
    text-align: center !important;
    border: none !important;
}

.wpcf7 input[type="submit"] {
    display: inline-block !important;
    min-width: 220px;
    margin: 0 !important;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, #ff9a5a 0%, #ff7a3d 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    box-shadow: 0 6px 12px rgba(255, 122, 61, 0.2), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #ffad7a 0%, #ff8a4d 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 122, 61, 0.25), 0 3px 6px rgba(0, 0, 0, 0.05);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(255, 122, 61, 0.2);
}

/* 送信中のボタン */
.wpcf7 input[type="submit"].submitting {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    transform: scale(0.98);
    opacity: 0.9;
    cursor: wait;
}

/* スピナー */
.wpcf7-spinner {
    position: relative;
    top: 2px;
    margin: 0 !important;
}

/*----------------------------------------
 * メッセージ
 *---------------------------------------*/
/* エラーメッセージ */
.wpcf7-not-valid-tip {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    color: #ee5253;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    background: rgba(255, 107, 107, 0.08);
    border-left: 3px solid #ee5253;
    border-radius: 20px;
}

/* レスポンスメッセージ */
.wpcf7-response-output {
    width: 100%;
    margin: 30px 0 0 0 !important;
    padding: 18px !important;
    font-weight: 600;
    text-align: center;
    border: none !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* 送信成功 */
.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #fff;
    background: linear-gradient(135deg, #48bb78 0%, #2f855a 100%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* エラー時 */
.wpcf7-response-output.wpcf7-validation-errors {
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/*================================================
 * レスポンシブ対応
 ================================================*/
@media (max-width: 640px) {
    .wpcf7 {
        margin: 20px 15px;
        padding: 30px 20px;
    }
    
    .wpcf7 form {
        padding: 40px 30px;
    }
    
    .form-item {
        margin-bottom: 30px;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 14px 18px;
    }
    
    .wpcf7 input[type="submit"] {
        min-width: 180px;
        padding: 10px 24px;
        font-size: 16px;
    }
}