/* .title rules have been consolidated into `css/F/common.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;
}

.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);
  }
}



.cn {
  text-align: center;
}

/* ページ全体のh1スタイル */
h1 {
  text-align: center;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

p2 {
  font-size: 30px;
  font-weight: bold;
  color: aliceblue;
  text-shadow: 2px 2px 3px #030560;
}

.es_title {
  font-weight: bold;
  font-size: 20px;
}
.All_section2{
  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 h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
}
.All_section2 p {
  font-size: 25px;
  font-weight: bold;
}
.All_section {
   background-size: cover;
  background-position: center;
  width: 100%; 
  height: auto;
  margin-left: 0;
  margin-right: 0; 
  text-align: center;
  padding: 60px 0; /* 上下のパディングを追加 */
  position: relative; 
}

/* 内部コンテンツを中央に配置するコンテナ（統合版） */
.All_section .section-content {
  position: relative;
  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;
  pointer-events: none;
}

.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;
}

/* h2サブタイトルのスタイル */
.sub_title {
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.notes2 {
  font-size: 20px;
  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/city.png);
}

.AG-Developer_section {
  background-image: url(/img/background/city39.png);
}




.top_sd{
  background-image: url(/img/background/city14.png);
  background-position: 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%;
  height: 80%;
}
/*スマートフォン向け*/
@media screen and (max-width: 768px) {
  .All_section {
    padding: 40px 0; /* モバイルでは上下のパディングを少なく */
  }
  
  .sub_title {
    font-size: 20px;
  }
  
  .notes2 {
    font-size: 20px;
  }
  
  .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;
  }



  .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{
    background-attachment: fixed;
  }

  .title_logo {
    width: 550px;
    padding: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  }

  .music {
    width: 90%;
    height: 130vh;
  }



 
  .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;
  }
}



.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 {
  color: white;
  text-align: center;
}
.section_1 ol{
  font-size: 20px;
}
.section_1 .catch-copy {
  font-size: 30px;
  font-weight: bold;
}

/* AG-Partner概要セクション */
.overview-section {
  background: linear-gradient(135deg, rgba(57, 87, 169, 0.15) 0%, rgba(57, 169, 160, 0.15) 100%);
  padding: 60px 20px;
  margin-bottom:60px ;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.overview-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.overview-content h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overview-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.overview-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.highlight-item:hover {
  transform: translateY(-5px);
  background: rgba(57, 87, 169, 0.25);
  border-color: rgba(57, 169, 160, 0.4);
  box-shadow: 0 8px 25px rgba(57, 169, 160, 0.3);
}

.highlight-item i {
  font-size: 40px;
  color: rgba(57, 169, 160, 0.9);
  margin-bottom: 15px;
  display: block;
}

.highlight-item img {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  border-radius: 20px;
}

.highlight-item h3 {
  color: white;
  font-size: 22px;
  font-weight: 600;
  margin: 15px 0 10px 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.highlight-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* 統計表示 */
.overview-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: rgba(0, 255, 234, 0.95);
  text-shadow: 0 0 20px rgba(57, 169, 160, 0.5);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 活動内容セクション */
.activity-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 60px 20px;
  margin: 40px 0;
}

.section-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

  .section-description {
    font-size: 18px;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.activity-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 35px 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
}

.activity-card:hover {
  transform: translateY(-8px);
  background: rgba(57, 87, 169, 0.2);
  border-color: rgba(57, 169, 160, 0.4);
  box-shadow: 0 10px 30px rgba(57, 169, 160, 0.3);
}

.activity-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(57, 87, 169, 0.4) 0%, rgba(57, 169, 160, 0.4) 100%);
  border-radius: 50%;
}

.activity-icon i {
  font-size: 36px;
  color: white;
}

.activity-card h3 {
  color: white;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.activity-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

/* メリットセクション */
.benefits-section {
  padding: 60px 20px;
  margin: 40px 0;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(57, 87, 169, 0.15);
  border-color: rgba(57, 169, 160, 0.3);
  transform: translateX(10px);
}

.benefit-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(57, 169, 160, 0.7);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}

.benefit-content h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.benefit-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .overview-section {
    padding: 40px 15px;
    margin: 20px 0;
  }
  
  .overview-content h2 {
    font-size: 28px;
  }
  
  .overview-description {
    font-size: 18px;
    line-height: 1.7;
  }
  
  .overview-stats {
    gap: 40px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 28px;
  }


  .activity-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .benefit-number {
    font-size: 36px;
    min-width: auto;
  }
  
  .benefit-item:hover {
    transform: translateX(5px);
  }
  
  .overview-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .highlight-item {
    padding: 25px 15px;
  }
  
  .highlight-item i {
    font-size: 35px;
  }
  
  .highlight-item h3 {
    font-size: 20px;
  }
  
  .highlight-item p {
    font-size: 15px;
  }
}


/* スマホ (最大幅: 767px) */
@media (max-width: 767px) {
    .title_logo {
        width: 90%;
        height: auto;
    }
    .learn {
        font-size: 20px;
        width: 80%;
    }
}

/* タブレット (768px ~ 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .learn {
        font-size: 25px;
        width: 70%;
    }
}

/* パソコン (1025px ~ 1920px) */
@media (min-width: 1025px) and (max-width: 1920px) {
    .learn {
        font-size: 30px;
        width: 50%;
    }
}

/* テレビ (1921px以上) */
@media (min-width: 1921px) {
    .learn {
        font-size: 35px;
        width: 40%;
    }
}


.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 h3 {
    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 h3 {
    font-size: 22px;
  }
  
  .ag-pay-features span {
    font-size: 12px;
  }
  
  .ag-pay-cta {
    width: 100%;
    margin-top: 15px;
  }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(57, 87, 169, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(57, 169, 160, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(57, 169, 160, 0.1);
}

.faq-question > i.fa-question-circle {
    font-size: 24px;
    color: rgba(57, 169, 160, 0.9);
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.faq-toggle {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: rgba(57, 169, 160, 0.9);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 69px;
}

.faq-answer p {
    color:white;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px;
        gap: 12px;
    }

    .faq-question > i.fa-question-circle {
        font-size: 20px;
    }

    .faq-question h3 {
        font-size: 18px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p {
        font-size: 15px;
        line-height: 1.7;
    }
}