/* ==========================================
   RESET & BASE
   ========================================== */

:root {
  --font-main: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-heading: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
  /* 日本語が単語の途中で改行されないようにする（例：「できるこ / と」を防止） */
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* ブランド感を出す大見出し（Hero/H1、各セクションの大見出し/H2）のみ明朝体。本文寄りのH3以下はゴシックのまま。 */
h1, h2 {
  font-family: var(--font-heading);
}

h1 { font-weight: 800; line-height: 1.4; letter-spacing: 0.03em; }
h2 { font-weight: 800; line-height: 1.4; letter-spacing: 0.02em; }
h3 { font-weight: 700; line-height: 1.45; letter-spacing: 0.02em; }

p {
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--text-body);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol { list-style: none; }

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  /* Brand palette */
  --white:        #ffffff;
  --bg:           #f8fafe;
  --bg-blue:      #f0f5ff;
  --border:       rgba(37, 99, 235, 0.1);
  --border-light: rgba(37, 99, 235, 0.06);

  --navy:         #0f1f3d;
  --navy-mid:     #1e3a6e;
  --blue:         #2563eb;
  --blue-hover:   #1d4ed8;
  --blue-pale:    #dbeafe;
  --blue-bg:      #eff6ff;
  --purple:       #7c3aed;
  --purple-pale:  #f5f3ff;

  /* Accent gradient (logo color) */
  --accent-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

  --text-body:  #4a5568;
  --text:       #2d3748;
  --text-light: #647184;
  --text-muted: #a0aec0;

  /* Shadows — refined, not heavy */
  --shadow-xs: 0 1px 4px rgba(15,31,61,0.04);
  --shadow-sm: 0 2px 12px rgba(15,31,61,0.06);
  --shadow-md: 0 8px 32px rgba(15,31,61,0.08);
  --shadow-lg: 0 16px 48px rgba(15,31,61,0.1);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Ease */
  --ease: 0.22s ease;
  --max-w: 1140px;
}

/* ==========================================
   UTILITY
   ========================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 960px) { .container { padding: 0 32px; } }
@media (max-width: 600px) { .container { padding: 0 20px; } }

.pc-only { display: block; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title.left { text-align: left; }

.section-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
}
.section-desc.left { text-align: left; }

/* Sections */
.section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}
.section.bg-light { background: var(--bg); }

/* アンカー遷移時に見出しがヘッダーに隠れないように余裕を持たせる（id付きセクション全体） */
section[id] {
  scroll-margin-top: 120px;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 32px;
  height: 52px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-bg);
}

.btn-lg { height: 58px; padding: 0 40px; font-size: 0.95rem; }

/* Text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), gap var(--ease);
}
.text-link:hover { border-color: var(--blue); gap: 10px; }
.text-link--primary {
  font-size: 0.98rem;
  color: var(--white);
  background: var(--blue);
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
}
.text-link--primary:hover { border-color: transparent; background: var(--blue-hover); }
.text-link--primary span { transition: transform var(--ease); }
.text-link--primary:hover span { transform: translateX(2px); }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  height: 68px;
}
@media (max-width: 960px) { .header-inner { padding: 0 20px; } }

/* Left group: logo + nav */
.header-left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav { flex-shrink: 0; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-link {
  padding: 7px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: var(--blue-bg);
}

/* Right group: CTA buttons — pushed to the right with margin-left: auto */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-cta {
  flex-shrink: 0;
  height: 40px;
  padding: 0 18px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Corp outline variant — white bg, navy border */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(15, 31, 61, 0.28);
}
.btn-outline-navy:hover {
  background: var(--bg);
  border-color: var(--navy-mid);
}

/* Short label hidden on PC, shown on tablet range */
.cta-corp-short { display: none; }
.cta-corp-full  { display: inline; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .header-ctas { display: none; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    pointer-events: none;
    z-index: 998;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 0;
  }
  .nav-link {
    display: block;
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: var(--r-sm);
  }

  /* Mobile CTA buttons inside nav drawer */
  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px 28px;
    border-top: 1px solid var(--border-light);
    margin-top: 12px;
  }
  .nav-mobile-cta {
    width: 100%;
    height: 52px;
    font-size: 0.95rem;
    border-radius: var(--r-md);
    justify-content: center;
  }
}

/* PC: hide mobile CTAs (they live inside nav on SP) */
@media (min-width: 961px) {
  .nav-mobile-ctas { display: none; }

  /* Tablet range: show short label for corp CTA */
}
@media (max-width: 1100px) and (min-width: 961px) {
  .cta-corp-full  { display: none; }
  .cta-corp-short { display: inline; }
}

/* ==========================================
   HERO — image only, no HTML text overlay
   ========================================== */
.hero {
  margin-top: 68px;
  overflow: hidden;
}

.hero-img-desktop {
  display: block;
  width: 100%;
  min-height: 620px;
  max-height: 780px;
  object-fit: cover;
  object-position: center top;
}

.hero-img-mobile { display: none; }

