/* ============================================================
   Akari Cloud Inc · アカリクラウド株式会社
   Japanese B2B Corporate · Cloud Infrastructure Services
   Deep navy + slate gray + white + subtle blue accent
   ============================================================ */

:root {
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --bg-soft: #eef0f4;
    --bg-dark: #0c1a2c;
    --bg-darker: #060f1c;

    --text: #0c1a2c;
    --text-soft: #2a3848;
    --text-muted: #525d6d;
    --text-tertiary: #8b95a3;
    --text-light: #b4bcc6;

    --accent: #1f5187;
    --accent-light: #3d80c2;
    --accent-pale: #e7eff7;
    --accent-mist: #f2f6fb;
    --accent-dark: #143a64;

    --line: #e2e5ea;
    --line-soft: #edeff3;
    --line-strong: #c8cdd5;
    --line-dark: rgba(255, 255, 255, 0.1);

    --success: #2d7a4e;
    --warn: #c4774a;

    --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --font-en: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

    --max: 1280px;
    --r: 2px;
    --r-md: 4px;
    --r-lg: 6px;
    --t: all 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-jp);
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.85;
    font-size: 15px;
    letter-spacing: 0.025em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.en, .num, time {
    font-family: var(--font-en);
    letter-spacing: 0;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-jp);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--text);
}

a { color: inherit; text-decoration: none; transition: var(--t); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}
.brand-logo {
    width: 34px;
    height: 34px;
    flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .name-en {
    font-family: var(--font-en);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
}
.brand-text .name-jp {
    font-family: var(--font-jp);
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.nav-link {
    font-family: var(--font-jp);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    padding: 10px 18px;
    transition: var(--t);
    position: relative;
    letter-spacing: 0.05em;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active {
    color: var(--accent);
    font-weight: 700;
}
.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 2px;
    background: var(--accent);
}
.nav-cta {
    background: var(--accent) !important;
    color: #ffffff !important;
    padding: 11px 22px !important;
    font-weight: 600 !important;
    margin-left: 14px;
    font-size: 12.5px !important;
    border-radius: var(--r);
    letter-spacing: 0.05em;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-cta::before { display: none !important; }
.burger {
    display: none;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--text);
    width: 42px; height: 42px;
    border-radius: var(--r);
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 600;
    padding: 15px 28px;
    cursor: pointer;
    border: 0;
    transition: var(--t);
    border-radius: var(--r);
    letter-spacing: 0.05em;
}
.btn-primary {
    background: var(--accent);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-mist);
}
.btn .ar { transition: transform 0.2s ease; font-family: var(--font-en); }
.btn:hover .ar { transform: translateX(3px); }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-jp);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--accent);
    letter-spacing: 0.05em;
    transition: var(--t);
}
.btn-link:hover { color: var(--accent-dark); gap: 14px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #ffffff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #ffffff; }

/* Section eyebrow — distinct Akari style: vertical bar + section index */
.section-eyebrow {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 26px;
    min-height: 30px;
}
.section-eyebrow .bar {
    width: 2px;
    background: var(--accent);
    flex: none;
}
.section-eyebrow .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section-eyebrow .num {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.16em;
    line-height: 1.4;
}
.section-eyebrow .label {
    font-family: var(--font-jp);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
}

.section-head { max-width: 900px; margin-bottom: 64px; }
.section-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.5;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.section-head h2 .accent { color: var(--accent); }
.section-head .lead {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 2;
    max-width: 720px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px);
    background-size: 100% 56px;
    background-position: 0 -1px;
    opacity: 0.5;
    pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}
