:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --panel: #ffffff;
  --line: #dce3e8;
  --line-strong: #c8d3db;
  --text: #263238;
  --muted: #667680;
  --soft: #eef4f7;
  --accent: #00a3d1;
  --accent-dark: #087fa3;
  --point: #e9f7fb;
  --warn: #fff8e6;
  --shadow: 0 8px 24px rgba(28, 54, 68, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

body.inline-editor-can-edit .inline-edit-fab {
  display: flex;
}

.inline-auth-panel {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 8400;
  width: min(236px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  color: var(--text);
  display: grid;
  gap: 7px;
  padding: 10px;
}

.inline-auth-panel strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.inline-auth-panel label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.inline-role-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.inline-role-buttons button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 8px;
}

.inline-role-buttons button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.inline-auth-panel select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 6px 8px;
}

.inline-auth-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

body.is-modal-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}



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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 302px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 268px;
  height: auto;
  display: block;
}

.brand::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: var(--line-strong);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  background: transparent;
  padding: 0;
}

.global-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: #42525b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav a[hidden] {
  display: none;
}

.global-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: currentColor;
  opacity: 0.82;
  flex: 0 0 auto;
}

.global-nav-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav a.is-active {
  color: var(--accent-dark);
  outline: none;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.global-nav a.is-active::after {
  background: var(--accent);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.login-button,
.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.login-button {
  background: #ffffff;
  color: var(--accent-dark);
}

.login-button[hidden] {
  display: none;
}

.support-button {
  background: #ffffff;
  color: var(--accent-dark);
}

.login-button:hover,
.login-button:focus-visible,
.support-button:hover,
.support-button:focus-visible {
  border-color: var(--accent-dark);
  background: var(--point);
  color: var(--accent-dark);
  outline: none;
}

.top-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
}

.top-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #cfdbe2;
  border-radius: 6px;
  background: #ffffff;
  color: #40535d;
  cursor: pointer;
  padding: 8px 16px 8px 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(27, 45, 55, 0.04);
  white-space: nowrap;
}

.top-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  flex: 0 0 auto;
}

.top-tab-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-tab:hover,
.top-tab:focus-visible {
  border-color: #8fcfe1;
  color: var(--accent-dark);
  outline: none;
}

.top-tab.is-active {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 128, 166, 0.22);
}

.top-tab.is-active .top-tab-icon {
  background: rgba(255, 255, 255, 0.18);
}

.category-nav-bar[hidden] {
  display: none;
}

.category-nav-bar {
  position: sticky;
  top: 76px;
  z-index: 19;
  border-bottom: 1px solid #8bd8ec;
  background: #00a3d1;
  box-shadow: 0 6px 16px rgba(0, 128, 166, 0.14);
}

.category-nav-inner {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 0 28px;
}

.category-tabs {
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  padding: 10px 0 0;
}

.category-nav-bar .top-tab {
  min-height: 47px;
  margin-bottom: -1px;
  border-color: rgba(255, 255, 255, 0.34);
  border-bottom-color: #8bd8ec;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf7fb;
  padding: 10px 18px 10px 12px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.category-nav-bar .top-tab-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.16);
}

.category-nav-bar .top-tab:hover,
.category-nav-bar .top-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  border-bottom-color: #bdeef8;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.category-nav-bar .top-tab.is-active {
  border-color: #8bd8ec;
  border-bottom-color: #dff4fa;
  background: #dff4fa;
  color: #087fa3;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset;
}

.category-nav-bar .top-tab.is-active .top-tab-icon {
  background: var(--accent);
  color: #ffffff;
}

.home-header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  overflow-x: auto;
}

.home-header-nav a {
  position: relative;
  color: #40535d;
  padding: 6px 0;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.home-header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.home-header-nav a:hover,
.home-header-nav a:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.home-header-nav a:hover::after,
.home-header-nav a:focus-visible::after {
  background: var(--accent);
}

.home-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.home-intro {
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0 34px;
}

.home-kicker {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-intro h1 {
  margin-bottom: 12px;
  font-size: 40px;
}

.home-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.home-section-head {
  margin: 0 0 16px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.home-section-head p:not(.home-kicker) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.audience-entry {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

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

.audience-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border: 1px solid #b8dcea;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(28, 54, 68, 0.08);
}

.audience-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.audience-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  flex: 0 0 auto;
}

.audience-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-card h3 {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 600;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.audience-use-list {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.audience-use-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.audience-use-list li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.audience-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.audience-primary-link:hover,
.audience-primary-link:focus-visible {
  background: var(--accent-dark);
  outline: none;
}

.audience-helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.audience-helper-links a {
  border: 1px solid #b8dcea;
  border-radius: 999px;
  background: #f7fbfd;
  color: var(--accent-dark);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.audience-helper-links a:hover,
.audience-helper-links a:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.audience-card > .release-status {
  margin-top: 14px;
}

.release-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 6px;
  border: 1px dashed #d2dee4;
  border-radius: 8px;
  background: #f7fafb;
  padding: 12px 14px;
}

.release-overview h2 {
  margin: 0;
  color: #53636c;
  font-size: 14px;
  font-weight: 500;
}

.internal-review-note .home-kicker {
  color: #71808a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.release-overview p:not(.home-kicker) {
  max-width: 560px;
  margin: 5px 0 0;
  color: #71808a;
  font-size: 12px;
  line-height: 1.7;
}

.release-status-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border: 1px dashed rgba(116, 133, 143, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #6f8089;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.internal-review-status::before {
  color: #8a98a1;
  content: "社内確認:";
}

.release-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-color, #8a98a1);
  flex: 0 0 auto;
  opacity: 0.65;
}

.release-status.is-ok {
  --status-color: #087f5b;
}

.release-status.is-review {
  --status-color: #087fa3;
}

.release-status.is-prep {
  --status-color: #986100;
}

.release-status.is-next {
  --status-color: #6d5a9c;
}

/* ==========================================================================
   公開モード: 社内確認用要素を非表示
   body.public-mode が付与されると以下の要素が非表示になる
   ========================================================================== */
body.public-mode .internal-review-status,
body.public-mode .internal-review-note,
body.public-mode .internal-tools-panel,
body.public-mode .prototype-note {
  display: none !important;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.home-menu-block {
  padding-top: 28px;
}

.support-action {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.06);
}

.support-action:hover,
.support-action:focus-visible {
  border-color: #8fcfe1;
  outline: none;
  transform: translateY(-1px);
}

.support-action.is-primary {
  border-color: #8fcfe1;
  background: linear-gradient(135deg, #e9f7fb 0%, #ffffff 72%);
}

.support-action.is-planned {
  border-style: dashed;
  background: #fbfdfe;
  color: #53636c;
}

.support-action.is-planned .support-action-icon {
  background: #7b8a92;
}

.support-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  flex: 0 0 auto;
}

.support-action-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-action strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.support-action .release-status {
  margin-top: 10px;
}

.support-action small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.news-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.panel-head h2 {
  margin: 0;
  font-size: 22px;
}

.panel-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 4px 22px;
}

.news-list li {
  display: grid;
  grid-template-columns: 110px 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.news-badge {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  background: var(--point);
  color: var(--accent-dark);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
}

.news-list a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.news-list a:hover,
.news-list a:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.procedure-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.faq-shell,
.news-shell {
  width: 100%;
  margin: 0;
  padding: 0 0 76px;
}

.notice-feature {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  border: 1px solid #8fcfe1;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9f7fb 0%, #ffffff 76%);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 54, 68, 0.06);
}

.notice-feature > div,
.notice-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.notice-feature time,
.notice-meta time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.notice-feature h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.notice-feature p {
  max-width: 860px;
  margin: 0;
  color: #40535d;
}

.support-inline-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  border: 1px solid #8fcfe1;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9f7fb 0%, #ffffff 78%);
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.05);
}

.support-inline-panel h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.support-inline-panel p {
  margin: 0;
  color: #40535d;
  line-height: 1.65;
}

.notice-archive {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-list {
  display: grid;
}

.notice-card {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
  scroll-margin-top: 104px;
}

.notice-card:last-child {
  border-bottom: 0;
}

.notice-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.notice-card p {
  margin: 0;
  color: #40535d;
}

.notice-link {
  justify-self: start;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.notice-link:hover,
.notice-link:focus-visible {
  color: #075f78;
  outline: none;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: calc(100vh - 152px);
}

.news-index-content {
  min-width: 0;
  max-width: 1060px;
  width: 100%;
  padding: 34px 44px 80px;
  margin-left: auto;
  margin-right: auto;
}

.news-filter-sidebar {
  position: sticky;
  top: 180px;
  align-self: start;
  height: calc(100vh - 180px);
  border-right: 1px solid var(--line);
  background: var(--panel);
  overflow-y: auto;
}

.news-filter-block {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.news-filter-block:last-child {
  border-bottom: 0;
}

.news-filter-block label,
.news-filter-title {
  color: #52646e;
  font-size: 13px;
  font-weight: 500;
}

.news-filter-block input {
  width: 100%;
  min-height: 40px;
  background: #ffffff;
}

.news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-filter-chip,
.news-month-button {
  appearance: none;
  border: 1px solid #b9dce7;
  background: #ffffff;
  color: #31515f;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.news-filter-chip {
  border-radius: 999px;
  padding: 6px 10px;
}

.news-month-list {
  display: grid;
  gap: 6px;
}

.news-month-button {
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: left;
}

.news-month-button::after {
  content: "›";
  color: #8aa5b1;
}

.news-year-accordion {
  display: grid;
  gap: 8px;
}

.news-year-accordion summary {
  align-items: center;
  color: #52646e;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: space-between;
  list-style: none;
}

.news-year-accordion summary::-webkit-details-marker {
  display: none;
}

.news-year-accordion summary::after {
  color: #8aa5b1;
  content: "›";
  transform: rotate(90deg);
  transition: transform 0.15s ease;
}

.news-year-accordion:not([open]) summary::after {
  transform: rotate(0deg);
}

.news-year-list {
  display: grid;
  gap: 0;
}

.news-year-all,
.news-year-group summary,
.news-month-link {
  appearance: none;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
  padding: 10px 14px;
  text-align: left;
  text-decoration: none;
}

.news-year-group {
  display: grid;
}

.news-year-group summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.news-year-group summary::-webkit-details-marker {
  display: none;
}

.news-year-group summary::after {
  color: #8aa5b1;
  content: "›";
  transform: rotate(90deg);
  transition: transform 0.15s ease;
}

.news-year-group:not([open]) summary::after {
  transform: rotate(0deg);
}

.news-month-link {
  color: #52646e;
  font-size: 12px;
  font-weight: 500;
  min-height: 36px;
  padding-left: 28px;
}

.news-year-all:hover,
.news-year-all:focus-visible,
.news-year-group summary:hover,
.news-year-group summary:focus-visible,
.news-month-link:hover,
.news-month-link:focus-visible {
  background: #eef9fc;
  color: var(--accent-dark);
  outline: none;
}

.news-year-all.is-active,
.news-month-link.is-active {
  background: var(--point);
  color: var(--accent-dark);
  border-left: 3px solid var(--accent);
  padding-left: 11px;
}

.news-month-link.is-active {
  padding-left: 25px;
}

.news-filter-chip:hover,
.news-filter-chip:focus-visible,
.news-month-button:hover,
.news-month-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  outline: none;
}

.news-filter-chip.is-active,
.news-month-button.is-active {
  border-color: #8fcfe1;
  background: var(--point);
  color: var(--accent-dark);
}

.news-index-content .notice-index-section {
  margin-top: 0;
}

.news-index-content .notice-index-section + .notice-index-section {
  margin-top: 18px;
}

.notice-index-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.notice-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.notice-section-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.latest-notice-list {
  display: grid;
}

.notice-card.is-latest {
  display: grid;
  grid-template-columns: 110px 110px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.notice-card.is-latest:last-child {
  border-bottom: 0;
}

.notice-card.is-latest .notice-meta {
  display: contents;
}

.notice-card.is-latest .notice-meta time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding-top: 3px;
}

.notice-card.is-latest .news-badge {
  justify-self: start;
}

.notice-card.is-latest .notice-title-button,
.notice-card.is-latest > p,
.notice-card.is-latest .notice-detail {
  grid-column: 3;
}

.notice-card.is-latest > p {
  color: #52646e;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.notice-title-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  max-width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.15s ease;
}

.notice-title-button:hover,
.notice-title-button:focus-visible {
  color: var(--accent-dark);
  outline: 2px solid rgba(0, 163, 209, 0.18);
  outline-offset: 4px;
}

.notice-title-button::after {
  content: "詳細 →";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid #b9dce7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-dark);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(28, 54, 68, 0.04);
}

.notice-title-button[aria-expanded="true"]::after {
  content: "閉じる ↑";
  border-color: var(--accent);
  background: var(--point);
}

.notice-detail {
  border-top: 1px solid var(--line);
  background: #fbfdfe;
  margin-top: 4px;
  padding: 14px 16px;
}

.notice-detail p {
  margin: 0 0 10px;
}

.notice-detail p:last-child {
  margin-bottom: 0;
}

.older-notice-list {
  display: grid;
}

.older-notice-item {
  display: grid;
  grid-template-columns: 110px 110px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 16px 22px;
}

.older-notice-item:last-child {
  border-bottom: 0;
}

.older-notice-item time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding-top: 4px;
}

.older-notice-item .notice-detail {
  grid-column: 3;
  width: 100%;
}

.notice-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  margin: 18px 0 0;
  padding: 18px;
  text-align: center;
  font-weight: 600;
}

.faq-page-bar {
  box-shadow: 0 1px 0 rgba(28, 54, 68, 0.03);
}

.faq-hero {
  border-bottom: 1px solid var(--line);
  padding: 24px 0 30px;
}

.faq-hero h1 {
  margin-bottom: 12px;
  font-size: 36px;
}

.faq-hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 210px);
  margin-top: 0;
}

