:root {
  --aiwt-ink: #111827;
  --aiwt-muted: #5f6b7a;
  --aiwt-brand: #4f46e5;
  --aiwt-brand-dark: #3730a3;
  --aiwt-cyan: #06b6d4;
  --aiwt-lime: #84cc16;
  --aiwt-soft: #f7f8fc;
  --aiwt-line: #e5e7eb;
  --aiwt-white: #ffffff;
  --aiwt-shadow: 0 18px 50px rgba(31, 41, 55, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--aiwt-ink);
  background: var(--aiwt-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:not(.home) .site-main {
  max-width: 1180px;
  margin-inline: auto;
}

.page .hero-section {
  display: none;
}

.page .site-main {
  padding-top: 0;
}

a {
  text-underline-offset: 0.18em;
}

#header [data-row*="middle"] {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(14px);
}

#header .site-title {
  font-weight: 800;
  letter-spacing: -0.04em;
}

#header .menu > li > a {
  font-size: 14px;
  font-weight: 700;
}

#footer [data-row="top"] {
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#footer [data-row="bottom"] {
  background: #0b1020;
}

#footer .footer-menu-inline .menu {
  justify-content: center;
  gap: 8px 22px;
}

#footer .ct-menu-link {
  color: #d8deea;
  font-size: 13px;
  font-weight: 700;
}

#footer .ct-menu-link:hover {
  color: #ffffff;
}

#footer .ct-footer-copyright {
  color: #929caf;
  font-size: 12px;
}

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

.aiwt-home {
  overflow: hidden;
}

.aiwt-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background-color: #f7f7fb;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(79, 70, 229, 0.09);
}

.aiwt-hero__inner {
  padding-block: 96px;
}

.aiwt-hero__copy {
  max-width: 610px;
}

.aiwt-eyebrow,
.aiwt-kicker {
  margin: 0 0 18px;
  color: var(--aiwt-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.aiwt-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.aiwt-lead,
.aiwt-section-lead {
  color: var(--aiwt-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
}

.aiwt-lead {
  max-width: 600px;
  margin: 28px 0 0;
}

.aiwt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.aiwt-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aiwt-button:hover {
  transform: translateY(-2px);
}

.aiwt-button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--aiwt-brand), #6d5dfc);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.28);
}

.aiwt-button--secondary {
  color: var(--aiwt-ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(17, 24, 39, 0.1);
}

.aiwt-button--light {
  color: var(--aiwt-ink);
  background: #fff;
}

.aiwt-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
  color: #455064;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.aiwt-proof li::before {
  content: "✓";
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  place-items: center;
  color: var(--aiwt-brand);
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
}

.aiwt-section {
  padding-block: clamp(72px, 9vw, 120px);
}

.aiwt-section--soft {
  background: var(--aiwt-soft);
}

.aiwt-section h2,
.aiwt-manifesto h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.aiwt-section-lead {
  max-width: 720px;
  margin: 20px 0 0;
}

.aiwt-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.aiwt-category-card {
  grid-column: span 2;
  min-height: 280px;
  padding: 28px;
  color: var(--aiwt-ink);
  background: #fff;
  border: 1px solid var(--aiwt-line);
  border-radius: 22px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aiwt-category-card:nth-child(4),
.aiwt-category-card:nth-child(5) {
  grid-column: span 3;
}

.aiwt-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--aiwt-shadow);
}

