@charset "utf-8";

/* ==========================================================================
   パコラボ コーポレートサイト
   Color scheme : 案1 親しみ × 信頼 × 未来感（本命案）
     シトラスイエロー #FFD400 / グロースグリーン #4CAF50 / スマートチャコール #2F3437
     ベース = ホワイト #FFFFFF

   配色のルール
     イエロー … 面と図形（ボタン・番号バッジ・下線）に使う。文字色には使わない
     グリーン … 文字の差し色（濃いグリーン）とアイコン・チェック（明るいグリーン）
     チャコール … 本文の文字色と、暗い面（ヒーロー・フッター）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Base palette */
  --yellow: #ffd400;
  --green: #4caf50;
  --charcoal: #2f3437;
  --white: #ffffff;

  /* Derived tones */
  --yellow-light: #ffe04d;
  --yellow-deep: #d9b400;
  --yellow-tint: rgba(255, 212, 0, 0.18);
  --green-dark: #2e7d32;   /* 白背景でも読める文字用グリーン（5.1:1） */
  --green-light: #7bc67e;  /* 濃い背景の上で使うグリーン */
  --green-tint: rgba(76, 175, 80, 0.13);
  --charcoal-soft: #4a5256;
  --charcoal-deep: #23282b;
  --charcoal-mute: #656e71;  /* 淡いグレー面の上でも本文4.5:1を満たす明るさ */

  /* Surfaces */
  --surface: #f6f7f7;      /* 白と交互に敷く、ごく淡いグレー */
  --line: #e4e8e8;
  --line-strong: #d8dddd;
  --line-dark: rgba(255, 255, 255, 0.16);

  /* Semantic */
  --bg: var(--white);
  --text: var(--charcoal);
  --text-mute: var(--charcoal-mute);

  /* Metrics */
  --header-h: 76px;
  --wrap: 1120px;
  --wrap-narrow: 840px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(47, 52, 55, 0.05);
  --shadow-md: 0 10px 30px rgba(47, 52, 55, 0.09);
  --shadow-lg: 0 24px 60px rgba(47, 52, 55, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.logo__sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--charcoal-mute);
  margin-top: 1px;
}
.logo:hover .logo__text { color: var(--green-dark); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 9px;
  white-space: nowrap;
}
.nav__link:hover { color: var(--green-dark); background: var(--yellow-tint); }

/* Dropdown */
.nav__group { position: relative; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 9px;
  white-space: nowrap;
}
.nav__toggle:hover { color: var(--green-dark); background: var(--yellow-tint); }
.nav__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.nav__toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__toggle[aria-expanded="true"] + .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}
.nav__menu a:hover { background: var(--surface); color: var(--green-dark); }
.nav__menu a[aria-current="page"] { background: var(--yellow-tint); }
.nav__menu .num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  flex: none;
}

/* CTA button in header */
.nav__cta {
  margin-left: 8px;
  padding: 11px 22px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.nav__cta:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }

/* イエロー面 + チャコール文字（7.7:1） */
.btn--primary {
  background: var(--yellow);
  color: var(--charcoal);
  box-shadow: 0 8px 22px rgba(255, 212, 0, 0.4);
}
.btn--primary:hover {
  background: var(--yellow-light);
  box-shadow: 0 12px 28px rgba(255, 212, 0, 0.5);
}

/* グリーン面 + 白文字（5.1:1） */
.btn--green { background: var(--green-dark); color: var(--white); }
.btn--green:hover { background: var(--green); }

.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--charcoal-soft); }

.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

/* --------------------------------------------------------------------------
   5. Section furniture
   -------------------------------------------------------------------------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--tint { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}
.eyebrow--light { color: var(--yellow); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.section-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   6. Hero (top page)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--charcoal);
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}

/* メインビジュアル。右に置き、写真自身の白フェードを背景の白に溶かす */
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 64%;
  /* 縦に伸ばしすぎると写真が拡大され、場の様子が伝わらなくなる */
  height: min(100%, 660px);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
}
/* 白のかぶせ。写真の明るさに関係なく左側の文字の可読性を担保する */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 30%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 30%);
}

.hero__inner { position: relative; z-index: 1; max-width: 660px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  margin-bottom: 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--charcoal);
  background: var(--yellow-tint);
  border: 1px solid rgba(255, 212, 0, 0.6);
  border-radius: 999px;
}
.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.hero__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.005em;
}
/* 「わかる」「つかえる」がフレーズの途中で折り返さないようにする */
.hero__title .nw { white-space: nowrap; }
/* イエローは文字色にすると白背景で読めないため、マーカー風の「面」として敷く */
.hero__title .accent {
  color: var(--charcoal);
  background: linear-gradient(transparent 58%, rgba(255, 212, 0, 0.8) 58%);
}

