/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary-color: #2C2C2C; /* Dark Charcoal / Black for strong contrast */
    --secondary-color: #F26522; /* Hatch Bee Orange */
    --accent-color: #FFD500; /* Hatch Bee Yellow */
    --bg-color: #FFFCF2; /* Pale Yellow / Off-white */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 213, 0, 0.3); /* Yellow tint border */
    --shadow: 0 10px 30px 0 rgba(242, 101, 34, 0.15); /* Orange tinted shadow */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for floating CTA */
}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 2000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #0b4f6c 0%, #048ba8 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.25;
    mix-blend-mode: overlay;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(11, 79, 108, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 143, 1, 0.5);
    color: var(--white);
}

.btn-large {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
}

.btn-cta {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(241, 143, 1, 0.4);
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    background: #e65100;
}

/* Badges / Trust Markers */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.badge::before {
    content: '笘・;
    color: var(--secondary-color);
}

/* Sections */
.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Content Blocks for Sales Pages */
.problem-box {
    background: #fff3e0;
    border: 2px solid #ffcc80;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.problem-box h3 {
    color: #e65100;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.problem-list li::before {
    content: '笞・・;
    position: absolute;
    left: 0;
    top: 0;
}

/* Solution / Content Block */
.solution-block {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.solution-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 15px;
    border-top: 4px solid var(--accent-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Testimonials / Case Studies */
.cases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
}

.case-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.voice-box {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    position: relative;
}

.voice-box::before {
    content: '"';
    font-size: 4rem;
    color: rgba(11, 79, 108, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
}

.floating-cta p {
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

/* Cards from previous */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Page Hero Sections */
.page-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--primary-color);
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.35;
    mix-blend-mode: overlay;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 79, 108, 0.4) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.page-hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    animation: fadeIn 1s ease-out;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.page-hero-content p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
    margin-bottom: 80px; /* Space for floating CTA */
}

.footer-content {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-content a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

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

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(241, 143, 1, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 4px 25px rgba(241, 143, 1, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(241, 143, 1, 0.4); }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        padding-top: 80px;
        padding-left: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1500;
        align-items: flex-start;
    }
    .menu-toggle:checked ~ ul {
        right: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero h1 { font-size: 2.2rem; }
    .floating-cta {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    .btn-large {
        width: 100%;
        font-size: 1.1rem;
    }
}

