/*
Theme Name: GEXT Theme
Author: Your Name
Description: A custom theme for GEXT based on a static HTML site.
Version: 1.0
*/

/* TailwindCSSのベーススタイルとユーティリティをインポート（実際のプロジェクトではビルドプロセスで生成します） */
/* ここではHTML内のスタイルを直接記述します */

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
}
.tab-button.active {
    background-color: #ff6b6b;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(255, 107, 107, 0.3), 0 2px 4px -2px rgba(255, 107, 107, 0.2);
}
.tab-button:not(.active):hover {
    background-color: #ffebeb;
}
.policy-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}
.policy-content p {
    margin-bottom: 1rem;
}
.policy-content ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}
.policy-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form 7 Input and Textarea Styles */
/* セレクタをシンプルにし、フォーム内の要素に直接スタイルを適用します */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    /* !importantを追加して、プラグインやブラウザのスタイルを強制的に上書きします */
    font-family: inherit !important;
    font-size: 1rem !important;
    
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #4a5568;
    line-height: 1.5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* フォーカス時のスタイルも同様に具体性を高めます */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #ff8c8c;
    box-shadow: 0 0 0 2px rgba(255, 140, 140, 0.4);
}


/* Contact Form 7 Submit Button Style */
/* セレクタの具体性を高めて、プラグインのスタイルを上書きします */
.wpcf7-form input.custom-submit-button {
    /* Reset appearance to remove default browser/OS styling */
    -webkit-appearance: none;
    appearance: none;
    
    /* Ensure font styles are inherited and set correctly */
    font-family: inherit;
    font-size: 1rem; /* 16px */

    /* Original styles from static file */
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background-color: #ff6b6b;
    color: #ffffff;
    font-weight: 700;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(255, 107, 107, 0.3), 0 2px 4px -2px rgba(255, 107, 107, 0.2);
    cursor: pointer;
    border: none;
}

.wpcf7-form input.custom-submit-button:hover {
    transform: translateY(-0.125rem);
    background-color: #e65a5a;
}
