:root {
    /* Colors */
    --color-primary: #0a2463;
    /* Deep Ocean Blue */
    --color-primary-dark: #061842;
    --color-secondary: #ffffff;
    --color-accent: #00d4ff;
    --color-text-body: #111111;
    /* Almost Black for maximum contrast */
    --color-text-light: #444444;
    /* Darker Grey */
    --color-bg-light: #f8f9fa;
    --color-bg-subtle: #e9ecef;
    /* Slightly darker for better separation */
    --color-border: #bbbec3;
    /* Darker border */

    /* Typography */
    --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Times New Roman", serif;
    --font-sans: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-heading-en: "Cinzel", serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1100px;
    --header-height: 90px;

    /* Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@500;700&display=swap');

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-body);
    background-color: white;
    line-height: 1.8;
    font-weight: 500;
    /* Increased base weight */
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    line-height: 1.4;
    color: var(--color-primary);
    font-weight: 700;
}

.text-en-heading {
    font-family: var(--font-heading-en);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    color: #000;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-primary);
}

.sub-title-jp {
    display: block;
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 700;
    margin-top: 0.5rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}

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

.grid {
    display: grid;
    gap: var(--spacing-md);
}

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

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* Cards & Panels */
.feature-card {
    background: white;
    border: 1px solid var(--color-border);
    padding: 2rem;
    transition: box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Buttons - High Contrast */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-heading-en);
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    opacity: 0.9;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-text {
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.btn-text:hover {
    border-bottom-color: var(--color-primary);
}

/* Header */
.site-header {
    height: 90px;
    background: white;
    border-bottom: 2px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    line-height: 1.2;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-jp {
    font-size: 0.8rem;
    color: #000;
    font-weight: 800;
    letter-spacing: 0.05em;
}

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

.main-nav ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    font-size: 1rem;
    font-family: var(--font-serif);
    font-weight: 600;
    color: #000;
}

.main-nav a.active {
    border-bottom: 3px solid var(--color-primary);
}

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

/* Hero */
.hero {
    height: 80vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    z-index: 1;
    filter: brightness(0.6);
}

.hero-bg {
    background-color: #061842;
}

/* Fallback */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    letter-spacing: 0.2em;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding-top: 2rem;
    display: inline-block;
    font-weight: 500;
}

/* Page Hero */
.page-hero {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-hero h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Footer - Dark Theme */
.site-footer {
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-lg) 0 0;
    margin-top: auto;
}

.footer-logo {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-info address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.footer-links h4 {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    font-weight: 700;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    background: #040f2e;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-lg);
    padding: 1.5rem 0;
}

/* Disclaimer */
.disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    padding-top: 0.5rem;
    display: block;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a.active {
        border-bottom: 1px solid #f0f0f0;
        background: #f9f9f9;
        color: var(--color-primary);
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--color-primary);
    }

    .col-2,
    .col-3 {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Photo Placeholders */
.photo-slot {
    background-color: #f0f2f5;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 250px;
}

.photo-slot:hover {
    border-color: var(--color-primary);
    background-color: #e2e8f0;
    color: var(--color-primary);
}

.photo-slotbox {
    width: 100%;
    height: 100%;
}

.photo-slot i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.photo-slot-label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.photo-slot-desc {
    font-size: 0.8rem;
    opacity: 0.8;
}

.photo-aspect-16-9 {
    aspect-ratio: 16/9;
}

.photo-aspect-4-3 {
    aspect-ratio: 4/3;
}

.photo-aspect-1-1 {
    aspect-ratio: 1/1;
}

/* Ready Image Styles */
.img-slot-ready {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #eee;
    /* Placeholder bg while loading or missing */
}