/*AG-Partner's website in general*/

 /*©2025 AG-All,AGworld All rights reserved*/
 @import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');
 @import url('/css/System/button.css');
 /*root*/
 :root{
  /* アニメーション時間 */
  --animation-duration-fast: 0.3s;
  --animation-duration-normal: 0.5s;
  --animation-duration-slow: 1s;
  
  /* アニメーション距離 */
  --animation-offset-small: 10px;
  --animation-offset-medium: 20px;
  --animation-offset-large: 40px;
  
  /* アニメーション遅延時間 */
  --animation-delay-none: 0s;
  --animation-delay-short: 0.2s;
  --animation-delay-medium: 0.5s;
  --animation-delay-long: 1s;
  
  /* イージング関数 */
  --animation-ease-default: ease;
  --animation-ease-in-out: ease-in-out;
  --animation-ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
 }
/*AGworld's overall site structure*/
body{
  font-family: "M PLUS Rounded 1c", serif;
  overflow-x: hidden;
  cursor: pointer;
  margin: 0;
  margin-top: 60px;
  width: 100%;
}
a {
  color: blue; 
  text-decoration: none; 
  transition: opacity 0.3s ease;
}

a:visited {
  color: rgb(176, 181, 176);
}

a:hover {
  opacity: 0.7; 
}

summary {
  display: block;
  list-style: none;
}
summary::-webkit-details-marker,
details summary::-webkit-details-marker {
  display: none;
  content: none;
}
details{
  display: block;
}
iframe{
  overflow-y : hidden;
}
ul{
  padding: 0;
   margin: 0;
   list-style-type: none;
}
/*ーーーーーーー*/

/*AGworld-menu*/
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* ヘッダーの高さ */
  background-color: rgba(0, 0, 0, 0.459);
  
  display: flex;
  align-items: center;
  z-index: 100;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(11, 234, 204, 0.19);
  backdrop-filter: blur(10px); /* 背景のぼかし効果 */
  -webkit-backdrop-filter: blur(10px); /* Safari用のプレフィックス */

  .logo{
    width: 50px;
    margin-left: 10px;
  }
  .top{
    display: flex;
    text-align: center;
    margin: auto;
  }
}
header .menu_logo{
  padding-top: 5px;
  padding-left: 20px;
  height: 50px;
}
header .top_info{
  justify-content: left;
  animation-name:fadeInAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  color: white;
  font-weight: bold;
  font-size: 25px;
}
header a , header a:visited {
  color: white;
}
header a:hover {
  opacity: 0.7;
}
.top_info{
  text-align: center;
  font-size: 20px;
  padding-top: 12px;
  img{
    height: 1lh;
  }
  a{
    color: blue;
  }
  a:hover{
    text-decoration: underline;
  }
} 

/*New_menu*/
.Nmenu{
  color: rgb(255, 255, 255);
  display: flex;
  list-style: none;
  column-gap: 20px;
}

