/* ========================================
   ME TOKYO EMOTION RESEARCH
   Z世代女子向けマーケティングリサーチLP
   ======================================== */

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

:root {
    /* ME TOKYO Colors */
    --yellow-primary: #FDFD00;
    --yellow-soft: #FFF9CC;
    --yellow-pale: #FFFEF0;
    --pink-primary: #FF69B4;
    --pink-soft: #FFB6D9;
    --pink-pale: #FFF0F5;
    
    /* Base Colors */
    --black: #1a1a1a;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #999;
    --gray-pale: #f5f5f5;
    --white: #ffffff;
    
    /* Fonts */
    --font-en: 'Poppins', sans-serif;
    --font-jp-heading: 'Zen Maru Gothic', sans-serif;
    --font-jp-body: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Insight Bar
   ======================================== */
.insight-bar {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--pink-primary) 100%);
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.insight-ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.insight-ticker span {
    display: inline-block;
    padding: 0 40px;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    font-family: var(--font-jp-heading);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--white);
    padding: 16px 0;
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo-link {
    display: block;
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-en);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--pink-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-jp-heading);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--yellow-primary);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(253, 253, 0, 0.3);
}

.btn-primary:hover {
    background: var(--pink-primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
    transform: translateY(-2px);
}

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

.cta-btn-primary {
    background: var(--yellow-primary);
    color: var(--black);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    background: var(--pink-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--yellow-pale) 0%, var(--pink-pale) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-logo {
    width: 160px;
    height: auto;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-main {
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--black);
}

.hero-title-sub {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-dark);
}

.hero-tagline {
    font-size: 36px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 24px;
    color: var(--black);
}

.hero-lead {
    font-size: 17px;
    line-height: 2;
    margin-bottom: 48px;
    color: var(--gray-dark);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--gray-pale);
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--black);
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray);
    display: block;
    margin-top: 12px;
}

.section-lead {
    font-size: 17px;
    line-height: 2;
    color: var(--gray-dark);
    margin-bottom: 48px;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   Stickers & Chips
   ======================================== */
.sticker {
    display: inline-block;
    background: var(--yellow-primary);
    color: var(--black);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 900;
    font-family: var(--font-en);
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
}

.sticker-yellow {
    background: var(--yellow-primary);
    color: var(--black);
}

.sticker-pink {
    background: var(--pink-primary);
    color: var(--white);
}

.chip-yellow,
.chip-pink {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 4px;
}

.chip-yellow {
    background: var(--yellow-soft);
    color: var(--black);
}

.chip-pink {
    background: var(--pink-soft);
    color: var(--black);
}

/* ========================================
   Marker Highlights
   ======================================== */
.marker-yellow {
    background: linear-gradient(transparent 60%, var(--yellow-primary) 60%);
    padding: 0 4px;
}

.marker-pink {
    background: linear-gradient(transparent 60%, var(--pink-primary) 60%);
    padding: 0 4px;
}

/* ========================================
   Doodles (手描き風背景)
   ======================================== */
.doodle {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.doodle-circle {
    width: 200px;
    height: 200px;
    border: 4px solid var(--pink-primary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.doodle-line {
    width: 150px;
    height: 4px;
    background: var(--yellow-primary);
    transform: rotate(-15deg);
    animation: float 5s ease-in-out infinite;
}

.doodle-path {
    width: 180px;
    height: 180px;
    border: 4px dashed var(--pink-primary);
    border-radius: 30%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========================================
   Why Section
   ======================================== */
.section-why {
    text-align: center;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.about-item {
    text-align: center;
}

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-item p {
    font-size: 16px;
    line-height: 1.8;
}

/* ========================================
   Strength Section
   ======================================== */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.strength-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.strength-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-en);
    color: var(--yellow-primary);
    margin-bottom: 20px;
}

.strength-title {
    font-size: 22px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 16px;
    line-height: 1.5;
}

.strength-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* ========================================
   Service Section
   ======================================== */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 20px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 12px;
}

.service-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* ========================================
   Cases Section
   ======================================== */
.cases-note {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 48px;
    font-style: italic;
}

.cases-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.flow-item {
    text-align: center;
}

.flow-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 12px;
}

.flow-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
}

.flow-arrow {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.case-category {
    display: inline-block;
    background: var(--yellow-primary);
    color: var(--black);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 16px;
}

.case-title {
    font-size: 16px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    line-height: 1.6;
}

/* ========================================
   Field Section
   ======================================== */
.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.field-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.field-name {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 16px;
    color: var(--black);
}

.field-address {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 12px;
}

.field-hours {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.field-note {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pink-primary);
    font-weight: 700;
    padding-top: 16px;
    border-top: 2px solid var(--gray-pale);
}

/* ========================================
   Process Section
   ======================================== */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    flex: 0 0 auto;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--yellow-primary);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    font-family: var(--font-en);
    margin: 0 auto 16px;
}

.process-title {
    font-size: 18px;
    font-weight: 900;
    font-family: var(--font-jp-heading);
    margin-bottom: 8px;
}

.process-text {
    font-size: 13px;
    color: var(--gray);
}

.process-arrow {
    font-size: 24px;
    color: var(--gray-light);
    font-weight: 700;
}

/* ========================================
   Contact Section
   ======================================== */
.section-contact {
    text-align: center;
}

.contact-lead {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-dark);
    margin-bottom: 60px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.required {
    color: var(--pink-primary);
    font-size: 13px;
    margin-left: 8px;
}

.optional {
    color: var(--gray);
    font-size: 13px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-pale);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-jp-body);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 4px rgba(253, 253, 0, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--pink-primary);
}

.error-message {
    display: none;
    color: var(--pink-primary);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 700;
}

.error-message.show {
    display: block;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    margin-top: 32px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-en);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--yellow-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-light);
}

.footer-privacy-link {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-privacy-link:hover {
    color: var(--yellow-primary);
}

/* ========================================
   Floating CTA
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--yellow-primary);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    font-family: var(--font-jp-heading);
    box-shadow: 0 8px 30px rgba(253, 253, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta:hover {
    background: var(--pink-primary);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.5);
    transform: translateY(-4px);
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: bottom 0.3s ease;
}

.toast.show {
    bottom: 32px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 24px;
}

.toast-message {
    font-size: 15px;
    font-weight: 700;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-title-main {
        font-size: 52px;
    }
    
    .hero-title-sub {
        font-size: 26px;
    }
    
    .strength-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .insight-bar {
        padding: 6px 0;
    }
    
    .insight-ticker span {
        font-size: 11px;
        padding: 0 24px;
    }
    
    .header {
        padding: 12px 0;
        top: 26px;
    }
    
    .logo {
        height: 64px;
    }
    
    .nav {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-logo {
        width: 110px;
    }
    
    .hero-title-main {
        font-size: 36px;
    }
    
    .hero-title-sub {
        font-size: 18px;
    }
    
    .hero-tagline {
        font-size: 26px;
    }
    
    .hero-lead {
        font-size: 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .about-content,
    .strength-grid,
    .field-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .cases-flow {
        flex-direction: column;
        gap: 16px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 16px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 16px 36px;
        font-size: 15px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .strength-number {
        font-size: 36px;
    }
    
    .strength-title {
        font-size: 18px;
    }
}