@charset "utf-8";

/* ================================
    common
=================================== */
html{
    font-size: 62.5%;
}
/* ページ背景をサーチライト風エフェクトに変更 */

body {
    font-family: "Noto Sans JP",
         Arial,
         sans-serif;
    font-style: normal;   
    font-size: 1.4rem;  
    color: #F0F3F4;
    background-color: #1a1a1a;
    line-height: normal;
    transition: overflow 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* サーチライト背景パターン */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* ベース：暗い背景 */
        radial-gradient(
            ellipse 800px 600px at 20% 30%,
            rgba(100, 200, 255, 0.15) 0%,
            rgba(100, 200, 255, 0.05) 30%,
            transparent 70%
        ),
        /* サーチライト1（青） */
        radial-gradient(
            ellipse 600px 500px at 70% 60%,
            rgba(150, 100, 255, 0.12) 0%,
            rgba(150, 100, 255, 0.03) 40%,
            transparent 80%
        ),
        /* サーチライト2（紫） */
        radial-gradient(
            circle at 50% 50%,
            rgba(50, 50, 50, 0) 0%,
            rgba(20, 20, 20, 0.3) 100%
        );
    background-size: 
        150% 150%,
        150% 150%,
        100% 100%;
    background-position: 
        20% 30%,
        70% 60%,
        0 0;
    background-attachment: fixed;
    animation: searchlightSweep 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* サーチライト光線効果（オプション） */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 光線1 */
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 20px,
            rgba(100, 200, 255, 0.02) 20px,
            rgba(100, 200, 255, 0.02) 22px
        ),
        /* 光線2 */
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 20px,
            rgba(150, 100, 255, 0.02) 20px,
            rgba(150, 100, 255, 0.02) 22px
        );
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes searchlightSweep {
    0%, 100% {
        background-position: 
            20% 30%,
            70% 60%,
            0 0;
    }
    25% {
        background-position: 
            15% 25%,
            75% 65%,
            0 0;
    }
    50% {
        background-position: 
            25% 35%,
            65% 55%,
            0 0;
    }
    75% {
        background-position: 
            10% 40%,
            80% 50%,
            0 0;
    }
}

/* コンテンツの位置調整 */
#container {
    position: relative;
    z-index: 2;
}

main {
    padding-top: 60px;
    position: relative;
    z-index: 2;
}

header {
    position: relative;
    z-index: 100;
}

footer {
    position: relative;
    z-index: 2;
}

/* 高いコントラストを保つためのテキストシャドウ */
.article__header {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.5);
}

/* ロゴの位置調整 */
.logo {
    object-fit: contain;
    max-width: 100%;
    max-height: 50px;
    position: relative;
    z-index: 101;
}

@media screen and (min-width:769px) {
    @keyframes searchlightSweep {
        0%, 100% {
            background-position: 
                30% 20%,
                70% 70%,
                0 0;
        }
        25% {
            background-position: 
                40% 15%,
                60% 75%,
                0 0;
        }
        50% {
            background-position: 
                20% 30%,
                75% 60%,
                0 0;
        }
        75% {
            background-position: 
                35% 25%,
                65% 65%,
                0 0;
        }
    }
}

@media screen and (min-width:769px) {
    .title{
        background-size: 50%;
    }



     .link {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #333333;
  color: #333333;
  background-color: transparent;
  transition: color 0.5s ease;
  z-index: 0;
}

.link::before,
.link::after {
  content: '';
  position: absolute;
  top: -40%;           /* 上に大きめに拡張 */
  width: 80%;          /* 幅を広めにして中央に届くように */
  height: 180%;        /* 高さを広げて斜めのズレを吸収 */
  background-color: #F0F3F4;
  z-index: -1;
  transform: scaleX(0) skewX(-20deg);
  transition: transform 0.4s ease;
}

/* 左スライド */
.link::before {
  left: -10%;
  transform-origin: right;
}

/* 右スライド */
.link::after {
  right: -10%;
  transform-origin: left;
}

/* ホバー時に中央へスライドイン */
.link:hover::before,
.link:hover::after {
  transform: scaleX(1) skewX(-20deg);
}

.link:hover {
  color: #717375;
}
  }

  /* ================================
    header
=================================== */

