header nav ul li a {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    padding: 10px 8px;
    transition: all 0.3s;
}


/* =acMenu
----------------------------------*/
ul.info li{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
span.info-cat{
  flex: 1;
  margin: 0 !important;
}
span.info-date{
  flex: 1;
  text-align: center;
  margin: 0 10px !important;
}
span.info-title{
  flex: 9;
}
@media only screen and (max-width: 1120px) {
  ul.info li{
    display: block;
  }
  span.info-cat{}
  span.info-date{}
  span.info-title{
    margin: 10px 0 0;
  }
}



/* =acMenu
----------------------------------*/
.acMenu{ margin: 0 0 2em; }
.acMenu dt {
  position: relative;
  cursor: pointer;
  font-weight: normal;
  line-height: 1.6;
  padding: 10px 40px 10px 20px;
}
.acMenu dt:hover,
.acMenu dt.active{
  background: rgb(225 28 47);
  color: rgb(255 255 255);
}
.acMenu dt:after {
  font-family: 'FontAwesome';
  content: "\f0fe";
  position: absolute;
  right: 2%;
  top: 10px;
}
.acMenu dt.active:after{
  font-family: 'FontAwesome';
  content: "\f147";
  float: right;
}
.acMenu dd{
  display: none;
  padding: 20px;
  border: solid 1px #ddd;
  background: #f2f2f2;
}

.acMenu dd p:last-child{
  margin: 0;
}




/* mov
----------------------------------*/
.video-thumbnail-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1em;
}
.video-thumbnail {
    max-width: 100%;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.video-thumbnail:hover {
    transform: scale(1.03);
}
/* モーダル全体 */
/* モーダル全体（オーバーレイ） */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}
/* 中央配置：余白を作らない */
.video-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0; /* 余白削除 */
}
/* モーダル内動画本体 */
.video-modal-content {
    position: relative;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    animation: scaleUp 0.3s ease forwards;
}
.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
    display: block;
}
/* 閉じるボタン */
.video-modal-close {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10000;
}
.video-modal-close:hover {
    background-color: rgba(255, 0, 0, 0.8);
}
/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.video-thumbnail-inner {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* オーバーレイ：画像を暗くする */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* ここで暗さを調整 */
    border-radius: 10px;
    z-index: 1;
}

/* 再生ボタンが画像の上に表示されるように */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-button svg {
    width: 30px;
    height: 30px;
}
@media (max-width: 480px) {
    .video-play-button {
        width: 44px;
        height: 44px;
    }
    .video-play-button svg {
        width: 22px;
        height: 22px;
    }
}


.video-thumbnail-inner:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.05);
    background-color: rgba(0, 0, 0, 0.8);
}




/* sponsor
----------------------------------*/

.sponsors-wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
}
.sponsors-wrap aside{
  flex-basis:calc((100% - 20px) / 3);
  max-width:calc((100% - 20px) / 3);
  margin: 0;
  margin-top:10px;
  border: solid 1px #ddd;
}
.sponsors-wrap .wp-block-image{
    margin: 0;
}
@media only screen and (max-width: 1120px) {
    .sponsors-wrap aside{
      flex-basis:calc((100% - 20px) / 2);
      max-width:calc((100% - 20px) / 2);
    }
}