.hero__lead {
  margin-top: 32px;
  max-width: 560px;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 2.15;
  color: var(--charcoal-soft);
}

.hero__actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__stats {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__stat dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-dark);
}
.hero__stat dd {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   7. Department cards (top page)
   -------------------------------------------------------------------------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.dept-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(76, 175, 80, 0.5);
}
.dept-card:hover::before { transform: scaleX(1); }

.dept-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 14px;
  flex: none;
}

.dept-card__en {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-dark);
  text-transform: uppercase;
}

.dept-card__name {
  margin-top: 8px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.dept-card__catch {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.75;
}

.dept-card__desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-mute);
}

.dept-card__tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dept-card__tags li {
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dept-card__more {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}
.dept-card__more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.dept-card:hover .dept-card__more { color: var(--green-dark); }
.dept-card:hover .dept-card__more::after { transform: rotate(45deg) translate(3px, -3px); }

/* Whole card clickable */
.dept-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* --------------------------------------------------------------------------
   8. Feature / strength grid
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  border-radius: 15px;
  color: var(--green-dark);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-size: 18px; font-weight: 700; line-height: 1.6; }
.feature__text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   9. Department page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 104px) 0 clamp(64px, 8vw, 92px);
  background:
    radial-gradient(720px 400px at 88% 0%, rgba(255, 212, 0, 0.26), transparent 60%),
    radial-gradient(560px 340px at 4% 100%, rgba(76, 175, 80, 0.2), transparent 66%),
    linear-gradient(150deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 70% 30%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 8%, transparent 72%);
}
.page-hero__inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.64);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.34); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb [aria-current="page"] { color: var(--yellow); font-weight: 600; }

.page-hero__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  font-size: 19px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 16px;
}
.page-hero__en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--yellow);
  text-transform: uppercase;
}
.page-hero__title {
  margin-top: 12px;
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 700;
  line-height: 1.38;
}
.page-hero__catch {
  margin-top: 26px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.85;
  color: var(--yellow);
}
.page-hero__lead {
  margin-top: 20px;
  max-width: 700px;
  font-size: 15.5px;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   10. Service cards (department page)
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service {
  position: relative;
  padding: 34px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service__no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}
.service__title {
  margin-top: 10px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--yellow);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
.service__text {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--text-mute);
}
.service__list { margin-top: 18px; display: grid; gap: 9px; }
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--charcoal-soft);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   11. Target audience list
   -------------------------------------------------------------------------- */
.target {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.target li {
  position: relative;
  padding: 18px 20px 18px 58px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}
.target li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 9px;
  height: 16px;
  margin-top: -10px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(42deg);
}

/* --------------------------------------------------------------------------
   12. Flow (process steps)
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.flow li {
  position: relative;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.flow li::before {
  content: "STEP " counter(step);
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}
.flow__title { font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.flow__text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   13. Other departments
   -------------------------------------------------------------------------- */
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.other {
  display: block;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
}
.other:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.5);
}
.other__num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-dark);
}
.other__name { margin-top: 9px; font-size: 17px; font-weight: 700; line-height: 1.55; }
.other__catch { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--text-mute); }

/* --------------------------------------------------------------------------
   13b. 会社概要ページ（経営理念 / 会社情報）
   -------------------------------------------------------------------------- */

/* イエローのマーカー線。イエローは文字色ではなく面として使う */
.marker { background: linear-gradient(transparent 58%, rgba(255, 212, 0, 0.8) 58%); }

.philosophy {
  padding: clamp(36px, 6vw, 68px) clamp(24px, 5vw, 60px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.philosophy__statement {
  font-size: clamp(20px, 2.9vw, 30px);
  font-weight: 700;
  line-height: 1.85;
  text-align: center;
}
.philosophy__body {
  max-width: 660px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding-top: clamp(24px, 3.5vw, 36px);
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--charcoal-soft);
}
.philosophy__body p + p { margin-top: 18px; }
.philosophy__turn {
  margin: 22px 0 20px;
  display: grid;
  gap: 8px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--charcoal);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.info-table th,
.info-table td {
  padding: 22px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.95;
}
.info-table th {
  width: 210px;
  font-weight: 700;
  color: var(--green-dark);
}
.info-table td { color: var(--charcoal); }
.info-table a:hover { color: var(--green-dark); }

@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr,
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .info-table th, .info-table td { padding: 0; border-bottom: 0; }
  .info-table th {
    margin-bottom: 4px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }
}

/* --------------------------------------------------------------------------
   13c. 部門ページ（営業向け）— キーワード / 料金 / 事例 / 実績
        既存のカード・角丸・余白・配色をそのまま再利用しています
   -------------------------------------------------------------------------- */