@media (max-width: 768px) {
  .hero-img-desktop { display: none; }
  .hero-img-mobile {
    display: block;
    width: 100%;
    min-height: 500px;
    max-height: calc(100svh - 68px);
    object-fit: cover;
    object-position: top center;
  }
  @supports not (height: 1svh) {
    .hero-img-mobile {
      max-height: calc(100vh - 68px);
    }
  }
}

/* ==========================================
   CAREER STORY
   ========================================== */
.career-story-section {
  padding: 100px 0;
  background: var(--bg);
}

.career-story-header {
  text-align: center;
  margin-bottom: 64px;
}
.career-story-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.career-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 960px) {
  .career-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .career-story-grid { grid-template-columns: 1fr; gap: 20px; }
}

.story-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease);
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.story-body {
  padding: 28px 24px 32px;
}

.story-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 10px;
}

.story-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.story-quote {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  border-left: 2px solid var(--blue-pale);
  padding-left: 12px;
  margin-bottom: 20px;
}

.story-before-after {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-ba-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.story-ba-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--text-muted);
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.story-ba-label.after {
  background: var(--blue);
}
.story-ba-text {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================
   SERVICE — alternating layout
   ========================================== */
.service-section {
  padding: 100px 0;
  background: var(--white);
}

.service-section-header {
  text-align: center;
  margin-bottom: 80px;
}
.service-lead-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
}

/* Service row */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
@media (max-width: 768px) { .service-rows { gap: 64px; } }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .service-row, .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
}

.service-row-img img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.service-row-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-row-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

/* 日本語のサービスタイトル（英語ラベルの代わり・カテゴリを示すラベルとして視認しやすいサイズに） */
.service-row-jp-title,
.svc-jp-title {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.03em;
}

/* 大見出し：セクション内で最も強い見せ方（提供価値を一目で） */
.service-row-title {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
}

/* Featured service title slightly bigger */
.service-row.featured .service-row-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

/* 日本語キーワードタグ（上品・控えめ） */
.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
}
.service-row-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--blue-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
}

/* 説明文：補足として少し控えめなサイズに */
.service-row-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-light);
}
.service-row-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

/* ==========================================
   SUBPAGE HERO (About Us etc.)
   ========================================== */
.subpage-hero {
  position: relative;
  margin-top: 68px;
  overflow: hidden;
}

.subpage-hero-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
}
@media (max-width: 768px) { .subpage-hero-img-wrap { height: 240px; } }

.subpage-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,31,61,0.72) 0%,
    rgba(15,31,61,0.38) 55%,
    rgba(15,31,61,0.10) 100%
  );
}

.subpage-hero-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .subpage-hero-text { padding: 0 24px; }
}

.subpage-hero-text-inner {
  max-width: 560px;
}

.subpage-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.subpage-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
}

/* for pages without image text overlay (full-width centered) */
.subpage-hero-stacked {
  margin-top: 68px;
  padding: 80px 0;
  background: var(--bg);
  text-align: center;
}
.subpage-hero-stacked .section-badge { margin-bottom: 20px; }
.subpage-hero-stacked h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.subpage-hero-stacked p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.85;
}
@media (max-width: 768px) { .subpage-hero-stacked { padding: 60px 0; } }

/* ==========================================
   ABOUT US PAGE
   ========================================== */

/* Reasons */
.reasons-section { padding: 96px 0; }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reason-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.reason-icon svg { width: 22px; height: 22px; color: var(--blue); }
.reason-title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.reason-desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.75; }

/* Company table */
.company-table-section { padding: 96px 0; background: var(--bg); }
.company-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 840px;
  margin: 48px auto 0;
}
.company-table { width: 100%; }
.company-table-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border-light);
}
.company-table-row:last-child { border-bottom: none; }
.company-table-row dt {
  padding: 20px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  border-right: 1px solid var(--border-light);
}
.company-table-row dd {
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
@media (max-width: 600px) {
  .company-table-row { grid-template-columns: 1fr; }
  .company-table-row dt {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 14px 20px 10px;
  }
  .company-table-row dd { padding: 10px 20px 16px; }
}

/* 所在地（本社・支社をまとめて表示） */
.address-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.address-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.address-item p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.company-business-list { display: flex; flex-direction: column; gap: 4px; padding: 0; }
.company-business-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 0;
}

/* ==========================================
   CONTACT CTA (used across pages)
   ========================================== */
.contact-cta-section {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
}
.contact-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-cta-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
}
.contact-cta-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
}
.contact-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.contact-cta-section .btn-primary {
  background: var(--white);
  color: var(--navy);
}
.contact-cta-section .btn-primary:hover {
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}
.contact-cta-section .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.contact-cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 0 32px; } }
@media (max-width: 600px) { .footer-main { padding: 0 20px; } }

/* Left col */
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-img { height: 26px; width: auto; object-fit: contain; }
.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.footer-brand-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.footer-brand-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-brand-link:hover { color: var(--blue); }

/* Right col */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-phrase {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  opacity: 0.85;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 860px) { .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-nav-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

.footer-nav-col { display: flex; flex-direction: column; gap: 0; }
.footer-nav-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-nav-col a {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--ease);
  line-height: 1.5;
}
.footer-nav-col a:hover { color: var(--blue); }

