:root {
  /* team-mir.ai に近いミント系の単色背景 */
  --bg: #63d9d1; /* 薄く */
  --bg2: #63d9d1;
  --panel: #ffffff;
  --panel2: #f8fafc;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.7);
  --muted2: rgba(11, 18, 32, 0.55);
  --line: rgba(11, 18, 32, 0.12);
  --brand: #f3de00; /* logo yellow (accent) */
  --brand2: #111827; /* near-black for text */
  --good: #059669;
  --warn: #d97706;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  --container: 1100px;
  --headerH: 0px; /* 上部ヘッダーは使わない */
  --towerW: 560px;
  --towerRadius: 0px; /* タワーは直角 */
  /* 左メニューの実寸に合わせて、タワーと被らない余白を確保 */
  --sideNavLeft: 110px;
  --sideNavWidth: 420px;
  --leftRailW: calc(var(--sideNavLeft) + var(--sideNavWidth) + 40px);
  --towerShiftPx: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--headerH) + 14px);
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

/* a11y */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.tower-page {
  width: min(var(--towerW), calc(100% - 36px));
  margin: 0 auto;
  border-radius: var(--towerRadius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 18, 32, 0.16);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.tower-page::before {
  content: none;
}

.tower-page > * {
  position: relative;
}

.tower-page .container {
  width: calc(100% - 48px);
  margin-inline: auto;
}

/* ヒーローだけタワー横いっぱい（左右余白なし） */
.tower-page .container.hero-shell {
  width: 100%;
}

.tower-section {
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}
.tower-section:first-child {
  border-top: none;
}
.tower-section:nth-child(even) {
  background: rgba(11, 18, 32, 0.035);
}
.tower-section:nth-child(odd) {
  background: transparent;
}

.side-nav {
  display: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  transform: translateY(-150%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  z-index: 9999;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}

.top-anchor {
  position: relative;
  top: calc(var(--headerH) * -1);
  height: 1px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--headerH);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(11, 18, 32, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(11, 18, 32, 0.14);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}
.nav-toggle-lines {
  width: 24px;
  height: 16px;
  position: relative;
  display: inline-block;
  /* 3本線 */
  background:
    linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: none;
}
.nav-toggle-lines::before {
  top: 1px;
}
.nav-toggle-lines::after {
  bottom: 1px;
}
.nav-toggle-label {
  font-size: 13px;
  color: var(--muted);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* タワー内メニュー：デフォルトは常に非表示（デスクトップで“不要なヘッダー”が出ないように） */
.tower-nav-toggle {
  display: none;
}
.tower-nav-panel {
  display: none;
}
.tower-nav-panel.is-open {
  display: flex;
}
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.nav-link:hover {
  background: rgba(11, 18, 32, 0.05);
  color: var(--text);
}
.nav-link.is-active {
  color: var(--text);
  background: rgba(243, 222, 0, 0.32);
  border: 1px solid rgba(243, 222, 0, 0.55);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(11, 18, 32, 0.2);
}
.btn:focus-visible {
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}
.btn-lg {
  padding: 12px 18px;
  border-radius: 999px;
}
.btn-primary {
  background: #f3de00; /* 黄色のグラデは使わない */
  border-color: rgba(11, 18, 32, 0.12);
  color: rgba(11, 18, 32, 0.92);
}
.btn-primary:hover {
  background: #ecd600;
}
.btn-secondary {
  background: rgba(11, 18, 32, 0.06);
  border-color: rgba(11, 18, 32, 0.18);
}
.btn-ghost {
  background: transparent;
}
.btn-youtube {
  background: #ff0000;
  border-color: rgba(255, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.98);
}
.btn-youtube:hover {
  background: #e60000;
  border-color: rgba(255, 0, 0, 0.6);
}

/* Hero */
.hero {
  position: relative;
  padding: 0 0 26px; /* ①：タワー上部の空白をなくす */
  overflow: clip;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  align-items: start;
}
.hero-copy {
  padding-top: 10px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  margin: 0 0 12px;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.14);
}
.hero-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.9px;
}
.hero-lead {
  margin: 0 0 20px;
  color: rgba(11, 18, 32, 0.72);
  max-width: 44ch;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}
.hero-badges {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.hero-tower {
  /* 旧レイアウト用（現在は未使用）。flexにすると本文が崩れるため無効化 */
  display: block;
  padding-top: 0;
}
.tower {
  width: 100%;
  border-radius: 0;
  padding: 18px 0 14px;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  margin-inline: auto;
}
.tower::before {
  content: none; /* 黄色っぽさの原因になるため無効化 */
}
.tower > * {
  position: relative;
}
.hero-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2px auto 14px;
}

.hero-photo {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.9);
  height: 520px; /* 文字を載せても読みやすい縦長 */
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% 35%;
}