.header{
  position: fixed; 
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.50);
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.7%;
  z-index: 10;
}

.hamburger {
  position: absolute;
  top: 20px;
  right: 8%;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s ease;
}


.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  margin: 1.5px 0;
  transition: transform 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50);
    transform: translateY(-100%);
    transition: right 0.3s ease; 
    padding: 10px 4% 60px;
    transition: 0.4s;
}

.nav.open {
    transform: translateY(0);
}


.nav__item{
    margin-top: 20px;
    font-size: 1.6rem;
}

.nav__item::before{
    content: '>';
    width: 7px;
    height: 7px;
    margin-right: 1%;
}

.nav__item:first-of-type{
    margin-top: 48px;
}

@media screen and (min-width:769px) {
    
    .hamburger{
        display: none;
    }


    .nav{
        transform: none;
        position: static;
        height: auto;
        z-index: auto;
        padding: 0;
        background-color: transparent;
        align-items: center;
    }

    .nav.open{
        transform: none;
    }

    .nav__list{
        display: flex;
        justify-content: flex-end;
        gap: 0 4%;
    }

    .nav__item{
        margin-top: 10px;
        text-decoration: none;
        outline: none;
        border-bottom: 1px;
        position: relative;
        font-size: 1.4rem;
    }
    
    .nav__item:hover{
        color: #F0F3F4;
    }

    .nav__item::after{
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        background: #F0F3F4;
        bottom: -5px;
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform 0.5s;
    }

    .nav__item:hover::after{
         transform: scale(1, 1);
         transform-origin: left top;
    }


    
    
    .nav__item:first-of-type{
        margin-top: 10px;
    }

    .nav__item::before{
        display: none;
    }

}


/* ================================
    main
=================================== */


main{
    padding-top: 60px;
}

/* article header */

/* ページタイトルにシンプルな外枠装飾を追加（軽量版） */

.page__title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 48px auto 60px;
    width: 85.3%;
    background-image: url(../images/thumbnail/bokutoakusyu.jpg);
    background-position: center;
    background-size: cover;
    aspect-ratio: 3/2;
    position: relative;
    overflow: visible;
    border-radius: 4px;
}

/* シンプルな外側ボーダーフレーム */
.page__title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(255, 200, 100, 0.5);
    border-radius: 4px;
    z-index: -1;
    pointer-events: none;
    box-shadow: 
        0 0 20px rgba(255, 200, 100, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.6);
}

/* シンプルな内側ボーダー */
.page__title::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(200, 200, 200, 0.4);
    border-radius: 4px;
    z-index: -1;
    pointer-events: none;
}

/* 画像本体への最小限のシャドウ */
.page__title {
    box-shadow: 
        inset -1px -1px 0 rgba(255, 200, 100, 0.2),
        inset 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/* ドロップシャドウを使用したシンプルな深さ表現 */
.page__title {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
}

@media screen and (min-width:769px) {
    .page__title {
        width: 59%;
    }
}

.article__header{
    color: #F0F3F4;
    text-align: center;
    -webkit-text-stroke: 2px #93278F;
    paint-order: stroke;
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
}

@media screen and (min-width:769px) {
    .page__title{
        width: 59%;
    }
}

/* movie */

.section{
  padding: 0 10px;
}

.switch__box{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 5.3%;
  margin-top: 64px;
}

.btn{
  width: 24%;
  height: 50px;
  text-align: center;
  border: 1px solid #93278F;
  color: #93278F;
  background-color: #F0F3F4;
  padding: 10px 0;
  border-radius: 20px;
}

.btn--all{
    color: #F0F3F4;
    background-color: #93278F;
    border: 1px solid #F0F3F4;
}

.movie__list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 24px 5.3%;
  justify-content: center;
  list-style: none;
  margin: 80px 0 80px;
  max-width: 100%;
  padding: 0 4%;
}



