@charset "utf-8";
/* ==========================================================================
   FreeSoftNet newsite — site.css
   旧 style_index.css / style_fsn.css を置き換える共通スタイル。
   本文マークアップ（.section / .appFeature / .figurecontainer など）は
   旧サイトのまま残し、見た目だけをここで定義している。
   ========================================================================== */

:root {
  --ink: #0e1c30;
  --text: #2b3648;
  --muted: #5c6a7d;
  --subtle: #8593a6;
  --line: #dde4ee;
  --line-soft: #ebf0f6;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eaf1fb;
  --brand: #1b56b4;
  --brand-hover: #134394;
  --brand-ink: #0c2a5c;
  --brand-soft: #e8f0fb;
  --navy: #0c1f3d;

  /* 旧トップページの 6 色をアクセントとして継承 */
  --c-tclexgau: #5e9fd3;
  --c-tecinfo: #e39a63;
  --c-products: #4fbf80;
  --c-usersupport: #e28fb8;
  --c-contact: #4fb9dc;
  --c-about: #9cc24a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 28, 48, .05);
  --shadow: 0 1px 2px rgba(14, 28, 48, .04), 0 8px 24px -10px rgba(14, 28, 48, .14);
  --shadow-lg: 0 2px 4px rgba(14, 28, 48, .05), 0 18px 40px -14px rgba(14, 28, 48, .22);

  --header-h: 68px;
  --container: 1200px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --mono: "SFMono-Regular", "Consolas", "BIZ UDGothic", "MS Gothic", monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; border-style: none; }

a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: rgba(27, 86, 180, .35);
  transition: color .15s, text-decoration-color .15s, background-color .15s, border-color .15s, box-shadow .2s, transform .2s;
}
a:hover { color: var(--brand-hover); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  padding: 8px 14px; border-radius: 8px; background: var(--brand); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--container); height: var(--header-h);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  margin-right: auto; min-width: 0;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: auto; flex: none; border-radius: 4px; }
.brand__text { display: flex; flex-direction: column-reverse; line-height: 1.3; min-width: 0; }
.brand__name { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.brand__domain { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }

.global-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.global-nav a {
  position: relative; display: block;
  padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.5;
  text-decoration: none; white-space: nowrap;
}
.global-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.global-nav a[aria-current="page"] { color: var(--brand); }
.global-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.nav-toggle {
  display: none; flex: none;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .global-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; max-width: var(--container); margin: 0 auto; padding: 8px 16px 16px; }
  .global-nav a { padding: 12px 14px; font-size: 15px; }
  .global-nav a[aria-current="page"] { background: var(--brand-soft); }
  .global-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 420px) {
  .site-header__inner { padding: 0 16px; gap: 12px; }
  .brand__name { font-size: 14px; letter-spacing: .02em; }
}

/* ==========================================================================
   Page hero (subpages)
   ========================================================================== */
