.empty-space {
  height: 10px;
}

.empty-space-desc {
  height: 30px;
}

.tvs-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 40px;
  transition: height 0.3s ease;
}

.tvs-hero-img {
  width: 100vw;
  height: 240px;
  object-fit: cover;
  object-position: 20% 0;
  box-shadow: 0 4px 24px #0002;
  margin-bottom: 6px;
}

.coreexpress-hero-img {
  object-position: 20% 40%;
}

.tvs-hero-title {
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-top: 35px;
  margin-bottom: 52px;
  letter-spacing: 0.04em;
}

.tvs-hero-desc {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 2.1;
  letter-spacing: 0.01em;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .tvs-hero-img {
    height: 200px;
    min-width: 0;
  }

  .tvs-hero-title {
    font-size: 2rem;
  }

  .tvs-hero-desc {
    font-size: 1.3rem;
  }
}

.tvs-summary {
  width: 100%;
  margin: 0 auto 50px auto;
  display: flex;
  justify-content: center;
}

.tvs-summary-text {
  color: var(--text-color);
  font-size: 1rem;
  text-align: center;
  line-height: 2.2;
  letter-spacing: 0.01em;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

.tvs-tabs-container {
  background: #F2F8FF;
}

.tvs-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0 32px 0;
  padding-top: 50px;
}

.tvs-tabs-inner {
  background: #EAF3FF;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 1500px;
  min-width: 320px;
  min-height: 170px;
  padding: 32px 32px 0 32px;
  box-sizing: border-box;
  gap: 0 32px;
}

.tvs-tab {
  background: none;
  border: none;
  outline: none;
  font-size: 1.08rem;
  font-weight: bold;
  color: var(--primary-color);
  border-radius: 28px;
  padding: 0.7em 2.5em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 32px;
  margin-right: 0;
  width: 260px;
  text-align: center;
  background-color: #fff;
}

.tvs-tab.active {
  background: var(--primary-color);
  color: #fff;
}

.tab-linefeed {
  margin-right: 9px;
}

@media (max-width: 1343px) {
  .tab-linefeed {
    margin-right: 0;
  }
}