/* Footer bottom */
.footer-bottom {
  margin-top: 48px;
  padding: 20px 48px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-blue);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .footer-bottom { padding: 16px 20px; }
  .footer-bottom-inner { justify-content: center; }
}
.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================
   FADE-IN ANIMATION
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   SUBPAGE COMMON SECTIONS
   ========================================== */

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col, .two-col.reverse {
    grid-template-columns: minmax(0, 1fr);
    direction: ltr;
    gap: 28px;
  }
}
.two-col-image img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.two-col-content { display: flex; flex-direction: column; gap: 20px; }

/* Output tags（つくれる成果物などのタグ表示） */
.output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.output-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--blue-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
}

/* 成果物タグのグリッド表示（ai-program.html 作れる成果物専用） */
.aip-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.aip-output-grid .output-tag {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
}
@media (max-width: 768px) {
  .aip-output-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .aip-output-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.check-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
}

/* Card icon */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--blue); }

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card-text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ==========================================
   PAGE HERO SIMPLE (image only, used on legacy subpages)
   注記：以前 .page-hero / .page-hero-img という名前でしたが、
   下方にある新しい共通ヒーロー（.page-hero + .page-hero__bg）と
   クラス名が衝突し、暗いオーバーレイが誤って重なる表示崩れの原因に
   なっていたため、.page-hero-simple に改名して分離しました。
   ========================================== */
.page-hero-simple {
  margin-top: 68px;
  overflow: hidden;
}
.page-hero-simple-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 768px) { .page-hero-simple-img { height: 200px; } }

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .contact-type-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-type-grid { grid-template-columns: 1fr; } }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 600px) { .contact-form-card { padding: 28px 20px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-required {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e53e3e;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 4px;
  padding: 2px 6px;
}
.form-optional {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
}
.form-control {
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-main);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-select { cursor: pointer; }
.form-textarea {
  height: 140px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.7;
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Flow steps */
.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .flow-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .flow-steps-grid { grid-template-columns: 1fr; } }

.flow-step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-pale);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.flow-step-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.flow-step-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

/* ==========================================
   INDIVIDUAL SERVICE PAGES
   ========================================== */
.service-page-section { padding: 80px 0; }
.service-page-section.bg-light { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 480px) { .target-grid { grid-template-columns: minmax(0, 1fr); } }

.target-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.target-item p { min-width: 0; }
.target-check {
  width: 22px;
  height: 22px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.target-check svg { width: 12px; height: 12px; color: var(--blue); }


/* am-cta card (light version) */
.am-cta-section { padding: 96px 0; background: var(--bg-blue); }
.am-cta-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.am-cta-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}
.am-cta-desc { font-size: 0.97rem; color: var(--text-light); line-height: 1.85; max-width: 100%; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* training-steps & prod-flow (used in service subpages) */
.prod-flow-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.prod-flow-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-pale);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.prod-flow-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.prod-flow-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

.training-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 768px) { .training-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.training-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  margin-top: 48px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) { .training-lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .training-lineup-grid { grid-template-columns: minmax(0, 1fr); } }

.training-lineup-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.training-lineup-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.training-lineup-card--last {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: linear-gradient(160deg, var(--bg-blue) 0%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
}
.training-lineup-card--last .training-lineup-num {
  font-size: 2.1rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .training-lineup-card--last { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 8px; }
}
.prod-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) { .prod-features-grid { grid-template-columns: 1fr; } }
.prod-feature-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; width: 100%; box-sizing: border-box; overflow: visible; }

/* Section header (reusable) */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .learn-grid { grid-template-columns: minmax(0, 1fr); } }
.learn-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* Footer legacy */
.footer-logo { display: flex; align-items: center; }



/* ==========================================
   PAGE HERO — 4ページ統一ヘッダービジュアル
   ========================================== */

.page-hero {
  position: relative;
  margin-top: 68px;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-hero { height: 240px; }
}

/* 背景画像 */
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ネイビー〜ブルーグレー オーバーレイ（薄め） */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 50, 0.62) 0%,
    rgba(15, 35, 75, 0.44) 50%,
    rgba(20, 40, 90, 0.22) 100%
  );
}

/* テキストコンテナ */
.page-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-left: calc(max(44px, (100% - 1140px) / 2 + 48px));
}

@media (max-width: 960px) {
  .page-hero__inner { padding-left: 40px; }
}
@media (max-width: 600px) {
  .page-hero__inner { padding-left: 24px; }
}

/* 見出しタイポグラフィ（Hero大見出し＝H1。サイト共通の明朝体を継承） */
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 16px rgba(5, 15, 40, 0.35);
}

/* ページ別画像指定 */
.page-hero--about .page-hero__bg   { object-position: center 35%; }
.page-hero--service .page-hero__bg { object-position: center 40%; }
.page-hero--case-study .page-hero__bg { object-position: center 40%; }
.page-hero--contact .page-hero__bg { object-position: center 40%; }


/* ==========================================
   CASE STUDIES — Career Stories
   ========================================== */
.cs-career-stories-section {
  background: var(--bg);
  padding: 96px 0;
}
.cs-stories-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
@media (max-width: 600px) {
  .cs-career-stories-section { padding: 64px 0; }
}

