@charset "UTF-8";

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
    --japan-blue: #0075C2;
    --hinomaru-red: #D80A30;
    --text-primary: #1f2937;
    --text-secondary: #374151;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-ultra-light: #fdfdff;
    --border-color: #e5e7eb;
    --border-medium: #d1d5db;
    --header-height: 5rem;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Noto Sans JP', sans-serif; 
    font-weight: 400; 
    color: var(--text-primary);
    background-color: white; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.8; 
    font-size: 16px;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease-out;
}

section[id] {
    scroll-margin-top: var(--header-height);
}

@media (max-width: 767px) {
    body.has-sticky-cta { 
        padding-bottom: 80px; 
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

h2.section-title { 
    font-size: 2rem; 
    font-weight: 900;
    color: var(--text-primary); 
    padding-bottom: 1rem; 
    position: relative; 
    text-align: center;
}

@media (min-width: 768px) {
    h2.section-title { 
        font-size: 2.25rem; 
    }
}


.btn { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem; 
    border-radius: 0.5rem; 
    font-weight: 700; 
    transition: all 0.3s ease; 
    text-align: center; 
    border: 2px solid transparent; 
    cursor: pointer; 
    letter-spacing: 0.03em; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04); 
}

.btn:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 117, 194, 0.3);
}

.btn-primary { 
    background-color: var(--japan-blue); 
    color: white; 
    border-color: var(--japan-blue); 
}

.btn-primary:hover { 
    background-color: color-mix(in srgb, var(--japan-blue) 85%, black);
    border-color: color-mix(in srgb, var(--japan-blue) 85%, black);
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 117, 194, 0.15), 0 4px 6px -2px rgba(0, 117, 194, 0.1); 
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--japan-blue);
    border-color: var(--japan-blue);
}

.btn-outline-primary:hover {
    background-color: rgba(0, 117, 194, 0.05);
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px -2px rgba(0, 117, 194, 0.1), 0 3px 4px -2px rgba(0, 117, 194, 0.06); 
}

.btn-outline-gray { 
    background-color: white; 
    color: var(--text-secondary); 
    border-color: var(--border-medium); 
}

.btn-outline-gray:hover { 
    background-color: #f9fafb; 
    border-color: #9ca3af; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px -2px rgba(0,0,0,0.05), 0 3px 4px -2px rgba(0,0,0,0.03); 
}

.btn:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
    transform: none; 
    box-shadow: none; 
}

.btn-outline-on-dark { 
    background-color: transparent; 
    color: white; 
    border-color: white; 
}

.btn-outline-on-dark:hover { 
    background-color: rgba(255,255,255,0.1); 
    border-color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px -2px rgba(0,0,0,0.1), 0 3px 4px -2px rgba(0,0,0,0.06); 
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease-in-out;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}
.nav-link:hover {
    color: var(--japan-blue);
    border-bottom-color: var(--hinomaru-red);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}
.mobile-nav-link:hover {
    background-color: var(--bg-light);
}

.clean-card { 
    background-color: white; 
    border: 1px solid var(--border-color); 
    border-radius: 0.75rem; 
    padding: 2rem; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    transition: all 0.3s ease; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}

.clean-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06); 
}
.clean-card .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-item { 
    position: relative; 
    padding-left: 50px; 
    padding-bottom: 2.5rem; 
}

.step-number { 
    position: absolute; 
    left: 0; 
    top: -2px; 
    width: 36px; 
    height: 36px; 
    background-color: var(--bg-light); 
    border: 2px solid var(--japan-blue); 
    color: var(--japan-blue); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 1rem; 
    transition: all 0.3s ease; 
}

.step-item:not(:last-child)::before { 
    content: ''; 
    position: absolute; 
    left: 17px; 
    top: 40px; 
    bottom: -10px; 
    width: 2px; 
    background-color: var(--border-medium); 
    z-index: -1; 
}

.step-item:hover .step-number { 
    background-color: var(--japan-blue); 
    color: white; 
    transform: scale(1.1); 
}

.step-last .step-number { 
    background-color: var(--hinomaru-red); 
    border-color: var(--hinomaru-red); 
    color: white; 
}

.form-input, 
.form-select, 
.form-textarea { 
    display: block; 
    width: 100%; 
    padding: 0.875rem 1rem; 
    border: 1px solid var(--border-medium); 
    border-radius: 0.5rem; 
    background-color: white; 
    color: var(--text-primary); 
    font-size: 1rem; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease; 
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03); 
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus { 
    outline: none; 
    border-color: var(--japan-blue); 
    box-shadow: 0 0 0 3px rgba(0, 117, 194, 0.15); 
}

.form-label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-size: 0.875rem; 
    font-weight: 500; 
    color: var(--text-secondary); 
}

.form-checkbox { 
    accent-color: var(--japan-blue); 
}

.section-padding { 
    padding-top: 5rem; 
    padding-bottom: 5rem; 
}

@media (min-width: 768px) { 
    .section-padding { 
        padding-top: 7rem; 
        padding-bottom: 7rem; 
    } 
}

.scroll-fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1); 
}