.aiwt-card-no {
  color: var(--aiwt-brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.aiwt-category-card h3 {
  margin: 54px 0 12px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.aiwt-category-card p {
  min-height: 78px;
  margin: 0;
  color: var(--aiwt-muted);
  line-height: 1.75;
}

.aiwt-card-link,
.aiwt-text-link {
  color: var(--aiwt-brand);
  font-weight: 800;
}

.aiwt-card-link {
  display: block;
  margin-top: 24px;
}

.aiwt-method__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.aiwt-text-link {
  display: inline-block;
  margin-top: 24px;
  text-decoration: none;
}

.aiwt-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aiwt-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--aiwt-line);
}

.aiwt-steps li > span {
  color: var(--aiwt-brand);
  font-size: 13px;
  font-weight: 900;
}

.aiwt-steps h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.aiwt-steps p {
  margin: 0;
  color: var(--aiwt-muted);
}

.aiwt-latest {
  background: #fff;
}

.aiwt-post-grid .wp-block-post-template {
  gap: 22px;
  margin-top: 42px;
}

.aiwt-post-card {
  height: 100%;
  overflow: hidden;
  padding: 0 0 24px;
  border: 1px solid var(--aiwt-line);
  border-radius: 18px;
}

.aiwt-post-card > *:not(.wp-block-post-featured-image) {
  margin-inline: 22px;
}

.aiwt-post-card .wp-block-post-featured-image {
  margin-bottom: 22px;
}

.aiwt-post-card .wp-block-post-terms {
  color: var(--aiwt-brand);
  font-size: 12px;
  font-weight: 800;
}

.aiwt-post-card .wp-block-post-title {
  margin-top: 10px;
  line-height: 1.5;
}

.aiwt-post-card .wp-block-post-title a {
  color: var(--aiwt-ink);
  text-decoration: none;
}

.aiwt-post-card .wp-block-post-excerpt {
  color: var(--aiwt-muted);
  font-size: 14px;
  line-height: 1.75;
}

.aiwt-manifesto {
  color: #fff;
  background: linear-gradient(135deg, #111827, #26244f 65%, #32308a);
}

.aiwt-manifesto__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  gap: 42px;
  align-items: center;
}

.aiwt-manifesto .aiwt-kicker {
  color: #9fa8ff;
}

.aiwt-manifesto p {
  color: #d5d9e3;
  line-height: 1.9;
}

.entry-content > .aiwt-content,
.aiwt-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.aiwt-content .aiwt-page-lead {
  color: var(--aiwt-muted);
  font-size: 20px;
  line-height: 1.9;
}

.aiwt-content h2 {
  margin-top: 56px;
  padding-top: 12px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.aiwt-content h3 {
  margin-top: 36px;
  font-size: 22px;
}

.aiwt-content p,
.aiwt-content li {
  line-height: 1.95;
}

.aiwt-note,
.aiwt-disclosure {
  padding: 20px 22px;
  background: var(--aiwt-soft);
  border: 1px solid var(--aiwt-line);
  border-left: 4px solid var(--aiwt-brand);
  border-radius: 12px;
}

.aiwt-disclosure {
  margin: 0 0 32px;
  font-size: 14px;
}

.aiwt-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
  color: var(--aiwt-muted);
  font-size: 13px;
}

.aiwt-verdict,
.aiwt-cta {
  margin: 32px 0;
  padding: 26px;
  border-radius: 18px;
}

.aiwt-verdict {
  background: linear-gradient(135deg, #eef1ff, #f6fbff);
  border: 1px solid #d9def8;
}

.aiwt-verdict h2,
.aiwt-cta h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 24px;
}

.aiwt-goodbad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.aiwt-goodbad > div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--aiwt-line);
  border-radius: 14px;
}

.aiwt-table-wrap {
  margin: 24px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--aiwt-line);
  border-radius: 14px;
}

.aiwt-table-wrap table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.aiwt-table-wrap th,
.aiwt-table-wrap td {
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--aiwt-line);
  text-align: left;
  vertical-align: top;
}

.aiwt-table-wrap th {
  background: #f4f5fb;
  color: var(--aiwt-ink);
  font-size: 14px;
}

.aiwt-cta {
  background: var(--aiwt-ink);
  color: #fff;
}

.aiwt-cta p {
  color: #d9deeb;
}

