@import url('/css/F/Partner_menu.css');

body {
  background: linear-gradient(135deg, #808080, #A9A9A9, #808080);
}
.home_tab {
  text-align: center;
  padding-left: 20px;
  display: flex;
}

.Home {
  font-size: 20px;
  color: white;
}

.top_icon {
  width: 30px;
}

.menu_logo {
  padding-top: 5px;
  padding-left: 20px;
  height: 50px;
}

.AGworld-Site {
  top: 5px;
  right: 10px;
  position: fixed;
}

.link_logo {
  width: 50px;
  height: 50px;
}

.info {
  opacity: 0.7;
  text-align: center;
  font-size: 20px;
  color: white;
}


/*AG-Partner_design*/
.summary_partner {
  margin-left: 2%;
  margin-right: 5%;
  font-weight: bold;
  color: white;
}




.icon {
  margin-left: 2%;
  margin-top: 0.5%;
  width: 40px;
  height: auto;
  background-color: aliceblue;
  border-radius: 180px;
}

.icon_1 {
  margin-left: 2%;
  margin-top: 0.5%;
  width: 150px;
  height: auto;
}

.icon_g {
  margin-left: 17%;
  width: 30px;
  height: 30px;
  border-radius: 180px;
}

.work_or {
  margin-top: 5%;
  margin-bottom: auto;
  font-size: 20px;
  display: flex;
}

/*top_button*/
/*top_sd_bx*/
.top_sd_bx {
  list-style: none;
  justify-content: center;
  text-align: center;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  li {
    margin: 0 auto;
    text-align: center;
    background-color: rgba(57, 87, 169, 0.701);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 200px;
    padding: 12px;
    border-radius: 180px;
    font-size: 20px;
    transition: transform 0.5s ease;
  }
  li:hover {
    transform: scale(1.1);
    background-color: rgba(57, 169, 160, 0.701);
  }
}

.top_sd .cn .title {
  z-index: -1;
}

.cn {
  text-align: center;
}

h1 {
  text-align: center;
  color: aliceblue;
}

p2 {
  font-size: 30px;
  font-weight: bold;
  color: aliceblue;
  text-shadow: 2px 2px 3px #030560;
}

.es_title {
  font-weight: bold;
  font-size: 20px;
}

h2 {
  text-align: center;
  background-color: bisque;
  border-radius: 180px;
}
.All_section2{
  background-color: #718ace;
  color: white;
  font-size: 20px;
  background-size: cover;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 90%;
  height: auto;
  padding: 12px;
}
.All_section2 p {
  font-size: 25px;
  font-weight: bold;
}
.All_section2 h5 {
font-size: 35px;
}
.All_section {
   background-size: cover;
  background-position: center;
  width: 100%; /* 90%から100%に変更 */
  height: auto;
  border-radius: 0; /* 角丸を削除 */
  margin-left: 0; /* 余白をなくす */
  margin-right: 0; /* 余白をなくす */
  text-align: center;
  font-family: "M PLUS Rounded 1c", serif;
  transition: opacity 1s ease-in-out, transform 0.3s ease;
  padding: 60px 0; /* 上下のパディングを追加 */
  position: relative; 
}

/* 内部コンテンツを中央に配置するコンテナを追加 */
.All_section .section-content {
  max-width: 1200px; /* コンテンツの最大幅を設定 */
  margin: 0 auto; /* 左右の余白を自動で中央揃え */
  padding: 0 20px; /* 小さい画面でも左右に余白を確保 */
}

/* ホバー効果を修正（全幅でスケールすると不自然なため） */
.All_section:hover {
  transform: none; /* スケール効果は削除 */
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2); /* 代わりにシャドウを追加 */
}

/* 背景オーバーレイを追加して背景画像を暗くし、テキストを読みやすく */
.All_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒オーバーレイ */
  z-index: 0;
}

/* セクション内の全要素を相対配置に */
.All_section * {
  position: relative;
  z-index: 1; /* 背景オーバーレイより前に表示 */
}

.title_logo {
  max-width: 400px; /* 大きすぎないように制限 */
  width: 90%; /* スマホでも適切なサイズに */
}
/* セパレーターの代わりに使えるスタイリッシュな区切り線 */
.section-divider {
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(57, 87, 169, 0.3), transparent);
  margin: 0;
  border: none;
}

/* ボタンのスタイルを改善 */
#normal_bn {
  background: linear-gradient(135deg, #3957a9, #3957a9cc);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(57, 87, 169, 0.3);
}

#normal_bn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(57, 87, 169, 0.5);
}

