/* ================================
   Yae | Micro LP - Sunflower Theme
   ================================ */

/* CSS Variables - Vitamin Colors Flat Design (Toned Down) */
:root {
    /* Colors - Soft Vitamin Flat Palette for Better Readability */
    --bg: #FFCDD2;           /* さらにソフトなコーラル背景 */
    --surface: #C8E6C9;      /* さらにソフトなミントグリーン サーフェス */
    --primary: #FFEB3B;      /* ソフトイエロー（ボタン/強調） */
    --secondary: #7986CB;    /* ソフトインディゴ（アクセント） */
    --accent: #F8BBD9;       /* ソフトピンク */
    --text: #2C3E50;         /* 読みやすいネイビー */
    --muted: rgba(44,62,80,.75); /* ミューテッドテキスト */
    
    /* Soft Flat Gradients - トーンダウンビタミンカラー */
    --hero-gradient: linear-gradient(135deg, #FFCDD2 0%, #C8E6C9 100%);
    --vitamin-solid: #FFEB3B;
    
    /* Typography */
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --scale: 1.08;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 3rem 0;
    --gap-xs: 0.5rem;
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2rem;
    --gap-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(245, 165, 36, 0.15);
    --shadow-medium: 0 8px 32px rgba(245, 165, 36, 0.2);
    --shadow-strong: 0 12px 48px rgba(245, 165, 36, 0.25);
}

/* ================================
   Reset & Base Styles
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--hero-gradient);
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(200, 230, 201, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFEB3B 0%, #FFA726 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFC107 0%, #FF8F00 100%);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #FFA000 0%, #FF6F00 100%);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #FFEB3B rgba(200, 230, 201, 0.3);
}

/* ================================
   Typography
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--gap-sm);
}

h1 {
    font-size: clamp(1.6rem, 4.5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
    margin-bottom: var(--gap-sm);
}

/* ================================
   Layout & Container
   ================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--gap-sm);
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   Buttons
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-xs);
    padding: 1rem 2rem;
    border: 3px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Button Variants */
.btn-primary {
    background: var(--vitamin-solid);
    color: var(--text);
    border: 3px solid #FFA726;
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.6);
    filter: brightness(1.1);
    border-color: #FF8F00;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 3px solid #66BB6A;
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 187, 106, 0.6);
    filter: brightness(1.1);
    border-color: #4CAF50;
}

.btn-accent {
    background: var(--primary);
    color: var(--text);
    border: 3px solid #FFC107;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    filter: brightness(1.1);
    border-color: #FFA000;
}

.btn-outline {
    background: white;
    color: var(--text);
    border: 4px solid var(--secondary);
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(121, 134, 203, 0.3);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 134, 203, 0.5);
    filter: brightness(1.05);
}