.faq-nav {
  position: sticky;
  align-self: start;
  border-right: 1px solid var(--line);
  background: var(--panel);
  overflow-y: auto;
}

.faq-page .faq-nav {
  top: 210px;
  height: calc(100vh - 210px);
}

.troubleshooting-page .faq-nav {
  top: 180px;
  height: calc(100vh - 180px);
}

.faq-search-block {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.faq-search-block label {
  color: #52646e;
  font-size: 13px;
  font-weight: 500;
}

.faq-search-block input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  padding: 9px 11px;
}

.faq-search-block input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(0, 163, 209, 0.16);
  outline-offset: 0;
}

.faq-nav .toc-heading {
  padding: 16px 22px 9px;
}

.faq-nav a {
  display: block;
  border-left: 4px solid transparent;
  color: var(--text);
  padding: 12px 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.faq-nav a:hover,
.faq-nav a:focus-visible {
  background: var(--soft);
  color: var(--text);
  outline: none;
}

.faq-nav a.is-active {
  border-left-color: var(--accent);
  background: var(--point);
  color: var(--accent-dark);
  font-weight: 600;
}

.trouble-filter {
  display: block;
  width: 100%;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

.trouble-filter:hover,
.trouble-filter:focus-visible {
  background: var(--soft);
  outline: none;
}

.trouble-filter.is-active {
  border-left-color: var(--accent);
  background: var(--point);
  color: var(--accent-dark);
  font-weight: 600;
}

.trouble-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.trouble-tag-list button {
  border: 1px solid #b9dce7;
  border-radius: 999px;
  background: #ffffff;
  color: #31515f;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.trouble-tag-list button:hover,
.trouble-tag-list button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  outline: none;
}

.trouble-tag-list button.is-active {
  border-color: #8fcfe1;
  background: var(--point);
  color: var(--accent-dark);
}

.trouble-support-link {
  display: grid;
  gap: 4px;
  margin: 0 16px 18px;
  border: 1px solid #b9dce7;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 14px;
  text-decoration: none;
}

.trouble-support-link strong {
  color: var(--accent-dark);
}

.trouble-support-link span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trouble-support-link:hover,
.trouble-support-link:focus-visible {
  border-color: var(--accent);
  outline: none;
}

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

.trouble-category-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "count title"
    "count text";
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(28, 54, 68, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.trouble-category-card:hover,
.trouble-category-card:focus-visible {
  border-color: #8fcfe1;
  box-shadow: 0 10px 24px rgba(28, 54, 68, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.trouble-category-count {
  grid-area: count;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.trouble-category-card strong {
  grid-area: title;
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.trouble-category-card p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faq-nav a[hidden],
.faq-category[hidden] {
  display: none;
}

.faq-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  margin: 0;
  padding: 18px;
  text-align: center;
}

.troubleshooting-head {
  margin-bottom: 24px;
}

.trouble-results {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(28, 54, 68, 0.06);
  overflow: hidden;
}

.trouble-results .notice-section-head {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.trouble-item {
  border-bottom: 1px solid var(--line);
}

.trouble-item:last-child {
  border-bottom: 0;
}

.trouble-category-group {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.trouble-category-group:last-child {
  border-bottom: 0;
}

.trouble-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
  color: var(--text);
  padding: 14px 22px;
}

.trouble-category-head h3 {
  margin: 0;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
}

.trouble-category-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.trouble-item[hidden] {
  display: none;
}

.trouble-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
}

.trouble-item summary::-webkit-details-marker {
  display: none;
}

.trouble-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--point);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}

.trouble-item summary > span:first-child {
  margin-right: auto;
}

.trouble-tags {
  display: none;
}

.trouble-tags span {
  border-radius: 999px;
  background: var(--point);
  color: var(--accent-dark);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.trouble-item h3 {
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}

.trouble-item h3:first-child {
  margin-top: 0;
}

.faq-content,
.procedure-shell {
  min-width: 0;
}

.faq-content {
  max-width: 1060px;
  width: 100%;
  padding: 34px 44px 80px;
  margin-left: auto;
  margin-right: auto;
}

.faq-category,
.procedure-section {
  scroll-margin-top: 112px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(28, 54, 68, 0.06);
  overflow: hidden;
}

.faq-page .faq-category {
  scroll-margin-top: 216px;
}

.faq-page .page-breadcrumb {
  justify-content: flex-end;
  text-align: right;
}

.faq-category-head,
.procedure-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  background: linear-gradient(120deg, #00a3d1 0%, #087fa3 58%, #075f78 100%);
  color: #ffffff;
}

.faq-category-head span,
.procedure-section-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
}

.faq-category-head h2,
.procedure-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--point);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

.faq-item[open] summary {
  color: var(--accent-dark);
}

.faq-answer {
  border-top: 1px solid var(--line);
  background: #fbfdfe;
  padding: 18px 24px 20px 58px;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.faq-answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-answer.is-standalone {
  border-top: 0;
  padding: 22px;
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

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

.support-entry-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  min-height: 170px;
  align-items: start;
  border: 1px solid #8fcfe1;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eef9fc 100%);
  color: var(--text);
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(28, 54, 68, 0.07);
}

.support-entry-card:hover,
.support-entry-card:focus-visible {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.support-entry-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.support-entry-card small {
  display: block;
  color: #40535d;
  line-height: 1.7;
}

.support-entry-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.support-entry-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  border: 1px solid #8fcfe1;
  border-radius: 999px;
  color: var(--accent-dark);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.procedure-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.06);
}

.procedure-card:hover,
.procedure-card:focus-visible {
  border-color: #8fcfe1;
  outline: none;
  transform: translateY(-1px);
}

.procedure-card strong {
  font-size: 17px;
}

.procedure-card small {
  color: var(--muted);
  line-height: 1.6;
}

.support-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}

.support-resource-grid .procedure-card {
  min-height: 128px;
}

.support-audience-section .faq-answer h3 {
  margin: 28px 0 12px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 600;
}

.support-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 24px;
}

.support-check-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-check-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  padding: 16px 18px;
}

.support-check-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  color: inherit;
  padding: 16px 18px;
  text-decoration: none;
}

.support-check-card:hover,
.support-check-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(16, 96, 146, 0.12);
}

.support-check-card strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.support-check-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.support-prep-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
}

.support-prep-note h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
}

.support-prep-note ul {
  margin: 0;
  padding-left: 1.2em;
}

.manual-resource-block {
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  padding: 16px;
}

.manual-resource-block h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

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

.manual-resource-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  padding: 14px 16px;
  text-decoration: none;
}

.manual-resource-card:hover,
.manual-resource-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(16, 96, 146, 0.12);
}

.manual-resource-card strong {
  color: var(--accent-dark);
  font-size: 15px;
  line-height: 1.5;
}

.manual-resource-card span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.manual-resource-type {
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--point);
  color: var(--accent-dark);
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
}

.manual-video-block {
  margin: 18px 0 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.manual-video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.manual-video-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.manual-video-head strong {
  color: var(--text);
  font-size: 14px;
}

.manual-video-grid {
  display: grid;
  gap: 10px;
}

.manual-video-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  color: inherit;
  padding: 12px 14px;
  text-decoration: none;
}

.manual-video-card:hover,
.manual-video-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(16, 96, 146, 0.1);
}

.manual-video-status,
.video-status,
.video-category,
.video-card-placeholder {
  width: max-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  padding: 3px 9px;
}

.manual-video-status,
.video-card-placeholder {
  border: 1px solid var(--line);
  background: #f3f6f8;
  color: var(--muted);
}

.manual-video-card strong {
  color: var(--accent-dark);
  font-size: 14px;
}

.manual-video-card span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.video-content {
  display: grid;
  gap: 22px;
}

.video-hero {
  margin-bottom: 0;
}

.video-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.video-page-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.video-page-note h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}

.video-page-note p {
  margin: 0;
  color: var(--muted);
}

.video-category-section {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.video-category-head {
  display: grid;
  gap: 2px;
}

.video-category-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.video-category-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

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

.video-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.video-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-category {
  background: var(--point);
  color: var(--accent-dark);
}

.video-status {
  background: #f3f6f8;
  color: var(--muted);
}

.video-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
}

.video-card-detail {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.video-card-detail div {
  display: grid;
  gap: 2px;
}

.video-card-detail dt {
  color: var(--text);
  font-weight: 700;
}

.video-card-detail dd {
  margin: 0;
}

.video-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.video-related-assets {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 13px;
}

.video-related-assets span {
  color: var(--muted);
  font-weight: 700;
}

.video-related-assets a {
  color: var(--accent-dark);
  text-decoration: none;
}

.video-related-assets a:hover,
.video-related-assets a:focus-visible {
  text-decoration: underline;
}

.support-check-grid h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.support-check-grid ul {
  margin: 0;
  padding-left: 1.2em;
}

.support-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.support-priority-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.support-priority-table th,
.support-priority-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.support-priority-table thead th {
  background: var(--soft);
  color: #50626c;
  font-size: 13px;
  font-weight: 600;
}

.support-priority-table tbody th {
  width: 130px;
  background: #f7fbfd;
  color: var(--accent-dark);
  font-weight: 600;
}

.support-priority-table tr:last-child th,
.support-priority-table tr:last-child td {
  border-bottom: 0;
}

.contract-summary {
  padding: 22px;
}

.contract-summary table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.contract-summary th,
.contract-summary td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.contract-summary th {
  width: 220px;
  background: var(--soft);
  color: #50626c;
  font-size: 13px;
  font-weight: 500;
}

.contract-summary td {
  background: #ffffff;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.contract-summary tr:last-child th,
.contract-summary tr:last-child td {
  border-bottom: 0;
}

.procedure-section > .form-note {
  margin: 0;
  padding: 0 22px 22px;
}

.procedure-page .procedure-section[hidden] {
  display: none;
}

.procedure-page .page-breadcrumb {
  justify-content: flex-end;
  text-align: right;
}

.troubleshooting-page .page-bar {
  top: 76px;
}

.news-page .page-breadcrumb {
  justify-content: flex-end;
  text-align: right;
}

.inline-link-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.role-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.role-hint a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.role-hint a:hover,
.role-hint a:focus-visible {
  text-decoration: underline;
}

.procedure-form {
  padding: 22px;
}

.admin-shell {
  padding-top: 28px;
}

.admin-hero {
  padding-top: 8px;
}

.prototype-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  border: 1px dashed #c7d6de;
  border-radius: 8px;
  background: #f7fafb;
  color: #64747d;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
}

.prototype-note strong {
  color: #52646e;
  font-weight: 500;
  white-space: nowrap;
}

.internal-mobile-note {
  display: none;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.admin-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.05);
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.admin-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.admin-table-wrap {
  overflow-x: auto;
  padding: 20px 22px 22px;
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--soft);
  color: #52646e;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.admin-table td {
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table small {
  color: var(--muted);
  font-size: 12px;
}

.status-pill,
.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid #c7dbe4;
  border-radius: 999px;
  background: #f7fbfd;
  color: #52646e;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.status-pill.is-new,
.status-pill.is-reviewing {
  border-color: #9bd4e5;
  background: var(--point);
  color: var(--accent-dark);
}

.status-pill.is-waiting,
.status-pill.is-scheduled {
  border-color: #e1cf9c;
  background: #fff8e6;
  color: #7a5b00;
}

.status-pill.is-public {
  border-color: #acd8c9;
  background: #edf8f3;
  color: #087f5b;
}

.priority-pill.is-p1 {
  border-color: #e6b6ad;
  background: #fff1ef;
  color: #9a3b2d;
}

.priority-pill.is-p2 {
  border-color: #e1cf9c;
  background: #fff8e6;
  color: #7a5b00;
}

.priority-pill.is-p3 {
  border-color: #c7dbe4;
  background: #f7fbfd;
  color: #52646e;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #b9dce7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 5px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.mini-button:hover,
.mini-button:focus-visible {
  border-color: var(--accent);
  background: var(--point);
  outline: none;
}

.admin-form .field.is-wide {
  grid-column: 1 / -1;
}

.admin-preview-card,
.ticket-detail-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.admin-preview-card h3,
.ticket-detail-panel h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

.admin-preview-card p,
.ticket-detail-panel p {
  margin: 0;
}

.admin-muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.ticket-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.ticket-badges,
.customer-ticket-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.ticket-detail-grid div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 13px 14px;
}

.ticket-detail-grid div:nth-child(3n),
.ticket-detail-grid div.is-wide {
  border-right: 0;
}

.ticket-detail-grid div.is-wide {
  grid-column: 1 / -1;
}

.ticket-detail-grid dt {
  margin: 0 0 5px;
  color: #52646e;
  font-size: 12px;
  font-weight: 500;
}

.ticket-detail-grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.support-reply-box {
  border: 1px solid #b9dce7;
  border-radius: 8px;
  background: #f7fbfd;
  padding: 16px;
}

.support-reply-box h4 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 600;
}

