/*-------------------------------------------------------------------
  SurgeSpace site styles (2026-11)
  Loaded after style.css (Dedafo template) and overrides it.
  Class names use the "ss-" prefix. The template matches classes by
  substring ([class*="..."]), so avoid names containing words such as
  "element", "image", "light", "round", "big" or "btn".
-------------------------------------------------------------------*/

:root {
    --ss-ink: #14151b;
    --ss-ink-2: #1d1f27;
    --ss-night: #0a0d22;        /* dark surfaces: band, CTA, footer (matches the plasma) */
    --ss-text: #2a2c33;
    --ss-muted: #686c77;
    --ss-line: #e3e5eb;
    --ss-soft: #f4f5f8;
    --ss-accent: #2563c9;
    --ss-accent-dark: #1a4ea6;
    --ss-red: #e5432d;
    --ss-green: #36a04b;
    --ss-yellow: #efcb16;
    --ss-blue: #2f74d0;
    --ss-font: "Cabin", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", Meiryo, sans-serif;
    --ss-radius: 14px;
}

/*------------------------- Base -------------------------*/

html {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ss-text);
}
@media screen and (max-width: 576px) {
    html { font-size: 15px; }
}
html, body, p, a, li, dt, dd, td, th, label, input, textarea, select, button,
h1, h2, h3, h4, h5, h6, blockquote, figcaption, small, strong, em,
span:not([class*="icon"]) {
    font-family: var(--ss-font) !important;
}
/* the template hides <body> until JS adds .visible; if a script fails (or the page
   comes back from the bfcache) the page stays blank, so always show it */
body, body.visible { opacity: 1 !important; transition: none !important; background-color: #fff; color: var(--ss-text); }
p { line-height: 1.85; color: var(--ss-text); }
h1, h2, h3, h4, h5, h6 { line-height: 1.45; color: var(--ss-ink); }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4, :lang(ja) h5, :lang(ja) h6,
:lang(ja) .ss-phrase, :lang(ja) .ss-label, :lang(ja) .ss-what,
:lang(ja) .ss-page-sub, :lang(ja) .ss-topics strong, :lang(ja) .ss-desc {
    word-break: auto-phrase;
    text-wrap: balance;
}
a { color: var(--ss-accent); }
a:hover { color: var(--ss-accent-dark); }
::selection { background: var(--ss-accent); color: #fff; }

/* tighter vertical rhythm than the template (100px / 75px).
   Only the plain / top / bottom variants are changed; sm, xs, xstop... keep the template values. */
[data-padding=""] { padding-top: 88px; padding-bottom: 88px; }
[data-padding="top"] { padding-top: 88px; }
[data-padding="bottom"] { padding-bottom: 88px; }
@media screen and (max-width: 576px) {
    [data-padding=""] { padding-top: 60px; padding-bottom: 60px; }
    [data-padding="top"] { padding-top: 60px; }
    [data-padding="bottom"] { padding-bottom: 60px; }
}
[data-padding="xstop"] { padding-top: 40px; }

/* section titles */
[class|="sectiontitle-element"] .toptitle,
.ss-eyebrow {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: none;
    color: var(--ss-accent);
    margin-bottom: .5rem;
}
[class|="sectiontitle-element"] h2 { font-size: 2.125rem; font-weight: 700; }
@media screen and (max-width: 767px) {
    [class|="sectiontitle-element"] h2 { font-size: 1.625rem; }
}
.ss-lead { font-size: 1.125rem; color: var(--ss-text); }
[class|="sectiontitle-element"] p.ss-lead { max-width: 720px; text-align: left; margin-left: auto; margin-right: auto; }
[class|="sectiontitle-element"]:not([class*="center"]) p.ss-lead { margin-left: 0; }
strong, b, p strong, p b { font-weight: 700; }  /* the template sets p strong to 400 */
.ss-muted { color: var(--ss-muted); }
.ss-keep { white-space: nowrap; } /* keep model names such as PC-9801 on one line */
.ss-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.ss-center { text-align: center; }

/*------------------------- Header -------------------------*/

#header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}
#header.moove {
    border-bottom-color: var(--ss-line);
    box-shadow: 0 4px 18px rgba(20, 21, 27, .06);
}
#header [class*="wrap-header"] { padding-top: 14px; padding-bottom: 14px; }
#logo .navbar-brand img { height: 40px; max-height: none; width: auto; }
@media screen and (max-width: 576px) {
    #logo .navbar-brand img { height: 30px; }
}
header nav.main-navigation #main-menu .menu-holder ul li a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ss-ink);
    margin: 0 .85rem;
}
header nav.main-navigation #main-menu .menu-holder ul li.ss-nav-current a { color: var(--ss-accent); }
header nav.main-navigation #main-menu .menu-holder ul li.ss-nav-cta a {
    background: var(--ss-ink);
    color: #fff;
    border-radius: 999px;
    padding: .7rem 1.2rem;
    margin-left: .6rem;
}
header nav.main-navigation #main-menu .menu-holder ul li.ss-nav-cta a:hover { background: var(--ss-accent); opacity: 1; }
header nav.main-navigation #main-menu .menu-holder ul li.ss-nav-lang a { color: var(--ss-muted); }

