@charset "UTF-8";

/* ========================================
   ベーススタイル & リセット
======================================== */
* {
    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;
    -webkit-text-size-adjust: 100%;
}

/* スマホでのinput自動ズーム防止 */
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    font-size: 16px !important;
}

/* ========================================
   ヘッダー
======================================== */
.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;
    align-items: flex-start;
}

/* 左側のコンテンツエリア */
.content-area {
    flex: 6;
    max-width: none;
    min-width: 0; /* はみ出し防止 */
}

/* ========================================
   LPイントロエリア（ターゲット最適化・配置修正版）
======================================== */
.lp-intro-area {
    margin-bottom: 50px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #333;
}

/* PCのみ表示 */
.pc-only { display: none; }
@media (min-width: 768px) {
    .pc-only { display: inline; }
}

/* --- キャッチコピーエリア --- */
.lp-highlight-box {
    text-align: center; /* 基本センター揃え */
    margin-bottom: 45px;
    padding: 0 15px;
}

/* ターゲット（センター） */
.lp-target-text {
    font-weight: bold;
    color: #e74c3c;
    font-size: 16px;
    margin-bottom: 20px;
    display: inline-block;
    background: #fff;
    padding: 6px 20px;
    border-radius: 25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    letter-spacing: 0.05em;
}

/* キャッチコピー（センター） */
.lp-catch-copy {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

/* マーカー風装飾 */
.marker {
    background: linear-gradient(transparent 65%, #ffdcb9 65%);
    padding-bottom: 3px;
}

/* サブコピー（左寄せ） */
.lp-sub-copy {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    font-weight: 500;
    text-align: left; /* ★左寄せ */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- セクション共通 --- */
.lp-section {
    margin-bottom: 35px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.lp-section.bg-gray {
    background: #f7fcfb;
    border-color: #dcedea;
}

/* 見出しスタイル */
.lp-section-title {
    font-size: 20px;
    color: #222;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #8bc8bc;
    position: relative;
    padding-left: 35px;
    line-height: 1.4;
}

.lp-section-title::before {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
}
.icon-check::before { content: '✅'; }
.icon-lightbulb::before { content: '💡'; }
.icon-book::before { content: '📖'; }

/* --- リストスタイル --- */
.lp-check-list, 
.lp-point-list, 
.lp-content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* おすすめリスト */
.lp-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
}

.lp-check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    background: #8bc8bc;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* わかることリスト */
.lp-point-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    font-weight: 500;
}

.lp-point-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 4px;
    color: #e74c3c;
    font-size: 16px;
}

/* セミナー内容リスト */
.lp-content-list {
    margin-bottom: 25px;
}

.lp-content-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}

.lp-content-list li:last-child {
    border-bottom: none;
}

/* メッセージボックス */
.lp-message-box {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
}

.lp-message-box small {
    display: block;
    margin-top: 15px;
    color: #666;
    font-size: 13px;
}

/* ========================================
   セミナー概要セクション（修正版）
======================================== */
.seminar-overview {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid #8bc8bc;
    box-shadow: 0 4px 16px rgba(139, 200, 188, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.seminar-overview h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.seminar-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8bc8bc, #98D8C8);
    border-radius: 2px;
}

.seminar-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
}

.seminar-theme {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #ddd;
}

.seminar-theme h4 {
    font-size: 20px;
    color: #8bc8bc;
    font-weight: 700;
    margin-bottom: 12px;
}

.seminar-theme p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    font-weight: 500;
}

.seminar-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.detail-item {
    display: flex;
    align-items: flex-start; /* PCでは横並び・左寄せ */
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #8bc8bc;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-item.highlight {
    background: linear-gradient(135deg, #fff9e6 0%, #fffef5 100%);
    border: 1px solid #ffa500;
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.detail-value {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    flex: 1;
}

.detail-value strong {
    color: #8bc8bc;
    font-weight: 700;
}

.detail-value small {
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 5px;
}

.detail-value .badge {
    display: inline-block;
    background: #8bc8bc;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* アイコン装飾 */
.icon-calendar::before { content: '📅 '; }
.icon-calendar-label::before { content: '📅 '; }
.icon-clock::before { content: '⏰ '; }
.icon-tv::before { content: '📺 '; }
.icon-teacher::before { content: '👨‍🏫 '; }
.icon-laptop::before { content: '💻 '; }
.icon-gift::before { content: '🎁 '; }
.icon-building::before { content: '🏢 '; }
.icon-content::before { content: '📝 '; }

/* ========================================
   共通スライダー/物件カードスタイル（固定幅修正版）
======================================== */
.private-properties {
    margin-bottom: 30px;
}

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

.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 {
    /* PC: 固定幅にして均等配置を強制 */
    flex: 0 0 280px;
    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: 13px;
    font-weight: bold;
    color: #8bc8bc;
}

.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;
}

/* 特典スライダー専用調整 */
#benefitSlider .property-card {
    height: auto;
    min-height: 345px;
}

#benefitSlider .property-image {
    height: 345px;
    border-radius: 8px;
}