.customer-ticket-list {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.customer-ticket-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
}

.customer-ticket-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.customer-ticket-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.internal-tools-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 6px;
  border: 1px dashed #d2dee4;
  border-radius: 8px;
  background: #f7fafb;
  padding: 16px 18px;
}

.internal-tools-panel h2 {
  margin: 0;
  color: #53636c;
  font-size: 16px;
  font-weight: 500;
}

.internal-tools-panel p {
  margin: 5px 0 0;
  color: #71808a;
  font-size: 12px;
  line-height: 1.7;
}

.internal-tool-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.internal-tool-links a {
  border: 1px solid #c7dbe4;
  border-radius: 999px;
  background: #ffffff;
  color: #52646e;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.internal-tool-links a:hover,
.internal-tool-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  outline: none;
}

.side-nav a {
  display: block;
  border-left: 4px solid transparent;
  color: var(--text);
  padding: 12px 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--soft);
  color: var(--text);
  outline: none;
}

.partner-content,
.repair-content {
  min-width: 0;
}

.partner-hero p {
  max-width: 820px;
}

.role-switcher-panel {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfdfe;
  padding: 16px 18px;
}

.role-switcher-head {
  display: grid;
  gap: 2px;
}

.role-switcher-head strong {
  color: #52646e;
  font-size: 13px;
  font-weight: 600;
}

.role-switcher-head span,
.role-switcher-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.role-switcher-buttons {
  display: grid;
  gap: 7px;
}

.role-switcher-button {
  border: 1px solid #b9dce7;
  border-radius: 999px;
  background: #ffffff;
  color: #31515f;
  cursor: pointer;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

.role-switcher-button:hover,
.role-switcher-button:focus-visible,
.role-switcher-button.is-active {
  border-color: var(--accent);
  background: var(--point);
  color: var(--accent-dark);
  outline: none;
}

.role-switcher-description {
  margin: 0;
}

.partner-card-grid {
  padding: 22px;
}

.partner-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.partner-route-card {
  min-height: 156px;
}

.partner-model-card {
  min-height: 150px;
}

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

.repair-content-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.05);
}

.repair-content-meta,
.content-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-content-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.repair-content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.content-tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--point);
  color: var(--accent-dark);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.cms-data-list {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.cms-data-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.cms-data-list div:last-child {
  border-bottom: 0;
}

.cms-data-list dt,
.cms-data-list dd {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
}

.cms-data-list dt {
  background: var(--soft);
  color: #52646e;
  font-weight: 600;
}

.cms-data-list dd {
  overflow-wrap: anywhere;
  color: var(--text);
}

.partner-metadata-list div {
  grid-template-columns: 108px minmax(0, 1fr);
}

.partner-sales-page .repair-content-card,
.partner-repair-page .repair-content-card {
  align-content: start;
}

.repair-asset-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.repair-asset-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  padding: 12px;
}

.repair-asset-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.repair-asset-main strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.repair-asset-file,
.repair-asset-main small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.repair-asset-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-asset-action {
  white-space: nowrap;
}

.repair-asset-action.is-reference {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.repair-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
}

.partner-entry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  border: 1px dashed #c7d6de;
  border-radius: 8px;
  background: #f7fafb;
  padding: 14px 16px;
}

.partner-entry-strip p {
  margin: 0;
  color: #52646e;
  font-size: 13px;
  line-height: 1.65;
}

.partner-entry-strip a {
  flex: 0 0 auto;
}

.partner-strip-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.secondary-button.is-disabled {
  cursor: default;
  opacity: 0.68;
  pointer-events: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.page-bar {
  position: sticky;
  top: 76px;
  z-index: 18;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: 76px;
  border-bottom: 1px solid #b9e3ef;
  background: linear-gradient(90deg, #dff4fa 0%, #eef9fc 48%, #ffffff 100%);
}

.page-bar-title {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 600;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.page-bar-meta {
  display: grid;
  gap: 9px;
  align-content: center;
  justify-items: end;
  padding: 12px 44px;
  min-width: 0;
}

.page-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 1px;
}

.progress-step {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 28px;
  border: 1px solid #bcdce6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(27, 45, 55, 0.04);
}

.progress-step:hover,
.progress-step:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.progress-step.is-complete {
  border-color: #8fcfe1;
  background: #e9f7fb;
}

.progress-step.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 128, 166, 0.2);
}

/* 記事下部の前後ナビ */
.item-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #e0e7ea);
}

.item-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line, #e0e7ea);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text, #263238);
  transition: border-color 0.15s ease, background 0.15s ease;
  flex: 1;
  min-width: 0;
}

.item-nav-link:hover {
  border-color: var(--accent, #00a3d1);
  background: rgba(0, 163, 209, 0.03);
}

.item-nav-next {
  text-align: right;
}

.item-nav-dir {
  font-size: 12px;
  color: var(--muted, #6b7280);
  font-weight: 600;
}

.item-nav-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.sidebar {
  position: sticky;
  top: 210px;
  align-self: start;
  height: calc(100vh - 210px);
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.toc-heading {
  padding: 16px 22px 9px;
  color: #5d7480;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* .side-nav → .sidebar-nav デザインに統一 */
.side-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.side-nav a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--text, #263238);
  cursor: pointer;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--soft, #f5f7f9);
  border-left-color: rgba(0, 163, 209, 0.3);
  outline: none;
}

.side-nav a.is-active {
  color: var(--accent, #00a3d1);
  border-left-color: var(--accent, #00a3d1);
  background: rgba(0, 163, 209, 0.04);
}

/* STEP バッジ */
.nav-step {
  display: inline;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #6b7280);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.side-nav a.is-active .nav-step {
  color: var(--accent, #00a3d1);
}

.nav-title {
  display: block;
  line-height: 1.55;
}

.content {
  max-width: 1060px;
  width: 100%;
  padding: 34px 44px 80px;
  margin-left: auto;
  margin-right: auto;
}

.article-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 24px;
}

h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.manual-section {
  margin-top: 34px;
  scroll-margin-top: 238px;
}

.step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 34px;
  margin-bottom: 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 128, 166, 0.18);
}

.manual-section h2 {
  margin: 0 0 18px;
  border-radius: 8px;
  padding: 13px 18px;
  background: linear-gradient(120deg, #00a3d1 0%, #087fa3 58%, #075f78 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(7, 127, 163, 0.18);
}

.manual-section p {
  max-width: 820px;
  margin: 0 0 14px;
}

.intro-block {
  margin-bottom: 14px;
}

.inline-image {
  display: block;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.inline-image-small {
  width: 35%;
  min-width: 260px;
  max-width: 360px;
}

.inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.path {
  display: inline;
  border-radius: 4px;
  background: var(--soft);
  padding: 2px 6px;
  color: #42525b;
  font-weight: 600;
}

.point,
.notice {
  margin: 18px 0;
  border-radius: 8px;
  padding: 16px 18px;
}

.point {
  border: 1px solid #b8e6f3;
  background: var(--point);
}

.notice {
  border: 1px solid #f1d894;
  background: var(--warn);
}

.box-title {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-weight: 600;
}

.notice .box-title {
  color: #8a6410;
}

.image-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 20px 0 6px;
}

.image-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.image-button {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
}

.image-button.is-portrait,
.image-button.is-small-art,
.image-button.is-readable-size {
  display: flex;
  justify-content: center;
  background: #f7f9fa;
}

.image-button.is-portrait img {
  width: auto;
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
}

.image-button.is-small-art img {
  width: auto;
  max-width: min(100%, 640px);
}

.image-button.is-readable-size img {
  width: min(100%, var(--readable-image-width, 860px));
  max-width: 100%;
}

.image-button:focus-visible {
  outline: 3px solid rgba(0, 163, 209, 0.35);
  outline-offset: -3px;
}

figure img,
.modal-dialog img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.image-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 31, 38, 0.72);
  cursor: zoom-out;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.modal-dialog img {
  max-height: calc(100vh - 128px);
  object-fit: contain;
  background: #f7f9fa;
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  margin: 12px 12px -54px 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 600;
}

#modalCaption {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  color: var(--muted);
}

.form-panel {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-panel h3 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
  font-size: 18px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.is-wide {
  grid-column: 1 / -1;
}

.field label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #41515a;
  font-weight: 600;
}

.field-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.field-badge.is-required {
  background: #e9f7fb;
  color: var(--accent-dark);
}

.field-badge.is-optional {
  background: #f3f6f8;
  color: var(--muted);
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  padding: 10px 11px;
  color: var(--text);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-button,
.secondary-button {
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 600;
}

.primary-button {
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

/* ── Topic search placeholder ── */

.topic-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.topic-search input {
  flex: 1 1 auto;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 14px;
  font-size: 15px;
}

.topic-search input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(0, 163, 209, 0.16);
  outline-offset: 0;
}

.topic-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  padding: 0 16px;
  font-weight: 600;
}

.topic-search button:hover,
.topic-search button:focus-visible {
  background: var(--accent-dark);
  outline: none;
}

.topic-search-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ── Entry choice grid (3-column audience cards for top page) ── */

.entry-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 0;
}

.entry-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
  border: 1px solid #b8dcea;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 32px 24px 28px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 28px rgba(28, 54, 68, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.entry-choice-card:hover,
.entry-choice-card:focus-visible {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-2px);
}

.entry-choice-card.is-enduser {
  border-color: #c8e6c9;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f1 100%);
}

.entry-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  margin-bottom: 16px;
  flex: 0 0 auto;
}

.entry-choice-card.is-enduser .entry-choice-icon {
  background: #43a047;
}

.entry-choice-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-choice-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.entry-choice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.entry-choice-card .entry-choice-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}

.entry-choice-card.is-enduser .entry-choice-arrow {
  color: #2e7d32;
}

/* ── Landing page layout ── */

.landing-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.landing-hero {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.landing-hero h1 {
  margin-bottom: 10px;
  font-size: 32px;
}

.landing-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.landing-search-block {
  margin: 48px 0 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.05);
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 0 0 36px;
}

.landing-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.06);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.landing-card:hover,
.landing-card:focus-visible {
  border-color: #8fcfe1;
  outline: none;
  transform: translateY(-1px);
}

.landing-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  flex: 0 0 auto;
}

.landing-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
}

.landing-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.landing-inline-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(28, 54, 68, 0.05);
}

.landing-inline-section h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-dark);
}

.landing-inline-section p {
  margin: 0 0 10px;
  color: #40535d;
  font-size: 14px;
  line-height: 1.75;
}

.landing-inline-section ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
  color: #40535d;
  font-size: 14px;
}

/* ── 検索結果ドロップダウン ──────────────────────────── */

.search-result-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 420px;
  overflow-y: auto;
  margin-top: 4px;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f2f4;
  transition: background 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item:focus {
  background: #f5f8fa;
}

.search-result-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border-radius: 3px;
  padding: 1px 6px;
  width: fit-content;
  margin-bottom: 2px;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.4;
}

.search-result-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

.search-result-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.search-result-empty a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   コンテンツ管理ダッシュボード (CMS)
   ========================================================================== */

.cms-stat {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cms-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.cms-stat strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-dark);
}

.cms-stat small {
  font-size: 11px;
  color: var(--muted);
}

#cms-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.cms-toolbar-note {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

.cms-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin: 0;
  overflow-x: auto;
}

.cms-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.cms-tab:hover {
  color: var(--accent-dark);
}

.cms-tab.is-active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.cms-panel {
  padding: 20px 0;
}

.cms-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cms-filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cms-filter-btn {
  background: #f0f2f5;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.cms-filter-btn:hover {
  background: #e8eaef;
}

.cms-filter-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.cms-add-btn {
  margin-left: auto;
  font-size: 13px;
  padding: 8px 16px;
}

.cms-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.cms-card-list,
.cms-manual-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cms-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  transition: box-shadow 0.15s;
}

.cms-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cms-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cms-card-date {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.cms-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 4px;
}

.cms-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.cms-card-actions {
  display: flex;
  gap: 6px;
}

.cms-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eef0f4;
  color: var(--text);
}

.cms-tag.is-edited {
  background: #fff3cd;
  color: #856404;
}

.cms-tag.is-asset {
  background: #e9f7ef;
  color: #1f6f43;
}

.mini-button.is-danger {
  color: #c0392b;
  border-color: #e6b0aa;
}

.mini-button.is-danger:hover {
  background: #fdf0ee;
}

.cms-manual-category {
  margin-bottom: 20px;
}

.cms-manual-cat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 8px 0 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.cms-manual-body {
  margin-bottom: 8px;
}

.cms-manual-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.cms-manual-fulltext {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  padding: 16px 0;
  max-height: 400px;
  overflow-y: auto;
}

/* モーダル */
.cms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cms-modal {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cms-modal-wide {
  max-width: 720px;
}

.cms-modal h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 18px;
}

.cms-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cms-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cms-form-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.cms-form-row input,
.cms-form-row select,
.cms-form-row textarea {
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  color: var(--text);
  background: #f9fafb;
}

.cms-form-row input:focus,
.cms-form-row select:focus,
.cms-form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  background: #ffffff;
}

.cms-form-row textarea {
  resize: vertical;
}

