/* =========================================================
   RSYS Service Page - Base CSS (Clean Full Rewrite)
   ========================================================= */

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.7;
  color: #111827; /* gray-900 */
  background-color: #f9fafb; /* gray-50 */
}

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

a {
  color: #2563eb; /* blue-600 */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */
header,
main,
footer {
  width: 100%;
}

header,
section,
footer {
  padding: 50px 24px;
}

section {
  background: #ffffff;
  margin-bottom: 1px;
}

header {
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
}

/* content width */
header > *,
section > *,
footer > *,
.manual-layout {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* ---------- Navigation ---------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

nav strong {
  font-size: 1.25rem;
}

nav span {
  margin-left: 8px;
  color: #6b7280; /* gray-500 */
  font-size: 0.875rem;
}

nav a {
  margin-left: 16px;
  font-size: 0.9rem;
}

/* ---------- Headings ---------- */
h2 {
  font-size: 1.8rem;
  margin: 0 0 16px 0;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
}

/* ---------- Hero ---------- */
#hero h1 {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.3;
  margin: 40px 0 24px 0;
}
#hero p {
  font-size: 1.05rem;
  text-align: center;
  margin: 0 0 14px 0;
}
#hero ul {
  margin: 28px 0 18px 0;
  padding-left: 20px;
}

#hero li {
  margin-bottom: 8px;
}
#hero ul.hero-points {
  margin: 0 auto;
  padding-left: 20px;
  max-width: 760px;
}
#hero strong {
  color: #111827;
}

#hero a {
  display: inline-block;
  margin-right: 16px;
  margin-top: 16px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
}

#hero a:first-child {
  background: #2563eb;
  color: #ffffff;
}

#hero a:first-child:hover {
  background: #1e40af;
  text-decoration: none;
}

#hero a:last-child {
  border: 1px solid #2563eb;
}

#hero a:last-child:hover {
  background: #eff6ff;
  text-decoration: none;
}
/* =========================================================
   Releases (TABLE) — RSYS
   HTML前提:
   - .release-table-wrap
   - table.release-table
   - tr.is-latest
   - tr.latest-notes
   - .btn-download / .release-disabled / .release-note
   ========================================================= */

#releases .release-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

#releases table.release-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
  table-layout: fixed; /* 列幅が安定して“表”っぽくなる */
}

#releases table.release-table th,
#releases table.release-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 14px;
  vertical-align: middle;
  font-size: 0.95rem;
}

/* ヘッダー */
#releases table.release-table thead th {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
}

/* 列幅（“表”の骨格） */
#releases table.release-table .col-version {
  width: 160px;
  font-weight: 700;
}

#releases table.release-table .col-date {
  width: 140px;
  color: #6b7280;
  font-size: 0.9rem;
  white-space: nowrap;
}

#releases table.release-table thead .col-action,
#releases table.release-table td.col-action {
  width: 240px;
  text-align: right;
  white-space: nowrap;
}

/* Changes */
#releases table.release-table .col-changes ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
}

#releases table.release-table .col-changes li {
  margin: 0 0 4px 0;
  line-height: 1.4;
}

#releases table.release-table .col-changes li:last-child {
  margin-bottom: 0;
}

/* 最新行の強調（表としての強調） */
#releases table.release-table tr.is-latest th,
#releases table.release-table tr.is-latest td {
  background: #eff6ff;
}

#releases table.release-table tr.is-latest th.col-version {
  border-left: 4px solid #2563eb;
}

/* ダウンロードボタン */
#releases .btn-download {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

#releases .btn-download:hover {
  background: #1e40af;
  text-decoration: none;
}

/* ダウンロード不可 */
#releases .release-disabled {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* 注記行（表の下に綺麗に置く） */
#releases table.release-table tr.latest-notes td {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 14px 14px 14px;
}

#releases .release-note {
  margin: 6px 0 0 0;
  font-size: 0.9rem;
  color: #374151;
}

/* モバイル */
@media (max-width: 768px) {
  #releases table.release-table {
    table-layout: auto; /* 小画面は自然にして横スクロール許可 */
  }

  #releases table.release-table thead .col-action,
  #releases table.release-table td.col-action {
    text-align: left;
  }
}

/* =========================================================
   Purchase Flow
   ========================================================= */

