/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Colors - Corporate Solid & Trustworthy yet Modern */
    --color-primary: #1e3a8a; /* Deep Blue */
    --color-primary-light: #3b82f6; 
    --color-primary-dark: #1e40af;
    --color-accent: #f59e0b; /* Amber for CTA */
    --color-accent-hover: #d97706;
    
    --color-text: #334155;
    --color-heading: #0f172a;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;

    /* Typo */
    --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Spacing & Layout */
    --container-width: 1100px;
    --section-py: 100px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -3px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -5px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 800;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-py) 0;
}

.bg-light { background-color: var(--color-bg-alt); }
.text-center { text-align: center; }
.text-white { color: #fff !important; }

.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.w-full { width: 100%; }

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

/* Grid System */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header__logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-heading);
    letter-spacing: -0.02em;
}

.header__logo span {
    color: var(--color-primary-light);
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-heading);
    cursor: pointer;
    padding: 4px;
}

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

.header__nav a:not(.btn) {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.header__nav a:not(.btn):hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero__bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__eyebrow {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 99px;
    font-size: 0.9rem;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero__lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text);
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem__card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.problem__card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.problem__icon {
    font-size: 3rem;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.problem__card p {
    font-weight: 600;
    font-size: 1.1rem;
}

.problem__card p span {
    color: var(--color-accent);
    background: linear-gradient(transparent 70%, rgba(245, 158, 11, 0.2) 70%);
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list i {
    color: #10b981; /* Green */
    font-size: 1.5rem;
}

.abstract-shape {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-bg-alt), #e0e7ff);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite alternate;
}

.shape-inner {
    width: 60%;
    height: 60%;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    box-shadow: var(--shadow-hover);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: var(--color-primary-light);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--color-bg-alt);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card ul {
    text-align: left;
    color: var(--color-text);
    font-size: 0.95rem;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
}

.service-card ul li::before {
    content: "•";
    color: var(--color-primary-light);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* ==========================================================================
   Strengths
   ========================================================================== */
.strengths {
    background: var(--color-heading);
    position: relative;
    overflow: hidden;
}

.strengths::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTEgMWgxOGQxIDEgMCAwMTEgMXptMCAwdjE4cDAgMC0xLTF6IiBmaWxsPSIjMWUzYThhIiBmaWxsLW9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==') repeat;
    opacity: 0.3;
}

.strength-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.strength-card:hover {
    background: rgba(255,255,255,0.1);
}

.strength-card h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strength-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.strength-card p span {
    color: #fff;
    font-weight: bold;
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline__item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 2rem;
}

.timeline__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--color-bg-alt);
}

.timeline__content {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.timeline__content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq__container {
    max-width: 800px;
}

.faq__item {
    background: #fff;
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq__item summary {
    padding: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hide default arrow */
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary i {
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq__item[open] summary i {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 24px 24px;
    color: var(--color-text);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    position: relative;
    background: var(--color-primary);
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    opacity: 0.9;
    z-index: 0;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__form {
    max-width: 600px;
    margin: 2rem auto 0;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    color: var(--color-text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.required-badge {
    background: #e11d48;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--color-bg-alt);
    color: var(--color-heading);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-heading);
    color: #fff;
    padding: 80px 0 40px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer__brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 8px;
}

.footer__brand a { color: #94a3b8; }
.footer__brand a:hover { color: #fff; }

.footer__sns {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer__sns a {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: var(--transition);
    display: inline-flex;
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 50%;
}

.footer__sns a:hover {
    color: #fff;
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: #94a3b8;
}

.footer__links a:hover {
    color: #fff;
}

.footer__copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

.fade-up { transform: translateY(30px); }
.fade-up.active {
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-right { transform: translateX(-30px); }
.fade-right.active {
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-left { transform: translateX(30px); }
.fade-left.active {
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* ==========================================================================
   Sales LP Enhancements (Recommended, Themes, CTA)
   ========================================================================== */
.recommended__box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-primary-light);
}
.check-list-large li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-heading);
}
.check-list-large li:last-child { margin-bottom: 0; }
.check-list-large i { color: #10b981; font-size: 2rem; }

.theme-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: var(--transition);
}
.theme-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
    transform: translateY(-5px);
}
.theme-card__icon {
    font-size: 2.5rem;
    color: var(--color-primary-light);
    background: var(--color-bg-alt);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.theme-card p {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-heading);
}

.cta__content { z-index: 1; position: relative; }
.cta__desc { font-size: 1.2rem; font-weight: 600; line-height: 1.6; }
.cta__benefits {
    display: inline-flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
}
.cta__benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cta__form-simple { z-index: 1; position: relative; }
.cta-button {
    background: var(--color-accent);
    color: #fff;
    font-size: 1.4rem;
    padding: 20px 48px;
    border-radius: 99px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(245, 158, 11, 0.5);
    color: #fff;
}
.cta__subnote {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .header__menu-toggle { display: block; }
    .header__nav { 
        position: fixed; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background: rgba(255,255,255,0.98); 
        backdrop-filter: blur(10px);
        flex-direction: column; 
        align-items: flex-start;
        padding: 24px; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 20px; 
        display: flex; 
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .solution__container { grid-template-columns: 1fr; }
    .hero__title { font-size: 2.2rem; }
    .timeline::before { left: 18px; }
    .timeline__number { width: 40px; height: 40px; font-size: 1rem; }
    .timeline__item { padding-left: 60px; }
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.container--sm {
    max-width: 800px;
}
.privacy-page { 
    min-height: 80vh; 
}
.privacy-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition-delay: 0.1s;
    color: var(--color-text);
}
.privacy-content p {
    margin-bottom: 24px;
}
.privacy-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-heading);
    font-size: 1.25rem;
}
.privacy-list {
    list-style-type: decimal;
    padding-left: 24px;
    margin-top: 12px;
    margin-bottom: 24px;
}
.privacy-list li {
    margin-bottom: 8px;
}
.privacy-contact {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid var(--color-border);
}
.privacy-contact p {
    margin-bottom: 0;
    line-height: 1.8;
}
