/* =========================================================
   株式会社NAT コーポレートサイト v2
   ダークネイビー×ブルーグリーン / 大判タイポグラフィ
   ========================================================= */

:root {
  --navy-950: #0a1226;
  --navy-900: #0f1b38;
  --navy-800: #16244a;
  --navy-700: #1f3161;
  --navy: #16244a;
  --teal: #2ba7ad;
  --teal-bright: #3cc5cc;
  --teal-deep: #1f8085;
  --teal-soft: #e7f4f5;
  --ink: #232a3a;
  --ink-soft: #5c6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 20px rgba(15, 27, 56, 0.07);
  --shadow-hover: 0 14px 36px rgba(15, 27, 56, 0.14);
  --header-h: 72px;
  --font-display: "Avenir Next", "Helvetica Neue", "Hiragino Sans", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
    "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   ヘッダー
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* CSS文字ロゴ */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--teal-deep) 160%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 27, 56, 0.25);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name .ja {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  transition: color 0.35s;
}

.brand-name .en {
  font-size: 9.5px;
  color: var(--ink-soft);
  letter-spacing: 0.32em;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.35s;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.global-nav a {
  position: relative;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.global-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.global-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.global-nav a:not(.nav-cta):hover {
  color: var(--teal-deep);
}

.nav-cta {
  display: inline-block;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #fff !important;
  padding: 11px 26px !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 27, 56, 0.28);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(43, 167, 173, 0.35);
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
}

/* トップページ：ヒーロー上では透過ヘッダー（白文字） */
body.home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.home .site-header:not(.is-scrolled) .brand-name .ja {
  color: #fff;
}

body.home .site-header:not(.is-scrolled) .brand-name .en {
  color: rgba(255, 255, 255, 0.6);
}

body.home .site-header:not(.is-scrolled) .global-nav a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.92);
}

body.home .site-header:not(.is-scrolled) .global-nav a:not(.nav-cta):hover {
  color: var(--teal-bright);
}

body.home .site-header:not(.is-scrolled) .nav-cta {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
}

body.home .site-header:not(.is-scrolled) .brand-mark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 27, 56, 0.08);
}

/* モバイルナビ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, background 0.35s;
}

body.home .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.nav-toggle[aria-expanded="true"] span {
  background: var(--navy-900) !important;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   ヒーロー（ダークネイビー）
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 780px 520px at 82% 18%, rgba(43, 167, 173, 0.22), transparent 62%),
    radial-gradient(ellipse 900px 600px at 8% 100%, rgba(31, 49, 97, 0.55), transparent 65%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 45%, #0d1a36 100%);
  color: #fff;
  padding: calc(var(--header-h) + 96px) 0 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: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 60% 30%, rgba(0, 0, 0, 0.8), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 30%, rgba(0, 0, 0, 0.8), transparent 75%);
  pointer-events: none;
}

/* 大型リング装飾 */
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-42%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(60, 197, 204, 0.28);
  background: radial-gradient(circle at 35% 35%, rgba(60, 197, 204, 0.10), transparent 55%);
  box-shadow: 0 0 120px rgba(43, 167, 173, 0.12) inset;
  pointer-events: none;
}

.hero-ring2 {
  position: absolute;
  right: -60px;
  top: 12%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--teal-bright);
  margin-bottom: 30px;
}

.hero-label::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-bright), transparent);
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}

