/* お問い合わせページ専用CSS */

/* Contact Form 7 カスタムスタイル */
.cf7-form-wrapper {
    max-width: 100%;
}

.form-row {
    margin-bottom: 25px;
}

.form-row label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: #e91e63;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

/* セレクトボックスのスタイル */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    cursor: pointer;
}

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

/* 送信ボタンのスタイル */
.submit-row {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-transform: none;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #c2185b, #880e4f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Form 7 エラー・成功メッセージ */
.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.wpcf7 .wpcf7-validation-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.wpcf7 .wpcf7-spam-blocked {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.wpcf7 .wpcf7-mail-sent-ng {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

/* バリデーションエラー時のフィールドスタイル */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* スピナー（送信中）のスタイル */
.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 10px;
}

.wpcf7-spinner {
    margin-left: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form-control {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* お問い合わせページ専用CSS */
.contact-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
}

.contact-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-header .page-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.contact-form-wrapper {
    padding: 30px;
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

.contact-form {
    margin-bottom: 30px;
}

.contact-notes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #e91e63;
}

.contact-notes h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.contact-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-notes li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: #666;
}

.contact-notes li:before {
    content: "•";
    color: #e91e63;
    position: absolute;
    left: 0;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-box,
.faq-link-box,
.business-types-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info-box h3,
.faq-link-box h3,
.business-types-box h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

.contact-method {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method h4 {
    font-size: 1rem;
    background: none;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-method h4 i {
    color: #e91e63;
    width: 16px;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e91e63;
    margin: 8px 0;
}

.business-hours,
.email-note {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.email-address {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin: 8px 0;
}

.company-info {
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-faq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e91e63;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-faq:hover {
    background: #c2185b;
    transform: translateY(-2px);
    color: #fff;
}

.business-types {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-types li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
}

.business-types li i {
    color: #e91e63;
    width: 16px;
}

/* サンクスページ専用スタイル */
.thanks-header {
    text-align: center;
    padding: 60px 0;
    background: #fff;
    border-bottom: 3px solid #2196f3;
    margin-bottom: 50px;
}

.thanks-header .page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
}

.thanks-header .thanks-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #4caf50;
}

.thanks-header .page-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.thanks-message-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 40px;
}

.thanks-message-box h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2196f3;
}

.thanks-message-box p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.thanks-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 25px;
    border-left: 4px solid #2196f3;
    margin-bottom: 30px;
}

.thanks-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.thanks-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thanks-info li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    color: #666;
}

.thanks-info li:before {
    content: "✓";
    color: #4caf50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-home,
.btn-contact-again {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-home {
    background: #2196f3;
    color: #fff;
}

.btn-home:hover {
    background: #1976d2;
    transform: translateY(-2px);
    color: #fff;
}

.btn-contact-again {
    background: #fff;
    color: #2196f3;
    border: 2px solid #2196f3;
}

.btn-contact-again:hover {
    background: #2196f3;
    color: #fff;
    transform: translateY(-2px);
}

.thanks-faq-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.thanks-faq-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.thanks-faq-section p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-header .page-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-info-box,
    .faq-link-box,
    .business-types-box {
        padding: 20px;
    }
    
    .thanks-header .page-title {
        font-size: 2.2rem;
    }
    
    .thanks-header .thanks-icon {
        font-size: 3rem;
    }
    
    .thanks-message-box {
        padding: 25px;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-home,
    .btn-contact-again {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
} 