/* ==========================================================
   深堀情報技研合同会社 — サイト共通スタイル (2026 リニューアル v2)
   ========================================================== */

:root {
  --deep: #060d1f;
  --navy: #0a1f4d;
  --navy-2: #12306e;
  --cyan: #22d3ee;
  --green: #34d399;
  --grad: linear-gradient(90deg, var(--cyan), var(--green));
  --ink: #172033;
  --ink-soft: #5c6678;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius: 14px;
  --maxw: 1120px;
  --font-en: "Space Grotesk", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "BIZ UDPGothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--navy); }
a:hover { color: var(--cyan); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--cyan); color: var(--deep); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.brand {
  text-decoration: none;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .mark { width: 38px; height: 38px; flex: none; }

.brand .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.brand .name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
}

.brand:hover .name { color: #dbeafe; }

.header-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  color: #c6d2e8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-nav li.current a {
  color: #fff;
  position: relative;
}

.site-nav li.current a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-tel {
  text-decoration: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--deep);
  background: var(--grad);
  padding: 9px 20px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-tel:hover {
  color: var(--deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 211, 238, 0.35);
}

.header-tel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tel-ivr {
  font-family: var(--font-en);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93a0bb;
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(34, 211, 238, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(52, 211, 153, 0.12), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 70%, var(--navy-2) 100%);
  color: #fff;
  padding: 120px 24px 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "FITLAB";
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 15rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

.hero .inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 30px;
  background: rgba(34, 211, 238, 0.06);
}

.hero .badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin-bottom: 26px;
}

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .acronym {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #6c7fa6;
  margin: -6px 0 24px;
}

.hero .acronym .a {
  font-weight: 700;
  font-size: 1.35em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #a8b6d4;
  max-width: 620px;
  margin-bottom: 42px;
}

.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary { background: var(--grad); color: var(--deep); }
.btn-primary:hover {
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.4);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

/* ---------- Page title (sub pages) ---------- */

.page-title {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 90% at 80% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 72px 24px 56px;
}

.page-title::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: 56px 56px;
  pointer-events: none;
}

.page-title .inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.page-title h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Sections ---------- */

main { display: block; }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { margin-bottom: 44px; }

.section-head .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.section h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--cyan), var(--green)) 1;
}

.section p { margin-bottom: 1em; }

/* ---------- Card grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 31, 77, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 31, 77, 0.14);
}

.card .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 12px;
  padding: 0;
  border: none;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
}

.card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 24px;
}

.card .more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.card .more .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--deep);
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.card .more:hover { color: var(--cyan); }
.card .more:hover .arrow { transform: translateX(4px); }
.card .more + .more { margin-top: 10px; }

/* ---------- Lists ---------- */

.check-list { list-style: none; margin-bottom: 1em; }

.check-list li {
  padding: 10px 0 10px 34px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1em;
}

.tag-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(10, 31, 77, 0.05);
  transition: border-color 0.2s, transform 0.2s;
}

.tag-list li:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- Definition table (会社概要) ---------- */

.def-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 31, 77, 0.06);
}

.def-table th,
.def-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.def-table tr:last-child th,
.def-table tr:last-child td { border-bottom: none; }

.def-table th {
  background: var(--bg-soft);
  color: var(--navy);
  width: 24%;
  min-width: 130px;
  font-weight: 700;
  white-space: nowrap;
  border-right: 3px solid;
  border-image: linear-gradient(180deg, var(--cyan), var(--green)) 1;
}

.def-table ol { padding-left: 1.4em; }

/* ---------- News ---------- */

.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--cyan), var(--green)) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 32px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(10, 31, 77, 0.06);
}

.news-item .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.news-item .meta .cat {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  padding: 2px 12px;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.news-item h2.title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.news-list-simple { list-style: none; }

.news-list-simple li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  transition: background 0.2s;
}

.news-list-simple li:hover { background: rgba(34, 211, 238, 0.04); }

.news-list-simple time {
  font-family: var(--font-en);
  color: var(--ink-soft);
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 8em;
}

.news-list-simple a { text-decoration: none; font-weight: 500; }

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

.contact-form {
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 4px 20px rgba(10, 31, 77, 0.06);
}

.form-field { margin-bottom: 24px; }

.form-field > label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field .req {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 3px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}

.form-field .opt {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-left: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

/* honeypot — 人には見えない */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 26px;
}

.form-consent input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.form-consent a { font-weight: 600; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 15px 40px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--deep);
  background: var(--grad);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.4);
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.form-status.show { display: block; }

.form-status.ok {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #0f6f4e;
}

.form-status.err {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #b42318;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 18px;
  line-height: 1.7;
}