.hero h1 .accent {
  background: linear-gradient(92deg, var(--teal-bright) 10%, #7fd8dc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 2.1;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 40px;
  border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn .arrow {
  font-family: var(--font-display);
  transition: transform 0.25s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 26px rgba(43, 167, 173, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(43, 167, 173, 0.5);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  transform: translateY(-2px);
}

/* 事業キーワードチップ */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 7px 18px;
}

/* スクロールキュー */
.scroll-cue {
  position: absolute;
  left: 30px;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.scroll-cue span {
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   セクション共通
   ========================================================= */

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.section-gray {
  background: var(--bg-gray);
}

/* 背景ウォーターマーク（大判英字） */
.watermark {
  position: absolute;
  top: 34px;
  right: -8px;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 150px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(22, 36, 74, 0.045);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.section-dark .watermark {
  color: rgba(255, 255, 255, 0.035);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  transform: rotate(45deg);
}

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.45;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 15px;
}

/* =========================================================
   事業内容
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(43, 167, 173, 0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(22, 36, 74, 0.07);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--teal-soft), #d8edee);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal-deep);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 19px;
  color: var(--navy-900);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.service-card h3 .en {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* =========================================================
   NATの強み（ダークセクション）
   ========================================================= */

.section-dark {
  background:
    radial-gradient(ellipse 700px 420px at 90% 8%, rgba(43, 167, 173, 0.16), transparent 60%),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(31, 49, 97, 0.5), transparent 65%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: #fff;
}

.section-dark::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: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 20%, rgba(0, 0, 0, 0.7), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 20%, rgba(0, 0, 0, 0.7), transparent 80%);
  pointer-events: none;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.66);
}

.section-dark .section-label {
  color: var(--teal-bright);
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.strength-item {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.strength-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(60, 197, 204, 0.45);
  transform: translateY(-4px);
}

.strength-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  background: linear-gradient(120deg, var(--teal-bright), #7fd8dc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.strength-item h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.strength-item p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   支援領域
   ========================================================= */

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.field-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.field-card::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--teal), var(--teal-bright));
}

.field-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(43, 167, 173, 0.4);
}

.field-card h3 {
  font-size: 15.5px;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.field-card p {
  font-size: 13px;
  color: var(--ink-soft);
}

.field-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* =========================================================
   会社概要
   ========================================================= */

.company-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.company-side {
  position: relative;
}

.company-side .big-nat {
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--navy-800) 20%, var(--teal) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 18px 0 10px;
}

.company-side p {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 22px 30px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

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

.company-table th {
  width: 170px;
  background: var(--bg-gray);
  color: var(--navy-900);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.company-table ul {
  list-style: none;
}

.company-table li {
  position: relative;
  padding-left: 18px;
}

.company-table li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
}

/* =========================================================
   お問い合わせ
   ========================================================= */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: stretch;
}

.contact-info {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 400px 300px at 100% 0%, rgba(43, 167, 173, 0.25), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
}

.contact-info::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(60, 197, 204, 0.3);
  pointer-events: none;
}

.contact-info .en-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.contact-info > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 34px;
}

.contact-tel {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.contact-tel:hover {
  color: var(--teal-bright);
}

.contact-tel-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-address {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.required-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--teal), var(--teal-deep));
  border-radius: 4px;
  padding: 1.5px 8px;
  margin-left: 8px;
  vertical-align: 1px;
  letter-spacing: 0.08em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-gray);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 167, 173, 0.12);
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-privacy-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.form-privacy-note a {
  text-decoration: underline;
}

/* 送信完了メッセージ */
.form-thanks {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-thanks.is-visible {
  display: block;
}

.form-thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-soft), #d8edee);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.form-thanks-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--teal-deep);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-thanks p {
  font-size: 15px;
  color: var(--ink);
}

/* =========================================================
   フッター
   ========================================================= */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 36px;
  font-size: 13.5px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.footer-brand .ja {
  color: #fff;
}

.footer-brand .en {
  color: rgba(255, 255, 255, 0.5);
}

.footer-address {
  margin-top: 16px;
  font-style: normal;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--teal-bright);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* =========================================================
   プライバシーポリシーページ
   ========================================================= */

.policy-main {
  padding: calc(var(--header-h) + 64px) 0 100px;
}

.policy-main .container {
  max-width: 820px;
}

.policy-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--teal);
  margin-bottom: 12px;
}