/* ハンバーガーメニュー基本スタイル */
.menu-checkbox {
  display: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-menu .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* ハンバーガーメニューがアクティブな時のスタイル */
#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* モバイル表示時のメニュー */
@media screen and (max-width: 767px) {
  /* パートナーロゴを非表示 */
  .partner-logo {
    display: none;
  }
  
  /* ハンバーガーメニューを右上に配置 */
  header .top {
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px 20px;
    z-index: 1000;
  }
  
  .hamburger-menu {
    display: flex;
  }

  .hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: #00eeff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 238, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }

  #menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #ff3e7f;
    box-shadow: 0 0 8px rgba(255, 62, 127, 0.7);
  }

  #menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #ff3e7f;
    box-shadow: 0 0 8px rgba(255, 62, 127, 0.7);
  }

  .Nmenu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-width: 100vw;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(27, 9, 51, 0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 90px 0 0;
    z-index: 99;
    box-sizing: border-box;
    overflow-x: hidden;
    transform: translateY(-5px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .Nmenu li {
    padding: 15px;
    border-left: 3px solid transparent;
    margin: 8px 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-size: 18px;
    letter-spacing: 1px;
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transition-delay: calc(var(--item-index, 0) * 0.1s);
  }

  .Nmenu li:hover {
    border-left: 3px solid #00eeff;
    background: linear-gradient(90deg, rgba(0, 238, 255, 0.1) 0%, transparent 100%);
  }

  .Nmenu a {
    color: white;
    position: relative;
    display: inline-block;
  }

  .Nmenu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #00eeff, #ff3e7f);
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }

  .Nmenu a:hover::after {
    width: 100%;
  }

  #menu-toggle:checked ~ .Nmenu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  #menu-toggle:checked ~ .Nmenu li {
    opacity: 1;
    transform: translateX(0);
  }

  /* 各メニュー項目にアニメーション遅延を設定するJavaScript用 */
  .Nmenu li:nth-child(1) { --item-index: 1; }
  .Nmenu li:nth-child(2) { --item-index: 2; }
  .Nmenu li:nth-child(3) { --item-index: 3; }
  .Nmenu li:nth-child(4) { --item-index: 4; }
  .Nmenu li:nth-child(5) { --item-index: 5; }
}

/*ーーーーーーーーーーーーーー*/
/*AGworld-Site*/

/* Button */
/*単数のボタン*/
#normal_bn{
  text-align: center;
  justify-content: center;
  border-style: none;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 180px;
  padding: 12px 20px 12px 20px;
}
#normal_bn:hover{
  color: white;
  background-color: rgb(33, 33, 33);
}
/*複数のボタン*/
.body_B{
  text-align: center;
  justify-content: center;
  list-style: none;
  display: flex;
  column-gap: 12px;
  li{
      border: 2px solid rgb(0, 0, 0);
      border-radius: 180px;
      padding: 12px 20px 12px 20px;
  }
  li:hover{
    color: white;
    background-color: rgb(33, 33, 33);
  }
  .B_gray{
    border: 2px solid rgb(247, 254, 255);
    background-color: rgb(183, 183, 183);
  }
  .B_gray:hover{
    background-color: white;
    color: black;
  }
}


#white_bn{
  background-color: white;
  color: black;
  border: 2px solid rgb(0, 0, 0);
}
#white_bn:hover{
  background-color: black;
  color: white;
}
#gray_bn{
  border: 2px solid rgb(0, 0, 0);
  background-color: rgb(183, 183, 183);
  color: black;
}
#gray_bn:hover{
  background-color: white;
  color: white;
}
#sky_bn{
  background-color: rgb(0, 255, 255);
  color: black;
}
#sky_bn:hover{
  background-color: rgb(255, 255, 255);
}
/*scroll bar custom */
/* Webkitブラウザ用のスクロールバーのカスタマイズ */
.news-bx::-webkit-scrollbar {
  width: 12px; /* スクロールバーの幅 */
  height: 12px; /* スクロールバーの高さ（水平スクロールバーの場合） */

}

.news-bx::-webkit-scrollbar-track {
  background: #f1f1f1; /* スクロールバーのトラックの背景色 */
}

.news-bx::-webkit-scrollbar-thumb {
  background: #888; /* スクロールバーのサムの背景色 */
  border-radius: 6px; /* スクロールバーのサムの角を丸くする */
}

.news-bx::-webkit-scrollbar-thumb:hover {
  background: #00ffc8; /* スクロールバーのサムにホバーしたときの背景色 */
}

/* Firefox用のスクロールバーのカスタマイズ */
.news-bx {
  scrollbar-width: thin; /* スクロールバーの幅を細くする */
  scrollbar-color: #888 #f1f1f1; /* スクロールバーのサムとトラックの色 */
  display: flex; /* 変更点: カードを横に並べるためにflexを追加 */
  overflow-x: auto; /* 変更点: 横スクロールを有効にする */
  scroll-behavior: smooth; /* 変更点: スムーズなスクロールを有効にする */
}

