:root {
  --primary-color: #001b44;
  --accent-color: #d76c31; /* 採用情報のオレンジ色に変更 */
  --text-color: #333333;
  --text-muted: #666666;
  --bg-color: #ffffff;
  --section-bg: #f5f7fa;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #001b44;
  --footer-text: #ffffff;
  --transition-speed: 0.3s;
  --container-width: 1220px; /* 参照サイトに合わせる */
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-top: 100px; /* ヘッダーがfixedなのでその分下げる */
}

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

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

/* --- Header --- */
#header {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #eee;
}

#header .wrap {
  padding-top: 24px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#header .siteTitle {
  width: 189px;
}

#header .siteTitle img {
  width: 100%;
  height: auto;
}

/* gNav */
#gNav {
  font-size: 14px;
  line-height: 1;
}

#gNav ul {
  display: flex;
  align-items: center;
  list-style: none;
}

#gNav li {
  margin-left: 35px;
}

#gNav li:first-child {
  margin-left: 0;
}

#gNav a {
  display: block;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

#gNav a:hover,
#gNav a.active {
  border-bottom-color: #4c4c4c;
}

#gNav a.active {
  pointer-events: none;
}

#gNav a.recruit {
  width: 160px;
  margin-left: 30px;
  background: var(--accent-color);
  color: #fff;
  border: 1px solid var(--accent-color);
  padding: 15px 0;
  text-align: center;
  border-radius: 0;
  font-weight: bold;
}

#gNav a.recruit:hover {
  opacity: 0.8;
  border-bottom-color: transparent;
}

/* Mobile Menu Toggle */
#bt-gNav,
label[for="bt-gNav"] {
  display: none;
}

/* --- Responsive --- */
@media only screen and (max-width: 1024px) {
  #gNav li {
    margin-left: 20px;
  }
  #gNav a.recruit {
    width: 140px;
    margin-left: 15px;
  }
}

@media only screen and (max-width: 1100px) {
  body {
    padding-top: 60px;
  }
  #header {
    height: 60px;
  }
  #header .wrap {
    padding: 10px 20px;
  }
  #header .siteTitle {
    width: 140px;
  }

  label[for="bt-gNav"] {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 10000;
    cursor: pointer;
  }

  label[for="bt-gNav"] span,
  label[for="bt-gNav"]::before,
  label[for="bt-gNav"]::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s;
  }

  label[for="bt-gNav"] span {
    top: 14px;
  }
  label[for="bt-gNav"]::before {
    top: 6px;
  }
  label[for="bt-gNav"]::after {
    top: 22px;
  }

  #bt-gNav:checked + #header label[for="bt-gNav"] span {
    opacity: 0;
  }
  #bt-gNav:checked + #header label[for="bt-gNav"]::before {
    top: 14px;
    transform: translateX(-50%) rotate(45deg);
  }
  #bt-gNav:checked + #header label[for="bt-gNav"]::after {
    top: 14px;
    transform: translateX(-50%) rotate(-45deg);
  }

  #gNav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
    z-index: 9998;
  }

  #bt-gNav:checked + #header #gNav {
    height: calc(100vh - 60px);
  }

  #gNav ul {
    flex-direction: column;
    padding: 40px 20px;
  }

  #gNav li {
    margin: 0 0 20px 0;
    width: 100%;
    text-align: center;
  }

  #gNav a.recruit {
    margin: 20px auto 0;
  }
}

/* --- Hero Section --- */
.hero {
  padding: 100px 0 100px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 27, 68, 0.7), rgba(0, 27, 68, 0.7)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2000")
      no-repeat center center;
  background-size: cover;
  color: #ffffff;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* --- Product Grid --- */
.products {
  padding: 80px 0;
  background-color: var(--section-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 40px;
}

/* --- Product Card --- */
.product-card {
  background-color: var(--card-bg);
  border-radius: 4px; /* コーポレートサイトに合わせ、角丸を控えめに */
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 27, 68, 0.08);
}

.product-image {
  height: 180px;
  background-color: #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.product-content {
  padding: 30px;
  flex-grow: 1;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.view-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

.view-more::after {
  content: "→";
  margin-left: 10px;
  transition: transform var(--transition-speed);
}

.product-card:hover .view-more::after {
  transform: translateX(5px);
}

/* --- Footer --- */
#footer {
  border-top: 1px solid #d2d2d2;
  padding: 75px 0 20px;
  background-color: #fff;
  color: var(--text-color);
  margin-top: 60px;
}

#footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#footer .col01 {
  width: 350px;
}

#footer .logo {
  width: 189px;
}

#footer .logo img {
  width: 100%;
  height: auto;
}

#footer .data {
  margin: 25px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

#footer .fNav ul {
  display: flex;
  font-size: 12px;
  line-height: 1;
  list-style: none;
  justify-content: flex-end;
}

#footer .fNav li {
  margin-left: 15px;
}

#footer .fNav a {
  display: block;
  border-bottom: 1px solid transparent;
  padding: 12px 0;
  transition: 0.3s;
}

#footer .fNav a:hover,
#footer .fNav a.active {
  border-bottom-color: #808080;
}

#footer .copyright {
  margin: 20px 0 0;
  font-size: 10px;
  line-height: 1;
  text-align: right;
  color: #999;
}

/* --- Responsive --- */
@media only screen and (max-width: 768px) {
  #footer {
    padding: 50px 0 20px;
  }
  #footer .wrap {
    display: block;
  }
  #footer .col01 {
    width: auto;
    margin-bottom: 30px;
  }
  #footer .logo {
    width: 140px;
  }
  #footer .fNav {
    display: none; /* 参照サイトに合わせてモバイルでは非表示 */
  }
  #footer .copyright {
    text-align: center;
    margin-top: 30px;
  }
}

/* --- Home Page --- */
.home-page {
  background: #f6f8fb;
}

.home-page #main {
  overflow: hidden;
}

.home-page #header {
  box-shadow: 0 4px 22px rgba(0, 27, 68, 0.06);
}

.home-page #footer {
  margin-top: 0;
}

.home-page [id] {
  scroll-margin-top: 120px;
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 150px);
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 18, 44, 0.94) 0%,
      rgba(0, 27, 68, 0.78) 45%,
      rgba(0, 27, 68, 0.25) 100%
    ),
    url("assets/images/hero-connectivity.png");
  background-position: center center;
  background-size: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-hero__content {
  max-width: 700px;
  padding: 72px 0 58px;
}

.home-eyebrow {
  margin-bottom: 16px;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .home-eyebrow {
  color: #ffb27a;
}

.home-hero h2 {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 4.15rem;
  font-weight: 700;
  line-height: 1.14;
}

.home-hero__lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 2;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform var(--transition-speed),
    background-color var(--transition-speed),
    border-color var(--transition-speed);
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button--primary {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.home-button--primary:hover {
  background: #c65d25;
  border-color: #c65d25;
}

.home-button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.home-button--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.home-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 690px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.home-hero__metrics div {
  min-width: 0;
}

.home-hero__metrics dt {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.home-hero__metrics dd {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-section {
  padding: 78px 0;
  background: #ffffff;
}

.home-section__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.home-section__title {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.45;
}

.home-section__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 2.1;
}

.home-strengths {
  padding-top: 0;
  background: #ffffff;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-feature-card {
  min-height: 248px;
  padding: 30px;
  background: #f8fafc;
  border: 1px solid #e4e9f0;
  border-top: 4px solid var(--accent-color);
  border-radius: 6px;
}

.home-feature-card__number {
  display: block;
  margin-bottom: 22px;
  color: #0c8f8c;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

.home-feature-card h3,
.home-product-item h3 {
  margin-bottom: 14px;
  color: var(--primary-color);
  font-size: 1.25rem;
  line-height: 1.5;
}

.home-feature-card p,
.home-product-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.home-products {
  background: #f6f8fb;
}

.home-section__head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 700;
  line-height: 1.4;
}

.home-text-link::after {
  content: ">";
  margin-left: 10px;
  transition: transform var(--transition-speed);
}

.home-text-link:hover::after {
  transform: translateX(4px);
}

.home-product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-product-item {
  min-height: 236px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e0e6ee;
  border-radius: 6px;
}

.home-product-item__tag {
  margin-bottom: 18px;
  color: #0c8f8c;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.home-band {
  padding: 76px 0;
  background: #eaf4f3;
}

.home-band__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.home-company-data {
  background: rgba(255, 255, 255, 0.62);
  border-top: 2px solid #0c8f8c;
}

.home-company-data p {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 27, 68, 0.12);
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-company-data span {
  color: var(--primary-color);
  font-weight: 700;
}

.home-company-data a {
  color: var(--accent-color);
  font-weight: 700;
}

.home-cta {
  padding: 72px 0;
  background: var(--primary-color);
  color: #ffffff;
}

.home-cta__inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.home-cta .home-eyebrow {
  color: #ffb27a;
}

.home-cta h2 {
  max-width: 760px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.55;
}

@media only screen and (max-width: 1024px) {
  .home-hero h2 {
    font-size: 3.25rem;
  }

  .home-section__title {
    font-size: 1.9rem;
  }

  .home-feature-card,
  .home-product-item {
    padding: 24px;
  }
}

@media only screen and (max-width: 768px) {
  .home-page [id] {
    scroll-margin-top: 80px;
  }

  .home-hero {
    min-height: auto;
    background-position: center right 34%;
  }

  .home-hero__content {
    padding: 54px 0 42px;
  }

  .home-hero h2 {
    font-size: 2.35rem;
    line-height: 1.22;
  }

  .home-hero__lead {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .home-button {
    width: 100%;
    min-height: 50px;
  }

  .home-hero__metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .home-section,
  .home-band,
  .home-cta {
    padding: 56px 0;
  }

  .home-section__grid,
  .home-band__inner,
  .home-feature-grid,
  .home-product-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-section__title {
    font-size: 1.6rem;
    line-height: 1.55;
  }

  .home-section__text {
    line-height: 1.95;
  }

  .home-section__head,
  .home-cta__inner {
    display: block;
  }

  .home-text-link {
    margin-top: 20px;
  }

  .home-feature-card,
  .home-product-item {
    min-height: auto;
  }

  .home-company-data p {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }

  .home-cta h2 {
    margin-bottom: 26px;
    font-size: 1.45rem;
    line-height: 1.65;
  }
}

/* --- Tech Blog Page --- */
.techblog-page {
  background: #f6f8fb;
  font-family:
    "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", sans-serif;
}

.techblog-page #footer {
  margin-top: 0;
}

.techblog-masthead {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 18, 44, 0.94) 0%,
      rgba(0, 27, 68, 0.82) 54%,
      rgba(0, 27, 68, 0.34) 100%
    ),
    url("assets/images/hero-connectivity.png");
  background-position: center center;
  background-size: cover;
}

.techblog-masthead__inner {
  padding: 48px 20px 54px;
}

.techblog-eyebrow {
  margin-bottom: 12px;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.techblog-masthead .techblog-eyebrow {
  color: #ffb27a;
}

.techblog-masthead h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.28;
}

.techblog-masthead p:last-child {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 2;
}

.techblog-content {
  padding: 58px 0 86px;
}

.techblog-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(250px, 1fr);
  gap: 34px;
  align-items: start;
}