.hero-overlay {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 34px;
  display: grid;
  gap: 18px; /* 参考画像のように隙間をあける */
  justify-items: start;
}

.hero-card {
  position: relative;
}
.hero-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.hero-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.topbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 2px solid rgba(12, 168, 155, 0.92);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(11, 18, 32, 0.92);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.topbar-pill::after {
  content: "›";
  font-weight: 900;
  color: rgba(11, 18, 32, 0.7);
  margin-left: 10px;
}
.topbar-pill:hover {
  background: rgba(12, 168, 155, 0.12);
}
.topbar-pill:focus-visible {
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}
.topbar-pill-short {
  display: none;
}
.hero-topbar-logo {
  display: inline-flex;
  align-items: center;
}
.hero-topbar-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.hero-strip {
  display: inline-flex;
  align-items: center; /* ③：文字が縦中央に見えるように */
  width: fit-content; /* ②：文字幅に合わせる */
  max-width: 100%;
  background: rgba(12, 168, 155, 0.92);
  color: rgba(255, 255, 255, 0.98);
  padding: 18px 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.6px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  text-align: left;
}
.hero-strip.line1 {
  font-size: 44px;
  padding: 18px 22px;
  margin: 0;
}
.hero-strip.line2 {
  font-size: 44px;
  padding: 18px 22px;
  margin: 0;
  white-space: nowrap; /* 「日本の採用を変える。」を常に1行に */
}
.hero-accent {
  color: #f3de00;
}

@media (max-width: 980px) {
  .hero-photo {
    height: 420px;
  }
  .hero-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
    gap: 12px;
  }
  .hero-topbar {
    height: 58px;
    padding: 0 14px;
  }
  .hero-topbar-logo img {
    height: 24px;
  }
  .hero-strip.line1 {
    font-size: 34px;
  }
  .hero-strip.line2 {
    font-size: 34px;
  }
}

/* 小さい画面でも2行目が折り返さないように微調整 */
@media (max-width: 420px) {
  .hero-strip.line2 {
    font-size: 30px;
  }
  .topbar-pill {
    padding: 10px 12px;
    font-size: 12px;
  }
  .topbar-pill-full {
    display: none;
  }
  .topbar-pill-short {
    display: inline;
  }
}

.line-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}
.line-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card {
  text-align: center;
}
.hero-card .hero-actions {
  justify-content: center;
}
.hero-card .hero-badges {
  justify-content: center;
}
.hero-card .hero-lead {
  margin-inline: auto;
}
.card-title {
  margin: 0 0 8px;
  font-size: 16px;
}
.card-text {
  margin: 0 0 14px;
  color: var(--muted);
}
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-card .card-actions {
  justify-content: center;
}
.card-note {
  margin: 12px 0 0;
  color: var(--muted2);
  font-size: 12px;
}

/* Sections */
.section {
  padding: 38px 0;
}
.section-alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}
.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.section-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 800;
}
.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 14px;
}
.grid.two {
  grid-template-columns: 1fr;
}
.grid.three {
  grid-template-columns: 1fr;
}

.panel {
  border-radius: 20px;
  padding: 18px 18px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}
