/* ========================================
   Midst Seeker Mobile First LP - Custom Styles
   シカベイトカラー基調（イエロー・ネイビー）
   ======================================== */

:root {
    --color-primary-yellow: #FFFF00;
    --color-primary-navy: #000080;
    --color-accent-pink: #FF1493;
    --color-text-dark: #1a1a1a;
    --color-text-light: #666;
    --color-bg-light: #f9fafb;
    --color-border: #e5e7eb;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background: #fff;
}

#midst-seeker-lp {
    width: 100%;
    overflow-x: hidden;
}

.midst-mobile-container {
    max-width: 100%;
    margin: 0 auto;
}

/* ========================================
   Header with Logo
   ======================================== */
.midst-header {
    background: var(--color-primary-yellow);
    border-bottom: 4px solid var(--color-primary-navy);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.midst-header-inner {
    max-width: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.midst-logo-link {
    display: block;
    text-decoration: none;
}

.midst-logo {
    height: 60px;
    width: auto;
    display: block;
}

/* ========================================
   Video Hero Section
   ======================================== */
.midst-video-section {
    width: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.midst-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.midst-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.midst-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.midst-video-fallback {
    display: none;
    width: 100%;
    height: auto;
}

/* ========================================
   Title Section
   ======================================== */
.midst-title-section {
    background: linear-gradient(135deg, var(--color-primary-yellow) 0%, #ffeb3b 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid var(--color-primary-navy);
}

.midst-title-inner {
    max-width: 100%;
}

.midst-badge {
    display: inline-block;
    background: var(--color-primary-navy);
    color: var(--color-primary-yellow);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.midst-limited-badge {
    display: inline-block;
    background: var(--color-accent-pink);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.midst-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary-navy);
    margin-bottom: 8px;
}

.midst-size-badge {
    font-size: 1.5rem;
    color: var(--color-accent-pink);
    font-weight: 800;
    display: block;
    margin: 8px 0;
    background: var(--color-primary-yellow);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.midst-subtitle {
    font-size: 1.8rem;
    color: var(--color-accent-pink);
    font-weight: 800;
    display: block;
}

.midst-product-name {
    font-size: 1.1rem;
    color: var(--color-primary-navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.midst-tagline {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ========================================
   Reservation Highlight
   ======================================== */
.midst-reservation-highlight {
    background: var(--color-primary-navy);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.midst-highlight-inner {
    max-width: 100%;
}

.midst-highlight-label {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--color-primary-yellow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.midst-highlight-label-sub {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
    display: block;
}

.midst-highlight-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 500;
}

.midst-highlight-date {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.midst-shipping-date {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-primary-yellow);
}

/* ========================================
   Features Section
   ======================================== */
.midst-features-section {
    background: #fff;
    padding: 40px 20px;
}

.midst-features-inner {
    max-width: 100%;
}

.midst-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-primary-navy);
    position: relative;
    padding-bottom: 16px;
}

.midst-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary-yellow);
    margin: 12px auto 0;
    border: 2px solid var(--color-primary-navy);
}

.midst-feature-item {
    background: var(--color-bg-light);
    border-left: 5px solid var(--color-primary-navy);
    padding: 24px 20px;
    margin-bottom: 16px;
    border-radius: 8px;
}

.midst-feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-yellow);
    text-shadow: 2px 2px 0 var(--color-primary-navy);
    margin-bottom: 8px;
}

.midst-feature-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 12px;
}

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

/* ========================================
   Feco+ Section
   ======================================== */
.midst-feco-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 40px 20px;
    border-top: 4px solid var(--color-primary-navy);
    border-bottom: 4px solid var(--color-primary-navy);
}

.midst-feco-inner {
    max-width: 100%;
}

.midst-feco-certification {
    text-align: center;
    margin-bottom: 30px;
}

.midst-feco-cert-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    display: inline-block;
}

.midst-feco-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--color-text-dark);
    margin-bottom: 24px;
}