.box--movie {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: #000;
  overflow: hidden;
  cursor: pointer;
}

.youtube-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: url('https://upload.wikimedia.org/wikipedia/commons/7/75/YouTube_social_white_play.svg') no-repeat center;
  background-size: contain;
  pointer-events: none;
  opacity: 0.85;
}

.movie__txt {
  display: block; 
  margin-top: 16px;
}


@media screen and (min-width:769px) {
    .movie__list{
        margin: 100px 0 100px;
        grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
        gap: 60px 5%;
        padding: 0 4.1666%;
    }

    
    .movie__txt{
        font-size: 1.6rem;
    }

    .btn{
        width: 13%;
        padding: 10px;
        
    }

    .switch__box{
        margin-top: 80px;
        gap: 0 1.4%;
    }
}



/* footer */


.footer{
    background-color: rgba(0, 0, 0, 0.50);
    padding-top: 40px;
}

.footer__index{
    display: none;
}

.footer__group{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 20%;
}

.footer__box1,
.footer__box2{
    display: flex;
    flex-direction: column;
    gap: 32px 0;
}

.footer__item{
  color: #F0F3F4;
}


.footer__icon{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 16%;
    margin-top: 48px;
}

.youtube__icon img,.x__icon img{
    width: 100px;
    height: 100px;
}

.icon{
    width: 20%;
    border-radius: 50%;
}

.youtube__icon img{
  border-radius: 50%;
}

.copy{
  display: block;
  background-color: #93278F;
  text-align: center;
  color: #F0F3F4;
  padding: 10px 0;
  margin-top: 36px;
  font-size: 1.2rem;
}

#page-top{
  display: none;
}

#page-top a{
    display: none;
}


@media screen and (min-width:769px) {
    .footer{
        padding-top: 60px;
    }

    .footer__list,
    .footer__icon{
        display: none;
    }
    .footer__index{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 7.6%;
    }

    .footer--link{
        width: 40vh;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #F0F3F4;
        color: #F0F3F4;
        gap: 0 5%;
        margin: 0;
        padding: 20px 0;
    }

/* 親ボタン */
#page-top {
  display: block;
  position: fixed;
  right: clamp(20px, 2vw, 30px);   /* 画面幅に応じて右端 */
  bottom: clamp(60px, 2vh, 30px);  /* 画面高さに応じて下端 */
  width: clamp(40px, 5vw, 60px);   /* ボタンサイズ */
  height: clamp(40px, 5vw, 60px);
  border-radius: 50%;
  z-index: 1000;
}

/* 内側の回転円 */
#page-top::before {
  content: "";
  position: absolute;
  top: -0.5vw;
  left: -0.5vw;
  width: calc(100% + 1vw);
  height: calc(100% + 1vw);
  border: 0.3vw dotted #F0F3F4;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotateCircle 8s linear infinite;
  transform-origin: center center;
}

/* 外側の逆回転円 */
#page-top::after {
  content: "";
  position: absolute;
  top: -1vw;
  left: -1vw;
  width: calc(100% + 2vw);
  height: calc(100% + 2vw);
  border: 0.3vw dotted #F0F3F4;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotateCircleReverse 8s linear infinite;
  transform-origin: center center;
}

/* ボタン内リンク - flexで中央揃え */
#page-top a {
  display: flex;                /* flexで縦横中央 */
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #F0F3F4;
  font-size: clamp(12px, 1.2vw, 18px);
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
  position: relative;           /* 擬似要素より上に */
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.3s;
}

#page-top a:hover {
  opacity: 0.5;
}


/* 回転アニメーション */
@keyframes rotateCircle {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCircleReverse {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

}

/* -----------------------------
   モーダル動画再生用スタイル
------------------------------ */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 4rem;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

@media screen and (max-width: 768px) {
  .modal-content {
    width: 96%;
  }

  .modal-close {
    font-size: 32px;
    top: -32px;
  }
}