/* ==========================================
   SERVICE PAGE — svc layout
   ========================================== */
.svc-section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}
.svc-featured {
  padding: 112px 0;
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.svc-row--reverse {
  direction: rtl;
}
.svc-row--reverse > * {
  direction: ltr;
}
.svc-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.svc-featured .svc-img-wrap {
  aspect-ratio: 3 / 2;
}
.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* 大見出し：セクション内で最も強い見せ方（提供価値を一目で） */
.svc-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 18px 0 20px;
}
.svc-featured .svc-title {
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
}
/* 説明文：補足として少し控えめなサイズに */
.svc-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 28px;
}
.svc-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 860px) {
  .svc-section { padding: 72px 0; }
  .svc-featured { padding: 80px 0; }
  .svc-row {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }
  .svc-row--reverse {
    direction: ltr;
  }
  .svc-img-wrap {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 600px) {
  .svc-section { padding: 56px 0; }
  .svc-featured { padding: 64px 0; }
  .svc-title { margin: 12px 0 16px; }
  .svc-img-wrap { border-radius: var(--r-md); }
}

/* ==========================================
   CONTACT — 選択カード
   ========================================== */
.ct-select-section {
  background: var(--bg);
  padding: 72px 0 64px;
}
.ct-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ct-select-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px 40px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  font-family: var(--font-main);
  width: 100%;
}
.ct-select-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ct-select-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), var(--shadow-md);
}
.ct-select-card--company.is-active {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(15, 31, 61, 0.1), var(--shadow-md);
}
.ct-select-title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}
.ct-select-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
}
.ct-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  padding: 10px 22px;
  margin-top: 6px;
  transition: background var(--ease);
  width: fit-content;
}
.ct-select-card:hover .ct-select-btn {
  background: var(--blue-hover);
}
.ct-select-btn--corp {
  background: var(--navy-mid);
  color: var(--white);
}
.ct-select-card--company:hover .ct-select-btn--corp {
  background: var(--navy);
}
@media (max-width: 680px) {
  .ct-select-grid { grid-template-columns: 1fr; }
  .ct-select-card { padding: 32px 24px 28px; }
}

/* ==========================================
   CONTACT — フォームエリア
   ========================================== */
.ct-form-section { background: var(--white); }

.ct-form-panel {
  display: none;
  max-width: 720px;
  margin: 0 auto;
}
.ct-form-panel.is-visible { display: block; }

.ct-form-placeholder {
  text-align: center;
  padding: 48px 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.ct-form-placeholder.is-hidden { display: none; }

.ct-form-header {
  margin-bottom: 40px;
}
.ct-form-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 14px;
}
.ct-form-lead {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 送信エラー表示（.form-requiredと同じ配色で統一） */
.ct-form-alert {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #e53e3e;
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ハニーポット（迷惑投稿対策用のダミー項目。画面には表示しない） */
.ct-form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form fields */
.ct-form { display: flex; flex-direction: column; gap: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-required {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.04em;
}
.form-optional {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
}
.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--r-sm);
  font-family: var(--font-main);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-control::placeholder { color: var(--text-muted); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea {
  height: 160px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.75;
}

/* Privacy */
.form-privacy { gap: 6px; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(37, 99, 235, 0.3);
  border-radius: 4px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-checkbox-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}
.form-privacy-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy-link:hover { color: var(--blue-hover); }
.form-privacy-error {
  font-size: 0.8rem;
  color: #e53e3e;
  min-height: 1.2em;
}

/* Submit */
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 8px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .ct-form-section { padding: 56px 0 72px; }
  .form-submit { align-items: stretch; }
  .form-submit .btn { width: 100%; justify-content: center; }
}

/* ==========================================
   TOP — 実績バナー フル幅（ヒーロー直下）
   ========================================== */
.top-achievement-banner-full {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.top-achievement-banner-full__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ==========================================
   CAREER STORIES — 追加スタイル
   ========================================== */
.story-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 8px 0 12px;
}

.career-story-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Case Studiesへの導線ブロック */
.career-story-to-cs {
  margin-top: 64px;
  text-align: center;
  padding: 56px 40px;
  background: var(--bg);
  border-radius: var(--r-lg);
}
@media (max-width: 600px) {
  .career-story-to-cs { padding: 40px 24px; }
}
.career-story-to-cs--button-only {
  padding: 0;
  background: none;
  border-radius: 0;
  margin-top: 40px;
}

/* ==========================================
   SERVICE ROWS — CTAリンク右寄せ（左画像行のみ）
   ========================================== */
.service-row-links--right,
.svc-links--right {
  align-items: flex-end;
}
@media (max-width: 768px) {
  .service-row-links--right,
  .svc-links--right {
    align-items: flex-start;
  }
}
/* services.html 用ベーススタイル */
.svc-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

/* ==========================================
   CASE STUDIES — データ駆動カード
   ========================================== */
.cs-section { scroll-margin-top: 88px; }

.cs-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* セクション注記 */
.cs-section-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ==========================================
   ABOUT US — 新レイアウト
   ========================================== */

/* ---- 2. Technovargeとは ---- */
.aw-intro__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: start;
}
.aw-intro__content {
  max-width: 760px;
}
.aw-intro__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}
.aw-intro__body p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.aw-intro__keywords {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(37,99,235,0.18);
  padding-left: 28px;
  margin-top: 12px;
}
.aw-intro__kw {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8fa8c8;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.aw-intro__kw:last-child { border-bottom: none; }

/* ---- 3. VALUE BEFORE AI. ---- */
.aw-vba { background: var(--bg-blue); }
.aw-vba__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.aw-vba__bigtext {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.aw-vba__sub {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(37,99,235,0.15);
}
.aw-vba__heading {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
}
.aw-vba__body p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* ---- 4. AVERAGE 30 HOURS ---- */
.aw-30h__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.aw-30h__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.aw-30h__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 0;
}
.aw-30h__number {
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin: 4px 0 2px;
}
.aw-30h__unit {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--navy);
}
.aw-30h__heading {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
}
.aw-30h__body p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.aw-30h__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.6;
}