#benefitSlider .property-info {
    display: none;
}

/* ========================================
   お客様の声スライドショー (修正版)
======================================== */
.customer-testimonials {
    /* margin: 60px auto 40px; */
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 750px;
    box-sizing: border-box;
    overflow: hidden;
}

.customer-testimonials h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.customer-testimonials h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff9500);
    margin: 10px auto 0;
    border-radius: 2px;
}

.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.testimonial-slider {
    display: flex;
    width: 700%; /* 7スライド分 */
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    width: 14.285714%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.testimonial-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    box-sizing: border-box;
    width: 100%;
}

.testimonial-image {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customer-info {
    margin-bottom: 20px;
}

.customer-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.customer-details {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.customer-details span {
    background: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.testimonial-text {
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-message {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    position: relative;
    padding: 0 20px;
    margin: 0;
}

.testimonial-message::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: #ff6b35;
    font-family: serif;
    line-height: 1;
}

.testimonial-message::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 40px;
    color: #ff6b35;
    font-family: serif;
    line-height: 1;
}

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

.testimonial-slider-controls .slider-btn {
    background: #ff6b35;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.testimonial-slider-controls .slider-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

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

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

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

.testimonial-slider-controls .slider-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.testimonial-slider-controls .slider-dot:hover {
    background: #ff9500;
}

/* ========================================
   フォームエリア（ミニマルデザイン）
======================================== */
.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-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;
}

/* --- ラジオボタン・チェックボックス (PC/SP共通 つぶれ防止修正版) --- */
.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;
    /* スマホで文字が長くてもボタンがつぶれないように折り返しを許可 */
    white-space: normal; 
}

.input-inline input[type="radio"],
.input-inline input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    /* ★修正点：つぶれ防止のため固定サイズを強制 */
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    
    border: 2px solid #ddd;
    border-radius: 50%; /* checkboxの場合は後述で上書き */
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

/* チェックボックス用形状 */
.input-inline input[type="checkbox"] {
    border-radius: 3px;
}

/* Checked状態 */
.input-inline input[type="radio"]:checked,
.input-inline input[type="checkbox"]:checked {
    border-color: #3498db;
    background-color: #3498db;
}

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

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

.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;
}

#submitBtn.submit-button {
    background: #fb485d;
    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;
}

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

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

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

/* ========================================
   YouTube埋め込み
======================================== */
.youtube-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: none;
}

@supports not (aspect-ratio: 1 / 1) {
    .youtube-container {
        padding-top: 100%;
    }
}

/* ========================================
   フッター
======================================== */
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;
}