/* ヒーローのサブコピーとサービスキーワード */
.page-hero__sub {
  margin-top: 18px;
  max-width: 700px;
  font-size: clamp(15.5px, 1.9vw, 18px);
  font-weight: 600;
  line-height: 1.95;
  color: var(--white);
}
.keyword-list {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.keyword-list li {
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.page-hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* セクション末尾の一言導線 */
.section-note {
  margin-top: 36px;
  text-align: center;
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 700;
  line-height: 1.9;
}

/* サービスカードの拡張（アイコン・対応例・料金） */
.service__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  border-radius: 14px;
  color: var(--green-dark);
}
.service__icon svg { width: 25px; height: 25px; }

.service__label {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-dark);
}

/* 料金表示 */
.price {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
}
.price__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-dark);
}
.price__value {
  display: block;   /* <p> でも <span> でも同じ見た目になるように */
  margin-top: 6px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--charcoal);
}
/* 正式料金が未確定の状態。金額が入ったら --pending を外す */
.price__value--pending {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal-soft);
}
.price__value--pending::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
}
.price__note {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-mute);
}

/* 対応事例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.case__no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}
.case__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case__meta li {
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
}
.case__cat { color: var(--charcoal); background: var(--yellow); }
.case__industry {
  color: var(--charcoal-soft);
  background: var(--surface);
  border: 1px solid var(--line);
}
.case__body {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case__body dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-dark);
}
.case__body dd {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--charcoal-soft);
}
.case__body dd + dt { margin-top: 18px; }

/* 事例が未入力であることが一目で分かる状態。公開前に差し替えるか、節ごと削除する */
.case--placeholder {
  background: var(--surface);
  border-style: dashed;
  border-color: var(--line-strong);
  box-shadow: none;
}
.case--placeholder .case__cat,
.case--placeholder .case__industry {
  color: var(--charcoal-mute);
  background: transparent;
  border: 1px dashed var(--line-strong);
}
.case--placeholder .case__body dd { color: var(--charcoal-mute); }

/* お取引・支援実績 */
.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.record {
  padding: 24px 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

/* ロゴ掲載用（掲載許可が取れたロゴを入れる枠） */
.logo-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.logo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 12px;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--charcoal-mute);
}
.logo-slot img { max-height: 100%; width: auto; object-fit: contain; }

/* 数字の実績（確定した数字が出てから使う） */
.counter-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.counter {
  padding: 28px 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.counter__num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}
.counter__num .unit { font-size: 0.5em; margin-left: 4px; }
.counter__label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* 「頼むメリット」用の連番ラベル */
.feature__no {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}

/* --------------------------------------------------------------------------
   13d. 画像プレースホルダー / 主力サービス / 実績 / BEFORE・AFTER / 料金表
        写真や実績が入るまでの仮枠。<img> に差し替えるだけで使えるようにしています
   -------------------------------------------------------------------------- */

/* 画像の仮枠。中身が決まったら figure の中身を <img> に置き換える */
.ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--charcoal-mute);
}
.ph svg { width: 32px; height: 32px; opacity: 0.5; }
.ph__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.ph__hint { font-size: 12.5px; line-height: 1.75; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--pc   { aspect-ratio: 16 / 10; }
.ph--sp   { aspect-ratio: 9 / 16; }

.media { margin: 0; }
.media img { width: 100%; border-radius: var(--radius); }
.media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

/* 「制作イメージ」など、実績と区別するための注記バッジ */
.badge-note {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--charcoal-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

/* 主力サービス（ホームページ更新・運用）を1段大きく見せる枠 */
.spotlight {
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.spotlight__main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
.spotlight__catch {
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.75;
}
.spotlight__text {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--charcoal-soft);
}
.spotlight__text p + p { margin-top: 16px; }
.spotlight__list {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(24px, 3.5vw, 32px);
  border-top: 1px solid var(--line);
}

/* チェック付きの一覧。項目数に応じて自動で列が増える */
.check-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 11px 24px;
}
.check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--charcoal-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 7px;
  height: 12px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(42deg);
}

