/* Reset & Base */
:root {
    --primary-color: #0F172A;
    /* Navy Blue */
    --secondary-color: #1E293B;
    /* Darker Blue for sections */
    --accent-color: #D4AF37;
    /* Gold */
    --text-color: #334155;
    --text-light: #F8FAFC;
    --bg-light: #F1F5F9;
    --white: #FFFFFF;
    --font-main: 'Noto Sans JP', sans-serif;
    --max-width: 1100px;
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-sub {
    text-align: center;
    margin-bottom: 4rem;
    color: #64748B;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-line {
    background-color: #06C755;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    color: var(--white);
}

/* Material Icons Alignment */
.material-symbols-outlined {
    vertical-align: middle;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav a:not(.btn) {
    font-weight: 500;
    color: var(--primary-color);
}

.nav a:not(.btn):hover {
    color: var(--accent-color);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Fallback if image fails */
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

/* Hero Background Image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Darken image for text readability */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(transparent 60%, rgba(212, 175, 55, 0.6) 60%);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-icon {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 1.3rem;
}

.hero-cta .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Pain Points */
.pain-points {
    background-color: var(--bg-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.pain-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.pain-item:hover {
    transform: translateY(-5px);
}

.pain-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.pain-item p {
    font-weight: 500;
}

.pain-solution {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

/* USP */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usp-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #F1F5F9;
    transition: transform 0.3s ease;
}

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

.usp-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #F8FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.usp-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.usp-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.usp-item p {
    color: #64748B;
    font-size: 0.95rem;
}

/* Services Grid Redesign */
.services {
    background-color: var(--secondary-color);
    color: var(--white);
}

.services .section-title {
    color: var(--white);
}

.services .section-sub {
    color: #94A3B8;
}

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

.service-card {
    background: var(--white);
    color: var(--text-color);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card-icon {
    width: 70px;
    height: 70px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
}

.service-card-icon .material-symbols-outlined {
    font-size: 2.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    min-height: 3rem;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card ul {
    text-align: left;
    padding-left: 15px;
    font-size: 0.95rem;
    color: #475569;
}

.service-card li {
    margin-bottom: 8px;
    list-style: disc;
    padding-left: 5px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.yen {
    font-size: 1rem;
    font-weight: 500;
}

.plan-hours {
    color: #64748B;
    margin-bottom: 2rem;
    font-weight: 500;
}

.plan-features {
    text-align: left;
    margin-bottom: 2rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 2rem;
}

.plan-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.plan-features li.disabled {
    color: #CBD5E1;
}

.plan-features li.disabled::before {
    content: '-';
    color: #CBD5E1;
}

.plan-recommend {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    background: #F1F5F9;
    padding: 10px;
    border-radius: 8px;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748B;
}

/* Flow */
.flow {
    background-color: var(--bg-light);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.flow-step {
    flex: 1;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
}

.step-icon .material-symbols-outlined {
    font-size: 2rem;
}

.step-num {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 0.9rem;
    color: #64748B;
}

/* Profile */
.profile-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-text {
    flex: 1;
}

.align-left {
    text-align: left;
}

.profile-role {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.profile-img-box {
    flex: 0 0 350px;
    height: 350px;
    background-color: #E2E8F0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-weight: 700;
    overflow: hidden;
}

.profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile SNS Buttons */
.profile-sns {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-sns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-sns:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-x {
    background-color: #000000;
    /* X Black */
}

.btn-note {
    background-color: #41C9B4;
    /* note Green */
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: var(--white);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: #64748B;
    border-top: 1px solid #F1F5F9;
    padding-top: 20px;
}

/* CTA & Form */
.cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding-bottom: 100px;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-sub {
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* Contact Form Styles */
.contact-form-wrapper {
    max-width: 800px;
    /* Wider for Google Form */
    margin: 0 auto;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 16px;
    color: var(--text-color);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.google-form-container iframe {
    width: 100%;
    max-width: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: #020617;
    color: #64748B;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .header-inner {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .usp-grid,
    .pricing-grid,
    .flow-steps,
    .services-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

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

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .profile-inner {
        flex-direction: column-reverse;
    }

    .profile-img-box {
        width: 100%;
        height: 300px;
        flex: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* Tablet (Portrait) */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}