/*
Theme Name: Himawari Imajuku Rich LP
Theme URI: https://himawari-hoiku.net/
Description: A rich, warm, and responsive LP theme for Himawari Nursery Imajuku.
Author: Himawari
Version: 2.0.0
*/

:root {
    --primary: #f8b831;
    --primary-light: #fff5e1;
    --secondary: #ff8c42;
    --accent: #8dc63f;
    --text-color: #5c4b37;
    --text-light: #8b7a66;
    --bg-color: #fffdf9;
    --bg-section: #fff;
    --cta-phone: #4285f4;
    --cta-form: #f8b831;
}

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

body {
    font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    letter-spacing: 0.05em;
}

/* Typography & Base */
a {
    text-decoration: none;
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Cute Heading Styles */
.sec-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 10px;
}

/* Layout */
.lp-wrapper {
    max-width: 100%;
    overflow: hidden;
}

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

.container-sm {
    max-width: 800px;
}

/* ================= Hero / FV ================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-light);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 90%;
    border: 4px dashed var(--primary);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.4;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.badge {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    box-shadow: 0 6px 0 var(--primary-dark), 0 10px 15px rgba(0,0,0,0.1);
}
.badge.accent {
    background: var(--secondary);
    box-shadow: 0 6px 0 #d96f2d, 0 10px 15px rgba(0,0,0,0.1);
}

/* ================= Sections ================= */
section {
    padding: 70px 0;
    background: var(--bg-section);
}

section:nth-child(even) {
    background: var(--primary-light);
}

/* ================= Video ================= */
.video-section {
    padding-top: 0px; /* reduce padding so it sits close to FV */
    padding-bottom: 50px;
    background: transparent !important;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 5px solid #fff;
    background: #000;
}
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sec-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sec-intro h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.sec-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ================= Features / Strengths ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 2px solid var(--primary-light);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px dotted var(--primary-light);
    padding-bottom: 10px;
    display: inline-block;
}

/* ================= Pricing ================= */
.price-card {
    background: #fff;
    border: 3px solid var(--secondary);
    border-radius: 25px;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.15);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 10px;
    background: repeating-linear-gradient(45deg, var(--secondary), var(--secondary) 10px, transparent 10px, transparent 20px);
}

.price-target {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-amount {
    color: var(--secondary);
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price-amount .currency { font-size: 1.2rem; font-weight: bold; }
.price-amount .number { font-size: 4rem; font-weight: 900; line-height: 1; margin: 0 5px; }
.price-amount .yen { font-size: 1.5rem; font-weight: bold; }

.price-note {
    font-size: 0.9rem;
    color: #e53935;
    font-weight: bold;
    background: #ffebee;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 15px;
}

/* ================= Campaign ================= */
.campaign {
    background: transparent;
}

.campaign-box {
    background: #fff;
    border: 4px dashed var(--secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--text-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.campaign-box p {
    font-size: 1.5rem;
    font-weight: bold;
}

.campaign-box strong {
    color: #e60012;
    font-size: 2rem;
    display: inline-block;
    margin-top: 10px;
}

/* ================= Gallery ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ================= Schedule ================= */
.schedule-timeline {
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-light);
    padding-left: 25px;
    position: relative;
}
.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f9f9f9;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-light);
}
.timeline-item.accent::before {
    background: var(--secondary);
    box-shadow: 0 0 0 2px var(--secondary);
}
.timeline-item .time {
    font-weight: 900;
    color: var(--primary-dark);
    width: 90px;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.timeline-item .desc {
    color: var(--text-color);
    font-weight: bold;
}

/* ================= Overview Table ================= */
.overview-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}
.overview-table th, .overview-table td {
    padding: 20px;
    border-bottom: 1px dashed #eee;
}
.overview-table th {
    background: var(--primary-light);
    color: var(--text-color);
    text-align: left;
    width: 25%;
}
.overview-table tr:last-child th, .overview-table tr:last-child td {
    border-bottom: none;
}

/* ================= FAQ ================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.faq-item .question {
    background: var(--secondary);
    color: #fff;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
}
.faq-item .answer {
    padding: 25px;
    background: #fffdf9;
    font-size: 1.05rem;
    color: var(--text-color);
}

/* ================= Access ================= */
.access-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.access-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

/* ================= Fixed CTA ================= */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 15px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0,0,0,0.15);
}

.cta-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.cta-phone { background-color: var(--cta-phone); }
.cta-form { background-color: var(--cta-form); }

.cta-btn .text { margin-left: 10px; }

/* Responsive / Smartphone */
@media (max-width: 768px) {
    .hero-title { font-size: 1.6rem; }
    .badge { font-size: 1.1rem; padding: 8px 20px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    
    .price-amount .number { font-size: 3rem; }
    .campaign-box p { font-size: 1.2rem; }
    .campaign-box strong { font-size: 1.5rem; }
    
    .cta-btn {
        flex-direction: column;
        padding: 10px 5px;
        border-radius: 15px;
        font-size: 0.9rem;
    }
    .cta-btn .text { margin-left: 0; margin-top: 5px; font-size: 0.8rem;}
    .hero-content { padding: 30px 20px; }
}

/* ================= Header ================= */
.site-header {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}
.header-inner {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.site-logo a {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary);
}
.site-logo img.custom-logo {
    max-height: 55px;
    width: auto;
    display: block;
}

/* ================= Footer ================= */
.site-footer {
    background: var(--text-color);
    color: #fff;
    padding: 60px 0 140px; /* extra space for CTA */
    text-align: center;
}
.footer-info p {
    color: #e0dcd7;
    font-size: 0.95rem;
    margin-bottom: 5px;
}
.footer-info {
    margin-bottom: 30px;
}
.footer-info p strong {
    font-size: 1.2rem;
    color: #fff;
}
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.footer-links a {
    color: #e0dcd7;
    text-decoration: underline;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--primary);
}
.copyright {
    color: #8b7a66;
    font-size: 0.85rem;
}