.techblog-main {
  min-width: 0;
}

.techblog-section-head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.techblog-section-head h2 {
  color: var(--primary-color);
  font-size: 1.9rem;
  line-height: 1.4;
}

.techblog-result {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: right;
}

.techblog-post-list {
  display: grid;
  gap: 18px;
}

.techblog-post {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
  transition:
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    transform var(--transition-speed);
}

.techblog-post::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(255, 255, 255, 0.72),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      rgba(80, 210, 255, 0.18),
      rgba(12, 143, 140, 0.12) 48%,
      rgba(215, 108, 49, 0.18)
    );
  background-size:
    100% 100%,
    220% 220%;
  background-position:
    center,
    0% 50%;
  opacity: 0;
  transition:
    opacity var(--transition-speed),
    background-position 0.6s ease;
}

.techblog-post.is-hidden {
  display: none !important;
}

.techblog-post[hidden],
.techblog-empty[hidden] {
  display: none !important;
}

.techblog-post:hover,
.techblog-post:focus-within {
  border-color: rgba(80, 210, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(80, 210, 255, 0.24),
    0 0 24px rgba(80, 210, 255, 0.32),
    0 18px 40px rgba(0, 27, 68, 0.12);
  transform: translateY(-2px);
}

.techblog-post:hover::before,
.techblog-post:focus-within::before {
  background-position:
    center,
    100% 50%;
  opacity: 1;
}

.techblog-post__thumb {
  position: relative;
  z-index: 1;
  min-height: 100%;
  background-image:
    linear-gradient(rgba(0, 27, 68, 0.08), rgba(0, 27, 68, 0.28)),
    url("assets/images/hero-connectivity.png");
  background-size: cover;
}

.techblog-post__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 27, 68, 0.42),
    rgba(12, 143, 140, 0.28)
  );
}

.techblog-post__thumb--network {
  background-position: center left;
}

.techblog-post__thumb--cloud {
  background-position: center center;
}

.techblog-post__thumb--monitoring {
  background-position: center right;
}

.techblog-post__thumb--wifi {
  background-position: top center;
}

.techblog-post__thumb--security {
  background-position: bottom center;
}

.techblog-post__thumb--helpdesk {
  background-position: bottom right;
}

.techblog-post__thumb--markdown {
  background-position: center;
}

.techblog-post__thumb--markdown::after {
  background: linear-gradient(
    135deg,
    rgba(0, 27, 68, 0.24),
    rgba(12, 143, 140, 0.1)
  );
}

.techblog-post__body {
  position: relative;
  z-index: 1;
  padding: 25px 28px 24px;
}

.techblog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
  color: #6a7482;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.techblog-post__meta time {
  color: var(--accent-color);
}

.techblog-post h3 {
  margin-bottom: 11px;
  color: var(--primary-color);
  font-size: 1.3rem;
  line-height: 1.55;
}

.techblog-post p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.techblog-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.techblog-post__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  background: #eef4f4;
  color: #0c6f6e;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background-color var(--transition-speed),
    box-shadow var(--transition-speed),
    color var(--transition-speed),
    text-shadow var(--transition-speed);
}

.techblog-post:hover .techblog-post__tags span,
.techblog-post:focus-within .techblog-post__tags span {
  background: #0c6f6e;
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(80, 210, 255, 0.28),
    0 0 18px rgba(80, 210, 255, 0.5);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}

.techblog-empty {
  margin-top: 18px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

.techblog-sidebar {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 18px;
}

.techblog-side-panel {
  padding: 23px 22px;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
}

.techblog-side-panel h2 {
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 1.05rem;
  line-height: 1.5;
}

.techblog-profile h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.techblog-profile p:last-child {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.techblog-search {
  width: 100%;
}

.techblog-search__input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  background: #f8fbfd;
  border: 1px solid #d9e3ee;
  border-radius: 6px;
  color: var(--primary-color);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  transition:
    background-color var(--transition-speed),
    border-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

.techblog-search__input::placeholder {
  color: #8b97a5;
  font-weight: 500;
}

.techblog-search__input:focus {
  background: #ffffff;
  border-color: rgba(80, 210, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(80, 210, 255, 0.18);
  outline: none;
}

.techblog-search__input::-webkit-search-cancel-button {
  cursor: pointer;
}

.techblog-filter-list {
  display: grid;
  gap: 4px;
}

.techblog-filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 4px 0 12px;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  color: var(--text-color);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--transition-speed),
    border-color var(--transition-speed),
    color var(--transition-speed);
}

.techblog-filter-list button:hover,
.techblog-filter-list button.is-active {
  background: #f4f8fb;
  border-left-color: var(--accent-color);
  color: var(--primary-color);
}

.techblog-filter-list button:disabled {
  cursor: default;
  opacity: 0.72;
}

.techblog-filter-list span {
  min-width: 28px;
  color: #7c8794;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

@media only screen and (max-width: 1024px) {
  .techblog-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .techblog-post {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .techblog-post__body {
    padding: 22px;
  }
}

@media only screen and (max-width: 768px) {
  .techblog-masthead {
    min-height: 270px;
    background-position: center right 36%;
  }

  .techblog-masthead__inner {
    padding: 42px 20px;
  }

  .techblog-masthead h2 {
    font-size: 2rem;
  }

  .techblog-content {
    padding: 42px 0 60px;
  }

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

  .techblog-section-head {
    display: block;
  }

  .techblog-result {
    margin-top: 8px;
    text-align: left;
  }

  .techblog-post {
    grid-template-columns: 1fr;
  }

  .techblog-post__thumb {
    min-height: 156px;
  }

  .techblog-post__body {
    padding: 22px 20px 24px;
  }

  .techblog-post h3 {
    font-size: 1.12rem;
  }

  .techblog-sidebar {
    position: static;
    order: -1;
  }
}

/* --- Tech Blog 1 Page --- */
.techblog1-page {
  background: #f6f8fb;
  font-family:
    "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
    sans-serif;
}

.techblog1-page #main {
  background: #f6f8fb;
}

.techblog1-page #footer {
  margin-top: 0;
}

.techblog1-hero {
  min-height: 360px;
  display: flex;
  align-items: stretch;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 27, 68, 0.94),
      rgba(0, 27, 68, 0.72),
      rgba(12, 143, 140, 0.28)
    ),
    url("assets/images/hero-connectivity.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.techblog1-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: end;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 58px;
}

.techblog1-hero__content {
  max-width: 760px;
}

.techblog1-eyebrow {
  margin-bottom: 10px;
  color: #0c8f8c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: uppercase;
}

.techblog1-hero .techblog1-eyebrow {
  color: #ffb27a;
}

.techblog1-hero h2 {
  margin-bottom: 18px;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.16;
}

.techblog1-hero p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.9;
}

