* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ヘッダーロゴ */
.header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    gap: 40px;
    padding: 0 20px;
}

/* 左側のコンテンツエリア */
.content-area {
    flex: 6;
    max-width: none;
}

/* メインタイトルのスタイル */
.main-title {
    text-align: left;
    margin-bottom: 35px;
    padding: 0;
    border-left: 6px solid #A8E6CF;
    padding-left: 25px;
    position: relative;
}

.main-title h1 {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.main-title .time-badge {
    display: inline-block;
    background: #A8E6CF;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.main-title .subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* スライドショー */
.slideshow-container {
    position: relative;
    max-width: 750px;
    width: 100%;
    margin-bottom: 20px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-indicators {
    text-align: center;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #8bc8bc;
}

.title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.description {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.features {
    margin-bottom: 30px;
}

.features h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.features h3::before {
    content: '✨';
    position: absolute;
    left: -5px;
    top: 0;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 18px;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8bc8bc;
    font-size: 16px;
    font-weight: bold;
    top: 2px;
}

/* 非公開物件スライダーのスタイル */
.private-properties {
    margin-bottom: 30px;
}

.private-properties h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.private-properties h3::before {
    content: '🏢';
    position: absolute;
    left: -5px;
    top: 0;
}

.property-slider-container {
    position: relative;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 15px;
    overflow: hidden;
    max-width: 750px;
    width: 100%;
}

.property-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
}

.property-card {
    min-width: 280px;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.property-info {
    padding: 15px;
}

.property-station {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.property-walk {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.property-price {
    font-size: 16px;
    font-weight: bold;
    color: #8bc8bc;
}

.property-yield {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.slider-btn {
    background: #8bc8bc;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #7ab5a8;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.slider-indicators {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #8bc8bc;
}

.property-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}

/* 最新物件スライダーのスタイル */
.latest-properties {
    margin-bottom: 30px;
}

.latest-properties h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.latest-properties h3::before {
    content: '🆕';
    position: absolute;
    left: -5px;
    top: 0;
}

.latest-property-slider-container {
    position: relative;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 15px;
    overflow: hidden;
    max-width: 750px;
    width: 100%;
}

.latest-property-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
    align-items: flex-start;
    width: fit-content;
    margin: 0;
    padding: 0;
}

.latest-property-card {
    min-width: 320px;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.latest-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.latest-property-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.latest-property-image .property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-property-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 180px); /* 画像の高さを除いた部分 */
}

/* 新しい行ベースのレイアウト */
.property-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.property-info-row:last-of-type {
    margin-bottom: auto; /* 最後の項目の下にスペースを自動調整 */
}

/* ボタンを下部に固定 */
.view-registration-btn {
    width: 100%;
    background: linear-gradient(45deg, #8bc8bc, #98D8C8);
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 200, 188, 0.3);
    margin-top: auto; /* ボタンを下部に押し下げ */
}

.property-label {
    font-size: 11px;
    color: #666;
    background: #e8f4f2;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
    border: 1px solid #d0ebe7;
}

.property-value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

/* 特定の値のスタイリング */
.price-value {
    font-size: 16px;
    font-weight: bold;
    color: #8bc8bc;
}

.yield-value {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* 駅情報の特別なレイアウト */
.station-row {
    align-items: flex-start;
}

.station-value {
    line-height: 1.6;
}

/* アニメーション効果付きボカシ */
.blurred-text {
    color: inherit;
    filter: blur(4px);
    user-select: none;
    transition: filter 0.3s ease;
    display: inline-block;
}

/* ホバー時にボカシを少し弱くする（オプション） */
.latest-property-card:hover .blurred-text {
    filter: blur(3px);
}

/* ブラー効果のスタイル（モザイクからボカシに変更） */
.blurred-text {
    color: inherit;
    filter: blur(4px);
    user-select: none;
    transition: filter 0.3s ease;
}

/* オーバーレイは削除（ボカシ効果のみ使用） */

/* 閲覧登録ボタン */
.view-registration-btn {
    width: 100%;
    background: linear-gradient(45deg, #8bc8bc, #98D8C8);
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 200, 188, 0.3);
    margin-top: 20px;
}

.view-registration-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 200, 188, 0.4);
    background: linear-gradient(45deg, #7ab5a8, #8bc8bc);
}

.latest-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.latest-property-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}

/* ローディングメッセージのスタイル */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin: 0 auto;
    max-width: 280px;
}

.receive-method {
    margin-bottom: 30px;
}

.receive-method h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.method-options {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.method-options ul {
    list-style: none;
    padding: 0;
}

.method-options li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 18px;
}

.method-options li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #8bc8bc;
    font-size: 14px;
}

.note {
    font-size: 15px;
    color: #666;
    margin-top: 12px;
}

/* モーダルスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-confirm {
    background: linear-gradient(45deg, #8bc8bc, #98D8C8);
    color: #333;
    box-shadow: 0 4px 15px rgba(168, 230, 207, 0.3);
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 230, 207, 0.4);
}

.modal-btn-cancel {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
}

.modal-btn-cancel:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* 右側のフォームエリア */
.form-area {
    flex: 4;
    max-width: none;
}

.form-container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #ddd;
}

