/* TokiStorage Corporate — style.css */

:root {
    --toki-blue: #2563EB;
    --toki-blue-light: #3B82F6;
    --toki-blue-dark: #1D4ED8;
    --toki-blue-pale: #EFF6FF;
    --gold: #C9A962;

    --bg-white: #FFFFFF;
    --bg-page: #FAFAFA;
    --bg-section: #F1F5F9;

    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);

    --font-display: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --font-body: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;

    --content-max: 1080px;
    --content-narrow: 720px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--toki-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--toki-blue-dark); }
img { max-width: 100%; height: auto; }

/* ── Navigation ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 0.5rem;
    letter-spacing: 0.02em;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text-primary); }
.lang-switch {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    border: 1px solid var(--border);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.lang-switch:hover { color: var(--toki-blue) !important; border-color: var(--toki-blue); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-primary); margin: 4px 0; transition: 0.3s; }

/* ── Hero Background (parallax) ── */
.hero-bg {
    position: fixed; inset: 0; z-index: -2;
    background: url('asset/hero-bg.jpg') center center / cover no-repeat;
}
.hero-overlay {
    position: fixed; inset: 0; z-index: -1;
    background: rgba(15, 23, 42, 0.55);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
}
.hero .subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--toki-blue);
    color: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--toki-blue-dark); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,0.2); }
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.9);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* ── Trust Bar ── */
.trust-bar {
    position: relative; z-index: 1;
    padding: 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--bg-section);
}
.trust-bar-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ── Section (generic) ── */
.section { padding: 6rem 2rem; position: relative; z-index: 1; background: var(--bg-page); }
.section-inner {
    max-width: var(--content-max);
    margin: 0 auto;
}
.section-narrow { max-width: var(--content-narrow); margin: 0 auto; }
.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* ── Cards Grid ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
}
.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.card-link {
    font-size: 0.85rem;
    color: var(--toki-blue);
}
.card-link:hover { text-decoration: underline; }

/* ── Mission ── */
.mission {
    position: relative; z-index: 1;
    padding: 6rem 2rem;
    background: var(--bg-white);
}
.mission-inner {
    max-width: var(--content-narrow);
    margin: 0 auto;
    text-align: center;
}
.mission p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
}
.mission a { font-size: 0.9rem; }

/* ── Essays ── */
.essays { padding: 6rem 2rem; background: var(--bg-section); position: relative; z-index: 1; }
.essays-inner { max-width: var(--content-max); margin: 0 auto; }
.essay-list { list-style: none; margin-bottom: 2rem; }
.essay-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.essay-list a {
    font-size: 0.95rem;
    color: var(--text-primary);
}
.essay-list a:hover { color: var(--toki-blue); }

/* ── Founder ── */
.founder { padding: 6rem 2rem; background: var(--bg-white); position: relative; z-index: 1; }
.founder-inner {
    max-width: var(--content-narrow);
    margin: 0 auto;
    text-align: center;
}
.founder-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.founder-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.founder-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* ── Page Header (services, about) ── */
.page-header {
    padding: 8rem 2rem 4rem;
    background: var(--bg-white);
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}
.page-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ── Service Block ── */
.service-block {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.service-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.service-layers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.layer {
    padding: 1.5rem;
    background: var(--bg-section);
    border-radius: 4px;
}
.layer-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.layer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Proposals Links ── */
.proposals { padding: 4rem 0; }
.proposals h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.proposal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.proposal-links a {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
}
.proposal-links a:hover { border-color: var(--toki-blue); color: var(--toki-blue); }

/* ── About: Company Table ── */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.company-table th,
.company-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.company-table th {
    width: 140px;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
}
.company-table td { color: var(--text-primary); }

/* ── Social Links ── */
.social-links {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 0;
}
.social-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.social-links a:hover { color: var(--toki-blue); }

/* ── Footer ── */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    position: relative; z-index: 1;
}
.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.footer-brand .footer-logo img { width: 22px; height: 22px; border-radius: 4px; }
.footer-brand .footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-brand .footer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.footer-col h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-col a:hover { color: var(--toki-blue); }
.footer-bottom {
    max-width: var(--content-max);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-company {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .service-layers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('asset/hero-bg-mobile.jpg');
    }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        padding: 1rem 2rem 1.5rem;
        border-bottom: 1px solid var(--border);
        gap: 0.8rem;
    }
    .nav-toggle { display: block; }
    .cards { grid-template-columns: 1fr; }
    .service-layers { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero { min-height: 80vh; padding: 6rem 1.5rem; }
    .section { padding: 4rem 1.5rem; }
    .trust-bar-inner { flex-direction: column; gap: 0.8rem; align-items: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .company-table th { width: 100px; }
}