.news-bx .card {
  flex: 0 0 auto; /* 変更点: カードの横幅を固定 */
  width: 250px; /* 変更点: カードの横幅 */
}




/*--------------------------------
img backgroundー全てのサイト共通で使用
---------------------------------*/

.background-top{
  background-image:url(/img/background/ag_city.png);
 
  background-size: cover;
  width: 102%;
  height: auto;
  padding-bottom: 30px;
  margin-left: -2%;
  margin-top: -2%;
  animation: changeBackground-top 36s infinite, infinite;
  transition: opacity 0.5s ease;
  opacity: 1;
  
}
.background-top .fade-out {
  opacity: 0;
}
/*background-image_change*/

  @keyframes moveBackground {
      0%, 16.67% { background-position: center top; }
      16.67%, 33.34% { background-position: center bottom; }
      33.34%, 50% { background-position: center top; }
      50%, 66.67% { background-position: center bottom; }
      66.67%, 83.34% { background-position: center top; }
      83.34%, 100% { background-position: center bottom; }
      100% { background-position: center top; }
    }

/*ーAnimation-propertyー*/
@keyframes borderAnimation { 
  0% { clip-path: inset(0% 100% 100% 0%); } 
  25% { clip-path: inset(0% 0% 100% 0%); } 
  50% { clip-path: inset(0% 0% 0% 0%); } 
  100% { clip-path: inset(0% 0% 0% 0%); } 
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }
  to {
      opacity: 1;
    }
  }
