/* ========================================
   UCT サイト共通スタイル
   ======================================== */

/* リセット */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   ヘッダー
   ======================================== */
#header_container {
  background: #fff;
  border-bottom: 2px solid #1a6faf;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
#header_content {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
}
.hd_title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hd_title img {
  height: auto;
  width: 250px;
}
#global_menu { margin-left: auto; }
#global_menu_ul {
  list-style: none;
  display: flex;
}
#global_menu_ul > li > a {
  display: block;
  padding: 0 14px;
  line-height: 64px;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}
#global_menu_ul > li > a:hover { background: #e8f1fb; color: #1a6faf; }

.menu-item-has-children { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 2px solid #1a6faf;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 200;
}
.sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}
.sub-menu li a:hover { background: #f0f6ff; color: #1a6faf; }
.menu-item-has-children:hover .sub-menu { display: block; }

/* ========================================
   パンくず
   ======================================== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 12px;
  color: #888;
}
.breadcrumb-inner li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.breadcrumb-inner li:not(:last-child)::after {
  content: "›";
  flex: 0 0 auto;
  margin: 0 6px;
}
.breadcrumb-inner a { color: #1a6faf; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-current {
  overflow-wrap: anywhere;
}

/* ========================================
   ページヒーロー（製品・サービス各ページ共通）
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, #0d3b6e 0%, #1a6faf 60%, #5b9fd4 100%);
  color: #fff;
  padding: 60px 20px 50px;
  text-align: center;
}
.page-hero .hero-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.8;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
}
.page-hero .hero-sub {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* トップページ */
.home-hero {
  background: linear-gradient(135deg, #0d3b6e 0%, #1a6faf 60%, #5b9fd4 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}
.home-hero-eyecatch {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.95;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 4px 14px rgba(0,0,0,0.65);
  text-transform: uppercase;
}
.home-hero h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 18px rgba(0,0,0,0.78),
    0 10px 30px rgba(0,0,0,0.5);
}
.home-hero .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 640px;
  opacity: 0.98;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 14px rgba(0,0,0,0.72);
}
.home-hero-cta {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  color: #1a6faf;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  padding: 14px 40px;
}
.home-hero-cta:hover { background: #e8f1fb; }

body[data-page-path="/"] .page-hero,
body[data-page-path="/"] .home-hero,
body[data-page-path="/en/"] .home-hero {
  background: url("/assets/img/home-hero.jpg") center center / cover no-repeat;
}

body[data-page-path="/en/"] .page-hero {
  background: url("/assets/img/home-hero.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 86px 20px 74px;
  text-align: center;
}

body[data-page-path="/en/"] .page-hero .hero-label,
body[data-page-path="/en/services/rtos/"] .page-hero .hero-label,
body[data-page-path="/en/services/smart-building/"] .page-hero .hero-label,
body[data-page-path="/en/services/kokosil/"] .page-hero .hero-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.95;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 4px 14px rgba(0,0,0,0.65);
}

body[data-page-path="/en/"] .page-hero h1,
body[data-page-path="/en/services/rtos/"] .page-hero h1,
body[data-page-path="/en/services/smart-building/"] .page-hero h1,
body[data-page-path="/en/services/kokosil/"] .page-hero h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 18px rgba(0,0,0,0.78),
    0 10px 30px rgba(0,0,0,0.5);
}

body[data-page-path="/en/"] .page-hero .hero-sub,
body[data-page-path="/en/services/rtos/"] .page-hero .hero-sub,
body[data-page-path="/en/services/smart-building/"] .page-hero .hero-sub,
body[data-page-path="/en/services/kokosil/"] .page-hero .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
  opacity: 0.98;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 14px rgba(0,0,0,0.72);
}

body[data-page-path="/services-ja/rtos/"] .page-hero {
  background: url("/assets/img/rtos/rtos-top.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

body[data-page-path="/services-ja/rtos/"] .page-hero .hero-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.95;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 4px 14px rgba(0,0,0,0.65);
}

body[data-page-path="/services-ja/rtos/"] .page-hero h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 18px rgba(0,0,0,0.78),
    0 10px 30px rgba(0,0,0,0.5);
}

body[data-page-path="/services-ja/rtos/"] .page-hero .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
  opacity: 0.98;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 14px rgba(0,0,0,0.72);
}