/* ---- 5. AI LEARNING FOR CAREER ---- */
.aw-ai { background: var(--bg); }
.aw-ai__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: start;
}
.aw-ai__heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 16px 0 28px;
}
.aw-ai__body p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.aw-ai__keywords {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}
.aw-ai__kw {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  opacity: 0.1;
  line-height: 1.2;
}
.aw-ai__sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ---- 6. Company Profile ---- */
.aw-profile__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.aw-profile__heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 14px;
}

/* ---- セクション間の区切り（強い枠線ではなく細い線で自然に） ---- */
.aw-vba,
.aw-30h,
.aw-ai,
.company-table-section {
  border-top: 1px solid var(--border-light);
}

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .aw-intro__grid,
  .aw-vba__grid,
  .aw-ai__grid,
  .aw-profile__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .aw-30h__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .aw-30h__number { font-size: clamp(5rem, 22vw, 7rem); }
  .aw-30h__left { flex-direction: row; align-items: baseline; gap: 12px; }
  .aw-30h__label,
  .aw-30h__unit { font-size: 0.78rem; }
  .aw-intro__keywords { margin-top: 0; }
  .aw-ai__keywords { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .aw-ai__kw { font-size: 1.6rem; }
  .aw-profile__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .aw-vba__bigtext { font-size: clamp(2.8rem, 14vw, 4rem); }
}

/* ==========================================
   ABOUT US — シンプル紹介
   ========================================== */
.about-simple {
  max-width: 680px;
}
.about-simple__heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin: 16px 0 24px;
}
.about-simple__body p {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 12px;
}

/* ==========================================
   CAREER CAROUSEL
   ========================================== */
.cs-cr-wrap {
  overflow: hidden;
  position: relative;
}

/* PC: grid（display:none/blockでページ切り替え） */
.cs-cr-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  transition: none;
}

/* グリッド・フレックスアイテムは min-width:0 がないと
   中の日本語テキストの min-content 幅に引っ張られてカードが
   コンテナ幅からはみ出す（3枚目が見切れる）ため、明示的に指定する */
.cs-cr-item {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile: flex + translateX */
.cs-cr-track.is-mobile {
  display: flex;
  gap: 12px;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

@media (max-width: 767px) {
  .cs-cr-item {
    flex: 0 0 87%;
    min-width: 0;
  }
}

/* カード本体 */
.cs-cr-card {
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow var(--ease), transform var(--ease);
}
.cs-cr-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cs-cr-card__meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.cs-cr-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
.cs-cr-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin: 0;
}
.cs-cr-card__desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}
.cs-cr-card__ba {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.cs-cr-card__ba-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cs-cr-card__ba-label {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-light);
  margin-top: 2px;
}
.cs-cr-card__ba-label--after {
  background: var(--blue);
  color: var(--white);
}
.cs-cr-card__ba-text {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.6;
}
.cs-cr-card__quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--navy-mid);
  line-height: 1.6;
  margin: 0;
}
.cs-cr-card__detail {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease), color var(--ease);
}
.cs-cr-card__detail:hover { gap: 8px; }

/* コントロール */
.cs-cr-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.cs-cr-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,0.2);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), background var(--ease);
  color: var(--navy);
  flex-shrink: 0;
}
.cs-cr-arrow svg { width: 18px; height: 18px; }
.cs-cr-arrow:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--blue-bg);
  color: var(--blue);
}
.cs-cr-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cs-cr-pager {
  display: flex;
  gap: 8px;
}
.cs-cr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(37,99,235,0.2);
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), transform var(--ease);
}
.cs-cr-dot.is-active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ==========================================
   CAREER MODAL
   ========================================== */
#cs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#cs-modal-overlay.is-open {
  display: flex;
}

#cs-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 52px 56px 48px;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 600px) {
  #cs-modal-panel { padding: 48px 24px 40px; border-radius: var(--r-md); }
}

#cs-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color var(--ease), background var(--ease);
}
#cs-modal-close svg { width: 16px; height: 16px; }
#cs-modal-close:hover { border-color: var(--navy); background: var(--bg); }

/* モーダル本文 */
.cs-modal-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cs-modal-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}
.cs-modal-hero-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--navy-mid);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