.techblog1-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.techblog1-stats div {
  min-width: 0;
  padding: 18px 16px;
  background: rgba(0, 27, 68, 0.28);
}

.techblog1-stats dt {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.techblog1-stats dd {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.techblog1-content {
  padding: 52px 0 76px;
}

.techblog1-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.techblog1-main {
  min-width: 0;
  display: grid;
  gap: 44px;
}

.techblog1-section__head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.techblog1-section__head h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.techblog1-result {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
}

.techblog1-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.techblog1-latest-list {
  display: grid;
  gap: 16px;
}

.techblog1-post {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  transition:
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    transform var(--transition-speed);
}

.techblog1-post:hover,
.techblog1-post:focus-within {
  border-color: rgba(215, 108, 49, 0.72);
  box-shadow: 0 15px 36px rgba(0, 27, 68, 0.09);
  transform: translateY(-2px);
}

.techblog1-post[hidden],
.techblog1-empty[hidden] {
  display: none !important;
}

.techblog1-post--featured {
  display: grid;
  grid-template-rows: 170px minmax(0, 1fr);
}

.techblog1-post--compact {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 176px;
}

.techblog1-post__visual {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #001b44;
  background-position: center;
  isolation: isolate;
}

.techblog1-post__visual:focus-visible {
  outline: 3px solid rgba(215, 108, 49, 0.85);
  outline-offset: -3px;
}

.techblog1-post__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(0, 27, 68, 0.18), rgba(12, 143, 140, 0.22)),
    url("assets/images/hero-connectivity.png");
  background-position: inherit;
  background-size: cover;
  filter: saturate(0.95) brightness(0.9);
  transform: scale(1);
  transition:
    transform 0.58s ease,
    filter 0.58s ease;
}

.techblog1-post__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(0, 27, 68, 0.42), rgba(215, 108, 49, 0.18)),
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(80, 210, 255, 0.5) 49%,
      transparent 60%,
      transparent 100%
    );
  background-position:
    center,
    130% 0;
  background-size:
    100% 100%,
    240% 100%;
  pointer-events: none;
  transition:
    opacity 0.58s ease,
    background-position 0.72s ease;
}

.techblog1-post:hover .techblog1-post__visual::before,
.techblog1-post:focus-within .techblog1-post__visual::before {
  filter: saturate(1.18) brightness(1.05);
  transform: scale(1.09);
}

.techblog1-post:hover .techblog1-post__visual::after,
.techblog1-post:focus-within .techblog1-post__visual::after {
  background-position:
    center,
    -40% 0;
  opacity: 0.88;
}

.techblog1-post__visual--ai {
  background-position: center left;
}

.techblog1-post__visual--network,
.techblog1-post__visual--wifi {
  background-position: center;
}

.techblog1-post__visual--cloud,
.techblog1-post__visual--backup {
  background-position: center right;
}

.techblog1-post__visual--security {
  background-position: bottom center;
}

.techblog1-post__visual--ops,
.techblog1-post__visual--monitoring {
  background-position: top center;
}

.techblog1-post__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px 24px 22px;
  background: #ffffff;
  transition:
    background-color 0.32s ease,
    color 0.32s ease;
}

.techblog1-post--compact .techblog1-post__body {
  padding: 22px 26px;
}

.techblog1-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 10px;
  color: #687484;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  transition: color 0.32s ease;
}

.techblog1-post__meta time {
  color: var(--accent-color);
  transition: color 0.32s ease;
}

.techblog1-post h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.55;
  transition: color 0.32s ease;
}

.techblog1-post--compact h3 {
  font-size: 1.22rem;
}

.techblog1-post h3 a {
  transition: color var(--transition-speed);
}

.techblog1-post h3 a:hover {
  color: var(--accent-color);
}

.techblog1-post p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
  transition: color 0.32s ease;
}

.techblog1-post__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: #6f7a88;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.32s ease;
}

.techblog1-post:hover .techblog1-post__body,
.techblog1-post:focus-within .techblog1-post__body {
  background: var(--primary-color);
  color: #ffffff;
}

.techblog1-post:hover .techblog1-post__meta,
.techblog1-post:focus-within .techblog1-post__meta,
.techblog1-post:hover h3,
.techblog1-post:focus-within h3,
.techblog1-post:hover h3 a,
.techblog1-post:focus-within h3 a,
.techblog1-post:hover p,
.techblog1-post:focus-within p,
.techblog1-post:hover .techblog1-post__footer,
.techblog1-post:focus-within .techblog1-post__footer {
  color: #ffffff;
}

.techblog1-post:hover .techblog1-post__meta time,
.techblog1-post:focus-within .techblog1-post__meta time {
  color: #50d2ff;
}

.techblog1-empty {
  margin-top: 16px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
  text-align: center;
}

.techblog1-sidebar {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 18px;
}

.techblog1-panel {
  padding: 23px 22px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.techblog1-panel h2 {
  margin-bottom: 13px;
  color: var(--primary-color);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.techblog1-profile p:last-of-type {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.techblog1-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  background: var(--accent-color);
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    background-color var(--transition-speed),
    transform var(--transition-speed);
}

.techblog1-follow:hover {
  background: #c65d25;
  transform: translateY(-1px);
}

.techblog1-filter-group + .techblog1-filter-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5ebf2;
}

.techblog1-filter-group h3 {
  margin-bottom: 10px;
  color: #5f6b7a;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.techblog1-filter-list {
  display: grid;
  gap: 7px;
}

.techblog1-filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  background: #f5f8fb;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    background-color var(--transition-speed),
    border-color var(--transition-speed),
    color var(--transition-speed);
}

.techblog1-filter-list button:hover,
.techblog1-filter-list button.is-active {
  background: #eef7f7;
  border-color: rgba(12, 143, 140, 0.28);
  color: #0c6f6e;
}

.techblog1-filter-list span {
  color: #8a96a5;
  font-size: 0.78rem;
}

@media only screen and (max-width: 1100px) {
  .techblog1-hero__inner {
    grid-template-columns: 1fr;
  }

  .techblog1-stats {
    max-width: 520px;
  }

  .techblog1-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 24px;
  }

  .techblog1-featured-grid {
    grid-template-columns: 1fr;
  }

  .techblog1-post--featured {
    grid-template-columns: 210px minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 176px;
  }
}

@media only screen and (max-width: 768px) {
  .techblog1-hero {
    min-height: auto;
    background-position: center right 35%;
  }

  .techblog1-hero__inner {
    gap: 28px;
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .techblog1-hero h2 {
    font-size: 2.2rem;
    line-height: 1.22;
  }

  .techblog1-stats {
    grid-template-columns: 1fr;
  }

  .techblog1-content {
    padding: 42px 0 60px;
  }

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

  .techblog1-sidebar {
    position: static;
    order: -1;
  }

  .techblog1-section__head {
    display: block;
  }

  .techblog1-result {
    margin-top: 8px;
    text-align: left;
  }

  .techblog1-post--featured,
  .techblog1-post--compact {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .techblog1-post__visual {
    min-height: 160px;
  }

  .techblog1-post__body,
  .techblog1-post--compact .techblog1-post__body {
    padding: 21px 20px 22px;
  }

  .techblog1-post--compact h3 {
    font-size: 1.12rem;
  }
}

/* --- Tech Blog 2 Motion Samples --- */
.techblog2-page {
  background: #07111f;
  font-family:
    "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
    sans-serif;
}

.techblog2-page #main {
  background:
    radial-gradient(
      circle at top left,
      rgba(80, 210, 255, 0.14),
      transparent 36%
    ),
    linear-gradient(180deg, #07111f 0%, #101827 100%);
}

.techblog2-page #footer {
  margin-top: 0;
}

.tb2-hero {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(0, 27, 68, 0.94), rgba(0, 27, 68, 0.66)),
    url("assets/images/hero-connectivity.png");
  background-position: center;
  background-size: cover;
}

.tb2-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(80, 210, 255, 0.18),
    transparent 62%
  );
  pointer-events: none;
}

.tb2-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.tb2-eyebrow {
  margin-bottom: 12px;
  color: #50d2ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.tb2-hero h2 {
  margin-bottom: 18px;
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.16;
}

.tb2-hero p:last-child {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.9;
}

.tb2-gallery {
  padding: 54px 0 80px;
}

.tb2-section-head {
  margin-bottom: 22px;
}

.tb2-section-head h3 {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.4;
}

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

.tb2-demo {
  min-width: 0;
  overflow: hidden;
  background: #0d1726;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.tb2-demo__stage {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: #ffffff;
  isolation: isolate;
}

.tb2-demo__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(3, 7, 18, 0.74) 100%
  );
}

.tb2-demo__content {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.tb2-demo__content p {
  margin-bottom: 10px;
  color: #50d2ff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.tb2-demo__content h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
}

.tb2-demo__content span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.tb2-demo__caption {
  min-height: 122px;
  padding: 22px 24px 24px;
  background: #ffffff;
}

.tb2-demo__caption h4 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.5;
}

.tb2-demo__caption p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.tb2-card-gallery {
  padding: 0 0 86px;
}