.panel-strong {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 18, 32, 0.1);
}
.panel-media {
  display: grid;
  gap: 10px;
}
.panel-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}
.panel-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.guidelines-lead {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(11, 18, 32, 0.78);
}
.meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted2);
}
.link {
  display: inline-flex;
  margin-top: 12px;
  color: rgba(17, 24, 39, 0.92);
  font-weight: 700;
}
.link:hover {
  text-decoration: underline;
}

.callout {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}
.callout-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.callout-sub {
  margin: -6px 0 12px;
  color: rgba(11, 18, 32, 0.72);
  font-weight: 800;
  font-size: 13px;
}
.callout-text {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
}

.kv {
  margin: 0;
}
.kv-row {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}
.kv-row:first-child {
  border-top: none;
  padding-top: 0;
}
.kv dt {
  margin: 0;
  font-weight: 800;
  color: rgba(11, 18, 32, 0.86);
  font-size: 13px;
}
.kv dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(11, 18, 32, 0.22);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.divider {
  border: none;
  height: 1px;
  background: rgba(11, 18, 32, 0.12);
  margin: 18px 0;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li {
  margin: 8px 0;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Pricing */
.pricing-intro {
  margin-bottom: 14px;
}

/* YouTube embed (generic) */
.yt-embed {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube channel card */
.yt-channel {
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}
.yt-channel-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.yt-channel-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
  padding: 6px;
}
.yt-channel-logo[aria-hidden="true"] {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 18px;
  color: rgba(11, 18, 32, 0.86);
}
.yt-channel-title {
  margin: 0 0 2px;
  font-weight: 900;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.9);
  letter-spacing: -0.2px;
}
.yt-channel .panel-text {
  margin: 0;
}

/* Udemy card */
.udemy-card {
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}
.udemy-logo {
  display: block;
  width: min(260px, 90%);
  height: auto;
  margin: 2px 0 10px;
}
.udemy-title {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.9);
  letter-spacing: -0.2px;
  line-height: 1.55;
}
.udemy-badge {
  margin: 0 0 10px;
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 10px; /* “赤四角枠”寄せ */
  border: 2px solid rgba(255, 0, 0, 0.9);
  background: rgba(255, 0, 0, 0.95);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.1px;
  box-shadow: 0 12px 26px rgba(255, 0, 0, 0.16);
}
.udemy-card .panel-text {
  margin: 0 0 10px;
}
.udemy-note {
  color: rgba(11, 18, 32, 0.72);
}

/* Emphasis: special price (Udemy campaign) */
.udemy-card .pricing-mini-row:nth-child(2) .pricing-table-price {
  color: #dc2626; /* red */
}
.udemy-card .pricing-mini-row:nth-child(2) .pricing-table-price strong {
  color: inherit;
}

/* =========================
   Corp consulting mini-LP
   - scope: only inside the corp consulting card
   ========================= */
.corp-consulting .cc-hero {
  display: grid;
  gap: 12px;
}

.corp-consulting .cc-hero-illus {
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.corp-consulting .cc-hero-illus svg {
  width: 100%;
  height: auto;
  display: block;
}

.corp-consulting .cc-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.corp-consulting .cc-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(11, 18, 32, 0.78);
  font-weight: 700;
  font-size: 12px;
  flex: 1 1 100%;
}
.corp-consulting .cc-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(12, 168, 155, 0.85);
  box-shadow: 0 0 0 4px rgba(12, 168, 155, 0.14);
  margin-right: 8px;
}

.corp-consulting .cc-cards {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.corp-consulting .cc-card {
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 12px;
}
.corp-consulting .cc-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.corp-consulting .cc-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(12, 168, 155, 0.12);
  margin-bottom: 0;
  font-size: 18px;
  flex: 0 0 auto;
}
.corp-consulting .cc-card-title {
  margin: 0;
  font-weight: 900;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.9);
  letter-spacing: -0.2px;
}
.corp-consulting .cc-card .panel-text {
  margin: 0 0 10px;
}
.corp-consulting .cc-card .list {
  margin: 0;
}