.aiwt-cta .aiwt-button {
  background: linear-gradient(135deg, var(--aiwt-brand), #7248ff);
  color: #fff;
}

.aiwt-source-list {
  padding: 20px 22px;
  background: #fafafd;
  border: 1px solid var(--aiwt-line);
  border-radius: 14px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .aiwt-hero {
    min-height: 720px;
    background-position: 60% center;
  }

  .aiwt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 248, 252, 0.98) 0%, rgba(248, 248, 252, 0.9) 54%, rgba(248, 248, 252, 0.3) 100%);
  }

  .aiwt-hero {
    position: relative;
  }

  .aiwt-hero__inner {
    position: relative;
    z-index: 1;
  }

  .aiwt-category-card,
  .aiwt-category-card:nth-child(4),
  .aiwt-category-card:nth-child(5) {
    grid-column: span 3;
  }

  .aiwt-method__grid,
  .aiwt-manifesto__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 620px) {
  .aiwt-container {
    width: min(100% - 28px, 1180px);
  }

  .aiwt-hero {
    min-height: 650px;
    background-position: 68% center;
  }

  .aiwt-hero__inner {
    padding-block: 72px;
  }

  .aiwt-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .aiwt-actions,
  .aiwt-button {
    width: 100%;
  }

  .aiwt-goodbad {
    grid-template-columns: 1fr;
  }

  .aiwt-verdict,
  .aiwt-cta {
    padding: 22px 20px;
  }

  .aiwt-proof {
    display: grid;
    gap: 12px;
  }

  .aiwt-category-card,
  .aiwt-category-card:nth-child(4),
  .aiwt-category-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .aiwt-category-card {
    min-height: auto;
  }

  .aiwt-category-card h3 {
    margin-top: 30px;
  }

  .aiwt-category-card p {
    min-height: 0;
  }
}

