/*
Theme Name: plustic-theme1 Child
Template:   plustic-theme1
Version:    1.0.10
*/

.c-videoItem__header {
  position: static !important;   /* 固定化を解除 */
}

.c-videoItem__header h2{
    font-size:1.5em;
}

.c-videoItem__ytTitle {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: #666;
  text-align: center;
}



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

        body {
            font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
            background-color: #f8fafb;
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ヘッダー */
        .page-header {
            background: linear-gradient(135deg, #00a8cc 0%, #0077be 100%);
            color: white;
            padding: 60px 0;
            margin-bottom: 50px;
        }

        .page-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-align: center;
        }

        .page-header p {
            font-size: 1.1rem;
            text-align: center;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* フィルター */
        .filter-section {
            margin-bottom: 40px;
            padding: 30px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .filter-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: left;
            margin-bottom: 20px;
        }

        .filter-tab {
            padding: 12px 24px;
            background: #f0f4f8;
            border: 2px solid transparent;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
        }

        .filter-tab:hover {
            background: #e8f4f8;
            border-color: #15ca6a;
        }

        .filter-tab.active {
            background: #15ca6a;
            color: white;
            border-color: #15ca6a;
        }

        /* 動画グリッド */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        /* 動画カード */
        .video-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }

        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .video-thumbnail {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .video-card:hover .video-thumbnail img {
            transform: scale(1.05);
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(0,0,0,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .play-button::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 15px solid white;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            margin-left: 3px;
        }

        .video-card:hover .play-button {
            background: rgba(0,168,204,0.9);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-duration {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .video-info {
            padding: 25px;
        }

        .video-info p img {
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }


        .video-category {
            display: inline-block;
            background: #e8f4f8;
            color: #00a8cc;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 15px;
        }

        .video-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: #333;
            line-height: 1.4;
        }

        .interviewer-info {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .interviewer-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00a8cc, #0077be);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 12px;
        }

        .interviewer-details h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 2px;
        }

        .interviewer-details p {
            font-size: 0.9rem;
            color: #666;
        }

        .video-description {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .video-date {
            color: #999;
            font-size: 0.8rem;
        }

        .view-count {
            color: #666;
            font-size: 0.8rem;
        }

        /* ローディング */
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }


        .news-list dl dd span{
            display:block;
            width:6.5em;
            background-color:#15ca6a;
            color:#FFF;
            font-size:80%;
            text-align:center;
            padding:0.2em 0.5em;
            margin-right:1em;
            border-radius: 30px;}

        dl.newsDL dd span{
            display:block;
            width:6.5em;
            background-color:#15ca6a;
            color:#FFF;
            font-size:80%;
            text-align:center;
            padding:0.2em 0.5em;
            margin-right:1em;
            border-radius: 30px;}

            

        /* モバイル対応 */
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2rem;
            }

            .video-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .filter-tabs {
                flex-direction: column;
                align-items: center;
            }

            .filter-tab {
                width: 100%;
                text-align: center;
                max-width: 300px;
            }
        }

        /* アニメーション */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .video-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .playable-video {
            position: relative;
            display: inline-block;
        }

        .playable-video img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* YouTubeリンク付き画像に再生ボタンを重ねる */
        .video-info a[href*="youtu"] {
            position: relative;
            display: inline-block;
            width: 100%;
            max-width: 100%;
        }

        .video-info a[href*="youtu"] img {
            width: 100% !important;
            height: auto;
            display: block;
        }
        .video-info a[href*="youtu"]:has(img)::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 60px;
            height: 60px;
            background: #ff0000; /* YouTubeの赤 */
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .video-info a[href*="youtu"]:has(img)::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-40%, -50%);
            width: 0;
            height: 0;
            border-left: 20px solid white;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            z-index: 3;
        }

        .gnav.active {
          left: 50%;}
          
        header nav ul li a span{
          display:inline-block;
          padding:10px 0 10px 15px;
          line-height:1.2;
          background-repeat:no-repeat;
          background-position:left 50%;
          background-size:auto auto;}

        header nav ul li:nth-child(1) a span{ background-image:url(images/menu-icon01.svg);}
        header nav ul li:nth-child(2) a span{ background-image:url(images/menu-icon02.svg);}
        header nav ul li:nth-child(3) a span{ background-image:url(images/menu-icon05.svg);}
        header nav ul li:nth-child(4) a span{ background-image:url(images/menu-icon03.svg);}
        header nav ul li:nth-child(5) a span{ background-image:url(images/menu-icon04.svg);}

        /* header nav ul li:nth-child(1) a span{ background-image:url(../images/menu-icon01.svg);}
        header nav ul li:nth-child(2) a span{ background-image:url(../images/menu-icon02.svg);}
        header nav ul li:nth-child(3) a span{ background-image:url(../images/menu-icon03.svg);}
        header nav ul li:nth-child(4) a span{ background-image:url(../images/menu-icon04.svg);} */

        header nav ul li:nth-child(1) a:hover span{ background-image:url(images/menu-icon01on.svg); transition: all 0.3s ease;}
        header nav ul li:nth-child(2) a:hover span{ background-image:url(images/menu-icon02on.svg); transition: all 0.3s ease;}
        header nav ul li:nth-child(3) a:hover span{ background-image:url(images/menu-icon05on.svg); transition: all 0.3s ease;}
        header nav ul li:nth-child(4) a:hover span{ background-image:url(images/menu-icon03on.svg); transition: all 0.3s ease;}
        header nav ul li:nth-child(5) a:hover span{ background-image:url(images/menu-icon04on.svg); transition: all 0.3s ease;}

/*******************************************************************************************
12:【セカンド】講演会動画
*******************************************************************************************/
        body.lecture-videos #sec-main{
	      background-image:url(images/main-movies.jpg);}
          
        body.lecture-videos .sec-ttl{position:relative;}
        body.lecture-videos .sec-ttl h2::before{
          width:100px;
          height:100px;
          position:absolute;
          top:-50px;
            left: 50%;
            transform: translateX(-50%);
            -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
          content:url(images/sec-ttl-movie.svg);}


.video-info iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    display: block;
    border: none;
}

.top-cont .inner article p{
    padding:0 10px 0;
	margin-bottom:30px;}

.top-cont .inner article:nth-child(3){
	margin-top:0;}
.top-cont .inner article:nth-child(3) h2{background-image:url(images/top-cont04.png); padding-top:110px;}

.top-cont .inner article:nth-child(4){
	margin-top:30px;}
.top-cont .inner article:nth-child(4) h2{background-image:url(images/top-cont03.png); padding-top:110px;}

.top-cont .inner article:nth-child(4) p.top-contBTN{margin-bottom:30px;}

.kakoi {
  display: inline-block;
  border: 1px solid #363636; /* 四角で囲む */
  padding: 0px 4px;
  border-radius: 50%;    /* 丸にするならこれ */
}