/* セクションタイトルをより目立たせる */
.sub_title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.notes2 {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.AGworld_section {
  background-image: url(/img/background/2/ag_city.png);
}

.AG-Developer_section {
  background-image: url(/img/background/2/ag_city24.png);
}




.top_sd{
  background-image: url(/img/background/2/ag_city28.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, black 98%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  padding-bottom: 150px;
  width: 100%;
}
/*スマートフォン向け*/
@media screen and (max-width: 768px) {
  .All_section {
    padding: 40px 0; /* モバイルでは上下のパディングを少なく */
  }
  
  .sub_title {
    font-size: 20px;
  }
  
  .notes2 {
    font-size: 16px;
  }
  
 
  .top_sd .cn .title {
    width: 98%;
    height: auto;
    animation: SP_FFB 1s forwards;
    opacity: 0;
  }
  .title_logo {
    width: 90%;
    height: auto;
    padding: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  }

  .link_b {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 12px;
    width: 300px;
    border-radius: 120px;
    transition: transform 0.5s ease;
    font-size: 20px;
  }

  .icon_cb_home {
    width: 50px;
    height: 50px;
    margin-left: 2%;
    background-color: white;
    border-radius: 180px;
    align-items: center;
  }

  .top_icon {
    z-index: 5;
    background-color: rgb(255, 255, 255);
    width: 10%;
    height: auto 10px;
    border-radius: 20px;
  }

  .work_card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu_logo {
    display: none;
  }

  .control_A {
    z-index: 2;
    position: fixed;
    display: flex;
    border-radius: 180px;
    background-color: rgb(152, 152, 152);
    width: 50%;
    height: 5%;
  }

 

  .learn {
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 180px;
    background-color: white;
    width: 80%;
    height: 10%;
    transition: transform 0.5s ease;
  }

  .learn:hover {
    transform: scale(1.2);
  }

  .learn_2 {
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 180px;
    background-color: white;
    width: 80%;
    height: 3%;
    transition: transform 0.5s ease;
  }

  .learn_2:hover {
    transform: scale(1.2);
  }

  .es_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .es_voice {
    justify-content: center;
    margin-left: 2%;
    margin-top: 2%;
    border-radius: 20px;
    width: 40%;
    height: 20%;
    background: linear-gradient(to right, #2af598 0%, #009efd 100%);
    flex-grow: 1;
    flex-basis: 200;
  }

  .es_title {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
  }

  
}

@media (min-width: 769px) {
  .top_sd .cn .title {
    width: 800px;
    height: auto;
    animation: fadeInFromBottom 1s forwards;
    opacity: 0;
  }

  .title_logo {
    width: 550px;
    padding: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  }

  .music {
    width: 90%;
    height: 130vh;
  }

  .s_menu_logo {
    display: none;
  }

 
  .control_A {
    position: fixed;
    display: flex;
    border-radius: 180px;
    background-color: rgb(152, 152, 152);
    width: 50%;
    height: 5%;
  }


  .learn {
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 180px;
    background-color: white;
    width: 350px;
    height: 10%;
    transition: transform 0.5s ease;
  }

  .learn:hover {
    transform: scale(1.2);
  }

  .learn_2 {
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 180px;
    background-color: white;
    width: 30%;
    height: 3%;
    transition: transform 0.5s ease;
  }

  .learn_2:hover {
    transform: scale(1.2);
  }

  .es_box {
    display: flex;
    flex-wrap: wrap;
  }

  .es_voice {
    margin-left: 2%;
    margin-top: 2%;
    border-radius: 20px;
    width: 30%;
    height: 20%;
    background: linear-gradient(to right, #2af598 0%, #009efd 100%);
  }
}

.site_info {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.site_info_box {
  width: 100%;
  width: 100vw;
}

.pn_center {
  text-align: center;
  background-color: #000;
}

.copyright {
  opacity: 0.7;
  color: rgb(0, 0, 0);
}

@keyframes scroll-anim {
  from {
    scale: 1 1;
  }
  to {
    scale: 2 2;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 1; /* Transparent */
    transform: translateX(+100px);
    /* translateX(+100px)：右から表示 */
    /* translateX(-100px)：左から表示 */
    /* translateY(+100px)：下から表示 */
    /* translateY(-100px)：上から表示 */
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

@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 rainbow-glow {
  0% {
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff7f00, 0 0 30px #ffff00, 0 0 40px #00ff00, 0 0 50px #0000ff, 0 0 60px #4b0082, 0 0 70px #8b00ff;
  }
  50% {
    box-shadow: 0 0 20px #ff0000, 0 0 30px #ff7f00, 0 0 40px #ffff00, 0 0 50px #00ff00, 0 0 60px #0000ff, 0 0 70px #4b0082, 0 0 80px #8b00ff;
  }
  100% {
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff7f00, 0 0 30px #ffff00, 0 0 40px #00ff00, 0 0 50px #0000ff, 0 0 60px #4b0082, 0 0 70px #8b00ff;
  }
}

/*AG-music*/
@keyframes scaleDown {
  from {
    transform: scale(1.2); /* 大きい状態 */
  }
  to {
    transform: scale(1); /* 元のサイズ */
  }
}

.title_logo {
  transition: transform 1s ease-in-out;
  opacity: 0;
}
.title_logo.animate {
  animation: fadeInAnime 1s forwards;
}

.subtitle_1a {
  font-weight: bold;
  font-size: 40px;
  color: aliceblue;
  text-shadow: 2px 2px 3px #000000;
}

.button_bar {
  display: flex;
  column-gap: 24px;
  justify-content: center;
}

.link_b {
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  padding: 12px;
  max-width: 500px;
  border-radius: 120px;
  transition: transform 0.5s ease;
  font-size: 30px;
}

.link_b:hover {
  transform: scale(1.2);
  border-radius: 20px;
}

/* フェードインのアニメーション */

.hidden {
  opacity: 0;
  filter: blur(5px);
}

.visible {
  opacity: 1;
  filter: blur(0);
}
/*New-UI*/
.ls {
  gap: 12px;
  justify-content: center;
  text-align: center;
  display: flex;
}
.ls img {
  text-align: center;
  width: 50px;
}
.ls p {
  text-align: center;
  color: white;
}
.ls_t a:hover {
  text-decoration: none;
  color: white;

  text-shadow: 2px 2px 3px #000000;
}

.section_1 {
  text-align: center;
}
.section_1 ol{
  font-size: 20px;
}


/* スマホ (最大幅: 767px) */
@media (max-width: 767px) {
    .top_sd .cn .title {
        width: 98%;
        height: auto;
    }
    .title_logo {
        width: 90%;
        height: auto;
    }
    .learn {
        font-size: 20px;
        width: 80%;
    }
}

/* タブレット (768px ~ 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .title {
        width: 80%;
    }
    .learn {
        font-size: 25px;
        width: 70%;
    }
}

/* パソコン (1025px ~ 1920px) */
@media (min-width: 1025px) and (max-width: 1920px) {
    .title {
        width: 60%;
    }
    .learn {
        font-size: 30px;
        width: 50%;
    }
}

/* テレビ (1921px以上) */
@media (min-width: 1921px) {
    .title {
        width: 50%;
    }
    .learn {
        font-size: 35px;
        width: 40%;
    }
}

/* AG-Pay バナー - 横幅いっぱいのデザイン */
.ag-pay-banner {
  width: 100%;
  margin: 40px 0;
  background: linear-gradient(135deg, #101e36 0%, #050914 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 196, 255, 0.3);
  border-bottom: 1px solid rgba(0, 196, 255, 0.3);
}

.ag-pay-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url('/img/background/ag_city5.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.ag-pay-banner-content {
  display: flex;
  align-items: center;
  padding: 30px 5%;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.ag-pay-banner-image {
  position: relative;
  min-width: 140px;
  margin-right: 30px;
}

.ag-pay-banner-image img {
  width: 280px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(0, 196, 255, 0.5));
}

.ag-pay-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 196, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
}

.ag-pay-banner-text {
  flex: 1;
  padding: 0 20px;
}

.ag-pay-banner-text h2 {
  color: #ffffff;
  font-size: 28px;
  margin: 0 0 10px 0;
  font-weight: 700;
  text-align: left;
  background: none;
  border-radius: 0;
}

.ag-pay-banner-text .highlight {
  color: #00c4ff;
  position: relative;
}

.ag-pay-banner-text .highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00c4ff, transparent);
}

.ag-pay-banner-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0 0 15px 0;
}

.ag-pay-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.ag-pay-features span {
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 196, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 196, 255, 0.2);
}

.ag-pay-features span i {
  margin-right: 6px;
  color: #00c4ff;
}

.ag-pay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00c4ff 0%, #7700ff 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 20px;
  box-shadow: 0 2px 15px rgba(0, 196, 255, 0.3);
}

.ag-pay-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 196, 255, 0.5);
  color: #ffffff;
}

.ag-pay-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.ag-pay-cta:hover i {
  transform: translateX(4px);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .ag-pay-banner-content {
    flex-wrap: wrap;
    padding: 25px 5%;
  }
  
  .ag-pay-banner-image {
    margin: 0 auto 20px;
  }
  
  .ag-pay-banner-text {
    text-align: center;
    padding: 0;
  }
  
  .ag-pay-banner-text h2 {
    text-align: center;
    font-size: 24px;
  }
  
  .ag-pay-features {
    justify-content: center;
  }
  
  .ag-pay-cta {
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .ag-pay-banner::before {
    width: 100%;
  }
  
  .ag-pay-banner-content {
    flex-direction: column;
    padding: 20px 15px;
  }
  
  .ag-pay-banner-text h2 {
    font-size: 22px;
  }
  
  .ag-pay-features span {
    font-size: 12px;
  }
  
  .ag-pay-cta {
    width: 100%;
    margin-top: 15px;
  }
}