/* ============================================================
   株式会社findnext - Main Stylesheet
   カラーパレット: オレンジ×ピンク×ブルー ポリゴン系
   ============================================================ */

/* === CSS Variables === */
:root {
  /* Brand Colors - ポリゴン画像から抽出 */
  --orange:        #F4845F;   /* オレンジ */
  --orange-deep:   #E8632A;   /* 深いオレンジ */
  --orange-light:  #F9A87A;   /* 明るいオレンジ */
  --pink:          #D4748A;   /* ピンク・モーブ */
  --pink-light:    #E8A0AC;   /* 薄いピンク */
  --blue:          #5B9FBF;   /* ミッドブルー */
  --blue-deep:     #3A7A9C;   /* 深いブルー */
  --blue-light:    #87C0D4;   /* 水色 */
  --grey:          #8C8FA0;   /* グレー */
  --offwhite:      #F7F4F1;   /* オフホワイト */

  /* Semantic */
  --primary:       var(--orange);
  --primary-dark:  var(--orange-deep);
  --secondary:     var(--blue);
  --accent:        var(--pink);

  /* Text */
  --text-dark:     #1A1A2E;
  --text:          #2D2D3E;
  --text-muted:    #6B6B80;
  --text-light:    #9B9BAD;

  /* BG */
  --bg:            #FFFFFF;
  --bg-2:          #F7F4F1;
  --bg-3:          #FDF9F7;
  --bg-dark:       #1A1A2E;
  --bg-dark-2:     #242436;

  /* Border */
  --border:        #EBE6E2;
  --border-dark:   rgba(255,255,255,0.1);

  /* Gradients */
  --grad-warm:     linear-gradient(135deg, #F4845F 0%, #D4748A 50%, #E8632A 100%);
  --grad-cool:     linear-gradient(135deg, #5B9FBF 0%, #87C0D4 100%);
  --grad-brand:    linear-gradient(135deg, #F4845F 0%, #D4748A 40%, #5B9FBF 100%);
  --grad-poly:     linear-gradient(145deg, #F9A87A 0%, #E8A0AC 30%, #87C0D4 70%, #3A7A9C 100%);
  --grad-hero:     linear-gradient(145deg, #FDF4EF 0%, #F5E8EE 40%, #E8F4F9 70%, #D6ECF5 100%);

  /* Misc */
  --font-body: 'Noto Sans JP', 'Inter', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(100,80,60,0.07);
  --shadow:    0 4px 20px rgba(100,80,60,0.10);
  --shadow-lg: 0 12px 40px rgba(100,80,60,0.14);
  --shadow-xl: 0 24px 64px rgba(100,80,60,0.18);
  --transition: 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  /* タップ時のハイライト抑制 */
  -webkit-tap-highlight-color: transparent;
}
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* ダブルタップズーム無効化 */
}
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* iOS SafeArea 対応 */
.header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.footer-inner { padding-bottom: env(safe-area-inset-bottom); }
.back-to-top { bottom: calc(24px + env(safe-area-inset-bottom)); right: calc(24px + env(safe-area-inset-right)); }

/* === Container === */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* === Section === */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244,132,95,0.10);
  border: 1px solid rgba(244,132,95,0.25);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-dark .section-badge {
  color: var(--blue-light);
  background: rgba(135,192,212,0.12);
  border-color: rgba(135,192,212,0.3);
}

.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.section-dark .section-title { color: #fff; }

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.85;
}
.section-dark .section-desc { color: rgba(255,255,255,0.55); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.logo-img {
  height: 26px;
  width: auto;
  /* SVGのcurrentColorをCSSで制御 */
  filter: brightness(0) invert(1);   /* ヒーロー上：白 */
  transition: filter var(--transition);
}
.header.scrolled .logo-img {
  filter: brightness(0);             /* スクロール後：黒 */
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.header.scrolled .nav-link { color: var(--text-muted); }
.header.scrolled .nav-link:hover { color: var(--orange); background: rgba(244,132,95,0.07); }

.nav-cta {
  background: var(--grad-warm) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(244,132,95,0.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,132,95,0.45) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
/* PC では×ボタン非表示 */
.nav-close {
  display: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--grad-hero);
}

/* ポリゴン風SVG背景 */
.hero-poly-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-poly-bg svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

/* 浮遊する装飾円 */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-circle-1 {
  width: 500px; height: 500px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(244,132,95,0.18) 0%, transparent 70%);
  animation: floatCircle 8s ease-in-out infinite;
}
.hero-circle-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(91,159,191,0.18) 0%, transparent 70%);
  animation: floatCircle 10s ease-in-out infinite reverse;
}
.hero-circle-3 {
  width: 260px; height: 260px;
  top: 30%; left: 20%;
  background: radial-gradient(circle, rgba(212,116,138,0.12) 0%, transparent 70%);
  animation: floatCircle 7s ease-in-out infinite 2s;
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-deep);
  background: rgba(244,132,95,0.12);
  border: 1px solid rgba(244,132,95,0.3);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge i { color: var(--orange); }

.hero-title {
  font-size: clamp(30px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244,132,95,0.18);
  border-radius: var(--radius-lg);
  padding: 24px 48px;
  gap: 0;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat { text-align: center; padding: 0 36px; }
.stat-number {
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.stat-number span {
  font-size: 16px;
  font-weight: 700;
}
.stat-label { font-size: 11px; color: var(--text-light); font-weight: 500; white-space: nowrap; }
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease infinite;
}
.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.hero-scroll a:hover { color: var(--orange); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 4px 16px rgba(244,132,95,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,132,95,0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(26,26,46,0.2);
}
.btn-outline:hover {
  background: rgba(26,26,46,0.05);
  border-color: rgba(26,26,46,0.4);
  transform: translateY(-2px);
  color: var(--text-dark);
}

/* dark bg 上のアウトライン */
.section-dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.section-dark .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(244,132,95,0.4);
  color: var(--orange-deep);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-sm:hover {
  background: rgba(244,132,95,0.07);
  border-color: var(--orange);
  transform: translateY(-1px);
  color: var(--orange-deep);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  color: #fff;
  background: var(--grad-warm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(244,132,95,0.3);
}
.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244,132,95,0.4);
  color: #fff;
}

.btn-blue-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(91,159,191,0.4);
  color: var(--blue-deep);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-blue-sm:hover {
  background: rgba(91,159,191,0.08);
  border-color: var(--blue);
  transform: translateY(-1px);
  color: var(--blue-deep);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   ABOUT
   ============================================================ */

/* リード文 */
.about-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.about-lead-main {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-lead-em {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.about-lead-main strong {
  color: var(--orange-deep);
  font-weight: 800;
}
.about-lead-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-muted);
  line-height: 1.9;
}
.about-lead-sub strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* フロー全体 */
.about-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 36px;
}

/* 起点ブロック */
.about-origin {
  flex-shrink: 0;
  width: 200px;
  background: linear-gradient(145deg, #1A1A2E 0%, #2A2040 100%);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 1px solid rgba(244,132,95,0.2);
  position: relative;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* JS付与前はデフォルト表示、JS付与後はアニメーション */
.about-origin.anim-init { opacity: 0; transform: translateY(16px); }
.about-origin.visible   { opacity: 1 !important; transform: translateY(0) !important; }
.about-origin-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 6px 20px rgba(244,132,95,0.4);
  margin-bottom: 4px;
}
.about-origin-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(244,132,95,0.12);
  border: 1px solid rgba(244,132,95,0.25);
  border-radius: 20px;
  padding: 3px 12px;
}
.about-origin-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.45;
}
.about-origin-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* 矢印 */
.about-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--orange-light);
  font-size: 26px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* 3ソリューション */
.about-solutions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-sol-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid transparent;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.about-sol-card.anim-init { opacity: 0; transform: translateX(16px); }
.about-sol-card.visible   { opacity: 1 !important; transform: translateX(0) !important; }
.about-sol-card.visible:hover { transform: translateX(4px) !important; box-shadow: var(--shadow-md); }

.about-sol-talent {
  background: linear-gradient(135deg, #2A1F1A 0%, #3D2A22 100%);
  border-color: rgba(244,132,95,0.18);
}
.about-sol-app {
  background: linear-gradient(135deg, #1A1A30 0%, #252545 100%);
  border-color: rgba(99,102,241,0.18);
}
.about-sol-sec {
  background: linear-gradient(135deg, #0E2030 0%, #162A3E 100%);
  border-color: rgba(91,159,191,0.18);
}

.about-sol-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.about-sol-talent .about-sol-icon { background: var(--grad-warm); box-shadow: 0 4px 14px rgba(244,132,95,0.35); }
.about-sol-app    .about-sol-icon { background: linear-gradient(135deg, #6366F1, #4F8EF7); box-shadow: 0 4px 14px rgba(99,102,241,0.35); }
.about-sol-sec    .about-sol-icon { background: var(--grad-cool); box-shadow: 0 4px 14px rgba(91,159,191,0.35); }

.about-sol-body { flex: 1; }
.about-sol-problem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.about-sol-problem i { font-size: 9px; }
.about-sol-body h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.about-sol-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ワンストップバー */
.about-onestop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(244,132,95,0.08) 0%, rgba(212,116,138,0.08) 50%, rgba(91,159,191,0.08) 100%);
  border: 1px solid rgba(244,132,95,0.2);
  border-radius: var(--radius-xl);
  padding: 20px 32px;
  text-align: center;
}
.about-onestop i {
  font-size: 22px;
  color: var(--orange);
  flex-shrink: 0;
}
.about-onestop span {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}
.about-onestop strong {
  color: var(--orange-deep);
  font-weight: 800;
}

/* PC only改行 */
.pc-only { display: inline; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.service-card.anim-init { opacity: 0; transform: translateY(20px); }
.service-card.visible   { opacity: 1; transform: translateY(0); }
.service-card:hover     { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.service-talent {
  background: linear-gradient(145deg, #2A1F1A 0%, #3D2A22 50%, #2A2A3E 100%);
  border: 1px solid rgba(244,132,95,0.15);
}
.service-security {
  background: linear-gradient(145deg, #0E2030 0%, #162A3E 50%, #1A2E40 100%);
  border: 1px solid rgba(91,159,191,0.15);
}
.service-card-inner { padding: 40px 36px; }
.service-number {
  font-size: 60px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -14px;
  letter-spacing: -0.04em;
}
.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 18px;
}
.service-talent .service-icon-wrap { background: var(--grad-warm); box-shadow: 0 6px 18px rgba(244,132,95,0.4); }
.service-security .service-icon-wrap { background: var(--grad-cool); box-shadow: 0 6px 18px rgba(91,159,191,0.4); }
.service-app {
  background: linear-gradient(145deg, #1A1A30 0%, #252540 50%, #1E2A1E 100%);
  border: 1px solid rgba(99,102,241,0.15);
}
.service-app .service-icon-wrap { background: linear-gradient(135deg, #6366F1 0%, #4F8EF7 100%); box-shadow: 0 6px 18px rgba(99,102,241,0.4); }
.service-app .service-features li i { color: #A5B4FC; }
.service-app .service-link { color: #A5B4FC; }

.service-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.service-card-inner > p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 22px; line-height: 1.85; }
.service-features { list-style: none; margin-bottom: 26px; }
.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-features li:last-child { border-bottom: none; }
.service-features li i { font-size: 11px; flex-shrink: 0; }
.service-talent .service-features li i { color: var(--orange-light); }
.service-security .service-features li i { color: var(--blue-light); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.service-talent .service-link { color: var(--orange-light); }
.service-security .service-link { color: var(--blue-light); }
.service-link:hover { gap: 12px; }

/* ============================================================
   TALENT
   ============================================================ */
.sub-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sub-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sub-title-light { color: rgba(255,255,255,0.85); }
.sub-title-light::after { background: rgba(255,255,255,0.1); }

/* University Card */
.university-section { margin-bottom: 64px; }
.university-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  transition: all var(--transition);
}
.university-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(244,132,95,0.25); }

.university-emblem {
  width: 96px; height: 96px;
  background: var(--grad-warm);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(244,132,95,0.3);
  flex-shrink: 0;
}
/* NITTEロゴ使用時：白背景でロゴを自然表示 */
.univ-emblem-logo {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 10px;
  width: 130px;
  height: auto;
  border-radius: 14px;
}
.nitte-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.university-info { flex: 1; }
.university-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  background: rgba(244,132,95,0.09);
  border: 1px solid rgba(244,132,95,0.22);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.university-info h4 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.university-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.university-location i { color: var(--orange); }
.university-desc { font-size: 13px; color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.university-stats { display: flex; gap: 28px; margin-bottom: 18px; }
.u-stat { text-align: center; }
.u-stat-num {
  display: block;
  font-size: 20px; font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 3px;
}
.u-stat-num sup { font-size: 11px; font-weight: 700; }
.u-stat-label { font-size: 10px; color: var(--text-light); white-space: nowrap; }

/* Flow */
.flow-section { margin-bottom: 60px; }
.flow-grid { display: flex; align-items: flex-start; }

/* PC: 縦積みカード */
.flow-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  gap: 0;
}
.flow-item:hover { border-color: rgba(244,132,95,0.3); box-shadow: var(--shadow); transform: translateY(-4px); }

.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; color: var(--border);
  flex-shrink: 0; margin-top: 44px;
}
.flow-step {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; color: var(--orange);
  margin-bottom: 16px;
  align-self: center;   /* 中央揃えに統一 */
}
.flow-icon {
  width: 52px; height: 52px;
  background: var(--grad-warm);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(244,132,95,0.35);
  flex-shrink: 0;
}
.flow-item-text { width: 100%; text-align: center; }
.flow-item h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.flow-item p   { font-size: 12px; color: var(--text-muted); line-height: 1.75; }

/* Skills */
.skills-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 15px;
  border-radius: 100px;
  transition: all var(--transition);
}
.skill-tag:hover {
  background: rgba(244,132,95,0.06);
  border-color: rgba(244,132,95,0.3);
  color: var(--orange-deep);
  transform: translateY(-2px);
}
.skill-tag i { color: var(--orange); font-size: 11px; }

/* ============================================================
   APP DEVELOPMENT SECTION
   ============================================================ */
.app-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.app-overview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.app-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,0.3);
}
.app-overview-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366F1 0%, #4F8EF7 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(99,102,241,0.35);
}
.app-overview-card h4 {
  font-size: 15px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.app-overview-card p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.8;
}

.app-features-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.app-feature-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1A1A30 0%, #252545 100%);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  min-width: 220px;
}
.app-feature-highlight-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366F1 0%, #4F8EF7 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.app-feature-highlight-num {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.app-feature-highlight-num span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.app-feature-highlight-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   SECURITY
   ============================================================ */
.partner-section { margin-bottom: 56px; }
.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.partner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.partner-logo-icon { display: flex; align-items: center; gap: 10px; }
.aevus-logo {
  background: var(--grad-cool);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* AEVUSロゴ画像（ダーク背景カード用）*/
.aevus-logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* 黒背景PNGの黒を消して白ロゴのみ表示 */
  mix-blend-mode: screen;
  filter: brightness(1.05);
}
/* Kyutech ARISEロゴ（ダーク背景 partner-card ヘッダー用）*/
/* AEVUSロゴと同じサイズ感に統一 */
.kyutech-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 18px;
  overflow: hidden;
}
.kyutech-logo-img {
  height: 40px;          /* aevus-logo-img と同じ 40px */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
/* partner-badge-inline（代理店販売バッジ）*/
.partner-badge-inline {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-light);
  background: rgba(244,132,95,0.14);
  border: 1px solid rgba(244,132,95,0.3);
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
/* partner-kyutech ヘッダーのアクセントカラー */
.partner-kyutech .partner-header {
  border-bottom-color: rgba(244,132,95,0.12);
}
.partner-kyutech .partner-service-item:hover {
  background: rgba(244,132,95,0.06);
  border-color: rgba(244,132,95,0.25);
}
.partner-kyutech .partner-service-item i {
  color: var(--orange-light);
}
.partner-label { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }
.partner-content { padding: 32px 36px; }
.partner-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 24px; max-width: 680px; }
.partner-services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.partner-service-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: all var(--transition);
}
.partner-service-item:hover {
  background: rgba(91,159,191,0.08);
  border-color: rgba(91,159,191,0.3);
  transform: translateY(-4px);
}
.partner-service-item i { font-size: 22px; color: var(--blue-light); margin-bottom: 10px; display: block; }
.partner-service-item h5 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.partner-service-item p { font-size: 10px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* Course */
.course-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.course-badge-wrap { position: absolute; top: 20px; right: 20px; }
.course-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-light);
  background: rgba(244,132,95,0.12);
  border: 1px solid rgba(244,132,95,0.3);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}
.course-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.course-logo i { font-size: 32px; color: var(--orange-light); }
.course-logo-main { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; }
.course-logo-sub { font-size: 11px; color: rgba(255,255,255,0.45); }
.course-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 24px; max-width: 680px; }
.course-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.course-feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 14px;
  transition: all var(--transition);
}
.course-feature:hover {
  background: rgba(244,132,95,0.06);
  border-color: rgba(244,132,95,0.2);
  transform: translateY(-2px);
}
.course-feature i { font-size: 18px; color: var(--orange-light); flex-shrink: 0; margin-top: 2px; }
.course-feature h5 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.course-feature p { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ============================================================
   WHY FINDNEXT
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition: all var(--transition);
}
.why-card.anim-init { opacity: 0; transform: translateY(18px); }
.why-card.visible   { opacity: 1; transform: translateY(0); }
.why-card:hover     { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(244,132,95,0.22); }
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(244,132,95,0.1), rgba(212,116,138,0.1));
  border: 1px solid rgba(244,132,95,0.18);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--orange);
  margin: 0 auto 16px;
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: var(--grad-warm);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(244,132,95,0.3);
}
.why-card h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.why-card p { font-size: 12px; color: var(--text-muted); line-height: 1.85; }