/* 3列の汎用グリッド */
.col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 制作・運用実績（PC画面＋スマホ画面） */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work {
  padding: 22px 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.work__shots {
  position: relative;
  margin: 0 0 34px;
}
.work__sp {
  position: absolute;
  right: 4%;
  bottom: -28px;
  width: 26%;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.work__sp.ph { padding: 8px; gap: 4px; }
.work__sp.ph svg { width: 18px; height: 18px; }
.work__sp.ph .ph__label { font-size: 9px; letter-spacing: 0.06em; }
.work__name { font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.work__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.work__tags li {
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* BEFORE / AFTER */
.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
}
.ba__label {
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.ba__label--before { color: var(--charcoal-mute); }
.ba__label--after  { color: var(--green-dark); }
.ba__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--charcoal);
  flex: none;
}
.ba__arrow svg { width: 17px; height: 17px; }

/* 料金表（会社情報テーブルと同じ見た目を流用） */
.info-table--price th {
  width: 46%;
  font-size: 16px;
  color: var(--charcoal);
}
.info-table--price td { font-weight: 700; }
.info-table--price .price__value { margin-top: 0; }
.info-table--price .price__note { font-weight: 400; }

/* その他サービス（主力より一段軽い見せ方） */
.sub-services {
  padding: clamp(26px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 5ステップのフロー */
.flow--5 { grid-template-columns: repeat(5, 1fr); }

/* --------------------------------------------------------------------------
   13e. 実績・活動ページ
        HTMLを直接コピーして増やす前提のため、クラスは浅く単純にしています。
        .activity-card 1つで1件が完結します。
   -------------------------------------------------------------------------- */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.5);
}

/* 画像枠。画像の縦横比が多少違っても崩れないよう 16:9 に切り抜く */
.activity-card__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.activity-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像がない記事用。.ph と同じ見た目で枠だけ保つ */
.activity-card__media .ph {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.activity-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.activity-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* カテゴリー。色は黄・緑・チャコールの3種類だけに絞っています */
.activity-cat {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--charcoal);
}
.activity-cat--community { background: var(--green-dark); color: var(--white); }
.activity-cat--media     { background: var(--charcoal); color: var(--white); }

.activity-date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal-mute);
}

.activity-card__title {
  margin-top: 13px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}
.activity-card__text {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-mute);
}

.activity-card__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--charcoal);
}
.activity-card__more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.activity-card:hover .activity-card__more { color: var(--green-dark); }
.activity-card:hover .activity-card__more::after { transform: rotate(45deg) translate(3px, -3px); }

/* カード全体をリンクにする（詳細ページがある記事のみ） */
.activity-card__link::after { content: ""; position: absolute; inset: 0; }

/* 未入力のカード（公開前に差し替えるか削除する） */
.activity-card--placeholder {
  background: var(--surface);
  border-style: dashed;
  border-color: var(--line-strong);
  box-shadow: none;
}
.activity-card--placeholder:hover { transform: none; box-shadow: none; }
.activity-card--placeholder .activity-card__text { color: var(--charcoal-mute); }

/* メディア掲載の一覧（横並びの行） */
.media-list { display: grid; gap: 16px; }
.media-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media-item__thumb { margin: 0; aspect-ratio: 16 / 9; }
.media-item__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px; display: block;
}
.media-item__thumb .ph { height: 100%; aspect-ratio: auto; }
.media-item__outlet {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
}
.media-item__title { margin-top: 6px; font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.media-item__text { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--text-mute); }
.media-item__link { margin-top: 10px; display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--green-dark); }
.media-item__link:hover { text-decoration: underline; }

/* 検定合格実績などの一覧表 */
.info-table--cert th { width: 38%; color: var(--charcoal); font-size: 15px; }

/* 実績・活動 詳細ページ */
.detail-body {
  font-size: 16px;
  line-height: 2.15;
  color: var(--charcoal-soft);
}
.detail-body p + p { margin-top: 20px; }
.detail-body h2 {
  margin-top: 48px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--yellow);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--charcoal);
}
.detail-body h2 + p { margin-top: 20px; }
.detail-body figure { margin: 28px 0 0; }
.detail-body ul { margin-top: 18px; }

.detail-nav {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   13f. フォーム（お問い合わせ・ご相談）
        contact-it.html 専用ではなく、今後の contact-web.html / trial.html でも
        そのまま使いまわせる汎用クラスにしています。
   -------------------------------------------------------------------------- */

/* エラー表示用の色。ブランド4色では「間違い」を表せないため、この用途のみ追加 */
:root {
  --error: #b3261e;
  --error-bg: rgba(179, 38, 30, 0.06);
  --error-line: rgba(179, 38, 30, 0.35);
}

.contact-form { display: grid; gap: clamp(20px, 3vw, 28px); }

/* 4つのブロック（01 お客様について 〜 04 確認・送信） */
.form-section {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-section__no {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}
.form-section__title {
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--yellow);
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.6;
}
.form-section__lead {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-mute);
}

/* 1項目 */
.form-group { margin-top: 28px; }
.form-group:first-of-type { margin-top: 24px; }

.form-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.form-required,
.form-optional {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 5px;
  flex: none;
}
.form-required { background: var(--yellow); color: var(--charcoal); }
.form-optional {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--charcoal-mute);
}

.form-help {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-mute);
}
.form-help--after { margin: 8px 0 0; }

/* 入力欄 */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  /* iOS で拡大表示されないよう 16px 以上にしています */
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-textarea { min-height: 168px; resize: vertical; }