.tvs-tab-content {
  width: 100%;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tvs-tab-content-inner {
  background: #F2F8FF;
  padding: 0 15px;
  width: 100%;
}

.tvs-tab-title {
  color: var(--primary-color);
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.04em;
}

.tvs-tab-desc {
  color: var(--text-color);
  font-size: 1.18rem;
  text-align: center;
  line-height: 2.2;
  letter-spacing: 0.01em;
  max-width: 1450px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.tvs-network-desc {
  margin-top: 40px;
}

@media (max-width: 950px) {
  .tvs-tab-title {
    font-size: 2rem;
  }

  .tvs-tab-desc {
    font-size: 1.05rem;
  }
}

.spec-align {
  text-align: left !important;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  line-height: 3.5;
}

.spec-label {
  min-width: 260px;
  display: inline-block;
  font-weight: bold;
}

.tabletop-title {
  margin-top: 50px;
}

.tvs-icons {
  width: 100%;
  background: #fff;
  padding: 32px 10px 24px 10px;
  display: flex;
  justify-content: center;
}

.tvs-icons-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 120px;
  width: 100%;
  max-width: 1200px;
}

.tvs-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.tvs-icon-img {
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
}

.size440-br {
  display: none;
}

.size1250-br {
  display: none;
}

.pctab-br {
  display: none;
}

.size469-br {
  display: none;
}

.size945-br {
  display: none;
}

.option-title {
  margin-top: 30px;
}

@media (max-width: 1250px) {
  .size1250-br {
    display: block;
  }
}

@media (max-width: 945px) {
  .size945-br {
    display: block;
  }
}

@media (max-width: 790px) {
  .tvs-standard-img-wrap {
    margin: 0 30px;
  }
}

@media (max-width: 500px) {
  .cardkey-icon-item {
    gap: 30px;
  }

  .cardkey-icon-img {
    width: 70px;
    height: 70px;
  }

  .cardkey-icon-label {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 469px) {
  .size469-br {
    display: block;
  }
}

@media (max-width: 450px) {
  .wifi-icon-item {
    gap: 30px;
    width: 90px;
  }
  
  .wifi-icon-img {
    width:70px;
    height: 70px;
  }

  .wifi-icon-label {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 440px) {
  .tvs-icon-item {
    gap: 30px;
    width: 90px;
  }

  .tvs-icon-img {
    width: 70px;
    height: 70px;
  }

  .tvs-icon-label {
    font-size: 0.9rem !important;
  }

  .size440-br {
    display: block;
  }
}

@media (min-width: 441px) {
  .pctab-br {
    display: block;
  }
}

@media (max-width: 380px) {
  .coreexpress-title {
    font-size: 1.6rem;
  }
}

.tvs-icon-label {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .tvs-icons-inner {
    gap: 40px;
  }
}

.tvs-composition {
  width: 100%;
  background: #fff;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tvs-composition-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 45px;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .tvs-composition-title {
    font-size: 1.3rem;
  }
}

.tvs-composition-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tvs-composition-img {
  width: 90vw;
  max-width: 1100px;
  min-width: 320px;
  height: auto;
  display: block;
}

.coreturn-img {
  width: 100% !important;
  max-width: 1920px !important;
}

@media (max-width: 900px) {
  .tvs-composition-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .tvs-composition-img {
    max-width: 98vw;
    min-width: 0;
  }
}

.tvs-feature-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 62px;
  gap: 0;
  position: relative;
}

.tvs-feature-img {
  width: 40%;
  max-width: 90vw;
  height: auto;
}

.tvs-feature-img:first-child {
  margin-right: -6vw;
  z-index: 1;
}

.tvs-feature-img:last-child {
  margin-left: -6vw;
  z-index: 1;
}

.tvs-feature-desc {
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  line-height: 2.2;
  letter-spacing: 0.01em;
  margin: 48px auto 68px auto;
  max-width: 750px;
}

@media (max-width: 900px) {
  .tvs-feature-images {
    gap: 16px;
  }

  .tvs-feature-img {
    width: 120px;
  }

  .tvs-feature-desc {
    font-size: 0.98rem;
    margin-top: 24px;
  }
}

.tvs-feature-desk-img-wrap {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 60px;
}

.tvs-feature-desk-img {
  width: 60%;
}

.tvs-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 60px;
}

.tvs-img {
  width: 600px;
  max-width: 90vw;
  height: auto;
  display: block;
}

.coreexpress-img {
  width: 100% !important;
}

@media (max-width: 900px) {
  .tvs-tablet-img {
    width: 95vw;
    max-width: 98vw;
  }

  .tvs-tablet-img-wrap {
    padding-top: 32px;
    padding-bottom: 24px;
  }
}

.tvs-tablet-icon-wrap {
  background: #fff;
  width: 1920px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tvs-tablet-icon {
  width: 1000px;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
}

@media (max-width: 900px) {
  .tvs-tablet-icon {
    width: 98vw;
    height: 140px;
  }

  .tvs-tablet-icon-wrap {
    padding: 24px 0 24px 0;
  }
}

/* Swiper スライダー用スタイル */
.swiper-container,
.swiper-wrapper {
  overflow: visible !important;
}

.swiper-container {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  margin-top: 40px;
  overflow: hidden;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
  background: #fff;
  opacity: 0.8;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.swiper-container .swiper-button-next::after,
.swiper-container .swiper-button-prev::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 1.2rem;
  color: #000;
}

.swiper-container .swiper-button-next::after {
  content: '\f054';
}

.swiper-container .swiper-button-prev::after {
  content: '\f053';
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 70%;
  margin: 0 auto;
  display: block;
}

@media (min-width: 1100px) {
  .slide-coreturn img {
    width: 60%;
  }
}

.swiper-slide-active {
  opacity: 1;
  z-index: 2;
}

.swiper-slide-active img {
  transform: scale(1.3);
  opacity: 1;
  z-index: 2;
  filter: brightness(1.05);
}

.slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.slide-inner img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.caption {
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100vw;
  max-width: 100vw;
  text-align: center;
  margin: 40px auto 50px auto;
  color: var(--text-color);
  user-select: none;
  -webkit-user-select: none;
  padding: 0 20px;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  .caption {
    text-align: left;
  }
}

.caption-title {
  text-align: center;
  margin-bottom: 10px;
}

.swiper-slide-active .caption {
  opacity: 1;
}

.caption-tablet {
  margin-top: 110px;
}

.caption-display {
  margin-top: 50px;
}

.tvs-composition-element {
  margin-top: 40px;
  background: #F2F8FF;
  width: 100%;
}

.tvs-facility-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 40px 20px;
  justify-items: center;
}

