/* Re-Qグループ セラピスト募集LP - 完全修正CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #3949ab;
    --primary-dark: #1a237e;
    --accent-color: #ff4081;
    --text-color: #333;
    --bg-color: #f8f9ff;
    --highlight-color: #fff9c4;
}

/* --- 基本構造 --- */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* ページ全体のスクロールを禁止 */
    touch-action: none;
    position: fixed;
    background-color: var(--bg-color);
}
.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slides {
    height: 900%; /* スライド数 9 x 100% */
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.slide {
    width: 100%;
    height: 100vh; /* 1スライド = 1画面 */
    flex-shrink: 0;
    overflow: hidden; /* スライド内スクロールを禁止 */
    position: relative;
    padding: 5vh 20px 10vh; /* 上下左右の余白を確保 (フッター分も考慮) */
    display: flex;
    flex-direction: column;
    justify-content: center; /* コンテンツを垂直方向に中央揃え */
}
.slide:nth-child(even) {
    background-color: #fcfcfc;
}
.slide-content.centered-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem; /* 要素間の隙間を調整 */
}
@media (min-height: 800px) {
    .slide-content.centered-content { gap: 1rem; }
}

/* --- ページネーション & ガイド --- */
.pagination {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.dot.active {
    background-color: var(--primary-color);
}
.page-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,0.1);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    z-index: 5;
}
.down-arrow {
    position: fixed;
    bottom: 80px; /* CTAフッターの上 */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: bounce 2s infinite;
}
.down-arrow:before {
    content: "↓";
    font-size: 1.2rem;
    color: var(--primary-color);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -8px); }
    60% { transform: translate(-50%, -4px); }
}
.swipe-guide {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.6);
    color: white;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    animation: fadeInOut 3s ease-in-out infinite;
    z-index: 999;
}
.swipe-guide:before { content: "↑"; margin-right: 6px; }
.swipe-guide:after { content: "↓"; margin-left: 6px; }
@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* --- CTAフッター --- */
.cta-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 15px 15px; /* 下の余白を多めに */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #06C755;
    color: white;
    border: none;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
}
.cta-button .line-icon {
    display: inline-block;
    background-color: white;
    color: #06C755;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- 共通テキストスタイル --- */
h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}
.subtitle, .bottom-text {
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    color: #666;
}
.highlight {
    background-color: var(--highlight-color);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: bold;
}
.accent-text {
    background-color: #ffcc4d;
    color: var(--primary-dark);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* --- スライド1: ファーストビュー --- */
.slide.first-slide { padding: 0; }
.fv-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fv-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.fv-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.fv-text {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.fv-text h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.fv-text p {
    font-size: 1rem;
    color: white;
    margin: 0;
}

/* --- スライド3: 3大メリット --- */
.feature-cards-改 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.feature-card-改 {
    background-color: #fff;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}
.feature-card-改 .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
}
.feature-card-改 .card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
}
.feature-card-改 h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-dark);
}
.feature-card-改 p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    padding-left: 32px; /* アイコン分インデント */
}
.testimonial {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
}
.testimonial-text {
    font-style: italic;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}
.testimonial-author {
    font-weight: bold;
    text-align: right;
    font-size: 0.75rem;
    margin: 0;
}