#purchase-flow ol {
  padding-left: 20px;
}

#purchase-flow li {
  margin-bottom: 12px;
}

#purchase-flow a {
  margin-right: 16px;
  font-weight: 600;
}

/* =========================================================
   Pricing
   ========================================================= */

#pricing section[aria-label="Plans"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

#pricing article {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px;
  background: #ffffff;
}

#pricing article header p {
  font-size: 1.2rem;
  margin-top: 8px;
}

#pricing article ul {
  padding-left: 20px;
  margin: 24px 0;
}

#pricing article a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

#pricing section[aria-label="All plans include"] {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

/* ---------- Serial input (compact inside plan card) ---------- */
#pricing .rsys-serial-row {
  margin: 16px 0 0;
}

#pricing .rsys-serial-row label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

#pricing .rsys-serial-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font: inherit;
  background: #ffffff;
}

#pricing .rsys-serial-help {
  display: block;
  margin: 6px 0 0;
  font-size: 0.82rem; /* 小さく */
  color: #6b7280; /* 薄め */
  line-height: 1.35;
}

#pricing .rsys-serial-status {
  margin: 6px 0 0;
  min-height: 1.1em;
  font-size: 0.85rem; /* 小さく */
  color: #374151;
}

/* ---------- Highlight: Monitor Plan ---------- */
/* Monitor plan を強調（最初のプランを想定） */
#pricing section[aria-label="Plans"] article:first-child {
  border: 2px solid #2563eb; /* 青枠で強調 */
  background: #eff6ff; /* 薄い青背景 */
  position: relative;
}

/* 「おすすめ」バッジ */
#pricing section[aria-label="Plans"] article:first-child::before {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  left: 24px;
  background: #2563eb;
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

/* 価格を少し目立たせる */
#pricing section[aria-label="Plans"] article:first-child header p strong {
  font-size: 1.6rem;
  color: #1e40af;
}

/* CTAを強調 */
#pricing section[aria-label="Plans"] article:first-child a {
  background: #2563eb;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}

#pricing section[aria-label="Plans"] article:first-child a:hover {
  background: #1e40af;
  text-decoration: none;
}

/* ---------- Subscription Plan (Muted / Coming Soon) ---------- */
/* Subscription（2番目のプランを想定） */
#pricing section[aria-label="Plans"] article:last-child {
  position: relative;
  border: 2px solid #d1d5db; /* solid・太さはMonitorと同じ */
  background: #f9fafb; /* ほぼ白 */
  color: #6b7280; /* 文字色を薄め */
}

/* 見出し・価格もトーンダウン */
#pricing section[aria-label="Plans"] article:last-child h3,
#pricing section[aria-label="Plans"] article:last-child p {
  color: #6b7280;
}

/* CTAは情報リンク扱い */
#pricing section[aria-label="Plans"] article:last-child a {
  color: #6b7280;
  font-weight: 500;
  text-decoration: underline;
}

#pricing section[aria-label="Plans"] article:last-child a:hover {
  text-decoration: underline;
}

/* 「準備中」バッジ */
#pricing section[aria-label="Plans"] article:last-child::before {
  content: "準備中";
  position: absolute;
  top: -12px;
  left: 24px;
  background: #9ca3af;
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

/* =========================================================
   Manual
   ========================================================= */

#manual p {
  max-width: 760px;
}

/* =========================================================
   FAQ
   ========================================================= */

#faq dl {
  max-width: 900px;
}

#faq dt {
  font-weight: 600;
  margin-top: 24px;
}

#faq dd {
  margin-left: 0;
  margin-top: 8px;
  color: #374151;
}

/* =========================================================
   Contact
   ========================================================= */

#contact ul {
  padding-left: 20px;
  margin-top: 24px;
}

#contact a {
  font-weight: 600;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
  background: #111827;
  color: #e5e7eb;
  padding: 48px 24px;
}

footer nav a {
  color: #e5e7eb;
  margin-right: 16px;
  font-size: 0.9rem;
}

footer a:hover {
  text-decoration: underline;
}