.form-contents {
    margin-bottom: 20px;
}

.form-item {
    margin-bottom: 20px;
}

.form-item_name {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.is_required .form-item_name::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

.form-item_input input[type="text"],
.form-item_input input[type="email"],
.form-item_input select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.form-item_input input[type="text"]:focus,
.form-item_input input[type="email"]:focus,
.form-item_input select:focus {
    border-color: #8bc8bc;
    outline: none;
    box-shadow: 0 0 5px rgba(168, 230, 207, 0.3);
}

.input-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.input-inline span {
    white-space: nowrap;
    font-size: 14px;
}

/* ラジオボタンのカスタムスタイル */
.input-inline input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-inline input[type="radio"]:checked {
    border-color: #8bc8bc;
    background-color: #8bc8bc;
}

.input-inline input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.input-inline input[type="radio"]:hover {
    border-color: #8bc8bc;
}

/* チェックボックスのカスタムスタイル */
.input-inline input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-inline input[type="checkbox"]:checked {
    border-color: #8bc8bc;
    background-color: #8bc8bc;
}

.input-inline input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.input-inline input[type="checkbox"]:hover {
    border-color: #8bc8bc;
}

.form-item_input p {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.form-consent {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
}

.form-consent_text a {
    color: #8bc8bc;
    text-decoration: none;
}

.form-consent_text a:hover {
    text-decoration: underline;
    color: #98D8C8;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit input[type="image"] {
    max-width: 100%;
    cursor: pointer;
    transition: opacity 0.3s;
}

.form-submit input[type="image"]:hover {
    opacity: 0.8;
}

/* フッター */
footer {
    margin-top: 40px;
}

.form-footer-wrap {
    background-color: #333;
    color: white;
    padding: 30px 0;
    width: 100%;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copy {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0 auto 20px auto;
        gap: 30px;
    }
    
    .content-area,
    .form-area {
        max-width: 100%;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .main-title {
        margin-bottom: 25px;
        padding-left: 20px;
        border-left-width: 4px;
    }
    
    .main-title h1 {
        font-size: 26px;
    }
    
    .main-title .subtitle {
        font-size: 14px;
    }
    
    .property-card {
        min-width: 250px;
    }
    
    .latest-property-slider-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .latest-property-card {
        min-width: 300px;
    }
    
    .slideshow-container {
        max-width: 100%;
    }
}






/* ========================================
   ミニマルで見やすいフォームスタイル
======================================== */

/* フォームエリア全体 */
.form-area {
    flex: 4;
    max-width: none;
}

.form-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* フォームヘッダー */
.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5e9;
}

.form-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.form-header p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.5;
}

/* 特典エリア - シンプル化 */
.form-benefits {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 25px;
    border-left: 3px solid #3498db;
}

.form-benefits h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.form-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-benefits li {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.form-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* プログレスバー - 削除または簡素化 */
.form-progress {
    display: none; /* 一旦非表示 */
}

/* フォーム項目 */
.form-contents {
    margin-bottom: 20px;
}

.form-item {
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid #e1e5e9;
    position: relative;
}

.form-item:last-child {
    border-bottom: none;
}

.form-item_name {
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
    display: block;
}

/* 必須マーク - シンプル化 */
.is_required .form-item_name::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* 入力フィールド */
.form-item_input input[type="text"],
.form-item_input input[type="email"],
.form-item_input input[type="tel"],
.form-item_input select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
    color: #333;
}

.form-item_input input[type="text"]:focus,
.form-item_input input[type="email"]:focus,
.form-item_input input[type="tel"]:focus,
.form-item_input select:focus {
    border-color: #3498db;
    outline: none;
}

.form-item_input input::placeholder {
    color: #999;
    font-size: 14px;
}

/* 2カラム入力 */
.form-item_input span {
    display: flex;
    gap: 10px;
}

.form-item_input span input {
    flex: 1;
}

/* セレクトボックス */
.form-item_input 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='%23999' 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 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* 年齢入力 */
.age-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-input-wrapper input {
    width: 80px !important;
    text-align: center;
}

.age-input-wrapper span {
    font-size: 14px;
    color: #555;
}

/* ラジオボタン・チェックボックス */
.input-inline {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.input-inline span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.input-inline input[type="radio"],
.input-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* 小さな説明文 */
.form-item_input small {
    color: #777;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* 同意エリア */
.form-consent {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e1e5e9;
}

.form-consent_text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.form-consent_text a {
    color: #3498db;
    text-decoration: none;
}

.form-consent_text a:hover {
    text-decoration: underline;
}

/* reCAPTCHA エリア */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e1e5e9;
}

.g-recaptcha {
    margin-bottom: 10px;
}

#warning {
    color: #e74c3c;
    font-size: 13px;
    text-align: center;
    margin: 0;
    display: none;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.submit-button {
    background: #3498db;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 200px;
}

.submit-button:hover:not(:disabled) {
    background: #2980b9;
}

.submit-button:disabled {
    background: #bdc3c7;
    color: #fff;
    cursor: not-allowed;
}

.form-submit p {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form-container {
        margin: 0;
        border-radius: 6px;
        padding: 20px;
    }
    
    .form-header h3 {
        font-size: 18px;
    }
    
    .form-item_input span {
        flex-direction: column;
        gap: 8px;
    }
    
    .input-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .submit-button {
        width: 100%;
        min-width: auto;
    }
    
    .age-input-wrapper {
        justify-content: flex-start;
    }
}

/* バリデーションは既存のスタイルをそのまま使用 */

/* ========================================
   ラジオボタン修正CSS - 既存CSSの最後に追加
======================================== */

/* ラジオボタンとチェックボックスの統一スタイル */
.input-inline {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.input-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
}

/* ラジオボタンのベーススタイル */
.input-inline input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0; /* サイズ固定 */
}

.input-inline input[type="radio"]:checked {
    border-color: #3498db;
    background-color: #3498db;
}

.input-inline input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.input-inline input[type="radio"]:hover {
    border-color: #3498db;
}

/* チェックボックスのベーススタイル */
.input-inline input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0; /* サイズ固定 */
}