.page-hero {
  background: var(--bg-soft) url("contour.svg") no-repeat right -140px center / 820px auto;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: 26px 24px 46px; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center;
  margin: 0 0 22px; padding: 0; list-style: none;
  font-size: 13px; line-height: 1.6; color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px; margin: 0 12px 0 8px;
  border-top: 1.5px solid var(--subtle); border-right: 1.5px solid var(--subtle);
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.page-hero h1 {
  margin: 0; max-width: 30em;
  font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.35rem); line-height: 1.4; font-weight: 700;
  color: var(--ink); letter-spacing: .02em; font-feature-settings: "palt";
}
.page-hero .lead { max-width: 46em; margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.page-hero .lead p { margin: .4em 0 0; }
.page-hero .lead strong { color: var(--ink); }

.page-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.page-nav a {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
.page-nav a:hover { border-color: var(--brand); color: var(--brand); }

/* ==========================================================================
   Page body: TOC + article
   ========================================================================== */
.page-body { max-width: var(--container); margin: 0 auto; padding: 48px 24px 96px; }
.page-body.has-toc {
  display: grid; grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.article { min-width: 0; max-width: 880px; }
.page-body:not(.has-toc) .article { margin: 0 auto; }
.landing .article { max-width: 1080px; }

/* ---------- Table of contents ---------- */
.toc {
  position: sticky; top: calc(var(--header-h) + 28px);
  max-height: calc(100vh - var(--header-h) - 56px); overflow: auto;
  font-size: 13.5px; line-height: 1.6;
  scrollbar-width: thin;
}
.toc__title {
  margin: 0 0 10px; padding-left: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--subtle);
}
.toc__toggle { display: none; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block; margin-left: -2px; padding: 6px 12px;
  border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none;
}
.toc a:hover { color: var(--ink); border-left-color: var(--subtle); }
.toc a.is-active { color: var(--brand); border-left-color: var(--brand); font-weight: 700; }

@media (max-width: 959px) {
  .page-body { padding-top: 28px; }
  .page-body.has-toc { display: block; }
  .toc {
    position: static; max-height: none; overflow: visible;
    margin-bottom: 32px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
  }
  .toc__title { display: none; }
  .toc__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 18px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
  }
  .toc__toggle::after {
    content: ""; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: translateY(-2px) rotate(45deg); transition: transform .2s;
  }
  .toc.is-open .toc__toggle::after { transform: translateY(2px) rotate(-135deg); }
  .toc ol { display: none; border-left: 0; padding: 0 10px 12px; }
  .toc.is-open ol { display: block; }
  .toc a { margin: 0; padding: 9px 10px; border-left: 0; border-radius: 8px; font-size: 14.5px; }
  .toc a:hover { background: var(--bg-soft); }
}

/* ==========================================================================
   Article typography（旧ページの本文マークアップ）
   ========================================================================== */
.article > :first-child,
.article > :first-child > :first-child { margin-top: 0; }

.article h2 {
  position: relative;
  margin: 3.5rem 0 1.25rem; padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem; line-height: 1.45; font-weight: 700; color: var(--ink);
  letter-spacing: .02em; font-feature-settings: "palt";
}
.article h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 3px; border-radius: 2px; background: var(--brand);
}
.article h3 {
  margin: 2.5rem 0 .9rem; padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: 1.2rem; line-height: 1.5; font-weight: 700; color: var(--ink);
  font-feature-settings: "palt";
}
.article h4 { margin: 2rem 0 .7rem; font-size: 1.06rem; line-height: 1.55; color: var(--ink); }
.article h5 { margin: 1.6rem 0 .5rem; font-size: 1rem; color: var(--ink); }

.article p { margin: .9em 0; }
.article strong, .article b { color: var(--ink); font-weight: 700; }
.article ul, .article ol { margin: .9em 0; padding-left: 1.5em; }
.article li { margin: .35em 0; }
.article li::marker { color: var(--brand); }

.article dl { margin: 1.2em 0; }
.article dt {
  margin-top: 1.4em; padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-weight: 700; line-height: 1.55; color: var(--ink);
}
.article dl > :first-child,
.article dl > .dl-row:first-child > dt { margin-top: 0; }
.article dd { margin: .5em 0 0; padding-left: 15px; }
.article dd > p:first-child { margin-top: 0; }
.article dd > p:last-child { margin-bottom: 0; }

.article code {
  display: block; margin: 1em 0 1.5em; padding: 1em 1.2em;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: 13px; color: var(--text);
}

.article hr { margin: 56px 0; border: 0; border-top: 1px solid var(--line); }

/* ---------- Intro block (旧 #pageTitle のうちリード文以外) ---------- */
.page-intro { margin-bottom: 2.5rem; }

.tips {
  position: relative;
  padding: 12px 16px 12px 46px; border-radius: 10px;
  background: var(--brand-soft); border: 1px solid #cddcf3;
  color: var(--brand-ink); font-size: .95rem; line-height: 1.75;
}
.tips::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b56b4' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Feature sections / cards ---------- */
.appFeaturesCont { margin-top: 3.75rem; }
.appFeaturesCont > h2 { margin-top: 0; }

.appFeature {
  margin: 16px 0; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.appFeature > h3 {
  margin: 0 0 .75rem; padding: 0; border: 0;
  font-size: 1.1rem;
}
.appFeature > h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  border-radius: 2px; background: var(--brand); vertical-align: .18em;
}
.appFeature > :last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .appFeature { padding: 18px 18px; }
}

/* ---------- Figure + text ---------- */
.figurecontainer {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 14px 28px; margin: .6rem 0;
}
.figurecontainer > *, .article .figurecontainer > * { margin: 0; }
.figurecontainer > .fbox { flex: 0 1 auto; max-width: 100%; }
.figurecontainer > .ftex { flex: 1 1 300px; min-width: 0; }
.figurecontainer > :not(.fbox):not(.ftex) { flex: 1 1 100%; }

