:root {
    --color-primary: #272E64;
    --color-secondary: #4A5589;
    --color-accent: #E91E63;
    --color-text: #333333;
    --color-text-light: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-dark: #1a1f42;
    --font-main: 'Noto Sans JP', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-white {
    color: var(--color-text-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5rem;
    line-height: 1.3;
    position: relative;
    padding-left: 30px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 6px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 10px 20px rgba(39, 46, 100, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(39, 46, 100, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    min-width: 300px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
    color: #fff;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    color: var(--color-text);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    /* White logo initially */
    transition: var(--transition);
}

.header.scrolled .logo-img {
    filter: none;
    /* Original color on scroll */
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

.nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.8rem;
    border: 1px solid currentColor;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.header.scrolled .btn-nav:hover {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 46, 100, 0.9) 0%, rgba(26, 31, 66, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title .highlight {
    background: linear-gradient(120deg, #fff, #a5b4fc, #fff, #fbbf24);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-title .highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 100%;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.scroll-indicator .line {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Intro */
.intro {
    position: relative;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
}

.intro-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.intro-image-wrapper:hover .intro-img {
    transform: scale(1.05);
}

.intro-text {
    flex: 1;
}

.intro-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: var(--color-primary);
}

.intro-text .lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #555;
}

.intro-btns {
    display: flex;
    gap: 1.5rem;
}

/* Issues */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.issue-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.issue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(39, 46, 100, 0.1);
}

.issue-num {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    font-family: 'Helvetica Neue', sans-serif;
    opacity: 0.15;
}

/* Individual colors for each issue card */
.issue-card:nth-child(1) .issue-num {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(2) .issue-num {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(3) .issue-num {
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(4) .issue-num {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(5) .issue-num {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(6) .issue-num {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card:nth-child(7) .issue-num {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.issue-card p {
    font-weight: 600;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Merits */
.merits {
    background-color: var(--color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.merit-block {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.merit-block.reverse {
    flex-direction: row-reverse;
    margin-bottom: 0;
}

.merit-content {
    flex: 1;
}

.merit-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.merit-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.merit-image {
    flex: 1.2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.merit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service */
.service-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-img-wrapper {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-desc {
    flex: 1;
    padding: 1rem;
}

.service-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-desc p {
    font-size: 1.05rem;
    color: #666;
}

/* FAQ Section */
.faq {
    position: relative;
    overflow: hidden;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    background: #fff;
    border: 2px solid rgba(39, 46, 100, 0.08);
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item:hover {
    border-color: rgba(39, 46, 100, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.8rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    position: relative;
    color: var(--color-text);
    transition: background-color 0.3s ease;
    user-select: none;
}

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

.faq-item:hover .faq-question {
    background-color: rgba(39, 46, 100, 0.02);
}

.faq-item[open] .faq-question {
    background-color: rgba(39, 46, 100, 0.05);
    border-bottom: 1px solid rgba(39, 46, 100, 0.1);
}

.q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    line-height: 1.6;
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-secondary);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item[open] .toggle-icon {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 2rem 1.8rem 2rem;
    background-color: #fff;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #555;
}

.faq-answer p {
    margin: 0;
    display: flex;
    gap: 1rem;
}

.a-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #f06292);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    padding-bottom: 3rem;
}

.footer-cta {
    text-align: center;
    background: var(--color-bg-dark);
    color: #fff;
    padding: 6rem 2rem;
    border-radius: 30px;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #2e3670 0%, #1a1f42 100%);
    z-index: 0;
}

.footer-cta h2,
.footer-cta .footer-btns {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.footer-btns .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.footer-btns .btn-secondary:hover {
    background: #fff;
    color: var(--color-primary);
}

.footer-links {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

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

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

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }

    .intro-content,
    .merit-block,
    .merit-block.reverse,
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        gap: 3rem;
    }

    .intro-image-wrapper,
    .merit-image,
    .service-img-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .intro-image-wrapper img,
    .merit-image img,
    .service-img-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .merit-block {
        margin-bottom: 5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.5rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
        padding-left: 20px;
    }

    .section-title::before {
        width: 4px;
        top: 8px;
        bottom: 8px;
    }

    /* Intro Section Mobile Fix */
    .intro-content {
        flex-direction: column;
        gap: 2rem;
    }

    .intro-image-wrapper {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .intro-text {
        order: 1;
    }

    .intro-heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .intro-text .lead {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .intro-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .intro-btns .btn {
        width: 100%;
    }

    /* Merit Section Mobile */
    .merit-block,
    .merit-block.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .merit-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .merit-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .merit-content p {
        font-size: 0.95rem;
    }

    /* Service Section Mobile */
    .service-item {
        padding: 1.5rem;
        gap: 2rem;
    }

    .service-desc {
        padding: 0;
    }

    .service-desc h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .service-desc p {
        font-size: 0.95rem;
    }

    /* Issues Grid Mobile */
    .issues-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .issue-card {
        padding: 2rem 1.5rem;
    }

    .issue-card p {
        font-size: 1rem;
    }

    /* FAQ Mobile */
    .faq-intro {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .faq-question {
        padding: 1.2rem 1rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .q-icon,
    .a-icon {
        min-width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .toggle-icon {
        width: 28px;
        height: 28px;
    }

    .toggle-icon svg {
        width: 20px;
        height: 20px;
    }

    .faq-answer {
        padding: 0 1rem 1.2rem 1rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        gap: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Footer Mobile */
    .footer-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        min-width: auto;
    }

    .header-inner {
        padding: 0 1.5rem;
    }

    .nav {
        display: none;
    }

    .hero-bg-wrapper {
        height: 100%;
    }

    .footer-cta {
        padding: 3rem 1.5rem;
    }

    .footer-cta h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-company {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .intro-heading {
        font-size: 1.5rem;
    }

    .merit-content h3,
    .service-desc h3 {
        font-size: 1.2rem;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}