.tb2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tb2-article-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  isolation: isolate;
  transition:
    border-color 0.34s ease,
    box-shadow 0.34s ease,
    transform 0.34s ease;
}

.tb2-article-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tb2-article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition:
    opacity 0.34s ease,
    background-position 0.48s ease;
}

.tb2-article-card__thumb {
  height: 168px;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(0, 27, 68, 0.16), rgba(12, 143, 140, 0.22)),
    url("assets/images/hero-connectivity.png");
  background-position: center;
  background-size: cover;
  transition:
    transform 0.52s ease,
    filter 0.52s ease;
}

.tb2-article-card:nth-child(2) .tb2-article-card__thumb,
.tb2-article-card:nth-child(5) .tb2-article-card__thumb {
  background-position: center right;
}

.tb2-article-card:nth-child(3) .tb2-article-card__thumb,
.tb2-article-card:nth-child(6) .tb2-article-card__thumb,
.tb2-article-card:nth-child(9) .tb2-article-card__thumb {
  background-position: bottom center;
}

.tb2-article-card:nth-child(7) .tb2-article-card__thumb,
.tb2-article-card:nth-child(8) .tb2-article-card__thumb {
  background-position: top center;
}

.tb2-article-card__body {
  position: relative;
  z-index: 1;
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, 0.96);
  transition:
    background-color 0.34s ease,
    color 0.34s ease;
}

.tb2-article-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 13px;
  padding: 0 10px;
  background: #eef7f7;
  color: #0c6f6e;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    background-color 0.34s ease,
    box-shadow 0.34s ease,
    color 0.34s ease,
    text-shadow 0.34s ease;
}

.tb2-article-card h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.55;
  transition: color 0.34s ease;
}

.tb2-article-card__body > p:last-child {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.34s ease;
}

.tb2-article-card__more {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 0;
  color: var(--accent-color);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
  transition:
    color 0.34s ease,
    gap 0.34s ease,
    transform 0.34s ease;
}

.tb2-article-card__more::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  transition: width 0.34s ease;
}

.tb2-article-card--lift:hover {
  box-shadow: 0 28px 58px rgba(80, 210, 255, 0.18);
  transform: translateY(-10px);
}

.tb2-article-card--border:hover {
  border-color: rgba(80, 210, 255, 0.96);
  box-shadow:
    0 0 0 2px rgba(80, 210, 255, 0.42),
    0 0 24px rgba(80, 210, 255, 0.48),
    0 0 68px rgba(80, 210, 255, 0.34),
    0 24px 58px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.tb2-article-card--gradient::before {
  background:
    linear-gradient(
      135deg,
      rgba(80, 210, 255, 0.64),
      rgba(12, 143, 140, 0.42),
      rgba(215, 108, 49, 0.46)
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(255, 255, 255, 0.5),
      transparent 28%
    );
  background-position:
    0% 50%,
    center;
  background-size:
    220% 220%,
    100% 100%;
}

.tb2-article-card--gradient:hover::before {
  opacity: 0.62;
  background-position:
    100% 50%,
    center;
}

.tb2-article-card--gradient:hover .tb2-article-card__body {
  background: rgba(255, 255, 255, 0.72);
}

.tb2-article-card--zoom:hover .tb2-article-card__thumb {
  filter: saturate(1.15) brightness(1.06);
  transform: scale(1.08);
}

.tb2-article-card--tag-glow:hover .tb2-article-card__tag {
  background: #0c6f6e;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(80, 210, 255, 0.58);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.72);
}

.tb2-article-card--cursor::before {
  background: radial-gradient(
    circle at var(--cx) var(--cy),
    rgba(80, 210, 255, 0.82) 0%,
    rgba(80, 210, 255, 0.42) 18%,
    rgba(215, 108, 49, 0.2) 34%,
    transparent 58%
  );
}

.tb2-article-card--cursor:hover::before {
  opacity: 0.72;
}

.tb2-article-card--cursor:hover {
  border-color: rgba(80, 210, 255, 0.74);
  box-shadow:
    0 0 42px rgba(80, 210, 255, 0.22),
    0 22px 50px rgba(0, 0, 0, 0.26);
}

.tb2-article-card--peel {
  overflow: hidden;
}

.tb2-article-card--peel::after {
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 58px;
  height: 58px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0) 0 49%,
      rgba(5, 17, 31, 0.92) 50% 100%
    ),
    linear-gradient(135deg, #001b44, #000000);
  border-radius: 0 0 10px 0;
  box-shadow: -10px -10px 22px rgba(0, 27, 68, 0.12);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: translate(20px, 20px) scale(0.18) rotate(0deg);
  transform-origin: right bottom;
  opacity: 0;
  transition:
    transform 0.36s ease,
    opacity 0.36s ease,
    box-shadow 0.36s ease;
}

