@charset "UTF-8";

/* ==============================================
   フォーム専用の独立スタイル (旧サイトに影響を与えない設定)
   ============================================== */
:root {
    --main-green: #28a745;
    --light-green: #eaf6ec;
}

/* アニメーション用クラス */
/* アニメーション用クラス（アニメーション無効化・常に表示） */
.fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
html.js-enabled #js-disabled-alert { display: none; }
html.js-enabled .d-none { display: none !important; }

/* フォームの共通パーツ */
.align-center { text-align: center; }
.error-box { background-color: #f2dede; color: #a94442; border: 1px solid #ebccd1; padding: 15px; margin-bottom: 30px; }
.error-box ul { margin: 10px 0 0 0; padding-left: 20px; }
.contact-form { max-width: 700px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 30px; }
.form-label { display: block; font-weight: bold; margin-bottom: 10px; font-size: 1.1em; }

.required, .any {
    display: inline-block; color: #fff; font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; margin-left: 10px; vertical-align: middle;
}
.required { background-color: #d9534f; }
.any { background-color: #777; }

.form-control {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; box-sizing: border-box;
}
.form-control:focus { outline: none; border-color: var(--main-green); box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); }

/* ラジオ・チェックボックス */
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 20px; padding: 5px 0; }
.radio-label, .checkbox-label { cursor: pointer; display: flex; align-items: center; }
.radio-label input, .checkbox-label input { margin-right: 8px; transform: scale(1.2); }

/* 住所グループ・スライド */
.address-group-box { background-color: #f9f9f9; border: 1px solid #eee; border-radius: 4px; padding: 20px; }
.form-row { margin-bottom: 15px; }
.form-row label { display: block; font-size: 0.9rem; margin-bottom: 5px; }
.slide-area { overflow: hidden; max-height: none; opacity: 1; margin-bottom: 30px; transition: all 0.5s ease-in-out; }
html.js-enabled .slide-area { max-height: 0; opacity: 0; margin-bottom: 0; }
html.js-enabled .slide-area.is-open { opacity: 1; margin-bottom: 30px; }
html.js-enabled #company-area.is-open { max-height: 120px; }
html.js-enabled #pref-area.is-open { max-height: 120px; }
html.js-enabled #address-area.is-open { max-height: 400px; }
.file-note { font-size: 0.85rem; color: #666; margin-bottom: 15px; }
.honeypot-field { display: none; }
#message-guide { overflow: hidden; max-height: 0; opacity: 0; transition: all 0.3s ease-out; margin-bottom: 0; }
#message-guide.is-visible { max-height: 100px; opacity: 1; margin-bottom: 10px; }
.privacy-policy { text-align: center; margin-bottom: 20px; font-size: 0.9rem; }

/* ボタン */
.form-submit { margin-top: 40px; text-align: center; }
.btn {
    padding: 15px 40px; border-radius: 5px; font-weight: bold; display: inline-block; cursor: pointer;
    border: 2px solid var(--main-green); transition: all 0.2s; font-size: 1.1rem;
}
.btn-primary { background-color: var(--main-green); color: #fff; }
.btn-primary:hover { background-color: #33cc55; border-color: #33cc55; }
.btn-outline { background-color: #fff; color: var(--main-green); }
.btn-outline:hover { color: #33cc55; border-color: #33cc55; }

/* 確認画面・エラー画面など */
.confirm-table { max-width: 800px; margin: 0 auto; border: 1px solid #ddd; border-radius: 4px; text-align: left; }
.confirm-row { display: flex; border-bottom: 1px solid #ddd; }
.confirm-header { width: 30%; padding: 15px; font-weight: bold; background-color: #f8f9fa; box-sizing: border-box; }
.confirm-data { width: 70%; padding: 15px; background-color: #fff; box-sizing: border-box; word-break: break-all; }
.confirm-image-list { display: flex; gap: 10px; flex-wrap: wrap; }
.confirm-image-list img { max-width: 150px; max-height: 150px; border: 1px solid #ddd; }
.confirm-buttons { margin-top: 40px; text-align: center; display: flex; justify-content: center; gap: 20px; }

/* 新サイト共通の見出しスタイルをフォーム内に限定して再現 */
.section-title { font-size: 1.8rem; text-align: center; margin-bottom: 20px; color: #333; border-bottom: 2px solid var(--main-green); padding-bottom: 10px;}
.section-subtitle { text-align: center; margin-bottom: 40px; color: #666; }