.tvs-facility-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.10rem;
  color: var(--text-color);
  text-align: left;
  min-width: 200px;
}

.tvs-plan-img {
  width: 500px;
}

@media (max-width: 1000px) {
  .tvs-facility-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    max-width: 98vw;
  }

  .tvs-facility-col {
    min-width: 120px;
    font-size: 0.98rem;
  }

  .tvs-facility-col-1 {
    margin-left: 20px;
  }

  .tvs-facility-col-4 {
    margin-left: 15px;
  }
}

@media (max-width: 1100px) {
  .tvs-tabs-inner {
    width: 95vw;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .tvs-tab {
    font-size: 0.9rem;
    padding: 0.5em 1.2em;
    width: calc(50% - 4px);
    text-align: center;
    margin: 0;
    height: 50px;
  }

  .corecast-tab,
  .coretouch-tab,
  .bathroom-tab,
  .wifi-tab,
  .cardkey-tab {
    width: 100% !important;
  }

  .coretouch-tab:last-child,
  .bathroom-tab:last-child {
    margin-bottom: 0px !important;
  }

  .tvs-tab-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .tvs-tab-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 0 40px;
    margin-bottom: 30px;
    text-align: left;
  }

  .tvs-tab-desc br {
    display: none;
  }

  .tvs-plan-img {
    width: 300px;
  }
}

@media (max-width: 1333px) {
  .coretouch-tab,
  .bathroom-tab {
    width: 80% !important;
    margin-bottom: 16px;
  }

  .coretouch-tab:last-child,
  .bathroom-tab:last-child {
    margin-bottom: 34px;
  }
}

@media (max-width: 800px) {

  .tvs-hero-desc br,
  .tvs-summary-text br,
  .caption br {
    display: none;
  }

  .tvs-hero-desc .sp-br,
  .tvs-summary-text .sp-br,
  .caption .sp-br {
    display: block;
    margin: 0.3em 0;
  }

  .tvs-tab-content {
    padding-top: 20px;
  }

  .tvs-tab-content-inner {
    padding: 0 15px;
  }

  .sp-br {
    display: block;
  }

  .pc-br {
    display: none;
  }

  .tvs-hero-img {
    width: 100vw;
  }

  .tvs-composition-element {
    padding: 15px 0 20px 0;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .tvs-composition-title {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 18px;
    line-height: 1.5;
    word-break: break-word;
  }

  .tvs-tab-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding: 0 20px;
  }

  /* 追加：各種混雑状況・STB Lessタイプ・4KTV対応・災害時メッセージ・クラウドサーバー対応・清掃管理システムのswiperを中央寄せ */
  .tvs-tab-content#tab-congestion .swiper-container,
  .tvs-tab-content#tab-stb-less .swiper-container,
  .tvs-tab-content#tab-4ktv .swiper-container,
  .tvs-tab-content#tab-emergency .swiper-container,
  .tvs-tab-content#tab-cloud .swiper-container,
  .tvs-tab-content#tab-clean .swiper-container {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
}

.size554-br {
  display: none;
}

@media (min-width: 769px) {
  .sp-br {
    display: none;
  }

  .pc-br {
    display: block;
  }
}

@media (max-width: 768px) {
  .swiper-slide-active img {
    transform: scale(1);
  }
}

@media (max-width: 800px) {
  .tvs-summary-text {
    text-align: left;
  }
}

@media (max-width: 554px) {
  .size554-br {
    display: block;
  }
}

@media (max-width: 550px) {
  .tvs-facility-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    max-width: 90vw;
    padding: 10px 8px 20px 8px;
    justify-items: start;
  }

  .tvs-facility-col {
    min-width: 0;
    font-size: 1.2rem;
    text-align: left;
    gap: 8px;
    width: 100%;
  }

  .tvs-facility-col-1 {
    margin-left: 0px;
  }

  .tvs-facility-col-4 {
    margin-left: 0px;
  }

}

