/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --text-primary: #2e1065;
    --text-secondary: #78716c;
    --text-muted: #a8a29e;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(88, 28, 135, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    background: #faf5ff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-only { display: inline; }
.pc-only { display: none; }

@media (min-width: 768px) {
    .sp-only { display: none; }
    .pc-only { display: inline; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 245, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--purple-700);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0;
    display: none;
}

.header-cta {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple-700);
    border: 1.5px solid rgba(126, 34, 206, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.25s;
}

@media (min-width: 768px) {
    .header-inner {
        height: 60px;
    }
    .logo {
        font-size: 1.5rem;
        gap: 12px;
    }
    .logo-sub {
        display: inline;
        font-size: 0.65rem;
    }
    .header-cta {
        padding: 8px 20px;
        font-size: 0.875rem;
    }
}

.header-cta:hover {
    background: var(--purple-700);
    color: #fff;
    border-color: var(--purple-700);
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(192, 132, 252, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
    overflow: hidden;
    position: relative;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple-700);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--purple-800);
    margin-bottom: 36px;
    line-height: 1.9;
    opacity: 0.75;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero {
        padding: 160px 0 100px;
    }
    .hero-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 48px;
    }
    .hero-content {
        text-align: left;
        flex: 1;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-sub {
        font-size: 1.15rem;
    }
    .hero-phone {
        flex-shrink: 0;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-primary {
    background: var(--purple-600);
    color: #fff;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover {
    background: var(--purple-700);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--purple-700);
    border: 1.5px solid rgba(126, 34, 206, 0.2);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--purple-700);
    color: #fff;
    border-color: var(--purple-700);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ===== Section Common ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background:
        radial-gradient(ellipse 70% 50% at 70% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%),
        #faf5ff;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-lead {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* ===== Glass Card Base ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ===== About Cards ===== */
.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
}

.about-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(88, 28, 135, 0.05);
}

.about-card:hover {
    box-shadow: 0 12px 40px rgba(88, 28, 135, 0.1);
    transform: translateY(-4px);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.08);
    border-radius: 16px;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .about-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Target / こんな方におすすめ ===== */
.target-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

.target-group {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 24px rgba(88, 28, 135, 0.05);
}

.target-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple-700);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.target-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.target-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--purple-400);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Features / 主な機能 ===== */
.feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 56px;
}

.feature-row:first-of-type {
    margin-top: 48px;
}

.feature-text {
    flex: 1;
}

.feature-text .feature-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--purple-200);
    margin-bottom: 8px;
    line-height: 1;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.feature-visual {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .feature-row {
        flex-direction: row;
        gap: 60px;
        margin-top: 80px;
    }
    .feature-row.reverse {
        flex-direction: row-reverse;
    }
    .feature-text h3 {
        font-size: 1.4rem;
    }
}

/* ===== Phone Mockup ===== */
.phone-mockup {
    width: 260px;
    flex-shrink: 0;
}

.phone-mockup.phone-small {
    width: 240px;
}

