
:root {
    --primary: #0f4c81;
    --primary-light: #1e6bb8;
    --primary-dark: #0a2e52;
    --accent: #00a896;
    --accent-hover: #028090;
    --text-dark: #222b45;
    --text-muted: #6b778c;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #e4e9f2;
    --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 76, 129, 0.12);
    --shadow-lg: 0 16px 36px rgba(15, 76, 129, 0.16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0, 168, 150, 0.3);
}

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

.company-jp {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
}

.company-en {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.12em;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.site-nav a:hover, .site-nav a.active {
    color: var(--primary);
}

.site-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #09203f 0%, #1e4270 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.page-hero p {
    font-size: 17px;
    color: #cfddec;
    max-width: 720px;
    margin: 0 auto;
}

/* Hero Section (Home) */
.hero-section {
    background: linear-gradient(135deg, #07192f 0%, #0f3a68 50%, #184e85 100%);
    color: #fff;
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.25) 0%, rgba(15, 76, 129, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 168, 150, 0.2);
    border: 1px solid rgba(0, 168, 150, 0.4);
    color: #5cfce8;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #5cfce8, #a8d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: #cfddec;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-num {
    font-size: 38px;
    font-weight: 800;
    color: #5cfce8;
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: #cfddec;
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 76, 129, 0.2);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Case Item */
.case-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.case-badge-bar {
    background: var(--bg-light);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
}

.case-body {
    padding: 28px 24px;
}

.case-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.case-kpi {
    background: #f0f7ff;
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin: 16px 0;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14px;
}

/* Company Table */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.company-table th, .company-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.company-table th {
    width: 220px;
    background: var(--bg-light);
    font-weight: 700;
    color: var(--primary-dark);
}

/* Form */
.contact-form {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label .req {
    color: #e63946;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: #0b1928;
    color: #a4b3c6;
    font-size: 14px;
    padding-top: 64px;
    border-top: 3px solid var(--primary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #a4b3c6;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #5cfce8;
}

.footer-desc {
    margin: 16px 0 20px;
    line-height: 1.7;
    font-size: 13px;
}

.footer-cert {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #cfddec;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.legal-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.legal-links a {
    color: #a4b3c6;
}

.legal-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .site-nav {
        display: none;
    }
}

/* Photo cards & thumbnails */
.card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
    margin-bottom: 14px;
}
.hero-photo-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.hero-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.photo-caption {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(10, 20, 40, 0.85);
    backdrop-filter: blur(4px);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.feature-card { overflow: hidden; padding-top: 0 !important; }
.case-card { overflow: hidden; }