.input-inline input[type="checkbox"]:checked {
    border-color: #3498db;
    background-color: #3498db;
}

.input-inline input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.input-inline input[type="checkbox"]:hover {
    border-color: #3498db;
}

/* スマホビュー対応 */
@media (max-width: 768px) {
    .input-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 8px;
    }
    
    .input-inline span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #555;
        cursor: pointer;
        width: 100%;
        padding: 8px 0;
    }
    
    /* スマホでのラジオボタンサイズ調整 */
    .input-inline input[type="radio"],
    .input-inline input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border: 2px solid #ddd;
        flex-shrink: 0;
    }
    
    .input-inline input[type="radio"]:checked::after {
        width: 10px;
        height: 10px;
    }
    
    .input-inline input[type="checkbox"]:checked::after {
        font-size: 14px;
    }
}

/* フォーカス状態の改善 */
.input-inline input[type="radio"]:focus,
.input-inline input[type="checkbox"]:focus {
    outline: 2px solid rgba(52, 152, 219, 0.3);
    outline-offset: 2px;
}

/* ラベルのクリック範囲拡大 */
.input-inline label {
    cursor: pointer;
    user-select: none;
    flex: 1;
}

/* アクセシビリティ向上 */
.input-inline span:hover input[type="radio"],
.input-inline span:hover input[type="checkbox"] {
    border-color: #3498db;
}

