/**
 * AiSpace 学会WEBシステム — テーマCSS
 * 白・紺・青・グレー基調。医療・学術系の信頼感、業務システム的な情報密度。
 */

:root {
  --navy-900: #0d2440;
  --navy-800: #122f54;
  --navy-700: #18406f;
  --navy-600: #1f5189;
  --blue-600: #1f6fd0;
  --blue-500: #2d80e6;
  --blue-100: #e3eefc;
  --blue-050: #f2f7fe;
  --sky-100: #eaf3ff;
  --teal-600: #0f8a8a;
  --green-600: #1f9d5b;
  --green-100: #e3f6ec;
  --amber-600: #c9881c;
  --amber-100: #fdf4e3;
  --red-600: #d23b41;
  --ink-900: #1a2433;
  --ink-700: #384559;
  --ink-500: #5d6b80;
  --ink-400: #7c8aa0;
  --line-300: #d8e0ea;
  --line-200: #e6ecf3;
  --bg-100: #f4f7fb;
  --bg-050: #f9fbfd;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13,36,64,.06), 0 1px 3px rgba(13,36,64,.08);
  --shadow-md: 0 4px 14px rgba(13,36,64,.10);
  --shadow-lg: 0 16px 40px rgba(13,36,64,.16);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg-100);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; color: var(--navy-900); font-weight: 700; }

.gk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.gk-header {
  background: var(--white);
  border-bottom: 1px solid var(--line-200);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.gk-header__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.gk-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900);
  font-size: 16px; flex: 0 0 auto; white-space: nowrap; line-height: 1.25; }