/* Before/After */
.cs-modal-ba {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.cs-modal-ba-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cs-modal-ba-label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--white);
  color: var(--text-light);
  margin-top: 2px;
  border: 1px solid var(--border-light);
}
.cs-modal-ba-label--after {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.cs-modal-ba-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
}

/* 詳細セクション */
.cs-modal-section {
  margin-bottom: 20px;
}
.cs-modal-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.cs-modal-section p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* モーダル内CTA */
.cs-modal-cta {
  margin-top: 36px;
  padding: 36px 40px;
  background: var(--bg-blue);
  border-radius: var(--r-md);
  text-align: center;
}
.cs-modal-cta-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--navy);
  margin: 14px 0 12px;
  line-height: 1.5;
}
.cs-modal-cta-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .cs-modal-cta { padding: 28px 20px; }
  .cs-modal-cta .btn { width: 100%; }
}

/* Career carousel: image and pager count */
.cs-cr-card__img-wrap { margin: -28px -28px 20px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.cs-cr-card__img { display: block; width: 100%; height: 200px; object-fit: cover; }
.cs-cr-pager-count { font-size: 0.9rem; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; }

/* ============================================================
   Case Studies: タブナビゲーション
   ============================================================ */
.cs-tabs-nav {
  background: var(--bg);
  border-bottom: 1px solid rgba(37,99,235,0.1);
  position: sticky;
  top: 68px;
  z-index: 100;
}
.cs-tabs-list {
  display: flex;
  gap: 0;
}
.cs-tab-btn {
  flex: none;
  padding: 18px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cs-tab-btn:hover { color: var(--navy); }
.cs-tab-btn.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* タブパネル */
.cs-tab-panel { display: none; }
.cs-tab-panel.is-active { display: block; }

/* ============================================================
   Case Studies: AI研修カードグリッド
   ============================================================ */
.cs-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

/* ============================================================
   AI研修カード
   ============================================================ */
/* 成果バッジ */
.cs-ai-badge {
  padding: 20px 24px 16px;
  background: var(--bg-blue);
  border-bottom: 1px solid rgba(37,99,235,0.1);
}
.cs-ai-badge__months {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cs-ai-badge__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cs-ai-badge__achievement-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: white;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(37,99,235,0.18);
}
.cs-ai-badge__amount {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cs-ai-badge__supplement {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ============================================================
   モーダル内: AI研修バッジ / 金額 / 累計
   ============================================================ */
.cs-modal-ai-badge {
  background: var(--bg-blue);
  border-radius: 12px;
  padding: 20px 28px;
  margin: 20px 0 28px;
}
.cs-modal-ai-badge__months {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cs-modal-ai-badge__main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.cs-modal-ai-badge__achievement-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: white;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(37,99,235,0.2);
}
.cs-modal-ai-badge__amount {
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cs-modal-section--amount .cs-modal-section-title { margin-bottom: 6px; }
.cs-modal-section--amount .cs-modal-amount {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cs-modal-ai-extra {
  background: var(--bg-blue);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
}
.cs-modal-ai-extra__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.cs-modal-ai-extra__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.cs-modal-ai-extra__note {
  font-size: 0.68rem;
  color: var(--text-muted, #9ca3af);
  margin-top: 6px;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .cs-ai-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cs-ai-grid { grid-template-columns: 1fr; }
  .cs-tab-btn { padding: 14px 20px; font-size: 0.88rem; }
  .cs-ai-badge__amount { font-size: 1.8rem; }
}

/* AI研修セクション背景 */
.cs-section--ai-training { background: var(--bg-blue); }

/* カルーセルカード内のAI成果バッジ（cs-cr-card内に配置） */
.cs-cr-card .cs-ai-badge {
  margin: 12px 0 14px;
  padding: 14px 16px 12px;
  border-radius: 8px;
}
.cs-cr-card .cs-ai-badge__months { font-size: 0.68rem; }
.cs-cr-card .cs-ai-badge__amount { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }

/* AI研修相談バナー（contact.html） */
.ct-form-interest-notice {
  background: var(--bg-blue);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================
   AI PROGRAM LP（ai-program.html）
   ========================================== */

/* 見出しの字間・太さ調整（フォント自体はh2共通の明朝体を継承） */
.aip-section-title {
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* スクリーンリーダー専用（視覚的には非表示、SEO/アクセシビリティ用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero — ヘッダー直下からいきなり画像で始まる構成 */
.aip-hero {
  margin-top: 68px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-blue) 100%);
}
.aip-hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-bottom: 72px;
}
@media (max-width: 600px) {
  .aip-hero-btns { padding-bottom: 56px; }
}

/* 画像セクションの大見出し（成果物／受講後の変化）— PCでは必ず1行に収める */
.aip-visual-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
}
@media (min-width: 769px) {
  .aip-visual-heading { white-space: nowrap; }
}

/* 通常学習 vs AI実践学習：比較セクション */
@media (max-width: 480px) {
  #compare .section-title { font-size: 1.55rem; }
}
.aip-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .aip-compare-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.aip-compare-col {
  border-radius: var(--r-lg);
  padding: 36px 32px;
  min-width: 0;
}
.aip-compare-col--normal {
  background: #f5f6f8;
  border: 1px solid var(--border-light);
}
.aip-compare-col--ai {
  position: relative;
  background: linear-gradient(160deg, var(--bg-blue) 0%, #ffffff 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-md);
}

.aip-compare-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.aip-compare-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.aip-compare-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aip-compare-row {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}
.aip-compare-row:first-child {
  padding-top: 0;
  border-top: none;
}
.aip-compare-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.aip-compare-row dd {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.aip-compare-row dd.aip-compare-figure {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.aip-compare-col--ai .aip-compare-row dd.aip-compare-figure { color: var(--blue); }

/* 補足カード：成果物になると、提案できる幅が変わる */
.aip-value-note {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.aip-value-note-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
}
.aip-value-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .aip-value-note-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
.aip-value-note-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.aip-value-note-item-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* 3カラムカードグリッド（できるようになること／受講後の変化） */
.aip-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .aip-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .aip-grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* 4カラムカードグリッド（価値・成長セクションの4つの価値） */
.aip-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .aip-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aip-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* 変化を示す一言（できるようになることカード用） */
.aip-change-line {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.6;
}

/* 受講後の変化：注釈 */
.aip-case-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ショーケース画像（成果物セクション／受講後の変化イメージセクション共通）
   このセクションの画像だけ、.container の幅制限・左右paddingを解除して
   画面幅いっぱいに表示するフルブリード表示。他の要素・他セクションには影響しない。 */
.aip-showcase-image {
  display: block;
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin-top: 0;
  margin-bottom: 48px;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  animation: aip-float 6s ease-in-out infinite;
}
@keyframes aip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* FAQ */
.aip-faq {
  max-width: 800px;
  margin: 0 auto;
}
.aip-faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.aip-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 48px 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.aip-faq-item summary::-webkit-details-marker { display: none; }
.aip-faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--ease);
}
.aip-faq-item[open] summary::after { transform: rotate(45deg); }
.aip-faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* カードの軽いhover（このページ限定） */
.aip-card {
  transition: transform var(--ease), box-shadow var(--ease);
}
.aip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* フォーカス状態 */
.aip-faq-item summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

/* prefers-reduced-motion への配慮（サイト全体のフェードインに適用） */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .aip-card:hover,
  .btn:hover {
    transform: none;
  }
  .aip-showcase-image {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   PRIVACY POLICY — シンプルヘッダー（画像なし）
   ========================================== */
.pp-hero {
  margin-top: 68px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 0 48px;
}
.pp-hero-inner {
  max-width: 760px;
}
.pp-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.3;
}
.pp-hero-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 600px) {
  .pp-hero { padding: 48px 0 36px; }
}

/* ==========================================
   PRIVACY POLICY 本文
   ========================================== */
.pp-body {
  max-width: 960px;
  margin: 0 auto;
}
.pp-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.pp-section:first-of-type {
  margin-top: 32px;
}
.pp-h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pp-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}
.pp-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 16px;
  padding-left: 0;
  list-style: none;
}
.pp-list li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
  padding-left: 18px;
  position: relative;
}
.pp-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.pp-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}
@media (max-width: 600px) {
  .pp-section { padding-top: 24px; margin-top: 32px; }
}

/* ==========================================
   WEB PRODUCTION（web-production.html）
   このページ専用。クラス名はすべて web-production- で開始し、
   共通クラス（.card / .btn / .check-list / .section 等）は
   上書きせず、そのまま再利用しています。
   大見出し（h2）は.web-production-serif適用箇所も含め共通の明朝体、
   本文・ナビゲーション・ボタンはサイト共通のゴシック体のままです。
   ========================================== */

/* 見出しの字間・太さ調整（フォント自体はh2共通の明朝体を継承） */
.web-production-serif {
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* 1. Hero — 画像のみ・角丸なし・共通コンテナの外で画面幅いっぱいに表示 */
.web-production-hero {
  width: 100%;
  margin: 68px 0 48px;
  padding: 0;
  overflow: hidden;
}
.web-production-hero-picture {
  display: block;
  width: 100%;
}
.web-production-hero-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}

/* 2. 導入セクション */
.web-production-intro { padding: 0 0 72px; }
.web-production-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.web-production-intro-heading {
  max-width: 680px;
  margin: 0 auto 28px;
}
@media (max-width: 420px) {
  .web-production-intro-heading { font-size: 1.5rem; }
}
/* 「機会を逃していませんか。」の任意改行：1280px未満のみ表示し、1280px以上では見出し2行目を1行でつなげる */
.web-production-lg-break { display: block; }
@media (min-width: 1280px) {
  .web-production-lg-break { display: none; }
  .web-production-intro-inner { max-width: 940px; }
  .web-production-intro-heading { max-width: 920px; letter-spacing: 0.015em; }
}
.web-production-intro-body {
  max-width: 540px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .web-production-intro-body { max-width: 700px; }
}
.web-production-intro-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 22px;
}
.web-production-intro-text:last-child { margin-bottom: 0; }