/* ========================================
   スマホ専用固定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 .cta-main-text {
    display: block;
    font-size: 17px;
    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); }
}

body.mobile-cta-visible {
    padding-bottom: 80px;
}

.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%); }
}

/* ========================================
   レスポンシブ対応 (SP)
======================================== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0 auto 20px auto;
        gap: 30px;
        padding: 0 20px;
    }
    
    .content-area,
    .form-area {
        max-width: 100%;
        width: 100%; /* 明示的に指定 */
    }
    
    .form-container {
        padding: 20px;
        margin: 0;
        border-radius: 6px;
    }
    
    .logo {
        max-width: 150px;
    }

    /* LPイントロ調整 */
    .lp-section {
        padding: 20px 15px;
    }
    .lp-catch-copy {
        font-size: 20px;
        text-align: center;
    }
    .lp-sub-copy {
        font-size: 15px;
        text-align: left;
    }
    .lp-check-list li,
    .lp-point-list li,
    .lp-content-list li,
    .lp-message-box {
        font-size: 16px;
    }
    .marker {
        padding: 0;
    }

    /* スライダー系調整 */
    .property-card {
        /* ★スマホ用: 250pxに固定 */
        flex: 0 0 250px;
        width: 250px;
        min-width: 250px;
    }
    
    .property-slider-container {
        max-width: 100%;
    }

    /* セミナー概要（SP調整版） */
    .seminar-overview {
        padding: 20px 15px;
        margin-bottom: 30px;
        width: 100%;
    }
    .seminar-overview h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .seminar-content {
        padding: 20px 15px;
    }
    .seminar-theme h4 {
        font-size: 18px;
    }
    .seminar-theme p {
        font-size: 14px;
    }
    .detail-item {
        display: block; /* Flex解除で縦並び崩れ防止 */
        width: 100%;
        padding: 15px;
        margin-bottom: 0;
    }
    .detail-item:hover {
        transform: none;
    }
    .detail-label {
        display: block;
        min-width: auto;
        font-size: 13px;
        margin-bottom: 8px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 5px;
        width: 100%;
    }
    .detail-value {
        display: block;
        font-size: 14px;
        width: 100%;
        padding-left: 0;
    }
    .detail-value small {
        font-size: 12px;
    }

    /* お客様の声スライダー（幅いっぱい） */
    .customer-testimonials {
        margin: 40px auto 30px; /* 上下40px/30px、左右autoで中央 */
        padding: 20px 15px;
        width: 100%; /* 幅いっぱいに */
        max-width: 100%; /* 制限解除 */
        border-radius: 8px;
    }
    .testimonial-slide {
        padding: 0 5px;
    }
    .testimonial-content {
        padding: 20px;
        min-height: 350px;
    }
    .testimonial-image img {
        width: 70px;
        height: 70px;
    }
    .customer-details {
        flex-wrap: wrap;
    }
    .testimonial-message {
        font-size: 14px;
        padding: 0 15px;
    }

    /* 特典スライダー */
    #benefitSlider .property-card {
        min-height: 308px;
    }
    #benefitSlider .property-image {
        height: 308px;
    }

    /* フォーム調整 */
    .form-item_input span {
        flex-direction: column;
        gap: 8px;
    }
    
    .input-inline {
        flex-direction: row; /* 横並び維持 */
        gap: 15px;
    }
    
    .input-inline span {
        width: auto;
        /* スマホでは文字折り返しを許可（ボタンつぶれ防止のため） */
        white-space: normal;
    }

    #submitBtn.submit-button {
        width: 100%;
    }

    .age-input-wrapper {
        justify-content: flex-start;
    }

    /* CTA表示 */
    .mobile-fixed-cta {
        display: block;
    }
    
    body.mobile-cta-visible footer {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .customer-testimonials {
        margin: 30px auto 20px;
        padding: 15px 10px;
    }
    .testimonial-content {
        min-height: 320px;
    }
    .input-inline {
        gap: 10px;
    }
    .mobile-fixed-cta {
        padding: 14px 16px;
    }
    .mobile-fixed-cta .cta-main-text {
        font-size: 17px;
    }
    .mobile-fixed-cta .cta-sub-text {
        font-size: 11px;
    }
    .seminar-overview {
        padding: 15px 10px;
    }
    .detail-item {
        padding: 12px;
    }
}

/* ========================================
   メディア掲載実績セクション
======================================== */
.media-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    /* コンテナ幅に合わせる */
    width: 100%;
    box-sizing: border-box;
}

.media-title {
    font-size: 22px;
    color: #333;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.media-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #8bc8bc; /* ブランドカラー */
    border-radius: 2px;
}

/* アイコン設定（新聞アイコン） */
.icon-news::before {
    content: '📰 ';
    font-size: 24px;
}

.media-content {
    text-align: center;
}

.media-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.media-highlight {
    color: #e74c3c; /* 赤文字で強調 */
    font-weight: bold;
    font-size: 20px; /* 数字を少し大きく */
    border-bottom: 2px solid #ffdcb9;
}

.media-image-container {
    width: 100%;
    max-width: 600px; /* 画像が大きくなりすぎないよう制限 */
    margin: 0 auto;
}

.media-img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee; /* 薄い枠線で整える */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .media-section {
        padding: 25px 15px;
        margin-bottom: 30px;
    }

    .media-title {
        font-size: 20px;
    }

    .media-description {
        font-size: 15px; /* 少し小さくしても可読性確保 */
        text-align: left; /* スマホは左寄せが読みやすい */
    }
    
    /* PC用の改行を無効化（CSS冒頭の.pc-only設定が効きます） */
}


/* ========================================
   フォーム内 安心訴求エリア（EFO）
======================================== */

/* ヘッダー内の宣言ボックス */
.security-notice {
    background-color: #f0fdf4; /* 優しい緑色背景 */
    border: 2px solid #8bc8bc;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.security-title {
    font-weight: bold;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.security-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.security-text strong {
    color: #e74c3c; /* 強調したい部分は赤系 */
    font-weight: 700;
    border-bottom: 1px dashed #e74c3c;
}

.security-sub {
    font-size: 12px;
    color: #555;
    display: block;
    margin-top: 5px;
}

/* 電話番号横のバッジ */
.safety-badge {
    display: inline-block;
    background: #8bc8bc;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .security-notice {
        padding: 12px;
    }
    
    .security-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .sp-only {
        display: block; /* スマホのみ改行 */
    }
}

/* 盾アイコンのCSS指定 */
.icon-shield::before {
    content: '🛡️';
    display: inline-block;
    margin-right: 4px; /* アイコンと文字の間の余白 */
    vertical-align: middle; /* 位置の微調整 */
}