.form-select {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal-mute) 50%),
                    linear-gradient(135deg, var(--charcoal-mute) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover { border-color: var(--charcoal-mute); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
}
/* 共通の :focus-visible が角丸4pxを上書きしてしまうため戻す */
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible { border-radius: 12px; outline-offset: 2px; }

/* 入力例を示す文字のため、白背景で4.5:1を満たす濃さにしています */
.form-input::placeholder,
.form-textarea::placeholder { color: #6b7477; opacity: 1; }

/* ラジオ・チェックボックス */
.form-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-fieldset__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.form-choices { display: grid; gap: 10px; }
.form-choices--2col { grid-template-columns: repeat(2, 1fr); }
.form-choices--3col { grid-template-columns: repeat(3, 1fr); }

.form-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.65;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-choice:hover { border-color: var(--green); background: var(--surface); }
.form-choice input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green-dark);
  flex: none;
}
/* 選択済みを分かりやすく（:has 非対応の環境でも、標準のチェック表示は残ります） */
.form-choice:has(input:checked) {
  border-color: var(--green-dark);
  background: rgba(76, 175, 80, 0.08);
}

/* 同意チェック */
.form-consent {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.form-consent .form-choice { border: 0; background: none; padding: 0; }
.form-consent .form-choice:hover { background: none; }

/* 文字数カウンター */
.form-counter {
  margin-top: 8px;
  text-align: right;
  font-size: 12.5px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.form-counter.is-over { color: var(--error); font-weight: 700; }

/* エラー表示 */
.form-error {
  display: none;
  margin-top: 8px;
  padding-left: 22px;
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--error);
}
.form-error::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--white);
  background: var(--error);
  border-radius: 50%;
}
.is-error .form-error { display: block; }

.is-error .form-input,
.is-error .form-textarea,
.is-error .form-select {
  border-color: var(--error);
  background: var(--error-bg);
}
.is-error .form-choices .form-choice { border-color: var(--error-line); }

/* 上部のエラーまとめ */
.form-errors {
  display: none;
  padding: 20px 22px;
  background: var(--error-bg);
  border: 1px solid var(--error-line);
  border-left: 4px solid var(--error);
  border-radius: var(--radius);
}
.form-errors.is-visible { display: block; }
.form-errors__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--error);
}
.form-errors ul { margin-top: 12px; display: grid; gap: 7px; }
.form-errors li { font-size: 14px; line-height: 1.7; }
.form-errors a { color: var(--error); font-weight: 700; text-decoration: underline; }

/* 送信ボタンまわり */
.form-submit { margin-top: 8px; text-align: center; }
.form-submit .btn { font-size: 16px; padding: 18px 40px; }
.form-submit__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-mute);
}

/* 送信先が未接続であることを知らせる開発用の表示（接続後に削除） */
.form-devnotice {
  display: none;
  margin-top: 24px;
  padding: 22px 24px;
  text-align: left;
  background: var(--surface);
  border: 1px dashed var(--charcoal-mute);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.9;
}
.form-devnotice.is-visible { display: block; }
.form-devnotice strong { color: var(--charcoal); }

/* 電話での相談も同じ強さで並べる */
.form-alt {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3.5vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.form-alt__title { font-size: 16px; font-weight: 700; line-height: 1.7; }
.form-alt__text { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--text-mute); }
.form-alt__tel {
  margin-top: 14px;
  display: inline-block;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.form-alt__tel:hover { color: var(--green-dark); }

@media (max-width: 700px) {
  .form-choices--2col,
  .form-choices--3col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form-section { padding: 22px 18px 26px; }
  .form-choice { padding: 15px 14px; }
  .form-submit .btn { width: 100%; padding: 18px 24px; }
}

/* --------------------------------------------------------------------------
   13g. ご用件の2択カード / 概算料金
        contact-web.html で使用。他のフォームでも流用できます。
   -------------------------------------------------------------------------- */

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

/* 大きな選択カード。カード全体が <button> です */
.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px);
  font: inherit;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.5);
}
/* 選択中のカード */
.choice-card[aria-expanded="true"] {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.16), var(--shadow-md);
}

.choice-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  border-radius: 20px;
  color: var(--green-dark);
}
.choice-card__icon svg { width: 30px; height: 30px; }

.choice-card__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-dark);
}
.choice-card__title {
  margin-top: 12px;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.6;
}
.choice-card__text {
  margin-top: 14px;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-mute);
}
/* ボタンの中にボタンは置けないため、見た目だけボタンにしています */
.choice-card__btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 999px;
  transition: background 0.22s var(--ease);
}
.choice-card__btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.choice-card:hover .choice-card__btn { background: var(--yellow-light); }