.spec-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 10px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.spec-label {
  font-weight: bold;
  color: #153c8a;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.3;
  display: block;
  width: 100%;
}

.spec-value {
  color: #222;
  font-size: 0.98rem;
  line-height: 1.7;
  display: block;
  width: 100%;
  word-break: break-all;
}

.spec-row br {
  display: none;
}

.spec-row {
  display: block;
  margin: 0.2em 0;
}

@media (max-width: 618px) {
  .coretouch-br {
    display: block;
  }
}

.spec-align {
  text-align: left !important;
}

.tab-content-block {
  display: block;
}

.wifi-plan-img {
  width: 100%;
}

.cardkey-feature-table-wrap,
.cardkey-option-table-wrap {
  width: 90vw;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.cardkey-feature-table,
.cardkey-option-table {
  text-align: left;
}

.cardkey-led-legend {
  margin: 32px auto 0 auto;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 24px;
  box-shadow: 0 2px 8px #0001;
  font-size: 1rem;
}

.cardkey-led-legend-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.led-box {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  margin-right: 14px;
  border: 1.5px solid #bbb;
}

.led-green-off {
  background: repeating-linear-gradient(135deg, #6bbd3c, #6bbd3c 4px, #fff 4px, #fff 8px);
}

.led-green-on {
  background: #6bbd3c;
}

.led-yellow-on {
  background: #fffd55;
}

.led-yellow-off {
  background: repeating-linear-gradient(135deg, #fffd55, #fffd55 4px, #fff 4px, #fff 8px);
}

.led-red-on {
  background: #e53935;
}

.led-red-off {
  background: repeating-linear-gradient(135deg, #e53935, #e53935 4px, #fff 4px, #fff 8px);
}

.led-label {
  font-size: 1rem;
  color: #222;
}

.cardkey-led-legend-table {
  width: 325px;
  margin: 32px auto 30px auto;
  max-width: 420px;
  background: #fff;
  font-size: 1rem;
  border-collapse: separate;
  border-spacing: 0;
}

.cardkey-led-legend-table td {
  padding: 10px 0 10px 0;
  font-size: 1rem;
  color: #222;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  border-left: none;
  border-right: none;
}

.cardkey-led-legend-table tr:first-child td {
  border-top: 2px solid #d3d3d3;
}

.cardkey-led-legend-table tr:last-child td {
  border-bottom: 2px solid #d3d3d3;
}

.led-mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: middle;
}

.led-green {
  background: #6bbd3c;
}

.led-yellow {
  background: #fffd55;
  border: 1px solid #e0e000;
}

.led-red {
  background: #e53935;
}

.led-gray {
  background: #d3d3d3;
}

.cardkey-feature-table-wrap {
  width: 400px;
  margin: 24px auto 0 auto;
}

.cardkey-feature-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}

.cardkey-feature-table td {
  padding: 10px 0 10px 0;
  color: #222;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  vertical-align: middle;
}

.cardkey-feature-table tr:first-child td {
  border-top: 2px solid #d3d3d3;
}

.cardkey-feature-table tr:last-child td {
  border-bottom: 2px solid #d3d3d3;
}

.feature-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b7ddd;
  margin-left: 7px;
  margin-right: 10px;
  vertical-align: middle;
}

.cardkey-option-table-wrap {
  width: 400px;
  margin: 18px auto 30px auto;
}

.cardkey-option-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}

.cardkey-option-table td {
  padding: 10px 0 10px 0;
  color: #222;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  vertical-align: middle;
}

.cardkey-option-table tr:first-child td {
  border-top: 2px solid #d3d3d3;
}

.cardkey-option-table tr:last-child td {
  border-bottom: 2px solid #d3d3d3;
}

.bathroom-tabs-container {
  background: #F2F8FF;
}

.cardkey-tabs-container {
  background: #F2F8FF;
}

@media (max-width: 1165px) {
  .bathroom-desc {
    font-size: 1.2rem;
  }
}

.solution-top {
  background-color: #fff;
  text-align: center;
  margin: 40px auto;
}

.solution-top-link {
  text-decoration: none;
  color: #000;
}

.solution-top a:hover .solution-top-icon {
  transform: translateX(-3px);
}

.solution-top-icon {
  transition: transform 0.3s ease;
}