/* ==========================================================================
   3MIN.CSS - 3分でわかるキャンジョ専用スタイル
   スマホフルスクリーンのピッチスライド型UI
   ========================================================================== */

/* ベースリセット */
html, body.pitch-page {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-sans);
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
    overflow-x: hidden;
}

/* ヘッダーの透明化・固定化 */
body.pitch-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.pitch-page .nav-link { color: white; }

/* スライドコンテナ */
.pitch-container {
    width: 100%;
    /* iOS等での100vh問題を回避 */
    min-height: 100vh;
}

/* 個別スライド設定 */
.pitch-slide {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
}
.cover-bg { background-image: url('/assets/hero-bg-v2.webp'); }
.cta-bg { background-image: url('/assets/cta-bg.webp'); opacity: 0.2; }

.slide-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

/* 共通タイポグラフィ */
.slide-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.slide-heading {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: white;
}

.slide-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* =========================================
   Slide 1: Cover
   ========================================= */
.slide-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.slide-title .highlight {
    font-size: 0.5em;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.5rem;
}
.slide-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.8);
}
.scroll-prompt {
    position: absolute;
    bottom: -10vh; /* スライドがmin-height:100vhなので下に配置 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
}
.scroll-arrow {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-gold);
    animation: slideDown 1.5s infinite;
}
@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* =========================================
   Slide 2: Problem
   ========================================= */
.slide-problem {
    background: var(--color-bg);
    color: var(--color-text);
}
.slide-problem .slide-heading { color: var(--color-text); }
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.problem-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.problem-icon { font-size: 2rem; flex-shrink: 0; }
.problem-item p { margin: 0; font-weight: 600; font-size: 1.1rem; }
.solution-box {
    text-align: center;
    padding: 2rem;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(186, 153, 53, 0.3);
}

/* =========================================
   Slide 3: Promises
   ========================================= */
.promise-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.p-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    position: relative;
    padding-left: 4.5rem;
}
.p-card-num {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-gold);
}
.p-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: white;
}
.p-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* =========================================
   Slide 4: Services
   ========================================= */
.slide-services {
    background: var(--color-bg-alt);
    color: var(--color-text);
}
.slide-services .slide-heading { color: var(--color-text); }
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.s-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.s-item h4 { margin: 0 0 1rem; font-size: 1.1rem; }
.s-item p { margin: 0; font-size: 0.9rem; color: var(--color-text-light); line-height: 1.6; }

@media (max-width: 767px) {
    .service-grid { grid-template-columns: 1fr; gap: 1rem; }
    .s-item { padding: 1.5rem; }
}

/* =========================================
   Slide 5: Track Record
   ========================================= */
.logo-cloud {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}
.logo-cloud img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

@media (max-width: 767px) {
    .logo-cloud { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem 1rem; }
}

/* =========================================
   Slide 6: CTA
   ========================================= */
.slide-cta {
    text-align: center;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}
.btn--full { width: 100%; justify-content: center; }
.btn--text {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    background: transparent;
    padding: 1rem;
    font-size: 0.9rem;
}
