@charset "UTF-8";
/*
Theme Name: 東北ケーブルテレビネットワーク
Theme URI: https://tohokucatvnet.com/
Description: 東北ケーブルテレビネットワークのオリジナルテーマ
Version: 1.0.0
Creation Date: 2026.3.25
Last Updated: 2026.3.25
*/


/* #tablepress-1
------------------------------------------------------------ */
#tablepress-1 {
font-size: 2.2rem;
width: 100%;
margin: 10rem auto;
border-collapse: collapse;
border: 2px solid #E5E5E5;
}
#tablepress-1 td {
vertical-align: top;
padding: .7em 3em;
border-bottom: 2px solid #E5E5E5;
}
#tablepress-1 .column-1 {
background: #E5E5E5;
width: 20%;
white-space: nowrap;
border-bottom: 2px solid #FFF;
}
#tablepress-1 tr:last-child .column-1 {
border-bottom: 2px solid #E5E5E5;
}
#tablepress-1 .column-2 {
width: 80%;
}
#tablepress-1 small {
font-size: 70%;
}
.officer-list {
list-style: none;
}
.officer-list br {
display: none;
}
.officer-list li {
align-items: center;
margin-bottom: .3em;
display: grid;
grid-template-columns: 160px 120px 1fr;
gap: 1em;
}
.officer-list .detail {
font-size: 70%;
}
.gmap {
background: #FFF;
color: var(--color-nvy);
font-size: 60%;
line-height: 1;
text-decoration: none;
padding: .3em 1em .4em;
display: inline-block;
border: 1px solid var(--color-nvy);
}
.gmap:hover {
background: var(--color-nvy);
color: #FFF;
}
.gmap::after {
content: "";
width: .7rem;
height: .7rem;
margin-left: .5em;
display: inline-block;
border-top: 1px solid currentColor;
border-right: 1px solid currentColor;
transform: rotate(45deg);
}
@media screen and (max-width: 1180px) {
#tablepress-1 td {
padding: .7em 1em;
}
}
@media screen and (max-width: 1023px) {
.officer-list li,
.officer-list .detail {
display: block;
}
.officer-list .post {
font-size: 90%;
}
}
@media screen and (max-width: 540px) {
#tablepress-1 td {
width: 100% !important;
display: block;
border-bottom: none !important;
}
}

#topics-list ul {
  max-width: 1200px;
  list-style: none;
  padding: 0;
  margin: 10rem auto;
}

body.page-template-page-topics #topics-list {
  margin-top: 0;
  padding-top: 6rem;
}

.topics-page-content {
  flex: 1 0 auto;
}

#topics-list ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #d9d9d9;
}

#topics-list ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 22px 6px;
}

#topics-list time {
  display: inline-block;
  margin-left: 0;
  color: #666;
  white-space: nowrap;
}

#topics-list .topic-title {
  font-size: 2rem;
  line-height: 1.4;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 32%;
}

#topics-list .topic-excerpt {
  color: #555;
  line-height: 1.4;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}

#topics-list [class*="cat_"] {
  margin-right: 0;
  white-space: nowrap;
}

#topics-list .pagination {
  margin-top: 60px;
  text-align: center;
}

#topics-list .pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

#topics-list .pagination .current {
  background: #0b5cab;
  color: #fff;
  border-color: #0b5cab;
}

@media screen and (max-width: 1024px) {
  #topics-list ul {
    max-width: 94%;
  }
}

@media screen and (max-width: 767px) {
  #topics-list ul li a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 4px;
  }

  #topics-list .topic-title,
  #topics-list .topic-excerpt {
    white-space: normal;
  }
}

#topics-list ul li {
  transition: 0.3s;
}

#topics-list ul li:hover {
  background: rgba(0,0,0,0.02);
}

/* Lity: force visible when opened */
.lity.lity-opened {
  display: block !important;
}
.lity.lity-opened.lity-hidden {
  display: block !important;
}
.lity { z-index: 999999 !important; }

/* Lity overlay: make it less flat black */
.lity {
  background: radial-gradient(circle at 30% 20%,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.75) 40%,
    rgba(0,0,0,.90) 100%) !important;
}

/* Optional: subtle blur behind (supported browsers only) */
.lity-wrap {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal box styling */
.lity-content {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.55) !important;
}

/* Close button visibility */
.lity-close {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.6) !important;
}