/* もう一方の入口への案内 */
.entry-switch {
  margin-top: 28px;
  padding: 18px 20px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.85;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.entry-switch a { font-weight: 700; color: var(--green-dark); text-decoration: underline; }

/* ---------- 概算料金の作業選択 ---------- */
.est-list { display: grid; gap: 12px; }

.est-item {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.est-item .form-choice { border: 0; border-radius: 0; background: none; }
.est-item .form-choice:hover { background: none; }
.est-item:has(input:checked) {
  border-color: var(--green-dark);
  background: rgba(76, 175, 80, 0.06);
}

.est-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 14px 48px;
  font-size: 14px;
}
.est-item__qty .form-select { max-width: 210px; padding: 10px 40px 10px 14px; }

/* ---------- 概算料金の結果 ---------- */
.est-result {
  padding: clamp(22px, 3.5vw, 34px);
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
}
.est-result__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
}
.est-rows { margin-top: 18px; }
.est-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1.7;
}
.est-row__value { font-weight: 700; }
.est-empty {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

.est-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--yellow);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
}
.est-total__value {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--yellow);
}

/* 個別見積りになる作業を選んだときのお知らせ */
.est-quote {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(255, 212, 0, 0.16);
  border: 1px solid rgba(255, 212, 0, 0.55);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.85;
}

.est-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 700px) {
  .choice-grid { grid-template-columns: 1fr; }
  .est-item__qty { padding-left: 16px; }
  .est-item__qty .form-select { max-width: none; flex: 1; }
}

/* --------------------------------------------------------------------------
   13h. ブランドセクション（トップページ中盤の濃い帯）
        「モノではなく、使えている状態を届ける」というメッセージ用。
        ページ内で一度だけ使う想定です。
   -------------------------------------------------------------------------- */

.brand {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 108px) 0;
  background: linear-gradient(150deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--white);
}
.brand::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.26), transparent 66%);
  pointer-events: none;
}
.brand::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.22), transparent 68%);
  pointer-events: none;
}
.brand__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.brand__statement {
  font-size: clamp(21px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
/* 濃い背景ではイエローのマーカーだと文字が読めないため、文字色で強調する */
.brand__accent { color: var(--yellow); }

.brand__lead {
  max-width: 720px;
  margin: clamp(24px, 3.5vw, 32px) auto 0;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.82);
}

/* 「こう言ってもらえる状態」を並べる */
.states {
  margin-top: clamp(34px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.state {
  display: grid;
  place-items: center;
  padding: 26px 16px;
  text-align: center;
  font-size: clamp(15.5px, 1.9vw, 18px);
  font-weight: 700;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.brand__note {
  margin-top: clamp(28px, 4vw, 36px);
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

/* 6ステップのフロー（3列×2段） */
.flow--6 { grid-template-columns: repeat(3, 1fr); }
.flow--6 li:nth-child(3)::after { display: none; }

@media (max-width: 1024px) {
  .flow--6 { grid-template-columns: repeat(2, 1fr); }
  .flow--6 li::after { display: none; }
}

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

@media (max-width: 600px) {
  .flow--6 { grid-template-columns: 1fr; }
  .states { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .state { padding: 20px 12px; }
}

/* --------------------------------------------------------------------------
   13i. ホームページ更新LP（hp-update.html）
        既存のカード・余白・配色をそのまま使い、
        このページ固有の並びだけを追加しています。
   -------------------------------------------------------------------------- */

/* 「会社で日々生まれる情報」を並べる小さなカード */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.topic {
  display: grid;
  place-items: center;
  align-content: start;
  gap: 12px;
  padding: 26px 14px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.topic__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--yellow-tint);
  border-radius: 14px;
  color: var(--charcoal);
}
.topic__icon svg { width: 24px; height: 24px; }

/* 立ち止まって考えてもらう大きな問いかけ */
.big-question {
  text-align: center;
  font-size: clamp(23px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.7;
}
.big-question__note {
  margin-top: clamp(20px, 3vw, 28px);
  text-align: center;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 2.05;
  color: var(--text-mute);
}

/* 「早い」「提案する」の2本柱。ページ内で最も強く見せる枠 */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--yellow);
}
.pillar__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 16px;
  color: var(--charcoal);
}
.pillar__icon svg { width: 28px; height: 28px; }
.pillar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-dark);
}
.pillar__title {
  margin-top: 10px;
  font-size: clamp(19px, 2.5vw, 25px);
  font-weight: 700;
  line-height: 1.6;
}
.pillar__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--charcoal-soft);
}
.pillar__text p + p { margin-top: 14px; }

/* 提案の具体例を吹き出し風に並べる */
.pillar__quotes { margin-top: 20px; display: grid; gap: 10px; }
.pillar__quotes li {
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--charcoal);
  background: var(--surface);
  border-left: 3px solid var(--yellow);
  border-radius: 0 10px 10px 0;
}