* { box-sizing: border-box; }
body { margin: 0; color: #111827; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", sans-serif; }
img { max-width: 100%; height: auto; }
a { color: #4338ca; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; background: #111827; color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid #e5e7eb; backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #111827; font-size: 18px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; color: #fff; background: linear-gradient(135deg,#4f46e5,#06b6d4); border-radius: 12px; font-size: 14px; letter-spacing: -.02em; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: #334155; font-size: 14px; font-weight: 750; text-decoration: none; }
.home-hero { min-height: 680px; display: flex; align-items: center; background: #f7f8fc url('/assets/ai-work-tools-lab-hero.webp') center/cover no-repeat; border-bottom: 1px solid rgba(79,70,229,.09); }
.hero-inner { padding-block: 96px; }
.hero-inner > * { max-width: 620px; }
.eyebrow { margin: 0 0 18px; color: #4f46e5; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.home-hero h1 { margin: 0; font-size: clamp(42px,6vw,74px); line-height: 1.08; letter-spacing: -.055em; }
.hero-lead,.section-lead { color: #5f6b7a; font-size: clamp(17px,2vw,20px); line-height: 1.85; }
.hero-lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 850; text-decoration: none; }
.button--primary { color: #fff; background: linear-gradient(135deg,#4f46e5,#7248ff); box-shadow: 0 15px 30px rgba(79,70,229,.25); }
.button--secondary { color: #111827; background: rgba(255,255,255,.82); border-color: #d8dbe6; }
.button--light { color: #111827; background: #fff; }
.proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 0; padding: 0; list-style: none; color: #475569; font-size: 14px; font-weight: 700; }
.proof li::before { content: '✓'; margin-right: 7px; color: #65a30d; }
.section { padding: 96px 0; }
.section--soft { background: #f7f8fc; }
.section h2,.promise h2 { margin: 0; font-size: clamp(32px,4vw,50px); line-height: 1.18; letter-spacing: -.045em; }
.section-lead { max-width: 760px; }
.category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.category-card { grid-column: span 2; min-height: 270px; padding: 25px; color: #111827; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 18px 50px rgba(31,41,55,.06); text-decoration: none; transition: transform .2s,border-color .2s; }
.category-card:nth-child(4),.category-card:nth-child(5) { grid-column: span 3; }
.category-card:hover { transform: translateY(-4px); border-color: #a5b4fc; }
.category-card > span { color: #4f46e5; font-size: 12px; font-weight: 900; }
.category-card h3 { margin: 48px 0 12px; font-size: 24px; }
.category-card p { min-height: 72px; color: #64748b; line-height: 1.75; }
.category-card b,.text-link { font-size: 14px; font-weight: 850; }
.post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; margin-top: 42px; }
.post-card { overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: 22px; box-shadow: 0 18px 50px rgba(31,41,55,.08); }
.post-card__image { display: block; aspect-ratio: 16/9; background: #eef2ff; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 26px; }
.post-card__category { margin: 0 0 10px; color: #4f46e5; font-size: 12px; font-weight: 850; }
.post-card h3 { margin: 0; font-size: 24px; line-height: 1.45; }
.post-card h3 a { color: #111827; text-decoration: none; }
.post-card__body > p:not(.post-card__category) { color: #64748b; line-height: 1.8; }
.method { background: #111827; color: #fff; }
.method .section-lead,.method p { color: #cbd5e1; }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.method ol { margin: 0; padding: 0; list-style: none; }
.method li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.method li > span { color: #67e8f9; font-weight: 900; }
.method h3 { margin: 0 0 5px; }
.method li p { margin: 0; }
.promise { padding: 82px 0; color: #fff; background: linear-gradient(135deg,#4f46e5,#312e81); }
.promise-inner { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 42px; }
.promise .eyebrow { color: #a5f3fc; }
.promise p { line-height: 1.85; color: #e0e7ff; }
.site-footer { padding-top: 64px; color: #cbd5e1; background: #0f172a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding-bottom: 42px; }
.brand--footer { color: #fff; }
.site-footer p { color: #94a3b8; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 14px 24px; }
.site-footer nav a { color: #d8deea; font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8491a7; font-size: 12px; }
.article-main,.page-main { background: #f8fafc; }
.article-hero { padding: 82px 0 64px; background: linear-gradient(180deg,#eef2ff,#f8fafc); border-bottom: 1px solid #e2e8f0; }
.article-shell { width: min(1060px,calc(100% - 40px)); margin-inline: auto; }
.article-hero h1 { max-width: 880px; margin: 0; font-size: clamp(34px,5vw,58px); line-height: 1.22; letter-spacing: -.045em; }
.article-hero p:last-child { max-width: 760px; margin-top: 22px; color: #64748b; font-size: 18px; line-height: 1.8; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 240px; gap: 54px; align-items: start; padding-block: 54px 96px; }
.article-layout > article,.page-main .aiwt-content { padding: 38px; background: #fff; border: 1px solid #e5e7eb; border-radius: 22px; box-shadow: 0 18px 50px rgba(31,41,55,.06); }
.side-card { position: sticky; top: 96px; padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; color: #64748b; line-height: 1.75; }
.side-card strong { color: #111827; }
.side-card a { font-weight: 800; }
.page-main { min-height: 60vh; padding: 72px 0 96px; }
.page-main .aiwt-content { max-width: 820px; margin-inline: auto; }
.page-main h1 { font-size: clamp(34px,5vw,54px); letter-spacing: -.045em; }
.category-results { margin-top: 48px; }
.empty-state { padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; color: #64748b; }
.not-found { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.not-found h1 { font-size: clamp(38px,6vw,68px); }
.not-found .button { margin-top: 24px; }
.aiwt-content { max-width: none; }
.aiwt-content > h2 { scroll-margin-top: 100px; }
.aiwt-content figure img { border-radius: 14px; }
@media (max-width: 900px) {
  .site-header nav a:nth-child(2),.site-header nav a:nth-child(3) { display: none; }
  .home-hero { min-height: 700px; background-position: 62% center; }
  .home-hero::before { content: ''; position: absolute; inset: 72px 0 auto; height: 628px; background: linear-gradient(90deg,rgba(248,248,252,.98),rgba(248,248,252,.88) 58%,rgba(248,248,252,.25)); }
  .home-hero { position: relative; }
  .hero-inner { position: relative; }
  .category-card,.category-card:nth-child(4),.category-card:nth-child(5) { grid-column: span 3; }
  .method-grid,.promise-inner,.article-layout { grid-template-columns: 1fr; }
  .article-layout aside { display: none; }
  .promise-inner { gap: 24px; }
}
@media (max-width: 620px) {
  .shell,.article-shell { width: min(100% - 28px,1180px); }
  .header-inner { min-height: 64px; }
  .site-header nav a:not(:first-child) { display: none; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .home-hero { min-height: 640px; background-position: 68% center; }
  .home-hero::before { top: 64px; height: 576px; }
  .hero-inner { padding-block: 68px; }
  .home-hero h1 { font-size: 36px; }
  .hero-actions,.hero-actions .button { width: 100%; }
  .section { padding: 72px 0; }
  .category-card,.category-card:nth-child(4),.category-card:nth-child(5) { grid-column: 1/-1; min-height: auto; }
  .category-card h3 { margin-top: 28px; }
  .category-card p { min-height: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 58px 0 44px; }
  .article-hero h1 { font-size: 34px; }
  .article-layout,.page-main { padding-block: 28px 64px; }
  .article-layout > article,.page-main .aiwt-content { padding: 22px 18px; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer nav { justify-content: flex-start; }
}
