:root {
    --navy:#06235b;
    --blue:#0b5ed7;
    --light:#eef5ff;
    --text:#12213d;
    --muted:#5f6d82;
    --line:#d9e4f3;
    --white:#fff
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.7
}
a {
    color:inherit;
    text-decoration:none
}
.container {
    width:min(1120px,92%);
    margin:auto
}
.header {
    height:76px;
    background:#fff;
    border-bottom:1px solid #e7edf5;
    display:flex;
    align-items:center;
    position:sticky;
    top:0;
    z-index:10
}
.header-inner {
    width:min(1280px,94%);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between
}
.logo {
    font-size:30px;
    font-weight:700;
    letter-spacing:-1px;
    color:var(--navy)
}
.nav {
    display:flex;
    gap:34px;
    font-size:15px
}
.nav a {
    padding:26px 0;
    position:relative
}
.nav a:hover,.nav a.active {
    color:var(--blue)
}
.nav a.active:after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:17px;
    height:3px;
    background:var(--blue)
}
.hero {
    min-height:560px;
    background:radial-gradient(circle at 75% 45%,rgba(0,157,255,.35),transparent 25%),linear-gradient(135deg,#031943,#063a8e 58%,#071d4c);
    position:relative;
    overflow:hidden;
    color:#fff
}
.hero:after {
    content:"";
    position:absolute;
    inset:0;
    opacity:.25;
    background-image:linear-gradient(30deg,transparent 45%,#29a9ff 46%,transparent 47%),linear-gradient(120deg,transparent 45%,#29a9ff 46%,transparent 47%);
    background-size:110px 110px
}
.hero-inner {
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    min-height:560px
}
.hero-copy {
    width:52%
}
.hero h1 {
    font-size:72px;
    line-height:1;
    margin:0 0 20px;
    letter-spacing:-3px
}
.tagline {
    font-size:28px;
    letter-spacing:5px;
    margin-bottom:20px
}
.hero p {
    font-size:20px;
    margin:0 0 32px
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:14px 30px;
    border:1px solid #fff;
    color:#fff;
    border-radius:3px;
    font-weight:600
}
.btn.primary {
    background:var(--navy);
    border-color:var(--navy)
}
.btn:hover {
    opacity:.86
}
.chip {
    position:absolute;
    right:5%;
    top:50%;
    transform:translateY(-50%) rotate(-5deg);
    width:390px;
    height:260px;
    border-radius:28px;
    background:linear-gradient(145deg,#687b98,#172944);
    box-shadow:0 30px 70px rgba(0,0,0,.4),0 0 40px rgba(0,164,255,.45);
    z-index:1
}
.chip:before {
    content:"";
    position:absolute;
    inset:28px;
    border-radius:18px;
    background:linear-gradient(145deg,#273a55,#0d1729);
    border:1px solid #91a4bd
}
.chip:after {
    content:"SPARQUENCE";
    position:absolute;
    left:0;
    right:0;
    top:112px;
    text-align:center;
    color:#b9d8ff;
    letter-spacing:4px;
    font-size:20px
}
.pins {
    position:absolute;
    inset:-14px;
    pointer-events:none;
    background:repeating-linear-gradient(90deg,transparent 0 22px,#dce8f7 23px 27px,transparent 28px 45px);
    mask:linear-gradient(#000,#000)
}
.section {
    padding:80px 0
}
.section-title {
    text-align:center;
    margin:0;
    font-size:38px;
    color:var(--navy)
}
.section-title:after {
    content:"";
    display:block;
    width:52px;
    height:3px;
    background:var(--blue);
    margin:15px auto
}
.lead {
    text-align:center;
    color:var(--muted);
    margin:0 auto 42px
}
.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px
}
.card {
    border:1px solid var(--line);
    border-radius:7px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 24px rgba(8,35,80,.06);
    transition:.2s
}
.card:hover {
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(8,35,80,.12)
}
.product-image {
    height:190px;
    background:linear-gradient(145deg,#f7fbff,#e9f1fb);
    display:flex;
    align-items:center;
    justify-content:center
}
.device {
    width:170px;
    height:105px;
    border-radius:12px;
    background:linear-gradient(145deg,#263c59,#0d1726);
    box-shadow:0 14px 25px rgba(0,0,0,.22);
    position:relative
}
.device:before {
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    top:15px;
    height:55px;
    border-radius:5px;
    background:linear-gradient(145deg,#1688bd,#063b72);
    box-shadow:inset 0 0 0 2px #7ac8ef
}
.device:after {
    content:"";
    position:absolute;
    width:38px;
    height:18px;
    right:18px;
    bottom:12px;
    background:#101a2a;
    border-radius:3px
}
.card-body {
    padding:18px
}
.card h3 {
    font-size:18px;
    color:var(--navy);
    margin:0 0 5px
}
.card p {
    font-size:13px;
    color:var(--muted);
    margin:0 0 14px
}
.small-btn {
    display:block;
    text-align:center;
    background:var(--navy);
    color:#fff;
    padding:8px;
    border-radius:4px;
    font-size:13px
}
.page-hero {
    padding:72px 0;
    color:#fff;
    background:linear-gradient(135deg,#031943,#0a4a9a);
    position:relative;
    overflow:hidden
}
.page-hero:after {
    content:"";
    position:absolute;
    inset:0;
    opacity:.2;
    background-image:linear-gradient(30deg,transparent 47%,#4db8ff 48%,transparent 49%),linear-gradient(120deg,transparent 47%,#4db8ff 48%,transparent 49%);
    background-size:100px 100px
}
.page-hero .container {
    position:relative;
    z-index:1
}
.page-hero h1 {
    font-size:48px;
    margin:0
}
.page-hero p {
    margin:5px 0 0;
    letter-spacing:3px
}
.company-table {
    width:100%;
    border-collapse:collapse;
    margin:35px 0
}
.company-table th,.company-table td {
    border-bottom:1px solid var(--line);
    padding:15px;
    text-align:left
}
.company-table th {
    width:22%;
    background:var(--light);
    color:var(--navy)
}
.philosophy {
    background:var(--light);
    padding:35px;
    border-radius:8px;
    text-align:center
}
.philosophy h2 {
    color:var(--navy)
}
.detail {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:55px;
    align-items:start
}
.detail-photo {
    height:420px;
    background:linear-gradient(145deg,#f5faff,#e6effb);
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px
}
.detail-photo .device {
    transform:scale(1.55)
}
.specs {
    width:100%;
    border-collapse:collapse;
    margin:20px 0
}
.specs th,.specs td {
    border-bottom:1px solid var(--line);
    padding:10px;
    text-align:left;
    font-size:14px
}
.specs th {
    width:35%;
    background:var(--light)
}
.form {
    max-width:850px;
    margin:auto
}
.form-row {
    display:grid;
    grid-template-columns:180px 1fr;
    border:1px solid var(--line);
    border-bottom:0
}
.form-row:last-child {
    border-bottom:1px solid var(--line)
}
.form-row label {
    background:var(--light);
    padding:15px;
    font-weight:600
}
.form-row input,.form-row textarea {
    border:0;
    padding:15px;
    font:inherit;
    outline:0
}
.form-row textarea {
    min-height:180px;
    resize:vertical
}
.required {
    color:#d33;
    font-size:12px;
    margin-left:5px
}
.form-actions {
    text-align:center;
    margin-top:28px
}
.footer {
    background:var(--navy);
    color:#fff;
    text-align:center;
    padding:24px;
    font-size:13px
}
.mobile-menu {
    display:none
}
@media(max-width:800px) {
    .nav {
        display:none
    }
    .mobile-menu {
        display:block;
        border:0;
        background:none;
        font-size:25px
    }
    .hero h1 {
        font-size:50px
    }
    .hero-copy {
        width:100%
    }
    .chip {
        opacity:.2;
        right:-100px
    }
    .cards {
        grid-template-columns:1fr
    }
    .detail {
        grid-template-columns:1fr
    }
    .detail-photo {
        height:300px
    }
    .form-row {
        grid-template-columns:1fr
    }
    .form-row label {
        padding:9px 15px
    }
    .form-row input,.form-row textarea {
        padding:12px
    }
    .page-hero h1 {
        font-size:38px
    }
    .section {
        padding:55px 0
    }
}
.nav.is-open { display:flex; position:absolute; top:76px; left:0; right:0; background:#fff; flex-direction:column; gap:0; padding:10px 4%; border-bottom:1px solid var(--line); box-shadow:0 8px 18px rgba(8,35,80,.08); }
.nav.is-open a { padding:12px 0; }
.product-image img { max-width:80%; max-height:170px; width:auto; height:auto; object-fit:contain; }
.detail-photo img { max-width:90%; max-height:380px; width:auto; height:auto; object-fit:contain; }


/* =========================================================
   Product Downloads
   ========================================================= */

.product-downloads {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

.download-list {
    width: min(900px, 100%);
    margin: 35px auto 0;
    border-top: 1px solid var(--line);
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.download-name {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
}

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 32px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
}

.download-button:hover {
    background: var(--navy);
    color: #fff;
}


/* =========================================================
   Product Videos / YouTube
   ========================================================= */

.product-videos {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    width: min(1000px, 100%);
    margin: 35px auto 0;
}

.video-item {
    overflow: hidden;
    border-radius: 7px;
    background: #000;
    box-shadow: 0 10px 30px rgba(8, 35, 80, .10);
}

.video-item iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.product-contact {
    text-align: center;
    margin-top: 55px;
}


/* =========================================================
   Feature List
   ========================================================= */

.feature-list {
    margin: 0 0 30px;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 7px;
    list-style: none;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 760px) {

    .download-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   Product page additions - Sparquence 3.1
   ========================================================= */
.product-intro {
    margin-bottom: 18px;
}
.product-model {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 12px;
    background: var(--light);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 3px;
}
.product-description {
    color: var(--muted);
    margin: 0 0 24px;
}
.product-content {
    margin-top: 26px;
}
.product-content h2,
.product-content h3 {
    color: var(--navy);
}
.product-content img {
    max-width: 100%;
    height: auto;
}
.product-empty {
    padding: 30px;
    border: 1px dashed var(--line);
    text-align: center;
    color: var(--muted);
}
.back-products {
    text-align: center;
    margin-top: 45px;
}
.download-button {
    white-space: nowrap;
}
@media (max-width: 760px) {
    .product-downloads,
    .product-videos {
        margin-top: 50px;
        padding: 45px 0;
    }
}
