/*2025 ©AG-Partner All rights reserved*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');
@import url('/css/ls_template.css');
/*AGworld's overall site structure*/
/*このサイトは、主にAG-Partnerの長文などで使用*/

/* 基本設定：横スクロール防止とレスポンシブ対応 */
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body{
    font-family: "M PLUS Rounded 1c", serif;
    overflow-x: hidden;
    cursor: pointer;
    padding-top: 60px;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    box-sizing: border-box;
  }
  a {
    color: #2351ff; 
    text-decoration: none; 
    transition: all 0.3s ease;
  }
  
  a:visited {
    color: #3e6b00;
  }
  
  a:hover {
    opacity: 0.8; 
    text-decoration: underline;
    color: #0032d6;
  }
  
  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;
  }
  /*ーーーーーーー*/
/*site-button_menu_mini*/
.menu_mini{
    z-index: 1000;
    position: fixed;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    .menu_mini li:not(:nth-child(1)){
        padding: 12px;
    }
    .menu_mini li {
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 20px;
        -webkit-backdrop-filter: blur(10px); /* Safari用のプレフィックス */
        backdrop-filter: blur(10px); /* 背景のぼかし効果 */
        background-color: rgba(255, 255, 255, 0.85);
        transition: all 0.3s ease;
    }
    
    .menu_mini li img {
        height: 30px;
        padding: 12px 12px 2px 12px;
    }
    
    .menu_mini li:hover{
        border: 1px solid rgb(0, 136, 255);
        background-color: rgba(240, 248, 255, 0.95);
        transform: translateY(-2px);
    }
    .menu_mini .a {
        list-style: none;
        display: flex;
        column-gap: 12px; 
    }

body{
    margin-top: 0px;
}
.logo_p{
    width: 30%;
    display: block;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo_p:hover {
    transform: scale(1.02);
}

section{
    display: block;
    font-size: 20px;
    margin: 40px auto;
    width: 80%;
    max-width: 100%;
    line-height: 1.6;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ルールセクションのスタイル改善 */
section h2 {
    color: #2600ff;
    border-bottom: 2px solid #2600ff;
    padding-bottom: 8px;
    margin-top: 30px;
    font-size: 24px;
}

section ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

section ul li strong {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 21px;
}

section ul li ul {
    margin-top: 8px;
    margin-left: 25px;
    margin-bottom: 15px;
}

section ul li ul li {
    margin-bottom: 8px;
    list-style: disc;
    padding-left: 5px;
}

section ul li ul li:before {
    display: none;
}

.info_top{
    border-radius: 20px;
    padding: 25px 20px;
    margin: 30px auto;
    width: 85%;
    max-width: 100%;
    text-align: center;
    font-size: 25px;
    background: linear-gradient(to right, #2600ff25, #2600ff45, #2600ff25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #2600ff;
    border-right: 5px solid #2600ff;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info_top h1 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #222;
    font-size: 32px;
}

.info_top hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(38, 0, 255, 0.5), transparent);
    margin: 15px auto;
    width: 70%;
}

.info_card {
    margin: 25px auto;
    text-align: left;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2600ff;
    width: 80%;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info_card .info_title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2600ff;
    border-bottom: 2px solid #2600ff;
    padding-bottom: 8px;
    display: block;
}

.info_card ul {
    padding-left: 20px;
}

.info_card ul li {
    margin-bottom: 8px;
    position: relative;
    list-style: disc;
}

.info_card p5{
    font-size: 20px;
    line-height: 1.6;
}

.information{
    background-color: #f0f0f0;
    padding: 25px 15px;
    width: 100%;
    max-width: 100vw;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.information .info-title {
    font-size: 30px;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    color: #333;
}

.information .link{
    overflow-x: auto; /* 水平方向にスクロールを許可 */
    white-space: nowrap;
    list-style: none;
    display: flex;
    gap: 30px;
    font-size: 20px;
    text-align: center;
    justify-content: center;
    padding: 15px 0;
}

.information .link a li {
    padding: 12px 20px;
    background-color: rgba(34, 0, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 0, 255, 0.2);
}

.information .link a li:hover {
    opacity: 0.9;
    background-color: rgba(34, 0, 255, 0.25);
    transform: translateY(-2px);
}

.top_t_box{
    background: linear-gradient(135deg, #1c71d8, #28a745);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.top_t_box .last-updated {
    font-size: 20px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}


/*Click-warp_TOP_BN*/
#click_warp{
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 1500;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

#click_warp:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}

@media screen and (max-width: 967px){
    /* 基本的な横スクロール防止の強化 */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0;
        padding: 0;
    }

    .menu_mini_info{display: none }
    .menu_mini{
        bottom: 0; /* 画面の下部に配置 */
        left: 50%; /* 水平方向の中央に配置 */
        transform: translateX(-50%); 
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 20px 20px 0 0;
        box-sizing: border-box;
        .a{
            overflow-x: auto;
            padding: 10px 15px;
            justify-content: center;
            li{
                white-space: nowrap;
            }
        }
        
    }
    
    /* ヘッダーバナーをスマホ版でも横いっぱいに */
    .header-banner {
        width: 100vw !important;
        height: 300px;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .logo_p{
        width: 85%;
        padding: 15px;
    }
    .top_t_box{
        padding: 15px;
        width: 85%;
        box-sizing: border-box;
    }
    section{
        width: 90%;
        max-width: 100%;
        padding: 20px 15px;
        margin: 20px auto;
        box-sizing: border-box;
    }
    .info_card {
        width: 90%;
        max-width: 100%;
        padding: 20px 15px;
        margin: 20px auto;
        box-sizing: border-box;
    }
    .language-menu{
        bottom: 70px;
        width: 140px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    .language-menu ul{
        display: flex;
        column-gap: 12px;
    }
    h1{
        font-size: 25px;
    }
    .info_top{
        font-size: 18px;
        width: 85%;
        padding: 20px 15px;
    }
    section ul li strong {
        font-size: 19px;
    }
    section h2 {
        font-size: 22px;
    }
}

@media screen and (min-width: 968px){
    .top_t_box{
        padding: 20px;
        margin: 0 auto;
        border-radius: 20px;
        width: 450px;
        box-sizing: border-box;
    }
    .menu_mini{
        right: 20px;
        top: 20px;
    }
    
    /* デスクトップ版でもヘッダーバナーを横いっぱいに */
    .header-banner {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    .language-menu{
        top : 80px;
        right: 180px;
        width: 140px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    .language-menu ul {
        display: flex;
        column-gap: 12px;
        padding: 5px;
    }
    .language-menu ul li a {
        padding: 6px 12px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    .language-menu ul li a:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
}

/*ーーinformation_tabーー*/
.info_card h1{
    font-size: 26px;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 0;
    color: #1a1a1a;
}
.info_card p{
    font-size: 19px;
    padding-left: 12px;
    padding-right: 12px;
    line-height: 1.6;
    color: #333;
}
.info_card a:hover {
    border-bottom: 2px solid #2600ff;
}
.info_r{
    color: #2600ff;
    font-size: 20px;
    font-weight: 500;
}

.language-menu {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: fixed;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px); /* Safari用のプレフィックス */
    backdrop-filter: blur(10px); /* 背景のぼかし効果 */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    z-index: 1000;
    pointer-events: none; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.language-menu.show {
    opacity: 1;
    pointer-events: auto; /* 表示時にクリックを有効にする */
}

.language-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-menu ul li {
    margin: 5px 0;
}

.language-menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-menu ul li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #2600ff;
}

/* 既存のCSS部分を残して、以下を追加または変更 */

/* ヘッダーセクションのスタイル - 横いっぱい表示 */
.header-banner {
  width: 100vw;
  height: 400px;
  background-image: url('/img/background/2/ag_city_12.png'); /* 背景画像のパスを実際のものに変更してください */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  left: 0;
  right: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.header-banner .logo-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-banner .logo {
  width: 450px;
  margin-bottom: 15px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.header-banner .logo:hover {
  transform: scale(1.05);
}

.header-banner .title {
  font-size: 36px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin-top: 15px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-banner .subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-banner .divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #2600ff, #4d7bff);
  margin: 15px auto;
  border-radius: 3px;
  position: relative;
  z-index: 2;
}

/* レスポンシブデザイン調整 */
@media screen and (max-width: 967px){
  .header-banner {
    height: 300px !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
  
  .header-banner .logo {
    width: 180px;
  }
  
  .header-banner .title {
    font-size: 28px;
  }
  
  .header-banner .subtitle {
    font-size: 16px;
  }
  
  /* 既存のレスポンシブスタイル */
  /* ... */
}

/* 既存の.logo_pスタイルを変更（削除しないで修正） */
.logo_p {
  display: none; /* 元のロゴを非表示にする */
}

/* 既存の.top_t_boxスタイルを変更（削除しないで修正） */
.top_t_box {
  display: none; /* 元のタイトルボックスを非表示にする */
}