/*------------------------- Hero (plasma) -------------------------*/

.ss-hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #060816 !important;
    color: #fff;
}
.ss-hero[class*="image"] { padding-top: 120px; padding-bottom: 96px; }
.ss-hero.ss-hero-top { padding-top: 0; padding-bottom: 0; }
.ss-hero.ss-hero-top > .container { min-height: min(78vh, 760px); display: flex; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.ss-hero.ss-hero-top > .container > .row { width: 100%; }
@media screen and (max-width: 576px) {
    .ss-hero[class*="image"] { padding-top: 88px; padding-bottom: 72px; }
    .ss-hero.ss-hero-top > .container { min-height: 0; padding-top: 72px; padding-bottom: 80px; }
}
.ss-hero .imagebg { z-index: -2; background: #060816; }
.ss-hero canvas.ss-plasma {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.ss-hero .ss-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 8, 22, .84) 0%, rgba(6, 8, 22, .58) 45%, rgba(6, 8, 22, .12) 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .10) 0, rgba(0, 0, 0, .10) 1px, transparent 1px, transparent 3px);
}
.ss-hero:not(.ss-hero-top) .ss-shade {
    background:
        linear-gradient(180deg, rgba(6, 8, 22, .55) 0%, rgba(6, 8, 22, .72) 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .10) 0, rgba(0, 0, 0, .10) 1px, transparent 1px, transparent 3px);
}
.ss-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ss-red) 0 25%, var(--ss-green) 25% 50%, var(--ss-yellow) 50% 75%, var(--ss-blue) 75% 100%);
}
.ss-hero h1, .ss-hero h2, .ss-hero p { color: #fff; }
.ss-hero .ss-kicker {
    display: inline-block;
    font-size: .875rem;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 1rem;
}
.ss-hero h1.ss-display {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
    margin-bottom: 1.5rem;
}
@media screen and (max-width: 991px) { .ss-hero h1.ss-display { font-size: 3rem; } }
@media screen and (max-width: 576px) { .ss-hero h1.ss-display { font-size: 2.25rem; } }
.ss-hero .ss-hero-lead {
    font-size: 1.1875rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .9);
    max-width: 34em;
}
@media screen and (max-width: 576px) { .ss-hero .ss-hero-lead { font-size: 1.0625rem; } }
.ss-hero .ss-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 14px; }
.ss-hero .ss-page-title { font-size: 2.75rem; font-weight: 700; margin-bottom: .75rem; }
@media screen and (max-width: 576px) { .ss-hero .ss-page-title { font-size: 2rem; } }
.ss-hero .ss-page-sub { font-size: 1.0625rem; color: rgba(255, 255, 255, .86); margin: 0 auto; max-width: 40em; }

/*------------------------- Buttons -------------------------*/