/* ---------- Legal (privacy) ---------- */

.legal h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--cyan), var(--green)) 1;
}

.legal h2:first-child { margin-top: 0; }

.legal p { margin-bottom: 1em; }

.legal ul, .legal ol { margin: 0 0 1em 1.4em; }
.legal li { margin-bottom: 6px; }

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

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

.contact-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(52, 211, 153, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 85% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(160deg, var(--deep), var(--navy));
  color: #fff;
  text-align: center;
  padding: 76px 24px;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.contact-band .inner { position: relative; }

.contact-band .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.contact-band h2 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.c-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.c-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 3.2em;
  text-align: right;
}

.contact-band .tel-large {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4.2vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.contact-band .tel-large:hover { color: var(--cyan); }

.contact-band .note {
  color: #a8b6d4;
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 2;
}

.contact-band .cb-cta { margin-top: 26px; }

.contact-band .note a.mail {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-band .note a.mail:hover { color: var(--cyan); }

.contact-band .tech-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.8rem;
  color: #93a0bb;
}

.contact-band .tn-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  background: rgba(34, 211, 238, 0.06);
  white-space: nowrap;
}

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

.site-footer {
  background: var(--deep);
  color: #97a4bf;
  padding: 56px 24px 28px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.site-footer .corp .en-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #6c7fa6;
  margin-bottom: 4px;
}

.site-footer .corp .en-label .a {
  font-weight: 700;
  font-size: 1.3em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer .corp .name {
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.site-footer nav ul { list-style: none; }
.site-footer nav li { margin-bottom: 8px; }

.site-footer a { color: #97a4bf; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--cyan); }

.copyright {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: #93a0bb;
  font-family: var(--font-en);
}

/* ---------- Scroll reveal ---------- */

/* JS有効時のみ隠す(no-JS環境・印刷では常に表示) */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible { opacity: 1; transform: none; }

@media print {
  .reveal,
  .hero .badge, .hero h1, .hero .acronym, .hero p.lead, .hero .actions, .hero .stats {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero .badge, .hero h1, .hero .acronym, .hero p.lead, .hero .actions, .hero .stats {
    opacity: 1; animation: none;
  }
  .orb { animation: none; }
}

/* ---------- Hero entrance & orbs ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero .badge,
.hero h1,
.hero .acronym,
.hero p.lead,
.hero .actions,
.hero .stats {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.hero .badge    { animation-delay: 0.05s; }
.hero h1        { animation-delay: 0.18s; }
.hero .acronym  { animation-delay: 0.28s; }
.hero p.lead    { animation-delay: 0.38s; }
.hero .actions  { animation-delay: 0.52s; }
.hero .stats    { animation-delay: 0.66s; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-1 {
  width: 460px; height: 460px;
  top: -140px; right: 6%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.30), transparent 70%);
}

.orb-2 {
  width: 380px; height: 380px;
  bottom: -120px; left: -60px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22), transparent 70%);
  animation-duration: 21s;
}

@keyframes drift {
  to { transform: translate(50px, 36px) scale(1.1); }
}

/* ---------- Hero stats ---------- */

.hero .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  margin-top: 64px;
}

.stat .k {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat .v {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #93a0bb;
}

/* ---------- Feature grid (強み) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(10, 31, 77, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 16px 40px rgba(10, 31, 77, 0.12);
}

.feature .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(52, 211, 153, 0.14));
  margin-bottom: 20px;
}

.feature .ico svg { width: 28px; height: 28px; stroke: #14b8cf; }

.feature h3 {
  margin: 0 0 12px;
  padding: 0;
  border: none;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--navy);
}

.feature p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Stagger ---------- */

.card-grid .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2) { transition-delay: 0.12s; }

.card-grid .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: var(--deep);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--deep); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .inner { justify-content: center; text-align: center; padding: 12px 12px 14px; gap: 6px 16px; }
  .header-right { justify-content: center; gap: 8px 12px; width: 100%; }
  .site-nav ul { justify-content: center; gap: 0; }
  .site-nav a { padding: 12px 10px; font-size: 0.78rem; letter-spacing: 0.02em; }
  .site-nav li.current a::after { left: 10px; right: 10px; }
  .header-tel { font-size: 0.9rem; padding: 12px 22px; }
  .brand .name { font-size: 1.05rem; }
  .hero { padding: 72px 24px 88px; }
  .hero .actions { justify-content: flex-start; }
  .section { padding: 56px 0; }
  .def-table th { width: auto; border-right: none; }
  .def-table th, .def-table td { display: block; }
  .def-table th { border-bottom: none; padding-bottom: 6px; }
  .def-table td { padding-top: 6px; }
}
