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

:root {
    --bg: #ffffff;
    --surface: #f0faf8;
    --card: #ffffff;
    --accent: #0bbfaa;
    --accent-light: #2dd4be;
    --accent-dark: #089988;
    --text: #111111;
    --text-muted: #777777;
    --border: #d8f0ec;
    --shadow: 0 2px 16px rgba(11, 191, 170, 0.08);
    --shadow-hover: 0 8px 32px rgba(11, 191, 170, 0.18);
    --radius: 16px;
    --max-w: 1080px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================
   Header
   ===================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.5px;
    text-decoration: none;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
}

.btn-nav {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 100px;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: background 0.2s, transform 0.2s !important;
}

.btn-nav:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 8px 0;
}

.mobile-nav-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--text);
    background: var(--card);
}

.mobile-nav-link.cta {
    color: var(--accent);
    font-weight: 700;
}

.mobile-nav.open {
    display: flex;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(11, 191, 170, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(11, 191, 170, 0.55);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--border);
    color: var(--text-muted);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    background: #fff;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 16px rgba(11, 191, 170, 0.15);
}

/* =====================
   Sections Base
   ===================== */
section {
    padding: 96px 0;
}

section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 56px;
    font-size: 16px;
    line-height: 1.8;
}

/* =====================
   Hero (全画面スライドショー)
   ===================== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

/* 背景スライドショー */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* 暗いオーバーレイ（文字を読みやすく） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

/* テキスト */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 780px;
}

.hero-tag {
    display: inline-block;
    background: rgba(11, 191, 170, 0.25);
    border: 1px solid rgba(11, 191, 170, 0.6);
    color: #5eeee4;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
}

#hero h1 {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-note {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
}

/* ドット */
.slideshow-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}

.dot.active {
    background: #ffffff;
    width: 28px;
}

/* =====================
   Gallery
   ===================== */
#gallery {
    background: var(--surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    transition: transform 0.25s, border-color 0.25s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 90, 31, 0.35);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-caption {
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Features
   ===================== */
#features {
    background: var(--surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
    border-color: rgba(255, 90, 31, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* =====================
   Scenes
   ===================== */
#scenes {
    background: var(--bg);
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.scene-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.scene-card:hover {
    border-color: rgba(255, 90, 31, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.scene-emoji {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.scene-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.scene-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* =====================
   Flow
   ===================== */
#flow {
    background: var(--surface);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.flow-step {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
}

.step-num {
    font-size: 52px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.5;
    font-variant-numeric: tabular-nums;
}

.flow-step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.flow-arrow {
    font-size: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 64px;
    opacity: 0.4;
}

/* =====================
   Pricing
   ===================== */
#pricing {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    box-shadow: var(--shadow);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
    border-color: rgba(255, 90, 31, 0.25);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(145deg, #f0faf8 0%, #ffffff 60%);
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(11, 191, 170, 0.2);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-price {
    font-size: 26px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 44px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid var(--border);
}

.plan-features li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 32px;
}

/* =====================
   FAQ
   ===================== */
#faq {
    background: var(--surface);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open {
    border-color: rgba(255, 90, 31, 0.25);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.faq-q::after {
    content: '+';
    flex-shrink: 0;
    font-size: 22px;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s;
}

.faq-item.open .faq-q::after {
    content: '−';
}

.faq-a {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.faq-item.open .faq-a {
    display: block;
}

/* =====================
   Contact
   ===================== */
#contact {
    background: linear-gradient(160deg, #f0faf8 0%, #ffffff 100%);
    text-align: center;
    background-image: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(11, 191, 170, 0.08) 0%, transparent 70%);
}

.contact-content {
    max-width: 600px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06C755;
    color: #fff;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-line:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--border);
    color: var(--text-muted);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-mail:hover {
    border-color: var(--text);
    color: var(--text);
}

.btn-icon {
    font-size: 18px;
}

.contact-note {
    color: var(--text-muted);
    font-size: 13px;
}

/* =====================
   Footer
   ===================== */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    nav > a:not(.btn-nav) {
        display: none;
    }

    .btn-nav {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    #hero h1 {
        letter-spacing: -0.5px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .scene-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-line,
    .btn-mail {
        justify-content: center;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 72px 0;
    }

    .hero-sub br {
        display: none;
    }
}