.gk-brand:hover { text-decoration: none; }
.gk-brand__mark {
  width: 36px; height: 36px; flex: 0 0 auto; display: block;
}
.gk-brand__sub { font-size: 10px; color: var(--ink-500); font-weight: 500; display: block; white-space: nowrap; }
.gk-header__nav { margin-left: auto; min-width: 0; }
.gk-header__cta {
  background: var(--blue-600); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.gk-header__cta:hover { background: var(--navy-700); text-decoration: none; }

/* Primary menu (drupal_menu('main') => plain <ul><li><a>) */
.gk-header__nav ul {
  display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; align-items: center;
  justify-content: flex-end;
}
.gk-header__nav li { list-style: none; margin: 0; }
.gk-header__nav a {
  display: block; padding: 8px 9px; color: var(--ink-700); font-weight: 600; font-size: 13.5px;
  border-radius: 6px; white-space: nowrap;
}
.gk-header__nav a:hover,
.gk-header__nav a.is-active { background: var(--blue-050); color: var(--navy-700); text-decoration: none; }

/* ---------- Layout ---------- */
.gk-main { padding: 36px 0 64px; }
.gk-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
.gk-layout.has-sidebar { grid-template-columns: 1fr 300px; }
.gk-page-title { font-size: 30px; margin: 0 0 8px; }
.gk-breadcrumb { font-size: 13px; color: var(--ink-500); margin: 0 0 10px; }
.gk-breadcrumb a { color: var(--ink-500); }

/* ---------- Page title block ---------- */
#block-gakkai-page-title { margin-bottom: 24px; }
#block-gakkai-page-title h1,
.page-title { font-size: 30px; margin: 0; color: var(--navy-900); font-weight: 700; line-height: 1.3; }
/* カスタムテンプレートで gk-page-title h1 を使うコンテンツタイプはブロックを非表示 */
.gk-bundle-feature #block-gakkai-page-title,
.gk-bundle-screen #block-gakkai-page-title,
.gk-bundle-article #block-gakkai-page-title,
.gk-bundle-case_study #block-gakkai-page-title,
.gk-bundle-faq #block-gakkai-page-title,
.gk-bundle-glossary #block-gakkai-page-title,
.gk-bundle-news #block-gakkai-page-title,
.gk-bundle-page #block-gakkai-page-title { display: none; }

/* ---------- Buttons ---------- */
.gk-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer;
}
.gk-btn--primary { background: var(--blue-600); color: #fff; }
.gk-btn--primary:hover { background: var(--navy-700); text-decoration: none; }
.gk-btn--ghost { background: #fff; color: var(--navy-700); border-color: var(--line-300); }
.gk-btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); text-decoration: none; }
.gk-btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.gk-btn--light:hover { background: rgba(255,255,255,.24); text-decoration: none; }
.gk-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- Hero ---------- */
.gk-hero {
  background: radial-gradient(1200px 500px at 80% -10%, var(--navy-700), var(--navy-900) 60%);
  color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.gk-hero::after {
  content: ""; position: absolute; right: -120px; top: -60px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(45,128,230,.35), transparent 70%); border-radius: 50%;
}
.gk-hero__eyebrow { display: inline-block; background: rgba(255,255,255,.12); color: #cfe0f5;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.gk-hero h1 { color: #fff; font-size: 38px; line-height: 1.35; margin: 0 0 18px; max-width: 22em; }
.gk-hero__lead { font-size: 17px; color: #dce7f5; max-width: 44em; }
.gk-hero__body { color: #c3d3e6; margin-top: 12px; max-width: 48em; }

/* ---------- Sections ---------- */
.gk-section { padding: 56px 0; }
.gk-section--tint { background: var(--white); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
.gk-section--navy { background: var(--navy-900); color: #fff; }
.gk-section--navy h2, .gk-section--navy h3 { color: #fff; }
.gk-section__head { text-align: center; max-width: 46em; margin: 0 auto 34px; }
.gk-section__head h2 { font-size: 28px; margin: 0 0 10px; }
.gk-section__head p { color: var(--ink-500); margin: 0; }
.gk-section--navy .gk-section__head p { color: #b9c8db; }
.gk-eyebrow { color: var(--blue-600); font-weight: 700; font-size: 13px; letter-spacing: .04em; display: block; margin-bottom: 6px; }

/* ---------- Cards grid ---------- */
/* Views render rows as direct children of the .view (.gk-cards) element. */
.gk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
/* Non-row view parts span the full width and sit on their own line. */
.gk-cards > .view-filters,
.gk-cards .views-exposed-form,
.gk-cards > .view-header,
.gk-cards > .view-footer,
.gk-cards > .view-empty,
.gk-cards > .pager,
.gk-cards > nav,
.gk-cards > .feed-icons { grid-column: 1 / -1; }
.gk-cards .views-row, .gk-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-lg);
  padding: 20px 20px 18px; box-shadow: var(--shadow-sm); transition: .15s; height: 100%;
}
.gk-cards .views-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue-100); }
.gk-cards .views-field-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.gk-cards .views-field-title a { color: var(--navy-800); }
.gk-cards .views-field { font-size: 14px; color: var(--ink-700); }
.gk-cards .views-field-field-catchcopy { color: var(--blue-600); font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.gk-cards .views-label { color: var(--ink-400); font-size: 12px; margin-right: 4px; }
/* ---------- Cards: カテゴリ/ラベル処理 ---------- */
/* 記事カードのカテゴリラベル非表示 */
.gk-cards .views-label-field-article-category { display: none; }
/* 記事カテゴリをチップ表示 */
.gk-cards .views-field-field-article-category { margin-top: 8px; }
.gk-cards .views-field-field-article-category a {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--ink-500);
  background: var(--bg-100); border: 1px solid var(--line-200); padding: 2px 10px;
  border-radius: 999px; text-decoration: none;
}
.gk-cards .views-field-field-article-category a:hover { border-color: var(--blue-500); color: var(--blue-600); }
/* 導入事例カードのラベルをメタ情報スタイルに */
.gk-cards .views-label-field-society-type,
.gk-cards .views-label-field-scale { font-size: 11px; font-weight: 700; color: var(--ink-400); margin-right: 4px; }
.gk-cards .views-field-field-society-type,
.gk-cards .views-field-field-scale { font-size: 13px; color: var(--ink-700); margin-top: 4px; display: flex; align-items: baseline; gap: 2px; }
/* お知らせカテゴリをチップ表示 */
.gk-news .views-field-field-news-category a {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--ink-500);
  background: var(--bg-100); border: 1px solid var(--line-200); padding: 2px 10px;
  border-radius: 999px; text-decoration: none;
}
/* 画面カードチップ内リンクの色をchipに合わせる */
.gk-cards--screens .views-field-field-device-type a,
.gk-cards--screens .views-field-field-screen-category a { color: inherit; text-decoration: none; }

/* Screen cards: image on top, then title, chips, description. */
.gk-cards--screens .views-row { display: flex; flex-direction: column; }
.gk-cards--screens .views-field-field-screenshot { order: 1; }
.gk-cards--screens .views-field-title { order: 2; }
.gk-cards--screens .views-field-field-device-type { order: 3; }
.gk-cards--screens .views-field-field-screen-category { order: 4; }
.gk-cards--screens .views-field-field-problems { order: 5; }
.gk-cards--screens .views-field-field-device-type,
.gk-cards--screens .views-field-field-screen-category {
  display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700;
  color: var(--navy-700); background: var(--blue-050); border: 1px solid var(--blue-100);
  padding: 2px 9px; border-radius: 999px; margin: 0 0 0; line-height: 1.7;
}
.gk-cards--screens .views-field-field-device-type { margin-top: 8px; }
.gk-cards--screens .views-field-field-screen-category { margin-top: 4px; }
.gk-cards--screens .views-field-field-problems { margin-top: 8px; color: var(--ink-700); font-size: 13.5px; }
.gk-card__tag { display: inline-block; background: var(--blue-050); color: var(--navy-700); font-size: 11px;
  font-weight: 700; padding: 3px 9px; border-radius: 999px; margin: 0 4px 6px 0; }
/* Card thumbnail (screen list) */
.gk-cards--screens .views-field-field-screenshot { margin: -4px -4px 10px; }
.gk-cards--screens .views-field-field-screenshot img {
  width: 100%; height: 150px; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid var(--line-200); display: block;
}

/* ---------- Screenshot frames ---------- */
.gk-frame { margin: 0 auto; }
.gk-frame--browser {
  background: #fff; border: 1px solid var(--line-300); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gk-frame--browser .gk-frame__bar {
  height: 38px; background: linear-gradient(#f3f6fa, #e9eef5); border-bottom: 1px solid var(--line-200);
  display: flex; align-items: center; padding: 0 14px; gap: 7px;
}
.gk-frame--browser .gk-frame__dot { width: 11px; height: 11px; border-radius: 50%; background: #cdd6e2; }
.gk-frame--browser .gk-frame__url {
  margin-left: 12px; background: #fff; border: 1px solid var(--line-200); border-radius: 999px;
  font-size: 12px; color: var(--ink-400); padding: 3px 14px; flex: 1; max-width: 60%;
}
.gk-frame--browser img { display: block; width: 100%; }
.gk-frame--browser .gk-frame__placeholder,
.gk-frame--mobile .gk-frame__placeholder {
  display: grid; place-items: center; color: var(--ink-400); font-size: 13px; text-align: center;
  background: repeating-linear-gradient(45deg, #f4f7fb, #f4f7fb 12px, #eef2f8 12px, #eef2f8 24px);
  padding: 60px 20px; line-height: 1.8;
}
.gk-frame--mobile {
  width: 300px; background: #0d1726; border-radius: 36px; padding: 12px; box-shadow: var(--shadow-lg);
}
.gk-frame--mobile .gk-frame__screen { background: #fff; border-radius: 26px; overflow: hidden; position: relative; }
.gk-frame--mobile .gk-frame__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 22px;
  background: #0d1726; border-radius: 0 0 14px 14px; z-index: 2;
}
.gk-frame--mobile img { display: block; width: 100%; }

/* ---------- Node: screen / feature detail ---------- */
.gk-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.gk-detail__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.gk-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.gk-chip--blue { color: var(--navy-700); background: var(--blue-050); border: 1px solid var(--blue-100); }
.gk-chip--user { color: var(--ink-700); background: var(--bg-100); border: 1px solid var(--line-200); font-weight: 600; }
.gk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* 対象ユーザー / 関連項目: inline tags instead of stacked links. */
.field--name-field-target-users .field__items { display: flex; flex-wrap: wrap; gap: 6px; }
.field--name-field-target-users .field__item a {
  display: inline-block; font-size: 12px; background: var(--bg-100); border: 1px solid var(--line-200);
  color: var(--ink-700); padding: 2px 10px; border-radius: 999px;
}
.field--name-field-target-users .field__item a:hover { text-decoration: none; border-color: var(--blue-500); color: var(--blue-600); }
.gk-field { margin: 0 0 20px; }
.gk-field__label { font-weight: 700; color: var(--navy-700); font-size: 14px; border-left: 4px solid var(--blue-500);
  padding-left: 10px; margin-bottom: 8px; }
.gk-field ul { margin: 6px 0; padding-left: 1.2em; }
.gk-field li { margin: 3px 0; }
.gk-field li:empty { display: none; }
.gk-relations { background: var(--bg-050); border: 1px solid var(--line-200); border-radius: var(--radius); padding: 18px 20px; }
.gk-relations h3 { font-size: 15px; margin: 0 0 8px; }
.gk-relations ul { list-style: none; margin: 0; padding: 0; }
.gk-relations li { padding: 4px 0; border-bottom: 1px dashed var(--line-200); }
.gk-badge { display: inline-block; background: var(--amber-600); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; }
.gk-note { background: var(--amber-100); border: 1px solid #f0dcae; color: #7a5a14; padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 13px; }

/* ---------- Screen info panel (slim) ---------- */
.gk-screen-info { display: flex; flex-direction: column; gap: 0; }
.gk-screen-info__users { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.gk-screen-info__scene {
  font-size: 17px; font-weight: 700; color: var(--navy-800); line-height: 1.55;
  margin: 0 0 20px; padding: 14px 18px;
  background: var(--blue-050); border-left: 4px solid var(--blue-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gk-screen-info__scene p { margin: 0; }
.gk-screen-info__problems { margin: 0 0 22px; }
.gk-screen-info__label {
  font-size: 12px; font-weight: 700; color: var(--ink-400); letter-spacing: .06em;
  text-transform: uppercase; margin: 0 0 8px;
}
.gk-screen-info__problems p { font-size: 14.5px; color: var(--ink-700); margin: 0; line-height: 1.7; }
.gk-screen-info__problems ul { margin: 4px 0; padding-left: 1.3em; }
.gk-screen-info__problems li { font-size: 14px; color: var(--ink-700); margin: 4px 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.gk-faq .views-row { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.gk-faq .views-field-title { font-weight: 700; color: var(--navy-800); font-size: 16px; }
.gk-faq .views-field-title::before { content: "Q. "; color: var(--blue-600); font-weight: 800; }
.gk-faq .views-field-field-answer { color: var(--ink-700); font-size: 14px; margin-top: 6px; }
/* hide redundant "カテゴリ" label, show value as small chip */
.gk-faq .views-field-field-faq-category .views-label { display: none; }
.gk-faq .views-field-field-faq-category { margin-top: 8px; }
.gk-faq .views-field-field-faq-category a {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--ink-500);
  background: var(--bg-100); border: 1px solid var(--line-200); padding: 2px 10px; border-radius: 999px;
}

/* ---------- Glossary / News ---------- */
.gk-glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gk-glossary .views-row { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius);
  padding: 14px 18px; }
.gk-glossary .views-field-title { font-weight: 700; font-size: 16px; color: var(--navy-800); display: inline; }
.gk-glossary .views-field-field-reading { display: inline; color: var(--ink-400); font-size: 12px; margin-left: 8px; }
.gk-glossary .views-field-field-reading .views-label { display: none; }
.gk-glossary .views-field-field-short-desc { color: var(--ink-700); font-size: 14px; margin-top: 6px; }
@media (max-width: 640px) { .gk-glossary { grid-template-columns: 1fr; } }
.gk-news .views-row { display: flex; gap: 16px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid var(--line-200); }
.gk-news .views-field-created { color: var(--ink-500); font-size: 13px; white-space: nowrap; }
.gk-news .views-field-field-news-category { font-size: 11px; }

/* exposed filters */
.views-exposed-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: #fff;
  border: 1px solid var(--line-200); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; }
.views-exposed-form label { font-size: 12px; font-weight: 700; color: var(--ink-700); display: block; }
.views-exposed-form select, .views-exposed-form input { padding: 7px 10px; border: 1px solid var(--line-300);
  border-radius: 6px; font-size: 14px; }
.views-exposed-form .form-actions { display: flex; gap: 8px; }
.views-exposed-form .button { background: var(--blue-600); color: #fff; border: 0; padding: 8px 16px;
  border-radius: 6px; font-weight: 700; cursor: pointer; }

/* pager */
.pager__items { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; align-items: center; margin: 28px 0 0; flex-wrap: wrap; }
.pager__item { display: block; width: auto; height: auto; background: none; }
.pager__item a, .pager__link { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto;
  padding: 6px 14px; border: 1px solid var(--line-300); border-radius: 6px; background: #fff;
  font-size: 14px; color: var(--navy-800); text-decoration: none; line-height: 1.5; }
.pager__item a:hover, .pager__link:hover { background: var(--bg-50); border-color: var(--blue-600); color: var(--blue-600); }
.pager__item--active a, .pager__item--active .pager__link,
.pager__item.is-active a { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ---------- Webform (問い合わせ) ---------- */
.webform-submission-form { max-width: 760px; }
.webform-submission-form .form-item,
.webform-submission-form .js-form-item { margin-bottom: 18px; }
.webform-submission-form label,
.webform-submission-form .form-item__label { display: block; font-weight: 700; color: var(--navy-800);
  font-size: 14px; margin-bottom: 6px; }
.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form input[type="number"],
.webform-submission-form select,
.webform-submission-form textarea {
  width: 100%; max-width: 520px; padding: 10px 12px; border: 1px solid var(--line-300);
  border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font); background: #fff;
}
.webform-submission-form textarea { max-width: 100%; }
.webform-submission-form input:focus,
.webform-submission-form select:focus,
.webform-submission-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.webform-submission-form fieldset {
  border: 1px solid var(--line-200); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 18px;
}
.webform-submission-form legend { font-weight: 700; color: var(--navy-700); padding: 0 6px; font-size: 14px; }
/* radios / checkboxes as inline rows */
.webform-submission-form .form-checkboxes .form-item,
.webform-submission-form .form-radios .form-item { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.webform-submission-form .form-checkboxes,
.webform-submission-form .form-radios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 18px; }
.webform-submission-form .form-checkboxes label,
.webform-submission-form .form-radios label { display: inline; font-weight: 500; margin: 0; }
.webform-submission-form input[type="checkbox"],
.webform-submission-form input[type="radio"] { width: auto; flex: 0 0 auto; }
.webform-submission-form .form-required::after,
.webform-submission-form .js-form-required::after { content: " *"; color: var(--red-600); }
.webform-submission-form .description,
.webform-submission-form .form-item__description { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
.webform-submission-form .form-actions { margin-top: 8px; }
.webform-submission-form .webform-button--submit,
.webform-submission-form input[type="submit"], .webform-submission-form button[type="submit"] {
  background: var(--blue-600); color: #fff; border: 0; padding: 12px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.webform-submission-form .webform-button--submit:hover,
.webform-submission-form input[type="submit"]:hover { background: var(--navy-700); }
@media (max-width: 640px) {
  .webform-submission-form .form-checkboxes,
  .webform-submission-form .form-radios { grid-template-columns: 1fr; }
}

/* ---------- Steps (導入の流れ) ---------- */
.gk-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.gk-step { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius); padding: 18px; position: relative; }
.gk-step__n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.gk-step h3 { font-size: 15px; margin: 0 0 6px; }
.gk-step p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* ---------- Problems / audience grids ---------- */
.gk-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gk-problem { background: #fff; border: 1px solid var(--line-200); border-left: 4px solid var(--amber-600);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-700); }
.gk-audience { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius); padding: 18px; }
.gk-audience h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy-700); }
.gk-audience p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* ---------- Showcase (推し機能) ---------- */
.gk-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 18px; }
.gk-showcase__copy h3 { font-size: 22px; margin: 0 0 12px; }
.gk-showcase__copy p { color: var(--ink-700); }
.gk-section--navy .gk-showcase__copy p { color: #c3d3e6; }
.gk-mockup-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.gk-footer { background: var(--navy-900); color: #c3d3e6; padding: 48px 0 0; margin-top: 40px; }
.gk-footer a { color: #c3d3e6; }
.gk-footer a:hover { color: #fff; }
.gk-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.gk-footer h4, .gk-footer .gk-footer__label { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.gk-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.gk-footer li { padding: 4px 0; }
.gk-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12px; color: #8da3bd; }

/* ---------- Responsive ---------- */
/* CSS-only hamburger toggle */
.gk-nav-toggle { display: none; }
.gk-nav-hamburger { display: none; }

@media (max-width: 980px) {
  .gk-cards { grid-template-columns: repeat(2, 1fr); }
  .gk-detail, .gk-showcase { grid-template-columns: 1fr; }
  .gk-steps { grid-template-columns: repeat(2, 1fr); }
  .gk-grid-3 { grid-template-columns: 1fr 1fr; }
  .gk-footer__cols { grid-template-columns: 1fr 1fr; }
  .gk-layout.has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gk-hero h1 { font-size: 28px; }
  .gk-cards, .gk-grid-2, .gk-grid-3 { grid-template-columns: 1fr; }
  .gk-section { padding: 40px 0; }
  /* Brand: hide subtitle on small screens */
  .gk-brand__sub { display: none; }
  /* Header: enable hamburger */
  .gk-header__inner { flex-wrap: wrap; align-items: center; gap: 0; }
  .gk-header__cta { display: none; }
  .gk-header__nav {
    display: none; width: 100%; order: 4;
    background: #fff; border-top: 1px solid var(--line-200);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .gk-header__nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .gk-header__nav a { font-size: 15px; padding: 12px 20px; border-radius: 0; }
  .gk-nav-hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; cursor: pointer; padding: 10px; order: 3; flex-shrink: 0;
  }
  .gk-nav-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--ink-700);
    transition: transform .2s, opacity .2s;
  }
  .gk-nav-toggle:checked ~ .gk-nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gk-nav-toggle:checked ~ .gk-nav-hamburger span:nth-child(2) { opacity: 0; }
  .gk-nav-toggle:checked ~ .gk-nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gk-nav-toggle:checked ~ .gk-header__nav { display: block; }
  /* Footer: single column */
  .gk-footer__cols { grid-template-columns: 1fr; }
}

/* モデルケース（導入イメージ）注記 */
.gk-model-note {
  font-size: 13px;
  color: var(--ink-500);
  background: var(--ink-50, #f4f6f9);
  border-left: 3px solid var(--ink-300, #b9c4d4);
  padding: 8px 12px;
  border-radius: 4px;
  margin: 4px 0 20px;
}

/* カード全体をリンク化（トップ: 代表機能・導入イメージ） */
.gk-feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}
.gk-feature-link .gk-audience { height: 100%; transition: box-shadow .15s ease, transform .15s ease; }
.gk-feature-link:hover .gk-audience,
.gk-feature-link:focus-visible .gk-audience {
  box-shadow: 0 4px 16px rgba(26, 58, 107, .14);
  transform: translateY(-2px);
}
.gk-feature-link:focus-visible { outline: 2px solid #2a5cb0; outline-offset: 2px; }

/* カード全体をタップ可能に（一覧カードの stretched link） */
.gk-card { position: relative; }
.gk-card .views-field-title a { text-decoration: none; }
.gk-card .views-field-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.gk-card:has(.views-field-title a:focus-visible) {
  outline: 2px solid #2a5cb0;
  outline-offset: 2px;
}
.gk-card:hover { box-shadow: 0 4px 16px rgba(26, 58, 107, .14); }