.hero-text .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    background: var(--bg);
}
.hero-text .hero-eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-pale);
}
.hero-text .hero-eyebrow .text {
    font-family: var(--font-jp);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: 0.12em;
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.4;
    letter-spacing: 0.01em;
    margin-bottom: 28px;
    font-weight: 700;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .br { display: block; }
.hero .lead {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 2;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    gap: 36px;
}
.hero-stat .label {
    font-family: var(--font-jp);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    font-weight: 500;
}
.hero-stat .v {
    font-family: var(--font-en);
    font-size: 32px;
    line-height: 1;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
}
.hero-stat .v .unit {
    font-family: var(--font-jp);
    font-size: 0.42em;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 500;
    letter-spacing: 0;
}

/* Hero image */
.hero-image {
    position: relative;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background: var(--bg-alt);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-image-placeholder {
    width: 100%; height: 100%;
    background:
        linear-gradient(160deg, var(--bg-dark) 0%, var(--accent-dark) 60%, var(--accent) 100%);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-en);
    font-size: 13px;
    text-align: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}
.hero-image-placeholder::after {
    content: '';
    position: absolute;
    top: 24%; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.hero-image-placeholder .ph-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.2em;
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.hero-image-placeholder .ph-text strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.hero-image-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(12, 26, 44, 0.94);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--r);
    z-index: 2;
    backdrop-filter: blur(8px);
    border-left: 2px solid var(--accent-light);
}
.hero-image-tag .top {
    font-family: var(--font-en);
    font-size: 9.5px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.16em;
    margin-bottom: 3px;
    text-transform: uppercase;
}
.hero-image-tag .v {
    font-family: var(--font-jp);
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ============================================================
   TRUST BAR (実績・信頼性)
   ============================================================ */
.trust-bar {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
}
.trust-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--accent-light);
}
.trust-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.trust-cell {
    border-left: 1px solid var(--line-dark);
    padding: 0 0 0 28px;
}
.trust-cell:first-child { border-left: 0; padding-left: 0; }
.trust-cell .v {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 10px;
}
.trust-cell .v .unit {
    font-family: var(--font-jp);
    font-size: 0.38em;
    color: var(--accent-light);
    margin-left: 4px;
    font-weight: 500;
    letter-spacing: 0;
}
.trust-cell .label {
    font-family: var(--font-jp);
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.06em;
    line-height: 1.65;
}

/* ============================================================
   SERVICES GRID — 4 cards in 2x2
   ============================================================ */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.svc-card {
    padding: 44px 44px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: var(--t);
    position: relative;
    background: var(--bg);
}
.svc-card:hover { background: var(--bg-alt); }
.svc-num {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.18em;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.svc-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.svc-card h3 {
    font-size: 22px;
    line-height: 1.55;
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.svc-card p {
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 2;
    margin-bottom: 24px;
}
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.svc-tag {
    background: var(--accent-mist);
    color: var(--accent-dark);
    padding: 5px 12px;
    border-radius: var(--r);
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 1px solid var(--accent-pale);
}
.svc-tag.jp { font-family: var(--font-jp); letter-spacing: 0.06em; }

/* ============================================================
   CASE STUDIES (導入事例)
   ============================================================ */
.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.case-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 32px 30px;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.case-card:hover { border-color: var(--line-strong); }
.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}
.case-meta .industry {
    font-family: var(--font-jp);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-mist);
    padding: 5px 12px;
    border-radius: var(--r);
    font-weight: 600;
    letter-spacing: 0.08em;
}
.case-meta .id {
    font-family: var(--font-en);
    font-size: 10.5px;
    color: var(--text-tertiary);
    letter-spacing: 0.12em;
}
.case-card h4 {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.case-card .result {
    background: var(--bg-alt);
    padding: 18px 22px;
    border-radius: var(--r-md);
    border-left: 3px solid var(--accent-light);
}
.case-card .result .label {
    font-family: var(--font-jp);
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.case-card .result .v {
    font-family: var(--font-en);
    font-size: 26px;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}
.case-card .result .v .unit {
    font-family: var(--font-jp);
    font-size: 0.45em;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 500;
    letter-spacing: 0;
}
.case-card .desc {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.95;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.tech-cat {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.tech-cat h4 {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}
.tech-cat ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.tech-cat li {
    font-family: var(--font-en);
    font-size: 12.5px;
    color: var(--text-soft);
    letter-spacing: 0.02em;
    padding-left: 14px;
    position: relative;
    line-height: 1.6;
}
.tech-cat li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 5px; height: 1px;
    background: var(--accent-light);
}

/* ============================================================
   BUSINESS DESCRIPTION
   ============================================================ */
.biz-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.biz-text h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 22px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.02em;
}
.biz-text p {
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 2;
    margin-bottom: 18px;
}
.biz-text p strong { font-weight: 700; color: var(--text); }

.biz-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.biz-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 26px 24px;
    transition: var(--t);
}
.biz-card:hover { border-color: var(--accent-light); }
.biz-card .num {
    font-family: var(--font-en);
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 14px;
    display: block;
}
.biz-card h4 {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    line-height: 1.55;
}
.biz-card p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.9;
}