.phone-frame {
    background: linear-gradient(145deg, #2e1065, #1a0a3e);
    border-radius: 32px;
    padding: 8px;
    box-shadow:
        0 24px 60px rgba(88, 28, 135, 0.25),
        0 0 0 1px rgba(168, 85, 247, 0.15) inset;
    position: relative;
}

.phone-notch {
    width: 80px;
    height: 6px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 3px;
    margin: 6px auto 6px;
}

.phone-screen {
    background: #F9FAFB;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 460px;
}

.phone-small .phone-screen {
    height: 420px;
}

/* Mock App Bar */
.mock-appbar {
    background: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.mock-appbar-title {
    font-weight: 900;
    font-size: 15px;
    color: var(--purple-700);
}

.mock-appbar-icon {
    font-size: 14px;
}

/* Mock Search */
.mock-search {
    margin: 8px 10px 6px;
    background: #F5F3FF;
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mock-search-icon {
    font-size: 11px;
    opacity: 0.5;
}

.mock-search-text {
    font-size: 10px;
    color: #94a3b8;
}

/* Mock Chips */
.mock-chips {
    display: flex;
    gap: 4px;
    padding: 4px 10px 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mock-chip {
    font-size: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.mock-chip.active {
    background: rgba(147, 51, 234, 0.1);
    color: var(--purple-700);
    border-color: var(--purple-500);
    font-weight: 700;
}

/* Mock Org Grid */
.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 0 8px 8px;
    overflow: hidden;
    flex: 1;
}

.mock-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.mock-card-img {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mock-card-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 6px;
    font-weight: 700;
    color: #fff;
    padding: 1px 5px;
    border-radius: 6px;
}

.badge-imadegawa { background: #7C3AED; }
.badge-kyotanabe { background: #059669; }
.badge-both { background: #2563EB; }

.mock-card-body {
    padding: 5px 6px 6px;
}

.mock-card-tag {
    font-size: 6px;
    font-weight: 700;
    color: var(--purple-700);
    background: rgba(147, 51, 234, 0.08);
    padding: 1px 4px;
    border-radius: 3px;
}

.mock-card-name {
    font-size: 8px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-card-desc {
    font-size: 6.5px;
    color: #64748b;
    margin-top: 1px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mock Bottom Nav */
.mock-nav {
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 8px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    margin-top: auto;
}

.mock-nav-item {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.mock-nav-item small {
    display: block;
    font-size: 7px;
    margin-top: 1px;
}

.mock-nav-item.active {
    color: var(--purple-700);
}

/* ===== Mock Scout Screen ===== */
.mock-scout-list {
    flex: 1;
    overflow: hidden;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-scout {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    gap: 8px;
    position: relative;
    background: #fff;
}

.mock-scout.unread {
    border-color: rgba(147, 51, 234, 0.25);
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.08);
}

.mock-scout-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.mock-scout-dot {
    width: 7px;
    height: 7px;
    background: #EF4444;
    border-radius: 50%;
    border: 1.5px solid #fff;
    position: absolute;
    top: 6px;
    left: 30px;
}

.mock-scout-body {
    flex: 1;
    min-width: 0;
}

.mock-scout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.mock-scout-header strong,
.mock-scout-header span:first-child {
    font-size: 9px;
    color: #0F172A;
}

.mock-scout-time {
    font-size: 7px;
    color: #94a3b8;
}

.mock-scout-badge {
    display: inline-block;
    font-size: 6px;
    background: #f5f3ff;
    color: var(--text-secondary);
    padding: 1px 5px;
    border-radius: 4px;
    margin-bottom: 3px;
}

.mock-scout-body p {
    font-size: 7px;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mock-scout.unread .mock-scout-body p {
    color: #0F172A;
}

/* ===== Mock Event Screen ===== */
.mock-event-list {
    flex: 1;
    overflow: hidden;
    padding: 8px 10px;
}

.mock-event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    margin-top: 8px;
}

.mock-event-date:first-child {
    margin-top: 0;
}

.mock-date-badge {
    background: var(--purple-600);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
}

.mock-date-weekday {
    font-size: 8px;
    color: #64748b;
    font-weight: 500;
}

.mock-event {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
}

.mock-event-left {
    flex-shrink: 0;
    text-align: center;
}

.mock-event-time {
    font-size: 9px;
    font-weight: 700;
    color: #0F172A;
}

.mock-campus-badge {
    display: inline-block;
    font-size: 6px;
    font-weight: 700;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 3px;
}

.mock-event-right {
    flex: 1;
    min-width: 0;
}

.mock-event-title {
    font-size: 9px;
    font-weight: 700;
    color: #0F172A;
}

.mock-event-desc {
    font-size: 7px;
    color: #64748b;
    line-height: 1.3;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-event-org {
    font-size: 7px;
    color: #94a3b8;
    margin-top: 2px;
}

.mock-event-cal {
    font-size: 12px;
    color: var(--purple-600);
    flex-shrink: 0;
    cursor: default;
}

/* ===== Steps / ご利用の流れ ===== */
.steps {
    max-width: 520px;
    margin: 48px auto 0;
}

.step {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 20px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 4px 24px rgba(88, 28, 135, 0.05);
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}

.step-body {
    flex: 1;
    min-width: 0;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.step-arrow {
    text-align: center;
    font-size: 1.2rem;
    color: var(--purple-200);
    padding: 4px 0;
}

@media (min-width: 768px) {
    .step {
        padding: 28px 24px;
        gap: 20px;
    }
    .step-num {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .step h3 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }
    .step p {
        font-size: 0.9rem;
    }
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 640px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.faq-question {
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--purple-400);
    font-weight: 400;
    transition: transform 0.2s;
}

details[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 0 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background:
        radial-gradient(ellipse 60% 80% at 30% 50%, rgba(192, 132, 252, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 40%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--purple-800) 0%, var(--purple-900) 100%);
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-sub {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
    font-size: 1rem;
}

.cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--purple-800);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.cta-section .btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 100px 0;
    }
    .cta-title {
        font-size: 2.25rem;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    background: var(--purple-900);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}