.policy-title {
  font-size: clamp(26px, 3.6vw, 34px);
  color: var(--navy-900);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.policy-date {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 48px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 18.5px;
  color: var(--navy-900);
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.policy-section p,
.policy-section li {
  font-size: 14.5px;
  color: var(--ink);
}

.policy-section ul,
.policy-section ol {
  padding-left: 24px;
  margin-top: 8px;
}

.policy-contact-box {
  background: var(--bg-gray);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-top: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   スクロールフェードイン（控えめ）
   ========================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-shown {
  opacity: 1;
  transform: none;
}

/* カード類は少しずつ時間差 */
.service-grid .fade-in:nth-child(2),
.strength-list .fade-in:nth-child(2),
.field-grid .fade-in:nth-child(2) {
  transition-delay: 0.08s;
}
.service-grid .fade-in:nth-child(3),
.strength-list .fade-in:nth-child(3),
.field-grid .fade-in:nth-child(3) {
  transition-delay: 0.16s;
}
.service-grid .fade-in:nth-child(4),
.strength-list .fade-in:nth-child(4),
.field-grid .fade-in:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue::after {
    animation: none;
  }
}

/* =========================================================
   レスポンシブ
   ========================================================= */

@media (max-width: 960px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap,
  .company-wrap {
    grid-template-columns: 1fr;
  }

  .company-side .big-nat {
    font-size: 64px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: calc(var(--header-h) + 64px) 0 88px;
  }

  /* モバイルでは h1 の固定改行を解除して自然に折り返す */
  .hero h1 br {
    display: none;
  }

  .hero::after {
    width: 420px;
    height: 420px;
    right: -220px;
  }

  .scroll-cue {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(15, 27, 56, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .global-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 26px 22px;
  }

  .global-nav a:not(.nav-cta) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--navy-900) !important;
  }

  .global-nav a:not(.nav-cta)::after {
    display: none;
  }

  .global-nav li:last-child {
    margin-top: 16px;
  }

  .nav-cta {
    display: block;
    text-align: center;
  }

  .service-grid,
  .strength-list {
    grid-template-columns: 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 15px 22px;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .watermark {
    top: 22px;
    font-size: clamp(56px, 16vw, 90px);
  }

  .contact-info,
  .contact-form {
    padding: 32px 26px;
  }
}

@media (max-width: 520px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .company-side .big-nat {
    font-size: 52px;
  }
}

/* =========================================================
   v3 追加：エントランス演出・マーキー・PROCESS・CTAバンド
   ========================================================= */

/* ウォーターマークを袋文字（アウトライン）に */
.watermark {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(22, 36, 74, 0.08);
}

.section-dark .watermark {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
}

/* ヒーロー：ロード時の段階フェードアップ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero-label { animation: fadeUp 0.7s 0.08s ease both; }
.hero h1 { animation: fadeUp 0.7s 0.2s ease both; }
.hero-lead { animation: fadeUp 0.7s 0.32s ease both; }
.hero-actions { animation: fadeUp 0.7s 0.44s ease both; }
.hero-tags { animation: fadeUp 0.7s 0.56s ease both; }

/* ヒーロー：ゆっくり漂うオーラ */
.hero-aurora {
  position: absolute;
  left: -160px;
  top: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 167, 173, 0.20), transparent 62%);
  filter: blur(6px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes auroraDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(110px, 70px) scale(1.18); }
}

/* 英字マーキー帯 */
.marquee {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.32em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}

.marquee-group i {
  font-style: normal;
  font-size: 9px;
  color: var(--teal);
  display: flex;
  align-items: center;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* 支援の流れ（PROCESS） */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal), rgba(43, 167, 173, 0.12));
}

.process-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--teal);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(43, 167, 173, 0.18);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 16px;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.process-step p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* CTAバンド */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 760px 420px at 82% 0%, rgba(43, 167, 173, 0.24), transparent 62%),
    linear-gradient(140deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 96px 0;
  text-align: center;
}

.cta-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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, rgba(0, 0, 0, 0.7), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, rgba(0, 0, 0, 0.7), transparent 80%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(60, 197, 204, 0.25);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-en {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 36px;
}

.sp-only {
  display: none;
}