.corp-consulting .cc-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.corp-consulting .cc-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.68);
  position: relative;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.corp-consulting .cc-step:hover {
  border-color: rgba(11, 18, 32, 0.16);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

/* flow connector (line + arrow) */
.corp-consulting .cc-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 24px; /* 10px padding + 14px center of 28px badge */
  bottom: -14px;
  width: 2px;
  height: 16px;
  transform: translateX(-1px);
  background: rgba(12, 168, 155, 0.45);
  border-radius: 999px;
}
.corp-consulting .cc-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -22px;
  width: 0;
  height: 0;
  transform: translateX(-6px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid rgba(12, 168, 155, 0.7);
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.08));
}
.corp-consulting .cc-step-no {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.86);
  background: rgba(243, 222, 0, 0.26);
  border: 1px solid rgba(243, 222, 0, 0.55);
}
.corp-consulting .cc-step-text {
  color: rgba(11, 18, 32, 0.78);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
}

/* Summary (details) */
.corp-consulting details.pricing-plan > summary {
  cursor: pointer;
}
.corp-consulting .cc-summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.9);
}
.corp-consulting details.pricing-plan > summary::-webkit-details-marker {
  display: none;
}
.corp-consulting .cc-summary-title {
  min-width: 0;
}
.corp-consulting .cc-summary-price {
  white-space: nowrap;
  color: rgba(11, 18, 32, 0.78);
  font-weight: 900;
}
.corp-consulting details.pricing-plan[open] > summary {
  margin-bottom: 10px;
}

@media (min-width: 520px) {
  .corp-consulting .cc-chip {
    flex-basis: calc(50% - 8px);
  }
  .corp-consulting .cc-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-topbar {
  padding: 0;
}
.pricing-topbar .tower {
  padding: 0;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  max-width: 100%;
}

.pricing-card {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pricing-card--featured {
  border-color: rgba(243, 222, 0, 0.55);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.1);
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 8px 0 12px;
}
.pricing-price-main {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.pricing-price-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pricing-list {
  margin-top: 0;
}

.pricing-plans {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.pricing-plan {
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 12px;
}

.pricing-plan-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-plan-name {
  margin: 0;
  font-weight: 900;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.9);
}
.pricing-plan-price {
  margin: 0;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.pricing-plan-tax {
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
}

.pricing-plan--recommended {
  border-color: rgba(243, 222, 0, 0.65);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(243, 222, 0, 0.6);
  background: rgba(243, 222, 0, 0.26);
  color: rgba(11, 18, 32, 0.86);
  font-weight: 900;
  font-size: 12px;
  margin-left: 6px;
}

.pricing-note {
  margin: 0;
  color: rgba(11, 18, 32, 0.74);
  font-weight: 800;
  font-size: 13px;
}
.pricing-contract {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: rgba(11, 18, 32, 0.04);
  color: rgba(11, 18, 32, 0.84);
  font-weight: 900;
  font-size: 13px;
}
.pricing-free {
  color: var(--good);
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background: rgba(5, 150, 105, 0.12);
}

.pricing-subblock {
  margin-top: 14px;
}
.pricing-subtitle {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.86);
}
.pricing-mini {
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}
.pricing-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  color: rgba(11, 18, 32, 0.88);
  font-size: 13px;
  flex-wrap: wrap;
  min-width: 0;
}
.pricing-mini-row + .pricing-mini-row {
  border-top: 1px solid rgba(11, 18, 32, 0.12);
}

.pricing-table-wrap {
  margin-top: 10px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 16px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.72);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.pricing-table-wrap:focus-visible {
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0; /* タワー内で“はみ出さない”を優先 */
}
.pricing-table th,
.pricing-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
  font-size: 13px;
  color: rgba(11, 18, 32, 0.86);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pricing-table thead th {
  background: rgba(11, 18, 32, 0.04);
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table-price {
  white-space: nowrap;
  font-weight: 900;
}

.pricing-terms {
  margin-top: 14px;
}

.pricing-head {
  margin-top: 22px;
}
.pricing-subhead {
  font-size: 18px;
}

.pricing-examples {
  align-items: stretch;
}

.pricing-kpi {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 18, 32, 0.12);
}
.pricing-kpi-mid {
  margin: 0 0 6px;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.86);
  font-size: 13px;
}
.pricing-kpi-mid + .pricing-kpi-mid {
  margin-top: -2px;
}
.pricing-kpi-main {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.pricing-kpi-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* Form */
.form .field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.form label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 14px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(243, 222, 0, 0.55);
  outline-offset: 2px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  padding-top: 26px;
  background: transparent;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}