.cms-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.cms-related-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cms-related-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cms-related-link:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cms-related-link strong {
  font-size: 14px;
  color: var(--accent-dark);
}

.cms-related-link span {
  font-size: 12px;
  color: var(--muted);
}

.cms-loading {
  text-align: center;
  color: var(--muted);
  padding: 24px;
  font-size: 13px;
}

.cms-back-link {
  margin: 8px 0 0;
  font-size: 13px;
}

.cms-back-link a {
  color: var(--accent);
  text-decoration: none;
}

.cms-back-link a:hover {
  text-decoration: underline;
}

/* 軽量CMS v1 */
.cms-page .page-bar {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cms-page .page-bar-title > span {
  display: block;
  min-width: 0;
  line-height: 1.35;
}

.cms-page .page-bar-subtitle {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.cms-page .page-bar-meta {
  padding-right: 28px;
}

.cms-page .cms-shell {
  gap: 20px;
}

.cms-workspace {
  display: grid;
  gap: 18px;
}

.cms-search-field {
  flex: 1 1 240px;
}

.cms-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.cms-toolbar input,
.cms-toolbar select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 7px 10px;
}

.cms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.cms-list-panel,
.cms-editor-panel,
.cms-export-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cms-list-panel .cms-panel-head,
.cms-editor-panel .cms-panel-head {
  padding: 18px 22px 0;
  margin-bottom: 0;
}

.cms-panel-head h2 {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 700;
}

.cms-table-wrap {
  padding-top: 18px;
}

.cms-content-table td strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}

.cms-content-table td small {
  display: block;
  margin-top: 3px;
}

.cms-content-table a {
  color: var(--accent-dark);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.cms-content-table tr.is-selected td {
  background: #f4fbfd;
}

.cms-empty-state {
  margin: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 18px;
  text-align: center;
}

.cms-editor-fields {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
}

.cms-dynamic-fields {
  display: grid;
  gap: 14px;
}

.cms-export-section {
  padding: 20px 22px 22px;
}

.cms-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cms-export-output {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px;
  resize: vertical;
}

@media (max-width: 900px) {
  .role-switcher-panel {
    border-top: 0;
  }

  .partner-card-grid,
  .partner-portal-grid,
  .repair-content-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cms-data-list div {
    grid-template-columns: 1fr;
  }

  .partner-entry-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-entry-strip a {
    justify-content: center;
    width: 100%;
  }

  .partner-strip-actions {
    width: 100%;
  }

  .site-header {
    position: static;
    display: block;
    padding: 14px 18px 12px;
  }

  .brand {
    margin-bottom: 12px;
    min-width: 0;
  }

  .brand img {
    width: min(268px, calc(100vw - 72px));
  }

  .header-controls {
    align-items: stretch;
    gap: 0;
    overflow: hidden;
  }

  .global-nav {
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-header-nav {
    align-items: stretch;
    overflow-x: auto;
  }

  .category-nav-bar {
    position: static;
  }

  .category-nav-inner {
    width: 100%;
    min-height: 0;
    padding: 0 18px;
  }

  .category-tabs {
    overflow-x: auto;
    padding: 10px 0;
  }

  .header-actions {
    margin: 10px 0 0;
    width: 100%;
  }

  .header-actions .login-button,
  .header-actions .support-button {
    flex: 1 1 0;
  }

  .home-shell {
    width: calc(100% - 36px);
    padding: 26px 0 56px;
  }

  .home-intro {
    min-height: 0;
    padding: 10px 0 26px;
  }

  .home-intro h1 {
    font-size: 30px;
  }

  .home-section-head h2 {
    font-size: 21px;
  }

  .audience-entry {
    padding: 22px 0;
  }

  .audience-entry-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
    padding: 18px;
  }

  .audience-card h3 {
    font-size: 21px;
  }

  .audience-primary-link {
    width: 100%;
  }

  .audience-helper-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .release-overview {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .internal-tools-panel {
    grid-template-columns: 1fr;
  }

  .internal-tool-links {
    justify-content: flex-start;
  }

  .release-status-list {
    align-items: flex-start;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .support-action {
    min-height: 0;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .faq-shell,
  .news-shell,
  .procedure-shell {
    width: calc(100% - 36px);
    padding: 26px 0 56px;
  }

  .faq-shell,
  .news-shell {
    width: 100%;
    padding: 0 0 56px;
  }

  .notice-feature {
    padding: 18px;
  }

  .notice-feature h2 {
    font-size: 21px;
  }

  .support-inline-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .notice-card {
    padding: 18px;
  }

  .notice-card.is-latest {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .notice-card.is-latest .notice-meta {
    display: flex;
  }

  .notice-card.is-latest .notice-title-button,
  .notice-card.is-latest > p,
  .notice-card.is-latest .notice-detail {
    grid-column: auto;
  }

  .news-layout {
    display: block;
    min-height: 0;
  }

  .news-filter-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
  }

  .notice-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .older-notice-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }

  .older-notice-item .notice-detail {
    grid-column: auto;
  }

  .faq-hero h1 {
    font-size: 30px;
  }

  .faq-layout {
    display: block;
    min-height: 0;
  }

  .faq-page .faq-layout {
    display: flex;
    flex-direction: column;
  }

  .faq-page .faq-sidebar-col {
    position: static;
    order: 1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
  }

  .faq-page .sidebar-search {
    display: grid;
    gap: 8px;
    padding: 10px 18px 8px;
  }

  .faq-page .topic-search {
    min-height: 40px;
  }

  .faq-page .sidebar-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .faq-page .sidebar-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    padding: 8px 11px;
    white-space: nowrap;
  }

  .faq-page .sidebar-nav a.is-active {
    border-bottom-color: var(--accent);
    background: var(--point);
  }

  .faq-page .sidebar-inquiry,
  .faq-page .sidebar-footer {
    display: none;
  }

  .faq-page .faq-content {
    order: 2;
    padding-top: 14px;
  }

  .faq-page .faq-inline-inquiry {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin-top: 16px;
    padding: 12px 14px;
  }

  .faq-page .faq-inline-inquiry p {
    margin: 0;
  }

  .faq-page .faq-inline-inquiry a {
    color: var(--accent-dark);
    font-weight: 600;
  }

  .faq-nav {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
  }

  .faq-content,
  .news-index-content {
    padding: 28px 18px 64px;
  }

  .faq-answer {
    padding: 16px 18px;
  }

  .trouble-item summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
  }

  .trouble-item summary::before {
    display: none;
  }

  .trouble-tags {
    display: none;
  }

  .procedure-grid {
    grid-template-columns: 1fr;
  }

  .support-entry-grid,
  .support-resource-grid,
  .support-check-grid,
  .manual-resource-grid {
    grid-template-columns: 1fr;
  }
  .video-card-grid {
    grid-template-columns: 1fr;
  }

  .support-entry-card {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }

  .support-entry-card strong {
    font-size: 19px;
  }

  .prototype-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .internal-mobile-note {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin: 12px 18px 0;
    border: 1px dashed #c7d6de;
    border-radius: 8px;
    background: #f7fafb;
    color: #64747d;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .internal-mobile-note strong {
    color: #52646e;
    font-weight: 600;
  }

  .admin-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table-wrap {
    padding: 18px;
  }

  .cms-layout {
    grid-template-columns: 1fr;
  }

  .cms-toolbar label,
  .cms-search-field {
    width: 100%;
    min-width: 0;
  }

  .cms-toolbar .secondary-button,
  .cms-export-actions .primary-button,
  .cms-export-actions .secondary-button,
  .cms-form-actions .primary-button,
  .cms-form-actions .secondary-button {
    width: 100%;
  }

  .cms-list-panel .cms-panel-head,
  .cms-editor-panel .cms-panel-head,
  .cms-editor-fields,
  .cms-export-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ticket-detail-head {
    flex-direction: column;
  }

  .ticket-detail-grid {
    grid-template-columns: 1fr;
  }

  .ticket-detail-grid div,
  .ticket-detail-grid div:nth-child(3n) {
    border-right: 0;
  }

  .app-shell {
    display: block;
  }

  .page-bar {
    top: 0;
    display: block;
    min-height: 0;
  }

  .page-bar-title {
    padding: 14px 18px 4px;
  }

  .page-bar-meta {
    justify-items: start;
    padding: 0 18px 14px;
  }

  .page-breadcrumb {
    padding: 0;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .side-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 14px 14px;
  }

  .side-nav a {
    min-width: 190px;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .side-nav a.is-active {
    border-bottom-color: var(--accent);
  }

  .content {
    padding: 28px 18px 64px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 21px;
  }



  .guide-form {
    grid-template-columns: 1fr;
  }

  .image-modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .image-button.is-portrait img {
    max-height: 560px;
  }

  .entry-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .entry-choice-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .entry-choice-card h2 {
    font-size: 19px;
  }

  .landing-shell {
    width: calc(100% - 36px);
    padding: 26px 0 56px;
  }

  .landing-hero h1 {
    font-size: 26px;
  }

  .landing-search-block {
    padding: 18px;
  }

  .landing-card-grid {
    grid-template-columns: 1fr;
  }

  .landing-card {
    min-height: 0;
  }

  .search-result-dropdown {
    max-height: 320px;
    border-radius: 0 0 8px 8px;
  }

  .search-result-item {
    padding: 10px 12px;
  }

  .search-result-title {
    font-size: 13px;
  }

  .search-result-desc {
    font-size: 11px;
  }

  #cms-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-tab-nav {
    flex-direction: column;
    border-bottom: none;
  }

  .cms-tab {
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
    text-align: left;
  }

  .cms-tab.is-active {
    border-bottom-color: var(--line);
    border-left: 3px solid var(--accent);
    background: #f7f8fa;
  }

  .cms-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cms-add-btn {
    margin-left: 0;
  }

  .cms-modal {
    padding: 20px 18px;
    max-width: 100%;
  }

  .cms-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cms-toolbar-note {
    margin-left: 0;
  }
}

/* ==========================================================================
   インラインエディタ（Google Sites方式 ページ内編集）
   ========================================================================== */

/* --- FAB（フローティングボタン） --- */
.inline-edit-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #6b7280;
  color: #fff;
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.15s;
}
.inline-edit-fab:hover { transform: scale(1.06); }
.inline-edit-fab .fab-icon { font-size: 20px; line-height: 1; }
.inline-edit-fab .fab-label { font-size: 10px; line-height: 1; margin-top: 2px; }
.inline-edit-fab.is-on {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.4);
}