/* 年齢入力の調整 */
.age-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-input-wrapper input {
    width: 80px !important;
    text-align: center;
    flex-shrink: 0;
}

.age-input-wrapper span {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .age-input-wrapper {
        justify-content: flex-start;
    }
    
    .age-input-wrapper input {
        width: 100px !important;
    }
}

/* ========================================
   ラジオボタン完全修正 - 既存のラジオボタンスタイルを全て上書き
======================================== */

/* 既存のラジオボタンスタイルをリセット */
.input-inline input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    margin: 0 8px 0 0 !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.input-inline input[type="radio"]:checked {
    border-color: #3498db !important;
    background-color: white !important;
}

.input-inline input[type="radio"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: #3498db !important;
    display: block !important;
}

.input-inline input[type="radio"]:hover {
    border-color: #3498db !important;
}

.input-inline input[type="radio"]:focus {
    outline: 2px solid rgba(52, 152, 219, 0.3) !important;
    outline-offset: 2px !important;
}

/* input-inlineコンテナの修正 */
.input-inline {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}

.input-inline span {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    font-size: 14px !important;
    color: #555 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.input-inline label {
    cursor: pointer !important;
    margin-left: 0 !important;
    user-select: none !important;
}

/* チェックボックスも同様に修正 */
.input-inline input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 3px !important;
    margin: 0 8px 0 0 !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.input-inline input[type="checkbox"]:checked {
    border-color: #3498db !important;
    background-color: #3498db !important;
}

.input-inline input[type="checkbox"]:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    display: block !important;
}

.input-inline input[type="checkbox"]:hover {
    border-color: #3498db !important;
}

.input-inline input[type="checkbox"]:focus {
    outline: 2px solid rgba(52, 152, 219, 0.3) !important;
    outline-offset: 2px !important;
}

/* スマホビュー専用スタイル */
@media (max-width: 768px) {
    .input-inline {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 8px !important;
    }
    
    .input-inline span {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        font-size: 14px !important;
        color: #555 !important;
        cursor: pointer !important;
        width: 100% !important;
        padding: 4px 0 !important;
        white-space: normal !important;
    }
    
    .input-inline input[type="radio"],
    .input-inline input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        margin: 0 10px 0 0 !important;
        flex-shrink: 0 !important;
    }
    
    .input-inline input[type="radio"]:checked::after {
        width: 8px !important;
        height: 8px !important;
    }
    
    .input-inline input[type="checkbox"]:checked::after {
        font-size: 12px !important;
    }
    
    .input-inline label {
        flex: 1 !important;
        margin-left: 0 !important;
        line-height: 1.4 !important;
    }
}

/* さらに小さい画面用 */
@media (max-width: 480px) {
    .input-inline span {
        padding: 8px 0 !important;
        min-height: 40px !important;
        align-items: center !important;
    }
    
    .input-inline input[type="radio"],
    .input-inline input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        margin: 0 12px 0 0 !important;
    }
    
    .input-inline input[type="radio"]:checked::after {
        width: 10px !important;
        height: 10px !important;
    }
    
    .input-inline input[type="checkbox"]:checked::after {
        font-size: 14px !important;
    }
}

/* ========================================
   シンプルなラジオボタン修正 - PCと同じデザインを維持
======================================== */

/* 既存のスマホ用スタイルを無効化 */
@media (max-width: 768px) {
    .input-inline {
        flex-direction: row !important;  /* PCと同じ横並び */
        align-items: center !important;
        gap: 20px !important;
        margin-top: 8px !important;
    }
    
    .input-inline span {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 14px !important;
        color: #555 !important;
        cursor: pointer !important;
        width: auto !important;  /* 自動幅 */
        padding: 0 !important;   /* パディングなし */
        white-space: nowrap !important;
    }
    
    /* ラジオボタンのサイズはPCと同じ */
    .input-inline input[type="radio"],
    .input-inline input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .input-inline input[type="radio"]:checked::after {
        width: 6px !important;
        height: 6px !important;
    }
    
    .input-inline input[type="checkbox"]:checked::after {
        font-size: 10px !important;
    }
    
    .input-inline label {
        flex: none !important;  /* 自動サイズ */
        margin-left: 0 !important;
        line-height: normal !important;
    }
}