/* --- スライド4: 収入ステップアップ --- */
.income-steps-container { width: 100%; }
.income-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.income-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.income-step h3 {
    margin: 0;
    font-size: 0.8rem;
}
.income-step .percentage {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}
.step-top { background-color: #fff9e6; }
.step-top h3, .step-top .percentage { color: #c88c00; }

/* --- スライド5: 収入実績 --- */
.income-detail-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.income-highlight-box {
    display: flex;
    align-items: center;
    background-color: #f0f9fc;
    border-radius: 8px;
    padding: 1rem;
}
.income-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}
.crown-icon { color: #FFD700; }
.time-icon { color: #3949ab; }
.income-text h3 {
    margin: 0 0 2px;
    font-size: 0.9rem;
    color: #333;
}
.income-amount {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-dark);
}
.highlight-number {
    color: var(--accent-color);
    font-size: 1.2em;
}
.career-point {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}
.career-point p { margin: 0; font-size: 0.9rem; line-height: 1.5; }

/* --- スライド6: 働き方事例 --- */
.therapist-profile-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.therapist-profile {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.therapist-profile .profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.profile-icon { font-size: 1.4rem; margin-right: 0.5rem; }
.profile-title { font-size: 1rem; font-weight: bold; margin: 0; }
.parent-profile .profile-title { color: #ff7675; }
.business-profile .profile-title { color: #74b9ff; }
.weekend-profile .profile-title { color: #55efc4; }
.profile-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* --- スライド7: よくある質問(FAQ) --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 0.8rem 1rem;
}
.faq-question {
    font-size: 0.9rem;
    color: var(--primary-color);
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.3rem;
    font-weight: bold;
}
.faq-question:before {
    content: 'Q.';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}
.faq-answer {
    font-size: 0.85rem;
    padding-left: 24px;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

/* --- スライド8: 応募CTA --- */
.slide#contact { background-color: white; }
.slide-content-final {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 100%;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.contact-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.line-button-final, .form-button-final, .tel-button-final {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}
.line-button-final { background-color: #06C755; color: white; flex-direction: column; }
.line-subtext {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}
.form-button-final { background-color: #f0f0f0; color: #333; }
.tel-button-final { background-color: var(--primary-color); color: white; }
.form-icon, .phone-icon, .line-button-final .line-icon { margin-right: 10px; }
.line-button-final .line-icon {
    display: inline-block;
    background-color: white;
    color: #06C755;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px;
}
.or-divider {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin: -0.5rem 0;
}

/* --- スライド9: 会社概要 --- */
.company-info-card {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    width: 100%;
}
.company-logo { text-align: center; margin-bottom: 1rem; }
.company-logo-img { max-width: 120px; }
.company-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}
.company-info-table th, .company-info-table td {
    padding: 6px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    line-height: 1.4;
}
.company-info-table th {
    width: 35%;
    color: var(--primary-dark);
}
.company-info-table tr:last-child th, .company-info-table tr:last-child td {
    border-bottom: none;
}

/* --- 【全面改修】LP改善CSS --- */

/* スライドコンテンツの基本設定 */
.slide-content-改 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.slide-content-改.v-center {
    justify-content: center;
}

/* --- スライド1: ファーストビュー --- */
.slide.first-slide { padding: 0; }
.fv-container-改 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.fv-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.fv-image-bg:after { /* 画像を少し暗くするオーバーレイ */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.fv-text-改 {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.fv-text-改 h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    color: #fff;
}
.fv-text-改 p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #fff;
}

/* --- スライド2: 悩みポイント --- */
.nayami-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.nayami-image {
    width: 100%;
    height: 25vh; /* 画面高さの25%を画像エリアに */
    overflow: hidden;
}
.nayami-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nayami-content {
    padding: 1.5rem;
    text-align: center;
}
.nayami-content h2 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}
.nayami-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.nayami-content li {
    font-size: 0.95rem;
    padding-left: 1.8rem;
    position: relative;
}
.nayami-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- スライド4: 収入ステップアップ --- */
.step-up-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.step-card {
    background: #fff;
    width: calc(33.333% - 8px); /* 3列レイアウト */
    aspect-ratio: 1 / 1; /* 正方形を維持 */
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}
.step-card .step-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 5px;
}
.step-card p {
    font-size: 0.75rem;
    color: #333;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}
.step-card span {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: bold;
    line-height: 1;
}
.step-card.top-therapist {
    background: var(--primary-dark);
}
.step-card.top-therapist p,
.step-card.top-therapist span {
    color: #fff;
}
.step-card.top-therapist .step-icon {
    color: #FFD700;
}

.simulation-box-改 {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    width: 100%;
    border: 2px solid var(--accent-color);
}
.simulation-box-改 h3 {
    font-size: 0.9rem;
    color: #333;
    margin: 0 0 0.5rem 0;
}
.simulation-box-改 p {
    font-size: 1rem;
    margin: 0;
    color: #333;
}
.simulation-box-改 .sim-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0 0.2rem;
    vertical-align: middle;
}

/* --- スライド5: 収入実績 --- */
.voice-card-改 {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}
.voice-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.voice-img-改 {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    background-color: #e0e0e0;
    flex-shrink: 0;
}
.voice-img-改 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.voice-info-改 {
    flex-grow: 1;
}
p.voice-name-改 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}
p.voice-income-改 {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
    background: var(--primary-light);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 0.5rem;
}
p.voice-income-改 span {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 0 0.2rem;
}

.voice-comment-改 {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 1rem;
}
.voice-comment-改 p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.sub-info-box-改 {
    background-color: #fff;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
}
.sub-info-box-改 p {
    margin: 0;
}