/* Base Variables - Matching Image 1's Clean & Blue Aesthetic */
:root {
    --primary-color: #0056b3; /* Deep Blue */
    --accent-color: #00b4d8; /* Bright Cyan/Blue for highlights */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa; /* Very light grey for alternating sections */
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #f0f4f8 0%, #dbeafe 100%);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 86, 179, 0.15);
    --font-heading: 'Outfit', sans-serif; /* English headings */
    --font-body: 'Noto Sans JP', sans-serif;
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    letter-spacing: 1px;
}
.logo img {
    height: 60px;
    margin-top: 12px;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.nav a:hover {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    transition: transform 0.3s,background 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: #004494;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Add a background decorative circle similar to Image 1 */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    background-clip: unset;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 180, 216, 0.2);
    z-index: -1;
    transform: skewX(-20deg);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
    transition:all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.4);
}

/* Standard Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-light);
}

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

/* Overlapping Title Style (Key Feature of Image 1) */
.en-title-bg {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(0, 86, 179, 0.05); /* Very faint blue */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.jp-title {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    color: var(--primary-color);
}

.white-alpha {
    color: rgba(255,255,255,0.1);
}

.white {
    color: white;
}

/* Problem Section */
.problem-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.problem-list {
    flex: 1;
}

.problem-item {
    background: white;
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.problem-item:hover {
    transform: translateX(10px);
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.problem-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: #eef4fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
}

.image-placeholder::before {
    position: absolute;
    inset: -20px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

/* Reason Section */
.reason-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
}

.reason-text {
    flex: 1;
}

.reason-text p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.reason-image-box {
    flex: 1;
}

.image-placeholder-rect {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    border-radius: var(--border-radius);
    background-size: cover;
    background-image: url(images/meeting.png);
}

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--accent-color);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Flow Section */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 180, 216, 0.2);
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA */
.section-cta {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-line {
    background: #06c755;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.35);
    border-radius: 50px;
    display: inline-block;
    padding: 16px 48px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 199, 85, 0.45);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #888;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-info {
    text-align: center;
    margin-bottom: 40px;
}

.footer-line {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.company-name {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 500px;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    
    .nav {
        display: none;
    }

    .header-container {
        padding: 0 16px;
    }

    .hero {
        min-height: 600px;
        padding-top: 60px;
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .problem-content, .reason-content {
        flex-direction: column;
        gap: 50px;
    }

    .problem-item {
        padding: 16px 20px;
        margin-bottom: 16px;
        gap: 16px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .image-placeholder img {
        width: 250px !important;
        height: 250px !important;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .en-title-bg {
        font-size: 2.5rem;
    }

    .jp-title {
        font-size: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hero {
        background-image: url(images/AdobeStock_386362806.jpeg) !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header {
        height: 56px;
    }

    .header-container {
        padding: 0 12px;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        min-height: 500px;
        padding-top: 56px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero::before {
        width: 80vw;
        height: 80vw;
    }

    .problem-item {
        padding: 12px 16px;
        margin-bottom: 12px;
        flex-direction: column;
        text-align: center;
    }

    .check-icon {
        font-size: 1rem;
    }

    .problem-content, .reason-content {
        gap: 40px;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
    }

    .image-placeholder img {
        width: 180px !important;
        height: 180px !important;
    }

    .image-placeholder-rect {
        height: 250px;
    }

    .en-title-bg {
        font-size: 1.5rem;
        top: 30%;
    }

    .jp-title {
        font-size: 1.3rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section {
        padding: 40px 0;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        display: block;
    }

    .reason-text p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-desc {
        font-size: 0.85rem;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2.5px;
    }

    .mobile-nav a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

/* Mobile menu button & mobile nav */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul { 
    display: flex; 
    flex-direction: column; 
    padding: 0; 
}

.mobile-nav li { 
    border-bottom: 1px solid #f0f0f0; 
}

.mobile-nav a { 
    display: block; 
    padding: 16px 20px; 
    color: var(--text-color);
    font-weight: 500;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-nav a:active {
    background-color: rgba(0, 86, 179, 0.05);
}

/* Modal styles */
.modal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 1500; 
    align-items: center; 
    justify-content: center; 
}

.modal[aria-hidden="false"], .modal.active { 
    display: flex; 
}

.modal-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
}

.modal-content { 
    position: relative; 
    background: white; 
    width: 100%; 
    max-width: 720px; 
    margin: 24px; 
    border-radius: 12px; 
    padding: 28px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.25); 
    z-index: 2; 
}

.modal-close { 
    position: absolute; 
    right: 12px; 
    top: 10px; 
    background: none; 
    border: none; 
    font-size: 22px; 
    cursor: pointer; 
    color: var(--text-light);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal h3 { 
    margin: 0 0 8px 0; 
    font-size: 1.25rem; 
    color: var(--primary-color); 
}

.modal-sub { 
    color: var(--text-light); 
    margin-bottom: 16px; 
}

.form-row { 
    margin-bottom: 12px; 
    display: flex; 
    flex-direction: column; 
}

.form-row label { 
    font-weight: 600; 
    margin-bottom: 6px; 
}

.form-row input, 
.form-row textarea, 
.form-row select { 
    padding: 12px; 
    border: 1px solid #e6e6e6; 
    border-radius: 8px; 
    font-size: 0.95rem;
    min-height: 44px;
}

.form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions { 
    display: flex; 
    gap: 12px; 
    margin-top: 14px; 
    align-items: center; 
    flex-direction: column;
}

.form-actions button {
    min-height: 44px;
    width: 100%;
}

.btn-secondary { 
    background: #f0f0f0; 
    color: var(--text-color); 
    padding: 12px 16px; 
    border-radius: 8px; 
    border: none; 
    cursor: pointer;
    min-height: 44px;
    font-weight: 600;
}

.form-success { 
    margin-top: 12px; 
    color: green; 
    font-weight: 600; 
}

.form-error {
    margin-top: 12px;
    color: #dc3545;
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
}

@media (max-width: 768px) {
    .mobile-menu-btn { 
        display: flex; 
    }

    .mobile-nav { 
        top: 55px; 
    }

    .modal-content { 
        padding: 20px; 
        margin: 12px; 
    }
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        min-width: 40px;
        min-height: 40px;
    }

    .modal-content { 
        padding: 16px; 
        margin: 12px;
        border-radius: 8px;
    }

    .modal h3 { 
        font-size: 1.05rem; 
    }

    .form-row input,
    .form-row textarea,
    .form-row select {
        font-size: 16px;
    }
}
