@charset "utf-8";

/* inquiry.html専用のスタイル - 入力欄を大きく見やすく */

/* id=container以下の文字サイズを大きく */
#container {
    font-size: 16px;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

/* 見出しをより大きく */
h2 {
    font-size: 2.0em;
    margin-bottom: 1.5em;
}

/* 説明文を少し大きく */
p {
    font-size: 1.0em;
    margin-bottom: 1.5em;
}

/* テーブルのラベル */
.ta1 th {
    font-size: 1.1em;
    padding: 20px 15px;
    font-weight: 600;
}

/* テーブルのセル */
.ta1 td {
    padding: 20px 15px;
}

/* 入力フィールドのスタイル */
input[type="text"],
textarea,
select {
    font-size: 1.2em !important;
    padding: 15px 20px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    background-color: #fafafa !important;
    transition: all 0.3s ease;
    min-height: 50px;
    box-sizing: border-box;
}

/* フォーカス時のスタイル */
input[type="text"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
    background-color: #fff !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(0,48,106,0.2) !important;
}

/* テキストエリア専用 */
textarea {
    min-height: 150px !important;
    resize: vertical;
    font-family: inherit;
}

/* セレクトボックス専用 */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px !important;
}

/* 送信ボタンのスタイル */
input[type="submit"] {
    font-size: 1.3em !important;
    padding: 18px 40px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 30px;
}

input[type="submit"]:hover {
    background-color: #002a5c !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,48,106,0.3);
}

/* エラーメッセージのスタイル */
.error-message {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* 成功メッセージのスタイル */
.success-message {
    background-color: #f0f8f0;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.field-error {
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 5px;
}

/* 電話でのお問い合わせセクション */
.phone-inquiry-container {
    width: 90%;
    max-width: 695px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-sizing: border-box;
}

.phone-inquiry-header {
    display: flex;
    align-items: center;
    gap: 0.7em;
    margin-bottom: 0.5em;
    justify-content: center;
    text-align: center;
}

.phone-inquiry-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.phone-inquiry-title {
    font-size: 1.15em;
    font-weight: bold;
}

.phone-inquiry-number {
    margin-bottom: 0.5em;
    text-align: center;
}

.phone-inquiry-link {
    font-size: 1.25em;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.phone-inquiry-link:hover {
    text-decoration: underline;
}

.phone-inquiry-description {
    font-size: 0.97em;
    color: #555;
}

.phone-inquiry-description a {
    color: var(--primary-color);
    text-decoration: none;
}

.phone-inquiry-description a:hover {
    text-decoration: underline;
}

/* プライバシーポリシーセクションのスタイル */
.privacy-policy {
    padding: 2em;
    margin: 2em 0;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.privacy-policy h3 {
    color: var(--primary-color);
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--primary-color);
    margin-block-start:0;
}

.privacy-policy ol {
    margin-left: 1.5em;
    line-height: 1.8;
}

.privacy-policy li {
    margin-bottom: 1em;
    padding-left: 0.5em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
    #container {
        font-size: 14px;
    }

    input[type="text"],
    textarea,
    select {
        font-size: 1.1em !important;
        padding: 12px 15px !important;
    }

    .ta1 th, .ta1 td {
        padding: 15px 10px;
    }

    .phone-inquiry-container {
        width: 95%;
        padding: 15px;
    }

    .phone-inquiry-icon {
        font-size: 1.8em;
    }

    .phone-inquiry-title {
        font-size: 1.1em;
    }

    .phone-inquiry-link {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 600px) {
    #container {
        font-size: 13px;
    }

    input[type="text"],
    textarea,
    select {
        font-size: 1.0em !important;
        padding: 10px 12px !important;
    }

    .phone-inquiry-container {
        width: 98%;
        padding: 12px;
    }

    .phone-inquiry-header {
        flex-direction: column;
        gap: 0.5em;
    }

    .phone-inquiry-icon {
        font-size: 1.6em;
    }

    .phone-inquiry-title {
        font-size: 1.05em;
    }

    .phone-inquiry-link {
        font-size: 1.15em;
    }

    .phone-inquiry-description {
        font-size: 0.9em;
    }
}
