@charset "UTF-8";

body {
    margin: 0;
    background-color: #dcdcdc;
    color: #000000;
    font-family: Arial, sans-serif;
}
header {
display: flex;
align-items: center;
justify-content: center; /* コンテンツを水平方向に中央揃え */
margin-left: auto;
margin-right: auto;
gap: 20px;
}
.logo{
    width: 24%;
    text-align: center;
    margin: 1.5em 1em 0.5em 1em
}
.flex-main{
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 3vw;
    margin: 0 5vw;
}
.flyer {
    /* display: none;  フライヤーを非表示　flyer.jsで制御 */
    width: 50%;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
    /* margin: 0em 1em 0em 6em; */
    transition-duration: 0.5s;
    & img {
        vertical-align: bottom;
        cursor: pointer;
    }
}
.flyer:hover{
    box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
    transform: translateY(-10px);
    transition-duration: 0.5s;
}

.center{
    width: 100%;
    align-items: center;
    /* margin: 0em 6em 0em 0em; */
}
.twitch {
    /* width: 60%; */
    align-items: center;
    text-align:center;
}
iframe {            
    /*border: none;*/
    width: 70%; /*動画のサイズ flyer.jsで制御*/
    /*height: auto;*/
    aspect-ratio: 16 / 9;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
    border-width: 0;
    vertical-align: bottom;
}
img {
    width: 100%;
}

.button {
    text-align: center;
    
}

.styled {
    border: 0;
    line-height: 2.5;
    padding: 0 140px;
    font-size: 1.6rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(108, 145, 210, 1);
    background-image: linear-gradient(
      to top left,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0)
    );
    box-shadow:
      inset 2px 2px 3px rgba(255, 255, 255, 0.6),
      inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  }
  
  .styled:hover {
    background-color: rgba(108, 145, 210, 0.665);
  }
  
  .styled:active {
    box-shadow:
      inset -2px -2px 3px rgba(255, 255, 255, 0.6),
      inset 2px 2px 3px rgba(0, 0, 0, 0.6);
  }
  

footer{
    text-align: center;
    margin: 1em 0em 0.5em 0em;
    user-select: none;
    color: rgba(69, 96, 23, 0.88);
}


@media screen and (max-width: 768px) {
    .logo{
        width: 80%;
    }
    .flex-main {
        flex-direction: column-reverse;
        gap: 5vw;
        margin: 0 2vw;
    }
    .flyer {
        width: 98%;
        margin: 0em 1em 0em 1em;
        cursor: pointer;
    }
    .flyer:active {
        box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
        transform: translateY(-10px);
        transition-duration: 0.5s;
    }
    .center {
        width: 100%;
        margin: 0em 6em 0em 6em;
    }
    iframe{
        width: 100%; /*動画のサイズ*/
    }
}