.footer-title {
  margin: 0 0 6px;
  font-weight: 800;
}
.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-nav {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  padding: 14px 0;
  color: var(--muted2);
}

/* Responsive */
@media (max-width: 980px) {
  .grid.three {
    grid-template-columns: 1fr;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
  .footer-nav {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, auto);
    gap: 12px 16px;
  }
}

/* 〜タブレット：ヘッダーは出さず、タワー右上にハンバーガーだけ */
@media (max-width: 1099px) {
  .side-nav {
    display: none;
  }
  .social-rail {
    display: none;
  }

  /* モバイル時：右下のメニューボタン分、タワー下部に余白を確保 */
  .tower-page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .hero-card {
    padding-top: 0; /* topbarがあるので不要 */
    background: transparent;
  }

  .hero {
    padding-top: 12px; /* ①：セクション上余白を詰める */
  }

  .tower {
    padding-top: 0; /* ①：タワー内の上余白も削る */
  }

  .tower-nav-toggle {
    display: inline-flex;
    position: fixed;
    top: auto;
    /* タワー（中央枠）内の右下に常駐させる */
    right: calc(((100vw - min(var(--towerW), calc(100vw - 36px))) / 2) + 14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 1000;
    background: #ffffff; /* 白のシンプルな状態 */
    border: 1px solid rgba(11, 18, 32, 0.12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    padding: 12px 14px;
    border-radius: 16px;
  }

  .tower-nav-panel {
    position: fixed;
    top: auto;
    left: calc(((100vw - min(var(--towerW), calc(100vw - 36px))) / 2) + 14px + env(safe-area-inset-left));
    right: calc(((100vw - min(var(--towerW), calc(100vw - 36px))) / 2) + 14px + env(safe-area-inset-right));
    bottom: calc(74px + env(safe-area-inset-bottom)); /* 右下ボタンの上に表示 */
    border-radius: 18px;
    border: 1px solid rgba(11, 18, 32, 0.14);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: var(--shadow);
    z-index: 999;
    max-height: calc(100vh - 140px);
    overflow: auto;
  }
  .tower-nav-panel.is-open {
    display: flex;
  }
  .tower-nav-panel .nav-list {
    flex-direction: column;
    gap: 6px;
  }
  .tower-nav-panel .nav-link {
    padding: 12px;
  }
  .tower-nav-panel .nav-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* タワー内メニューの“LINEでお問い合わせ”ボタン */
  .menu-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    border: 2px solid rgba(11, 18, 32, 0.9);
    background: rgba(255, 255, 255, 0.98);
    color: rgba(11, 18, 32, 0.92);
    font-weight: 900;
    letter-spacing: -0.2px;
  }
  .menu-pill::after {
    content: "›";
    font-weight: 900;
    color: rgba(11, 18, 32, 0.7);
  }
}

/* Desktop: team-mir.ai風の左固定メニュー + 上ヘッダーはモバイル優先に */
@media (min-width: 1100px) {
  .tower-page {
    /* デスクトップではタワー幅を一定に保つ */
    width: var(--towerW);
    transform: translateX(var(--towerShiftPx));
  }
  :root {
    /* 画面が狭くなるほど左へ寄る（最大=110px、最小=24px） */
    --sideNavLeft: clamp(
      24px,
      calc((100vw - (var(--sideNavWidth) + var(--towerW) + 120px)) / 2),
      110px
    );
    /* 左メニュー + 余白 を確保してタワーと被らない */
    --leftRailW: calc(var(--sideNavLeft) + var(--sideNavWidth) + 40px);
    /* タワーを見た目で10%左へ（560pxの10% = 56px） */
    --towerShiftPx: -56px;
  }

  body {
    /* 左メニュー分だけ余白を作り、塔は残り領域の中央に来るようにする */
    padding-left: var(--leftRailW);
  }
  .side-nav {
    display: grid;
    gap: 14px;
    position: fixed;
    top: 84px; /* もう少し下から開始 */
    left: var(--sideNavLeft); /* 幅に応じて左へ寄る */
    z-index: 2;
    width: var(--sideNavWidth); /* 横幅を広げる（team-mir.ai寄せ） */
  }
  .side-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 18px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    display: grid;
    gap: 4px;
  }
  .side-link {
    display: block;
    padding: 14px 64px 14px 18px; /* 文字↔矢印の間に余白を作る */
    border-radius: 18px;
    color: rgba(11, 18, 32, 0.86);
    font-weight: 800;
    font-size: 18px; /* チームみらい相当に大きく */
    letter-spacing: -0.3px;
    position: relative;
  }
  .side-link::after {
    content: "›";
    position: absolute;
    right: 18px; /* 矢印を右へ */
    top: 50%;
    transform: translateY(-50%);
    color: rgba(11, 18, 32, 0.42);
    font-weight: 900;
  }
  .side-link:hover {
    background: rgba(255, 255, 255, 0.45);
    color: rgba(11, 18, 32, 0.9);
  }
  .side-link.is-active {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(11, 18, 32, 0.12);
  }

  /* 左メニュー下部の“LINEでお問い合わせ”ボタン（チームみらいの応援する風） */
  .side-pill {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: 999px;
    border: 2px solid rgba(11, 18, 32, 0.9);
    background: rgba(255, 255, 255, 0.92);
    color: rgba(11, 18, 32, 0.92);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.2px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  }
  .side-pill::after {
    content: "›";
    font-weight: 900;
    color: rgba(11, 18, 32, 0.7);
  }
  .side-pill:hover {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* 左メニュー下部ボタンの余白は .side-pill 自体の margin-top で管理 */

/* SNS 右サイド固定（team-mir.ai風） */
.social-rail {
  display: none;
}
@media (min-width: 1100px) {
  .social-rail {
    display: grid;
    gap: 14px;
    position: fixed;
    top: 50%;
    /* タワーの右脇に寄せる（画面端ではなく、タワー基準） */
    left: min(
      calc(var(--leftRailW) + (100vw - var(--leftRailW) + var(--towerW)) / 2 + 34px + var(--towerShiftPx)),
      calc(100vw - 68px)
    );
    right: auto;
    transform: translateY(-50%);
    z-index: 3;
  }
  .social-link {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.96);
    overflow: hidden; /* アイコン画像を丸くクリップ */
  }
  .social-link:hover {
    filter: brightness(1.02);
  }
  .social-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
  }

  .social-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  /* Instagram: もっと小さくして白背景（余白）を増やす */
  .social-link.is-instagram .social-img {
    width: 74%;
    height: 74%;
    object-fit: contain;
  }

  /* YouTube: 画像内の白帯が見えるので、画像だけ拡大して切り落とす */
  .social-link.is-youtube .social-img {
    transform: scale(1.22);
    transform-origin: center;
  }
}

@media (max-width: 520px) {
  .hero-photo {
    height: 320px;
  }
  .hero-overlay {
    left: 16px;
    right: 16px;
    bottom: 14px;
    gap: 10px;
  }
  .hero-topbar {
    height: 54px;
    padding: 0 12px;
  }
  .hero-topbar-logo img {
    height: 22px;
  }
  .hero-strip.line1 {
    font-size: 26px;
    padding: 12px 14px;
  }
  .hero-strip.line2 {
    font-size: 26px;
    padding: 12px 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* 代表挨拶 */
.message-panel {
  display: grid;
  gap: 16px;
}
.message-media {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.message-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}
.message-sign {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--muted);
}
.message-body p {
  margin: 0 0 12px;
  color: rgba(11, 18, 32, 0.78);
}
.message-body .list {
  margin: 0 0 12px;
}

/* ④ LINE問い合わせボタンを80%サイズ */
.side-pill,
.menu-pill {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}