footer small {
  display: block;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  #hero h1 {
    font-size: 2rem;
  }

  header,
  section,
  footer {
    padding: 48px 16px;
  }

  /* Release：モバイルは縦積み */
  #releases .release-head {
    display: none;
  }

  #releases li article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #releases .release-action {
    justify-content: flex-start;
    text-align: left;
  }

  #releases .release-note {
    margin-left: 16px;
    margin-right: 16px;
  }
}
/*スライダー*/
#heroslider {
  width: 100%;
  background: #d9d9db;
}
.hero-slide-caption {
  position: absolute;
}
/* HERO1：左下が安全 */
.slide-hero1 .hero-slide-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 16px;
}

/* HERO2：右下（時間帯UIを避ける） */
.slide-hero2 .hero-slide-caption {
  right: 16px;
  bottom: 16px;
}

/* HERO3：左上（カレンダー下部が詰まりやすい） */
.slide-hero3 .hero-slide-caption {
  left: 16px;
  top: 16px;
}

/* HERO4：左上（カレンダー下部が詰まりやすい） */
.slide-hero4 .hero-slide-caption {
  left: 16px;
  top: 16px;
}

*** a/assets/css/style.css
--- b/assets/css/style.css
***************
*** 1,5 ****
--- 1,120 ----
 /* =========================================================
    FAQ Accordion
    - dl/dt/dd semantic 유지
    - dt > button でクリック領域を確保
    ========================================================= */
 
 #faq .faq-accordion {
  margin: 0;
}

#faq .faq-accordion dt {
  margin: 0;
}

#faq .faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

#faq .faq-q:focus {
  outline: 3px solid #16834d85;
  outline-offset: 3px;
}

#faq .faq-a {
  margin: 8px 0 16px;
  padding: 0 14px;
}

/* 開いてる時：回答ブロックに軽い区切り */
#faq .faq-a:not([hidden]) {
  padding: 31px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 右端の「＋ / ×」をCSSだけで */
#faq .faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
#faq .faq-icon::before,
#faq .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: currentColor;
  opacity: 0.75;
}
#faq .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いてる時は「＋」→「－」に */
#faq .faq-q[aria-expanded="true"] .faq-icon::after {
  display: none;
}
/* =========================================================
    Contact Form
    ========================================================= */

#contact .contact-form {
  margin-top: 16px;
}

#contact .form-row {
  margin: 0 0 14px;
}

#contact label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
}

#contact input,
#contact select,
#contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font: inherit;
}

#contact textarea {
  resize: vertical;
}

#contact .form-help {
  margin: 6px 0 0;
  font-size: 0.9em;
  opacity: 0.85;
}

#contact .form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

#contact .btn-submit {
  display: inline-block;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

#contact .form-status {
  margin: 0;
  min-height: 1.2em;
}

/* Honeypot: visually hidden */
#contact .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Invalid hints (JSで付与) */
#contact .is-invalid {
  border-color: rgba(200, 0, 0, 0.55);
}

/* ==================================================
   RSYS Manual
   manual / manual__* 構造専用
   ================================================== */

.manual {
  width: 100%;
}

.manual__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 50px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}


.manual__sidebar {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  align-self: flex-start;
  position: sticky;
  top: 200px;
}

/* 左メニュー領域を完全リセット */
.manual__sidebar,
.manual__sidebar * {
  box-sizing: border-box;
}

.manual__nav {
  display: block;
  position: sticky;
  top: 200px;
  margin: 0;
  padding: 0;
  width: 100%;
}


.manual__title {
  display: block;
  width: 100%;
  font-size: 1rem;
  margin: 0 0 12px 0;
  padding: 0;
}

.manual__list {
  display: block;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  column-count: 1;
  column-gap: 0;
}

.manual__list ul {
  display: block;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  column-count: 1;
  column-gap: 0;
}

.manual__list li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  break-inside: avoid;
}

.manual__list a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.manual__list a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.manual__main {
  flex: 1 1 auto;
  min-width: 0;
}

.manual__content {
  width: 100%;
  min-width: 0;
}

/* manual内の section に当たる共通指定を打ち消す */
.manual__content section {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  scroll-margin-top: 24px;
}

.manual__content > section + section {
  margin-top: 48px;
}

@media (max-width: 960px) {
  .manual__inner {
    flex-direction: column;
  }

  .manual__sidebar {
    position: static;
    top: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .manual__nav {
    position: static;
    top: auto;
  }
}