@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=DotGothic16&display=swap');

*{
    box-sizing: border-box;
    margin: 0 auto;
}



body {
    background-color: #fff !important;
    color: #2f2f2f;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0 ;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;  /* 念のため */
    background-image: url("img/HP横白.jpg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    max-width: 1200px ;
    margin: 0 auto;
}


.container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.main, .menu, .container {
    background-color: transparent !important;
}

.wrapper {
    max-width: 1200px ;
    margin: 0 auto;
    padding: 0 10px;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

ul {
    list-style: none;
}

ul.name {
    margin: 0;
    padding-left: 1.2em;  /* 黒点と文字の距離。狭めたいなら小さく */
}

li {
    font-size: 22px;
    padding-bottom: 25px;
}


li p {
    font-size: 25px;
}

a {
    color: #4354b1;
    text-decoration: underline;
    font-weight: bold;
    

    
}






/*PC部分*/


img.pc {
    width: 500PX;
    padding-top: 10%;
}

.main-title {
    position: relative;
    text-align: center;
    font-size: 150%;
    padding-top: 3%;
    margin-bottom: 1%;

}

.main-title a {
    color: #333;
    font-size: 32px;
}

.blue-br {
    display: none;
}

.img.aiu {
    font-size: 40px;
}

.last {
    position: relative;
    text-align: center;
    font-size: 35px;
    top: 40px;
}

/* あかさたな*/

.last {
    position: relative;
    text-align: center;
    font-size: 35px;
    top: 15px;
    right: 5px;
    color: #ff4b4b;
    }


.list-a {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.list-a ul {
  margin-top: 0;      /* 見出しとのすき間をなくす */
  padding-left: 1.2em;/* 黒点と文字の位置調整（必要なら） */
}

.list-a li {
    margin-top: 0;
    top: -20px;
}

ul.name {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

ul .list-aiu {
    list-style: none;
}

.name {
    padding: 0 20px;
}

.name2 {
    width: calc(100% / 20 );  /* PCで5列など。お好みで */
    text-align: left;        /* 黒点と文字を左揃え */
    margin: 0;
}

.name2 a {
    font-size: 45px;
}


h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 30px;
    color: #4354b1;
}


li {
    list-style: none;
    font-size: 22px;
    
}

/*説明*/
.title3 {
    display: flex;
    width: 550px;
    font-size: 15px;

}

.long {
    position: relative;
    text-align: center;
    margin-top: 5%;
}

.long {
    font-size: 25px;

}

.long2 {
    position: relative;
    text-align: center;
    margin-bottom: 5%;
}

.long2 {
    font-size: 25px;

}

.q {
    color: #ff0000;
}

.menu2 {
    position: relative;
    text-align: center;
    top: 70px;
    font-size: 25px;
}


/* ゲームリスと引き出し*/


summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 25px;
    position: relative;
    right: 30px;
    margin-bottom: 10px;
    list-style: none;

}



/* 開閉リスト */

details {
    padding: 2px;
}


summary::-webkit-details-marker {
    display: none;
}

/* 開閉アイコン*/
summary::before {
    content: "▶";
    color: #292929;
    display: inline-block; /* 箱にしてあげる */
    padding: 4px 8px;
    margin-left: 4px;
    background-color: rgb(168, 168, 168, 0.8); /* ← 背景色を付ける */
    border-radius: 10px;
    margin-right: 0.5em;   /* ← 記号と文字のすき間 */
    font-size: 16px;

}

details[open] summary::before {
    content: "▼ ";

}




/*フッター*/

.home-fixed {
    position: fixed;
    right: 20px;   /* 画面右からの距離 */
     bottom: 20px;  /* 画面下からの距離 */
     z-index: 1000; /* 他要素より前面に出す */
    padding: 10px 16px;
    background: #fff;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

footer {
    text-align: center;
    height: 50px;
    text-align: center;
}

.icon {
    font-size: 20px;
    display: inline-block;
    text-decoration: none;
}

.icon a {
    display: inline-block;
    padding: 100px ; /* お好みで調整 */
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}









/* ゲームページ*/

.aiu {
    font-weight: bold;
    font-size: 40px;
    padding-top: 50px;
    text-align: center;
}

.aiu a {
    color: #4354b1;
    padding-right: 50px;
    letter-spacing: 0.2em;
}


.name {
    margin: 0 auto;
    list-style-position: inside;
    column-count: 2;
    column-gap: 2em;
    width: fit-content;
}

.link {
    font-size:30px;
    padding-top: 10px;
    padding-bottom: 50px;
    text-align: center;
    margin: 0 auto;
}

h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 30px;
    color: #4354b1;
}

.name2 {
    margin-right: 100px;
    font-size: 27px;
    padding-top: 15%;
}

li {
    list-style: none;   
    font-size: 22px;
    padding-bottom: 25px;
}

li p {
    font-weight: bold;
}

.list-b {
    text-align: center;
}


.list-aiu {
    display: inline-block;   /* 塊として中央に置く */
    text-align: left;        /* 中身は左揃え */
}


.list-aiu a {

    color: #4354b1;
    font-weight: normal;
    font-size: 27px;
}



.red {
    color: #ff3333;
    font-weight: bold;
}

a.youtube-link {
    color: #ff3333;
}

.bule {
    color: #4354b1;
    font-weight: bold;
}

.siro {
    display: inline-block;
    margin-bottom: 20px;
}

.siro-ue {
    display: inline-block;
    margin-top: 20px;
}

.main-title2 {
    position: relative;
    text-align: center;
    font-size: 220%;
    padding: 4% 0;
    margin-bottom: 0%;
    color: #4354b1;

}

.main-title2 a {
    color: #333;
}



/* スマホ用 */

@media screen and (max-width:640px) {

    body {
    color: #4d4d4d;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    margin: 0px;
    width: 100%;
}

/*Pcのとこ*/

img.pc {
    width: 300PX;
    padding-top: 10%;
}

.img .main-title {
    font-size: 27px;
    position: relative;
    top: 5px;
    padding-bottom: 10px;
}

.img .main-title2 a{
    font-size: 27px;
    position: relative;
    top: -10px;
    left: -10px;
}

.img .aiu a {
        font-size: 28px;
        padding-right: 35px;
        position: relative;
        top: -25px;
    }


.blue-br {
    display: block; /* または inline */
    }

    .link {
        font-size: 25px;
        position: relative;

    }

    .last {
    position: relative;
    text-align: center;
    font-size: 21px;
    top: 15px;
    right: 5px;
    font-weight: bold;
    color: #ff4b4b;
    }


/*あかさたなページ*/


.last {
    position: relative;
    text-align: center;
    font-size: 20px;
    top: 15px;
    right: 5px;
    color: #ff4b4b;
    }



.list-a {
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.list-b {
    text-align: center;
    position: relative;
    left: -20px;
}

ul.name {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 1.2em;
    } 

    .name {
    padding: 0;
}

.menu2 {
    font-size: 17px;
    position: relative;
    top: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.name2 {
    width: calc(100% / 5); /* スマホは3列のまま */
    margin: 0;
    padding: 0;
    }

.name2 a {
    font-size: 25px;
    display: inline-block;
    padding: 8px 0;
    }


/*あいうえおとか*/

.list-b {
    margin-left: 70px;
}

summary {
    font-size: 22px;
}

li p {
    font-size: 22px;
}

    a  {
        font-size: 20px;
    }

    
    .list-a ul {
  margin-top: 0;      /* 見出しとのすき間をなくす */
  padding-left: 50px;/* 黒点と文字の位置調整（必要なら） */
}

.list-aiu a {
    font-size: 23px;
    margin-bottom: 5px;
}

.siro {
    display: inline-block;
    margin-bottom: 30px;
}

.siro-ue {
    display: inline-block;
    margin-top: 30px;
}

/*リクエスト */

.long {
    font-size: 17px;
}

.long2 {
    font-size: 17px;
}




    /*フッター*/

    .icon a {
    display: inline-block;
    padding: 30px;      /* 50 → 5 など、かなり小さく */
    margin-right: 10px; /* 必要ならここでアイコン間の余白を微調整 */
    }

    .icon {
    padding-right: 0;
    margin-right: 0;   /* ここも 0 にしておくとさらに詰まる */
    font-size: 12px;
    position: relative;
    right:15px;
    }


}
