/* TEAM BEYOND 観戦会 AI・UC技術 | 固定ページ専用スタイル */
/* 2026-10-27 整理版: 重複指定を統合し、上部装飾のセレクタを修正 */
/* 対象範囲は #watch-ai-uc-page.tbuc のみ。 */

/* ===== 基本設定・レイアウト ===== */
#watch-ai-uc-page.tbuc {
  --tbuc-red: #e60012;
  --tbuc-blue: #0876bf;
  --tbuc-green: #39a02b;
  --tbuc-soft: #fdf7f8;
  color: #202128;
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 20px 70px;
  line-height: 1.8;
  font-size: 16px;
  box-sizing: border-box;
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
  overflow: hidden;
}
.tbuc * {
  box-sizing: border-box;
}
.tbuc *::before {
  box-sizing: border-box;
}
.tbuc *::after {
  box-sizing: border-box;
}
.tbuc a {
  color: inherit;
  text-underline-offset: 3px;
}
.tbuc a:focus-visible {
  outline: 3px solid #066bb2;
  outline-offset: 4px;
}
.tbuc-hero {
  text-align: center;
  position: relative;
}
.tbuc-hero::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: #d4f3cd;
  z-index: -1;
  top: 8%;
  left: 2%;
}
.tbuc-hero::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: -1;
  right: 2%;
  bottom: 15%;
  background: #cceffc;
}
.tbuc-hero__eyebrow {
  color: #d90015 !important;
  font-weight: 800;
  letter-spacing: .13em;
  font-size: 14px;
  margin: 0 0 12px !important;
}
.tbuc-hero h1 {
  font-size: clamp(24px,3.5vw,39px);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 8px !important;
  color: #171717;
}
.tbuc-hero__lead {
  font-weight: 700;
  font-size: clamp(14px,1.7vw,18px);
  margin: 0 auto 28px !important;
  max-width: 850px;
}
.tbuc-hero__image {
  display: block;
  width: min(100%,870px);
  height: auto;
  margin: 0 auto 30px;
  border: 1px solid #e2e2e2;
}
.tbuc-hero__desc {
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto !important;
}
.tbuc-section {
  margin-top: 85px;
}
.tbuc-section__title {
  font-size: clamp(24px,2.7vw,32px);
  text-align: center;
  font-weight: 850;
  line-height: 1.45;
  margin: 0 0 25px !important;
  color: #121212;
}
.tbuc-section__title::before {
  content: "";
  display: block;
  width: 220px;
  max-width: 65%;
  height: 10px;
  margin: 0 auto 9px;
  background: repeating-linear-gradient(90deg,#e40024 0 11px,#f6ce00 11px 22px,#1686c9 22px 33px,#3a9b3b 33px 44px);
  clip-path: polygon(0 0,100% 0,97% 100%,94% 0,91% 100%,88% 0,85% 100%,82% 0,79% 100%,76% 0,73% 100%,70% 0,67% 100%,64% 0,61% 100%,58% 0,55% 100%,52% 0,49% 100%,46% 0,43% 100%,40% 0,37% 100%,34% 0,31% 100%,28% 0,25% 100%,22% 0,19% 100%,16% 0,13% 100%,10% 0,7% 100%,4% 0);
}
.tbuc-section__title::after {
  content: "";
  display: block;
  width: 220px;
  max-width: 65%;
  height: 10px;
  background: repeating-linear-gradient(90deg,#e40024 0 11px,#f6ce00 11px 22px,#1686c9 22px 33px,#3a9b3b 33px 44px);
  clip-path: polygon(0 0,100% 0,97% 100%,94% 0,91% 100%,88% 0,85% 100%,82% 0,79% 100%,76% 0,73% 100%,70% 0,67% 100%,64% 0,61% 100%,58% 0,55% 100%,52% 0,49% 100%,46% 0,43% 100%,40% 0,37% 100%,34% 0,31% 100%,28% 0,25% 100%,22% 0,19% 100%,16% 0,13% 100%,10% 0,7% 100%,4% 0);
  margin: 9px auto 0;
  transform: rotate(180deg);
}
.tbuc-section__title span {
  color: #df0018;
}
.tbuc-section__hint span {
  color: #df0018;
}
.tbuc-section__catch {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px !important;
}
.tbuc-section__hint {
  text-align: center;
  margin: 0 0 30px !important;
}
.tbuc-table-scroll {
  overflow-x: auto;
}
.tbuc-schedule {
  border-collapse: collapse;
  width: 100%;
  min-width: 710px;
  font-size: 15px;
  line-height: 1.6;
}
.tbuc-schedule th {
  border: 0;
  vertical-align: middle;
  text-align: left;
  padding: 20px 16px;
}
.tbuc-schedule td {
  border: 0;
  vertical-align: middle;
  text-align: left;
  padding: 20px 16px;
}
.tbuc-schedule thead th {
  color: #fff !important;
  font-weight: 800;
  font-size: 17px;
  padding: 15px;
}
.tbuc-schedule thead th:nth-child(1) {
  background: var(--tbuc-blue);
  width: 18%;
}
.tbuc-schedule thead th:nth-child(2) {
  background: var(--tbuc-green);
  width: 48%;
}
.tbuc-schedule thead th:nth-child(3) {
  background: var(--tbuc-red);
  width: 34%;
}
.tbuc-schedule tbody tr:nth-child(even) {
  background: #fbf5f6;
}
.tbuc-schedule tbody tr {
  border-bottom: 1px solid #eedfe1;
}
.tbuc-schedule tbody th {
  white-space: nowrap;
}
.tbuc-date-year {
  display: block;
  font-weight: 800;
}
.tbuc-date-day {
  display: block;
  font-weight: 800;
  font-size: 18px;
  margin-top: 6px;
}
.tbuc-event {
  display: block;
  font-weight: 850;
  font-size: 17px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: #f4b8c1;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  margin-bottom: 11px;
}
.tbuc-event-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1px 12px;
  margin: 0;
  font-size: 14px;
}
.tbuc-event-meta dt {
  font-weight: 750;
}
.tbuc-event-meta dd {
  margin: 0;
}
.tbuc-tech-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tbuc-tech-links li {
  margin: 4px 0 !important;
  padding: 0 !important;
}
.tbuc-tech-links li::before {
  content: "◆";
  color: #c5000b;
  margin-right: 4px;
}
.tbuc-tech-links a {
  color: #bd0016 !important;
  text-decoration: none;
  font-weight: 750;
}
.tbuc-tech-links a:hover {
  text-decoration: underline;
}
.tbuc-note {
  font-size: 13px;
  line-height: 1.65;
  margin: 14px 0 0 !important;
  color: #444;
}
.tbuc-technology {
  margin-top: 95px;
}
.tbuc-tech {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(64,39,43,.17);
  overflow: hidden;
  margin: 40px 0 65px;
  scroll-margin-top: 110px;
}
.tbuc-tech__title {
  background: #fffafb;
  border-bottom: 1px solid #f2e8ea;
  font-size: clamp(19px,2.5vw,27px);
  font-weight: 850;
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 !important;
  padding: 21px 27px;
  color: #1a1a1a;
}
.tbuc-tech__title small {
  font-size: .7em;
}
.tbuc-tech__num {
  display: inline-grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  width: 36px;
  height: 36px;
  background: #e60012;
  color: #fff;
  font-size: 18px;
}
.tbuc-tech__body {
  display: grid;
  grid-template-columns: minmax(0,36%) minmax(0,1fr);
  align-items: center;
  gap: 26px;
  padding: 24px 28px 8px;
}
.tbuc-tech__body>img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.tbuc-tech__copy {
  background: var(--tbuc-soft);
  border-radius: 25px;
  padding: 20px 24px;
}
/* 説明文と対象大会の間隔を詰める */
.tbuc-tech__copy > p:first-child {
  margin: 0 0 5px !important;
}
.tbuc-target {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 !important;
}
.tbuc-target strong {
  display: inline-block;
  color: white;
  background: #c90014;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12px;
  margin-right: 11px;
}
.tbuc-tech__link {
  margin: 6px 28px 25px !important;
}
.tbuc-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #125a9a !important;
  font-weight: 700;
  font-size: 14px;
}
.tbuc-detail::before {
  content: "詳細情報";
  font-size: 12px;
  white-space: nowrap;
  background: #2868a0;
  color: white;
  border-radius: 4px;
  padding: 3px 7px;
}
.tbuc-external {
  font-size: 12px;
}
.tbuc-tech>.tbuc-note {
  margin: 0 28px 24px !important;
}
.tbuc-tech__extra {
  margin: 20px 28px 27px;
  padding: 20px 23px;
  background: #fff5e4;
  border: 1px solid #eebd47;
  border-radius: 24px;
  display: flow-root;
}
.tbuc-tech__extra h4 {
  font-size: 17px;
  color: #bc7a00;
  margin: 0 0 9px !important;
}
.tbuc-tech__extra ul {
  padding-left: 20px;
  margin: 0 0 15px !important;
  font-size: 15px;
}
.tbuc-tech__extra li {
  margin: 7px 0;
}
.tbuc-tech__extra p {
  margin: 10px 0 0 !important;
}
.tbuc-tech__subimage {
  float: right;
  width: 28%;
  min-width: 170px;
  margin: 0 0 12px 18px;
}
.tbuc-back {
  text-align: center;
  margin: 25px 0 0 !important;
}
.tbuc-back a {
  color: #1765a0 !important;
  font-weight: 700;
}
#watch-ai-uc-page.tbuc :is(h1,h2,h3,h4,h5,h6,p,span,a,li,dt,dd,th,td,small,strong) {
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
}
#watch-ai-uc-page.tbuc .tbuc-hero {
  position: relative;
  isolation: isolate;
  padding: 24px 6% 12px;
}
#watch-ai-uc-page.tbuc .tbuc-schedule-section {
  position: relative;
  isolation: isolate;
}
#watch-ai-uc-page.tbuc .tbuc-technology {
  position: relative;
  isolation: isolate;
}
#watch-ai-uc-page.tbuc .tbuc-hero::before {
  display: none;
}
#watch-ai-uc-page.tbuc .tbuc-hero::after {
  display: none;
}
#watch-ai-uc-page.tbuc .tbuc-squares {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}
#watch-ai-uc-page.tbuc .tbuc-squares span {
  display: block;
  position: absolute;
  width: 34px;
  height: 34px;
  opacity: .95;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(1) {
  top: 2%;
  left: 1%;
  background: #f4c3f7;
  width: 24px;
  height: 24px;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(2) {
  top: 18%;
  right: 2%;
  background: #bdebf8;
  width: 42px;
  height: 42px;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(3) {
  top: 58%;
  left: 0%;
  background: #d1edc9;
  width: 43px;
  height: 43px;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(4) {
  bottom: 5%;
  right: 1%;
  background: #ffd5af;
  width: 27px;
  height: 27px;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(5) {
  bottom: 18%;
  left: 4%;
  background: #caeefb;
  width: 22px;
  height: 22px;
}
#watch-ai-uc-page.tbuc .tbuc-squares span:nth-child(6) {
  top: 41%;
  right: 6%;
  background: #d4f0cb;
  width: 18px;
  height: 18px;
}
#watch-ai-uc-page.tbuc .tbuc-hero__image {
  position: relative;
  z-index: 1;
  width: min(100%,790px);
}
#watch-ai-uc-page.tbuc .tbuc-section__title {
  text-align: center;
}
#watch-ai-uc-page.tbuc .tbuc-technology>.tbuc-section__title {
  font-size: clamp(21px,2.25vw,27px);
}
#watch-ai-uc-page.tbuc .tbuc-schedule thead th {
  text-align: center !important;
}
#watch-ai-uc-page.tbuc .tbuc-schedule-section>.tbuc-squares span:nth-child(1) {
  top: 0;
  left: 4%;
}
#watch-ai-uc-page.tbuc .tbuc-schedule-section>.tbuc-squares span:nth-child(2) {
  top: 12%;
  right: 4%;
}
#watch-ai-uc-page.tbuc .tbuc-technology>.tbuc-squares {
  height: 170px;
}
#watch-ai-uc-page.tbuc .tbuc-tech-wrap {
  position: relative;
  isolation: isolate;
  margin: 40px 28px 60px;
}
#watch-ai-uc-page.tbuc .tbuc-tech-wrap .tbuc-squares {
  inset: -30px -42px;
}
#watch-ai-uc-page.tbuc .tbuc-tech {
  position: relative;
  margin: 0;
  z-index: 1;
}
#watch-ai-uc-page.tbuc .tbuc-tech__body {
  gap: 22px;
  padding: 22px 24px 8px;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: start;
}
#watch-ai-uc-page.tbuc .tbuc-tech__body>img {
  height: 100%;
  min-height: 190px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 2px;
}
#watch-ai-uc-page.tbuc .tbuc-tech__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  line-height: 1.7;
  padding: 18px 20px;
}
#watch-ai-uc-page.tbuc .tbuc-target {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 8px !important;
}
#watch-ai-uc-page.tbuc .tbuc-target strong {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1.5;
}
#watch-ai-uc-page.tbuc .tbuc-target__text {
  flex: 1;
  min-width: 0;
}
#watch-ai-uc-page.tbuc .tbuc-tech__extra h4 {
  font-weight: 700 !important;
}
#watch-ai-uc-page.tbuc .tbuc-tech__extra h4 strong {
  font-weight: 700 !important;
}
#watch-ai-uc-page.tbuc .tbuc-tech>.tbuc-note {
  color: #111 !important;
}
#watch-ai-uc-page.tbuc .tbuc-detail {
  word-break: break-word;
  overflow-wrap: anywhere;
}
#watch-ai-uc-page.tbuc .tbuc-technology .tbuc-squares span:nth-child(1) {
  top: 8%;
  left: 3%;
}
#watch-ai-uc-page.tbuc .tbuc-tech-wrap:nth-of-type(2n)>.tbuc-squares span:nth-child(1) {
  left: 0;
  top: 0;
  background: #d2efca;
}
#watch-ai-uc-page.tbuc .tbuc-tech-wrap:nth-of-type(2n)>.tbuc-squares span:nth-child(4) {
  right: 0;
  bottom: 0;
  background: #cceafa;
}
#watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images {
  min-width: 0;
  align-self: start;
  min-height: 0;
  max-height: 220px;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: transparent;
}
#watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images img {
  display: block;
  width: 100%;
  height: 220px;
  min-height: 0;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
#watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images img:first-child {
  display: block;
  width: 100%;
  height: 220px;
  min-height: 0;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
#watch-ai-uc-page.tbuc .tbuc-tech__body > img {
  align-self: start;
  aspect-ratio: auto;
  display: block;
  width: 100%;
  height: 220px;
  min-height: 0;
  max-height: 220px;
  object-fit: fill;
  background: transparent;
  padding: 0;
  margin: 0;
}
#watch-ai-uc-page.tbuc .tbuc-tech__extra ul {
  list-style: none;
  padding-left: 0;
}
#watch-ai-uc-page.tbuc .tbuc-tech__extra ul li {
  position: relative;
  padding-left: 1.3em;
}
#watch-ai-uc-page.tbuc .tbuc-tech__extra ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  font-size: 1em;
}

/* ===== PC（768px以上） ===== */
@media (min-width: 768px) {
  #watch-ai-uc-page.tbuc .tbuc-tech__copy p {
    font-size: 135%;
    line-height: 1.7;
  }
  #watch-ai-uc-page.tbuc .tbuc-target strong {
    font-size: 13.2px;
  }
  #watch-ai-uc-page.tbuc .tbuc-target__text {
    font-size: 15.4px;
  }
  #watch-ai-uc-page.tbuc .tbuc-note {
    font-size: 15.4px;
  }
  #watch-ai-uc-page.tbuc .tbuc-detail::before {
    font-size: 13.2px;
  }
  #watch-ai-uc-page.tbuc a.tbuc-detail {
    font-size: 15.4px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__extra h4 {
    font-size: 120%;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__extra ul li {
    font-size: 115%;
    line-height: 1.8;
  }
}