body[data-page-path="/en/services/rtos/"] .page-hero {
  background: url("/assets/img/rtos/rtos-top.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

body[data-page-path="/iot-service-ja/smart-building/"] .page-hero {
  background: url("/assets/img/smart-building/smart-building-hero.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

body[data-page-path="/iot-service-ja/smart-building/"] .page-hero .hero-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.95;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 4px 14px rgba(0,0,0,0.65);
}

body[data-page-path="/iot-service-ja/smart-building/"] .page-hero h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 18px rgba(0,0,0,0.78),
    0 10px 30px rgba(0,0,0,0.5);
}

body[data-page-path="/iot-service-ja/smart-building/"] .page-hero .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
  opacity: 0.98;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 14px rgba(0,0,0,0.72);
}

body[data-page-path="/en/services/smart-building/"] .page-hero {
  background: url("/assets/img/smart-building/smart-building-hero.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

body[data-page-path="/services-ja/kokosil/"] .page-hero {
  background: url("/assets/img/kokosil/kokosil-hero.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

body[data-page-path="/services-ja/kokosil/"] .page-hero .hero-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.95;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 4px 14px rgba(0,0,0,0.65);
}

body[data-page-path="/services-ja/kokosil/"] .page-hero h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 18px rgba(0,0,0,0.78),
    0 10px 30px rgba(0,0,0,0.5);
}

body[data-page-path="/services-ja/kokosil/"] .page-hero .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
  opacity: 0.98;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 14px rgba(0,0,0,0.72);
}

body[data-page-path="/en/services/kokosil/"] .page-hero {
  background: url("/assets/img/kokosil/kokosil-hero.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
}

.home-service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.home-service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
.home-service-visual {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #dce4ee;
  border-bottom: 2px dashed #aab8c8;
  color: #7a90a8;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  justify-content: center;
  line-height: 1.7;
  margin: 0;
  overflow: hidden;
}
.home-service-visual.has-image {
  align-items: stretch;
  background: #e8f1fb;
  border-bottom: 1px solid #d0e4f7;
}
.home-service-visual.has-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
body[data-page-path="/"] .home-service-card[href="/services-ja/rtos/"] .home-service-visual.has-image,
body[data-page-path="/en/"] .home-service-card[href="/en/services/rtos/"] .home-service-visual.has-image {
  background: #fff;
}
body[data-page-path="/"] .home-service-card[href="/services-ja/rtos/"] .home-service-visual.has-image img,
body[data-page-path="/en/"] .home-service-card[href="/en/services/rtos/"] .home-service-visual.has-image img {
  object-fit: contain;
}
.home-service-visual strong { font-size: 13px; }
.home-service-card-body {
  flex: 1;
  padding: 16px 18px;
}
.home-service-tag {
  border-radius: 3px;
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 3px 8px;
}
.home-service-tag.blue { background: #e8f1fb; color: #1a6faf; }
.home-service-tag.green { background: #e8f5ef; color: #1a6f4f; }
.home-service-card h3 {
  color: #1a3a5c;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.home-service-card-body p {
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}
.home-service-card-footer {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 12px 18px;
  text-align: center;
}
.home-service-card-footer.blue { background: #1a6faf; }
.home-service-card-footer.green { background: #1a6f4f; }
.home-service-nav {
  margin: 32px 0 0;
  text-align: center;
}
.home-service-nav a {
  border: 2px solid #1a6faf;
  border-radius: 4px;
  color: #1a6faf;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 32px;
}
.home-service-nav a:hover { background: #1a6faf; color: #fff; }
.home-services-section + .section { padding-top: 0; }

/* サービス一覧 */
.services-overview-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.services-overview-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.services-overview-icon {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 36px;
  height: 100px;
  justify-content: center;
}
.services-overview-icon.blue { background: linear-gradient(135deg, #0d3b6e 0%, #1a6faf 100%); }
.services-overview-icon.green { background: linear-gradient(135deg, #1a6f4f 0%, #2a9f6f 100%); }
.services-overview-visual {
  aspect-ratio: 16 / 9;
  background: #e8f1fb;
  border-bottom: 1px solid #d0e4f7;
  overflow: hidden;
}
.services-overview-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
body[data-page-path="/services-ja/"] .services-overview-visual:has(img[src="/assets/img/rtos/utkernel/utkernel-home-card.jpg"]),
body[data-page-path="/en/services/"] .services-overview-visual:has(img[src="/assets/img/rtos/utkernel/utkernel-home-card.jpg"]) {
  background: #fff;
}
body[data-page-path="/services-ja/"] .services-overview-visual img[src="/assets/img/rtos/utkernel/utkernel-home-card.jpg"],
body[data-page-path="/en/services/"] .services-overview-visual img[src="/assets/img/rtos/utkernel/utkernel-home-card.jpg"] {
  object-fit: contain;
}
.services-overview-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px;
}
.services-overview-audience {
  align-self: flex-start;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 3px 8px;
}
.services-overview-audience.blue { background: #e8f1fb; color: #1a6faf; }
.services-overview-audience.green { background: #e8f5ef; color: #1a6f4f; }
.services-overview-card h2 {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.services-overview-card h2.blue { color: #1a6faf; }
.services-overview-card h2.green { color: #1a6f4f; }
.services-overview-card p {
  color: #555;
  flex: 1;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.services-overview-link {
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: bold;
  padding: 10px 18px;
  text-align: center;
}
.services-overview-link.blue { background: #1a6faf; }
.services-overview-link.green { background: #1a6f4f; }
.services-overview-link.blue:hover { background: #155a8a; }
.services-overview-link.green:hover { background: #155a3a; }
.services-overview-section + .section { padding-top: 0; }
/* ========================================
   セクション共通
   ======================================== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}
.section-title {
  font-size: 22px;
  font-weight: bold;
  color: #1a6faf;
  border-bottom: 3px solid #1a6faf;
  padding-bottom: 10px;
  margin-bottom: 28px;
}
.section-title span {
  font-size: 13px;
  font-weight: normal;
  color: #888;
  margin-left: 12px;
}

/* ========================================
   テキストコンポーネント
   ======================================== */

/* 課題提示ボックス */
.pain-box {
  background: #fff8e8;
  border: 1px solid #f0d080;
  border-left: 4px solid #e6a800;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.pain-box h3 {
  font-size: 15px;
  font-weight: bold;
  color: #b37e00;
  margin-bottom: 12px;
}
.pain-box ul { list-style: none; }
.pain-box ul li {
  font-size: 13px;
  color: #555;
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.6;
}
.pain-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e6a800;
  font-weight: bold;
}

/* 注記・警告ボックス */
.kit-note {
  background: #fff8e8;
  border: 1px solid #f0d080;
  border-left: 4px solid #e6a800;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* サポート・情報ボックス */
.support-box {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 13px;
  color: #444;
  line-height: 1.65;
}
.support-box strong { color: #1a6faf; }

/* 概要ブロック */
.overview-box {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* ========================================
   CMS構造化ページ
   ======================================== */
.cms-richtext {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 28px 32px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.cms-richtext > * + * {
  margin-top: 16px;
}
.cms-richtext ul,
.cms-richtext ol {
  padding-left: 1.5em;
}
.cms-richtext p {
  max-width: 76em;
}
.cms-richtext a {
  color: #1a6faf;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.cms-richtext strong {
  color: #1a4f7a;
}
.cms-richtext h2 {
  border-bottom: 2px solid #d0e4f7;
  color: #1a6faf;
  font-size: 20px;
  padding-bottom: 8px;
}
.cms-richtext h3 {
  border-left: 4px solid #1a6faf;
  color: #1a4f7a;
  font-size: 17px;
  padding-left: 10px;
}
.cms-richtext hr {
  border: 0;
  border-top: 1px solid #dfe8f3;
  margin: 32px 0;
}
.cms-richtext table {
  border-collapse: collapse;
  font-size: 14px;
  width: 100%;
}
.cms-richtext th,
.cms-richtext td {
  border: 1px solid #d0e4f7;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.cms-richtext th,
.cms-richtext td:first-child {
  background: #f5f8fc;
}
.cms-richtext .contact-address {
  overflow-wrap: anywhere;
}
.cms-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.cms-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cms-card h3 {
  color: #1a4f7a;
  font-size: 18px;
  margin-bottom: 12px;
}
.cms-card p {
  line-height: 1.7;
}
.cms-card p:last-child:has(.cms-inline-link) {
  margin-top: auto;
  padding-top: 18px;
}
.cms-inline-link {
  display: inline-flex;
  align-items: center;
  color: #1a6faf;
  font-weight: bold;
}
.cms-inline-link:hover {
  text-decoration: underline;
}
.cms-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.cms-flow-block {
  background: #fff;
  border: 1px solid #d8e5f2;
  border-left: 4px solid #1a6faf;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 0;
  padding: 20px 22px;
}
.cms-flow-block h3 {
  color: #1a4f7a;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.cms-flow-block p {
  color: #555;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.cms-flow-block p + p {
  border-top: 1px solid #eef3f8;
  margin-top: 9px;
  padding-top: 9px;
}
.cms-faq {
  display: grid;
  gap: 14px;
}
.cms-faq-item {
  background: #fff;
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  overflow: hidden;
}
.cms-faq-item summary {
  color: #1a4f7a;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  list-style: none;
  padding: 18px 52px 18px 22px;
  position: relative;
}
.cms-faq-item summary::-webkit-details-marker { display: none; }
.cms-faq-item summary::after {
  content: "+";
  font-size: 22px;
  position: absolute;
  right: 22px;
  top: 13px;
}
.cms-faq-item[open] summary::after { content: "−"; }
.cms-faq-item[open] summary {
  background: #f2f7fd;
  border-bottom: 1px solid #d0e4f7;
}
.cms-faq-item > div {
  color: #555;
  line-height: 1.8;
  padding: 20px 22px;
}
.cms-faq-item > div p + p { margin-top: 12px; }
.cms-field-list {
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  overflow: hidden;
}
.cms-field-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
}
.cms-field-list > div + div { border-top: 1px solid #e3ebf4; }
.cms-field-list dt {
  background: #f2f7fd;
  color: #1a4f7a;
  font-weight: bold;
  padding: 12px 16px;
}
.cms-field-list dd {
  color: #888;
  padding: 12px 16px;
}
.cms-form-note {
  color: #666;
  font-size: 13px;
  margin-top: 18px;
  text-align: center;
}
@media (max-width: 700px) {
  .cms-richtext {
    padding: 22px 18px;
  }
  .cms-richtext figure,
  .cms-richtext .table-wrap {
    overflow-x: auto;
  }
  .cms-richtext table {
    display: block;
    min-width: 560px;
    overflow-x: auto;
  }
  .cms-flow-grid { grid-template-columns: 1fr; }
  .cms-field-list > div { grid-template-columns: 1fr; }
  .cms-field-list dd { display: none; }
}
.cms-definition-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cms-definition-table th,
.cms-definition-table td {
  border: 1px solid #d0e4f7;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.cms-definition-table th {
  width: 24%;
  background: #eaf2fb;
  color: #1a4f7a;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .cms-definition-table,
  .cms-definition-table tbody,
  .cms-definition-table tr,
  .cms-definition-table th,
  .cms-definition-table td {
    display: block;
    width: 100%;
  }
  .cms-definition-table th {
    border-bottom: 0;
    white-space: normal;
  }
  .cms-definition-table td {
    border-top: 0;
  }
}
.cms-link-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.cms-link-list li {
  background: #fff;
  border-left: 4px solid #1a6faf;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cms-link-list a {
  color: #1a4f7a;
  font-weight: bold;
}
.cms-link-list p {
  margin-top: 6px;
  color: #555;
  line-height: 1.6;
}
.cms-notice {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-left: 4px solid #1a6faf;
  border-radius: 8px;
  padding: 20px 24px;
  line-height: 1.7;
}
.cms-notice h2 {
  color: #1a4f7a;
  font-size: 18px;
  margin-bottom: 10px;
}
.cms-notice-warning {
  background: #fff8e8;
  border-color: #f0d080;
  border-left-color: #e6a800;
}
.cms-cta,
.cta-block {
  background: #1a6faf;
  color: #fff;
  border-radius: 8px;
  padding: 32px 40px;
  text-align: center;
}
.cms-cta h2,
.cta-block h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.cms-cta div,
.cta-block p {
  font-size: 16px;
  line-height: 1.6;
}
.cms-cta div p,
.cta-block p {
  margin-bottom: 18px;
}
.cms-cta-link,
.cta-block a {
  display: inline-block;
  background: #fff;
  color: #1a6faf;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.5;
  padding: 13px 44px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cms-cta-link:hover,
.cta-block a:hover {
  background: #e8f1fb;
}
.overview-box strong { color: #1a6faf; }

/* サービス概要ブロック */
.service-overview {
  background: #fff;
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 36px;
}
.service-overview p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* RTOS 移行ガイド・開発キット詳細 */
.toc-box {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-left: 4px solid #1a6faf;
  border-radius: 8px;
  margin-top: 28px;
  padding: 22px 26px;
}
.toc-box h4 {
  color: #1a4f7a;
  font-size: 16px;
  margin-bottom: 12px;
}
.toc-box ol {
  line-height: 1.9;
  margin-left: 20px;
}
.toc-box ol ol { margin: 4px 0 6px 20px; }
.toc-box a {
  color: #1a6faf;
  font-weight: bold;
}
.toc-box a:hover { text-decoration: underline; }
.sec-details {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 0 20px;
}
.sec-summary {
  background: #1a6faf;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  list-style: none;
  padding: 16px 56px 16px 20px;
  position: relative;
}
.sec-summary::-webkit-details-marker { display: none; }
.sec-summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: 20px;
  top: 16px;
}
.sec-details[open] .sec-summary {
  border-radius: 8px 8px 0 0;
}
.sec-details[open] .sec-summary::after { content: "−"; }
.sec-en {
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.08em;
  margin-left: 8px;
  opacity: 0.8;
  text-transform: uppercase;
}
.compare-table,
.api-table {
  background: #fff;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 13px;
  margin: 14px 0 22px;
  width: 100%;
}
.compare-table th,
.api-table th {
  background: #2f6fa8;
  border: 1px solid #2f6fa8;
  color: #fff;
  line-height: 1.5;
  padding: 10px 12px;
  text-align: left;
}
.compare-table td,
.api-table td {
  border: 1px solid #c8ddf0;
  line-height: 1.65;
  padding: 9px 12px;
  vertical-align: top;
}
.compare-table tbody tr:nth-child(even),
.api-table tbody tr:nth-child(even) {
  background: #f8fbff;
}
.compare-table .mark {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.mark-ok { color: #17834f; }
.mark-partial { color: #c27800; }
.mark-none { color: #c73a3a; }
.note-box {
  background: #f6faff;
  border-left: 4px solid #1a6faf;
  border-radius: 4px;
  color: #444;
  line-height: 1.8;
  margin: 18px 0;
  padding: 16px 20px;
}
.file-list {
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  color: #334;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.9;
  margin: 16px 0 20px;
  overflow-x: auto;
  padding: 18px 18px 18px 36px;
}
.content-h3 {
  border-left: 4px solid #1a6faf;
  color: #1a4f7a;
  font-size: 18px;
  line-height: 1.5;
  margin: 28px 0 14px;
  padding-left: 12px;
}
.content-h4 {
  color: #1a3a5c;
  font-size: 15px;
  margin: 22px 0 10px;
}
.diagram-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 20px 0 24px;
}
.diagram-figure {
  background: #fff;
  border: 1px solid #d8e5f2;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.diagram-figure img {
  margin: 0 auto 10px;
}
.diagram-figure figcaption {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.quote-block {
  background: #fff;
  border-left: 4px solid #8aa8c8;
  color: #444;
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0;
  padding: 16px 20px;
}
.code-block {
  background: #1f2d3a;
  border-radius: 6px;
  color: #f5f8fb;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0 18px;
  overflow-x: auto;
  padding: 14px 16px;
  white-space: pre;
}
.warn-box {
  background: #fff8e8;
  border-left: 4px solid #e6a800;
  border-radius: 4px;
  color: #4d3d12;
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0;
  padding: 16px 20px;
}
.kit-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
}
.kit-card-v2 {
  background: #fff;
  border: 1px solid #cce0f5;
  border-radius: 8px;
  overflow: hidden;
}
.kit-card-v2-header {
  align-items: center;
  background: #0066b1;
  color: #fff;
  display: flex;
  gap: 14px;
  padding: 14px 20px;
}
.kit-card-v2-header img {
  background: #fff;
  border-radius: 4px;
  flex: 0 0 auto;
  height: 36px;
  max-width: 120px;
  padding: 4px 8px;
  width: auto;
}
.kit-title {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.45;
}
.kit-card-v2-body {
  background: #fff;
  color: #444;
  line-height: 1.75;
  padding: 18px 20px;
}
.kit-card-v2-body ul,
.feature-card ul {
  line-height: 1.8;
  margin-top: 10px;
  padding-left: 20px;
}
.common-spec {
  background: #f5f8fc;
  border: 1px solid #cce0f5;
  border-radius: 8px;
  margin-top: 32px;
  padding: 20px 24px;
}
.common-spec h3 {
  color: #0066b1;
  font-size: 15px;
  margin: 0 0 18px;
}
.price-box {
  background: #eaf2fb;
  border: 1px solid #0066b1;
  border-radius: 6px;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  padding: 14px 20px;
  text-align: left;
}
.price-box .price {
  color: #0066b1;
  font-size: 22px;
  font-weight: bold;
  margin-top: 6px;
}
.iot-flow {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
}
.iot-flow div {
  background: #fff;
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  padding: 18px;
  position: relative;
  text-align: center;
}
.iot-flow div:not(:last-child)::after {
  color: #1a6faf;
  content: "→";
  font-size: 22px;
  font-weight: bold;
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.iot-flow strong {
  color: #1a4f7a;
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.iot-flow span {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.kit-spec-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
.kit-spec-card {
  background: #fff;
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.kit-spec-card img {
  aspect-ratio: 16 / 9;
  background: #f2f7fd;
  object-fit: cover;
  width: 100%;
}
.kit-spec-card h3 {
  color: #1a4f7a;
  font-size: 18px;
  line-height: 1.4;
  padding: 18px 20px 8px;
}
.kit-spec-card p {
  color: #555;
  line-height: 1.7;
  padding: 0 20px 14px;
}
.kit-spec-card dl {
  border-top: 1px solid #e3ebf4;
  display: grid;
  grid-template-columns: 120px 1fr;
}
.kit-spec-card dt,
.kit-spec-card dd {
  border-bottom: 1px solid #e3ebf4;
  line-height: 1.7;
  padding: 12px 16px;
}
.kit-spec-card dt {
  background: #f2f7fd;
  color: #1a4f7a;
  font-weight: bold;
}
.kit-spec-note {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 18px;
}
@media (max-width: 700px) {
  .toc-box,
  .common-spec {
    padding: 20px 18px;
  }
  .sec-details {
    padding: 0 14px;
  }
  .sec-summary {
    font-size: 14px;
    padding: 14px 46px 14px 16px;
  }
  .sec-summary::after {
    right: 16px;
    top: 13px;
  }
  .compare-table,
  .api-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .compare-table th,
  .compare-table td,
  .api-table th,
  .api-table td {
    white-space: normal;
    min-width: 120px;
  }
  .kit-card-v2-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .price-box .price {
    font-size: 24px;
  }
  .iot-flow,
  .kit-spec-grid {
    grid-template-columns: 1fr;
  }
  .iot-flow div:not(:last-child)::after {
    bottom: -22px;
    content: "↓";
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }
  .kit-spec-card dl {
    grid-template-columns: 1fr;
  }
  .kit-spec-card dt {
    border-bottom: 0;
  }
}

/* ========================================
   ユーティリティ
   ======================================== */

/* ページ内リンクのオフセット（sticky header分） */
.anchor-target {
  display: block;
  height: 128px;
  margin-top: -128px;
  visibility: hidden;
  pointer-events: none;
}

/* メインラッパー */
.main-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 戻るリンク */
.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #1a6faf;
  font-size: 13px;
  border: 1px solid #1a6faf;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.back-link:hover { background: #1a6faf; color: #fff; }

/* ========================================
   ナビゲーション
   ======================================== */

/* セカンダリナビ（ページ内メニュー） */
.kit-nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 64px;
  z-index: 90;
}
.kit-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.kit-nav-inner a {
  display: block;
  padding: 14px 18px;
  font-size: 13px;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.kit-nav-inner a:hover { color: #1a6faf; border-bottom-color: #1a6faf; }
.kit-nav-inner a:focus-visible {
  color: #1a6faf;
  border-bottom-color: #1a6faf;
  outline: 2px solid #1a6faf;
  outline-offset: -2px;
}
@media (max-width: 700px) {
  .kit-nav-inner { padding: 0 8px; }
  .kit-nav-inner a { padding: 12px 14px; font-size: 12px; }
}

/* 関連製品・ページ */
.related-section,
.related-nav {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}
.related-list,
.related-nav-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 36px;
}
.related-list a,
.related-nav-list a {
  display: inline-block;
  border: 1px solid #1a6faf;
  color: #1a6faf;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.related-list a:hover,
.related-nav-list a:hover {
  background: #1a6faf;
  color: #fff;
}
.related-list + .cta-block,
.related-nav-list + .cta-block {
  margin-top: 28px;
}
.related-section:has(+ .section > .cms-cta) .section {
  padding-bottom: 0;
}
.related-section + .section:has(> .cms-cta) {
  background: #f5f5f5;
  max-width: none;
  padding-top: 0;
}
.related-section + .section:has(> .cms-cta) > .cms-cta {
  max-width: 1060px;
  margin: 0 auto;
}

/* 主要取引先 */
.subsection-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a4f7a;
  margin: 24px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d0e4f7;
}
.subsection-title:first-child { margin-top: 0; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.client-item {
  background: #f5f8fc;
  border-left: 3px solid #0066b1;
  border-radius: 0 4px 4px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 12px;
}
.note-text {
  color: #666;
  font-size: 12px;
  margin-top: 14px;
}

/* 会社概要 */
.rich-text-highlight-section { padding-bottom: 8px; }
.rich-text-highlight-section + .section { padding-top: 24px; }
.definition-table-compact { padding-top: 20px; }
.rich-text-raw-section { padding-top: 20px; }
.philosophy-box {
  background: #f5f8fc;
  border: 1px solid #cce0f5;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}
.philosophy-box .label {
  color: #1a6faf;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.philosophy-box .text {
  color: #0d3b6e;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.8;
}
body[data-page-type="company"] .cms-definition-table,
body[data-page-type="access"] .cms-definition-table {
  border-radius: 0;
  box-shadow: none;
}
body[data-page-type="company"] .cms-definition-table th,
body[data-page-type="company"] .cms-definition-table td,
body[data-page-type="access"] .cms-definition-table th,
body[data-page-type="access"] .cms-definition-table td {
  padding: 12px 16px;
}
body[data-page-type="company"] .cms-definition-table th,
body[data-page-type="access"] .cms-definition-table th { width: 22%; }
body[data-page-type="company"] .cms-definition-table tr:nth-child(even) td,
body[data-page-type="access"] .cms-definition-table tr:nth-child(even) td { background: #fafcff; }
.rich-text-raw-section .subsection-title:first-child { margin-top: 0; }

@media (max-width: 700px) {
  .hd_title img { width: 190px; }
  .home-hero { padding: 60px 20px 52px; }
  .home-hero h1 { font-size: 27px; }
  .home-service-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .philosophy-box .text { font-size: 17px; }
}

/* ========================================
   カードグリッド（汎用）
   ======================================== */

/* 特徴グリッド（2カラム） */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #1a6faf;
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.feature-card .feature-headline {
  font-size: 13px;
  font-weight: bold;
  color: #1a6faf;
  background: #e8f1fb;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  display: inline-block;
}
.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}

/* ソリューション（2カラム） */
.solution-section { background: #fff; border-top: 1px solid #e8e8e8; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .solution-grid { grid-template-columns: 1fr; }
}
.solution-card {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 22px 24px;
}
.solution-card h3 {
  font-size: 15px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #cfe0f5;
}
.solution-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.solution-card ul {
  list-style: none;
  margin-top: 8px;
}
.solution-card ul li {
  font-size: 13px;
  padding: 4px 0 4px 14px;
  position: relative;
  color: #444;
}
.solution-card ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1a6faf;
  font-weight: bold;
}

/* 移行・移植サービス（3カラム） */
.migration-section { background: #fff; border-top: 1px solid #e8e8e8; }
.migration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .migration-grid { grid-template-columns: 1fr; }
}
.migration-card {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 20px;
}
.migration-card .mig-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 10px;
}
.migration-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}

/* 対応マイコン（4カラム） */
.mcu-section { background: #f5f5f5; border-top: 1px solid #e0e0e0; }
.mcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .mcu-grid { grid-template-columns: repeat(2, 1fr); }
}
.mcu-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.mcu-card .mcu-maker {
  background: #c80000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 10px;
  text-align: center;
}
.mcu-card .mcu-series {
  font-size: 12px;
  padding: 8px 10px;
  background: #f0f0f0;
  text-align: center;
  color: #333;
}
.mcu-note {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

/* ソフトウェアカード（2カラム） */
.sw-section { background: #f5f5f5; border-top: 1px solid #e0e0e0; }
.sw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .sw-grid { grid-template-columns: 1fr; }
}
.sw-card {
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 18px 20px;
}
.sw-card h3 {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e0e8f5;
}
.sw-card ul { list-style: none; }
.sw-card ul li {
  font-size: 13px;
  padding: 4px 0 4px 14px;
  position: relative;
  color: #444;
  line-height: 1.5;
}
.sw-card ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1a6faf;
  font-weight: bold;
}

/* 価値提供カード（3カラム） */
.value-section { background: #fff; border-top: 1px solid #e8e8e8; }
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #0066b1;
  margin-bottom: 0;
}
.tab-btn {
  padding: 10px 32px;
  font-size: 15px;
  font-weight: bold;
  background: #f0f4f9;
  border: 1px solid #c8d8ec;
  border-bottom: none;
  cursor: pointer;
  color: #555;
  border-radius: 6px 6px 0 0;
  transition: background 0.15s, color 0.15s;
  margin-right: 4px;
}
.tab-btn:hover { background: #dce8f5; }
.tab-btn.active {
  background: #0066b1;
  color: #fff;
  border-color: #0066b1;
}
.tab-body {
  border: 2px solid #0066b1;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 28px;
  background: #fff;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.smart-building-gallery {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.smart-building-gallery-spaced { margin-bottom: 8px; }
.smart-building-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.smart-building-gallery-4 { grid-template-columns: repeat(4, 1fr); }
.smart-building-gallery-5 { grid-template-columns: repeat(5, 1fr); }
.installation-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.installation-card {
  grid-column: span 4;
  background: #f7faff;
  border: 1px solid #d8e7f7;
  border-left: 4px solid #0066b1;
  border-radius: 6px;
  padding: 14px 16px;
  line-height: 1.65;
  min-width: 0;
}
.installation-card-featured {
  grid-column: span 8;
}
.installation-name {
  font-weight: 700;
  color: #0066b1;
  margin-bottom: 4px;
}
.installation-note {
  font-size: 13px;
  color: #555;
}
.installation-lead {
  background: #fff;
  border-left: 4px solid #82a6d5;
  border-radius: 0 6px 6px 0;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
  padding: 16px 18px;
}
.smart-locker-box {
  background: #fff;
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 22px 24px;
}
.smart-locker-box h3 {
  color: #1a4f7a;
  font-size: 17px;
  margin-bottom: 10px;
}
.smart-locker-box p {
  color: #444;
  line-height: 1.75;
}
.smart-locker-results {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.smart-locker-results li {
  background: #f5f8fc;
  border-left: 3px solid #0066b1;
  border-radius: 0 4px 4px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 10px;
}
@media (max-width: 700px) {
  .tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 13px;
  }
  .tab-body { padding: 18px; }
  .smart-building-gallery,
  .smart-building-gallery-3,
  .smart-building-gallery-4,
  .smart-building-gallery-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .installation-list { grid-template-columns: 1fr; }
  .installation-card,
  .installation-card-featured {
    grid-column: 1;
  }
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .value-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 20px;
}
.value-card .value-icon { font-size: 28px; margin-bottom: 10px; }
.value-card .value-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.value-card .value-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

/* 適用分野・ユースケース（3カラム） */
.usecase-section { background: #fff; border-top: 1px solid #e8e8e8; }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .usecase-grid { grid-template-columns: 1fr; }
}
.usecase-card {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 18px 20px;
}
.usecase-card .uc-icon { font-size: 28px; margin-bottom: 10px; }
.usecase-card h3 {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.usecase-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #444;
}

/* オプション機能カード（3カラム） */
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}
@media (max-width: 700px) { .option-grid { grid-template-columns: 1fr; } }
.option-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.option-card .opt-icon { font-size: 28px; margin-bottom: 10px; }
.option-card .opt-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.option-card .opt-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.65;
}

/* 課題解決カード（2カラム） */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}
@media (max-width: 700px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-card .prob-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.problem-card .prob-issue {
  font-size: 13px;
  font-weight: bold;
  color: #888;
  margin-bottom: 4px;
}
.problem-card .prob-solution {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

/* ココシル：課題と特徴 */
.challenge-lead {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.challenge-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.challenge-col { min-width: 0; }
.challenge-col-title {
  background: #2e8b57;
  border-radius: 8px 8px 0 0;
  color: #fff;
  font-size: 15px;
  padding: 12px 18px;
}
.challenge-col-title.visitor { background: #1a6faf; }
.challenge-list {
  background: #fff;
  border: 1px solid #b9dfca;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 8px 18px;
}
.challenge-list.visitor { border-color: #c0d4ee; }
.challenge-list li {
  border-bottom: 1px solid #edf2f0;
  color: #444;
  line-height: 1.65;
  padding: 11px 4px 11px 22px;
  position: relative;
}
.challenge-list li:last-child { border-bottom: 0; }
.challenge-list li::before {
  color: #2e8b57;
  content: "✓";
  font-weight: bold;
  left: 2px;
  position: absolute;
}
.challenge-list.visitor li::before { color: #1a6faf; }
.challenge-resolve {
  background: #f2faf5;
  border: 1px solid #b9dfca;
  border-radius: 8px;
  color: #355342;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 24px;
  padding: 20px 24px;
  text-align: center;
}
.challenge-resolve span,
.challenge-resolve strong {
  color: #1a6f4f;
  font-weight: bold;
}
.kokosil-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.kokosil-feature-card {
  background: #fff;
  border: 1px solid #cfe5d8;
  border-top: 4px solid #2e8b57;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 24px;
}
.kokosil-feature-icon { font-size: 34px; margin-bottom: 10px; }
.kokosil-feature-card h3 {
  color: #1a5f3a;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.kokosil-feature-card p { color: #555; line-height: 1.75; }
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.lang-tags span {
  background: #e8f5ee;
  border-radius: 3px;
  color: #1a5f3a;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
}
.section-compact-top { padding-top: 0; }
.kokosil-section-lead {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.region-tag {
  background: #fff;
  border: 1px solid #b2dfc4;
  border-radius: 20px;
  color: #333;
  font-size: 13px;
  padding: 5px 14px;
}
.kokosil-case-grid { margin-top: 20px; }
.kokosil-case-card {
  background: #fff;
  border: 2px solid #1a5f3a;
  border-radius: 8px;
  color: inherit;
  display: block;
  padding: 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kokosil-case-card:hover {
  box-shadow: 0 6px 18px rgba(26,95,58,0.16);
  transform: translateY(-2px);
}
.case-badge {
  background: #1a5f3a;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 9px;
  padding: 3px 12px;
}
.kokosil-case-card .case-label {
  color: #1a5f3a;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 7px;
}
.kokosil-case-card .case-title {
  color: #222;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.kokosil-case-card .case-desc {
  color: #555;
  font-size: 14px;
  line-height: 1.75;
}
.kokosil-case-card .case-desc p + p { margin-top: 14px; }
.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.case-stat {
  background: #f0f8f3;
  border: 1px solid #b2dfc4;
  border-radius: 6px;
  flex: 1;
  min-width: 110px;
  padding: 10px;
  text-align: center;
}
.case-stat strong {
  color: #1a5f3a;
  display: block;
  font-size: 22px;
  line-height: 1.2;
}
.case-stat span {
  color: #666;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.case-read-more {
  color: #1a5f3a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-top: 22px;
}
.case-read-more::after {
  content: "→";
  transition: transform 0.2s ease;
}
.kokosil-case-card:hover .case-read-more::after {
  transform: translateX(4px);
}
.app-row {
  align-items: center;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}
.app-row-label {
  color: #555;
  font-size: 14px;
  font-weight: bold;
}
.app-row a {
  display: block;
  transition: opacity 0.2s;
}
.app-row a:hover { opacity: 0.8; }
.app-row img {
  height: 36px;
  width: auto;
}
.external-form-card {
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 32px;
  text-align: center;
}
.external-form-card .form-notice {
  text-align: left;
}
.external-form-card h2 {
  color: #1a4f7a;
  font-size: 20px;
  margin: 24px 0 10px;
}
.external-form-card > p {
  color: #555;
  line-height: 1.7;
}
.external-form-link {
  background: #1a6faf;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  margin-top: 22px;
  padding: 13px 28px;
}
.external-form-link:hover { background: #0d5a9a; }
.external-form-link-secondary {
  background: transparent;
  border: 1px solid #1a6faf;
  color: #1a6faf;
  font-size: 13px;
  margin-top: 16px;
  padding: 9px 18px;
}
.external-form-link-secondary:hover {
  background: #eaf2fb;
  color: #1a6faf;
}
.external-form-embed {
  border: 1px solid #d0e4f7;
  border-radius: 8px;
  margin-top: 22px;
  overflow: hidden;
}
.external-form-embed iframe {
  border: 0;
  display: block;
  height: min(1100px, 80vh);
  min-height: 680px;
  width: 100%;
}
.external-form-pending {
  background: #fff8e8;
  border: 1px solid #f0d080;
  border-radius: 6px;
  margin-top: 22px;
  padding: 14px 18px;
}
.external-form-help {
  font-size: 13px;
  margin-top: 22px;
}
.external-form-help a {
  color: #1a6faf;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .challenge-cols,
  .kokosil-feature-cards { grid-template-columns: 1fr; }
  .challenge-resolve { text-align: left; }
  .app-row { align-items: flex-start; flex-direction: column; }
  .external-form-card { padding: 24px 18px; }
}

/* 活用事例カード（2カラム） */
.case-section { background: #fff; border-top: 1px solid #e8e8e8; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
@media (max-width: 700px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 20px;
}
.case-card .case-label { font-size: 11px; color: #888; margin-bottom: 6px; }
.case-card .case-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.case-card .case-desc { font-size: 13px; color: #444; line-height: 1.65; }

/* 活用事例リスト（2カラム・シンプル） */
.case-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .case-list { grid-template-columns: 1fr; }
}
.case-list li {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px 20px;
}
.case-list li .case-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 6px;
}
.case-list li .case-desc { font-size: 12px; color: #666; line-height: 1.6; }

/* ========================================
   製品バナーグリッド（トップページ）
   ======================================== */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .banner-grid { grid-template-columns: 1fr; }
}
.banner-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}
.banner-card .banner-img {
  background: #c8d8e8;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.banner-card .banner-body { padding: 16px 18px; flex: 1; }
.banner-card .banner-title {
  font-size: 16px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.banner-card .banner-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 14px;
}
.banner-card .banner-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #1a6faf;
  padding: 0 18px 14px;
  text-decoration: underline;
}
.product-category {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  background: #f0f4fa;
  border-left: 4px solid #1a6faf;
  padding: 6px 12px;
  margin-bottom: -8px;
}

/* ========================================
   TOPICS（ニュース・お知らせ）
   ======================================== */
.topics-section { background: #fff; border-top: 1px solid #e8e8e8; }
.topics-list {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 0 24px;
}
.topics-list li {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 92px minmax(86px, auto) minmax(0, 1fr);
  align-items: flex-start;
  gap: 16px;
}
.topics-list li:first-child { border-top: 1px solid #e8e8e8; }
.topics-date { font-size: 12px; color: #888; white-space: nowrap; margin-top: 2px; }
.topics-cat {
  justify-self: start;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #e8f1fb;
  color: #1a6faf;
  white-space: nowrap;
  margin-top: 1px;
}
.topics-title { font-size: 14px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.topics-title a { color: #333; }
.topics-title a:hover { text-decoration: underline; color: #1a6faf; }
.more-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: #1a6faf;
  text-decoration: underline;
}
.news-list-section {
  background: #fff;
}
.news-card-list {
  display: grid;
  gap: 18px;
}
.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.news-card-image {
  display: block;
  background: #e8f1fb;
  min-height: 140px;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}
.news-card-image-placeholder {
  background: linear-gradient(135deg, #e8f1fb 0%, #cfe0f5 100%);
}
.news-card-body {
  padding: 18px 20px 18px 0;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.news-card-title {
  color: #1a3a5c;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.news-card-title a:hover {
  color: #1a6faf;
  text-decoration: underline;
}
.news-card-excerpt {
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}
.news-eyecatch-section {
  padding-bottom: 0;
}
.news-eyecatch {
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.news-eyecatch img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}
.cms-richtext .wp-block-image {
  margin: 36px auto;
}
.cms-richtext figure {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center;
}
.cms-richtext figure img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
.cms-richtext figcaption {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .topics-list { padding: 0 18px; }
  .topics-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 10px;
  }
  .topics-title { grid-column: 1 / -1; }
  .news-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .news-card-body {
    padding: 16px 18px 18px;
  }
}

/* ========================================
   実績数値ストリップ
   ======================================== */
.achievement-strip {
  background: #0d3b6e;
  color: #fff;
  padding: 22px 20px;
}
.achievement-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.achievement-item { text-align: center; }
.achievement-num {
  font-size: 26px;
  font-weight: bold;
  color: #7ec8f5;
  line-height: 1.2;
}
.achievement-label { font-size: 12px; opacity: 0.8; margin-top: 4px; }

/* ========================================
   スペック表
   ======================================== */
.spec-section { background: #fff; border-top: 1px solid #e8e8e8; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 10px;
}
.spec-table th {
  background: #e8f1fb;
  color: #1a6faf;
  font-weight: bold;
  text-align: left;
  padding: 10px 16px;
  border: 1px solid #cfe0f5;
  width: 28%;
}
.spec-table td {
  background: #fff;
  padding: 10px 16px;
  border: 1px solid #e0e0e0;
  line-height: 1.6;
  color: #333;
}
.spec-note { font-size: 12px; color: #888; margin-top: 6px; }

/* ========================================
   開発キットカード（ダークヘッダー）
   ======================================== */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .kit-grid { grid-template-columns: 1fr; }
}
.kit-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}
.kit-card-header {
  background: #0d3b6e;
  color: #fff;
  padding: 14px 20px;
}
.kit-card-header .kit-name { font-size: 14px; font-weight: bold; margin-bottom: 4px; }
.kit-card-header .kit-mcu { font-size: 12px; opacity: 0.8; }
.kit-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.kit-card-body p {
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 12px;
}
.kit-detail-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  color: #1a6faf;
  font-size: 13px;
  font-weight: bold;
  border-top: 1px dashed #e0e8f5;
  transition: color 0.2s;
}
.kit-detail-link:hover { color: #0d3b6e; text-decoration: underline; }
.kit-section {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}
.kit-photo {
  border-radius: 4px 4px 0 0;
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.board-detail-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.board-detail-figure {
  margin: 0;
}
.board-detail-figure img {
  border: 1px solid #ddd;
  border-radius: 4px;
  height: auto;
  width: 100%;
}
.board-detail-figure figcaption {
  color: #666;
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
}
.system-section {
  background: #fff;
  border-top: 1px solid #e8e8e8;
}
.system-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  margin-bottom: 28px;
}
.system-node {
  background: #e8f1fb;
  border: 2px solid #1a6faf;
  border-radius: 8px;
  min-width: 130px;
  padding: 16px 20px;
  text-align: center;
}
.system-node.cloud {
  background: #f0f6ff;
  border-color: #5b9fd4;
}
.system-node .sn-icon {
  font-size: 24px;
  margin-bottom: 6px;
}
.system-node .sn-label {
  color: #1a6faf;
  font-size: 12px;
  font-weight: bold;
}
.system-arrow {
  color: #888;
  font-size: 20px;
  padding: 0 10px;
  white-space: nowrap;
}
.system-arrow .arrow-label {
  color: #888;
  display: block;
  font-size: 11px;
  text-align: center;
}
.product-visual {
  align-items: flex-start;
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.product-visual img {
  border: 1px solid #ddd;
  border-radius: 6px;
  max-width: 340px;
  width: 100%;
}
.product-visual-text {
  flex: 1;
}
.product-spec-table {
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
  width: 100%;
}
.product-spec-table th,
.product-spec-table td {
  border: 1px solid #d0e4f7;
  padding: 9px 14px;
  text-align: left;
}
.product-spec-table th {
  background: #d0e4f7;
  color: #1a4f7a;
  width: 34%;
}
.product-spec-table tr:nth-child(even) td {
  background: #f5f9ff;
}
@media (max-width: 720px) {
  .board-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-visual {
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .system-flow {
    flex-direction: column;
  }
  .system-arrow {
    transform: rotate(90deg);
  }
}

/* ========================================
   キット詳細ページ レイアウト
   ======================================== */

/* セクションヘッダー（詳細ページ用） */
.kit-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 3px solid #1a6faf;
  flex-wrap: wrap;
}
.kit-section-header h2 { font-size: 20px; font-weight: bold; color: #0d3b6e; }
.kit-section-header .kit-mcu-badge {
  font-size: 12px;
  color: #555;
  background: #e8f1fb;
  border: 1px solid #c0d8f0;
  border-radius: 3px;
  padding: 3px 10px;
}
.kit-section-header .kit-manual-badge {
  font-size: 12px;
  color: #197a4a;
  background: #e8f7f0;
  border: 1px solid #a3d9bc;
  border-radius: 3px;
  padding: 3px 10px;
}

/* ハード/ソフト 2カラム */
.kit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .kit-columns { grid-template-columns: 1fr; }
}
.kit-col-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.kit-col-header {
  background: #0d3b6e;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.kit-col-header.soft { background: #1a6faf; }
.kit-col-body { padding: 16px 18px; }

/* コンポーネントブロック */
.component-block {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e8e8e8;
}
.component-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.component-title {
  font-size: 13px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.component-title .badge {
  font-size: 11px;
  font-weight: normal;
  background: #e8f7f0;
  color: #197a4a;
  border: 1px solid #a3d9bc;
  border-radius: 2px;
  padding: 1px 6px;
}
.component-title .badge-opt {
  font-size: 11px;
  font-weight: normal;
  background: #f5f5f5;
  color: #888;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 1px 6px;
}
.component-list { list-style: none; padding-left: 4px; }
.component-list li {
  font-size: 13px;
  color: #444;
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.55;
}
.component-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1a6faf;
  font-weight: bold;
}
.component-list li.sub { padding-left: 30px; color: #666; font-size: 12px; }
.component-list li.sub::before { left: 14px; color: #aaa; content: "·"; }

/* ========================================
   ミドルウェア製品カード（ブルーヘッダー）
   ======================================== */
.mw-section { background: #fff; }
.mw-product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.mw-product-header {
  background: #1a6faf;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.mw-product-header .mw-name { font-size: 17px; font-weight: bold; }
.mw-product-header .mw-sub { font-size: 12px; opacity: 0.85; }
.mw-product-body { padding: 20px 24px; }
.mw-product-desc {
  font-size: 13px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}
.mw-product-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}
@media (max-width: 600px) {
  .mw-product-features { grid-template-columns: 1fr; }
}
.mw-product-features li {
  font-size: 13px;
  padding: 4px 0 4px 16px;
  position: relative;
  color: #333;
  line-height: 1.5;
}
.mw-product-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1a6faf;
  font-weight: bold;
}
.mw-badge {
  display: inline-block;
  font-size: 11px;
  background: #e8f7f0;
  color: #197a4a;
  border: 1px solid #a3d9bc;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ========================================
   アーキテクチャ・ソフトウェアスタック
   ======================================== */
.arch-section { background: #f5f5f5; border-top: 1px solid #e0e0e0; }
.arch-box {
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}
.arch-box h3 {
  font-size: 15px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e8f5;
}
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.arch-layer {
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: bold;
}
.arch-layer.app  { background: #e8f7f0; border: 1px solid #a3d9bc; color: #197a4a; }
.arch-layer.mw   { background: #e8f1fb; border: 2px solid #1a6faf; color: #1a6faf; }
.arch-layer.rtos { background: #0d3b6e; color: #fff; }
.arch-layer.hw   { background: #555; color: #fff; }
.arch-arrow { text-align: center; font-size: 18px; color: #999; line-height: 1; }

/* ========================================
   製品カード（カラーヘッダー）
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}
.product-card-header {
  padding: 20px 24px 16px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
.product-card-header.blue { background: #0066b1; }
.product-card-header.blue-light { background: #82a6d5; }
.product-card-header .label {
  font-size: 11px;
  font-weight: normal;
  opacity: 0.85;
  margin-bottom: 4px;
}
.product-card-body { padding: 20px 24px; }
.product-card-body ul {
  list-style: none;
  margin-top: 8px;
}
.product-card-body ul li {
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  position: relative;
}
.product-card-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #1a6faf;
  font-weight: bold;
}
body[data-page-path="/iot-service-ja/smart-building/"] .product-card {
  border: 1px solid #c8ddf0;
  box-shadow: none;
}
body[data-page-path="/iot-service-ja/smart-building/"] .product-card-header.blue {
  background: #0066b1;
}
body[data-page-path="/iot-service-ja/smart-building/"] .product-card-header.blue-light {
  background: #1a4f7a;
}
body[data-page-path="/iot-service-ja/smart-building/"] .product-card-body ul li::before {
  color: #1a4f7a;
}

/* ========================================
   対象顧客タブ
   ======================================== */
.audience-section { background: #fff; border-top: 1px solid #e8e8e8; }
.audience-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #1a6faf;
  margin-bottom: 28px;
}
.audience-tab {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  background: #f0f6ff;
  color: #1a6faf;
  border: 1px solid #cfe0f5;
  border-bottom: none;
}
.audience-tab.active { background: #1a6faf; color: #fff; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.audience-card .aud-header {
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}
.audience-card .aud-body { background: #fff; padding: 16px 18px; }
.audience-card .aud-body ul { list-style: none; margin: 0; }
.audience-card .aud-body ul li {
  font-size: 13px;
  padding: 5px 0 5px 14px;
  position: relative;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.audience-card .aud-body ul li:last-child { border-bottom: none; }
.audience-card .aud-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ========================================
   AI・強調セクション
   ======================================== */
.ai-section { background: #f0f6ff; border-top: 1px solid #cfe0f5; }
.ai-highlight {
  background: #fff;
  border-left: 4px solid #1a6faf;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.ai-highlight h3 {
  font-size: 16px;
  font-weight: bold;
  color: #1a6faf;
  margin-bottom: 8px;
}
.ai-highlight p { font-size: 13px; line-height: 1.7; color: #444; }

/* ========================================
   CTAブロック
   ======================================== */
/* ========================================
   フォーム共通
   ======================================== */
.form-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 36px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
@media (max-width: 700px) {
  .form-wrap { padding: 24px 18px; }
}
.form-notice {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 28px;
}
.form-notice a { color: #1a6faf; text-decoration: underline; }

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.form-table th,
.form-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f8;
  vertical-align: top;
  font-size: 14px;
}
.form-table th {
  width: 200px;
  font-weight: bold;
  color: #1a3a5c;
  background: #f6faff;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .form-table, .form-table tbody, .form-table tr,
  .form-table th, .form-table td { display: block; width: 100%; }
  .form-table th { border-bottom: none; padding-bottom: 6px; }
}
.required-badge {
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: normal;
}
.form-input {
  width: 100%;
  max-width: 480px;
  border: 1px solid #c5d8ee;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
.form-input:focus { outline: none; border-color: #1a6faf; box-shadow: 0 0 0 2px rgba(26,111,175,0.15); }
.form-input-wide {
  width: 100%;
  max-width: 580px;
  border: 1px solid #c5d8ee;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
.form-input-wide:focus { outline: none; border-color: #1a6faf; box-shadow: 0 0 0 2px rgba(26,111,175,0.15); }
.form-input-sm {
  width: 180px;
  border: 1px solid #c5d8ee;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
.form-input-sm:focus { outline: none; border-color: #1a6faf; box-shadow: 0 0 0 2px rgba(26,111,175,0.15); }
.form-textarea {
  width: 100%;
  max-width: 580px;
  border: 1px solid #c5d8ee;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  resize: vertical;
}
.form-textarea:focus { outline: none; border-color: #1a6faf; box-shadow: 0 0 0 2px rgba(26,111,175,0.15); }
.form-check-group {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.form-check-group li label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}
.form-hint {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}
.zip-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-agree-row {
  margin: 20px 0 28px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-agree-row a { color: #1a6faf; text-decoration: underline; }
.form-submit {
  display: block;
  margin: 0 auto;
  background: #1a6faf;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 60px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: #0d5a9a; }
.reply-note {
  background: #f6faff;
  border: 1px solid #cfe0f5;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  margin-top: 32px;
}
.reply-note a { color: #1a6faf; }

/* ========================================
   全ページ共通テーブル
   ======================================== */
.cms-definition-table,
.cms-richtext table,
.wp-block-table table,
.compare-table,
.api-table,
.spec-table,
.product-spec-table,
.form-table {
  background: #fff;
  border-collapse: collapse;
  border-radius: 0;
  box-shadow: none;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  width: 100%;
}
.cms-definition-table th,
.cms-definition-table td,
.cms-richtext table th,
.cms-richtext table td,
.wp-block-table table th,
.wp-block-table table td,
.compare-table th,
.compare-table td,
.api-table th,
.api-table td,
.spec-table th,
.spec-table td,
.product-spec-table th,
.product-spec-table td,
.form-table th,
.form-table td {
  background: #fff;
  border: 1px solid #d0e4f7;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.cms-definition-table th,
.cms-richtext table th,
.wp-block-table table th,
.compare-table th,
.api-table th,
.spec-table th,
.product-spec-table th,
.form-table th {
  background: #eaf2fb;
  background-color: #eaf2fb !important;
  color: #1a4f7a;
  font-weight: bold;
  white-space: nowrap;
}
.cms-definition-table th,
.cms-richtext table tbody td:first-child:not([colspan]),
.wp-block-table table tbody td:first-child:not([colspan]),
.spec-table th,
.product-spec-table th,
.form-table th {
  width: 22%;
}
.cms-richtext table tbody td:first-child:not([colspan]),
.wp-block-table table tbody td:first-child:not([colspan]) {
  background: #eaf2fb;
  background-color: #eaf2fb !important;
  color: #1a4f7a;
  font-weight: bold;
}
.cms-definition-table tr:nth-child(even) td,
.cms-richtext table tbody tr:nth-child(even) td:not(:first-child),
.wp-block-table table tbody tr:nth-child(even) td:not(:first-child),
.compare-table tbody tr:nth-child(even) td:not(:first-child),
.api-table tbody tr:nth-child(even) td:not(:first-child),
.spec-table tbody tr:nth-child(even) td,
.product-spec-table tbody tr:nth-child(even) td,
.form-table tbody tr:nth-child(even) td {
  background: #fafcff;
  background-color: #fafcff !important;
}
.compare-table tbody tr:nth-child(even),
.api-table tbody tr:nth-child(even) {
  background: transparent;
}
@media (max-width: 700px) {
  .cms-richtext figure.wp-block-table,
  .cms-richtext .wp-block-table {
    overflow-x: visible;
    width: 100%;
  }
  .cms-definition-table,
  .cms-definition-table tbody,
  .cms-definition-table tr,
  .cms-definition-table th,
  .cms-definition-table td,
  .cms-richtext table,
  .cms-richtext table thead,
  .cms-richtext table tbody,
  .cms-richtext table tr,
  .cms-richtext table th,
  .cms-richtext table td,
  .wp-block-table table,
  .wp-block-table table thead,
  .wp-block-table table tbody,
  .wp-block-table table tr,
  .wp-block-table table th,
  .wp-block-table table td,
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td,
  .api-table,
  .api-table thead,
  .api-table tbody,
  .api-table tr,
  .api-table th,
  .api-table td,
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td,
  .product-spec-table,
  .product-spec-table tbody,
  .product-spec-table tr,
  .product-spec-table th,
  .product-spec-table td,
  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .cms-definition-table tr,
  .cms-richtext table tr,
  .wp-block-table table tr,
  .compare-table tr,
  .api-table tr,
  .spec-table tr,
  .product-spec-table tr,
  .form-table tr {
    border: 1px solid #d0e4f7;
  }
  .cms-definition-table tr + tr,
  .cms-richtext table tr + tr,
  .wp-block-table table tr + tr,
  .compare-table tr + tr,
  .api-table tr + tr,
  .spec-table tr + tr,
  .product-spec-table tr + tr,
  .form-table tr + tr {
    border-top: 0;
  }
  .cms-definition-table th,
  .cms-definition-table td,
  .cms-richtext table th,
  .cms-richtext table td,
  .wp-block-table table th,
  .wp-block-table table td,
  .compare-table th,
  .compare-table td,
  .api-table th,
  .api-table td,
  .spec-table th,
  .spec-table td,
  .product-spec-table th,
  .product-spec-table td,
  .form-table th,
  .form-table td {
    border: 0;
    font-size: 13px;
    line-height: 1.65;
    padding: 10px 12px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .cms-definition-table th,
  .cms-definition-table td:first-child,
  .cms-richtext table th,
  .cms-richtext table td:first-child,
  .wp-block-table table th,
  .wp-block-table table td:first-child,
  .compare-table th,
  .compare-table td:first-child,
  .api-table th,
  .api-table td:first-child,
  .spec-table th,
  .spec-table td:first-child,
  .product-spec-table th,
  .product-spec-table td:first-child,
  .form-table th,
  .form-table td:first-child {
    background: #eaf2fb;
    background-color: #eaf2fb !important;
    border-bottom: 1px solid #d0e4f7;
    color: #1a4f7a;
    font-weight: bold;
    width: 100%;
  }
  .cms-definition-table td:not(:first-child),
  .cms-richtext table td:not(:first-child),
  .wp-block-table table td:not(:first-child),
  .compare-table td:not(:first-child),
  .api-table td:not(:first-child),
  .spec-table td:not(:first-child),
  .product-spec-table td:not(:first-child),
  .form-table td:not(:first-child) {
    background: #fff;
    background-color: #fff !important;
  }
}

/* ========================================
   フッター
   ======================================== */
footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 40px 20px 20px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin-bottom: 24px;
}
.footer-nav a { font-size: 13px; color: #ccc; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 12px; color: #666; text-align: center; margin-top: 16px; }

/* ========================================
   ハンバーガーメニュー（スマートフォン対応）
   ======================================== */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: 12px;
  flex-shrink: 0;
}
#hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
#hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 820px) {
  /* ハンバーガーボタンを表示 */
  #hamburger { display: flex; }

  /* グローバルメニューは初期状態で非表示 */
  #global_menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    z-index: 99;
    border-top: 2px solid #1a6faf;
  }
  #global_menu.open { display: block; }

  /* メニュー開放時はボディのスクロールを禁止 */
  body.menu-open { overflow: hidden; }

  /* 縦並びリスト */
  #global_menu_ul {
    flex-direction: column;
    padding: 8px 0 32px;
  }
  #global_menu_ul > li > a {
    line-height: 1.4;
    padding: 16px 24px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* サブメニューの矢印 */
  .menu-item-has-children > a::after {
    content: '▾';
    font-size: 12px;
    opacity: 0.6;
    margin-left: 6px;
    transition: transform 0.2s;
  }
  .menu-item-has-children.open > a::after {
    transform: rotate(-180deg);
  }

  /* hoverによるサブメニュー表示を無効化 */
  .menu-item-has-children:hover .sub-menu { display: none; }

  /* タップでトグル */
  .menu-item-has-children.open .sub-menu { display: block; }

  /* モバイル用サブメニュースタイル */
  .sub-menu {
    position: static;
    border: none;
    box-shadow: none;
    background: #f5f8ff;
    min-width: 100%;
    border-bottom: 1px solid #e8e8e8;
  }
  .sub-menu li a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    border-bottom: 1px solid #ebebeb;
  }
  .sub-menu li:last-child a { border-bottom: none; }
  .sub-menu li[style] { padding: 8px 24px 4px 40px; }
}

/* テーブル幅とモバイル表示の最終調整 */
.cms-richtext figure.wp-block-table,
.wp-block-table,
.cms-richtext .table-wrap {
  max-width: none;
  width: 100%;
}
.cms-definition-table,
.cms-richtext table,
.wp-block-table table,
.compare-table,
.api-table,
.spec-table,
.product-spec-table,
.form-table {
  max-width: none;
  width: 100% !important;
}
@media (max-width: 700px) {
  .cms-richtext figure,
  .cms-richtext figure.wp-block-table,
  .wp-block-table,
  .cms-richtext .table-wrap {
    max-width: none;
    overflow-x: visible;
    width: 100%;
  }
  .cms-definition-table,
  .cms-definition-table thead,
  .cms-definition-table tbody,
  .cms-definition-table tr,
  .cms-definition-table th,
  .cms-definition-table td,
  .cms-richtext table,
  .cms-richtext table thead,
  .cms-richtext table tbody,
  .cms-richtext table tr,
  .cms-richtext table th,
  .cms-richtext table td,
  .wp-block-table table,
  .wp-block-table table thead,
  .wp-block-table table tbody,
  .wp-block-table table tr,
  .wp-block-table table th,
  .wp-block-table table td,
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td,
  .api-table,
  .api-table thead,
  .api-table tbody,
  .api-table tr,
  .api-table th,
  .api-table td,
  .spec-table,
  .spec-table thead,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td,
  .product-spec-table,
  .product-spec-table thead,
  .product-spec-table tbody,
  .product-spec-table tr,
  .product-spec-table th,
  .product-spec-table td,
  .form-table,
  .form-table thead,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    max-width: none;
    min-width: 0;
    width: 100% !important;
  }
  .cms-definition-table tr,
  .cms-richtext table tr,
  .wp-block-table table tr,
  .compare-table tr,
  .api-table tr,
  .spec-table tr,
  .product-spec-table tr,
  .form-table tr {
    border: 1px solid #d0e4f7;
  }
  .cms-definition-table tr + tr,
  .cms-richtext table tr + tr,
  .wp-block-table table tr + tr,
  .compare-table tr + tr,
  .api-table tr + tr,
  .spec-table tr + tr,
  .product-spec-table tr + tr,
  .form-table tr + tr {
    border-top: 0;
  }
  .cms-definition-table th,
  .cms-definition-table td,
  .cms-richtext table th,
  .cms-richtext table td,
  .wp-block-table table th,
  .wp-block-table table td,
  .compare-table th,
  .compare-table td,
  .api-table th,
  .api-table td,
  .spec-table th,
  .spec-table td,
  .product-spec-table th,
  .product-spec-table td,
  .form-table th,
  .form-table td {
    border: 0;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    padding: 10px 12px;
    white-space: normal;
  }
  .cms-definition-table th,
  .cms-definition-table td:first-child,
  .cms-richtext table th,
  .cms-richtext table td:first-child,
  .wp-block-table table th,
  .wp-block-table table td:first-child,
  .compare-table th,
  .compare-table td:first-child,
  .api-table th,
  .api-table td:first-child,
  .spec-table th,
  .spec-table td:first-child,
  .product-spec-table th,
  .product-spec-table td:first-child,
  .form-table th,
  .form-table td:first-child {
    background: #eaf2fb;
    background-color: #eaf2fb !important;
    border-bottom: 1px solid #d0e4f7;
    color: #1a4f7a;
    font-weight: bold;
    width: 100% !important;
  }
  .cms-definition-table td:not(:first-child),
  .cms-richtext table td:not(:first-child),
  .wp-block-table table td:not(:first-child),
  .compare-table td:not(:first-child),
  .api-table td:not(:first-child),
  .spec-table td:not(:first-child),
  .product-spec-table td:not(:first-child),
  .form-table td:not(:first-child) {
    background: #fff;
    background-color: #fff !important;
  }
}