.midst-feco-text strong {
    color: var(--color-primary-navy);
    font-weight: 700;
}

.midst-material-highlight {
    background: rgba(255, 255, 255, 0.9);
    border-left: 5px solid var(--color-primary-navy);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.midst-material-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 12px;
}

.midst-material-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.midst-material-text strong {
    color: var(--color-primary-navy);
    font-weight: 700;
}

/* ========================================
   Limited Edition Notice
   ======================================== */
.midst-limited-notice {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 30px 20px;
    border-top: 4px solid var(--color-accent-pink);
    border-bottom: 4px solid var(--color-accent-pink);
}

.midst-limited-inner {
    max-width: 100%;
}

.midst-limited-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-navy);
    margin-bottom: 16px;
    text-align: center;
}

.midst-limited-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.midst-limited-text:last-child {
    margin-bottom: 0;
}

.midst-limited-urgent {
    font-weight: 700;
    color: var(--color-accent-pink);
    font-size: 1rem;
}

/* ========================================
   Story Section
   ======================================== */
.midst-story-section {
    background: #fff;
    padding: 40px 20px;
}

.midst-story-inner {
    max-width: 100%;
}

.midst-story-text {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-text-light);
}

.midst-story-text p {
    margin-bottom: 16px;
}

.midst-story-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Specs Section
   ======================================== */
.midst-specs-section {
    background: var(--color-bg-light);
    padding: 40px 20px;
}

.midst-specs-inner {
    max-width: 100%;
}

.midst-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.midst-specs-table th,
.midst-specs-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.midst-specs-table th {
    background: var(--color-primary-yellow);
    color: var(--color-primary-navy);
    font-weight: 700;
    width: 35%;
}

.midst-specs-table td {
    color: var(--color-text-light);
}

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

/* ========================================
   Final CTA Section
   ======================================== */
.midst-final-cta {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, #001a4d 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.midst-cta-inner {
    max-width: 100%;
}

.midst-cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-primary-yellow);
}

.midst-cta-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.midst-cta-shipping {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-yellow);
    margin-bottom: 8px;
}

.midst-cta-deadline {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    display: block;
}

.midst-cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
}

/* ========================================
   Buttons
   ======================================== */
.midst-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.midst-btn-primary {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, #001a4d 100%);
    color: var(--color-primary-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.midst-btn-primary:active {
    transform: scale(0.98);
}

.midst-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.midst-btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.midst-btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   Floating CTA Button (Mobile)
   ======================================== */
.midst-floating-cta {
    position: fixed;
    bottom: 85px; /* メニューバーとの重なりを防ぐため上に調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; /* 確実に最前面に表示 */
    width: calc(100% - 40px);
    max-width: 320px;
}

.midst-floating-btn {
    display: block;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--color-accent-pink) 0%, #ff1493 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
    transition: all 0.3s ease;
}

.midst-floating-btn:active {
    transform: scale(0.95);
}

/* ========================================
   Responsive Design (Desktop Fallback)
   ======================================== */
@media (min-width: 768px) {
    .midst-main-title {
        font-size: 3rem;
    }

    .midst-subtitle {
        font-size: 2.2rem;
    }

    .midst-section-title {
        font-size: 2.2rem;
    }

    .midst-feature-item {
        display: inline-block;
        width: calc(33.333% - 11px);
        margin-right: 16px;
        margin-bottom: 0;
        vertical-align: top;
    }

    .midst-feature-item:nth-child(3n) {
        margin-right: 0;
    }

    .midst-floating-cta {
        display: none;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.midst-text-center {
    text-align: center;
}

.midst-mt-20 {
    margin-top: 20px;
}

.midst-mb-20 {
    margin-bottom: 20px;
}

/* ========================================
   Animation
   ======================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.midst-floating-btn {
    animation: pulse 2s infinite;
}

.midst-limited-badge {
    animation: pulse 2s infinite;
}