.ss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    background: var(--ss-ink);
    color: #fff;
    border: 2px solid var(--ss-ink);
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ss-button:hover { background: var(--ss-accent); border-color: var(--ss-accent); color: #fff; transform: translateY(-1px); }
.ss-button.ss-on-dark { background: #fff; color: var(--ss-ink); border-color: #fff; }
.ss-button.ss-on-dark:hover { background: var(--ss-yellow); border-color: var(--ss-yellow); color: var(--ss-ink); }
.ss-button.ss-ghost { background: transparent; color: var(--ss-ink); }
.ss-button.ss-ghost:hover { background: var(--ss-ink); color: #fff; border-color: var(--ss-ink); }
.ss-button.ss-ghost.ss-on-dark { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.ss-button.ss-ghost.ss-on-dark:hover { background: #fff; color: var(--ss-ink); border-color: #fff; }
.ss-button .ss-arrow { transition: transform .25s ease; }
.ss-button:hover .ss-arrow { transform: translateX(3px); }
.ss-textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.ss-textlink:hover { text-decoration: none; }

/*------------------------- Stats -------------------------*/

.ss-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--ss-line);
    border-bottom: 1px solid var(--ss-line);
    margin-top: 48px;
}
.ss-stats > div { padding: 28px 20px; text-align: center; }
.ss-stats > div + div { border-left: 1px solid var(--ss-line); }
.ss-stats .ss-num { display: block; font-size: 2.5rem; font-weight: 700; line-height: 1.1; color: var(--ss-ink); letter-spacing: .01em; }
.ss-stats .ss-num small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.ss-stats .ss-label { display: block; margin-top: .5rem; font-size: .875rem; color: var(--ss-muted); }
@media screen and (max-width: 767px) {
    .ss-stats { grid-template-columns: repeat(2, 1fr); }
    .ss-stats > div:nth-child(3) { border-left: 0; }
    .ss-stats > div:nth-child(n+3) { border-top: 1px solid var(--ss-line); }
    .ss-stats .ss-num { font-size: 2rem; }
}

/*------------------------- Service cards -------------------------*/

.ss-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media screen and (max-width: 991px) { .ss-cards { grid-template-columns: 1fr; } }
.ss-card {
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}
.ss-card:hover { box-shadow: 0 14px 40px rgba(20, 21, 27, .09); transform: translateY(-2px); }
.ss-card .ss-card-visual { position: relative; aspect-ratio: 16 / 10; background: var(--ss-ink); overflow: hidden; container-type: inline-size; }
.ss-card .ss-card-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-card .ss-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ss-card h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: .75rem; }
.ss-card p { font-size: .975rem; margin-bottom: 1rem; }
.ss-card .ss-card-more { margin-top: auto; padding-top: .5rem; }
/* YouTube card: the real gold award plaque (1M subscribers) on the right, numbers on the dark left side.
   ytgold-card*.jpg = ytgold@2x.jpg with a little more contrast and colour; the paper card hiding the channel name stays. */
.ss-card .ss-card-visual.ss-award { background: #0e0c0a; }
.ss-card .ss-card-visual.ss-award > img { position: absolute; top: 0; right: 0; width: auto; height: 100%; max-width: none; }
.ss-card .ss-card-visual.ss-award:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 12, 10, 1) 0%, rgba(14, 12, 10, .95) 22%, rgba(14, 12, 10, .65) 34%, rgba(14, 12, 10, 0) 52%);
    pointer-events: none;
}
.ss-award-stats {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 46%;
    padding: 0 0 0 22px;
    padding: 0 0 0 6cqw; /* sizes follow the card width (container units) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    gap: 2.6cqw;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.ss-award-num { display: block; font-size: 1.375rem; font-size: clamp(1rem, 6cqw, 1.625rem); font-weight: 700; line-height: 1.05; }
.ss-award-num.ss-award-main { font-size: 2rem; font-size: clamp(1.25rem, 8.6cqw, 2.375rem); }
.ss-award-num small { font-size: .5em; margin-left: 3px; }
.ss-award-label { display: block; margin-top: .15rem; font-size: .75rem; font-size: clamp(.6875rem, 3.4cqw, .8125rem); line-height: 1.4; color: rgba(255, 255, 255, .86); white-space: nowrap; }

.ss-tags { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.ss-tags li {
    font-size: .8125rem;
    line-height: 1.4;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ss-soft);
    color: var(--ss-text);
    border: 1px solid var(--ss-line);
}
.ss-tags li:before { content: none !important; }

/*------------------------- Tech list -------------------------*/

.ss-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
@media screen and (max-width: 991px) { .ss-stack { grid-template-columns: 1fr; gap: 20px; } }
.ss-stack > div { background: var(--ss-soft); border-radius: var(--ss-radius); padding: 26px 26px 18px; }
.ss-stack h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .35rem; }
.ss-stack p.ss-note { font-size: .875rem; color: var(--ss-muted); margin-bottom: 1rem; line-height: 1.7; }
.ss-stack .ss-tags li { background: #fff; }

/*------------------------- Product cards -------------------------*/

.ss-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media screen and (max-width: 991px) { .ss-products { grid-template-columns: 1fr 1fr; } }
@media screen and (max-width: 640px) { .ss-products { grid-template-columns: 1fr; } }
.ss-product { position: relative; display: flex; flex-direction: column; }
.ss-product .ss-shot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--ss-radius); overflow: hidden; background: var(--ss-ink); }
.ss-product .ss-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s ease; }
.ss-product:hover .ss-shot img { transform: scale(1.03); }
.ss-product h3 { font-size: 1.25rem; font-weight: 700; margin: 1.1rem 0 .4rem; }
.ss-product p { font-size: .95rem; margin-bottom: .75rem; }
.ss-product .ss-stretch { position: absolute; inset: 0; z-index: 2; }
.ss-product .ss-stretch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/*------------------------- Badges -------------------------*/