/* より小さい画面でも横並びを維持 */
@media (max-width: 480px) {
    .input-inline {
        flex-direction: row !important;  /* 強制的に横並び */
        gap: 15px !important;            /* 少し狭く */
    }
    
    .input-inline span {
        font-size: 13px !important;     /* 少し小さく */
        white-space: nowrap !important;
    }
}

/* ガラケーサイズでも横並び */
@media (max-width: 320px) {
    .input-inline {
        gap: 10px !important;
    }
    
    .input-inline span {
        font-size: 12px !important;
    }
}

/* ========================================
   送信ボタンCSS修正 - 既存CSSに追加
======================================== */

/* 送信ボタンの修正 */
#submitBtn.submit-button {
    background: #fb485d !important;
    border: none !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 40px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    min-width: 200px !important;
}

#submitBtn.submit-button:hover:not(:disabled) {
    background: #ff6173 !important;
}

#submitBtn.submit-button:disabled {
    background: #bdc3c7 !important;
    color: #fff !important;
    cursor: not-allowed !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
    #submitBtn.submit-button {
        width: 100% !important;
        min-width: auto !important;
    }
}


.point {
    font-weight: bold;
    background: linear-gradient(transparent 70%, #ffdcb9 0%);
}


   /* ========================================
           スマホ専用固定CTAボタン
        ======================================== */
        
        /* 固定CTAボタン */
        .mobile-fixed-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #fb485d 0%, #ff6173 100%);
            color: white;
            border: none;
            padding: 16px 20px;
            font-size: 16px;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 -4px 20px rgba(251, 72, 93, 0.3);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            display: none; /* デフォルトは非表示 */
            width: 100%;
            box-sizing: border-box;
        }

        .mobile-fixed-cta:hover {
            background: linear-gradient(135deg, #ff6173 0%, #fb485d 100%);
            transform: translateY(-2px);
            box-shadow: 0 -6px 25px rgba(251, 72, 93, 0.4);
        }

        .mobile-fixed-cta:active {
            transform: translateY(0);
            box-shadow: 0 -2px 15px rgba(251, 72, 93, 0.3);
        }

        /* CTAボタンのテキストスタイル */
        .mobile-fixed-cta .cta-main-text {
            display: block;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .mobile-fixed-cta .cta-sub-text {
            display: block;
            font-size: 12px;
            opacity: 0.9;
            font-weight: 400;
        }

        /* アニメーション効果 */
        .mobile-fixed-cta.animate {
            animation: ctaPulse 2s ease-in-out infinite;
        }

        @keyframes ctaPulse {
            0%, 100% {
                box-shadow: 0 -4px 20px rgba(251, 72, 93, 0.3);
            }
            50% {
                box-shadow: 0 -6px 30px rgba(251, 72, 93, 0.5);
                transform: translateY(-1px);
            }
        }

        /* CTAが表示されている時のボディ下部余白 */
        body.mobile-cta-visible {
            padding-bottom: 80px;
        }

        /* スマホビュー時のみ表示 */
        @media (max-width: 768px) {
            .mobile-fixed-cta {
                display: block;
            }
        }

        /* より小さい画面での調整 */
        @media (max-width: 480px) {
            .mobile-fixed-cta {
                padding: 14px 16px;
            }
            
            .mobile-fixed-cta .cta-main-text {
                font-size: 15px;
            }
            
            .mobile-fixed-cta .cta-sub-text {
                font-size: 11px;
            }
        }

        /* フェードイン効果 */
        .mobile-fixed-cta.fade-in {
            animation: fadeInUp 0.4s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(100%);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* フェードアウト効果 */
        .mobile-fixed-cta.fade-out {
            animation: fadeOutDown 0.3s ease-in forwards;
        }

        @keyframes fadeOutDown {
            from {
                opacity: 1;
                transform: translateY(0);
            }
            to {
                opacity: 0;
                transform: translateY(100%);
            }
        }

        /* アクセシビリティ対応 */
        .mobile-fixed-cta:focus {
            outline: 2px solid white;
            outline-offset: -4px;
        }

        /* タッチデバイス用のタップハイライト無効化 */
        .mobile-fixed-cta {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        /* CTAボタンが表示されている時のフッター調整 */
        @media (max-width: 768px) {
            body.mobile-cta-visible footer {
                margin-bottom: 80px;
            }
        }

        