/* フッター：袋文字ウォーターマーク */
.site-footer {
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  right: -14px;
  bottom: -52px;
  font-family: var(--font-display);
  font-size: 240px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-tags {
    animation: none;
  }
  .hero-aurora {
    animation: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* レスポンシブ（v3分） */
@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-grid::before {
    top: 8px;
    bottom: 8px;
    left: 26px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: linear-gradient(180deg, var(--teal), rgba(43, 167, 173, 0.12));
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
  }

  .process-num {
    margin-bottom: 0;
  }

  .process-body {
    padding-top: 6px;
  }
}

@media (max-width: 768px) {
  .marquee {
    padding: 18px 0;
  }

  .marquee-group span {
    font-size: 12.5px;
  }

  .cta-band {
    padding: 72px 0;
  }

  .sp-only {
    display: inline;
  }

  .footer-watermark {
    font-size: 150px;
    bottom: -34px;
  }
}

/* =========================================================
   v4 追加：ローダー・パーティクル・文字リビール・
   スポットライト・FAQ・進捗バー・トップへ戻る
   ========================================================= */

/* ローディング演出 */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.loader.is-done {
  transform: translateY(-100%);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-mark {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  animation: loaderMark 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loaderMark {
  from { opacity: 0; letter-spacing: 0.6em; transform: translateY(10px); }
  to { opacity: 1; letter-spacing: 0.1em; transform: none; }
}

.loader-line {
  display: block;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  animation: loaderLine 1s 0.15s ease both;
}

@keyframes loaderLine {
  from { width: 0; opacity: 0; }
  to { width: 220px; opacity: 1; }
}

.loader-sub {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.5);
  animation: loaderMark 0.9s 0.3s ease both;
}

/* スクロール進捗バー */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ヒーロー：パーティクルキャンバス */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  z-index: 2;
}

/* ヒーロー：ローダー完了後に登場（v2/v3の即時アニメを上書き） */
.hero-label,
.hero-lead,
.hero-actions,
.hero-tags {
  animation: none;
  opacity: 0;
}

body.is-ready .hero-label { animation: fadeUp 0.7s 0.12s ease both; }
body.is-ready .hero-lead { animation: fadeUp 0.7s 0.85s ease both; }
body.is-ready .hero-actions { animation: fadeUp 0.7s 1.05s ease both; }
body.is-ready .hero-tags { animation: fadeUp 0.7s 1.2s ease both; }

.hero h1 {
  animation: none;
  opacity: 1;
}

/* 見出し1文字ずつリビール */
.hero h1.is-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.is-ready .hero h1.is-split .char {
  opacity: 1;
  transform: none;
}

.hero h1 .accent .char {
  background: linear-gradient(92deg, var(--teal-bright) 10%, #7fd8dc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* カード：カーソル追従スポットライト */
.service-card::after,
.field-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 167, 173, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover::after,
.field-card:hover::after {
  opacity: 1;
}

.strength-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(60, 197, 204, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.strength-item:hover::after {
  opacity: 1;
}

.field-card {
  overflow: hidden;
}

/* ウォーターマーク：パララックス用 */
.watermark {
  will-change: transform;
  transition: none;
}

/* マーキー：ホバーで一時停止 */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* FAQ */
.faq-list {
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: rgba(43, 167, 173, 0.45);
}

.faq-item.is-open {
  border-color: rgba(43, 167, 173, 0.55);
  box-shadow: var(--shadow-hover);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.03em;
  padding: 22px 26px;
  line-height: 1.6;
}

.faq-q > span {
  position: relative;
  padding-left: 34px;
  flex: 1;
}

.faq-q > span::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--teal);
}

.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--teal-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.3s;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: var(--teal);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 0 26px 24px 60px;
}

.faq-a-inner p::before {
  content: "A";
  position: absolute;
  left: 26px;
  top: -0.1em;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-700);
}

/* トップへ戻る */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: 0 8px 22px rgba(15, 27, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

.to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* reduced-motion（v4分） */
@media (prefers-reduced-motion: reduce) {
  .loader {
    display: none;
  }
  .hero-label,
  .hero-lead,
  .hero-actions,
  .hero-tags {
    animation: none;
    opacity: 1;
  }
  .hero h1.is-split .char {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .watermark {
    transform: none !important;
  }
}

/* レスポンシブ（v4分） */
@media (max-width: 768px) {
  .loader-mark {
    font-size: 46px;
  }

  .faq-q {
    font-size: 14.5px;
    padding: 18px 20px;
  }

  .faq-q > span {
    padding-left: 28px;
  }

  .faq-a-inner p {
    padding: 0 20px 20px 48px;
  }

  .faq-a-inner p::before {
    left: 20px;
  }

  .to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}