/* ===== 広い画面の装飾（1024px以上） ===== */
@media (min-width: 1024px) {
  #watch-ai-uc-page.tbuc {
    overflow: visible;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech-wrap {
    position: relative;
    isolation: isolate;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap > .tbuc-squares {
    position: absolute;
    width: 100vw;
    height: calc(100% + 100px);
    top: -50px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    overflow: visible;
    pointer-events: none;
    z-index: -1;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(1) {
    top: 5%;
    left: 5%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(2) {
    top: 12%;
    left: auto;
    right: 6%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(3) {
    top: 48%;
    left: 9%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(4) {
    top: auto;
    bottom: 4%;
    left: auto;
    right: 4%;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(5) {
    top: auto;
    bottom: 12%;
    left: 3%;
    right: auto;
  }
  #watch-ai-uc-page.tbuc
  .tbuc-tech-wrap .tbuc-squares span:nth-child(6) {
    top: 55%;
    left: auto;
    right: 10%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero {
    position: relative;
    overflow: visible;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule {
    position: relative;
    overflow: visible;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero > .tbuc-squares {
    position: absolute;
    width: 100vw;
    height: 100%;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
    z-index: -1;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero > .tbuc-squares span:nth-child(1) {
    top: 8%;
    left: 5%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero > .tbuc-squares span:nth-child(2) {
    top: 20%;
    left: auto;
    right: 6%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero > .tbuc-squares span:nth-child(3) {
    top: 70%;
    left: 8%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero > .tbuc-squares span:nth-child(4) {
    top: 82%;
    left: auto;
    right: 4%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section > .tbuc-squares {
    position: absolute;
    width: 100vw;
    height: 100%;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
    z-index: -1;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section > .tbuc-squares span:nth-child(1) {
    top: 8%;
    left: 5%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section > .tbuc-squares span:nth-child(2) {
    top: 20%;
    left: auto;
    right: 6%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section > .tbuc-squares span:nth-child(3) {
    top: 70%;
    left: 8%;
    right: auto;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section > .tbuc-squares span:nth-child(4) {
    top: 82%;
    left: auto;
    right: 4%;
    bottom: auto;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule-section {
    position: relative;
    overflow: visible;
  }
}

/* ===== スマートフォン（767px以下） ===== */
@media (max-width: 767px) {
  #watch-ai-uc-page.tbuc {
    padding: 24px 15px 48px;
    font-size: 13px;
  }
  .tbuc-hero__image {
    margin-bottom: 20px;
  }
  .tbuc-hero__desc {
    font-size: 15px;
  }
  .tbuc-hero__desc br {
    display: none;
  }
  .tbuc-section {
    margin-top: 65px;
  }
  .tbuc-section__catch {
    font-size: 18px;
  }
  .tbuc-schedule {
    min-width: 620px;
    font-size: 13px;
  }
  .tbuc-schedule th {
    padding: 15px 12px;
  }
  .tbuc-schedule td {
    padding: 15px 12px;
  }
  .tbuc-schedule thead th {
    font-size: 14px;
  }
  .tbuc-date-day {
    font-size: 15px;
  }
  .tbuc-event {
    font-size: 15px;
  }
  .tbuc-event-meta {
    font-size: 12px;
  }
  .tbuc-tech {
    margin: 27px 0 45px;
    border-radius: 12px;
  }
  .tbuc-tech__title {
    padding: 15px;
    font-size: 19px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .tbuc-tech__num {
    height: 31px;
    width: 31px;
    flex-basis: 31px;
    border-radius: 8px;
    font-size: 15px;
  }
  .tbuc-tech__body {
    display: block;
    padding: 18px 18px 0;
  }
  .tbuc-tech__body>img {
    max-width: 420px;
    display: block;
    margin: 0 auto 14px;
  }
  .tbuc-tech__copy {
    padding: 17px;
    border-radius: 18px;
  }
  .tbuc-tech__link {
    margin: 16px 18px 20px !important;
  }
  .tbuc-tech__extra {
    margin: 16px 18px 19px;
    padding: 15px;
  }
  .tbuc-tech__subimage {
    float: none;
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 10px 0;
  }
  .tbuc-tech>.tbuc-note {
    margin: 0 18px 20px !important;
  }
  .tbuc-target strong {
    margin-bottom: 6px;
  }
  .tbuc-note {
    font-size: 12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero {
    padding: 15px 5px 5px;
  }
  #watch-ai-uc-page.tbuc .tbuc-hero__image {
    width: 100%;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech-wrap {
    margin: 30px 8px 46px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech-wrap .tbuc-squares {
    inset: -18px -12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__body {
    display: block;
    padding: 16px 16px 6px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__body>img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16/10;
    object-fit: cover;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__copy {
    padding: 16px;
    font-size: 13px;
    line-height: 1.7;
  }
  #watch-ai-uc-page.tbuc .tbuc-target {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-squares span {
    transform: scale(.7);
  }
  #watch-ai-uc-page.tbuc .tbuc-section__title {
    max-width: 95%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images {
    gap: 7px;
    width: 100%;
    margin: 0 0 14px;
    margin-bottom: 14px;
    height: 200px;
    min-height: 0;
    max-height: 200px;
  }
  #watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images img {
    height: 200px;
    min-height: 0;
    max-height: 200px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__body > img {
    width: 100%;
    margin: 0 0 14px;
    height: 200px;
    min-height: 0;
    max-height: 200px;
    margin-bottom: 14px;
  }
  #watch-ai-uc-page.tbuc #tbuc-ontenna .tbuc-ontenna-images img:first-child {
    height: 200px;
    min-height: 0;
    max-height: 200px;
  }
  #watch-ai-uc-page.tbuc .tbuc-schedule {
    font-size: 12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-event {
    font-size: 13px;
    line-height: 1.8;
    padding-bottom: 5px;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
  }
  #watch-ai-uc-page.tbuc .tbuc-date-day {
    font-size: 13px;
  }
  #watch-ai-uc-page.tbuc .tbuc-event-meta {
    font-size: 11px;
    line-height: 1.7;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech-links {
    font-size: 12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__title {
    font-size: 17px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__extra {
    font-size: 13px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__extra ul {
    font-size: 12px;
  }
  #watch-ai-uc-page.tbuc .tbuc-tech__link {
    margin-top: 15px;
  }
  #watch-ai-uc-page.tbuc .tbuc-detail {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
  }
}

/* ===== 動きの軽減設定 ===== */
@media (prefers-reduced-motion: no-preference) {
  .tbuc {
    scroll-behavior: smooth;
  }
}


/* ========================================
   SP版：AI・UC技術紹介 全6種類
   文字サイズを1.2倍に
======================================== */
@media screen and (max-width: 767px) {

  /* 技術名の見出し */
  #watch-ai-uc-page.tbuc .tbuc-tech__title {
    font-size: 19px;
  }

  /* メイン説明文 */
  #watch-ai-uc-page.tbuc .tbuc-tech__copy > p {
    font-size: 16.3px;
    line-height: 1.7;
  }

  /* 対象大会ラベル */
  #watch-ai-uc-page.tbuc .tbuc-target strong {
    font-size: 14.4px;
  }

  /* 大会名・開催日 */
  #watch-ai-uc-page.tbuc .tbuc-target__text {
    font-size: 14.4px;
    line-height: 1.7;
  }

  /* 注意書き */
  #watch-ai-uc-page.tbuc .tbuc-tech > .tbuc-note {
    font-size: 14.4px;
  }

  /* Voice Watchの特徴：見出し */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra h4 {
    font-size: 20.4px;
  }

  /* Voice Watchの特徴：箇条書き */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra ul li {
    font-size: 14.4px;
    line-height: 1.8;
  }

  /* 詳細情報のURL */
  #watch-ai-uc-page.tbuc a.tbuc-detail {
    font-size: 14.4px;
  }

  /* 詳細情報ラベル */
  #watch-ai-uc-page.tbuc .tbuc-detail::before {
    font-size: 14.4px;
  }
}

/* SP版：装飾の四角形が表の文字に重ならないよう修正 */
@media screen and (max-width: 767px) {

  /* スケジュールを装飾より前面に */
  #watch-ai-uc-page.tbuc .tbuc-schedule-section {
    position: relative;
    isolation: isolate;
  }

  /* 四角形は背面に配置 */
  #watch-ai-uc-page.tbuc
  .tbuc-schedule-section > .tbuc-squares {
    z-index: -1;
    pointer-events: none;
  }

  /* スケジュール表の背景を不透明に */
  #watch-ai-uc-page.tbuc .tbuc-schedule {
    position: relative;
    z-index: 1;
    background: #fff;
  }
}

/* SP版：Ontennaの画像間の白い隙間を削除 */
@media screen and (max-width: 767px) {

  #watch-ai-uc-page.tbuc
  #tbuc-ontenna .tbuc-ontenna-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  #watch-ai-uc-page.tbuc
  #tbuc-ontenna .tbuc-ontenna-images img {
    display: block;
    width: 100%;
    height: 200px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    border: none;
  }
}

/* メインタイトル */
#watch-ai-uc-page.tbuc .tbuc-hero h1 {
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 900 !important;
  line-height: 1.5;
}

/* PC版 */
@media screen and (min-width: 768px) {
  #watch-ai-uc-page.tbuc .tbuc-hero h1 {
    font-size: 28px !important;
  }
}

/* SP版 */
@media screen and (max-width: 767px) {
  #watch-ai-uc-page.tbuc .tbuc-hero h1 {
    font-size: 22px !important;
  }
}


/* SP版：RETISSAの見出しの折り返しを調整 */
@media screen and (max-width: 767px) {
  #watch-ai-uc-page.tbuc #tbuc-retissa .tbuc-tech__title {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    column-gap: 11px;
    align-items: center;
  }

  #watch-ai-uc-page.tbuc #tbuc-retissa .tbuc-tech__title small {
    grid-column: 2;
    font-size: 13px;
    line-height: 1.5;
    margin-top: -4px;
  }
}


/* 見出し部分 */
#watch-ai-uc-page.tbuc .tbuc-tech__title {
  background-color: #FFF7F7 !important;
  border-bottom: 1px solid #f2e8ea;
}

/* PC・SP共通 */
#watch-ai-uc-page.tbuc .tbuc-tech__title,
#watch-ai-uc-page.tbuc .tbuc-tech__body {
  box-sizing: border-box;
}

/* 技術紹介カード：上の角だけ四角くする */
#watch-ai-uc-page.tbuc .tbuc-tech {
  border-radius: 0 0 16px 16px !important;
}

/* 見出し部分の上角も四角くする */
#watch-ai-uc-page.tbuc .tbuc-tech__title {
  border-radius: 0 !important;
}


/* 外部通信なし：メインタイトル */
#watch-ai-uc-page.tbuc .tbuc-hero h1 {
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", Meiryo, sans-serif !important;
  font-weight: 900 !important;
}

/* AI・UC技術紹介の画像に影を追加 */
#watch-ai-uc-page.tbuc .tbuc-tech__body > img,
#watch-ai-uc-page.tbuc .tbuc-ontenna-images {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* PC版：Voice Watchの特徴画像 */
@media screen and (min-width: 768px) {
  #watch-ai-uc-page.tbuc .tbuc-tech__extra .tbuc-tech__subimage {
    width: 36%;
    min-width: 220px;
    max-width: none;
    height: auto;
    margin: 0 0 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
  }
}