/* ============================================================
   CONTACT + MAP
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.contact-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.contact-row .label {
    font-family: var(--font-jp);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.08em;
}
.contact-row .value {
    font-size: 14px;
    color: var(--text);
    line-height: 1.85;
}
.contact-row .value a:hover { color: var(--accent); }
.contact-row .value .en { font-weight: 500; }
.contact-row .value small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-form-wrap {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    padding: 38px;
    border-radius: var(--r-md);
}
.contact-form h3 {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}
.form-row { margin-bottom: 18px; }
.form-row-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-row label {
    display: block;
    font-family: var(--font-jp);
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.form-row label .req {
    color: #c44545;
    margin-left: 4px;
    font-weight: 700;
}
.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    color: var(--text);
    font-family: var(--font-jp);
    font-size: 14px;
    transition: var(--t);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-mist);
}
.form-row select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231f5187' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-row textarea { resize: vertical; min-height: 110px; line-height: 1.75; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-light); }

.form-consent {
    font-size: 12px;
    color: var(--text-muted);
    margin: 18px 0 18px;
    line-height: 1.75;
}
.form-consent a { color: var(--accent); text-decoration: underline; }
.contact-form .btn { width: 100%; justify-content: center; }

.map-wrap {
    margin-top: 56px;
    aspect-ratio: 21 / 8;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
}
.map-wrap iframe {
    width: 100%; height: 100%; border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 72px 0 32px;
}
.footer .brand-text .name-en { color: #ffffff; }
.footer .brand-text .name-jp { color: var(--text-light); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line-dark);
    margin-bottom: 28px;
}
.footer-brand p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 2;
    max-width: 340px;
    margin-top: 20px;
}
.footer-contact {
    margin-top: 26px;
}
.footer-contact .row {
    font-size: 12.5px;
    line-height: 1.9;
    margin-bottom: 6px;
    color: var(--text-light);
}
.footer-contact .row strong {
    color: #ffffff;
    font-weight: 500;
    margin-right: 8px;
}
.footer-contact .row a { color: var(--text-light); }
.footer-contact .row a:hover { color: var(--accent-light); }

.footer-col h5 {
    font-family: var(--font-en);
    font-size: 10.5px;
    color: #ffffff;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col li a, .footer-col li {
    color: var(--text-light);
    font-size: 13px;
}
.footer-col li a:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11.5px;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-tertiary); }
.footer-bottom a:hover { color: #ffffff; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 420px;
    background: #ffffff;
    color: var(--text);
    padding: 22px 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    z-index: 90;
    display: none;
    box-shadow: 0 12px 36px rgba(12, 26, 44, 0.14);
    pointer-events: auto;
    border-top: 3px solid var(--accent);
}
.cookie.show { display: block; }
.cookie h5 {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.cookie p {
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--text-soft);
    margin-bottom: 16px;
}
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie button {
    padding: 9px 18px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r);
    letter-spacing: 0.05em;
    transition: var(--t);
}
.cookie .accept { background: var(--accent); color: #ffffff; }
.cookie .accept:hover { background: var(--accent-dark); }
.cookie .decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--line-strong);
}
.cookie .decline:hover { color: var(--text); border-color: var(--text-muted); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
    padding: 130px 0 70px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.blog-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.45;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.blog-hero .lead {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 2;
    max-width: 680px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { border-color: var(--line-strong); }
.blog-card-photo {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt);
    overflow: hidden;
    position: relative;
}
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.blog-card-meta .cat {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.blog-card-meta .sep { color: var(--text-tertiary); }
.blog-card h3 {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.blog-card p.excerpt {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.9;
}
.blog-card .more {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    font-family: var(--font-jp);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ============================================================
   BLOG ARTICLE
   ============================================================ */
