/*AGworld's overall site structure*/

 /*©2025 AG-All,AGworld 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の長文などで使用*/
:root {
  --primary-color: #2b6cb0;
  --primary-light: #3182ce;
  --primary-dark: #2c5282;
  --accent-color: #38b2ac;
  --text-color: #2d3748;
  --light-gray: #f7fafc;
  --gray: #e2e8f0;
  --border-radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

body{
    font-family: "M PLUS Rounded 1c", serif;
  overflow-x: hidden;
  line-height: 1.6;
  color: var(--text-color);
  padding-top: 70px;
  margin: 0;
  width: 100%;
  background-color: #f9fafb;
}

a {
  color: var(--primary-color);
  text-decoration: none; 
  transition: var(--transition);
}

a:visited {
  color: var(--primary-dark);
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}
    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;
  }
  
  /* 基本的なタイポグラフィ設定 */
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  p {
    margin-top: 0;
    margin-bottom: 1rem;
  }  /*ーーーーーーー*/
/*site-button_menu_mini*/
.menu_mini{
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
}
.menu_mini li.active {
    background-color: rgba(43, 108, 176, 0.1);
    border-radius: 15px;
}

.menu_mini li.active a {
    color: var(--primary-color);
    font-weight: bold;
}
.logo{
    background-color: #2d374896;
    border-radius: 20px;
    height: 30px;
    padding: 12px;
}
.menu_mini .a {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.menu_mini li {
    margin: 0 10px;
}
.menu_mini li:not(:nth-child(1)) {
    padding: 8px 15px;
}
.menu_mini li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}
.menu_mini li a:hover {
    color: var(--primary-color);
}
.menu_mini li img {
    height: 24px;
    vertical-align: middle;
}
.ls_s {
    cursor: pointer;
}

.top_logo {
    background-image: url('/img/background/ag_city6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-radius: 20px;
    position: relative;
}

.top_logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 82, 130, 0.8), rgba(44, 82, 130, 0.6));
    border-radius: 20px;
    z-index: 1;
}

.logo_p {
    width: 350px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 18px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}