.scroll-fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.hero-content h1 span { text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.hero-content p { text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

.hero-subcopy {
    display: inline-block;
    background-color: rgba(0, 117, 194, 0.8);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.bridge-section { background-color: white; }

.global-standard-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.challenge-bg { 
    background-image: url('https://www.japantechinnovators.com/lp/img/problem_light.jpg'); 
    background-size: cover; 
    background-position: center; 
}
.text-shadow-strong { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.text-shadow-soft { text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.why-global-bg {
    background-image: url('https://www.japantechinnovators.com/lp/img/blueocean_light.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.why-global-bg .section-title {
    color: white;
}

.strengths-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}
.strengths-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.info-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
}
.info-card-icon {
    font-size: 2rem;
    color: var(--japan-blue);
    margin-bottom: 1rem;
    display: block;
}
.info-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.info-card-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-bg {
    background-image: url('https://www.japantechinnovators.com/lp/img/nagano.jpg');
    background-size: cover;
    background-position: center;
}
.about-bg .section-title {
    color: white;
}

.text-accent-red { color: var(--hinomaru-red); }
.text-accent-blue { color: var(--japan-blue); }
.border-accent-blue { border-color: var(--japan-blue); }
.icon-accent-blue { color: var(--japan-blue); }
.list-disc-red li::marker { color: var(--hinomaru-red); }

.sticky-cta {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.sticky-cta.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.modal-overlay { 
    position: fixed; 
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 150; 
    opacity: 0; 
    transition: opacity 0.3s ease-out; 
    pointer-events: none; 
}

.modal-container { 
    position: fixed; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -60%); 
    background-color: white; 
    border-radius: 0.75rem; 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); 
    z-index: 160; 
    width: 90%; 
    max-width: 550px; 
    max-height: 85vh; 
    overflow-y: auto; 
    opacity: 0; 
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; 
    pointer-events: none; 
}

body.modal-open { 
    overflow: hidden; 
}

body.modal-open .modal-overlay { 
    opacity: 1; 
    pointer-events: auto; 
}

body.modal-open .modal-container { 
    opacity: 1; 
    transform: translate(-50%, -50%); 
    pointer-events: auto; 
}

.modal-confirm-item { 
    display: grid; 
    grid-template-columns: 100px 1fr; 
    gap: 0.75rem; 
    padding: 0.6rem 0; 
    border-bottom: 1px solid var(--border-color); 
}

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

.modal-confirm-label { 
    font-weight: 500; 
    color: var(--text-secondary); 
    font-size: 0.875rem; 
    padding-top: 0.1rem; 
}

.modal-confirm-value { 
    font-size: 0.95rem; 
    color: var(--text-primary); 
    white-space: pre-wrap; 
    word-break: break-word; 
}

.tooltip { 
    position: relative; 
    border-bottom: 1px dotted var(--text-light); 
    cursor: help; 
}

.tooltip::after { 
    content: attr(data-tooltip); 
    position: absolute; 
    bottom: 100%; 
    left: 50%; 
    transform: translateX(-50%) translateY(-8px); 
    background-color: rgba(31, 41, 55, 0.95); 
    color: white; 
    padding: 0.5rem 0.75rem; 
    border-radius: 0.375rem; 
    font-size: 0.75rem; 
    line-height: 1.4; 
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out, transform 0.2s ease-out; 
    z-index: 10; 
    min-width: 150px; 
    max-width: 300px; 
    white-space: normal; 
    text-align: left; 
    pointer-events: none; 
}

.tooltip:hover::after { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(-12px); 
}

.lang-switcher {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    padding: 0.25rem;
    display: inline-block;
}

.lang-switcher:not(.active):hover { color: var(--japan-blue); }
.lang-switcher.active { color: var(--hinomaru-red); cursor: default; font-weight: 900; }
#mobile-menu .lang-switcher { font-size: 0.95rem; font-weight: 500; }
#mobile-menu .lang-switcher.active { font-weight: 700; color: var(--hinomaru-red); }

.news-list .news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.news-list .news-item:first-child { border-top: 1px solid var(--border-color); }
.news-list .news-item:hover { background-color: var(--bg-ultra-light); }
.news-date { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); flex-shrink: 0; min-width: 80px; }
.news-category {
    display: inline-block; padding: 0.25rem 0.75rem; margin-left: 1rem; font-size: 0.75rem; font-weight: 700;
    color: var(--japan-blue); background-color: rgba(0, 117, 194, 0.1); border: 1px solid rgba(0, 117, 194, 0.2);
    border-radius: 9999px; flex-shrink: 0;
}
.news-title { font-size: 1rem; font-weight: 500; color: var(--text-primary); line-height: 1.6; transition: color 0.3s ease; }
.group:hover .news-title { color: var(--japan-blue); }
.news-arrow { color: var(--border-medium); transition: transform 0.3s ease, color 0.3s ease; margin-left: 1.5rem; }
.group:hover .news-arrow { color: var(--japan-blue); transform: translateX(4px); }
@media (max-width: 767px) {
    .news-list .news-item { flex-wrap: wrap; gap: 0.75rem 1rem; padding: 1rem 0.5rem; }
    .news-title { width: 100%; order: 3; font-size: 0.95rem; }
    .news-arrow { display: none; }
    .news-category { margin-left: 0; }
}

.faq-item { border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-size: 1.25rem; font-weight: 700; line-height: 1.5; color: var(--japan-blue);
    position: relative; padding-left: 2.5rem; margin-bottom: 1rem;
}
.faq-question::before {
    content: 'Q'; position: absolute; left: 0; top: 0;
    font-size: 1.5rem; font-weight: 900; color: var(--japan-blue); opacity: 0.8;
}
.faq-answer { padding-left: 2.5rem; font-size: 1rem; color: var(--text-secondary); }