/* 3. こんな状態になっていませんか？ */
.web-production-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .web-production-issue-grid { grid-template-columns: minmax(0, 1fr); }
}
.web-production-issue-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#pain-points .section-desc + .section-desc { margin-top: 12px; }
.web-production-issue-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 10px;
}
.web-production-issue-desc {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 4. Before / After */
.web-production-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .web-production-ba-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.web-production-ba-label-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.web-production-ba-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--navy-mid);
  border-radius: 4px;
  padding: 4px 12px;
}
.web-production-ba-label--after { background: var(--blue); }
.web-production-ba-label-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.web-production-ba-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.web-production-ba-caption {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* 汎用グリッド（3カラム／4カラム） */
.web-production-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .web-production-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .web-production-grid-3 { grid-template-columns: minmax(0, 1fr); } }

.web-production-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .web-production-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .web-production-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* プレースホルダー（画像未準備の間のダミー枠。実画像に差し替え次第このdivごと<img>に置き換える） */
.web-production-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    135deg,
    var(--bg) 0px, var(--bg) 12px,
    var(--bg-blue) 12px, var(--bg-blue) 24px
  );
  border: 1px dashed var(--border);
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.web-production-placeholder--wide { aspect-ratio: 16 / 9; }
.web-production-placeholder__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy-mid);
  background: var(--white);
  border-radius: 4px;
  padding: 6px 16px;
}