.ss-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 .6rem; padding: 0; list-style: none; }
.ss-badges li {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 6px;
    background: var(--ss-soft);
    color: var(--ss-text);
    letter-spacing: .02em;
}
.ss-badges li:before { content: none !important; }
.ss-badges .ss-b-live { background: #e6f5ea; color: #1f7a33; }
.ss-badges .ss-b-live:after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2fae4a; margin-left: 6px; vertical-align: 1px; }
.ss-badges .ss-b-end { background: #eceef2; color: #6a6e79; }
.ss-badges .ss-b-year { background: transparent; border: 1px solid var(--ss-line); color: var(--ss-muted); }
.ss-badges .ss-b-cat { background: var(--ss-ink); color: #fff; }

/*------------------------- Manifesto band -------------------------*/

.ss-band { background: var(--ss-night); color: #fff; position: relative; overflow: hidden; }
.ss-band h2, .ss-band p { color: #fff; }
.ss-band .ss-slogan {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .01em;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff 0%, #fff 50%, #c9c2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media screen and (max-width: 767px) { .ss-band .ss-slogan { font-size: 2rem; } }
.ss-band p { color: rgba(255, 255, 255, .85); }
.ss-band .ss-eyebrow { color: #b9b2ff; }
.ss-band .ss-rings { position: absolute; right: -40px; top: 50%; width: 420px; transform: translateY(-50%); opacity: .09; filter: grayscale(1) brightness(2.4); pointer-events: none; }
@media screen and (max-width: 991px) { .ss-band .ss-rings { display: none; } }

/*------------------------- Works grid (isotope) -------------------------*/

.ss-filters { margin: 0 0 18px; }
.ss-filters ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
[data-isotope-filters].ss-filters ul li {
    margin: 0;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--ss-line);
    background: #fff;
    color: var(--ss-text);
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
[data-isotope-filters].ss-filters ul li:before { content: none !important; }
[data-isotope-filters].ss-filters ul li:hover { border-color: var(--ss-ink); }
[data-isotope-filters].ss-filters ul li.is-checked { background: var(--ss-ink); border-color: var(--ss-ink); color: #fff; }

[data-isotope-mode] .ss-work-element { padding: 14px; }
.ss-work {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}
.ss-work:hover { box-shadow: 0 14px 36px rgba(20, 21, 27, .09); transform: translateY(-2px); }
.ss-work .ss-frame { position: relative; aspect-ratio: 16 / 10; background: var(--ss-soft); overflow: hidden; }
.ss-work .ss-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ss-work .ss-frame.ss-fit-contain img { object-fit: contain; padding: 22px; }
.ss-work .ss-frame.ss-fit-pixel { background: #000; }
.ss-work .ss-frame.ss-fit-pixel img { object-fit: contain; image-rendering: pixelated; }
.ss-work .ss-frame.ss-fit-book { background: linear-gradient(180deg, #eef0f4, #e3e6ec); }
.ss-work .ss-frame.ss-fit-book img { object-fit: contain; padding: 18px 0; filter: drop-shadow(0 10px 14px rgba(20, 21, 27, .25)); }
.ss-work .ss-body { padding: 18px 20px 22px; }
.ss-work h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 .45rem; line-height: 1.45; }
.ss-work p { font-size: .9rem; line-height: 1.75; margin: 0; color: var(--ss-text); }
.ss-work p + p { margin-top: .5rem; }
.ss-work .ss-meta { font-size: .8125rem; color: var(--ss-muted); margin-top: .65rem; }
.ss-work .ss-ext { display: inline-block; margin-top: .8rem; font-size: .875rem; font-weight: 700; color: var(--ss-accent); }
.ss-work a.ss-stretch { position: absolute; inset: 0; z-index: 2; }
.ss-work a.ss-stretch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* carousel cards on the top page */
.portfolio-carousel .ss-work { height: auto; }

/*------------------------- About -------------------------*/

.ss-profile { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
@media screen and (max-width: 991px) { .ss-profile { grid-template-columns: 1fr; gap: 32px; } }
.ss-profile .ss-name { font-size: 1.75rem; font-weight: 700; margin: .2rem 0 .1rem; }
.ss-profile .ss-role { color: var(--ss-muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.ss-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ss-line); }
.ss-timeline li { position: relative; padding: 0 0 22px 26px; line-height: 1.7; }
.ss-timeline li:before {
    content: "" !important;
    position: absolute;
    left: -7px;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ss-blue);
    font-family: inherit !important;
}
.ss-timeline li:nth-child(4n+1):before { border-color: var(--ss-red); }
.ss-timeline li:nth-child(4n+2):before { border-color: var(--ss-green); }
.ss-timeline li:nth-child(4n+3):before { border-color: var(--ss-yellow); }
.ss-timeline .ss-when { display: block; font-size: .8125rem; font-weight: 700; color: var(--ss-muted); letter-spacing: .04em; line-height: 1.5; margin-bottom: 2px; }
.ss-timeline .ss-what { display: block; font-size: 1rem; }
.ss-timeline .ss-detail { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.75; color: var(--ss-muted); }
/* insider abbreviations (ベーマガ, ラ製): look like plain text, full name on hover */
.ss-timeline abbr[title] { text-decoration: none; border-bottom: 0; cursor: help; }

.ss-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media screen and (max-width: 991px) { .ss-points { grid-template-columns: 1fr; } }
.ss-points > div { border-top: 3px solid var(--ss-ink); padding-top: 20px; }
.ss-points > div:nth-child(1) { border-top-color: var(--ss-red); }
.ss-points > div:nth-child(2) { border-top-color: var(--ss-green); }
.ss-points > div:nth-child(3) { border-top-color: var(--ss-blue); }
.ss-points h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: .6rem; }
.ss-points p { font-size: .95rem; }

.ss-info { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ss-info th, .ss-info td { text-align: left; vertical-align: top; padding: 18px 8px; border-bottom: 1px solid var(--ss-line); font-size: .975rem; line-height: 1.8; }
.ss-info tr:first-child th, .ss-info tr:first-child td { border-top: 1px solid var(--ss-ink); }
.ss-info th { width: 26%; font-weight: 700; color: var(--ss-ink); white-space: nowrap; }
.ss-info ul { list-style: none; margin: 0; padding: 0; }
.ss-info ul li { padding-left: 1em; text-indent: -1em; }
.ss-info ul li:before { content: "・" !important; font-family: inherit !important; position: static !important; margin: 0 !important; color: inherit !important; }
@media screen and (max-width: 576px) {
    .ss-info th, .ss-info td { display: block; width: 100%; padding: 12px 4px; }
    .ss-info th { border-bottom: 0; padding-bottom: 0; }
    .ss-info tr:first-child td { border-top: 0; }
}

/*------------------------- CTA band -------------------------*/

.ss-cta-box {
    border-radius: 20px;
    padding: 56px 48px;
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(70, 104, 226, .42) 0%, rgba(10, 13, 34, 0) 62%),
        radial-gradient(70% 120% at 0% 100%, rgba(116, 112, 238, .26) 0%, rgba(10, 13, 34, 0) 62%),
        var(--ss-night);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.ss-cta-box h2 { color: #fff; font-size: 1.875rem; font-weight: 700; margin-bottom: .5rem; }
.ss-cta-box p { color: rgba(255, 255, 255, .85); margin: 0; }
@media screen and (max-width: 767px) {
    .ss-cta-box { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
    .ss-cta-box h2 { font-size: 1.5rem; }
}

/*------------------------- Contact -------------------------*/

.ss-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; list-style: none; margin: 28px 0 0; padding: 0; }
@media screen and (max-width: 767px) { .ss-topics { grid-template-columns: 1fr; } }
@media screen and (min-width: 1200px) { .ss-topics { grid-template-columns: repeat(3, 1fr); } }
.ss-topics li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--ss-line); border-radius: 12px; background: #fff; }
.ss-topics li:before { content: none !important; }
.ss-topics .ss-dot { flex: 0 0 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--ss-blue); }
.ss-topics li:nth-child(4n+1) .ss-dot { background: var(--ss-red); }
.ss-topics li:nth-child(4n+2) .ss-dot { background: var(--ss-green); }
.ss-topics li:nth-child(4n+3) .ss-dot { background: var(--ss-yellow); }
.ss-topics strong { display: block; font-size: 1rem; color: var(--ss-ink); }
.ss-topics span.ss-desc { display: block; font-size: .875rem; color: var(--ss-muted); line-height: 1.7; }
.ss-notes { list-style: none; padding: 0; margin: 20px 0 0; font-size: .9rem; color: var(--ss-muted); }
.ss-notes li { padding-left: 1.1em; text-indent: -1.1em; margin: .25rem 0; }
.ss-notes li:before { content: "※" !important; font-family: inherit !important; position: static !important; margin-right: .1em; color: inherit !important; }
#contact-form select.form-field {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #686c77 50%), linear-gradient(135deg, #686c77 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
    cursor: pointer;
}
#contact-form .ss-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#contact-form .ss-consent { font-size: .875rem; color: var(--ss-muted); margin: 0; }
#contact-form .alert-wrap[data-active="true"] p { font-weight: 700; }

/*------------------------- Footer -------------------------*/

.ss-footer { background: var(--ss-night); color: rgba(255, 255, 255, .78); padding: 64px 0 32px; }
.ss-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ss-footer a:hover { color: #fff; text-decoration: underline; }
.ss-footer .ss-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ss-footer .ss-footer-logo img { height: 34px; width: auto; display: block; }
.ss-footer .ss-footer-company { margin-top: 16px; font-size: .875rem; line-height: 1.8; color: rgba(255, 255, 255, .7); }
.ss-footer .ss-footer-company p { color: rgba(255, 255, 255, .7); margin: 0; line-height: 1.8; }
.ss-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; font-size: .9375rem; }
.ss-footer nav ul li:before { content: none !important; }
.ss-footer .ss-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8125rem; }
.ss-footer .ss-footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.ss-footer .ss-footer-bottom ul li:before { content: none !important; }
.ss-footer .ss-footer-bottom p { color: rgba(255, 255, 255, .6); margin: 0; font-size: .8125rem; }

/*------------------------- Privacy / text pages -------------------------*/

html { scroll-padding-top: 96px; }
.ss-doc h4 { font-size: 1.3125rem; font-weight: 700; margin-top: .5rem; }
.ss-doc p, .ss-doc li { font-size: .975rem; }
.ss-mail { font-weight: 700; word-break: break-all; }

/*------------------------- 404 -------------------------*/

.ss-404 { text-align: center; }
.ss-404 .ss-code { font-size: 7rem; font-weight: 700; line-height: 1; letter-spacing: .04em; color: #fff; }
@media screen and (max-width: 576px) { .ss-404 .ss-code { font-size: 5rem; } }

/*------------------------- Motion -------------------------*/

@media (prefers-reduced-motion: reduce) {
    .ss-card, .ss-work, .ss-button, .ss-product .ss-shot img { transition: none !important; }
}

/*------------------------- Form details -------------------------*/

#contact-form textarea.form-field { min-height: 220px; resize: vertical; }
#contact-form { margin-top: 12px; }
#contact-form .alert-wrap.success p { color: #1f7a33; }
#contact-form .alert-wrap.error p { color: #c0392b; }

/* the template resets <em>; book titles on the English pages use it */
em { font-style: italic; }
