/* ========================================
   Re-Q大阪 セラピスト求人 LP 完全版スタイルシート
   ======================================== */

/* ========================================
   Base Variables & Reset
   ======================================== */
   :root {
    /* Palette: Navy, Gold, White, Soft Gray */
    --primary: #1a2a44;      /* 深いネイビー：信頼感 */
    --accent: #c5a059;       /* マットゴールド：高級感 */
    --accent-light: #f3e9d2; /* 薄いゴールド：背景用 */
    --line-green: #06C755;   /* LINEカラー */
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    
    /* Font */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ========================================
   Utility
   ======================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.center {
    text-align: center;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-title span {
    background: linear-gradient(transparent 70%, var(--accent-light) 70%);
    padding: 0 5px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
}

.logo h1 span {
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.cta-nav {
    background: var(--line-green);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
}

/* Mobile Nav */
.mobile-nav {
    display: none; /* JSで制御する場合、初期状態は非表示推奨 */
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav ul {
    padding: 20px;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================
   Hero Section (Mobile-First Image Approach)
   ======================================== */
.hero {
    position: relative;
    padding: 140px 0 80px; /* ヘッダーと被らないよう余白確保 */
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 背景画像コンテナ */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 画像本体 */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 画像の上に被せるフィルター（ネイビー） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 68, 0.7) 0%, rgba(26, 42, 68, 0.5) 100%); /* 少し明るく調整 */
    z-index: 2;
}

/* コンテンツコンテナ */
.hero-container {
    position: relative;
    z-index: 3; /* 背景より手前に */
    width: 100%;
}

.hero-badge {
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-catch {
    font-family: var(--font-serif);
    color: white;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-catch .main {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-catch .sub {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.gold-text {
    color: var(--accent);
    font-size: 3.5rem;
}

.hero-points li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-points i {
    color: var(--accent);
}

.btn-main-cta {
    display: inline-block;
    background: var(--line-green);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.3);
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
}

.btn-main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(6, 199, 85, 0.4);
}

.btn-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

/* ========================================
   Reason Section
   ======================================== */
.reason {
    background: var(--bg-light);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reason-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent);
}

.card-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: #f0f0f0;
    position: absolute;
    top: -10px;
    right: 10px;
    font-weight: 900;
    z-index: 0;
}

.reason-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.highlight-text {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.reason-card .desc {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* ========================================
   Income Section
   ======================================== */
.income-impact {
    background: linear-gradient(135deg, var(--primary), #2a4066);
    color: white;
    text-align: center;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(26, 42, 68, 0.3);
}

.income-impact .label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.income-impact .price {
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 10px;
}

.income-impact .yen {
    font-size: 2rem;
    vertical-align: top;
    margin-right: 5px;
}

.income-impact .num {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.income-impact .note {
    font-size: 0.8rem;
    opacity: 0.7;
}

.income-patterns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pattern-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
}

.pattern-card.recommended {
    border: 2px solid var(--accent);
    background: #fffdf5;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.pattern-label {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.pattern-cond {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.pattern-price {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.pattern-price span {
    font-size: 2rem;
    color: var(--accent);
}

/* ========================================
   Safety Section
   ======================================== */
.safety {
    background: white;
}

.safety-wrapper {
    background: #f0f7ff; /* 薄いブルーの背景 */
    border-radius: 24px;
    padding: 60px 40px;
}

.safety-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.safety-lead {
    text-align: center;
    margin-bottom: 50px;
}

.safety-list {
    display: grid;
    gap: 30px;
}

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.safety-list .icon {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.safety-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.safety-list p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* ========================================
   Step Section
   ======================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item::after {
    content: '▶';
    position: absolute;
    top: 25px;
    right: -15px;
    color: #ddd;
}

.step-item:last-child::after {
    display: none;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
    border: 2px solid var(--accent);
}

.step-item:last-child .step-num {
    background: var(--accent);
    color: white;
}

/* ========================================
   Requirements Section (募集要項)
   ======================================== */
.requirements {
    background: white;
}

.req-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th, .req-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.req-table th {
    background: #f9f9f9;
    color: var(--primary);
    font-weight: 700;
    width: 30%;
    font-family: var(--font-serif);
    vertical-align: top;
}

.req-table td {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
    border-bottom: none;
}

.req-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 5px;
    color: var(--text-gray);
}

.note {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 5px;
}

/* Highlight Row (Training) */
.highlight-row th {
    background: #fffbf0;
    color: #8c6b1d;
}

.highlight-row td {
    background: #fffbf0;
}

.req-title {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.req-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 15px 0 5px;
}

.req-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-box {
    background: var(--white);
    text-align: center;
    border: 1px solid #eee;
    border-top: 5px solid var(--line-green);
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.contact-text {
    margin-bottom: 40px;
}

.contact-sub {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #888;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sub-link {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   Footer & Float CTA
   ======================================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 60px; /* モバイル用Floatボタンのスペース確保 */
}

.float-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: none; /* PCでは非表示 */
    z-index: 9999;
}

.float-line {
    display: block;
    width: 100%;
    background: var(--line-green);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

/* ========================================
   Responsive (Mobile)
   ======================================== */
@media (max-width: 768px) {
    /* Header */
    .nav-list {
        display: none;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
    }

    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--primary);
        left: 0;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    /* Hero */
    .hero {
        padding-top: 110px;
        min-height: auto;
        text-align: left;
        /* 以前あった .hero-bg-image { display: none } は削除済み */
    }

    .hero-catch .main {
        font-size: 2.2rem;
    }

    .gold-text {
        font-size: 2.8rem;
    }

    .hero-points li {
        justify-content: flex-start; /* 左揃え */
        font-size: 1rem;
    }
    
    /* Income */
    .income-impact {
        padding: 30px 20px;
    }

    .income-impact .num {
        font-size: 3.5rem;
    }
    
    /* Steps */
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-item::after {
        content: '▼';
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }
    
    /* Requirements Table */
    .req-table th, .req-table td {
        display: block;
        width: 100%;
    }

    .req-table th {
        padding: 15px 20px 5px;
        background: white;
        border-bottom: none;
        color: var(--accent);
    }

    .req-table td {
        padding: 5px 20px 25px;
        border-bottom: 1px solid #eee;
    }

    /* Contact */
    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-title {
        font-size: 1.4rem;
    }
    
    /* Floating CTA */
    .float-cta-bar {
        display: block;
    }

    .footer {
        margin-bottom: 70px;
    }
}

/* Animation Pulse */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(6, 199, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* ========================================
   Hero Section (パターンA：シネマティック)
   ======================================== */

/* 1. オーバーレイ（影）の調整 */
/* 上は明るく（顔を見せる）、下は濃く（文字を読ませる） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 42, 68, 0.1) 0%,   /* 上部：ほぼ透明で顔を見せる */
        rgba(26, 42, 68, 0.4) 40%,  /* 中部：少しずつ暗く */
        rgba(26, 42, 68, 0.9) 80%,  /* 下部：文字のためにかなり暗く */
        #1a2a44 100%                /* 最下部：完全にネイビーに溶け込ませる */
    );
    z-index: 2;
}

/* 2. レイアウトの調整 */
/* 文字を画面の下の方に配置する */
.hero {
    position: relative;
    padding: 0;          /* 余白リセット */
    min-height: 85vh;    /* 画面の高さをしっかり確保 */
    display: flex;
    align-items: flex-end; /* コンテンツを下揃えにする */
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 60px; /* 下端からの余白 */
    padding-top: 200px;   /* 上部は顔のために空ける */
}

/* 3. 文字の視認性アップ */
/* 細いフォントなので、強めの影をつけて浮き上がらせる */
.hero-catch {
    font-family: var(--font-serif);
    color: white;
    line-height: 1.4;
    margin-bottom: 30px;
    /* 影を強めに設定 */
    text-shadow: 0 4px 10px rgba(0,0,0,0.8); 
}

/* ========================================
   Hero Section (横長画像・右側被写体 対応版)
   ======================================== */

.hero {
    position: relative;
    width: 100%;
    /* スマホ画面の高さをしっかり確保 */
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end; /* コンテンツを下に配置して顔を見せる */
    overflow: hidden;
    color: white;
}

/* 背景画像の設定 */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* 画面いっぱいに広げる */
    
    /* 【重要】PCでは中心、スマホでは「右側（セラピスト）」を表示する設定 */
    background-position: center center; 
    z-index: 1;
}

/* グラデーション（顔周りは明るく、足元は文字のために暗く） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 42, 68, 0.1) 0%,   /* 上部：顔を見せるためほぼ透明 */
        rgba(26, 42, 68, 0.2) 40%,  /* 中部：まだ薄く */
        rgba(26, 42, 68, 0.7) 70%,  /* 下部：文字の背景として暗く */
        #1a2a44 100%                /* 最下部：ネイビーに馴染ませる */
    );
    z-index: 2;
}

/* コンテンツコンテナ */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    /* 下に余白を持たせて文字を配置 */
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

/* バッジ */
.hero-badge {
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* キャッチコピー */
.hero-catch {
    font-family: var(--font-serif);
    color: white;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* 影を強めにして視認性UP */
}

.hero-catch .sub {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-catch .main {
    font-size: 2rem;
    font-weight: 700;
}

.gold-text {
    color: var(--accent);
    font-size: 2.4rem;
    font-weight: 800;
}

/* 箇条書きリスト */
.hero-points {
    margin-bottom: 30px;
}

.hero-points li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-points i {
    color: var(--accent);
}

/* ボタン */
.btn-main-cta {
    display: block;
    width: 100%;
    background: var(--line-green);
    color: white;
    padding: 16px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(6, 199, 85, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.btn-main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.5);
}

.btn-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

/* ========================================
   Responsive (スマホ専用設定)
   ======================================== */
@media (max-width: 768px) {
    /* ここが一番重要：スマホのときだけ画像の表示位置をずらす */
    .hero-img {
        /* 左から80%の位置（＝右側のセラピストがいる位置）を中心に表示 */
        background-position: 80% center; 
    }

    .hero {
        /* スマホのアドレスバーなどを考慮して少し高さを調整 */
        height: 90vh;
        /* 文字が顔に被らないよう、下寄せを強化 */
        align-items: flex-end;
    }
    
    .hero-container {
        padding-bottom: 80px; /* 下の余白を広げて、ボタンなどを操作しやすく */
    }
}