:root {
  --navy: #0b1f33;
  --navy-2: #12314f;
  --dark: #1f2933;
  --text: #334155;
  --muted: #64748b;
  --line: #d8dee6;
  --soft: #f5f7fa;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --sponsored: #8a6d1d;
  --shadow: 0 18px 60px rgba(11, 31, 51, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

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

a:hover { color: var(--accent); }

img, svg { max-width: 100%; display: block; }

button, input, textarea, select { font: inherit; }

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

.narrow { width: min(780px, calc(100% - 40px)); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  z-index: 1000;
}

.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--accent));
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-family: Inter, system-ui, sans-serif; font-size: 15px; letter-spacing: -0.01em; }
.brand-text small { color: var(--muted); font-size: 11px; }

.global-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-link {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-link.active,
.nav-link:hover { border-color: var(--accent); color: var(--accent); }

.header-cta,
.primary-button,
.secondary-button,
.lead-form button,
.newsletter-form button,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 3px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta,
.primary-button,
.lead-form button,
.newsletter-form button,
.search-form button {
  background: var(--accent);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover,
.lead-form button:hover,
.newsletter-form button:hover,
.search-form button:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.secondary-button {
  background: transparent;
  border-color: rgba(11, 31, 51, 0.22);
  color: var(--navy);
}

.secondary-button:hover { border-color: var(--accent); color: var(--accent); }

.mobile-menu-button,
.mobile-nav { display: none; }

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.17), transparent 32%),
    linear-gradient(135deg, #07182a 0%, #0b1f33 52%, #12314f 100%);
  color: var(--white);
  padding: 88px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-block;
  color: var(--accent);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker { color: #7dd3c7; }

.hero h1,
.page-hero h1 {
  margin: 16px 0 18px;
  color: inherit;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 640px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .secondary-button { color: var(--white); border-color: rgba(255,255,255,0.36); }
.hero .secondary-button:hover { border-color: #7dd3c7; color: #7dd3c7; }

.featured-card,
.panel-card,
.article-card,
.report-card,
.industry-card,
.event-card,
.summary-box,
.action-box,
.toc-card,
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-card {
  padding: 34px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.featured-card h2 { margin: 14px 0 12px; color: var(--navy); font-size: 28px; line-height: 1.32; }

.section { padding: 78px 0; }
.muted { background: var(--soft); }

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header h2 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-header p { margin: 0; color: var(--muted); }

.article-grid,
.report-grid,
.industry-grid,
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card,
.report-card,
.industry-card,
.three-columns article,
.panel-card {
  padding: 24px;
}

.article-card { display: flex; flex-direction: column; min-height: 270px; }
.article-card.compact { min-height: auto; }

.card-meta,
.article-foot,
.report-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.card-meta span:first-child { color: var(--accent); }
.sponsored-label {
  color: var(--sponsored) !important;
  background: #fff6d8;
  border: 1px solid #ecd58a;
  padding: 2px 8px;
  border-radius: 999px;
}

.article-card h3,
.report-card h3,
.industry-card h3,
.three-columns h3,
.panel-card h3 {
  margin: 12px 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
}

.article-card p,
.report-card p,
.industry-card p,
.three-columns p,
.panel-card p { color: var(--muted); margin: 0 0 18px; }

.article-card .article-foot { margin-top: auto; padding-top: 18px; }

.three-columns article {
  background: var(--white);
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.06);
}

.industry-card span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-list { display: grid; gap: 8px; margin: 18px 0; font-weight: 700; }
.text-link { color: var(--accent); font-weight: 800; }
.text-link:hover { color: var(--accent-dark); }

.split-grid,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
}

.check-list {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

.report-card { min-height: 230px; display: flex; flex-direction: column; }
.report-actions { margin-top: auto; padding-top: 20px; }

.newsletter-band {
  padding: 58px 0;
  background: var(--navy);
  color: var(--white);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 36px;
  align-items: center;
}

.newsletter-inner h2 { margin: 10px 0; font-size: 30px; line-height: 1.25; }
.newsletter-inner p { color: rgba(255,255,255,0.76); }

.newsletter-form,
.lead-form,
.search-form {
  display: grid;
  gap: 14px;
}

.newsletter-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.newsletter-form span,
.lead-form span,
.lead-form label,
.newsletter-form label { font-size: 13px; font-weight: 700; color: inherit; }

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--dark);
}

textarea { resize: vertical; }

.form-message { margin: 0; font-size: 13px; grid-column: 1 / -1; }
.form-message.success { color: #66e3d7; }
.lead-form .form-message.success { color: var(--accent); }

.site-footer {
  padding: 54px 0;
  background: #07182a;
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo { color: var(--white); font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: 18px; }
.footer-company { color: #7dd3c7; }
.site-footer h2 { color: var(--white); font-size: 14px; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,0.74); }
.site-footer a:hover { color: #7dd3c7; }

.page-hero {
  padding: 76px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.page-hero p { color: rgba(255,255,255,0.78); font-size: 18px; }

.article-header { padding: 62px 0 34px; }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.article-header h1 { color: var(--navy); font-size: clamp(34px, 5vw, 56px); line-height: 1.15; letter-spacing: -0.04em; margin: 14px 0; }
.lead { font-size: 18px; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.sponsor-disclosure { margin-top: 22px; padding: 14px 16px; background: #fff9e9; border: 1px solid #ecd58a; color: #5f4b12; border-radius: 6px; }

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 42px;
  align-items: start;
}

.article-aside { position: sticky; top: 98px; }
.toc-card { padding: 18px; }
.toc-card h2 { font-size: 15px; color: var(--navy); margin-top: 0; }
.toc-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }

.article-body section { margin-bottom: 34px; }
.article-body h2 { color: var(--navy); font-size: 27px; line-height: 1.3; margin: 0 0 12px; }
.article-body p { font-size: 16px; }

.rich-text h2,
.rich-text h3 {
  color: var(--navy);
  line-height: 1.35;
}

.rich-text p,
.rich-text li {
  font-size: 16px;
}

.rich-text a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-text img {
  margin: 24px 0;
  border-radius: 8px;
}

.summary-box,
.action-box { padding: 24px; border-left: 5px solid var(--accent); }
.summary-box ul,
.action-box ul { margin-bottom: 0; }
.action-box { background: var(--soft); }
.action-box div { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.lead-form { padding: 26px; box-shadow: var(--shadow); }
.lead-form h2 { color: var(--navy); margin: 0; }
.lead-form label { display: grid; gap: 6px; color: var(--dark); }

.event-list { display: grid; gap: 16px; }
.event-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
}
.event-card time { color: var(--accent); font-family: Inter, system-ui, sans-serif; font-weight: 800; }
.event-card h2 { margin: 4px 0; color: var(--navy); font-size: 22px; }
.event-card p { margin: 0; color: var(--muted); }
.event-card span { color: var(--muted); font-size: 13px; font-weight: 700; }

.definition-list { display: grid; grid-template-columns: 100px 1fr; gap: 10px 16px; }
.definition-list dt { color: var(--muted); font-weight: 800; }
.definition-list dd { margin: 0; color: var(--dark); }

.content-page { max-width: 780px; }
.content-page h2 { color: var(--navy); margin-top: 32px; }
.content-page p { font-size: 16px; }

.search-form { grid-template-columns: 1fr auto; margin-top: 22px; }
.search-form input { min-height: 48px; }

.admin-hero {
  background:
    radial-gradient(circle at 86% 16%, rgba(125, 211, 199, 0.18), transparent 30%),
    linear-gradient(135deg, #07182a, #12314f);
}

.admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-panel,
.admin-form,
.draft-editor,
.status-card,
.preview-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-panel,
.admin-form,
.draft-editor {
  padding: 24px;
  box-shadow: 0 12px 36px rgba(11, 31, 51, 0.07);
}

.admin-panel {
  position: sticky;
  top: 98px;
}

.admin-panel h2,
.admin-form h2,
.draft-editor h2 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.3;
}

.admin-panel label,
.admin-form label,
.draft-editor label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.admin-workspace {
  display: grid;
  gap: 24px;
}

.admin-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inline-check {
  display: inline-flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
  margin-top: 14px;
}

.inline-check input {
  width: auto;
  min-height: auto;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-card {
  margin: 16px 0 20px;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  background: var(--soft);
}

.muted-note {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0;
}

.numbered-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.draft-editor[hidden] { display: none; }
.draft-editor textarea[data-draft-field="body"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.65; }

.preview-box {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--soft);
}

.preview-box summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.preview-box .rich-text {
  margin-top: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: 6px;
}

@media (max-width: 980px) {
  .global-nav, .header-cta { display: none; }
  .mobile-menu-button { display: inline-flex; margin-left: auto; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 4px; padding: 8px 12px; font-weight: 800; }
  .mobile-nav.open { display: grid; gap: 8px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 8px 0; font-weight: 700; }
  .hero-grid, .split-grid, .form-layout, .newsletter-inner, .article-layout, .admin-grid { grid-template-columns: 1fr; }
  .article-aside, .admin-panel { position: static; }
  .article-grid, .report-grid, .industry-grid, .three-columns, .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .brand { min-width: auto; }
  .brand-text strong { font-size: 13px; }
  .brand-text small { display: none; }
  .hero, .page-hero { padding: 54px 0; }
  .section { padding: 54px 0; }
  .article-grid, .report-grid, .industry-grid, .three-columns, .footer-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .admin-form-head { align-items: flex-start; flex-direction: column; }
}