.fbox { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.fbox:has(strong) { flex-direction: column; align-items: center; }
.fbox img {
  display: block; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.fbox strong { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); text-align: center; }

/* ---------- Lists ---------- */
ul.inlineList { display: flex; flex-wrap: wrap; gap: 6px; margin: .5em 0 .9em; padding: 0; list-style: none; }
ul.inlineList > li {
  margin: 0; padding: 2px 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; line-height: 1.7;
}

ol.inlineList { margin: 1.2em 0 1.8em 6px; padding: 0; list-style: none; border-left: 2px solid var(--line); }
ol.inlineList > li { position: relative; margin: 0; padding: 5px 0 5px 22px; }
ol.inlineList > li::before {
  content: ""; position: absolute; left: -8px; top: .95em;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
ol.inlineList ul { margin: .2em 0; }

/* ---------- Buttons ---------- */
.article .button {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 2px; padding: 1px 14px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .85rem; font-weight: 700; line-height: 1.9; text-decoration: none; white-space: nowrap;
}
.article .button::after {
  content: ""; width: 6px; height: 6px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.article .button:hover { background: var(--brand-hover); color: #fff; }

/* ---------- Tables ---------- */
.table-wrap { margin: 1em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; line-height: 1.7;
}
.table-wrap > table { margin: 0; }
.article th, .article td {
  padding: 10px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.article tr:last-child > * { border-bottom: 0; }
.article thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
.article thead tr:first-child > :first-child { border-top-left-radius: 9px; }
.article thead tr:first-child > :last-child { border-top-right-radius: 9px; }
.innerTable .tTitle {
  width: 32%; white-space: nowrap;
  background: var(--bg-soft); color: var(--ink); font-weight: 600;
  border-right: 1px solid var(--line-soft);
}
.innerTable tr:first-child .tTitle { border-top-left-radius: 9px; }
.innerTable tr:last-child .tTitle { border-bottom-left-radius: 9px; }

/* ---------- Folder trees (技術情報) ---------- */
.article .folders, .article .files { margin: 0; padding-left: 0; list-style: none; }
.article :not(li) > .folders {
  margin: 1em 0; padding: 14px 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: .875rem; line-height: 1.75;
  overflow-x: auto;
}
.article .folders .folders, .article .folders .files {
  margin-left: 8px; padding-left: 14px; border-left: 1px dashed #bfcbdc;
}
.article .folders > li, .article .files > li {
  margin: 0; padding: 1px 0 1px 24px;
  background-repeat: no-repeat; background-position: 0 .3em; background-size: 16px 16px;
}
.article .folders > li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f2c14e' stroke='%23c99a24' stroke-width='1.2' d='M2.5 6.5a2 2 0 0 1 2-2h4.6l2 2.2h8.4a2 2 0 0 1 2 2v9.8a2 2 0 0 1-2 2h-15a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}
.article .files > li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%237d8ea6' stroke-width='1.4' d='M6 2.8h8l4.5 4.6v13.8H6z'/%3E%3Cpath fill='none' stroke='%237d8ea6' stroke-width='1.4' d='M14 2.8v4.6h4.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Page specific
   ========================================================================== */

/* ---------- 製品一覧 ---------- */
.page-products .article {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.page-products .article > * { grid-column: 1 / -1; }
.page-products .article > .section { margin: 0; }
.page-products #webgispro h2 { margin-top: 0; }
.page-products .article > .section:has(> h4):has(> .figurecontainer) {
  grid-column: auto;
  display: flex; flex-direction: column;
  padding: 22px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.page-products .article > .section:has(> h4):has(> .figurecontainer):hover { border-color: #b9cbe6; box-shadow: var(--shadow); }
.page-products .article > .section > h4 { margin: 0 0 14px; font-size: 1.05rem; }
.page-products .article > .section:has(> h4) > .figurecontainer { flex-direction: column; gap: 14px; margin: 0; flex: 1; }
.page-products .article > .section:has(> h4) > .figurecontainer > .fbox {
  align-self: stretch; justify-content: center;
  padding: 16px; background: var(--bg-soft); border-radius: 10px;
}
.page-products .article > .section:has(> h4) > .figurecontainer > .ftex { flex: 1 1 auto; font-size: .95rem; }
.page-products #gauajax, .page-products #hta {
  padding: 22px 26px; background: var(--bg-soft); border-radius: var(--radius);
}
.page-products #gauajax > h4, .page-products #hta > h4 { margin-top: 0; }
@media (max-width: 720px) {
  .page-products .article { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 会社概要 ---------- */
.page-about .article dl { border-top: 1px solid var(--line); }
.page-about .article .dl-row {
  display: grid; grid-template-columns: 11em minmax(0, 1fr); column-gap: 24px;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.page-about .article .dl-row > dt { grid-column: 1; margin: 0; padding: 0; border: 0; color: var(--ink); }
.page-about .article .dl-row > dd { grid-column: 2; margin: 0; padding: 0; }
@media (max-width: 560px) {
  .page-about .article .dl-row { grid-template-columns: minmax(0, 1fr); }
  .page-about .article .dl-row > dd { grid-column: 1; }
}
.page-about .article .section .section { margin-top: 0; }

/* ---------- TCLEXGAU 概要 ---------- */
.page-tclexgau #whydont > ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px;
  padding: 0; list-style: none;
}
.page-tclexgau #whydont > ul > li {
  position: relative; margin: 0; padding: 16px 18px 16px 46px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  font-weight: 500; color: var(--ink);
}
.page-tclexgau #whydont > ul > li::before {
  content: "\201C"; position: absolute; left: 16px; top: 6px;
  font-family: Georgia, serif; font-size: 2rem; line-height: 1; color: var(--brand); opacity: .5;
}
.page-tclexgau #whydont > .section > h3 {
  margin-top: 2.25rem; padding: 0; border: 0;
  font-size: 1.3rem; color: var(--brand);
}
.page-tclexgau #whydont dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.page-tclexgau #whydont .dl-row {
  padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.page-tclexgau #whydont .dl-row > dt { margin: 0 0 .4em; }
.page-tclexgau #whydont .dl-row > dd { padding-left: 15px; font-size: .95rem; }
.page-tclexgau #licence .figurecontainer {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 1.5rem;
}
.page-tclexgau #licence .figurecontainer > .section {
  padding: 20px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-size: .95rem;
}
.page-tclexgau #licence .figurecontainer h4 { margin: 0 0 .5em; font-size: 1.02rem; color: var(--brand-ink); }

/* ---------- お問い合わせ ---------- */
.page-contact #mail2fsn {
  padding: 40px 24px; text-align: center;
  background: #fff url("contour.svg") no-repeat right -260px center / 640px auto;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.page-contact #fsnmail {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem); font-weight: 700; color: var(--ink);
  letter-spacing: .04em;
}
.page-contact #mail2fsn a {
  display: inline-block; padding: 10px 28px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none;
}
.page-contact #mail2fsn a:hover { background: var(--brand-hover); }
.page-contact #mail2fsn > p:last-child { margin-bottom: 0; }
.page-contact #privacy { margin-top: 56px; }
.page-contact #privacy h5 { font-size: 1.2rem; padding-left: 14px; border-left: 4px solid var(--brand); }

/* ---------- ユーザーサポート ---------- */
.page-usersupport form[name="myFormText"] {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px;
  padding: 36px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-weight: 700; color: var(--ink);
}
.page-usersupport form[name="myFormText"] label { flex: 1 1 100%; text-align: center; }
.page-usersupport input[type="password"] {
  width: min(100%, 320px); height: 46px; padding: 0 14px;
  border: 1px solid #c4d0e1; border-radius: 10px; background: #fff;
  font: inherit; font-weight: 400; color: var(--text);
}
.page-usersupport input[type="password"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.page-usersupport input[type="button"] {
  height: 46px; padding: 0 28px; border: 0; border-radius: 10px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.page-usersupport input[type="button"]:hover { background: var(--brand-hover); }
.page-usersupport #lostpass { margin-top: 32px; text-align: center; }
.page-usersupport #lostpass h4 { margin: 0 0 .2em; }

/* ---------- ランディング型（市民公開クラウドGIS／販売・保守取扱い会社様一覧） ---------- */
.landing .article section { margin-bottom: 4rem; }
.landing .article section > header { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.landing .article section > header h2 { margin-top: 0; border: 0; padding-bottom: .5rem; }
.landing .article section > header h2::after { left: 50%; margin-left: -24px; }
.landing .article section > header img { display: block; max-width: 160px; margin: 0 auto 8px; }
.landing .article h3 { padding: 0; border: 0; }

.page-pl-gau-andy3 #features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.page-pl-gau-andy3 #features > header { grid-column: 1 / -1; margin-bottom: 8px; }
.page-pl-gau-andy3 #features > aside {
  padding: 24px 24px 20px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.page-pl-gau-andy3 #features > aside:hover { box-shadow: var(--shadow); }
.page-pl-gau-andy3 #features > aside img { display: block; height: 130px; width: auto; margin: 0 auto 6px; }
.page-pl-gau-andy3 #features > aside h3 { margin: .4rem 0 .4rem; font-size: 1.12rem; color: var(--brand-ink); }
.page-pl-gau-andy3 #features > aside p { margin: .4em 0; font-size: .95rem; }
.page-pl-gau-andy3 #features > aside small { color: var(--muted); }
@media (max-width: 900px) { .page-pl-gau-andy3 #features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .page-pl-gau-andy3 #features { grid-template-columns: minmax(0, 1fr); } }
.page-pl-gau-andy3 #customers .table-wrap { max-width: 520px; margin: 0 auto; }
.page-pl-gau-andy3 #customers thead th { text-align: center; }
.page-pl-gau-andy3 #mail > header {
  max-width: none; padding: 40px 24px;
  background: var(--bg-soft) url("contour.svg") no-repeat left -200px center / 700px auto;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.page-pl-gau-andy3 #mail a, .page-pl-gau-andy3 .page-hero .lead a {
  display: inline-block; margin-top: 6px; padding: 10px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none;
}
.page-pl-gau-andy3 #mail a:hover, .page-pl-gau-andy3 .page-hero .lead a:hover { background: var(--brand-hover); }
.page-pl-gau-andy3 #mail a b, .page-pl-gau-andy3 .page-hero .lead a b { color: inherit; }
.page-pl-gau-andy3 .page-hero {
  background:
    linear-gradient(90deg, var(--bg-soft) 38%, rgba(245, 248, 252, .82) 62%, rgba(245, 248, 252, .35)),
    url("../images/pl-gau-andy3/ss_gauge.png") no-repeat right center / cover;
}
.page-pl-gau-andy3 .page-hero__inner { padding-bottom: 56px; }

.page-partner .lead p { font-size: .95rem; }
.page-partner td small { color: var(--muted); }
.page-partner table { min-width: 820px; font-size: .9rem; }   /* 狭い画面では横スクロール */
.page-partner th { white-space: nowrap; }
.page-partner td:first-child { font-weight: 600; color: var(--ink); }
.page-partner .article > section > p small { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Home (index.html)
   ========================================================================== */
.home-hero {
  position: relative; overflow: hidden;
  background:
    url("contour.svg") no-repeat right -180px top -40px / 900px auto,
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.home-hero__inner { max-width: var(--container); margin: 0 auto; padding: 36px 24px 56px; }
.home-hero__visual { margin: 0 auto; max-width: 880px; text-align: center; }
.home-hero__visual img { display: block; width: 100%; margin: 0 auto; mix-blend-mode: multiply; }

.quicklinks ul {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin: 36px 0 0; padding: 0; list-style: none;
}
.quicklinks li { margin: 0; }
.quicklinks a {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; height: 100%;
  padding: 18px 20px 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--ink); font-size: 1.05rem; font-weight: 700; text-decoration: none;
}
.quicklinks a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tile); }
.quicklinks a::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: auto;
  border-top: 2px solid var(--subtle); border-right: 2px solid var(--subtle); transform: rotate(45deg);
  transition: transform .2s, border-color .2s;
}
.quicklinks a:hover { transform: translateY(-2px); border-color: var(--tile); box-shadow: var(--shadow-lg); color: var(--ink); }
.quicklinks a:hover::after { border-color: var(--tile); transform: translateX(3px) rotate(45deg); }
.quicklinks .ql-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--tile-soft, var(--bg-soft)); color: var(--tile-ink, var(--brand));
}
.quicklinks .ql-icon svg { width: 22px; height: 22px; }
.quicklinks #tclexgau { --tile: var(--c-tclexgau); --tile-soft: #e4eff9; --tile-ink: #2c6aa0; }
.quicklinks #tecinfo { --tile: var(--c-tecinfo); --tile-soft: #fcebdc; --tile-ink: #b3622a; }
.quicklinks #products { --tile: var(--c-products); --tile-soft: #def4e7; --tile-ink: #26864f; }
.quicklinks #usersupport { --tile: var(--c-usersupport); --tile-soft: #fae5ef; --tile-ink: #b0477b; }
.quicklinks #contact { --tile: var(--c-contact); --tile-soft: #dcf1f8; --tile-ink: #1f7f9f; }
.quicklinks #about { --tile: var(--c-about); --tile-soft: #edf5dc; --tile-ink: #5f7f1d; }
@media (max-width: 900px) { .quicklinks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .quicklinks ul { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* Google カスタム検索（部品は Google が描画。配置と見た目だけ指定） */
.home-search { max-width: 640px; margin: 36px auto 0; }
.home-search * { box-sizing: content-box; }   /* Google 部品は content-box 前提 */
.home-search .gsc-control-cse, .home-search .gsc-control { padding: 0; border: 0; background: transparent; }
.home-search .gsc-input-box { border: 1px solid #c4d0e1; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.home-search .gsc-input-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27, 86, 180, .15); }

.home-section { max-width: var(--container); margin: 0 auto; padding: 72px 24px 0; }
.home-cols { padding-bottom: 96px; }
.home-section__head { margin-bottom: 24px; }
.home-section h2, .home-col h2 {
  position: relative; margin: 0 0 20px; padding-bottom: 10px;
  font-size: 1.45rem; line-height: 1.4; color: var(--ink); letter-spacing: .02em;
}
.home-section h2::after, .home-col h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--brand);
}

.app-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.app-grid li { margin: 0; }
.app-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.5;
}
.app-grid a::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-top: 2px solid var(--subtle); border-right: 2px solid var(--subtle); transform: rotate(45deg);
}
.app-grid a:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.app-grid a:hover::after { border-color: var(--brand); }
.app-grid .app-grid__partner { grid-column: 1 / -1; }
.app-grid .app-grid__partner a {
  justify-content: flex-start; gap: 10px;
  background: var(--brand-soft); border-color: #cddcf3; box-shadow: none;
  color: var(--brand-ink); font-weight: 500;
}
.app-grid .app-grid__partner a::after { margin-left: 4px; }