@keyframes fadeInUp { 
  from { 
    opacity: 0; 
    top: 420px; /* 開始位置を設定 */ 
    transform: translate(-50%, 0); /* 開始時はX方向のみ中央に */ 
  } 
  to { 
    opacity: 1; 
    top: 400px; /* 終了位置を設定 */ 
    transform: translate(-50%, -50%); /* 最終位置も中央に */ 
  } 
}
@keyframes fadeInFromBottom {
  to {
    opacity: 1; /* アニメーション終了時に完全に表示 */
    transform: translateY(0); /* アニメーション終了時の位置 */
    transform: scale(0.7);
  }
}
@keyframes fadeInUp-txt { 
  0% { opacity: 0; transform: translateY(100%); } 
  100% { opacity: 1; transform: translateY(0); } }


  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateX(+100px); /* 右から表示 */
    }}
  @keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
  }
  
  @keyframes fadeIn_menu {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes animation_news{
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeInOut {
    from {
      opacity: 0;
     
    }
    to {
      opacity: 1;
     
    }
  }
  @keyframes top_status{
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes fadeInFromBottom {
    to {
      opacity: 1; /* アニメーション終了時に完全に表示 */
      transform: translateY(0); /* アニメーション終了時の位置 */
      transform: scale(0.8);
    }
  }
  @keyframes fadeIn {
    to {
        opacity: 1;
    }
  }


  @keyframes scroll-anim {
    from {
      scale: 0 1;
    }
    to {
      scale: 1 1;
    }
  }
  @keyframes FI-2 {
    0% {
      opacity: 0;
      transform: translateY(100px); /* 下から表示 */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* 元の位置に移動 */
    }
  }
  @keyframes fadeIn_2 {
    0% {
      opacity: 1;
      transform: none; 
      
      /* translateX(+100px)：右から表示 */
      /* translateX(-100px)：左から表示 */
      /* translateY(+100px)：下から表示 */
      /* translateY(-100px)：上から表示 */
  
    }
    100% {
      opacity: 0.1;
       /* Transparent */
       transform: translateY(-100px); 
    }
  }

  @keyframes fadeInFromBottom {
    to {
      opacity: 1; /* アニメーション終了時に完全に表示 */
      transform: translateY(0); /* アニメーション終了時の位置 */
      transform: scale(0.7);
      
    }
  }
  @keyframes SP_FFB {
   to {
   opacity: 1;
   transform: translateY(5);
 } 
 }

 @keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes slideinLeft {
  0% {
    transform: translateX(-50px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
p2{
 text-align: center
}

/*ーーーーーーーーーーーーーーーーー*/

.info-service{
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
background-color: #9be15d;
border-radius: 20px;
  text-align: center;
}
.info-service_t{
  font-size: 25px;
  padding: 10px 0px 10px 10px;
}
.info-status{
  padding: 2%;
  width: 100px;
  height: 100px;
}


.title{
  text-align: center;
  animation: fadeInAnime 1s forwards; 
  opacity: 0;
}




.What_is_AGworld{

display: flex;
padding: 12px;
}
.What_is_AG{
  background-image: url(/img/1.png);
  height: auto;
  width: 100%;
  margin-left: 0px;
   background-color: rgba(134, 113, 113, 0.932);
   color: white;
 position: relative;
 text-align: center;

}

.rs_AGworld{
  background: -webkit-linear-gradient(left, #10ff7c, #61c1ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
}
.txt_rs{
  background-color: #00000060;
  margin: 0 auto;
  border-radius: 20px;
}
.rs_1_enjoy{
  font-size: 40px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6)
}
.txt_rs{
  padding: 12px;
  width: 80%;
}
.rs_1{
  font-size: 30px;
  font-weight: bold;
}
.rs_2{
  font-size: 30px;
}
.rs_2_1{
  font-weight: bold;
  font-size: 40px;
}
.rs_3{
  font-size: 35px;
  font-weight: bold;
  background: -webkit-linear-gradient(left, #000000, #ff0000);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.395);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rs_4{
  font-size: 30px;
}
.rs_4_1{
  font-size: 25px;
  opacity: 0.5;
  font-weight: bold;
}
.rs_4_2{
  font-size: 40px;
}
.button_ag_partner{
  z-index: 2;
  padding: 12px;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  background-color: #10ff7c3c;
  width: 600px;
  border-radius: 180px;
  margin: 0 auto;
}
.button_ag_partner:hover{
background-color: #10ff7ca0;
}
details[open] .in-details {
  animation: fadeIn 0.5s ease;
}

.news{
  font-family: Arial, Helvetica, sans-serif;
  margin: auto 0;
  text-align: center;
  justify-content: center;
  font-weight: bold;
  font-size: 40px;
  opacity: 0.8;


 }
.news-bx{
 overflow-x: auto;
animation-fill-mode: both;
text-align: center;
 margin: auto 0;
 display: flex;
 z-index: -1;
 justify-content: center;

 opacity: 0; /* 初期状態で非表示にする */
 transition: opacity 1s ease; /* フェードインのアニメーション */
}

.NEWS{
  display: flex; overflow-x: scroll; overflow-y: hidden; /* 垂直スクロールバーを隠す */ -ms-overflow-style: none; /* IEおよびEdge用 */ scrollbar-width: none; /* Firefox用 */
.card_n{
  display: flex;
  border-radius: 20px;
  background-color: #f2f2f268;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 8px;
  width: 700px;
  img{
    width: 300px;
    height: 300px;
    border-radius: 20px;
    margin: auto auto;
  }
  
  .card_2{
    padding: 12px;
   display: block;
   .txt{
  }
  .txt_2{
    font-size: 25px;
  }

}
}
}
.news-bx:hover{
  animation-play-state: paused;
}
es loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.card1{


 
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  background-color: white;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 -20px 30px -20px rgb(255, 255, 255);
}
.card{
  margin: 20px 20px;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 250px;
  height: 320px;
  border-radius: 16px;
  position: relative;
  transition: all 0.2s;
  font-family: Arial, Helvetica, sans-serif;

  .link{
    position: absolute;
    right: 10px;
    bottom: 0px;
    width: 30px;
    height: 30px;
    background-color: #0000003b;
    border-radius: 16px;
    padding: 12px;
  }
}


.c_title{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.card_p{
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  background-color: white;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 100%) 95%, rgb(0 0 0 / 0%) 100%);
mask-composite: intersect;
  
}


.card:hover{
  transform: translateY(-20px);
  border-radius: 16px;
box-shadow: 0 3px 10px 0 #3ef1f7;
opacity: 0.8;
cursor: pointer;
}




.arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/*ーーーーーーーーーーーー*/
/*Site_common at New*/
/*ーーーーーーーーー*/
/*Site - TOP */
.P_title , .title{
  height: auto;
  z-index: 3;
  filter: drop-shadow(10px 10px 4px #00000052);
  width: 600px; 
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.P_title{
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.P_sub_title , .sub_title {
  background-color: #555555a1;
  color: white;
  font-weight: bold;
  padding: 12px;
  border-radius: 20px; 
  margin: auto;
  text-align: center;
  font-size: 30px;
}
.P_sub_title{
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
}
.notes2{
  font-size: 30px;
  color: white;
}
/* mobile L ~ S */
@media screen and (max-width : 439px){
  .title {
    width: 70%;
    top: 50px;
}
  .P_sub_title , .sub_title {
    width: 90%;
  }
   .Cinfo_card{
    width: 90%;
   }

   .body_B{
    text-align: center;
    justify-content: center;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap : 12px;
    word-wrap: break-word; 
    word-break: break-all;
    li{
      width: 250px;
        border-radius: 180px;
        
    }
    li:hover{
      color: white;
      background-color: rgb(33, 33, 33);
    }
    a , a:visited{
      color: black
    }
  }
  /*addon_all*/
  .addon_card {
    display: none; 
  }
  .addon_card.visible {
    display: block; 
  }
  }

@media screen and (max-width: 529px) {

  .news-bx .card {
    flex: 0 0 100%; 
  }

  /*recruit_section*/
  .rt{
    width: 98%;
    h1{
      width: 99%;
    }
  }
  .info-service{
    display: flex;
    margin: 0 auto;
    padding: 2px;
    width: 92%;
  background-color: #9be15d;
  border-radius: 20px;
    text-align: center;
  }
  .info-service_t{
    font-size: 25px;
  }
  .info-status{
    padding: 2%;
    width: 20%;
    height: 20%
  }

  .top_box_s{
    z-index: 10;
  }
  .bg-color::after {
    content: "";
    background-color: #333; /* 切り替えたい背景色を指定 */
    z-index: -1;
}
  
.What_is_AGworld{

  display: flex;
  
  }
  .What_is_AG{
    
    background-image: url(/img/1.png);
background-position: center; /* 画像の中心を表示 */
background-size: cover; /* 画像を要素全体にフィットさせる */
    height: auto;
    width: 100%;          
    margin-left: -20px;
    margin-left: 0px;
     background-color: rgba(134, 113, 113, 0.932);
     color: white;
   position: relative;
   
  }
  .button_ag_partner{
    padding: 12px;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    background-color: #10ff7c3c;
    width: 90%;
    border-radius: 180px;
    margin-right: auto;
    margin-left: auto;
  }
  .button_ag_partner:hover{
  background-color: #10ff7ca0;
  }
  details[open] .in-details {
    animation: fadeIn 0.5s ease;
  }
  .card1{


 
    padding: 8px;
    flex-direction: column;
    gap: 4px;
    background-color: white;
    border-radius: 0 0 16px 16px;
  
  }
  .card{
    
    margin: 20px 20px;
    box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 250px;
    height: 320px;
    border-radius: 16px;
    position: relative;
    transition: all 0.2s;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .c_title{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
  }
  .card_p{
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    background-color: white;
  }
  
  
  .card:hover{
    transform: translateY(-20px);
    border-radius: 16px;
  box-shadow: 0 3px 10px 0 #3ef1f7;
  opacity: 0.8;
  cursor: pointer;
  }

 
  .title{
    width: 90%;
    margin: 10px auto;
    
  }
  .top_title{
    z-index: -1;
     
     opacity: 0; /* 初めは透明に設定 */
      /* 下からスライドするために位置を下に設定 */
      animation: fade-In 1s forwards; 
   }

  
   
  .How_to_enter_AGworld{
    width: 100%;
    }

  }

  /*media is tablet */
  @media (min-width: 440px) and (max-width: 1024px) {
    .title{
      width: 100%;
      margin: 10px auto;
      
    }
    .sub_title , .P_sub_title{
      width: 80%
    }
  .title{
    width: 80%;
    margin: 30px auto;
    
  }
  .top_title{
    z-index: -1;
     
     opacity: 0; /* 初めは透明に設定 */
      /* 下からスライドするために位置を下に設定 */
      animation: fade-In 1s forwards; 
   }
  .h2_box{width: 100% ;
    background-color: rgba(0, 0, 0, 0.468);
    justify-content: center;
    align-items: center;
   }
  }
  /*tab-mobile*/
  @media screen and (max-width : 984px) {
  
    .sub_title{
      font-size: 20px;
    }
  }

  /*PC or 4K*/
@media (min-width:1025px){
  .How_to_enter_AGworld{
    width: 80%;
    }
  .title{
    width: 40%;
    margin: 30px auto;
    padding: 12px;
  }
 .top_title{
    z-index: -1;
     
     opacity: 0; /* 初めは透明に設定 */
      /* 下からスライドするために位置を下に設定 */
      animation: fade-In 1s forwards; 
   }

   .sub_title , .P_sub_title {
    width: 50%;
   }


   /*recruit_section*/
  .rt{
    width: 90%;
    h1{
      width: 40%;
    }
  }

  .Cinfo_card{
    width: 60%;
  }
  }


/* 開いて実行されるアニメーションを設定*/

.typing-animation {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #000; /* カーソルのアニメーション用 */
  animation: typing 3s steps(40) infinite;
}

/* タイプ入力アニメーション */


.background_pe1{
  z-index: 1;
  
}

p2{
  z-index: 2;
  text-align: center
}

.logo{
 
  width: 10%;
  height: 100%;
  object-fit: contain;
  justify-content: center;
  margin-left: auto;
}
.status{
  width: 10%;
  height: 100%;
  object-fit: contain;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}
p500{
  text-align: center;
}





.s1{
  border-radius: 150px;
  background: lightblue;
  box-shadow: inset 0 0 10px 15px #FFF;
}
  
  p20{
    width: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 30px;
  animation: slideinLeft 3s infinite;
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 100vh;
  background-image: -webkit-gradient(linear, right top, left top, from(#9be15d), to(#00e3ae));
  background-image: -webkit-linear-gradient(right, #9be15d 0%, #00e3ae 100%);
  background-image: linear-gradient(to left, #9be15d 0%, #00e3ae 100%);
  }


 
  .info_card{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  .wrap1{
    display: flex;
    animation: loop-slide 60s infinite linear 1s both;
  }
  .wrap1:hover{
    animation-play-state: paused;
  }

  



  
 
.et1{
  top: 0px;/*自分が固定したい位置(例は上から0pxの位置)*/
  left: 10px;
  position: fixed;
}



/*サイト本文に関するcss
デフォルト : 
font-family: Arial, Helvetica, sans-serif; 
PC-タブレット用css*/



h4,h5{
  
  font-family: Arial, Helvetica, sans-serif;
}




.impossible{
  text-decoration: underline;
}
.possible{
  color: rgb(37, 37, 255);
}

p3{
  text-align: center;
  background-color: #00DBDE;
background-image: linear-gradient(90deg, #00DBDE 0%, #FC00FF 100%);

}

 p3,p4,p5,p6,p7,p8,p9{
  font-family: Arial, Helvetica, sans-serif;
 }


 .How_T{
  margin-left: 2%;
  font-weight: bold;
  font-size: 20px;
  img{
    height: 1.2lh;
    background-color: white;
    border-radius: 10px;
    padding: 2px;
  }
 }

 .How_T2{
  font-size: 20px;
  margin-left: 2%;
  opacity: 0.5;
 }
 .How_c{
  margin-left: 2%;
 }
 .Server-info_1, .Server-info_2{
  font-weight: bold;
}
p11{
  font-size: 20px;
  
  top: 1px;
}
h4{
  top: 20px;
}
p4{

  top: 20px;
}

ul:after{
  content: none;
}


/* アコーディオンメニューの中身のアニメーション */
details[open] .content {
  animation: fadeIn 2.0s ease-in-out;
}


p12{font-family: Arial, Helvetica, sans-serif;
}
.How_c_if1{
 
  opacity: 0.7;
}
.How_c_if1:hover{
  opacity: 1;
  color: #0011ff;
}
.pn_center{
  text-align: center;
  background-color: #000;
}





.fade-in {
  animation: fadeIn 1s ease-out forwards;
}
.scroll-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scroll-element {
  display: inline-block;
  padding: 20px;
  background-color: lightblue;
  transition: transform 1s ease-in-out;
}

.rt{
  background-image: url(/img/background/ag_city6.png);
  position: relative;
  border-radius: 20px;
 
  height: 500px;
  text-align: center;
  margin: auto auto;
  transition: width 0.3s;
  h1{
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    border-radius: 20px;
    color: white;
    padding: 12px;
    background-color: #00000058;
  }
  p1{
    position: absolute;
    top: 120px;
    left: 50%; 
    transform: translateX(-50%);
    font-size: 30px;
    font-weight: bold;
  }
  .button{
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%);
    padding: 12px;
    background-color: #ffffff61;
    border-radius: 180px;
    width: 250px;
    font-size: 30px;
    backdrop-filter: blur(10px); /* 背景のぼかし効果 */
    -webkit-backdrop-filter: blur(10px); /* Safari用のプレフィックス */
  }
  .button:hover{
    background-color: #01ff3c5a;
  }
  img{
    position: absolute;
    top: 220px;
    left: 50%; 
    transform: translateX(-50%);
    width: 400px;
    background-color: #0000004a;
    padding: 12px;
    border-radius: 20px;
  }
}


.fade-element { padding: 20px;  
  text-align: center; 
  transition: opacity 0.5s ease;  position: relative; 
} 
.fade-element.hidden { 
  opacity: 0; 
  visibility: hidden; 
 }
 .hide-button {
  background: none;
  border: none;
  font-size: 30px; 
  cursor: pointer;
  color: #000; 
  position: absolute;
  top: 10px;  
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.fade-in {
  animation: fadeInAnime 1s ease-out forwards;
  visibility: visible;
}



      /*スクロールイベントの監視*/
      .hidden{
        opacity: 0;
        visibility: hidden;
      }
      .S1{
        animation: fadeInAnime 1s ease-out;
      }
      .S2{
        animation: fadeInAnime 1s forwards;
        opacity: 1;
      }
      .FE_up-txt{
        animation : fadeInUp-txt 1s forwards
      }



      /*Site-info*/
      iframe {
        display: block;
        border: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
      }
      /*footer*/
      @import url(/SA/footer.css);

      /*language-switching - site-menu*/
      .ls{
        display: flex;
        align-items: center; 
        gap: 12px;
        justify-content: center;
        text-align: center;
      }
      .ls img{
        text-align: center;
        width: 50px;
      }
      .ls_t{
        align-items: center;
      }
      .ls_t a , .ls_t a:visited{
        color: black;
      }
      .ls_t a:hover{
        color: #0000ff;
      }

      .Cinfo_card{
        margin: auto;
        background-color: rgb(219, 219, 219);
        border-radius: 20px;
        padding: 12px;
        font-size: 20px;
        .Ctitle{
          font-size: 25px;
          font-weight: bold;
        }
        /*buttons*/
        .bn_2{
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            list-style: none;
            justify-content: center;
            li{
              border-radius: 20px;
              padding: 12px;
              border: 2px solid #0000007d;
            }
            li:hover{
              background-color: #0000007d;
              color: white;
            }
        }
      }
      .Ccn{
        font-weight: bold;
      }
      .Ccn2{
        font-weight: bold;
        text-decoration: underline;
      }
      .Ctb{
        width: auto; 
        border-collapse: collapse;
      }
      .notes{
        font-size: 20px;
        text-align: left;
      }

      .info_txt{
        font-size: 20px;
        padding: 12px;
        background-color: rgba(255, 255, 255, 0.568);
        border-radius: 180px;
      }


      /*Latest Code*/
      .Sfade {
        opacity: 0;
        transition: opacity 1s ease-in-out;
      }
      
      .Sfade-visible {
        opacity: 1;
      }
      .Sfade2 {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
      }
      
      .Sfade2-visible {
        opacity: 1;
        transform: translateY(0);
      }

      /*menu-tab _ mobile*/
@media screen and (max-width: 768px) {
  .Nmenu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 70px;
    right: -100%;
    background-color: white;
    z-index: 99;
    transition: right 0.3s ease;
  }

  #menu-toggle:checked ~ .hamburger-menu + .Nmenu {
    right: 0;
    display: flex;
  }

  .Nmenu a {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .hamburger-menu {
    display: flex;
  }
}

/*Click-warp_TOP_BN*/
#click_warp{
  display: none;
  position: fixed;
  bottom: 70px;
  right: 0px;
  z-index: 1500;
  background-color: #00000062;
  color: #fff;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 20px 0px 0px 20px;
  font-size: 25px;
}

/* スマホ (最大幅: 767px) */
@media (max-width: 767px) {
    .Nmenu , .menu_logo{display: none;}
    .s_menu_logo{
      height: 60px;
    }
    .partner-logo {
      display: none;
    }
    
    /* ハンバーガーメニューを右上に配置 */
    .top {
      position: absolute;
      top: 0;
      right: 0;
      margin: 15px 20px;
    }
    
    .hamburger-menu {
      display: flex;
    }
  
    .Nmenu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 0;
      z-index: 99;
    }
  
    .Nmenu li {
      padding: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      width: 100%;
      text-align: center;
    }
  
    #menu-toggle:checked ~ .Nmenu {
      display: flex;
    }
}

/* タブレット (768px ~ 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .s_menu_logo{display: none;}
    .Nmenu {
        display: flex;
        flex-direction: row;
    }
    .sub_title{
      font-size: 30px;
    }
}

/* パソコン (1025px ~ 1920px) */
@media (min-width: 1025px) and (max-width: 1920px) {
  .s_menu_logo{display: none;}
    .Nmenu {
        display: flex;
        flex-direction: row;
    }
}

/* テレビ (1921px以上) */
@media (min-width: 1921px) {
  .s_menu_logo{display: none;}
    .Nmenu {
        display: flex;
        flex-direction: row;
    }
}

.cy{
  opacity: 0.5;
}

  /* メンテナンス通知のスタイル改善 */
.top_info2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 200, 0, 0.2);
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: height 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
    height: auto;
    overflow: hidden;
}

.top_info2 img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.top_info2 a {
    color: #ffcc00;
    text-decoration: underline;
}

.top_info2 a:hover {
    color: #ffdd33;
}

/* 閉じるボタン */
.close-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0 8px;
    line-height: 1;
}

.close-button:hover {
    color: white;
}

/* 閉じた状態 */
.top_info2.closed {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    pointer-events: none;
}