/* --- データ管理ボタン --- */
.inline-data-mgmt {
  position: fixed;
  bottom: 92px;
  right: 16px;
  z-index: 8500;
  display: none;
}
body.inline-editor-can-edit .inline-data-mgmt {
  display: block;
}
.inline-data-mgmt-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.inline-data-mgmt-btn:hover { background: #f5f5f5; }
.inline-data-mgmt-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 180px;
  overflow: hidden;
}
.inline-data-mgmt-menu button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.inline-data-mgmt-menu button:hover { background: #f0f7ff; }
.inline-data-mgmt-menu button.is-danger { color: #e53e3e; }
.inline-data-mgmt-menu button.is-danger:hover { background: #fff5f5; }

/* --- 編集モードのハイライト --- */
body.inline-edit-active .faq-item,
body.inline-edit-active .notice-card,
body.inline-edit-active .trouble-item,
body.inline-edit-active .manual-section,
body.inline-edit-active .procedure-section,
body.inline-edit-active .repair-content-card,
body.inline-edit-active .partner-model-card,
body.inline-edit-active .support-check-card,
body.inline-edit-active .partner-hero,
body.inline-edit-active .prototype-note {
  outline: 2px dashed #ccc;
  outline-offset: 4px;
  cursor: pointer;
  position: relative;
}
body.inline-edit-active .faq-item:hover,
body.inline-edit-active .notice-card:hover,
body.inline-edit-active .trouble-item:hover,
body.inline-edit-active .manual-section:hover,
body.inline-edit-active .procedure-section:hover,
body.inline-edit-active .repair-content-card:hover,
body.inline-edit-active .partner-model-card:hover,
body.inline-edit-active .support-check-card:hover,
body.inline-edit-active .partner-hero:hover,
body.inline-edit-active .prototype-note:hover {
  outline-color: var(--accent);
  background: #f0f7ff;
}

/* --- 編集アイコン（鉛筆） --- */
body.inline-edit-active .faq-item::after,
body.inline-edit-active .notice-card::after,
body.inline-edit-active .trouble-item::after,
body.inline-edit-active .manual-section::after,
body.inline-edit-active .procedure-section::after,
body.inline-edit-active .repair-content-card::after,
body.inline-edit-active .partner-model-card::after,
body.inline-edit-active .support-check-card::after,
body.inline-edit-active .partner-hero::after,
body.inline-edit-active .prototype-note::after {
  content: "\270E";
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 14px;
  color: var(--accent);
  pointer-events: none;
}

/* --- 新規追加ボタン --- */
.inline-add-button {
  display: none;
  margin: 16px auto;
  padding: 12px 24px;
  border: 2px dashed #aaa;
  border-radius: 8px;
  background: transparent;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

body.inline-edit-active .inline-add-button:not([hidden]) {
  display: block;
}

.inline-add-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f0f7ff;
}

/* --- モーダルオーバーレイ --- */
.inline-edit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inline-edit-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  width: 90%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.inline-edit-modal h2 {
  font-size: 18px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.inline-edit-note {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.inline-json-modal {
  max-width: 760px;
}

.inline-json-output {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px;
  resize: vertical;
}

/* --- モーダル内フォーム --- */
.ie-field {
  margin-bottom: 16px;
}
.ie-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.ie-field input[type="text"],
.ie-field input[type="date"],
.ie-field select,
.ie-field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.ie-field textarea {
  resize: vertical;
  line-height: 1.6;
}
.ie-field input:focus,
.ie-field select:focus,
.ie-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(30,144,255,0.15);
}

/* --- モーダルアクションボタン --- */
.inline-edit-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.inline-edit-actions button {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
}
.inline-edit-actions button.primary-button {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.inline-edit-actions button.primary-button:hover {
  opacity: 0.88;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .inline-edit-fab {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
  .inline-edit-fab .fab-icon { font-size: 16px; }
  .inline-edit-fab .fab-label { font-size: 8px; }
  .inline-edit-modal {
    width: 95%;
    padding: 20px 18px;
  }
  .inline-auth-panel {
    top: 122px;
    right: 10px;
    width: min(210px, calc(100vw - 20px));
    gap: 5px;
    padding: 7px;
  }
  .inline-auth-panel strong {
    font-size: 11px;
    line-height: 1.1;
  }
  .inline-auth-panel p {
    font-size: 9px;
    line-height: 1.25;
  }
  .inline-role-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .inline-role-buttons::-webkit-scrollbar {
    display: none;
  }
  .inline-role-buttons button {
    flex: 0 0 auto;
    font-size: 10px;
    min-height: 25px;
    padding: 5px 6px;
  }
  .inline-data-mgmt {
    right: 76px;
    bottom: 82px;
  }
  .inline-data-mgmt-btn { font-size: 11px; padding: 4px 8px; }
}

/* ==========================================================================
   フォーム送信: 確認モーダル・送信結果モーダル
   ========================================================================== */

/* --- 確認モーダル --- */
.form-confirm-overlay,
.form-result-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-confirm-modal,
.form-result-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  width: 90%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.form-confirm-modal h2,
.form-result-modal h2 {
  font-size: 18px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.form-confirm-hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* --- 確認リスト（dt/dd） --- */
.form-confirm-list {
  margin: 0 0 20px;
}
.form-confirm-list dt {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f3f4f6;
}
.form-confirm-list dt:first-child {
  margin-top: 0;
}
.form-confirm-list dd {
  margin: 4px 0 0;
  font-size: 14px;
  color: #111827;
  line-height: 1.6;
  white-space: pre-wrap;
}
.form-confirm-list dd .is-empty {
  color: #9ca3af;
  font-style: italic;
}

/* --- モーダルアクション --- */
.form-confirm-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.form-confirm-actions button {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
}

/* --- 送信結果モーダル --- */
.form-result-modal p {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 20px;
}
.form-result-modal.is-success {
  border-top: 4px solid #10b981;
}
.form-result-modal.is-error {
  border-top: 4px solid #ef4444;
}
.form-result-modal.is-success h2 {
  color: #059669;
}
.form-result-modal.is-error h2 {
  color: #dc2626;
}
.form-result-modal button {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
  margin-right: 8px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .form-confirm-modal,
  .form-result-modal {
    width: 95%;
    padding: 20px 18px;
  }
  .form-confirm-list dt {
    font-size: 12px;
  }
  .form-confirm-list dd {
    font-size: 13px;
  }
}

/* ======================================================================
 * IMPL-020: Unified app-shell layout for all audience sections
 * ====================================================================== */

/* サイドバーリンクの基本スタイル */
.side-link {
  display: block;
  padding: 8px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.side-link:hover {
  background: var(--hover);
  color: var(--fg);
}

.side-link.is-active {
  background: var(--accent-light, #e0e7ff);
  color: var(--accent, #2563eb);
  font-weight: 600;
}

/* ======================================================================
 * IMPL-021: Support site login gate for procedures page
 * ====================================================================== */

.site-login-section {
  max-width: 480px;
  margin: 32px auto;
  padding: 32px 28px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
}

.site-login-section h2 {
  font-size: 18px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-login-section .login-description {
  color: var(--muted, #6b7280);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.site-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-login-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg, #111);
}

.site-login-form input {
  padding: 10px 12px;
  border: 1px solid var(--border, #d1d5db);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.site-login-form input:focus {
  border-color: var(--accent, #2563eb);
}

.site-login-submit {
  margin-top: 6px;
  padding: 12px;
  background: var(--accent, #2563eb);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.site-login-submit:hover {
  opacity: 0.9;
}

.site-login-hint {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--hover, #f3f4f6);
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted, #6b7280);
  line-height: 1.5;
}

.site-login-hint strong {
  color: var(--fg, #111);
}

.site-login-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 13px;
  display: none;
}

.site-login-error.is-visible {
  display: block;
}

.login-status-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
  margin: 16px auto;
  padding: 12px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 14px;
  color: #065f46;
}

.login-status-bar.is-visible {
  display: flex;
}

.login-status-bar button {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  color: #065f46;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.login-status-bar button:hover {
  background: #d1fae5;
}

/* 未ログイン時は手続きコンテンツを非表示 */
body:not(.is-logged-in) .procedures-gated {
  display: none !important;
}

body.is-logged-in .site-login-section {
  display: none !important;
}

/* ======================================================================
 * IMPL-067: Procedures tab navigation and compact content index
 * ====================================================================== */

.procedure-page .procedure-head {
  margin-bottom: 16px;
}

.procedure-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
}

.procedure-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--muted, #64748b);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
}

.procedure-tab:hover {
  color: var(--fg, #111827);
  background: #fff;
  border-color: var(--border, #e5e7eb);
}

.procedure-tab.is-active {
  color: var(--accent, #2563eb);
  background: #fff;
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

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

.content-index-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.content-index-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.content-index-card strong {
  font-size: 16px;
  line-height: 1.45;
}

.content-index-card p {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 13px;
  line-height: 1.7;
}

.content-index-kicker {
  width: fit-content;
  padding: 3px 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  background: #eff6ff;
  border-radius: 999px;
}

.procedure-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.procedure-info-card {
  padding: 15px 16px;
  background: #f8fafc;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
}

.procedure-info-card h2 {
  margin: 0 0 10px;
  color: var(--fg, #111827);
  font-size: 15px;
  line-height: 1.4;
}

.procedure-info-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted, #64748b);
  font-size: 13px;
  line-height: 1.65;
}

.procedure-summary .contract-summary {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .procedure-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .procedure-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .content-index-grid,
  .procedure-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
 * DESIGN-THREAD: レスポンシブ表示の品質向上
 * Date: 2026-06-10
 * Target: 全ページ
 * ====================================================================== */

/* --- グローバルナビ: タブレット幅での最適化 --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .global-nav {
    gap: 12px;
  }
  .global-nav a {
    font-size: 13px;
  }
  .global-nav-icon {
    width: 16px;
    height: 16px;
  }
  .global-nav-icon svg {
    width: 14px;
    height: 14px;
  }
  .site-header {
    padding: 10px 20px;
    gap: 16px;
  }
  .header-controls {
    gap: 0;
  }
}

/* --- グローバルナビ: スマホ幅での最適化 --- */
@media (max-width: 768px) {
  .global-nav {
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .global-nav::-webkit-scrollbar {
    height: 3px;
  }
  .global-nav::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
  }
  .global-nav a {
    font-size: 12px;
    min-height: 32px;
    gap: 4px;
  }
  .global-nav-icon {
    width: 15px;
    height: 15px;
  }
  .global-nav-icon svg {
    width: 13px;
    height: 13px;
  }
}

/* --- app-shell: サイドバー削除後のフルワイド最適化 --- */
@media (max-width: 900px) {
  .app-shell {
    max-width: 100%;
  }
  .page-bar {
    left: 0;
    right: 0;
    border-bottom-color: var(--line);
    background: linear-gradient(90deg, #eef7fa 0%, #ffffff 100%);
  }
  .page-bar-title {
    padding: 12px 16px 2px;
    font-size: 20px;
  }
  .page-bar-meta {
    padding: 0 16px 12px;
  }
  .page-breadcrumb {
    font-size: 12px;
    padding: 0;
  }
  .page-breadcrumb a {
    color: var(--muted);
  }
}

/* --- category-nav-bar: スマホ幅でのタブ操作性向上 --- */
@media (max-width: 768px) {
  .category-nav-bar {
    position: static;
  }
  .category-nav-inner {
    padding: 0 14px;
    min-height: 0;
  }
  .category-tabs {
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .category-tabs::-webkit-scrollbar {
    height: 3px;
  }
  .category-tabs::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
  }
  .category-tab {
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }
}

/* --- フォーム要素: スマホ幅での操作性向上 --- */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px; /* iOS自動ズーム防止 */
  }
}

/* ======================================================================
 * DESIGN-THREAD: トップページ3カードの視覚的階層
 * Date: 2026-06-10
 * Target: index.html
 * ====================================================================== */

/* --- カードの視覚的差別化 --- */
.entry-choice-card {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* カード1: 導入検討中 — 淡いブルー系 */
.entry-choice-card:nth-child(1) {
  background: linear-gradient(160deg, #ffffff 0%, #f0f8fc 100%);
  border-color: #b8dcea;
}

/* カード2: ご利用中 — 淡いシアン系 */
.entry-choice-card:nth-child(2) {
  background: linear-gradient(160deg, #ffffff 0%, #eef6f5 100%);
  border-color: #a8d8d0;
}

/* カード3: ご利用者様 — 既存のグリーン系を維持 */
.entry-choice-card.is-enduser {
  background: linear-gradient(160deg, #ffffff 0%, #f1f8f1 100%);
  border-color: #c8e6c9;
}

/* --- ホバー品質の向上 --- */
.entry-choice-card:hover,
.entry-choice-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 54, 68, 0.12);
  border-color: var(--accent);
  outline: none;
}

.entry-choice-card.is-enduser:hover,
.entry-choice-card.is-enduser:focus-visible {
  border-color: #43a047;
}

/* --- アイコンの差別化 --- */
.entry-choice-card:nth-child(1) .entry-choice-icon {
  background: linear-gradient(135deg, #00a3d1 0%, #087fa3 100%);
}

.entry-choice-card:nth-child(2) .entry-choice-icon {
  background: linear-gradient(135deg, #0097a7 0%, #00796b 100%);
}

.entry-choice-card.is-enduser .entry-choice-icon {
  background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.entry-choice-icon {
  box-shadow: 0 4px 12px rgba(0, 163, 209, 0.25);
}

.entry-choice-card.is-enduser .entry-choice-icon {
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.25);
}

/* --- 「詳しく見る」リンクの強調 --- */
.entry-choice-arrow {
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.entry-choice-card:hover .entry-choice-arrow {
  letter-spacing: 0.5px;
}

/* --- スマホ表示でのカード最適化 --- */
@media (max-width: 900px) {
  .entry-choice-grid {
    gap: 16px;
    margin-top: 28px;
  }
  .entry-choice-card {
    min-height: 0;
    padding: 24px 20px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }
  .entry-choice-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .entry-choice-icon svg {
    width: 24px;
    height: 24px;
  }
  .entry-choice-card h2 {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .entry-choice-card p {
    font-size: 13px;
  }
  .entry-choice-arrow {
    padding-top: 8px;
    font-size: 13px;
  }
}

/* ======================================================================
 * DESIGN-THREAD: コンポーネント品質統一
 * Date: 2026-06-10
 * Target: 全ページ
 * ====================================================================== */

/* --- ボタン品質の統一 --- */
.site-login-submit {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.site-login-submit:hover {
  opacity: 1;
  background: var(--accent-dark, #087fa3);
  box-shadow: 0 4px 12px rgba(8, 127, 163, 0.25);
  transform: translateY(-1px);
}

.site-login-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.login-button:hover,
.login-button:focus-visible,
.support-button:hover,
.support-button:focus-visible {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 8px rgba(8, 127, 163, 0.12);
}

/* --- page-bar の品質向上 --- */
.page-bar {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.page-bar-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.page-breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --- フォーム要素の一貫性向上 --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 163, 209, 0.12);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #a0aec0;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

/* --- ボタンのスマホ最適化 --- */
@media (max-width: 768px) {
  .login-button,
  .support-button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .site-login-submit {
    width: 100%;
    padding: 12px;
  }
}

/* ======================================================================
 * DESIGN-THREAD: トップページ再設計（ヒーローレイアウト + 白グラデーション背景）
 * Date: 2026-06-10
 * Target: index.html
 * ====================================================================== */

/* --- 背景デザイン: 白ベースの色ムラグラデーション --- */
body.home-page {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 163, 209, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(0, 151, 167, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(67, 160, 71, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 40%, #f4f8fb 100%);
  background-attachment: fixed;
}

/* --- ヒーローセクション: ロゴ大・中央配置 --- */
body.home-page .home-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  padding: 80px 24px 60px;
  border-bottom: none;
}

body.home-page .home-intro > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

/* --- home-kicker削除後の調整（控えめ化） --- */
body.home-page .home-kicker {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 12px;
}

/* --- サイトタイトル --- */
body.home-page #homeTitle,
body.home-page .home-intro h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* --- 公開段階タグを控えめに --- */
body.home-page .home-intro .release-status {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.6;
}

/* --- ヒーロー下部の淡いセパレーター --- */
body.home-page .home-intro::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(0, 163, 209, 0.2) 100%);
  margin-top: 40px;
}

/* --- home-shell レイアウト調整 --- */
body.home-page .home-shell {
  width: min(1080px, calc(100% - 48px));
  padding-top: 0;
}

/* ======================================================================
 * DESIGN-THREAD: 3択エントリーカード（白ベース統一 + 矢印アニメーション）
 * Date: 2026-06-10
 * Target: index.html
 * ====================================================================== */

/* --- グリッドレイアウト --- */
body.home-page .entry-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 48px;
  padding-top: 20px;
}

/* --- カード: 白ベース統一 --- */
body.home-page .entry-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px 28px 32px;
  min-height: 280px;
  box-shadow: 0 4px 20px rgba(28, 54, 68, 0.06);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* --- カード上部のアクセントライン --- */
body.home-page .entry-choice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--accent);
  transition: width 0.3s ease;
}

body.home-page .entry-choice-card:nth-child(2)::before {
  background: #0097a7;
}

body.home-page .entry-choice-card.is-enduser::before {
  background: #43a047;
}

/* --- ホバー: シャドウ強化 + アクセントライン拡大 --- */
body.home-page .entry-choice-card:hover,
body.home-page .entry-choice-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(28, 54, 68, 0.12);
  border-color: rgba(0, 163, 209, 0.2);
  outline: none;
}

body.home-page .entry-choice-card.is-enduser:hover,
body.home-page .entry-choice-card.is-enduser:focus-visible {
  border-color: rgba(67, 160, 71, 0.2);
}

body.home-page .entry-choice-card:hover::before {
  width: 100%;
}

/* --- アイコン --- */
body.home-page .entry-choice-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0, 163, 209, 0.2);
  transition: transform 0.3s ease;
}

body.home-page .entry-choice-card:hover .entry-choice-icon {
  transform: scale(1.08);
}

body.home-page .entry-choice-icon svg {
  width: 30px;
  height: 30px;
}

/* --- タイトル・説明文 --- */
body.home-page .entry-choice-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

body.home-page .entry-choice-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- 矢印アニメーション（32px SVG対応） --- */
body.home-page .entry-choice-arrow {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: color 0.2s ease;
}

body.home-page .entry-choice-arrow svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home-page .entry-choice-card:hover .entry-choice-arrow {
  color: var(--accent);
}

body.home-page .entry-choice-card:hover .entry-choice-arrow svg {
  transform: translateX(6px);
}

/* テキスト矢印（SVG未適用時のフォールバック） */
body.home-page .entry-choice-arrow:not(:has(svg)) {
  letter-spacing: 0.5px;
  transition: letter-spacing 0.3s ease, color 0.2s ease;
}

body.home-page .entry-choice-card:hover .entry-choice-arrow:not(:has(svg)) {
  letter-spacing: 2px;
}

/* --- is-enduser アロー色 --- */
body.home-page .entry-choice-card.is-enduser .entry-choice-arrow {
  color: #2e7d32;
}

body.home-page .entry-choice-card.is-enduser:hover .entry-choice-arrow {
  color: #43a047;
}

/* --- スマホ表示 --- */
@media (max-width: 900px) {
  body.home-page .home-intro {
    min-height: 40vh;
    padding: 48px 16px 40px;
  }

  body.home-page .home-intro h1 {
    font-size: 28px;
  }

  body.home-page .home-intro::after {
    margin-top: 28px;
  }

  body.home-page .entry-choice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  body.home-page .entry-choice-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 20px;
    min-height: 0;
    gap: 16px;
  }

  body.home-page .entry-choice-card::before {
    display: none;
  }

  body.home-page .entry-choice-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  body.home-page .entry-choice-icon svg {
    width: 26px;
    height: 26px;
  }

  body.home-page .entry-choice-card h2 {
    font-size: 17px;
  }

  body.home-page .entry-choice-card p {
    font-size: 13px;
  }

  body.home-page .entry-choice-arrow {
    margin-top: 8px;
    padding-top: 8px;
  }

  body.home-page .entry-choice-arrow svg {
    width: 28px;
    height: 28px;
  }
}

/* ======================================================================
 * DESIGN-THREAD: サイドバー検索・ログインフッターのスタイリング
 * Date: 2026-06-10
 * Target: 全ページ（サイドバー使用ページ）
 * ====================================================================== */

/* --- サイドバー検索窓 --- */
.sidebar-search {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.sidebar-search input[type="search"],
.sidebar-search input[type="text"] {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") 12px center / 16px 16px no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sidebar-search input:focus {
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 163, 209, 0.1);
  outline: none;
}

.sidebar-search input::placeholder {
  color: #a0aec0;
}

/* --- サイドバーフッター（ログインボタン配置） --- */
.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.sidebar-version {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted, #7b8a92);
  line-height: 1.4;
}

.sidebar-version span + span::before {
  content: "\00b7";
  margin-right: 10px;
}

.sidebar-footer .site-login-submit {
  width: 100%;
  margin-top: 0;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.sidebar-footer .site-login-submit:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(8, 127, 163, 0.25);
  transform: translateY(-1px);
}

.sidebar-footer .site-login-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar-footer .site-login-hint {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* --- サイドバー全体がflexの場合のフッター下端固定対応 --- */
.sidebar {
  display: flex;
  flex-direction: column;
}

/* --- スマホでのサイドバー検索・フッター --- */
@media (max-width: 900px) {
  .sidebar-search {
    padding: 12px 14px;
  }
  .sidebar-search input[type="search"],
  .sidebar-search input[type="text"] {
    font-size: 16px;
    padding: 10px 14px 10px 38px;
  }
  .sidebar-footer {
    padding: 12px 14px;
  }
}



/* --- 検索ブロックの白背景対応 --- */
body.home-page .landing-search-block {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(28, 54, 68, 0.04);
}

/* --- 社内確認用セクションの白背景対応 --- */
body.home-page .internal-review-note {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.06);
}

/* ======================================================================
 * DESIGN-THREAD: DESIGN-004 ナビゲーション整合性 + コンテンツ分離 デザイン対応
 * Date: 2026-06-10
 * Target: 全ページ
 * ====================================================================== */

/* ── タスクA: トップページ ロゴヒーロースタイリング ── */

.home-hero-logo {
  display: block;
  width: 220px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 163, 209, 0.1));
}

/* ヒーロー内での中央揃え強化 */
body.home-page .home-intro .home-hero-logo {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .home-hero-logo {
    width: 160px;
    margin-bottom: 16px;
  }
}

/* ── タスクB: 検索ボタン矢印化 + フィールド内配置 ── */

.sidebar-search .topic-search,
.landing-search-block .topic-search {
  position: relative;
  display: block;
  max-width: 560px;
  margin: 0 auto;
}

.sidebar-search .topic-search input,
.landing-search-block .topic-search input {
  width: 100%;
  padding-right: 52px;
}

.sidebar-search .topic-search button[type="submit"],
.landing-search-block .topic-search button[type="submit"] {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-search .topic-search button[type="submit"]:hover,
.landing-search-block .topic-search button[type="submit"]:hover {
  background: rgba(0, 163, 209, 0.08);
  color: var(--accent-dark);
}

.sidebar-search .topic-search button[type="submit"]:focus-visible,
.landing-search-block .topic-search button[type="submit"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.sidebar-search .topic-search button[type="submit"] svg,
.landing-search-block .topic-search button[type="submit"] svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── タスクC: page-bar高さ・タイトル拡大（landing-*） ── */

.landing-page .page-bar,
.landing-existing-page .page-bar,
.landing-pre-install-page .page-bar,
.landing-enduser-page .page-bar {
  min-height: 190px;
  height: auto;
  align-self: start;
  top: 76px;
  grid-template-columns: 1fr 1fr;
}

.landing-page .landing-hero .visually-hidden + *,
.landing-page .landing-hero h1.visually-hidden {
  margin-top: 0;
}

.landing-page .landing-hero:has(h1.visually-hidden) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.landing-page .page-bar-title {
  padding: 14px 22px 4px;
  font-size: 29px;
  white-space: nowrap;
}

.landing-page .page-bar-title .page-bar-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.landing-page .page-bar-meta {
  padding: 8px 22px 18px;
  font-size: 15px;
}

/* ── landing お知らせサマリー ── */

.landing-news-summary {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--panel, #fff);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.landing-news-summary h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.landing-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-news-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #eee);
  font-size: 14px;
}

.landing-news-list li:last-child {
  border-bottom: none;
}

.landing-news-list time {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.landing-news-list .news-badge {
  flex-shrink: 0;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  background: #e8f4f8;
  color: var(--accent-dark);
}

.landing-news-list a {
  color: var(--text);
  text-decoration: none;
}

.landing-news-list a:hover {
  text-decoration: underline;
}

.landing-news-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent-dark);
  text-decoration: none;
}

.landing-news-more:hover {
  text-decoration: underline;
}

/* ── タスクD: procedure-card アイコン統合 ── */

.procedure-card .procedure-card-icon,
.procedure-card .global-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.procedure-card .procedure-card-icon svg,
.procedure-card .global-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.procedure-card {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.procedure-card:hover {
  box-shadow: 0 8px 24px rgba(28, 54, 68, 0.1);
}

.procedure-card:hover .procedure-card-icon,
.procedure-card:hover .global-nav-icon {
  color: var(--accent-dark);
}

/* ── タスクE: サイドバー検索UI統一（トラブルシュート用） ── */

.faq-search-block input {
  border-radius: 999px;
  padding: 9px 14px 9px 38px;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") 12px center / 16px 16px no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.faq-search-block input:focus {
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 163, 209, 0.1);
  outline: none;
}

.faq-search-block input::placeholder {
  color: #a0aec0;
}

/* カテゴリフィルタボタンの統一 */
.faq-search-block .category-filter-btn,
.faq-nav .category-tab {
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.faq-search-block .category-filter-btn:hover,
.faq-nav .category-tab:hover {
  background: var(--point);
}

.faq-search-block .category-filter-btn.is-active,
.faq-nav .category-tab.is-active {
  background: var(--accent);
  color: #ffffff;
}

/* ── タスクF: 優先度テーブルの視覚改善 ── */

/* 早めの確認希望（行1）: 赤系 */
.support-priority-table tbody tr:nth-child(1) th {
  background: #fef2f2;
  color: #991b1b;
  border-left: 3px solid #ef4444;
}

/* 1営業日以内（行2）: 黄系 */
.support-priority-table tbody tr:nth-child(2) th {
  background: #fffbeb;
  color: #92400e;
  border-left: 3px solid #f59e0b;
}

/* 2〜3営業日（行3）: 青緑系 */
.support-priority-table tbody tr:nth-child(3) th {
  background: #ecfdf5;
  color: #065f46;
  border-left: 3px solid #10b981;
}

/* 4行目以降: デフォルト維持 */
.support-priority-table tbody tr:nth-child(n+4) th {
  background: #f7fbfd;
  color: var(--accent-dark);
  border-left: 3px solid var(--line);
}

/* テーブル全体のホバー行ハイライト */
.support-priority-table tbody tr {
  transition: background 0.15s ease;
}

.support-priority-table tbody tr:hover {
  background: rgba(0, 163, 209, 0.03);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .support-priority-table {
    min-width: 0;
    font-size: 13px;
  }
  .support-priority-table th,
  .support-priority-table td {
    padding: 10px 10px;
  }
  .support-priority-table tbody th {
    width: auto;
  }
}

/* === 027: Navigation consistency additions === */

/* Home hero logo */
.home-hero-logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 16px;
}

/* Procedure card icons */
.procedure-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent, #2563eb);
  flex-shrink: 0;
}
.procedure-card-icon svg {
  width: 24px;
  height: 24px;
}

/* Support inline link (replaced panel) */
.support-inline-link {
  padding: 12px 0;
  font-size: 14px;
  color: var(--muted, #666);
}

.support-enduser-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted, #666);
  background: var(--surface-alt, #f5f5f5);
  border-radius: 6px;
}

.support-enduser-note a {
  color: var(--accent, #2563eb);
  text-decoration: underline;
}

/* Search arrow button inside input */
.sidebar-search .topic-search {
  position: relative;
}
.sidebar-search button[type="submit"] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--muted, #666);
  display: inline-flex;
  align-items: center;
}
.sidebar-search button[type="submit"]:hover {
  color: var(--accent, #2563eb);
}

/* ======================================================================
 * DESIGN-THREAD: ヒーローセクション修正（ロゴ拡大・バー削除・高さ圧縮）
 * Date: 2026-06-10
 * Target: index.html
 * ====================================================================== */

/* ロゴ大きく */
.home-hero-logo {
  width: 340px;
  max-width: 85%;
  margin-bottom: 0;
  filter: none;
}

@media (max-width: 768px) {
  .home-hero-logo {
    width: 240px;
  }
}

/* バー削除 */
body.home-page .home-intro::after {
  display: none;
}

/* ヒーロー高さ圧縮（1/3程度に） + 全幅化 */
body.home-page .home-intro {
  min-height: 0;
  padding: 40px 0 32px;
  background: #ffffff;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  border-bottom: 1px solid var(--line);
}

/* カード上部スペース確保 */
body.home-page .entry-choice-grid {
  margin-top: 0;
  padding-top: 64px;
}

@media (max-width: 768px) {
  body.home-page .home-intro {
    padding: 32px 16px 24px;
  }
  body.home-page .entry-choice-grid {
    padding-top: 28px;
  }
}

/* ======================================================================
 * DESIGN-THREAD: DESIGN-005 固定ヘッダー・サイドバー・タブUI品質修正
 * Date: 2026-06-13
 * Target: 全ページ
 * ====================================================================== */

/* ── タスクA: page-bar sticky位置修正（タブなしページ） ── */
/* タブ（category-nav-bar）がないページではヘッダー(76px)直下に吸着させる */

.support-page .page-bar,
.ticket-page .page-bar,
.admin-page .page-bar,
.landing-page .page-bar,
.procedure-page .page-bar {
  top: 76px;
}

/* ── タスクB: site-header背景の不透明化 ── */
/* スクロール時のコンテンツ透過を解消 */

.site-header {
  background: #ffffff;
  backdrop-filter: none;
}

/* ── タスクC: page-bar背景のOpaque化 ── */
/* 右端の白(#ffffff)を視覚同等の不透明色に変更 */

.page-bar {
  background: linear-gradient(90deg, #dff4fa 0%, #eef9fc 48%, #f8fcfd 100%);
}

/* ── タスクD: サイドバー統合後のスタイリング ── */
/* .sidebar 内にカテゴリナビ/フィルタを包含した場合のスタイル */

.sidebar .faq-nav,
.sidebar .news-filter-nav {
  padding: 0;
  border: none;
}

.sidebar .toc-heading {
  padding: 16px 18px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar .faq-nav a,
.sidebar .news-filter-nav a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sidebar .faq-nav a:hover,
.sidebar .news-filter-nav a:hover {
  background: var(--soft, #f5f7f9);
  border-left-color: rgba(0, 163, 209, 0.3);
}

.sidebar .faq-nav a.is-active,
.sidebar .news-filter-nav a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(0, 163, 209, 0.04);
}

/* カテゴリフィルタボタンのサイドバー内統一 */
.sidebar .category-filter-group {
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar .category-filter-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sidebar .category-filter-btn:hover {
  background: var(--soft, #f5f7f9);
  border-color: var(--accent);
  color: var(--accent);
}

.sidebar .category-filter-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ── タスクE: 空sidebar-footerの非表示 ── */

.sidebar-footer:empty {
  display: none;
}

/* サイドバー内お問い合わせ案内 */
.sidebar-inquiry {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--muted, #6b7280);
  line-height: 1.5;
}

.sidebar-inquiry a {
  color: var(--accent, #00a3d1);
  font-weight: 500;
}

.faq-inline-inquiry {
  display: none;
}

/* ── タスクF: 追加作業なし（タスクAで自動解消） ── */

/* ── タスクG: ログインボタン追加後のスタイル（既存CSS確認済み・追加不要） ── */

/* ======================================================================
 * DESIGN-THREAD: DESIGN-006 UI/HTML構造包括修正 CSS対応
 * Date: 2026-06-13
 * Target: 全ページ
 * ====================================================================== */

/* ── タスクA2+E: タブありページのpage-bar位置修正 ── */
/* category-nav-bar があるページ（faq, manual, news）は base の top: 134px でOK */
/* procedure-page は category-nav-bar なし → タスクA の top: 76px が適用済み */

/* ── タスクC: サイドバーのヘッダー直下配置 ── */

.sidebar {
  top: 76px;
  height: calc(100vh - 76px);
}

/* ── タスクB対応: ランディングページのapp-shell 1カラム化 ── */

.landing-page .app-shell {
  grid-template-columns: 1fr;
}

/* ── タスクG: サイドバー内ナビリンクの実構造対応 ── */

/* FAQページ: サイドバー直下のリンク */
.sidebar .toc-heading {
  padding: 16px 18px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #6b7280);
  letter-spacing: 0.08em;
}

/* .sidebar a[data-faq-group] → .sidebar-nav a に統一済み */

/* トラブルシュート: フィルタボタン */
.sidebar .trouble-filter {
  display: block;
  width: calc(100% - 36px);
  margin: 2px 18px;
  padding: 8px 12px;
  font-size: 13px;
  text-align: left;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text, #1a1a1a);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sidebar .trouble-filter:hover {
  background: var(--soft, #f5f7f9);
}

.sidebar .trouble-filter.is-active {
  background: rgba(0, 163, 209, 0.08);
  color: var(--accent, #00a3d1);
  font-weight: 600;
}

/* ======================================================================
 * DESIGN-THREAD: DESIGN-007 UI構造リファインメント CSS対応
 * Date: 2026-06-13
 * Target: 全ページ
 * ====================================================================== */

/* ── タスクA: FAQ検索ブロック統合スタイル ── */

#faqSearchBlock {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line, #dce3e8);
}

#faqSearchBlock .topic-search {
  margin-bottom: 8px;
}

/* .faq-search-reset → 削除済み（デッドコード） */

/* .faq-filter-links → .sidebar-nav に統一済み */

/* ── タスクB: ランディングページCTAセクション ── */

.landing-cta-section {
  margin-top: 48px;
  padding: 40px 32px;
  background: var(--panel, #ffffff);
  border: 1px solid var(--line, #dce3e8);
  border-radius: 12px;
  text-align: center;
}

.landing-cta-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #263238);
}

.landing-cta-section p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted, #667680);
}

.landing-cta-section .primary-button {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
}

/* ── タスクF: manual.html sidebarクリーンアップ後のグリッド維持 ── */

.manual-page .app-shell {
  grid-template-columns: 284px 1fr;
}

/* ======================================================================
 * DESIGN-THREAD: DESIGN-007b UI/レイアウト緊急修正 CSS対応
 * Date: 2026-06-14
 * Target: 全ページ
 * ====================================================================== */

/* ── タスクA: ランディングページ コンテンツ中央寄せ ── */
/* .content ベースクラスに margin auto 設定済みのため冗長だが明示的に残す */

.landing-page .content {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA簡素化: ボタンだけに */
.landing-cta-section h2.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ── タスクB: 導入の流れインフォグラフィック ── */

.landing-infographic {
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f7f9 100%);
  border-color: rgba(0, 163, 209, 0.15);
  position: relative;
  overflow: hidden;
}

.landing-infographic::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 163, 209, 0.06);
  pointer-events: none;
}

.landing-infographic h2 {
  position: relative;
  padding-left: 14px;
  font-size: 20px;
}

.landing-infographic h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent, #00a3d1);
}

.procedure-step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  position: relative;
}

.procedure-step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 16px 16px 16px 64px;
  margin-bottom: 0;
}

.procedure-step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 12px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent, #00a3d1);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 163, 209, 0.25);
}

.procedure-step-list li::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 50px;
  width: 2px;
  height: calc(100% - 36px);
  background: var(--line, #dce3e8);
}

.procedure-step-list li:last-child::after {
  display: none;
}

.procedure-step-list li strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #263238);
  margin-bottom: 4px;
}

.procedure-step-list li span {
  font-size: 13px;
  color: var(--muted, #667680);
}

.procedure-step-list .step-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 163, 209, 0.08);
  color: var(--accent, #00a3d1);
}

/* インフォグラフィック デスクトップ横型フロー */
@media (min-width: 900px) {
  .landing-infographic .procedure-step-list {
    display: flex;
    gap: 0;
    counter-reset: step-counter;
  }

  .landing-infographic .procedure-step-list li {
    flex: 1;
    padding: 20px 12px 12px;
    text-align: center;
    position: relative;
  }

  .landing-infographic .procedure-step-list li::before {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 10px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .landing-infographic .procedure-step-list li::after {
    content: "";
    position: absolute;
    left: auto;
    top: 38px;
    right: -14px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--accent, #00a3d1);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    background: none;
    opacity: 0.4;
  }

  .landing-infographic .procedure-step-list li:last-child::after {
    display: none;
  }

  .landing-infographic .procedure-step-list li strong {
    font-size: 13px;
  }

  .landing-infographic .procedure-step-list li span {
    font-size: 11px;
    display: block;
  }

  .landing-infographic .procedure-step-list .step-icon {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto 8px;
    width: 36px;
    height: 36px;
  }
}

/* ── タスクC: FAQページ サイドバー sticky top修正（全ページ top:76px に統一） ── */

/* ── タスクD: ニュースページ タブ上部配置対応（全ページ top:76px に統一） ── */

/* ── タスクE: 手続きページ サイドバーナビ ── */

.procedure-page .sidebar {
  top: 76px;
  height: calc(100vh - 76px);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--text, #263238);
  cursor: pointer;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sidebar-nav a[hidden] {
  display: none;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible {
  background: var(--soft, #f5f7f9);
  border-left-color: rgba(0, 163, 209, 0.3);
  outline: none;
}

.sidebar-nav a.is-active {
  color: var(--accent, #00a3d1);
  border-left-color: var(--accent, #00a3d1);
  background: rgba(0, 163, 209, 0.04);
}

/* 手続きページ コンテンツ中央寄せ */
.procedure-shell {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── タスクF: トラブルシュート サイドバー統一 ── */

.troubleshooting-page .sidebar {
  top: 76px;
  height: calc(100vh - 76px);
}

.troubleshooting-page .app-shell {
  display: grid;
  grid-template-columns: 284px 1fr;
}

/* ── FAQ/Trouble: faq-layout冗長グリッド解消 ── */

.troubleshooting-page .faq-layout {
  display: block;
}

/* ── FAQ: サイドバーfaq-layout内配置対応 ── */

/* .faq-page .faq-sidebar-col → .sidebar ベースクラスに統一済み */

/* ── 手続きページ: 公開セクション＋ログインゲート改善 ── */

.procedure-public {
  border: 1px solid var(--line, #dce3e8);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  background: #ffffff;
}

.procedure-public .procedure-section-head h2 {
  font-size: 18px;
}

body.is-logged-out .site-login-section {
  border: 1px solid rgba(0, 163, 209, 0.2);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #fafbfc 100%);
}

body.is-logged-out .site-login-section h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

body.is-logged-out .login-description {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--muted, #667680);
}

/* ======================================================================
 * DESIGN-THREAD: DESIGN-008 visual consistency cleanup
 * Date: 2026-06-11
 * Target: navigation, sidebar, titles, news, procedures
 * ====================================================================== */

:root {
  --support-logo-blue: #00a3d1;
}

.page-bar-title .page-bar-subtitle,
.landing-page .page-bar-title .page-bar-subtitle {
  color: var(--support-logo-blue);
  -webkit-text-stroke: 0;
  opacity: 0.92;
}

.content,
.news-index-content {
  max-width: 1060px;
}

.faq-content,
.troubleshooting-content,
.procedure-shell {
  max-width: 980px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.procedure-section,
.notice-index-section,
.faq-category,
.trouble-results,
.procedure-public {
  border-radius: 8px;
}

.sidebar {
  background: #ffffff;
}

.sidebar-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.sidebar .toc-heading,
.news-filter-title {
  display: block;
  padding: 14px 18px 8px;
  color: #52646e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sidebar-nav,
.side-nav,
.news-month-list,
.news-filter-nav {
  padding: 0;
}

.sidebar-nav a,
.side-nav a,
.sidebar .faq-nav a,
.sidebar .news-filter-nav a,
.news-month-button,
.sidebar .trouble-filter {
  width: 100%;
  margin: 0;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.sidebar-nav a:hover,
.side-nav a:hover,
.sidebar .faq-nav a:hover,
.sidebar .news-filter-nav a:hover,
.news-month-button:hover,
.sidebar .trouble-filter:hover {
  background: var(--soft);
  border-left-color: rgba(0, 163, 209, 0.28);
  color: var(--text);
}

.sidebar-nav a.is-active,
.side-nav a.is-active,
.sidebar .faq-nav a.is-active,
.sidebar .news-filter-nav a.is-active,
.news-month-button.is-active,
.sidebar .trouble-filter.is-active {
  border-left-color: var(--accent);
  background: var(--point);
  color: var(--accent-dark);
  font-weight: 500;
}

.news-filter-block {
  padding: 0 0 14px;
}

.news-filter-block + .news-filter-block {
  border-top: 1px solid var(--line);
}

.news-tag-cloud {
  padding: 0 18px 4px;
}

.news-filter-chip {
  font-size: 12px;
  font-weight: 500;
}

.notice-card.is-latest {
  grid-template-columns: 110px 110px minmax(0, 1fr);
  padding: 22px;
}

.older-notice-item {
  padding: 16px 22px;
}

.notice-card.is-latest > p,
.older-notice-item .notice-detail,
.notice-detail p {
  color: #52646e;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}

.notice-title-button {
  font-weight: 500;
}

.notice-index-section[hidden] {
  display: none;
}

.site-login-section[hidden],
.login-status-bar[hidden] {
  display: none !important;
}

.procedure-login-message {
  border: 1px solid rgba(0, 163, 209, 0.18);
  border-radius: 8px;
  background: #f7fcfe;
  padding: 14px 16px;
  color: #52646e;
  font-size: 13px;
  line-height: 1.65;
}

.procedure-section-head > span:first-child {
  display: none;
}

.release-status {
  opacity: 0.78;
  font-size: 10px;
  font-weight: 400;
}

.internal-review-status::before {
  font-weight: 400;
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .faq-content,
  .troubleshooting-content,
  .procedure-shell,
  .news-index-content {
    max-width: none;
    padding-left: 18px;
    padding-right: 18px;
  }

  .notice-card.is-latest {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .notice-card.is-latest .notice-title-button,
  .notice-card.is-latest > p,
  .notice-card.is-latest .notice-detail {
    grid-column: 1;
  }

  .site-header,
  .header-controls,
  .global-nav,
  .category-nav-bar,
  .category-nav-inner,
  .top-tabs,
  .page-bar,
  .page-bar-title,
  .page-bar-meta,
  .faq-shell,
  .faq-layout {
    max-width: 100%;
  }

  .site-header,
  .category-nav-bar {
    overflow: hidden;
  }

  .global-nav,
  .top-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-progress {
    width: 100%;
    max-width: 100%;
  }

  .app-shell,
  .faq-shell,
  .faq-layout {
    width: 100%;
    min-width: 0;
  }
}

/* ======================================================================
 * IMPL-036b: DESIGN-008 + partner mobile follow-up
 * Date: 2026-06-11
 * Target: index.html, partner*.html, repair-sr130l.html
 * ====================================================================== */

.global-nav {
  scrollbar-width: thin;
  scroll-padding-inline: 18px;
}

.global-nav::after {
  content: "";
  flex: 0 0 18px;
}

.global-nav a[aria-current="page"],
.global-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.notice-level-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(191, 91, 0, 0.22);
  border-radius: 999px;
  background: #fff8ed;
  color: #8a4b00;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.management-details {
  border: 1px dashed #d2dee4;
  border-radius: 8px;
  background: #fbfdfe;
  color: #52646e;
}

.partner-login-link {
  border-color: #c8d8de;
  color: #52646e;
}

.partner-page .page-bar-title > span {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.partner-page .page-bar-subtitle {
  margin-left: 0;
}

.management-details summary {
  cursor: pointer;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.management-details summary:hover,
.management-details summary:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.management-details .cms-data-list {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
}

.management-details .cms-data-list dt,
.management-details .cms-data-list dd {
  color: #667680;
  font-size: 11px;
}

.internal-source-link {
  justify-self: start;
  opacity: 0.72;
}

.partner-repair-page .prototype-note,
.repair-page .prototype-note {
  border-color: rgba(191, 91, 0, 0.24);
  background: #fff8ed;
}

.partner-repair-page .prototype-note strong,
.repair-page .prototype-note strong {
  color: #8a4b00;
}

@media (max-width: 900px) {
  body.home-page .home-shell {
    width: min(100% - 28px, 520px);
  }

  body.home-page .home-intro {
    padding: 24px 12px 18px;
  }

  body.home-page .entry-choice-grid {
    gap: 12px;
    padding-top: 20px;
  }

  body.home-page .entry-choice-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 5px;
    align-items: center;
    padding: 16px 14px;
    text-align: left;
  }

  body.home-page .entry-choice-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
  }

  body.home-page .entry-choice-icon svg {
    width: 22px;
    height: 22px;
  }

  body.home-page .entry-choice-card h2 {
    grid-column: 2;
    margin: 0;
    min-width: 0;
    font-size: 18px;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  body.home-page .entry-choice-card p {
    grid-column: 2;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  body.home-page .entry-choice-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: end;
    margin: 0;
    padding: 0;
  }

  body.home-page .entry-choice-arrow svg {
    width: 24px;
    height: 24px;
  }

  .partner-entry-strip {
    margin-top: 14px;
    padding: 12px;
  }

  .partner-strip-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .partner-page .app-shell {
    display: flex;
    flex-direction: column;
  }

  .partner-page .page-bar {
    order: 1;
  }

  .partner-page .page-bar-title > span {
    display: block;
    white-space: normal;
    line-height: 1.35;
  }

  .partner-page .page-bar-subtitle {
    display: block;
    margin-top: 2px;
  }

  .partner-page .page-breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .partner-page .content {
    order: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-top: 18px;
  }

  .partner-page .partner-hero h1 {
    display: block;
    max-width: 100%;
    font-size: 25px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal !important;
  }

  .partner-page .partner-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .partner-page .partner-content,
  .partner-page .repair-content,
  .partner-page .partner-hero,
  .partner-page .procedure-section,
  .partner-page .repair-content-card,
  .partner-page .landing-card {
    max-width: 100%;
    min-width: 0;
  }

  .partner-page .sidebar {
    order: 3;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .partner-page .sidebar-heading {
    padding: 14px 18px 6px;
  }

  .partner-page .side-nav {
    padding: 0 14px 12px;
  }

  .partner-page .side-nav a {
    min-width: max-content;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .partner-page .role-switcher-panel {
    margin: 0 14px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
  }

  .partner-page .role-switcher-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-page .role-switcher-button {
    min-width: 0;
    text-align: center;
  }

  .partner-page .sidebar-footer {
    position: static;
  }

  .partner-portal-grid,
  .repair-content-grid,
  .partner-card-grid {
    padding: 14px;
  }

  .partner-route-card,
  .partner-model-card {
    min-height: 0;
  }

  .repair-content-card {
    gap: 10px;
    padding: 16px;
  }

  .repair-asset-item {
    grid-template-columns: 1fr;
  }

  .repair-asset-side {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .repair-content-card h3 {
    font-size: 17px;
  }

  .cms-data-list dt,
  .cms-data-list dd {
    padding: 7px 9px;
  }

  .internal-source-link {
    width: 100%;
    justify-content: center;
  }

  .global-nav {
    gap: 8px;
    padding-right: 42px;
  }

  .global-nav a {
    flex: 0 0 auto;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .header-actions {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .header-actions .login-button,
  .header-actions .support-button {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .partner-page .header-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ======================================================================
 * IMPL-038: mobile layout follow-up after 036b
 * Date: 2026-06-11
 * Target: troubleshooting, procedures, support pages
 * ====================================================================== */

@media (max-width: 900px) {
  .header-controls {
    position: relative;
  }

  .header-controls::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 2px;
    width: 30px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 75%);
  }

  .troubleshooting-page .app-shell,
  .procedure-page .app-shell,
  .support-page .app-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .troubleshooting-page .page-bar,
  .procedure-page .page-bar,
  .support-page .page-bar {
    order: 1;
  }

  .troubleshooting-page .troubleshooting-shell,
  .procedure-page .content,
  .support-page .content {
    order: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .troubleshooting-page .troubleshooting-shell {
    padding: 18px;
  }

  .troubleshooting-page .troubleshooting-layout {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .troubleshooting-page .troubleshooting-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .troubleshooting-page .article-head h1,
  .support-page .support-hero p,
  .procedure-page .procedure-section h2 {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .troubleshooting-page .article-head h1 {
    font-size: 25px;
    line-height: 1.35;
  }

  .troubleshooting-page .lead,
  .troubleshooting-page .role-hint,
  .troubleshooting-page .support-inline-link {
    max-width: 100%;
  }

  .troubleshooting-page .lead,
  .troubleshooting-page .role-hint,
  .troubleshooting-page .support-inline-link,
  .troubleshooting-page .trouble-item p,
  .troubleshooting-page .trouble-item li {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }

  .troubleshooting-page .trouble-item p,
  .troubleshooting-page .trouble-item li {
    max-width: 20em;
  }

  .troubleshooting-page .lead,
  .troubleshooting-page .role-hint,
  .troubleshooting-page .support-inline-link {
    max-width: 20em;
  }

  .troubleshooting-page .trouble-results,
  .troubleshooting-page .trouble-item,
  .troubleshooting-page .faq-answer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .trouble-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trouble-category-card {
    padding: 16px;
  }

  .troubleshooting-page .sidebar,
  .procedure-page .sidebar,
  .support-page .sidebar {
    order: 3;
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }

  .troubleshooting-page .sidebar-search,
  .procedure-page .sidebar-search,
  .support-page .sidebar-search {
    padding: 12px 14px;
  }

  .troubleshooting-page .sidebar-footer,
  .procedure-page .sidebar-footer,
  .support-page .sidebar-footer {
    position: static;
  }

  .troubleshooting-page .sidebar .toc-heading {
    padding: 14px 14px 8px;
  }

  .troubleshooting-page .trouble-filter {
    display: inline-flex;
    width: auto;
    margin: 0 6px 8px 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
  }

  .troubleshooting-page .trouble-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 14px 12px;
  }

  .troubleshooting-page .trouble-support-link {
    margin: 0 14px 14px;
  }

  .procedure-page .content,
  .support-page .content {
    overflow: hidden;
    padding: 18px 14px 64px;
  }

  .procedure-page .procedure-shell {
    padding-right: 0;
    padding-left: 0;
  }

  .procedure-page .procedure-shell,
  .procedure-page .procedure-section,
  .procedure-page .procedure-public,
  .support-page .procedure-section,
  .support-page .support-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .procedure-page .procedure-public {
    padding: 18px 14px;
  }

  .procedure-page .procedure-step-list,
  .procedure-page .procedure-step-list li,
  .procedure-page .procedure-step-list li strong,
  .procedure-page .procedure-step-list li span,
  .procedure-page .procedure-public p,
  .support-page .support-hero p {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }

  .procedure-page .procedure-step-list li {
    padding-left: 54px;
    padding-right: 12px;
  }

  .procedure-page .procedure-step-list li::before {
    left: 8px;
  }

  .procedure-page .procedure-step-list li::after {
    left: 25px;
  }

  .procedure-page .procedure-step-list li span {
    display: block;
  }

  .procedure-page .procedure-step-list li strong,
  .procedure-page .procedure-step-list li span {
    max-width: 20em;
  }

  .support-page .support-hero {
    padding: 22px 18px;
  }

  .support-page .support-hero p {
    width: 100%;
    max-width: 20em;
  }

  .procedure-page .procedure-section-head,
  .support-page .procedure-section-head {
    padding: 18px;
  }

  .procedure-page .procedure-section-head h2,
  .support-page .procedure-section-head h2 {
    display: block;
    min-width: 0;
    max-width: 15em;
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
    white-space: normal;
  }

  .procedure-page .procedure-form,
  .support-page .procedure-form {
    box-sizing: border-box;
    padding: 18px;
    width: 100%;
  }

  .support-page .guide-form,
  .procedure-page .guide-form {
    grid-template-columns: 1fr;
  }

  .support-page .form-actions,
  .procedure-page .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .support-page .form-actions .primary-button,
  .support-page .form-actions .secondary-button,
  .procedure-page .form-actions .primary-button,
  .procedure-page .form-actions .secondary-button {
    width: 100%;
  }
}

/* ======================================================================
 * IMPL-039: launch candidate hardening
 * Date: 2026-06-11
 * Target: public candidate wording, procedure forms
 * ====================================================================== */

body:not(.is-logged-in) .procedures-gated,
.procedure-page .procedures-gated {
  display: block !important;
}

@media (max-width: 900px) {
  body.home-page .entry-choice-card p,
  body.home-page .partner-entry-strip p {
    max-width: 20em;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }

  .partner-page .partner-hero p,
  .partner-page .prototype-note span,
  .partner-page .faq-answer p,
  .partner-page .repair-content-card p {
    max-width: 20em;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }
}

/* ==========================================================================
   046 FAQ selected section / mobile flow fix
   ========================================================================== */

@media (max-width: 900px) {
  .faq-page .faq-sidebar-col {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .faq-page .sidebar-search {
    gap: 8px;
    padding: 8px 18px;
  }

  .faq-page .sidebar-search .topic-search {
    min-height: 40px;
  }

  .faq-page .sidebar-search .topic-search input {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .faq-page .sidebar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    max-height: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    -webkit-overflow-scrolling: touch;
  }

  .faq-page .sidebar-nav a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    min-height: 34px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    padding: 7px 11px;
    white-space: nowrap;
  }

  .faq-page .sidebar-nav a.is-active {
    border-bottom-color: var(--accent);
    background: var(--point);
  }
}

/* ==========================================================================
   057 site split / sticky sidebar root behavior
   ========================================================================== */

@media (min-width: 901px) {
  .app-shell,
  .faq-layout {
    align-items: start;
  }

  .app-shell > .sidebar,
  .faq-layout > .sidebar,
  .faq-layout > .faq-sidebar-col,
  .admin-page > .sidebar,
  .ticket-page > .sidebar,
  .cms-layout > .cms-list-panel {
    position: sticky;
    top: 180px;
    align-self: start;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 192px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .faq-page .faq-shell {
    width: min(1180px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }

  .faq-page .faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, 284px) minmax(0, 1fr);
    gap: 24px;
  }

  .sidebar-footer {
    margin-top: auto;
  }
}

@media (max-width: 900px) {
  .app-shell,
  .faq-layout {
    display: block;
  }

  .app-shell > .sidebar,
  .faq-layout > .sidebar,
  .faq-layout > .faq-sidebar-col,
  .admin-page > .sidebar,
  .ticket-page > .sidebar,
  .cms-layout > .cms-list-panel {
    position: static;
    top: auto;
    display: block;
    max-height: none;
    overflow: visible;
  }

  .faq-page .faq-shell {
    width: min(100%, 720px);
    margin-right: auto;
    margin-left: auto;
  }

  .support-check-grid,
  .landing-card-grid {
    min-width: 0;
  }
}