/* ============================================================
   COMPANY（会社情報）
   ============================================================ */
.company-table-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
  text-align: left;
}
.company-table th {
  width: 160px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.company-table td {
  color: rgba(255,255,255,0.85);
}
.company-table tbody tr:last-child th,
.company-table tbody tr:last-child td {
  border-bottom: none;
}
.company-table tbody tr:hover th,
.company-table tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}
.company-ruby {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  display: block;
  margin-top: 3px;
}
.company-tel {
  color: var(--orange-light);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.company-tel:hover { color: var(--orange); }
.company-biz-group {
  margin-bottom: 18px;
}
.company-biz-group:last-child { margin-bottom: 0; }
.company-biz-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.company-biz-label i { font-size: 12px; }
.company-biz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 4px;
}
.company-biz-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding: 3px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.company-biz-list li::before {
  content: "–";
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.company-license {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-top: 2px;
  padding-left: 14px;
}

/* ============================================================
   CONTACT
   ============================================================ */
/* Google フォーム誘導型レイアウト */
.contact-gform {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* 会社情報行 */
.contact-info-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item i {
  width: 38px; height: 38px;
  background: rgba(244,132,95,0.15);
  color: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.contact-label { display: block; font-size: 10px; color: rgba(255,255,255,0.35); font-weight: 600; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item a { font-size: 14px; color: rgba(255,255,255,0.8); transition: color var(--transition); }
.contact-item a:hover { color: var(--orange-light); }

/* タグ群 */
.contact-services { width: 100%; text-align: center; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.s-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,0.55);
  padding: 7px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: all var(--transition);
}
.s-tag:hover { background: rgba(244,132,95,0.08); color: rgba(255,255,255,0.85); border-color: rgba(244,132,95,0.25); }
.s-tag i { color: var(--orange-light); font-size: 11px; }

/* CTAエリア */
.contact-gform-cta {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.contact-gform-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  box-shadow: 0 8px 24px rgba(244,132,95,0.35);
}
.contact-gform-text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}
.btn-contact-gform {
  font-size: 16px;
  padding: 16px 40px;
  border-radius: var(--radius-lg);
  gap: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { padding: 56px 24px 0; }
.footer-main { display: flex; gap: 72px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand { flex-shrink: 0; max-width: 220px; }

.footer-logo-img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 12px;
}

.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--grad-warm);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; flex: 1; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 42px; height: 42px;
  background: var(--grad-warm);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 14px rgba(244,132,95,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,132,95,0.5); }

/* ============================================================
   DECORATIVE DIVIDER
   ============================================================ */
.poly-divider {
  height: 5px;
  background: var(--grad-brand);
  width: 100%;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- 1024px: タブレット横 ---- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  /* About */
  .about-origin { width: 170px; padding: 24px 16px; }
  .about-flow-arrow { padding: 0 12px; font-size: 20px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Security */
  .partner-services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .course-features-grid  { grid-template-columns: 1fr 1fr; }

  /* App dev */
  .services-grid-3 { grid-template-columns: 1fr 1fr; }
  .app-overview-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-main { gap: 40px; }
  .footer-links { gap: 24px; }

  /* Hero stats */
  .stat { padding: 0 24px; }
}

/* ---- 900px: タブレット縦 ---- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .services-grid-3 { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  /* App dev */
  .app-overview-grid { grid-template-columns: 1fr 1fr; }
  .app-features-wrap { flex-direction: column; align-items: center; }
  .app-feature-highlight { width: 100%; max-width: 360px; }

  /* Talent - University */
  .university-card { flex-direction: column; gap: 24px; padding: 28px; }
  .university-emblem { width: 80px; height: 80px; font-size: 30px; border-radius: 16px; }
  .university-stats { flex-wrap: wrap; gap: 20px; }

  /* Flow */
  .flow-grid       { flex-direction: column; align-items: stretch; gap: 0; }
  .flow-item       { padding: 20px 24px; text-align: left; display: flex; align-items: center; gap: 20px; flex-direction: row; }
  .flow-step       { margin-bottom: 6px; align-self: auto; }
  .flow-icon       { flex-shrink: 0; margin: 0; width: 56px; height: 56px; font-size: 22px; border-radius: 14px; }
  .flow-item-text  { flex: 1; text-align: left; }
  .flow-item h4    { font-size: 15px; margin-bottom: 6px; }
  .flow-item p     { font-size: 13px; line-height: 1.75; }
  .flow-arrow      { transform: rotate(90deg); margin: 0 auto; padding: 2px 0; color: var(--border); }

  /* Company table */
  .company-table th { width: 100px; font-size: 11px; padding: 14px 12px; }
  .company-table td { font-size: 13px; padding: 14px 12px; }

  /* Contact */
  .contact-info-row { gap: 20px; }
  .contact-gform-cta { padding: 36px 28px; }

  /* Footer */
  .footer-main   { flex-direction: column; gap: 32px; }
  .footer-brand  { max-width: 100%; }
  .footer-links  { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 768px: スマートフォン横 ---- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section   { padding: 64px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title  { font-size: clamp(22px, 6vw, 32px); }
  .section-desc   { font-size: 14px; }

  /* ---- Header ---- */
  .header { padding: 14px 0; }
  .header.scrolled { padding: 10px 0; }
  .logo-img { height: 22px; }
  .hamburger { display: flex; }

  /* ---- Nav Close Button ---- */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
  }
  .nav-close:hover {
    background: rgba(244,132,95,0.2);
    color: #fff;
    border-color: rgba(244,132,95,0.4);
  }

  /* ---- Mobile Nav (ドロワー) ---- */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(280px, 85vw);
    height: 100vh;
    background: rgba(20, 18, 36, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 20px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-left: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
  }
  .nav.open { right: 0; box-shadow: -8px 0 40px rgba(0,0,0,0.4); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    color: rgba(255,255,255,0.75);
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
  }
  .nav-link:hover,
  .header.scrolled .nav-link:hover {
    color: #fff;
    background: rgba(244,132,95,0.15);
  }
  .nav-cta {
    margin-top: 12px;
    justify-content: center;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }

  /* ---- Hero ---- */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-badge { font-size: 11px; padding: 6px 14px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(24px, 7vw, 36px); margin-bottom: 16px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 28px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
  }
  .btn { justify-content: center; padding: 14px 24px; font-size: 14px; }

  /* Hero stats */
  .hero-stats {
    padding: 16px 12px;
    gap: 0;
    flex-wrap: nowrap;
    border-radius: var(--radius);
    margin: 0 0;
  }
  .stat { padding: 0 12px; }
  .stat-number { font-size: 22px; }
  .stat-number span { font-size: 13px; }
  .stat-label { font-size: 10px; }
  .stat-divider { height: 36px; }

  .hero-scroll { display: none; }

  /* ---- About ---- */
  .about-flow { flex-direction: column; gap: 20px; }
  .about-origin { width: 100%; flex-direction: row; text-align: left; gap: 16px; padding: 20px 24px; }
  .about-origin-icon { flex-shrink: 0; margin-bottom: 0; }
  .about-origin-desc { display: none; }
  .about-flow-arrow { transform: rotate(90deg); justify-content: center; padding: 0; font-size: 20px; }
  .about-solutions { gap: 12px; }
  .pc-only { display: none; }

  /* ---- Services ---- */
  .services-grid { max-width: 100%; }
  .services-grid-3 { max-width: 100%; }
  .service-card-inner { padding: 28px 24px; }
  .service-card h3 { font-size: 18px; }

  /* ---- App Dev ---- */
  .app-overview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app-features-wrap { flex-direction: column; align-items: stretch; }
  .app-feature-highlight { min-width: unset; padding: 20px 24px; }

  /* ---- Talent ---- */
  .university-card { padding: 22px; gap: 18px; }
  .university-info h4 { font-size: 20px; }

  .flow-item   { padding: 18px 20px; gap: 16px; }
  .flow-icon    { width: 52px; height: 52px; font-size: 20px; }
  .flow-item h4 { font-size: 15px; margin-bottom: 6px; }
  .flow-item p  { font-size: 13px; }

  /* ---- Security ---- */
  .partner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
  }
  .partner-content { padding: 20px; }
  .partner-services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-service-item  { padding: 14px 10px; }
  .partner-service-item i { font-size: 18px; }

  .course-card { padding: 24px 20px; }
  .course-badge-wrap { position: static; margin-bottom: 14px; }
  .course-features-grid { grid-template-columns: 1fr; gap: 10px; }

  /* ---- Why ---- */
  .why-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-card  { padding: 22px 16px; }
  .why-icon  { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
  .why-card h3 { font-size: 13px; }
  .why-card p  { font-size: 12px; }

  /* ---- Contact ---- */
  .contact-info-row { flex-direction: column; align-items: center; gap: 16px; }
  .contact-gform-cta { padding: 32px 20px; }
  .contact-gform-text { font-size: 14px; }
  .btn-contact-gform { width: 100%; justify-content: center; }

  /* ---- Footer ---- */
  .footer-inner { padding: 40px 16px 0; }
  .footer-main  { gap: 24px; padding-bottom: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 0; }
}

/* ---- 480px: スマートフォン縦（標準） ---- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section   { padding: 52px 0; }

  /* About */
  .about-lead-main { font-size: 16px; }
  .about-lead-sub  { font-size: 13px; }
  .about-origin { padding: 16px 18px; gap: 12px; }
  .about-origin-icon { width: 44px; height: 44px; font-size: 18px; }
  .about-origin-title { font-size: 13px; }
  .about-sol-card { padding: 16px 18px; gap: 14px; }
  .about-sol-icon { width: 42px; height: 42px; font-size: 17px; }
  .about-sol-body h4 { font-size: 14px; }
  .about-sol-body p  { font-size: 11px; }
  .about-onestop { padding: 16px 20px; gap: 10px; }
  .about-onestop span { font-size: 13px; }

  /* Hero */
  .hero { padding: 88px 0 48px; }
  .hero-title { font-size: clamp(22px, 8vw, 30px); }
  .hero-subtitle { font-size: 13px; }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .stat-number { font-size: 26px; }

  /* Services */
  .service-card-inner { padding: 22px 18px; }
  .service-number { font-size: 48px; }

  /* Talent */
  .university-card { padding: 18px; }
  .university-emblem { width: 64px; height: 64px; font-size: 24px; border-radius: 14px; }
  .university-info h4 { font-size: 18px; }
  .university-stats  { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .u-stat-num { font-size: 17px; }

  .flow-item   { gap: 14px; padding: 16px 18px; }
  .flow-icon    { width: 48px; height: 48px; font-size: 18px; }
  .flow-item h4 { font-size: 15px; }
  .flow-item p  { font-size: 13px; }

  /* Security */
  .partner-services-grid { grid-template-columns: 1fr; }
  .partner-service-item  { text-align: left; display: flex; align-items: flex-start; gap: 12px; }
  .partner-service-item i { font-size: 20px; flex-shrink: 0; margin-bottom: 0; margin-top: 2px; }

  /* App Dev */
  .app-overview-grid { grid-template-columns: 1fr; }
  .app-feature-highlight { padding: 16px 18px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom-links { flex-direction: column; gap: 6px; }
}

/* ---- 360px: 最小スマートフォン ---- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 20px; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .service-card-inner { padding: 18px 14px; }
  .contact-info, .contact-form { padding: 16px; }
  .section-title { font-size: 20px; }
}
