/*
Theme Name: Nehan Theme
Theme URI: https://labid.jp
Author: Nehan Inc.
Description: Nehan株式会社 コーポレートサイト用テーマ。お知らせは WordPress の投稿と連動します。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: nehan
*/

:root {
  /* Labid brand (orange / cream) — Labid文脈で使用 */
  --orange: #E95F33;
  --orange-dark: #C94820;
  --orange-soft: #F2876C;
  --cream: #F5B76F;
  --cream-dark: #E09D5A;
  /* Nehan brand (blue / pink) — Nehan文脈で使用 */
  --primary: #2581E9;
  --primary-dark: #1A6BC9;
  --primary-soft: #5DA3F2;
  --pink: #F97CA5;
  --pink-soft: #FBA8C0;

  /* Light theme — neutrals (matching recruit site) */
  --ink: #1A1A1F;
  --ink-2: #3D3D44;
  --ink-3: #6B6B74;
  --ink-4: #A4A4AE;
  --line: #E5EBF2;
  --line-2: #F0F4F9;
  --bg: #FFFFFF;
  --bg-alt: #F8FBFE;
  --bg-card: #FFFFFF;
  --sky: #6FB1E0;
  --sky-soft: rgba(111, 177, 224, 0.5);

  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  --f-en: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ---------- Navigation (floating pill) ---------- */
.nav {
  position: sticky;
  top: 20px;
  z-index: 100;
  padding: 0 20px;
  margin-top: 20px;
  margin-bottom: -96px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 0 32px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid rgba(20, 20, 22, 0.06);
  border-radius: 999px;
  box-shadow: 0 12px 32px -8px rgba(20, 20, 22, 0.10);
}
.nav-logo {
  font-family: var(--f-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-logo .dot { color: var(--primary); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-menu a { transition: color .15s; letter-spacing: 0.04em; }
.nav-menu a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(20, 20, 22, 0.06);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 16px 40px -10px rgba(20, 20, 22, 0.22);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 16px; border-radius: 10px; font-size: 16px; }
  .nav-menu a:hover { background: rgba(0, 0, 0, 0.04); }
}

/* ---------- Navigation (floating pill) ---------- */
.nav {
  position: sticky;
  top: 20px;
  z-index: 100;
  padding: 0 20px;
  margin-top: 20px;
  margin-bottom: -96px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 0 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid rgba(20, 20, 22, 0.06);
  border-radius: 999px;
  box-shadow: 0 14px 40px -10px rgba(20, 20, 22, 0.12);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-logo .dot { color: var(--sky); margin-left: 1px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.nav-menu a {
  letter-spacing: 0.06em;
  transition: color .15s;
  position: relative;
  padding: 4px 0;
}
.nav-menu a:hover { color: var(--sky); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 8px 34px; font-size: 13px; }
@media (max-width: 980px) {
  .nav-menu { display: none; }
}
@media (max-width: 768px) {
  .nav { top: 12px; margin-top: 12px; padding: 0 12px; }
  .nav-inner { height: 58px; padding: 0 12px 0 18px; }
  .nav-logo { font-size: 19px; }
  .nav-actions .btn { padding: 8px 18px; font-size: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 20, 22, 0.10); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 20, 22, 0.04); }
.btn-lg { font-size: 15px; padding: 16px 30px; }
.btn .arrow { font-family: var(--f-en); transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero (Nehan — painterly brushstroke) ---------- */
.hero {
  padding: 0 24px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 90% 50%, rgba(255, 230, 228, 0.25) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(240, 232, 244, 0.18) 0%, rgba(255,255,255,0) 65%),
    linear-gradient(135deg, #FDFAFA 0%, #FAF6F8 50%, #FDFAF6 100%);
}
.hero-arcs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-arcs svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ブラシストロークのゆったりした動き */
.hero-arcs .brush-1 { animation: brushDrift1 24s ease-in-out infinite; transform-origin: center; transform-box: view-box; }
.hero-arcs .brush-2 { animation: brushDrift2 28s ease-in-out infinite; transform-origin: center; transform-box: view-box; }
.hero-arcs .brush-3 { animation: brushDrift3 22s ease-in-out infinite; transform-origin: center; transform-box: view-box; }

@keyframes brushDrift1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(-12px, 8px) rotate(-1.5deg) scale(1.02); }
}
@keyframes brushDrift2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(15px, -10px) rotate(2deg) scale(1.03); }
}
@keyframes brushDrift3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(-8px, -12px) rotate(-1deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-arcs .brush-1,
  .hero-arcs .brush-2,
  .hero-arcs .brush-3 { animation: none; }
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(20, 20, 22, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 80%);
}
.hero-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 16px 100px;
}
.hero-eyebrow {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--sky);
}
.hero-headline {
  font-family: var(--f-jp);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 1040px;
}
.hero-headline .accent {
  background: linear-gradient(135deg, var(--sky) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-family: var(--f-jp);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 2.0;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 56px;
  font-weight: 500;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero entrance — staggered fade-up */
.hero-eyebrow,
.hero-headline,
.hero-sub,
.hero-cta {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-eyebrow  { animation-delay: 0.10s; }
.hero-headline { animation-delay: 0.28s; }
.hero-sub      { animation-delay: 0.55s; }
.hero-cta      { animation-delay: 0.78s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Section base ---------- */
.section {
  padding: 140px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  margin-bottom: 64px;
}
.section-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
}
.section-title {
  font-family: var(--f-en);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-title-jp {
  font-family: var(--f-jp);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-title-jp .accent { color: var(--primary); }
.section-sub {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 760px;
  font-weight: 500;
}

/* ---------- Mission section ---------- */
.mission {
  position: relative;
  overflow: hidden;
}
.mission-text {
  font-family: var(--f-jp);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 2.2;
  color: var(--ink-2);
  font-weight: 500;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.mission-text p + p { margin-top: 1.4em; }
.mission-text .emph { color: var(--ink); font-weight: 700; }
.mission-text .accent { color: var(--primary); font-weight: 700; }

/* ---------- Service card ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
}
.service-visual {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249,124,165,0.18) 0%, rgba(255,255,255,0) 60%), var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 24px 50px -20px rgba(37, 129, 233, 0.18);
}
.service-visual-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 32px -16px rgba(20, 20, 22, 0.18);
}
.service-visual-mock {
  position: relative;
  z-index: 2;
  width: 78%;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(20, 20, 22, 0.14);
  overflow: hidden;
}
.service-visual-mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F4F4F6;
  border-bottom: 1px solid #EAEAEE;
}
.service-visual-mock-head span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #DDD;
}
.service-visual-mock-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}
.service-visual-mock-body .row {
  height: 32px;
  background: linear-gradient(90deg, #EAF3FE 0%, #FFFFFF 60%);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
}
.service-visual-mock-body .row.short { width: 70%; }
.service-eyebrow {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.service-title {
  font-family: var(--f-jp);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.service-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.service-brand-name {
  font-family: var(--f-en);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--orange);
}
.service-brand-yomi {
  font-family: var(--f-jp);
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.service-desc {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 32px;
  font-weight: 500;
}

/* ---------- News list ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease, color .2s ease;
}
.news-item:hover { color: var(--primary); }
@media (max-width: 720px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
}
.news-date {
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.news-title {
  font-family: var(--f-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}
.news-arrow {
  font-family: var(--f-en);
  font-size: 18px;
  color: var(--ink-4);
  transition: color .2s, transform .2s;
}
.news-item:hover .news-arrow { color: var(--primary); }

/* ---------- Executives ---------- */
.execs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.exec-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .execs { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .execs { grid-template-columns: 1fr; gap: 32px; }
}
.exec-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.exec-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.exec-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: var(--f-en);
  font-size: 88px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(111, 177, 224, 0.35);
}
.exec-info {
  padding-top: 4px;
}
.exec-role {
  font-family: var(--f-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.exec-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.exec-name-jp {
  font-family: var(--f-jp);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.exec-name-en {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0.05em;
}
.exec-bio {
  font-family: var(--f-jp);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Recruit CTA band ---------- */
.recruit {
  padding: 80px 24px;
}
.recruit .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(88px, 12vw, 168px) 32px;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(20, 23, 32, 0.45) 0%, rgba(20, 23, 32, 0.72) 100%),
    url('./assets/saiyo.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .recruit { padding: 48px 16px; }
  .recruit .container {
    padding: 54vw 20px 48px;
    border-radius: 20px;
    background-image: url('./assets/saiyo.jpg');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #0A1A30;
  }
}
.recruit-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.recruit-eyebrow {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--pink-soft);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.recruit-headline {
  font-family: var(--f-jp);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 36px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* ---------- Company info ---------- */
.company-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 32px;
  max-width: 820px;
}
@media (max-width: 720px) {
  .company-grid { grid-template-columns: 1fr; gap: 8px 0; }
}
.company-row {
  display: contents;
}
.company-label {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.company-value {
  font-family: var(--f-jp);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}
@media (max-width: 720px) {
  .company-label { padding: 20px 0 4px; border: none; }
  .company-value { padding: 0 0 20px; }
}

/* ---------- Footer (Labid LP 完全準拠) ---------- */
.footer {
  padding: 80px 0 40px;
  background: #08172E;
  border-top: 1px solid rgba(20, 20, 22, 0.05);
  color: rgba(255, 255, 255, 0.72);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.footer-brand {
  max-width: 280px;
}
.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--f-jp);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-company {
  font-family: var(--f-jp);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}
.footer-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.footer-cert-img {
  width: 92px;
  height: auto;
  background: #fff;
  padding: 6px;
  border-radius: 6px;
}
.footer-cert-text {
  font-family: var(--f-jp);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.footer-col-title {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-family: var(--f-jp);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(20, 20, 22, 0.06);
}
.footer-copy {
  font-family: var(--f-en);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 768px) {
  .section { padding: 96px 0; }
  .recruit { padding: 40px 16px; }
  .hero { padding: 100px 24px 80px; min-height: auto; }
  .nav { top: 12px; margin-top: 12px; padding: 0 12px; }
  .nav-inner { padding: 0 16px 0 20px; height: 56px; }
  .nav-actions .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-arcs svg,
  .hero-arcs .ring-arc,
  .hero-arcs .ring-pulse,
  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-arcs svg { transform: translateY(-50%) !important; }
}

/* ---------- Contact Form 7（お問い合わせフォーム） ---------- */
.wpcf7 {
  max-width: 600px;
  margin: 16px auto 0;
  text-align: left;
}
.wpcf7-form p {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}
.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--f-jp);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 129, 233, 0.12);
}
.wpcf7-form textarea {
  min-height: 168px;
  resize: vertical;
  line-height: 1.7;
}
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 14px 44px;
  font-family: var(--f-jp);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--primary-dark); }
.wpcf7-form .wpcf7-submit:active { transform: translateY(1px); }
.wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #d8000c;
}
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Legal pages（特商法・プライバシー・セキュリティ） ---------- */
.legal { padding: 140px 0 104px; }
.legal .container { max-width: 920px; }
.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 18px;
}
.legal-eyebrow::before { content: "\25C6"; font-size: 10px; }
.legal-title {
  font-family: var(--f-en);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #0A2540;
  margin-bottom: 56px;
}
.legal-body { font-size: 15px; line-height: 2; color: var(--ink-2); }
.legal-body p { margin: 0 0 1.3em; }
.legal-body h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 44px 0 14px; }
.legal-body h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.legal-body ol, .legal-body ul { margin: 0 0 1.3em; padding-left: 1.5em; }
.legal-body li { margin-bottom: .5em; }
.legal-body a { color: var(--primary); text-decoration: underline; }
.legal-meta { margin-top: 48px; font-size: 14px; color: var(--ink-3); line-height: 1.9; }
/* 特商法テーブル */
.legal-table { width: 100%; border-top: 1px solid var(--line); margin: 0; }
.legal-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.legal-row dt { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.7; margin: 0; }
.legal-row dd { font-size: 15px; color: var(--ink); line-height: 1.9; margin: 0; }
@media (max-width: 768px) {
  .legal { padding: 110px 0 72px; }
  .legal-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 2px; }
}