.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 860px) { .home-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.home-col + .home-col h2 { margin-top: 0; }
.home-col h2 + .link-list { margin-bottom: 40px; }

.link-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 6px; color: var(--ink); text-decoration: none;
}
.link-list a:hover { color: var(--brand); background: var(--bg-soft); }
.link-list a[target="_blank"]::after {
  content: ""; flex: none; width: 14px; height: 14px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1c30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.link-list a:not([target="_blank"])::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px;
  border-top: 2px solid var(--subtle); border-right: 2px solid var(--subtle); transform: rotate(45deg);
}

.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-list li {
  display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px;
  margin: 0; padding: 13px 6px; border-bottom: 1px solid var(--line); line-height: 1.65;
}
.news-list time {
  font-size: .85rem; font-weight: 700; color: var(--subtle);
  font-variant-numeric: tabular-nums; letter-spacing: .03em; padding-top: .1em;
}
.news-list li:first-child time { color: var(--brand); }

/* Info modal（旧 lib/modal.css 相当。トリガー未設置のため通常は非表示） */
.modal .checkbox { display: none; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(12, 31, 61, .55);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.modal .checkbox:checked ~ .modal-overlay { opacity: 1; visibility: visible; }
.modal-overlay .o-close { position: absolute; inset: 0; cursor: pointer; }
.modal-wrap {
  position: relative; width: min(100%, 720px); max-height: 85vh; overflow: auto;
  padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.modal-wrap .close { position: absolute; right: 16px; top: 12px; font-size: 18px; color: var(--muted); cursor: pointer; }
.info-modal h3 { margin-top: 0; padding-bottom: 8px; border-bottom: 2px solid var(--brand-soft); }
.info-trigger { color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #c3cee0; font-size: 14px; line-height: 1.7; }
.site-footer a { color: #e7eef8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 56px 24px 44px;
  display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 40px;
}
.site-footer--compact .footer-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 32px; }
.footer-brand img { width: 48px; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.footer-brand__name { margin: 12px 0 6px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.footer-brand p { margin: 0; }
.footer-brand .footer-tel { display: inline-block; margin-top: 4px; }
.footer-col h2 {
  margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #8ea2c0;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 9px; line-height: 1.5; font-size: 13.5px; }
.footer-bottom {
  padding: 18px 24px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: #8ea2c0;
}
.footer-bottom p { margin: 0; }
@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, background-color .15s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-hover); }

/* ---------- Print ---------- */
@media print {
  .site-header, .toc, .to-top, .nav-toggle, .home-search { display: none !important; }
  .page-body.has-toc { display: block; }
  .page-hero, .home-hero { background: none; }
  .appFeature, .page-products .article > .section { box-shadow: none; break-inside: avoid; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
}
