/* ============================================
   Variables
   ============================================ */
:root {
    --primary-color: #003366;
    --accent-color: #0077cc;
    --accent-light: #00aaff;
    --text-color: #1a1a2e;
    --light-text: #555577;
    --bg-color: #ffffff;
    --bg-gray: #f4f7fb;
    --white: #ffffff;
    --max-width: 1200px;
    --spacing: 90px;
    --shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 51, 102, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

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

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

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

/* ============================================
   Typography
   ============================================ */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-subtitle {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
    color: var(--white);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.service-link-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.service-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
    color: white;
}

/* ============================================
   Header (for inner pages)
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 15px rgba(0, 51, 102, 0.08);
    padding: 14px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--light-text);
    margin-left: 10px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
}

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

.nav-list a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: color 0.3s;
}

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

.nav-btn {
    padding: 9px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn {
    display: none;
}

/* ============================================
   Hero (inner pages)
   ============================================ */
.hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-content {
    color: var(--white);
    max-width: 700px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* ============================================
   Services
   ============================================ */
.service-card {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    background: rgba(0, 119, 204, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    font-family: 'Manrope', sans-serif;
}

.service-content h3 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.service-desc {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.9;
}

.service-list {
    list-style: none;
    padding-left: 0;
    color: var(--text-color);
}

.service-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.65rem;
    top: 6px;
}

.service-image-wrap {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.service-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img {
    transform: scale(1.03);
}

/* ============================================
   Why Us
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--accent-color);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* ============================================
   Company
   ============================================ */
.company-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.company-image-col {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.company-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.company-info-col {
    flex: 1;
}

.company-list {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.company-item {
    display: flex;
    border-bottom: 1px solid #e8eef5;
    padding: 18px 0;
}

.company-item:last-child {
    border-bottom: none;
}

.company-item dt {
    width: 120px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.company-item dd {
    flex: 1;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   Contact
   ============================================ */
.contact-text {
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
    line-height: 1.9;
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

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

.required {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-left: 6px;
    background: #fff5f5;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e53e3e;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0dce8;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #0a1628;
    color: #fff;
    padding: 60px 0 24px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #1e2d45;
    padding-bottom: 40px;
    margin-bottom: 24px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-logo p {
    font-size: 0.85rem;
    color: #8899aa;
}

.footer-nav ul {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #aabbcc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.copyright {
    text-align: center;
    color: #556677;
    font-size: 0.82rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing: 60px;
    }

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

    .header-container {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        width: 100%;
        margin-top: 16px;
    }

    .nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: 0.3s;
    }

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

    .service-card {
        flex-direction: column;
        gap: 30px;
        padding: 30px 24px;
    }

    .service-card.reverse {
        flex-direction: column;
    }

    .service-img {
        height: 220px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .company-img {
        height: 240px;
    }

    .company-item {
        flex-direction: column;
    }

    .company-item dt {
        margin-bottom: 4px;
        width: auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

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

    .contact-form {
        padding: 28px 20px;
    }
}

/* ============================================
   New Hero Section (TOP page)
   ============================================ */
.new-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image layer */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for text readability */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 15, 40, 0.82) 0%,
        rgba(0, 40, 90, 0.70) 50%,
        rgba(0, 80, 150, 0.55) 100%
    );
}

/* All content sits above background */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Navbar */
.hero-navbar {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background: rgba(0, 10, 30, 0.3);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Left side: Logo + nav links */
.nav-left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo-svg {
    display: flex;
    align-items: center;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links a {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* Right side buttons */
.nav-right {
    display: flex;
    gap: 12px;
}

.btn-signin {
    background: rgba(255, 255, 255, 0.15);
    padding: 9px 18px;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.btn-signin:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-getstarted {
    background: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 22px;
    color: var(--primary-color);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    transition: all 0.3s;
}

.btn-getstarted:hover {
    transform: translateY(-1px);
    box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

/* Hero Main Content */
.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin-top: 120px;
    gap: 32px;
    width: 100%;
    padding: 0 24px;
    padding-bottom: 80px;
}

/* Eyebrow label */
.hero-eyebrow {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(100, 200, 255, 0.9);
    background: rgba(0, 150, 255, 0.15);
    border: 1px solid rgba(100, 200, 255, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Heading block */
.heading-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
}

/* Line 1 */
.heading-line1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 72px;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Line 2 */
.heading-line2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 72px;
    color: #64c8ff;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 100, 200, 0.4);
}

/* Subtitle */
.subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(230, 240, 255, 0.9);
    max-width: 680px;
    margin: 0;
    text-align: center;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.btn-free {
    background: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.btn-free:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

.btn-demo {
    background: rgba(255, 255, 255, 0.12);
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 18px;
    backdrop-filter: blur(4px);
}

.badge-icon {
    font-size: 1.1rem;
}

.badge-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Override existing defaults inside new home */
.new-hero-section * {
    box-sizing: border-box;
}

.hero-navbar a:hover,
.cta-buttons a:hover {
    opacity: 1;
}

/* ============================================
   Inner page hero overlay gradient
   ============================================ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 60, 0.75) 0%, rgba(0, 40, 100, 0.4) 100%);
    z-index: 0;
}

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

/* ============================================
   Responsive for hero
   ============================================ */
@media (max-width: 1024px) {
    .hero-navbar {
        padding: 16px 32px;
    }

    .nav-left {
        gap: 30px;
    }

    .heading-line1,
    .heading-line2 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .hero-navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 10, 30, 0.9);
        border-radius: 8px;
        padding: 12px;
    }

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

    .nav-right {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-main-content {
        margin-top: 60px;
        gap: 24px;
    }

    .heading-line1,
    .heading-line2 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-free,
    .btn-demo {
        width: 100%;
        text-align: center;
    }

    .trust-badges {
        gap: 10px;
    }
}

/* ============================================
   Company page specific
   ============================================ */
.company-page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0055aa 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.company-page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.company-page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.company-full-list {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ============================================
   Inner page service detail
   ============================================ */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-intro {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--light-text);
    margin-bottom: 48px;
    max-width: 800px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.7;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SVG Icon Images
   ============================================ */
.badge-icon-img {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.why-icon-img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: cover;
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    min-height: 56px;
}

.feature-icon-img {
    width: 90px;
    height: 90px;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: cover;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-bottom: 16px;
}