.tb2-article-card--peel:hover {
  box-shadow:
    0 28px 58px rgba(80, 210, 255, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.tb2-article-card--peel:hover::after {
  box-shadow: -16px -16px 30px rgba(0, 27, 68, 0.22);
  opacity: 1;
  transform: translate(0, 0) rotate(-4deg);
}

.tb2-article-card--invert,
.tb2-article-card--invert .tb2-article-card__body,
.tb2-article-card--invert .tb2-article-card__tag,
.tb2-article-card--invert h4,
.tb2-article-card--invert .tb2-article-card__body > p:last-child {
  transition:
    background-color 0.34s ease,
    color 0.34s ease,
    border-color 0.34s ease,
    box-shadow 0.34s ease;
}

.tb2-article-card--invert:hover {
  background: var(--primary-color);
  border-color: rgba(80, 210, 255, 0.7);
  box-shadow: 0 24px 56px rgba(80, 210, 255, 0.18);
}

.tb2-article-card--invert:hover .tb2-article-card__body {
  background: var(--primary-color);
}

.tb2-article-card--invert:hover .tb2-article-card__tag {
  background: #50d2ff;
  color: #001b44;
  box-shadow: 0 0 22px rgba(80, 210, 255, 0.48);
}

.tb2-article-card--invert:hover h4,
.tb2-article-card--invert:hover .tb2-article-card__body > p:last-child {
  color: #ffffff;
}

.tb2-article-card--readmore {
  cursor: pointer;
}

.tb2-article-card--readmore .tb2-article-card__body {
  padding-bottom: 62px;
}

.tb2-article-card--readmore::after {
  right: 22px;
  bottom: 25px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-top: 2px solid #50d2ff;
  border-right: 2px solid #50d2ff;
  opacity: 0;
  transform: translateX(-10px) rotate(45deg);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease;
}

.tb2-article-card--readmore:hover {
  border-color: rgba(215, 108, 49, 0.5);
  box-shadow:
    0 24px 56px rgba(215, 108, 49, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.tb2-article-card--readmore:hover .tb2-article-card__more {
  gap: 16px;
  color: #50d2ff;
  transform: translateX(2px);
}

.tb2-article-card--readmore:hover .tb2-article-card__more::after {
  width: 46px;
}

.tb2-article-card--readmore:hover::after {
  opacity: 1;
  transform: translateX(0) rotate(45deg);
}

.tb2-scroll-lab {
  padding: 0 0 92px;
}

.tb2-scroll-lab__head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.tb2-scroll-control {
  display: grid;
  gap: 8px;
  min-width: min(100%, 340px);
}

.tb2-scroll-control span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.tb2-scroll-control select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  background: #ffffff;
  border: 1px solid rgba(80, 210, 255, 0.36);
  border-radius: 6px;
  color: var(--primary-color);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.tb2-scroll-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tb2-scroll-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.2, 0.72, 0.2, 1),
    box-shadow 0.34s ease;
  transition-delay: 0s;
  will-change: opacity, transform;
}

.tb2-scroll-card__thumb {
  height: 156px;
  background-image:
    linear-gradient(135deg, rgba(0, 27, 68, 0.18), rgba(80, 210, 255, 0.24)),
    url("assets/images/hero-connectivity.png");
  background-position: center;
  background-size: cover;
}

.tb2-scroll-card:nth-child(2) .tb2-scroll-card__thumb,
.tb2-scroll-card:nth-child(5) .tb2-scroll-card__thumb {
  background-position: center right;
}

.tb2-scroll-card:nth-child(3) .tb2-scroll-card__thumb,
.tb2-scroll-card:nth-child(6) .tb2-scroll-card__thumb {
  background-position: bottom center;
}

.tb2-scroll-card__body {
  padding: 21px 22px 23px;
}

.tb2-scroll-card__body p {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: 12px;
  padding: 0 10px;
  background: #eef7f7;
  color: #0c6f6e;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.tb2-scroll-card__body h4 {
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.tb2-scroll-card__body span {
  color: #728094;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.tb2-scroll-card:hover {
  box-shadow: 0 26px 56px rgba(80, 210, 255, 0.16);
}

.tb2-scroll-lab[data-effect="fade"] .tb2-scroll-card {
  transform: translateY(0);
}

.tb2-scroll-lab[data-effect="scale"] .tb2-scroll-card {
  transform: scale(0.92);
}

.tb2-scroll-lab[data-effect="side"] .tb2-scroll-card {
  transform: translateX(-64px);
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card {
  transform: translateY(36px);
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(1) {
  transition-delay: 0s;
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(2) {
  transition-delay: 0.08s;
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(3) {
  transition-delay: 0.16s;
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(4) {
  transition-delay: 0.24s;
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(5) {
  transition-delay: 0.32s;
}

.tb2-scroll-lab[data-effect="stagger"] .tb2-scroll-card:nth-child(6) {
  transition-delay: 0.4s;
}

.tb2-scroll-lab.is-visible .tb2-scroll-card {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.tb2-list-lab {
  padding: 0 0 96px;
}

.tb2-list-lab__head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.tb2-list-control {
  display: grid;
  gap: 8px;
  min-width: min(100%, 360px);
}

.tb2-list-control span,
.tb2-list-lab__description {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.7;
}

.tb2-list-control select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  background: #ffffff;
  border: 1px solid rgba(80, 210, 255, 0.36);
  border-radius: 6px;
  color: var(--primary-color);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.tb2-list-lab__description {
  max-width: 880px;
  margin: -8px 0 22px;
}

.tb2-list-stage {
  min-height: 420px;
}

.tb2-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tb2-list-card {
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.tb2-list-card__topic,
.tb2-type-badge,
.tb2-lab-name {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: 12px;
  padding: 0 10px;
  background: #eef7f7;
  color: #0c6f6e;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.tb2-list-card h4 {
  margin-bottom: 13px;
  color: var(--primary-color);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.tb2-list-card p,
.tb2-list-card dd {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.tb2-list-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin: 4px 5px 0 0;
  padding: 0 9px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.tb2-knowledge-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(80, 210, 255, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, #07111f, #0f172a);
  border: 1px solid rgba(80, 210, 255, 0.2);
  border-radius: 14px;
}

.tb2-map-lines {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
}

.tb2-map-lines path {
  fill: none;
  stroke: rgba(80, 210, 255, 0.44);
  stroke-width: 0.7;
  stroke-dasharray: 3 3;
}

.tb2-map-node {
  position: absolute;
  width: min(260px, 32%);
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(80, 210, 255, 0.34);
  border-radius: 10px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.tb2-map-node span,
.tb2-node-item span {
  display: block;
  margin-bottom: 7px;
  color: #0c6f6e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tb2-map-node h4,
.tb2-node-item {
  color: var(--primary-color);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
}

.tb2-node-clusters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tb2-node-cluster {
  min-height: 220px;
  padding: 22px;
  background:
    radial-gradient(circle, rgba(80, 210, 255, 0.12) 0 34%, transparent 35%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
}

.tb2-node-cluster h4 {
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 800;
}

.tb2-node-cluster > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tb2-node-item {
  width: min(100%, 230px);
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(80, 210, 255, 0.24);
  border-radius: 999px;
}

.tb2-path-list {
  display: grid;
  gap: 14px;
}

.tb2-path-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 160px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
}

.tb2-path-card span {
  color: #d76c31;
  font-size: 0.82rem;
  font-weight: 800;
}

.tb2-path-card h4 {
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 800;
}

.tb2-path-card p {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

.tb2-prereq-row {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.tb2-prereq-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-color);
  font-size: 0.78rem;
}

.tb2-stack-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tb2-stack-flow span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  background: #f8fafc;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
}

.tb2-stack-flow span + span::before {
  content: "->";
  position: absolute;
  left: -12px;
  color: #50d2ff;
}

.tb2-log-blocks {
  display: grid;
  gap: 10px;
}

.tb2-log-blocks section {
  padding: 12px;
  background: #f8fafc;
  border-left: 3px solid #50d2ff;
  border-radius: 6px;
}

.tb2-log-blocks span,
.tb2-before-after span,
.tb2-dashboard-grid span,
.tb2-kb-meta dt {
  display: block;
  margin-bottom: 4px;
  color: #0c6f6e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tb2-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tb2-before-after p {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.tb2-diff-box,
.tb2-cli-card__bar + .tb2-cli-command {
  padding: 14px;
  background: #07111f;
  border-radius: 8px;
  font-family: Consolas, "Courier New", monospace;
}

.tb2-diff-minus {
  color: #ff9b9b !important;
}

.tb2-diff-plus,
.tb2-change-line {
  color: #8ef5c4 !important;
}

.tb2-pattern-grid--cli .tb2-list-card {
  background: #07111f;
  border-color: rgba(80, 210, 255, 0.28);
}

.tb2-pattern-grid--cli h4 {
  color: #ffffff;
}

.tb2-cli-card__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tb2-cli-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #50d2ff;
}

.tb2-cli-card__bar span:nth-child(2) {
  background: #d76c31;
}

.tb2-cli-card__bar span:nth-child(3) {
  background: #30d199;
}

.tb2-cli-command {
  color: #50d2ff !important;
  font-size: 0.84rem !important;
}

.tb2-version-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tb2-version-row strong {
  color: #d76c31;
  font-size: 1.25rem;
}

.tb2-version-row span,
.tb2-reader-label {
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 800;
}

.tb2-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.tb2-dashboard-grid p {
  padding: 11px;
  background: #f8fafc;
  border-radius: 8px;
}

.tb2-quiz-answer {
  margin-top: 14px;
  color: var(--accent-color) !important;
  font-weight: 800;
}

.tb2-purpose-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tb2-purpose-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: rgba(80, 210, 255, 0.14);
  border: 1px solid rgba(80, 210, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.tb2-ring-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tb2-ring {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #ffffff 0 57%, transparent 58%),
    conic-gradient(#50d2ff var(--value), #e2e8f0 0);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.tb2-lab-name {
  background: #07111f;
  color: #50d2ff;
}

.tb2-pattern-grid--types .tb2-list-card:nth-child(2n) {
  border-top: 4px solid #50d2ff;
}

.tb2-pattern-grid--types .tb2-list-card:nth-child(2n + 1) {
  border-top: 4px solid #d76c31;
}

.tb2-kb-meta {
  display: grid;
  gap: 10px;
}

.tb2-kb-meta div {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}

.tb2-demo--gradient .tb2-demo__stage {
  background: linear-gradient(120deg, #001b44, #0c8f8c, #d76c31, #001b44);
  background-size: 320% 320%;
  animation: tb2GradientMove 14s ease-in-out infinite;
}

.tb2-demo--code .tb2-demo__stage {
  background:
    radial-gradient(
      circle at 78% 16%,
      rgba(80, 210, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #05111f, #101827 58%, #001b44);
}

.tb2-code-stream {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  gap: 9px;
  align-content: center;
  color: rgba(80, 210, 255, 0.18);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  transform: rotate(-9deg);
  pointer-events: none;
}

.tb2-code-stream span {
  display: block;
  width: max-content;
  min-width: 100%;
  padding-left: 110%;
  white-space: nowrap;
  animation: tb2CodeFlow var(--duration, 18s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.tb2-code-stream span:nth-child(3n) {
  color: rgba(215, 108, 49, 0.2);
}

.tb2-code-stream span:nth-child(4n) {
  color: rgba(255, 255, 255, 0.14);
}

.tb2-demo--terminal .tb2-demo__stage {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(80, 210, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(135deg, #020617, #0f172a);
}

.tb2-demo--terminal .tb2-demo__content {
  position: absolute;
  left: 30px;
  bottom: 30px;
}

.tb2-terminal {
  width: min(100%, 470px);
  min-height: 132px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.86);
  border: 1px solid rgba(80, 210, 255, 0.26);
  border-radius: 8px;
  box-shadow: 0 0 38px rgba(80, 210, 255, 0.16);
}

.tb2-terminal__bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.tb2-terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #50d2ff;
}

.tb2-terminal__bar span:nth-child(2) {
  background: #d76c31;
}

.tb2-terminal__bar span:nth-child(3) {
  background: #30d199;
}

.tb2-terminal p {
  padding: 20px 18px;
  color: #dbeafe;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.tb2-terminal__prompt {
  color: #50d2ff;
}

.tb2-terminal__cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  margin-left: 4px;
  background: #50d2ff;
  vertical-align: -0.18em;
  animation: tb2Blink 0.9s steps(2, start) infinite;
}

.tb2-demo--mouse .tb2-demo__stage {
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(80, 210, 255, 0.55) 0%,
      rgba(80, 210, 255, 0.28) 18%,
      transparent 42%
    ),
    linear-gradient(135deg, #020617, #001b44 56%, #0c8f8c);
}

.tb2-demo--mouse .tb2-demo__stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(80, 210, 255, 0.26);
  border-radius: 12px;
  box-shadow: inset 0 0 42px rgba(80, 210, 255, 0.14);
}

.tb2-demo--card .tb2-demo__stage {
  align-items: center;
  justify-content: center;
  perspective: 900px;
  background:
    linear-gradient(rgba(0, 27, 68, 0.72), rgba(0, 27, 68, 0.76)),
    url("assets/images/hero-connectivity.png");
  background-position: center;
  background-size: cover;
}

.tb2-tilt-card {
  --rx: 0deg;
  --ry: 0deg;
  width: min(100%, 370px);
  min-height: 220px;
  padding: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.06)
    ),
    linear-gradient(135deg, rgba(80, 210, 255, 0.12), rgba(215, 108, 49, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    box-shadow 0.24s ease;
}

.tb2-tilt-card:hover {
  box-shadow: 0 30px 74px rgba(80, 210, 255, 0.18);
}

.tb2-tilt-card p {
  margin-bottom: 16px;
  color: #50d2ff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tb2-tilt-card h3 {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.4;
}

.tb2-tilt-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.tb2-tilt-card div {
  padding: 14px;
  background: rgba(2, 6, 23, 0.36);
  border-radius: 8px;
  transform: translateZ(28px);
}

.tb2-tilt-card dt {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.tb2-tilt-card dd {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.tb2-demo--dots .tb2-demo__stage {
  background:
    radial-gradient(circle at center, rgba(80, 210, 255, 0.1), transparent 40%),
    radial-gradient(circle, rgba(80, 210, 255, 0.45) 1px, transparent 1px),
    linear-gradient(135deg, #07111f, #0f172a);
  background-position:
    center,
    0 0,
    center;
  background-size:
    auto,
    22px 22px,
    auto;
}

.tb2-demo--dots .tb2-demo__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(80, 210, 255, 0.12),
    transparent
  );
  transform: translateX(-100%);
  animation: tb2GridScan 5.5s linear infinite;
}

.tb2-demo--cyber .tb2-demo__stage {
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(80, 210, 255, 0.16),
      transparent 30%
    ),
    linear-gradient(135deg, #020617, #001b44);
}

.tb2-cyber-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tb2-cyber-lines span {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #50d2ff,
    rgba(215, 108, 49, 0.86),
    transparent
  );
  box-shadow: 0 0 18px rgba(80, 210, 255, 0.88);
  animation: tb2CyberLine 4s ease-in-out infinite;
}

.tb2-cyber-lines span:nth-child(1) {
  top: 28%;
  left: -10%;
  width: 72%;
}

.tb2-cyber-lines span:nth-child(2) {
  top: 48%;
  right: -18%;
  width: 82%;
  animation-delay: -1.2s;
}

.tb2-cyber-lines span:nth-child(3) {
  top: 68%;
  left: 12%;
  width: 52%;
  animation-delay: -2.2s;
}

.tb2-cyber-lines span:nth-child(4) {
  top: 38%;
  left: 24%;
  width: 38%;
  transform: rotate(90deg);
  animation-delay: -3s;
}

@keyframes tb2GradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes tb2CodeFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-180%);
  }
}

@keyframes tb2Blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes tb2GridScan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes tb2CyberLine {
  0%,
  100% {
    opacity: 0.2;
    filter: brightness(0.8);
    transform: translateX(-18px);
  }
  50% {
    opacity: 1;
    filter: brightness(1.8);
    transform: translateX(18px);
  }
}

@media only screen and (max-width: 1024px) {
  .tb2-gallery__inner {
    grid-template-columns: 1fr;
  }

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

  .tb2-scroll-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tb2-map-node {
    width: min(300px, 40%);
  }
}

@media only screen and (max-width: 768px) {
  .tb2-hero {
    min-height: auto;
  }

  .tb2-hero__inner {
    padding-top: 52px;
    padding-bottom: 50px;
  }

  .tb2-hero h2 {
    font-size: 2.1rem;
    line-height: 1.24;
  }

  .tb2-gallery {
    padding: 38px 0 58px;
  }

  .tb2-card-gallery {
    padding-bottom: 58px;
  }

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

  .tb2-scroll-lab {
    padding-bottom: 58px;
  }

  .tb2-scroll-lab__head {
    display: block;
  }

  .tb2-scroll-control {
    margin-top: 16px;
  }

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

  .tb2-list-lab {
    padding-bottom: 58px;
  }

  .tb2-list-lab__head {
    display: block;
  }

  .tb2-list-control {
    margin-top: 16px;
  }

  .tb2-pattern-grid,
  .tb2-node-clusters {
    grid-template-columns: 1fr;
  }

  .tb2-knowledge-map {
    min-height: auto;
    display: grid;
    gap: 12px;
    padding: 18px;
  }

  .tb2-map-lines {
    display: none;
  }

  .tb2-map-node {
    position: static;
    width: 100%;
  }

  .tb2-path-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tb2-path-card p {
    text-align: left;
  }

  .tb2-demo__stage {
    min-height: 260px;
    padding: 24px 20px;
  }

  .tb2-demo__content h3 {
    font-size: 1.42rem;
  }

  .tb2-demo--terminal .tb2-demo__stage {
    min-height: 320px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .tb2-demo--terminal .tb2-demo__content {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .tb2-terminal p {
    font-size: 0.82rem;
  }

  .tb2-tilt-card {
    min-height: 210px;
    padding: 23px;
  }
}

/* --- Tech Blog 3 Page --- */
.techblog3-page {
  background: #f4f7fb;
  font-family:
    "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", sans-serif;
}

.techblog3-page #main {
  overflow: hidden;
}

.techblog3-page #footer {
  margin-top: 0;
}

.tb3-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 18, 44, 0.96) 0%,
      rgba(0, 27, 68, 0.84) 52%,
      rgba(0, 27, 68, 0.4) 100%
    ),
    url("assets/images/hero-connectivity.png");
  background-position: center center;
  background-size: cover;
}

.tb3-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 38px;
  align-items: end;
  padding: 62px 20px 58px;
}

.tb3-hero__content {
  max-width: 760px;
}

.tb3-eyebrow {
  margin-bottom: 12px;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.tb3-hero .tb3-eyebrow {
  color: #ffb27a;
}

.tb3-hero h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.18;
}

.tb3-hero__content > p:last-child {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
}

.tb3-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.tb3-scoreboard div {
  min-width: 0;
  padding: 15px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  text-align: center;
}

.tb3-scoreboard dt {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.tb3-scoreboard dd {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.tb3-board-section {
  padding: 64px 0 82px;
  background:
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 72%),
    radial-gradient(circle at 16% 8%, rgba(80, 210, 255, 0.12), transparent 28%);
}

.tb3-board-section > .wrap {
  max-width: min(1560px, calc(100% - 24px));
}

.tb3-section-head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tb3-section-head h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
}

.tb3-section-head > p {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
}

.tb3-control-bar {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 16px 22px;
  align-items: end;
  margin-bottom: 22px;
}

.tb3-map-select {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tb3-map-select span {
  color: #6b7583;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.tb3-map-select select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  background: #ffffff;
  border: 1px solid #d9e3ee;
  border-radius: 6px;
  color: var(--primary-color);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.tb3-map-select select:focus-visible {
  outline: 3px solid rgba(80, 210, 255, 0.36);
  outline-offset: 2px;
}

.tb3-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tb3-filter-list button {
  min-height: 42px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #d9e3ee;
  border-radius: 6px;
  color: var(--primary-color);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    background-color var(--transition-speed),
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    color var(--transition-speed),
    transform var(--transition-speed);
}

.tb3-filter-list button:hover,
.tb3-filter-list button.is-active {
  background: #eef7f7;
  border-color: rgba(12, 143, 140, 0.42);
  color: #0c6f6e;
  box-shadow: 0 10px 24px rgba(12, 143, 140, 0.12);
}

.tb3-filter-list span {
  margin-left: 6px;
  color: #d76c31;
}

.tb3-layout {
  display: block;
}

.tb3-route-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(176px, auto));
  gap: 20px;
  min-height: 790px;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(215, 108, 49, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 14% 82%,
      rgba(80, 210, 255, 0.14),
      transparent 30%
    ),
    #ffffff;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 27, 68, 0.08);
}

.tb3-route-map[data-map-style="molecule"],
.tb3-route-map[data-map-style="hub"],
.tb3-route-map[data-map-style="branch"] {
  display: block;
  min-height: 1180px;
  padding: 0;
}

.tb3-route-map[data-map-style="molecule"] {
  --tb3-mx: 50%;
  --tb3-my: 50%;
  background:
    radial-gradient(
      circle at 28% 22%,
      rgba(255, 255, 255, 0.16),
      transparent 10%
    ),
    radial-gradient(
      circle at 76% 16%,
      rgba(80, 210, 255, 0.18),
      transparent 14%
    ),
    radial-gradient(
      circle at 68% 72%,
      rgba(215, 108, 49, 0.16),
      transparent 18%
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(135deg, #050b18 0%, #0b1930 52%, #001b44 100%);
  background-size:
    auto,
    auto,
    auto,
    42px 42px,
    auto;
  border-color: rgba(80, 210, 255, 0.22);
  box-shadow:
    inset 0 0 90px rgba(80, 210, 255, 0.1),
    0 28px 70px rgba(0, 27, 68, 0.18);
}

.tb3-route-map[data-map-style="molecule"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at var(--tb3-mx) var(--tb3-my),
    rgba(255, 255, 255, 0.32) 0%,
    rgba(80, 210, 255, 0.24) 6%,
    rgba(80, 210, 255, 0.12) 12%,
    transparent 20%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.tb3-route-map[data-map-style="molecule"].is-pointer-active::after {
  opacity: 1;
}

.tb3-route-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 27, 68, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 27, 68, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.5;
  pointer-events: none;
}

.tb3-route-line {
  position: absolute;
  inset: 52px 46px;
  z-index: 1;
  width: calc(100% - 92px);
  height: calc(100% - 104px);
  overflow: visible;
  pointer-events: none;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-line,
.tb3-route-map[data-map-style="hub"] .tb3-route-line,
.tb3-route-map[data-map-style="branch"] .tb3-route-line {
  inset: 34px;
  width: calc(100% - 68px);
  height: calc(100% - 68px);
}

.tb3-route-line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tb3-route-line__glow {
  stroke: rgba(80, 210, 255, 0.34);
  stroke-width: 7;
  filter: drop-shadow(0 0 16px rgba(80, 210, 255, 0.44));
}

.tb3-route-line__track {
  stroke: rgba(12, 143, 140, 0.72);
  stroke-width: 2.4;
  stroke-dasharray: 2 8;
  animation: tb3RouteDash 18s linear infinite;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-line__glow {
  stroke: rgba(212, 232, 255, 0.32);
  stroke-width: 4.8;
  filter: drop-shadow(0 0 14px rgba(80, 210, 255, 0.62));
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-line__track {
  stroke: rgba(235, 244, 255, 0.84);
  stroke-width: 1.45;
  stroke-dasharray: none;
  animation: none;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-line__glow {
  stroke: rgba(215, 108, 49, 0.28);
  stroke-width: 7.5;
  filter: drop-shadow(0 0 16px rgba(215, 108, 49, 0.34));
}

.tb3-route-map[data-map-style="branch"] .tb3-route-line__track {
  stroke: rgba(215, 108, 49, 0.82);
  stroke-width: 2.6;
  stroke-dasharray: 8 8;
  animation: tb3RouteDash 16s linear infinite;
}

.tb3-route-tile {
  position: relative;
  z-index: 2;
  grid-column: var(--col);
  grid-row: var(--row);
  min-width: 0;
  min-height: 176px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 27, 68, 0.08);
  cursor: pointer;
  transition:
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    filter var(--transition-speed),
    opacity var(--transition-speed),
    transform var(--transition-speed);
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile,
.tb3-route-map[data-map-style="hub"] .tb3-route-tile,
.tb3-route-map[data-map-style="branch"] .tb3-route-tile {
  position: absolute;
  grid-column: auto;
  grid-row: auto;
  width: clamp(176px, 17%, 218px);
  min-height: 142px;
  padding: 16px;
  transform: translate(-50%, -50%);
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* width: clamp(154px, 15%, 182px); */
  width: clamp(120px, 12%, 150px);
  aspect-ratio: 1;
  min-height: 0;
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(
      circle at 32% 25%,
      rgba(255, 255, 255, 0.62),
      transparent 15%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.04)
    ),
    #0b2c55;
  border-color: rgba(212, 232, 255, 0.38);
  color: #ffffff;
  box-shadow:
    inset -16px -18px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 28px rgba(80, 210, 255, 0.2),
    0 22px 48px rgba(0, 0, 0, 0.24);
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(212, 232, 255, 0.2);
  border-radius: 50%;
  opacity: 0.68;
  pointer-events: none;
}

.tb3-route-map[data-map-style="molecule"] .tb3-step-number {
  min-width: 32px;
  min-height: 25px;
  margin-bottom: 7px;
  font-size: 0.68rem;
}

.tb3-route-map[data-map-style="molecule"] .tb3-tile__tag {
  min-height: 21px;
  margin-bottom: 7px;
  padding: 0 7px;
  font-size: 0.64rem;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile h3 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.34;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile .tb3-tile__tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile p:not(.tb3-tile__tag),
.tb3-route-map[data-map-style="molecule"] .tb3-tile__link {
  display: none;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover,
.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:focus-within {
  z-index: 6;
  align-items: flex-start;
  justify-content: flex-start;
  width: clamp(260px, 22%, 320px);
  aspect-ratio: auto;
  min-height: 210px;
  padding: 22px;
  border-radius: 22px;
  text-align: left;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover::before,
.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:focus-within::before {
  border-radius: 26px;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover h3,
.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:focus-within h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.tb3-route-map[data-map-style="molecule"]
  .tb3-route-tile:hover
  p:not(.tb3-tile__tag),
.tb3-route-map[data-map-style="molecule"]
  .tb3-route-tile:focus-within
  p:not(.tb3-tile__tag) {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover .tb3-tile__link,
.tb3-route-map[data-map-style="molecule"]
  .tb3-route-tile:focus-within
  .tb3-tile__link {
  display: inline-flex;
  color: #ffb27a;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover,
.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:focus-within,
.tb3-route-map[data-map-style="hub"] .tb3-route-tile:hover,
.tb3-route-map[data-map-style="hub"] .tb3-route-tile:focus-within,
.tb3-route-map[data-map-style="branch"] .tb3-route-tile:hover,
.tb3-route-map[data-map-style="branch"] .tb3-route-tile:focus-within {
  transform: translate(-50%, calc(-50% - 3px));
}

.tb3-route-tile:hover,
.tb3-route-tile:focus-within {
  border-color: rgba(80, 210, 255, 0.84);
  box-shadow:
    0 0 0 2px rgba(80, 210, 255, 0.18),
    0 20px 42px rgba(0, 27, 68, 0.12);
  transform: translateY(-3px);
}

.tb3-route-tile.is-current {
  border-color: rgba(215, 108, 49, 0.95);
  box-shadow:
    0 0 0 2px rgba(215, 108, 49, 0.22),
    0 0 30px rgba(215, 108, 49, 0.2),
    0 24px 48px rgba(0, 27, 68, 0.14);
  transform: translateY(-4px);
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile.is-current,
.tb3-route-map[data-map-style="hub"] .tb3-route-tile.is-current,
.tb3-route-map[data-map-style="branch"] .tb3-route-tile.is-current {
  transform: translate(-50%, calc(-50% - 4px));
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(1) {
  left: 12%;
  top: 50%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(2) {
  left: 27%;
  top: 24%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(3) {
  left: 63%;
  top: 23%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(4) {
  left: 38%;
  top: 66%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(5) {
  left: 57%;
  top: 51%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(6) {
  left: 33%;
  top: 41%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(7) {
  left: 24%;
  top: 78%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(8) {
  left: 68%;
  top: 70%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(9) {
  left: 43%;
  top: 86%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(10) {
  left: 76%;
  top: 38%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(11) {
  left: 85%;
  top: 60%;
}

.tb3-route-map[data-map-style="molecule"] .tb3-route-tile:nth-of-type(12) {
  left: 88%;
  top: 82%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(1) {
  left: 50%;
  top: 48%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(2) {
  left: 24%;
  top: 18%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(3) {
  left: 50%;
  top: 14%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(4) {
  left: 76%;
  top: 18%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(5) {
  left: 86%;
  top: 49%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(6) {
  left: 70%;
  top: 70%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(7) {
  left: 50%;
  top: 82%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(8) {
  left: 31%;
  top: 70%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(9) {
  left: 13%;
  top: 51%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(10) {
  left: 30%;
  top: 34%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(11) {
  left: 69%;
  top: 34%;
}

.tb3-route-map[data-map-style="hub"] .tb3-route-tile:nth-of-type(12) {
  left: 90%;
  top: 86%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(1) {
  left: 10%;
  top: 50%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(2) {
  left: 28%;
  top: 20%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(3) {
  left: 28%;
  top: 42%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(4) {
  left: 67%;
  top: 34%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(5) {
  left: 67%;
  top: 55%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(6) {
  left: 48%;
  top: 20%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(7) {
  left: 67%;
  top: 76%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(8) {
  left: 28%;
  top: 64%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(9) {
  left: 84%;
  top: 56%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(10) {
  left: 49%;
  top: 42%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(11) {
  left: 49%;
  top: 64%;
}

.tb3-route-map[data-map-style="branch"] .tb3-route-tile:nth-of-type(12) {
  left: 92%;
  top: 82%;
}

.tb3-route-tile.is-current::after {
  content: "選択中";
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  background: #d76c31;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 18px rgba(215, 108, 49, 0.48);
}

.tb3-route-tile.is-muted {
  opacity: 0.32;
  filter: saturate(0.45);
}

.tb3-route-tile--intro,
.tb3-route-tile--summary {
  background:
    linear-gradient(135deg, rgba(80, 210, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #001b44, #073764 62%, #0c6f6e);
  border-color: rgba(80, 210, 255, 0.4);
  color: #ffffff;
}

.tb3-route-tile--summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tb3-route-tile--event {
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.8),
      transparent 32%
    ),
    #fff7ed;
  border-color: rgba(215, 108, 49, 0.32);
}

.tb3-route-tile--checkpoint {
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.76),
      transparent 32%
    ),
    #eefaf8;
  border-color: rgba(12, 143, 140, 0.28);
}

.tb3-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 8px;
  background: #001b44;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.tb3-route-tile--intro .tb3-step-number,
.tb3-route-tile--summary .tb3-step-number {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tb3-tile__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 0 8px;
  background: #eef7f7;
  border-radius: 999px;
  color: #0c6f6e;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.tb3-route-tile--intro .tb3-tile__tag,
.tb3-route-tile--summary .tb3-tile__tag {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.tb3-route-tile h3 {
  margin-bottom: 9px;
  color: var(--primary-color);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.5;
}

.tb3-route-tile p {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.75;
}

.tb3-route-tile--intro h3,
.tb3-route-tile--summary h3,
.tb3-route-tile--intro p,
.tb3-route-tile--summary p {
  color: #ffffff;
}

.tb3-tile__link {
  display: inline-flex;
  align-items: center;
  margin-top: 13px;
  color: #d76c31;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.tb3-tile__link::after {
  content: ">";
  margin-left: 8px;
  transition: transform var(--transition-speed);
}

.tb3-tile__link:hover::after {
  transform: translateX(4px);
}

.tb3-path-section {
  padding: 72px 0 86px;
  background: #001b44;
  color: #ffffff;
}

.tb3-path-section .tb3-section-head h2 {
  color: #ffffff;
}

.tb3-path-section .tb3-eyebrow {
  color: #ffb27a;
}

.tb3-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tb3-path-card {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.tb3-path-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  padding: 0 9px;
  background: rgba(80, 210, 255, 0.16);
  border-radius: 999px;
  color: #50d2ff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.tb3-path-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.5;
}

.tb3-path-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.85;
}

@keyframes tb3RouteDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -120;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb3-route-line__track {
    animation: none;
  }

  .tb3-route-tile,
  .tb3-filter-list button {
    transition: none;
  }
}

@media only screen and (max-width: 1024px) {
  .tb3-hero__inner {
    grid-template-columns: 1fr;
  }

  .tb3-scoreboard {
    max-width: 520px;
  }
}

@media only screen and (max-width: 768px) {
  .tb3-hero {
    min-height: auto;
    background-position: center right 38%;
  }

  .tb3-hero__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .tb3-hero h2 {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .tb3-scoreboard {
    grid-template-columns: 1fr;
  }

  .tb3-board-section,
  .tb3-path-section {
    padding: 48px 0 58px;
  }

  .tb3-section-head {
    display: block;
  }

  .tb3-section-head h2 {
    font-size: 1.55rem;
  }

  .tb3-section-head > p {
    margin-top: 10px;
    text-align: left;
  }

  .tb3-control-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tb3-filter-list {
    justify-content: flex-start;
  }

  .tb3-route-map {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
    padding: 18px;
  }

  .tb3-route-map[data-map-style="molecule"],
  .tb3-route-map[data-map-style="hub"],
  .tb3-route-map[data-map-style="branch"] {
    display: grid;
    min-height: auto;
    padding: 18px;
  }

  .tb3-route-line {
    display: none;
  }

  .tb3-route-tile {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto;
  }

  .tb3-route-map[data-map-style="molecule"] .tb3-route-tile,
  .tb3-route-map[data-map-style="hub"] .tb3-route-tile,
  .tb3-route-map[data-map-style="branch"] .tb3-route-tile {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    aspect-ratio: auto;
    min-height: auto;
    display: block;
    padding: 16px;
    border-radius: 8px;
    text-align: left;
    transform: none;
  }

  .tb3-route-map[data-map-style="molecule"] .tb3-route-tile h3 {
    margin-bottom: 9px;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .tb3-route-map[data-map-style="molecule"]
    .tb3-route-tile
    p:not(.tb3-tile__tag) {
    display: block;
  }

  .tb3-route-map[data-map-style="molecule"] .tb3-tile__link {
    display: inline-flex;
  }

  .tb3-route-map[data-map-style="molecule"] .tb3-route-tile:hover,
  .tb3-route-map[data-map-style="molecule"] .tb3-route-tile:focus-within,
  .tb3-route-map[data-map-style="molecule"] .tb3-route-tile.is-current,
  .tb3-route-map[data-map-style="hub"] .tb3-route-tile:hover,
  .tb3-route-map[data-map-style="hub"] .tb3-route-tile:focus-within,
  .tb3-route-map[data-map-style="hub"] .tb3-route-tile.is-current,
  .tb3-route-map[data-map-style="branch"] .tb3-route-tile:hover,
  .tb3-route-map[data-map-style="branch"] .tb3-route-tile:focus-within,
  .tb3-route-map[data-map-style="branch"] .tb3-route-tile.is-current {
    transform: none;
  }

  .tb3-path-grid {
    grid-template-columns: 1fr;
  }
}

.techblog-post {
  cursor: pointer;
}

.techblog-post:focus-within,
.techblog-post:hover {
  transform: translateY(-2px);
}

.related-articles[hidden] {
  display: none !important;
}

.article-date-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: -8px 0 30px;
}

.article-date-meta__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  background: #f4f8fb;
  border: 1px solid #dfe6ee;
  border-radius: 999px;
  color: #536071;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.article-date-meta__item span {
  margin-right: 8px;
  color: #7c8794;
}

.article-date-meta__item time {
  color: var(--primary-color);
}

.article-copy-tools-mount:empty {
  display: none;
}

.article-copy-tools-mount {
  margin: -20px 0 34px;
}

.article-copy-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin: 0;
}

.article-copy-tools__button {
  min-height: 36px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #d9e3ee;
  border-radius: 6px;
  color: var(--primary-color);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background-color var(--transition-speed),
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    color var(--transition-speed);
}

.article-copy-tools__button:hover,
.article-copy-tools__button:focus-visible {
  background: #f4f8fb;
  border-color: rgba(80, 210, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(80, 210, 255, 0.16);
  outline: none;
}

.article-copy-tools__button:disabled {
  cursor: default;
  opacity: 0.72;
}

.article-copy-tools__status {
  color: #536071;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.related-articles {
  padding: 0 24px 96px;
  background: #ffffff;
}

.related-articles__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.related-articles__eyebrow {
  margin-bottom: 10px;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.related-articles h2 {
  margin-bottom: 24px;
  color: var(--primary-color);
  font-size: 1.8rem;
  line-height: 1.4;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-article-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  transition:
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    transform var(--transition-speed);
}

.related-article-card:hover,
.related-article-card:focus-visible {
  border-color: rgba(80, 210, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(80, 210, 255, 0.18),
    0 18px 40px rgba(0, 27, 68, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.related-article-card:focus-visible {
  outline: none;
}

.related-article-card__thumb {
  aspect-ratio: 16 / 9;
  background-color: #eef4f4;
  background-position: center;
  background-size: cover;
}

.related-article-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.related-article-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.related-article-card p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.related-article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.related-article-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  background: #eef4f4;
  color: #0c6f6e;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.related-article-card__more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-color);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

@media only screen and (max-width: 1024px) {
  .related-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  .related-articles {
    padding: 0 20px 72px;
  }

  .related-articles h2 {
    font-size: 1.45rem;
  }

  .article-date-meta {
    margin: -4px 0 24px;
  }

  .article-copy-tools-mount {
    margin: -12px 0 28px;
  }

  .related-articles__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Article Page Layout Switcher --- */

.article-page.layout-docs .layout {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) 260px;
}

.article-page.layout-docs article > header {
  display: none;
}

.article-page.layout-docs .markdown-card {
  margin-top: 40px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.article-page.layout-docs .toc {
  display: block;
}

/* Hero Image Layout：Markdown本文側に効かせる */
.article-page.layout-hero {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 360px);
}

.article-page.layout-hero .layout {
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) 240px;
}

.article-page.layout-hero article > header {
  display: none;
}

.article-page.layout-hero .markdown-card {
  margin-top: 40px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.article-page.layout-hero .markdown-body h1:first-child {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.article-page.layout-hero .markdown-body img:first-of-type {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin: 0 0 48px;
  border-radius: 28px;
}

/* Minimal Reading Layout */
.article-page.layout-minimal .layout {
  max-width: 820px;
  display: block;
}

.article-page.layout-minimal article > header {
  display: none;
}

.article-page.layout-minimal .toc {
  display: none;
}

.article-page.layout-minimal .markdown-card {
  margin-top: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.article-page.layout-minimal .markdown-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-page.layout-minimal .markdown-body h1:first-child {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.article-page.layout-minimal .markdown-body p {
  font-size: 1.04rem;
  line-height: 2.05;
}

@media only screen and (max-width: 900px) {
  .article-page.layout-docs .layout,
  .article-page.layout-hero .layout {
    grid-template-columns: 1fr;
  }

  .article-page.layout-docs .toc,
  .article-page.layout-hero .toc {
    position: static;
    order: -1;
  }
}