/* 5. 制作サンプル */
.web-production-sample-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.web-production-sample-card .web-production-placeholder { border-radius: 0; border-width: 0 0 1px; }
.web-production-sample-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.web-production-sample-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.web-production-sample-card:hover .web-production-sample-thumb img { transform: scale(1.03); }
.web-production-sample-body { padding: 26px 24px; }
.web-production-sample-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.web-production-sample-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}
.web-production-sample-highlight {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}
.web-production-sample-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.web-production-sample-cta { margin-top: 18px; }
.web-production-sample-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg);
  border-radius: 4px;
  padding: 4px 10px;
}
.web-production-sample-card.fade-in { transform: scale(0.97) translateY(16px); }
.web-production-sample-card.fade-in.visible { transform: scale(1) translateY(0); }

/* 6. 採用ページ制作の訴求（小さめの横長セクション） */
.web-production-recruit-section { padding: 56px 0; }
.web-production-recruit-box {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 40px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.web-production-recruit-text { flex: 1 1 380px; }
.web-production-recruit-title {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}
.web-production-recruit-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.85;
}
.web-production-recruit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
.web-production-recruit-list li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  padding-left: 18px;
  position: relative;
}
.web-production-recruit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
@media (max-width: 768px) {
  .web-production-recruit-box { padding: 32px 24px; }
}

/* 7. 目的別の制作提案（細線アイコン） */
.web-production-purpose-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
}
.web-production-purpose-icon {
  display: flex;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--blue);
}
.web-production-purpose-icon svg { width: 100%; height: 100%; }

/* 8. 料金 */
.web-production-price-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.web-production-price-card:nth-child(1) { grid-column: 1 / 3; }
.web-production-price-card:nth-child(2) { grid-column: 3 / 5; }
.web-production-price-card:nth-child(3) { grid-column: 5 / 7; }
.web-production-price-card:nth-child(4) { grid-column: 2 / 4; }
.web-production-price-card:nth-child(5) { grid-column: 4 / 6; }
.web-production-price-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  padding: 28px 20px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.web-production-price-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.web-production-price-card-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.web-production-price-note {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 900px) {
  .web-production-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .web-production-price-card:nth-child(1),
  .web-production-price-card:nth-child(2),
  .web-production-price-card:nth-child(3),
  .web-production-price-card:nth-child(4) { grid-column: auto; }
  .web-production-price-card:nth-child(5) {
    grid-column: 1 / 3;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  .web-production-price-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .web-production-price-card:nth-child(5) { max-width: none; grid-column: 1 / -1 !important; }
}

/* 9. 制作についての補足 */
#pricing-note .section-header {
  max-width: 900px;
  margin-bottom: 40px;
}
.web-production-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 32px auto 0;
}
@media (max-width: 900px) {
  .web-production-chip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .web-production-chip-row { grid-template-columns: minmax(0, 1fr); }
}
.web-production-chip {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 14px 22px;
}

/* 9.5 制作についての補足：中間CTA（補助導線） */
.web-production-mid-cta {
  text-align: center;
  margin-top: 32px;
}
.web-production-mid-cta-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 10. よくある質問（アコーディオン） */
.web-production-faq {
  max-width: 800px;
  margin: 48px auto 0;
}
.web-production-faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.web-production-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 48px 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.web-production-faq-item summary::-webkit-details-marker { display: none; }
.web-production-faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--ease);
}
.web-production-faq-item[open] summary::after { transform: rotate(45deg); }
.web-production-faq-item summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.web-production-faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* 11. 最終CTA 補足リスト */
.web-production-cta-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.web-production-cta-notes li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 18px;
  position: relative;
}
.web-production-cta-notes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-pale);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .web-production-sample-card.fade-in,
  .web-production-sample-card.fade-in.visible {
    transform: none;
  }
}