/* 問い合わせの2択（濃い帯の中に置く） */
.cta-options {
  margin-top: clamp(32px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}
.cta-option {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.cta-option__title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
}
.cta-option__text {
  margin-top: 12px;
  flex: 1;
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.8);
}
.cta-option .btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
  .cta-options { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topic-grid { gap: 12px; }
  .topic { padding: 20px 10px; font-size: 13.5px; }
  .topic__icon { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   13j. パソコン・ITお困りごと相談LP（pc-support.html）
        入口商品の料金表示と、スマートフォンの固定CTA。
   -------------------------------------------------------------------------- */

/* 入口商品の料金表示。濃い背景でも白背景でもそのまま使えます */
.offer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(18px, 2.6vw, 26px) clamp(24px, 4vw, 44px);
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: var(--radius-lg);
  text-align: center;
}
.offer__name {
  font-size: clamp(13.5px, 1.7vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.offer__price {
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.offer__price .unit { font-size: 0.46em; margin-right: 8px; }
.offer__price .tax  { font-size: 0.32em; margin-left: 6px; }

.offer-wrap { margin-top: clamp(26px, 3.6vw, 34px); }

/* 「もちろん大丈夫です」など、短い答えを大きく見せる */
.answer {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.6;
}

/* 白背景で使う小さなタグ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chips li {
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 注意事項 */
.notes { display: grid; gap: 10px; }
.notes li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--charcoal-soft);
}
.notes li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal-mute);
}

/* スマートフォンの固定CTA。
   使うページの <body> に class="has-sticky-cta" を付けてください。 */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .has-sticky-cta { padding-bottom: 88px; }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
  }
  .sticky-cta__inner {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  /* 幅100%指定のボタンより優先させる */
  .sticky-cta .btn {
    flex: 1;
    width: auto;
    justify-content: center;
    padding: 15px 14px;
    font-size: 15px;
  }
  .sticky-cta__tel {
    flex: none;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--charcoal);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 15px;
  }
  .sticky-cta__tel svg { width: 22px; height: 22px; }
  .sticky-cta__tel:hover { border-color: var(--green-dark); color: var(--green-dark); }
}

/* --------------------------------------------------------------------------
   13k. ホームページ更新・社外Web担当者LP（web-update-support.html）
        「情報が生まれて、役目を終えて、また生まれる」流れを図で見せるための
        部品と、30秒セルフチェックの表示です。
        いずれもこのページ専用のクラス名で、既存ページには影響しません。
   -------------------------------------------------------------------------- */

/* 「情」「報」の分解。.pillar-grid / .pillar の中で使います */
.term__char {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 20px;
}

/* 情報の一生。「いま必要 → 役目を終える → 新しく生まれる」を縦に並べます */
.lifespan { display: grid; gap: 42px; }

.lifespan__item {
  position: relative;
  padding: clamp(24px, 3.4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
/* 次の状態へ向かう下向きの矢印 */
.lifespan__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -29px;
  width: 12px;
  height: 12px;
  margin-left: -7px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg);
}
.lifespan__item--live { border-left-color: var(--yellow); }
.lifespan__item--done { background: var(--surface); }
.lifespan__item--new  { border-left-color: var(--green); }

.lifespan__when {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-dark);
}
.lifespan__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
}
.lifespan__tag--live { color: var(--charcoal); background: var(--yellow); }
.lifespan__tag--done { color: var(--charcoal); background: var(--line-strong); }
.lifespan__tag--new  { color: var(--white); background: var(--green-dark); }

.lifespan__info {
  margin-top: 16px;
  font-size: clamp(17px, 2.3vw, 23px);
  font-weight: 700;
  line-height: 1.75;
}
.lifespan__item--done .lifespan__info { color: var(--charcoal-mute); }
.lifespan__note {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--charcoal-soft);
}