.article-hero {
    padding: 130px 0 50px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.article-hero .meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 22px;
}
.article-hero .meta .cat {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.article-hero .meta .sep { color: var(--text-tertiary); }
.article-hero h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 820px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.article-hero .lead {
    font-size: 15.5px;
    color: var(--text-soft);
    line-height: 1.95;
    max-width: 740px;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 0 90px;
}
.article-body p {
    font-size: 15px;
    color: var(--text);
    line-height: 2.05;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}
.article-body h2 {
    font-size: 24px;
    line-height: 1.55;
    margin: 50px 0 20px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.article-body h3 {
    font-size: 18px;
    margin: 36px 0 14px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.article-body ul, .article-body ol {
    margin: 18px 0 22px 24px;
    color: var(--text);
}
.article-body li {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.article-body blockquote {
    margin: 30px 0;
    padding: 22px 28px;
    border-left: 3px solid var(--accent-light);
    background: var(--bg-alt);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.95;
    font-style: normal;
}
.article-body code {
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-size: 0.92em;
    color: var(--accent-dark);
}

.article-author {
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 20px;
    align-items: center;
}
.article-author .avatar {
    width: 56px; height: 56px;
    background: var(--bg-dark);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-jp);
    font-size: 18px;
    font-weight: 700;
    flex: none;
}
.article-author .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.article-author .role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: var(--font-en);
    letter-spacing: 0.04em;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thanks-hero {
    padding: 150px 0 60px;
    text-align: center;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.thanks-hero .check {
    width: 72px;
    height: 72px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    font-size: 32px;
    font-weight: 700;
}
.thanks-hero h1 {
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.5;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.thanks-hero .lead {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.95;
    max-width: 620px;
    margin: 0 auto;
}

.thanks-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 0 90px;
}
.thanks-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.thanks-section:last-child { border-bottom: 0; }
.thanks-section h2 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.thanks-section p {
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 2;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.thanks-section ol, .thanks-section ul {
    margin: 14px 0 16px 22px;
}
.thanks-section li {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.95;
    margin-bottom: 8px;
}
.thanks-faq {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px 26px;
    margin-bottom: 12px;
    background: var(--bg);
}
.thanks-faq .q {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    letter-spacing: 0.02em;
}
.thanks-faq .q::before {
    content: 'Q';
    position: absolute;
    left: 0; top: 0;
    color: var(--accent);
    font-family: var(--font-en);
    font-weight: 700;
}
.thanks-faq .a {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.95;
    padding-left: 22px;
    position: relative;
}
.thanks-faq .a::before {
    content: 'A';
    position: absolute;
    left: 0; top: 0;
    color: var(--text-tertiary);
    font-family: var(--font-en);
    font-weight: 700;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
    padding: 130px 0 50px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.legal-hero .updated {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.legal-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 0 100px;
}
.legal-body p {
    font-size: 14.5px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.legal-body h2 {
    font-size: 20px;
    line-height: 1.55;
    margin: 44px 0 16px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.legal-body h3 {
    font-size: 16px;
    margin: 30px 0 12px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.legal-body ul, .legal-body ol {
    margin: 14px 0 18px 24px;
}
.legal-body li {
    font-size: 14px;
    line-height: 1.95;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.tokutei-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.tokutei-table th,
.tokutei-table td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    line-height: 1.9;
    text-align: left;
    vertical-align: top;
}
.tokutei-table tr:last-child th,
.tokutei-table tr:last-child td { border-bottom: 0; }
.tokutei-table th {
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 700;
    width: 240px;
    letter-spacing: 0.04em;
}
.tokutei-table td { color: var(--text-soft); }

/* ============================================================
   Service detail page
   ============================================================ */
.service-detail-hero {
    padding: 130px 0 60px;
}
.service-detail-hero .breadcrumb {
    font-family: var(--font-en);
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 22px;
    letter-spacing: 0.08em;
}
.service-detail-hero .breadcrumb a:hover { color: var(--accent); }
.service-detail-hero .breadcrumb .sep { margin: 0 8px; color: var(--text-tertiary); }
.service-detail-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 800px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.service-detail-hero .lead {
    font-size: 15.5px;
    color: var(--text-soft);
    line-height: 2;
    max-width: 720px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 40px;
    counter-reset: step;
}
.process-step {
    padding: 28px 22px 28px 0;
    border-top: 2px solid var(--accent);
    position: relative;
    margin-right: 16px;
}
.process-step::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}
.process-step .num {
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.16em;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}
.process-step h4 {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.55;
    letter-spacing: 0.02em;
}
.process-step p {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.9;
}

.detail-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-top: 30px;
}
.pricing-cell {
    padding: 34px 28px;
    border-right: 1px solid var(--line);
    background: var(--bg);
}
.pricing-cell:last-child { border-right: 0; }
.pricing-cell.featured {
    background: var(--accent-mist);
    position: relative;
}
.pricing-cell.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-en);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 3px 8px;
    border-radius: var(--r);
}
.pricing-cell .tier {
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}
.pricing-cell h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.pricing-cell .price {
    font-family: var(--font-en);
    font-size: 26px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.pricing-cell .price .unit {
    font-family: var(--font-jp);
    font-size: 0.5em;
    color: var(--text-muted);
    margin-left: 6px;
    font-weight: 500;
    letter-spacing: 0;
}
.pricing-cell .desc {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.9;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 24px 28px;
}
.faq-item .q {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    letter-spacing: 0.02em;
}
.faq-item .q::before {
    content: 'Q.';
    position: absolute;
    left: 0; top: 0;
    color: var(--accent);
    font-family: var(--font-en);
    font-weight: 700;
}
.faq-item .a {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.95;
    padding-left: 24px;
    position: relative;
}
.faq-item .a::before {
    content: 'A.';
    position: absolute;
    left: 0; top: 0;
    color: var(--text-tertiary);
    font-family: var(--font-en);
    font-weight: 700;
}

/* ============================================================
   CTA Band
   ============================================================ */
.cta-band {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 76px 0;
    text-align: center;
    position: relative;
}
.cta-band::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--accent-light);
}
.cta-band h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.55;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cta-band p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 30px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.cta-band .btn-primary {
    background: #ffffff;
    color: var(--accent-dark);
}
.cta-band .btn-primary:hover {
    background: var(--accent-light);
    color: #ffffff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .header-inner { padding: 14px 20px; }
    .brand-text .name-en { font-size: 14px; }
    .nav-links {
        position: fixed;
        top: 76px; left: 12px; right: 12px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 2px;
        display: none;
        box-shadow: 0 12px 30px rgba(12, 26, 44, 0.1);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 18px; }
    .nav-link.active::before { display: none; }
    .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
    .burger { display: flex; }

    .hero { padding: 110px 0 60px; }
    .hero::before { display: none; }
    .hero-grid, .biz-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero-image { max-height: 540px; aspect-ratio: 4 / 4; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-stat:last-child { display: none; }

    .services, .biz-cards { grid-template-columns: 1fr; border-left: 0; }
    .svc-card { border-right: 0 !important; }
    .cases, .blog-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-cat:nth-child(2n) { border-right: 0; }
    .process-grid { grid-template-columns: 1fr; }
    .process-step { margin-right: 0; padding-right: 0; }
    .detail-pricing { grid-template-columns: 1fr; }
    .pricing-cell { border-right: 0; border-bottom: 1px solid var(--line); }
    .pricing-cell:last-child { border-bottom: 0; }

    .trust-bar .wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .trust-cell { padding: 0 0 0 20px; border-left: 1px solid var(--line-dark); }
    .trust-cell:nth-child(2n+1) { border-left: 0; padding-left: 0; }
    .trust-cell .v { font-size: 32px; }

    .section { padding: 70px 0; }
    .form-row-pair { grid-template-columns: 1fr; }
    .contact-row { grid-template-columns: 1fr; gap: 6px; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .map-wrap { aspect-ratio: 4 / 3; }

    .cookie { left: 12px; right: 12px; max-width: none; bottom: 12px; }
    .article-body h2 { font-size: 20px; }
}
@media (max-width: 540px) {
    .wrap { padding: 0 18px; }
    .hero h1 { font-size: 32px; }
    .trust-bar .wrap { grid-template-columns: 1fr; }
    .trust-cell { border-left: 0 !important; padding-left: 0 !important; }
    .tokutei-table th { width: 130px; display: block; border-bottom: 0; }
    .tokutei-table td { display: block; padding-top: 4px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