/* LINE Button - Special Styling */
.btn-line {
    background: #00C300;
    color: white;
    border: 3px solid #00A000;
    box-shadow: 0 6px 20px rgba(0, 195, 0, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-line:hover {
    background: #00A000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.6);
    filter: brightness(1.1);
    border-color: #008000;
}

.btn-line:focus {
    outline: 3px solid #00F000;
    outline-offset: 2px;
}

.btn-line i {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* Instagram Button - Gradient Styling */
.btn-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
    border: 3px solid #DD2A7B;
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #E1751F, #C91E6B, #6A2C93, #4A4FB8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(221, 42, 123, 0.6);
    filter: brightness(1.1);
    border-color: #C91E6B;
}

.btn-instagram:focus {
    outline: 3px solid #F58529;
    outline-offset: 2px;
}

.btn-instagram i {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* Button Sizes */
.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* YouTube Button - Red Styling for Video Actions */
.btn-youtube {
    background: #FF0000;
    color: white;
    border: 3px solid #CC0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-youtube:hover {
    background: #CC0000;
    border-color: #AA0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    filter: brightness(1.1);
}

.btn-youtube:focus {
    outline: 3px solid #FF4444;
    outline-offset: 2px;
}

.btn-youtube i {
    color: white;
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    padding-bottom: 0;
    overflow: hidden;
    background: transparent;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.prehead {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--gap-sm);
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.headline {
    margin-bottom: var(--gap-md);
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 900;
    line-height: 1.2;
}

.subhead {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: var(--gap-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badges {
    display: flex;
    gap: var(--gap-sm);
    justify-content: center;
    margin-bottom: var(--gap-xl);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.badge i {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9em;
}

.hero-cta {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ================================
   Video Teaser Section
   ================================ */

.video-teaser-section {
    padding: var(--section-padding);
    padding-top: 0;
    background: transparent;
    margin-top: -3rem;
}

.section-headline {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(1.3rem, 3.5vw, 2rem);
}

.section-subhead {
    text-align: center;
    color: var(--muted);
    margin-bottom: var(--gap-md);
    margin-top: 0.25rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.video-teaser-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--gap-lg);
    box-shadow: none;
    border: 4px solid var(--primary);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: var(--gap-md);
    position: relative;
    overflow: hidden;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.thumbnail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    box-shadow: none;
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-icon {
    transform: scale(1.1);
}

.video-actions {
    display: flex;
    justify-content: center;
}

.video-actions .btn {
    min-width: 280px;
}

@media (max-width: 768px) {
    .video-actions .btn {
        width: 100%;
        max-width: 350px;
    }
}

/* ================================
   Button Panel Section
   ================================ */

.button-panel-section {
    padding: var(--section-padding);
    background: var(--surface);
    text-align: center;
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    max-width: 400px;
    margin: 0 auto var(--gap-md);
}

.button-note {
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ================================
   Support Notice Section
   ================================ */

.support-notice-section {
    padding: var(--section-padding);
    background: var(--accent);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--gap-xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.support-text {
    min-width: 0;
}

.support-body {
    font-size: 1.1rem;
    margin-bottom: var(--gap-md);
}

.support-image {
    width: 120px;
    height: 120px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: none;
    border: 4px solid white;
}

@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .support-image {
        margin: 0 auto;
    }
}

/* ================================
   Follow Strip
   ================================ */

.follow-strip-section {
    padding: var(--section-padding);
    text-align: center;
}

.follow-headline {
    margin-bottom: var(--gap-md);
}

.follow-items {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-md);
}

.follow-item {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: transform 0.3s ease;
    box-shadow: none;
    border: 3px solid white;
}

.follow-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* YouTube Button - Red Styling */
.follow-item.youtube-button {
    background: #FF0000;
    border: 3px solid #CC0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.follow-item.youtube-button:hover {
    background: #CC0000;
    border-color: #AA0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    filter: brightness(1.1);
}

.follow-item.youtube-button:focus {
    outline: 3px solid #FF4444;
    outline-offset: 2px;
}

.follow-item.youtube-button i {
    color: white;
    font-size: 1.2em;
}

.follow-note {
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Profile Photo Section */
.profile-photo-section {
    margin-top: var(--gap-xl);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .profile-photo {
        width: 150px;
        height: 150px;
    }
}

/* ================================
   Footer CTA
   ================================ */

.footer-cta-section {
    padding: var(--section-padding);
    background: var(--primary);
    text-align: center;
}

.footer-headline {
    margin-bottom: var(--gap-lg);
    color: var(--text);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.footer-share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
    flex-wrap: wrap;
    margin: 0 auto var(--gap-lg);
}

.footer-share-buttons .btn {
    min-width: 200px;
    padding: 1.5rem 2rem;
    flex: 1;
    max-width: 250px;
}

.footer-note {
    color: var(--muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--gap-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .footer-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-share-buttons .btn {
        min-width: 250px;
        max-width: 300px;
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}

.legal-text {
    margin-top: var(--gap-xl);
    padding-top: var(--gap-lg);
    border-top: 1px solid rgba(27, 31, 35, 0.1);
}

.legal-text p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ================================
   Modals
   ================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--gap-md);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: var(--gap-md);
    border-bottom: 1px solid rgba(27, 31, 35, 0.1);
}

.modal-header h3 {
    margin: 0;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(27, 31, 35, 0.1);
}

.modal-body {
    padding: var(--gap-md);
    overflow-y: auto;
    max-height: 70vh;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(200, 230, 201, 0.2);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFEB3B 0%, #FFA726 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFC107 0%, #FF8F00 100%);
}

.modal-footer {
    padding: var(--gap-md);
    border-top: 1px solid rgba(27, 31, 35, 0.1);
    display: flex;
    gap: var(--gap-sm);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.modal-footer .btn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Video Container */
.video-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem 0;
    }
    
    .modal-content {
        max-width: 95vw;
    }
    
    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 1.5rem 0;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ================================
   Accessibility & Animations
   ================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Text selection */
::selection {
    background: var(--accent);
    color: var(--text);
}

::-moz-selection {
    background: var(--accent);
    color: var(--text);
}