/* 情報の循環。STEP番号を出さない点だけが .flow と異なります */
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 34px; }
.cycle li {
  position: relative;
  padding: 26px 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cycle li::after {
  content: "";
  position: absolute;
  right: -21px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: 2.5px solid var(--green);
  border-right: 2.5px solid var(--green);
  transform: rotate(45deg);
}
.cycle li:nth-child(3n)::after { display: none; }

.cycle__loop {
  margin-top: 22px;
  padding: 18px 20px;
  text-align: center;
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 700;
  line-height: 1.8;
  color: var(--charcoal);
  background: var(--yellow-tint);
  border-radius: var(--radius);
}

/* 「誰が更新していますか？」の選択肢。.col3 の中で使います */
.pick {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.pick__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  background: var(--yellow-tint);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.pick__text { font-size: 15.5px; font-weight: 700; line-height: 1.75; }

/* 30秒セルフチェック */
.quiz {
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.quiz__result {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quiz__score {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-dark);
}
.quiz__score .n { font-size: 26px; margin: 0 5px; }
.quiz__title {
  margin-top: 10px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.65;
}
.quiz__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 2;
  color: var(--charcoal-soft);
}
.quiz__common {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.85;
  color: var(--charcoal);
  background: var(--yellow-tint);
  border-radius: 12px;
}
.quiz__actions { margin-top: 24px; }

/* 「これ、載せておいて」の会話例 */
.talk { display: grid; gap: 12px; }
.talk__row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.talk__who {
  padding-top: 17px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--charcoal-soft);
}
.talk__bubble {
  padding: 18px 22px;
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 600;
  line-height: 1.9;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.talk__row--paco .talk__bubble {
  background: var(--yellow-tint);
  border-color: rgba(255, 212, 0, 0.55);
}
.talk__arrow {
  justify-self: center;
  width: 11px;
  height: 11px;
  margin: 2px 0;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; gap: 30px; }
  /* 1列になったら、矢印は下向きにして中央へ */
  .cycle li::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -20px;
    margin: 0 0 0 -5px;
    transform: rotate(135deg);
  }
  .cycle li:nth-child(3n)::after { display: block; }
  .cycle li:last-child::after { display: none; }

  .talk__row { grid-template-columns: 1fr; gap: 6px; }
  .talk__who { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   14. Contact / CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 104px) 0;
  background: linear-gradient(140deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--white);
}
.cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.3), transparent 66%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.26), transparent 68%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.55;
}
.cta__text {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.8);
}
.cta__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.contact-cards {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}
.contact-card {
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.contact-card dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
}
.contact-card dd {
  margin-top: 10px;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contact-card dd a:hover { color: var(--yellow); }
.contact-card .note {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.64);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal-deep);
  color: rgba(255, 255, 255, 0.74);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo__text { color: var(--white); }
.footer-brand .logo__sub { color: rgba(255, 255, 255, 0.5); }
.footer-brand .logo:hover .logo__text { color: var(--yellow); }
.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--yellow);
}
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: 13.5px; line-height: 1.75; }
.footer-col a:hover { color: var(--yellow); }

.footer-info {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}
.footer-info dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */
/* JS が動く環境でのみ隠す。スクリプトが読み込めない場合も内容は必ず表示される */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
  .other-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }

  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .col3 { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  /* 5ステップは2列に折り返すため、矢印は出さない */
  .flow--5 { grid-template-columns: repeat(2, 1fr); }
  .flow--5 li::after { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .wrap, .site-header__inner { width: min(100% - 36px, var(--wrap)); }

  .nav-burger { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 18px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__link, .nav__toggle { padding: 14px 12px; font-size: 15.5px; width: 100%; }
  .nav__toggle { justify-content: space-between; }

  .nav__menu {
    position: static;
    width: auto;
    padding: 4px 0 8px 12px;
    background: none;
    border: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__toggle[aria-expanded="true"] + .nav__menu { display: block; }
  .nav__menu a { padding: 12px 12px; }

  .nav__cta {
    margin: 12px 0 0;
    text-align: center;
    justify-content: center;
    padding: 15px 22px;
    font-size: 15px;
  }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }

  /* ヒーロー：写真を上、文章を下に積む */
  .hero { padding-top: 0; }
  .hero__media {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: clamp(32px, 6vw, 48px);
  }
  .hero__media img { height: auto; aspect-ratio: 16 / 9; object-position: 68% center; }
  .hero__media::after {
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 26%);
  }
  .hero__inner, .hero__lead { max-width: none; }

  /* 電話が主な問い合わせ手段のため、指で押しやすい高さを確保する */
  a[href^="tel:"]:not(.btn) { display: inline-block; padding-block: 10px; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-top: 56px; }
  .dept-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .page-hero__actions .btn { flex: 1 1 240px; justify-content: center; }

  .spotlight__main { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .col3 { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 1fr; gap: 16px; }
  /* BEFORE / AFTER は縦並びにして、矢印を下向きにする */
  .ba { grid-template-columns: 1fr; gap: 14px; }
  .ba__arrow { transform: rotate(90deg); margin-inline: auto; }
  .target { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap, .site-header__inner { width: min(100% - 32px, var(--wrap)); }

  .logo__text { font-size: 18px; }
  .logo__mark { width: 34px; height: 34px; }

  .section { padding: 60px 0; }
  .hero { padding: 0 0 64px; }   /* 写真を画面上端から見せる */

  .dept-card { padding: 30px 24px 28px; }
  .service { padding: 28px 22px; }
  .feature { padding: 28px 24px; }

  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none; }

  .btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .hero__actions, .cta__actions, .page-hero__actions { flex-direction: column; }

  /* 小さな画面でも料金・サービス名・ボタンがすぐ読めるようにする */
  .record-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: 1fr; }
  .case { padding: 26px 22px; }
  .keyword-list { gap: 8px; }
  .keyword-list li { padding: 6px 13px; font-size: 12.5px; }
  .price__value { font-size: 21px; }

  .flow--5 { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .work__sp { width: 30%; bottom: -22px; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav, .cta__actions, .hero__actions { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .cta, .site-footer { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
