/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { margin:0; padding:0; }
  
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.2;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
}

.animate-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  


@font-face {
    font-family: 'Kaisei Decol';
    src: url('fonts/Kaisei_Decol/KaiseiDecol-Bold-Sub.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Zen Dots';
    src: url('fonts/Zen_Dots/ZenDots-Regular-Sub.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zen Kaku Gothic New';
    src: url('fonts/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Bold-Sub.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


section {
    position: static;
    content-visibility: auto; 
    contain-intrinsic-size: 1000px; 
}



.Container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/*SectionTitleここから*/
.SectionTitle {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.SectionTitleText {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    text-align: center;
    line-height: 2;
    justify-content: center;
    width: 100%;
    color: #f25caf;
    margin-bottom: 25px;
    word-break: keep-all;
}

/*SectionTitleここまで*/

/*Newsここから*/
.News {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #355293;
    color: #FFFFFF;
    line-height: 2;
    font-size: 15px;
}

.News_content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.News_content h2{
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 32px;
    font-family: "Zen Dots", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.News_content p{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}
/*Newsここまで*/

/*Inroここから*/
.Intro {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.IntroBg {
    position:absolute;
    inset:0;
    width:100%;
    height:auto;
    object-fit:contain;
    overflow: hidden;
    z-index: -1;
}


.IntroBg img {
    width:100%;
    height:100%;
    object-fit:cover;
    display: block;
    object-position: right bottom ;
    z-index: -1;
}


.IntroTitle {
    width: 80%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
    z-index: 1;
    margin: 50px auto 25px auto;
    mix-blend-mode: multiply; 
}


.IntroText {
    padding-top: 50px;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.IntroContent {
    background-image: radial-gradient(ellipse 204% 118%, transparent 0%, transparent 30%,rgba(255, 240, 243, 1) 41%);
    padding-bottom: 50px;
}

.IntroText p {
    font-family: "Kaisei Decol", serif;
    font-weight: 700;
    font-style: normal;
    width: 100%;
    text-align: center;
    line-height: 1.5;
    font-size: 17px;
    text-shadow: 2px 0px 5px #ffffff,-2px 0px 5px #ffffff,0px 2px 5px #ffffff,0px -2px 5px #ffffff;
    white-space: pre-wrap;
    word-break: keep-all;
}


/*Inroここまで*/

/*Aboutここから*/

.About {
    background-image: url(images/ShapeRight.webp) ,url(images/ShapeLeft.webp), url(images/AboutBg.webp);
    background-size: cover, cover, cover;
    background-position: right center , left center, top;
    background-repeat:  repeat-y,repeat-y, no-repeat;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-bottom: 150px;
}

.AboutTitle {
    width: 100%;
    max-width: 445px;
    height: auto;
    object-fit: cover;
    margin: 50px auto 25px auto;
}

.ContainerWrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.AboutContentContainer {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.AboutVideoBox {
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 1;
}

.PlayBtn {
    width: 80%;
    margin: 15px auto 0 auto
}

/*Vimeo対応*/

.video-container {
    position: relative;
    width: 300px; /* スマホサイズを想定 */
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
  }

  /* Vimeo本体 */
  iframe {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 90%;
    height: 84%;
    border: none;
    border-radius: 24px;
    object-fit: cover;
    z-index: 1; /* 下層（スマホ画面内） */
  }

  /* スマホフレーム画像 */
/* フレーム全体を親いっぱいに */
.phone {
    position: relative;
    width: 80%;        /* 横幅いっぱい */
    max-width: 347px;   /* スマホサイズの上限（調整可） */
    aspect-ratio: 592 / 1092; /* スマホ比率 */
}

/* スマホの画面部分 */
.screen {
    position: absolute;
    top: 2%; left: 5%;
    width: 90%; height: 96%;
    overflow: hidden;
    border-radius: 5%;
    z-index: 1;
    background: #000;
}

/* iframeをcover的に中央トリミング（上下フィット・左右切れ） */
.screen iframe {
    position: absolute;
    top: 50%; left: 50%;
    height: 101%;
    width: auto;
    min-width: 110%;
    transform: translate(-50%, -50%);
    border: none;
    display: block;
}

/* 再生ボタン */


/* スマホフレーム画像（親いっぱいに） */
.frame {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
  /*Vimeo対応ここまで*/

.fuwafuwaWrap {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.fuwafuwaWrap img {
    width: 90%;
    max-width: 347px;
    object-fit: cover;
}

.AboutItem1_3 {
    order:0;
    display: flex;
    width: 35%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.AboutItem2_4 {
    width: 35%;
    height: 100%;
    order:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.AboutItem1 {
    display: flex;
    height: 40%;
    justify-content: flex-start; 
    align-items: flex-start; 
}

.AboutItem2 {
    display: flex;
    height: 40%;
    justify-content: flex-start;
    align-items: flex-end; 
}

.AboutItem3 {
    display: flex;
    height: 40%;
    justify-content: flex-end;
    align-items: flex-end;
}

.AboutItem4 {
    display: flex;
    height: 40%;
    justify-content: flex-end; 
    align-items: flex-end; 
}

.fuwafuwa {
    width: 90%;
    height: auto;
}

/* ベース（共通） */
.fuwafuwa-item {
    display: inline-block;
    /* 画像を入れる場合 */
    /* img { display:block; } を別途指定推奨 */
    transform: translate3d(0,0,0);        /* GPU合成を促す */
    backface-visibility: hidden;
    animation-name: fuwafuwa;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;        /* 往復 */
    /* 常時多数だとメモリ食うので台数が多ければ外す */
    will-change: transform, opacity;
  }
  
  /* 個体差（速度・距離・開始遅延）をCSS変数で制御 */
  .fuwafuwa-item { 
    --dx: 10px;
    --dy: 10px;
    --dur: 5s;
    --delay: 0s;
    animation-duration: var(--dur);
    animation-delay: var(--delay);
  }
  
  /* バリエーション（あなたの 1〜4 に相当） */
  .fuwafuwa1 { --dx: -30px; --dy: 20px; --dur: 3s; --delay: 0.1s; }
  .fuwafuwa2 { --dx: -30px; --dy: 20px; --dur: 3.2s; --delay: 0.3s; }
  .fuwafuwa3 { --dx: 30px; --dy: -20px; --dur: 3.4s; --delay: 0.2s; }
  .fuwafuwa4 { --dx: 30px; --dy: -20px; --dur: 3.6s; --delay: 0.5s; }
  
  /* 1本のキーフレームでOK（往復はalternateが担保） */
  @keyframes fuwafuwa {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(var(--dx), var(--dy), 0); }
  }
  
  /* 端末・設定に優しい配慮（負荷が高い環境で停止） */
  @media (prefers-reduced-motion: reduce) {
    .fuwafuwa-item {
      animation: none !important;
      transform: none !important;
    }
  }



    .side-in-element {
        opacity: 0;
        transform: translateX(100px); /* ←右から登場 */
        transition: all 0.8s ease;
    }

    .side-in-element-left {
        transform: translateX(-100px); /* ←左から登場 */
    }

    .side-in-element-right {
        transform: translateX(100px); /* ←右から登場 */
    }

    .side-in-element.show {
        opacity: 1;
        transform: translateX(0);
    }
/*Aboutここまで*/ 

/*Obiここから*/

.Obiwrapper {
    position: relative;
    width : 100%;
    height : auto;
}


.ObiSection {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 5;
}

.Obi {
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
    justify-content: center;
    align-items: center;
    position: relative;
    transform: translateY(-50%);
}

.Obi_Img {
    width: 130%;
    height: auto;
    display: block;        /* 画像をトリミングして埋める */
    object-position: center;  /* 左右を均等にトリミング（中央基準） */
    display: block;
}

.Obi_Text {
    position: absolute;
    display: flex;
    width: 100%;
    object-fit: cover;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.Obi_Text_Img {
    display: block;
    width: 60%;
    min-width: 300px;
    margin: 10% auto 0 auto;
}

/*Obiここまで*/

/*SliderSectionここから*/

.SliderSection{
    width: 100%;
    height: auto;
    padding-top: 200px;
    background-image: url(images/ShapeRight.webp),url(images/ShapeLeft.webp), url(images/AboutBg2.webp);
    background-size: cover, cover, cover;
    background-position: right center, left center, top;
    background-repeat:  repeat-y,repeat-y, no-repeat;
    align-items: center;
    position: relative;
    z-index: 0;
}

.Box-00 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}
    
.box-03-PC {
    display: flex;
}

.box-03, .box-05{
width: 100%;
height: 0;
background-color: transparent;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
z-index: 3;
}

.box-03 img, .box-05 img {
    width: 95vw;
    max-width: 840px;
}

.box-03 img {
    margin-top: -80px;
    transform: rotate(-3deg);
}

.box-05 img {
    margin-top: -150px;
    transform: rotate(3deg);
}

.Slider_content{
   display: none;
}

/*Swiperここから*/
.swiper {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 15px !important;
    --slide-h: clamp(360px, 80vh, 900px); /* 画面に合わせた最大高さ */
}

.swiper-pagination-bullet-active {
background: #000000 !important;
}

.swiper-button-next, .swiper-button-prev, .swiper-button-next2, .swiper-button-prev2 {
    width: 10% !important;
}

.swiper-button-next img, .swiper-button-prev img, .swiper-button-next2 img, .swiper-button-prev2 img {
    width: 100% !important;
}
.swiper-navigation-icon {
    display: none;
}
.swiper-slide-active img {
    width: 100% !important;
}

.swiper2 {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
}

.Slider_content .swiper2 .swiper-slide{
    display:grid; place-items:center;
}

.Slider_content .swiper2 .swiper-slide img{
    max-width:100%; max-height:60vh;
    object-fit: contain; display:block;
}

.swiper-slide-active img {
    width: 90% !important;
}
    
/* スライドの高さを決め、中央揃え */
.swiper-slide{
    height: var(--slide-h);
    display: grid;
    place-items: center;
}
    
/* 画像（picture/img）のはみ出し防止＆中央フィット */
.swiper-slide picture,
.swiper-slide img{
    width: auto;        /* 画像の縦長比率を尊重 */
    height: 100%;       /* スライド高にフィット */
    max-width: 85%;    /* 横にはみ出さない */
    object-fit: contain;/* 余白OKで全体表示 */
    display: flex;
    justify-content: center;
}

.swiper-button-next, .swiper-button-prev, .swiper-button-next2, .swiper-button-prev2 {
    width: 10% !important;
}

.swiper-button-next img, .swiper-button-prev img, .swiper-button-next2 img, .swiper-button-prev2 img {
    width: 100% !important;
}

/*Swiperここまで*/

.HowToGame1 {
    width: auto;
    max-height: 60svh;
}

/* 1枚目を-4度傾ける */
.HowToGame3_1 {
    transform: rotate(-4deg);
    z-index: 2;
  }
  
/* 2枚目を4度傾ける */
.HowToGame3_2 {
    transform: rotate(4deg);
    z-index: 1;
}

.HowToGame3 {
    width: auto;
    max-height: 60svh;
}
    
.box-04 {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/*SliderSectionここまで*/

/*Characterここから*/


.Character {
    background-image: url(images/CharacterSectionBg.webp);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
    transform: translateY(-200px);
}

.Character_content {
    margin: 0 auto;
    margin-top: -150px;
    padding-top: 200px;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20%;
}

.Character_content_grid {
    display: grid;
    grid-template-columns: auto 80% auto;
    grid-template-rows: repeat(4, 1fr);
    /*gap: 20px;*/
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.Character_content_grid .Character_content_grid_Item:nth-child(1) {
    grid-row: 1 / 5;
    grid-column: 1 / 4;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: -1;
}


.Character_content_grid .Character_content_grid_Item:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: 1;
}

.Character_content_grid .Character_content_grid_Item:nth-child(3) {
    grid-row: 2 / 4;
    grid-column: 2 / 3;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: 1;
}

.Character_contentBg_Img {
    width: 100%;
}

.ELProfile_Img {
    width: auto;
    max-width: 100%;
    max-height: 90svh;
}

.Character_SectionTitle_Container {
    object-fit: cover;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}


.shine-bg {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden; 
    padding-bottom: 200px;
  }

  /*Characterここまで*/

  /*EventDateここから*/

  
.EventDate {
    background-image: url(images/EventDateBg.webp);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: -30%;
}

.EventDate_Title_Container {
    width: 80%;
    align-items: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.EventDate_content {
    margin: 0 auto;
    padding-top: 100px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.EventDate_Img {
    justify-content: center;
    width: 100%;
    max-width: 445px;
    object-fit: cover;
    margin: 0 auto;
}

.EventDate_Text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 15px;
  text-align: center;
  line-height: 2;
  justify-content: center;
  width: 100%;
  color: #f25caf;
  padding-top: 35px;
  margin-bottom: 25px;
}

.EventDate_grid {
    display: grid;
    grid-template-columns: auto 5% 20% 20% 20% 20% 5% auto;
    grid-template-rows: 35px auto;
    grid-template-rows: repeat(6, auto);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.EventDate_grid1 {
    grid-template-rows: 35px auto;
}

.EventDate_grid2 {
    margin-top: -5%;
}

.EventDate_grid img {
    width: 100%;
}

.EventDate_grid .EventDate_grid_item:nth-child(1) {
    grid-row: 1 / 6;
    grid-column: 3 / 7;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: -1;
}

.EventDate_grid1 .EventDate_grid_item:nth-child(1) {
    grid-row: 1 / 6;
    grid-column: 3 / 7;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: -1;
}

.EventDate_grid .EventDate_grid_item:nth-child(2) {
    grid-row: 2 / 6;
    grid-column: 2 / 8;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: 2;
}

.EventDate_grid .EventDate_grid_item:nth-child(3) {
    grid-row: 3 / 4;
    grid-column: 4 / 6;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: 3;
}

.EventText_Img {
    transform: translate(-100px, 40px);
}

.DateText_Img {
    transform: translate(23px, 30px);
}

.EventDate_grid_item2 {
    grid-row: 1 / 6 !important;
}



.EndContent_grid {
    display: grid;
    grid-template-columns: auto 10% 80% 10% auto;
    grid-template-rows: repeat(6, auto);
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto;
    margin-bottom: 100px;
}

.End_content_CTA {
    position: relative;
    color: #FFFFFF;
    z-index: 2;
    text-align: center;
    width: 100%;
}


.End_content_grid_item {
    grid-row: 1 / 5;
    grid-column: 3 / 4;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: -1;
}

.End_content_grid_item img{
    width: 100%;
}

.End_content_CTA {
    grid-row: 4 / 7;
    grid-column: 2 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    z-index: 2;
    width: 100%;
}

.End_content_CTA .Cta_Button img {
    margin-top: 25px;
}

.logo_img {
    margin: 0 auto 25px;
}

/*EndContentここまで*/

/*footerここから*/


.footer {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央 */
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #291433;
    color: #FFFFFF;
    line-height: 2;
    font-size: 15px;
    text-decoration: none;
    padding: 25px 0;
}

.footer div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.footer p {
    display: block;
    margin: 5px 10px;
}

.footer a{
    color: #FFFFFF;
    text-decoration: none;
}
/*footerここまで*/


/*メディアクエリここから*/


@media (max-width: 767px) {
    

    .SectionTitleText {
        font-size: 12px;
        line-height: 1.5;
        max-width: 445px;
        height: auto;
        margin: 20px auto;
    }

    /*共通マージン*/
    .MarginSideSP {
        width: 95%;
        margin: 0 auto
    }

    /*Introここから*/
    .IntroContent {
        padding-bottom: 25px;
    }

    .IntroTitle, .IntroText {
        width: 95%;
        margin: 25px auto 10px auto;
    }
    
    .IntroText {
        padding-top: 10px;
        margin: 0 auto;
    }

    .IntroText p {
        font-size: 14px;
    }
    /*Introここまで*/

    /*Aboutここから*/
    .About {
        padding-bottom: 100px;
    }

    .fuwafuwaWrap {
        padding: 5px;
    }
    /*Aboutここまで*/

    /*Obiここから*/

    .Obi_Img {
        width: 165%;
    }

    .Obi_Text_Img {
        max-width: 350px;
    }
    /*Obiここまで*/
    
    /*SliderSectionここから*/
    
     
    .About, .SliderSection {
        background-size: 70%, 70%, cover;
    }

    .SliderSection {
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .Box-00  {
        display: none;
    }

    
    .box-03-PC {
        display: none;
    }

    .Slider_content{
        display: flex;
    }

    /*Swiperここから*/
    
    /* スライドの高さを決め、中央揃え */
    .swiper-slide{
        height: var(--slide-h);
        display: grid;
        place-items: center;
    }
    
    /* 画像（picture/img）のはみ出し防止＆中央フィット */
    .swiper-slide picture,
    .swiper-slide img{
        width: auto;        /* 画像の縦長比率を尊重 */
        height: 100%;       /* スライド高にフィット */
        object-fit: contain;/* 余白OKで全体表示 */
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    

    .swiper-pagination {
        transform: translateY(10px) !important;
    }

    .swiper {
        padding-bottom: 10px !important;
    }

    /*Swiperここまで*/

    .HowToGame3 {
        width:45%;
        height: auto;
        max-height: none;
    }

    /*SliderSectionここまで*/


    /*Characterここから*/

    .Character_content {
        padding-top: 135px;
    }
    .Character_content_grid {
        grid-template-columns: 5% 90% 5%;
        grid-template-rows: repeat(4, auto);
    }


    .Character_content_grid .Character_content_grid_Item:nth-child(2) {
        grid-column: 2 / 3;
        margin: 0 auto;
    }

    

    .Character_content_grid .Character_content_grid_Item:nth-child(3) {
        grid-column: 1 / 4;
    }

    .Character_content {
        margin-top: -60px;
        padding-bottom: 100px
    }

    .Character {
        transform: translateY(-100px);
    }

    /*Characterここまで*/

    /*EventDateここまで*/
      
    .EventDate {
        margin-top: -50%;
    }
    
   .EventDate_Title_Container {
        width: 90%
    }

    .EventDate_grid {
        grid-template-columns: auto 5% 22.5% 22.5% 22.5% 22.5% 5% auto;
    }

    
    .EventText_Img {
        transform: translate(-50px, 20px);
    }

    .DateText_Img {
        transform: translate(23px, 20px);
    }

    .logo_img img {
        width: 40% !important;
        margin: 0 auto !important;
    }


    /*EventDateここまで*/

    /*footerここから*/
    
    .footer div {
        flex-direction: column;
    }
}

/* 縦向き：縦長レイアウト */
@media (max-width: 767px) and (orientation: portrait) {

    /*Aboutセクションここから*/
    .AboutContentContainer {
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .Aboutbox {
        flex:1 1 calc(50% - 5px); /* 下段は2カラム */
        order: 0;
    }

    .AboutVideoBox {
        flex:1 1 100%;
        min-height:50%;
    }

    .AboutItem1_3 {
        order: 1;
        justify-content: flex-start;
    }

    .AboutItem2_4 {
        order: 2;
        justify-content: flex-start;
    }

    .box{ flex-basis:100%; }


    .fuwafuwaWrap img {
        width: 100%;
    }


    .AboutItem1, .AboutItem2, .AboutItem3, .AboutItem4 {
        height: auto;
    }
    /*Aboutセクションここまで*/

    /*footerここから*/
    
    .footer div {
        flex-direction: column;
    }
}



@media (max-width: 767px) and (orientation: landscape) {
    /* スマホかつ横向き以上のみ適用 */
    .SectionTitleText {
        max-width: 445px;
        height: auto;
        margin: 20px auto;
    }



    .PlayBtn {
        margin-top: 5px;
    }

    .Box-00  {
        display: flex;
    }

    .Box-00 img {
        height: 90svh;
        width: auto;
    }
    
    .box-03-PC {
        display: flex;
    }

    .SliderSection {
        padding-top: 10px;
    }

    .HowToGame1 {
        width: auto;
        max-height: 90svh;
    }

    .HowToGame3 {
        width: auto;
        max-height: 90svh;
    }

    .Slider_content{
        display: none;
    }

    .swiper-slide img {
        height: 100vh;
    }

    .logo_img img, .logo-img img {
        width: 80% !important;
        max-width: none !important;
    }


    /*footerここから*/
    
    .footer div {
        flex-direction: row;
    }
}




@media (orientation: landscape) {
    /* 横向きのみ適用 */

    /*footerここから*/
    
    .footer div {
        flex-direction: row;
    }
}

@media (min-width: 768px) and (max-width: 1040px)  {
    /* 横向きのみ適用 */

    .Box-00  {
        display: none;
    }
    
    
    .box-03-PC {
        display: none;
    }
    
    .Slider_content{
        display: flex;
    }
}
/*メディアクエリここまで*/