/* SP版：画像の影だけ追加 */
@media screen and (max-width: 767px) {
  #watch-ai-uc-page.tbuc .tbuc-tech__extra .tbuc-tech__subimage {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  }
}

/* PC版：AI・UC技術紹介の文章の間隔を調整 */
@media screen and (min-width: 768px) {

  /* 技術紹介カードの説明文 */
  #watch-ai-uc-page.tbuc .tbuc-tech__copy {
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  #watch-ai-uc-page.tbuc .tbuc-tech__copy p {
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  /* Voice Watchの特徴・箇条書き */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra ul li {
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin: 4px 0;
  }

  /* 対象大会・注意書き */
  #watch-ai-uc-page.tbuc .tbuc-target,
  #watch-ai-uc-page.tbuc .tbuc-note {
    line-height: 1.5;
    letter-spacing: -0.02em;
  }
}


/* PC版：AI・UC技術紹介の枠内の上下余白を詰める */
@media screen and (min-width: 768px) {

  /* 薄ピンクの説明枠：上下の余白 */
  #watch-ai-uc-page.tbuc .tbuc-tech__copy {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Voice Watchの特徴枠：上下の余白 */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
/* PC版：技術紹介の上下間隔を調整 */
@media screen and (min-width: 768px) {

  /* 詳細情報と注意書きの間隔 */
  #watch-ai-uc-page.tbuc .tbuc-tech__link {
    margin-bottom: 8px !important;
  }

  /* Voice Watchの特徴：見出しと箇条書きの間隔 */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra h4 {
    margin-bottom: 3px !important;
  }

  /* 箇条書きの先頭の余白 */
  #watch-ai-uc-page.tbuc .tbuc-tech__extra ul {
    margin-top: 0 !important;
  }
}

/* PC版：技術紹介カードの下部余白を広げる */
@media screen and (min-width: 768px) {
  #watch-ai-uc-page.tbuc .tbuc-tech__link {
    margin-bottom: 30px !important;
  }
}
/* AI・UC技術紹介：説明枠の背景色変更 */
#watch-ai-uc-page.tbuc .tbuc-tech__copy {
  background-color: #FBE8EC;
}