section1{
    display: block;
    font-size: 20px;
    margin: auto;
    width: 80%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.info_top{
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    text-align: center;
    font-size: 1.1rem;
    background-color: rgba(49, 130, 206, 0.1);
    color: var(--text-color);
    box-shadow: var(--shadow);
}
.info_card {
    margin: 20px auto;
    text-align: left;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    width: 90%;
}
.info_card .info_title{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}
.info_card p5{
    font-size: 1rem;
    display: block;
    margin-bottom: 1rem;
}
.info_card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.info_card ul li {
    margin-bottom: 0.5rem;
    position: relative;
}
.info_card hr {
    border: 0;
    height: 1px;
    background-color: var(--gray);
    margin: 1.5rem 0;
}

.information{
    background-color: rgb(219, 219, 219);
    padding-top: 15px;
    padding-bottom: 15px;
    width: 102%;
    text-align: center;
}
.information h10{
    font-size: 30px;
    font-weight: bold;
}
.information .link{
    overflow-x: auto; /* 水平方向にスクロールを許可 */
    white-space: nowrap;
    list-style: none;
    display: flex;
    gap: 30px;
    font-size: 20px;
    text-align: center;
    justify-content: center;
}
.information .link a li{
    padding: 12px;
    background-color: rgba(34, 0, 255, 0.384);
    border-radius: 15px;
}
.information .link a li:hover{
    opacity: 0.7;
}

.site_info_box{
    justify-content: center;
    text-align: center;
    background-color: #000000a5;
    color: white;
    height: auto;
    width: 100%;
    margin-bottom: -20px;
    margin-top: 20px;
    padding-bottom: 40px;
}
.site_info_box .site_info_1{
    padding-bottom: 5px;
}
.site_info_box .site_info_1 a{
    opacity: 0.7;
    color: inherit; 
    Text-decoration: none;
}
.site_info_box a:hover,
.site_info_box a:visited{
    opacity: 1;
    color: inherit; 
    Text-decoration: none;
}
.site_info_box .site_info_title{
    height: auto;
    width: 350px;
}  .site_info_box  .link{
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap;
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
}
.site_info_box .link li {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid white;
}
.site_info_1 {
    color: white;
    padding-bottom: 5px;
  }
  
  .site_info_1 a {
    opacity: 0.7;
    color: inherit;
    text-decoration: none;
  }
  
  a:hover, a:visited {
    opacity: 1;
    color: inherit;
    text-decoration: none;
  }
  
  .site_info_title {
    width: 350px;
  }
  .copyright{
    opacity: 0.7;
    color: white;
  }



  .top_t_box{
    color: white;
    background-color: var(--primary-color);
    text-align: center;
    margin: 0 auto 30px;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    h1{
        color: white;
    }
  }
  .top_t_box h10{
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
    opacity: 0.8;
  }
  .top_t_box hr {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
  }


/*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;
  }

@media screen and (max-width: 967px){
    .menu_mini_info{display: none }
    .menu_mini{
        position: fixed; /* 固定位置を維持 */
        bottom: 0; /* 画面下部に固定 */
        top: auto; /* 上部固定を解除 */
        left: 0; /* 左端から開始 */
        right: 0; /* 右端まで広げる */
        width: 100%; /* 幅を100%に */
        transform: none; /* 不要な変換を解除 */
        border-radius: 20px 20px 0 0; /* 上部の角だけ丸く */
        z-index: 1000; /* 他の要素より前面に */
        padding: 8px 0; /* 上下のパディングを少し小さく */
    }
    
    .menu_mini .a{
        overflow-x: auto; /* 横スクロール可能に */
        white-space: nowrap; /* テキストを折り返さない */
        padding: 0 10px; /* 左右のパディングを小さく */
    }
    
    .menu_mini .a li{
        white-space: nowrap; /* テキストを折り返さない */
    }
    
    /* 本文コンテンツがメニューに隠れないようにする */
    body {
        padding-bottom: 70px; /* メニューの高さ分だけ下部にパディングを追加 */
    }
    
    /* 既存のスタイル（変更なし） */
    .logo_p{
        width: 90%;
        max-width: 280px;
    }
    .top_logo {
        padding: 20px 0;
    }
    .top_t_box{
        padding: 3px;
        width: 98%;
    }
    section1{
        width: 98%;
    }
    .language-menu{
        bottom: 60px;
        width: 140px;
    }
    .language-menu ul{
        display: flex;
        column-gap: 12px;
    }
    h1{
        font-size: 25px;
    }
    .info_top{
        font-size: 20px;
    }
}
@media screen and (min-width: 968px){
    .top_t_box{
        padding: 12px;
        margin: 0 auto;
        border-radius: 20px;
        width: 450px;
    }
     .menu_mini {
        position: fixed;
        top: 10px; /* 上部に固定 */
        right: 10px;
        left: 0;
        transform: none;
        border-radius: 0 0 20px 20px; /* 下部の角だけを丸く */
        width: 100%;
        transition: transform 0.3s ease;
    }
    
    /* スクロール時の挙動制御（上部に固定） */
  .menu_mini.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    /* スクロールアップ時の挙動制御 */
    .menu_mini.scroll-up {
        transform: translateY(0); /* 常に表示 */
    }
    
    /* 言語メニューの位置調整 */
    .language-menu {
        top: 70px;
        right: 170px;
        width: 140px;
    }
    
    .language-menu ul {
        display: flex;
        column-gap: 12px;
    }
}

/*ーーinformation_tabーー*/
.info_card h1{
    font-size: 25px;
    padding-left: 12px;
    padding-right: 12px;
}
.info_card p{
    font-size: 23px;
    padding-left: 12px;
    padding-right: 12px;
}
.info_card a:hover {
    border-bottom: #80ff00;
}
.info_r{
    color: #2600ff;
    font-size: 20px;
}

.language-menu {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: fixed;
    border: 1px solid transparent;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px); /* Safari用のプレフィックス */
    backdrop-filter: blur(10px); /* 背景のぼかし効果 */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    z-index: 1000;
    pointer-events: none; 
    box-shadow: var(--shadow);
}

.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 {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.language-menu ul li a:hover {
    background-color: var(--primary-light);
    color: white;
}