@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: #13722f;
    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;
}

/* 20XX年のとこ */
.xx {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.xx a {
    width: calc((100% - 40px) / 4);
    text-align: center;
    font-size: 30px;
}

.calendar {
    text-align: center;
}


.calendar a {
    display: block;
    font-size: 30px;
    text-align: center;
    margin: 0 auto;
    padding: 50px 0px;
}

.year {
    margin-top: 30px;
}

/* リスト */
summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 30px;
    position: relative;
    right: 30px;
    margin-bottom: 10px;
    list-style: none;
}

.movie-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.movie-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    width: 20%; /* 100 ÷ 5 = 20% */
    box-sizing: border-box;
}

.movie-list img {
    width: 240px;
    height: auto;
    max-width: 100%;
}



/*youtube リストの中 サムネとか */

.calendar img {
    width: 160px;
    height: auto;
}

.hiniti-title {
    font-size: 20px;
}

.new {
    color: red;
    padding-right: 5px;
    padding-left: 5px;
}

/* 標準のマーカーを消す */
summary::-webkit-details-marker {
    display: none;
}

/* 閉じているとき：▶ */
summary::before {
    content: "▶";
    color: #292929;
    display: inline-block;
    padding: 4px 8px;
    margin-left: 4px;
    margin-right: 0.5em;
    font-size: 16px;
    background-color: rgba(168, 168, 168, 0.479);
    border-radius: 10px;
}

/* 開いているとき：▼ */
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;
}


.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);
}

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




    /* スマホ用 */

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

    body {
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-right: 0 30px;
    margin: 0px;
    width: 100%;
    }

    li {
    font-size: 20px;
    padding-bottom: 8px; /* 25px → 8px くらいに */
}
    summary {
    margin-bottom: 5px; /* 10px → 4px くらいに */
    font-size: 20px;
}

/*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;
    margin-bottom: 30px;
    }

/* リスト */

  /* 年リスト全体を左寄せ */
    .year {
        text-align: left;
        margin-left: 20px;
    }

  /* 年と月 summary の文字も左寄せ */
    .year summary,
    .day  summary {
    text-align: left;
    right: 0;        
    }

  /* リスト要素も左寄せにしたい場合 */
    .day li {
    text-align: left;
    margin-left: 20px;
    }


  /* まず共通：閉じているときは ▶ */

summary::before {
    content: "▶";
    color: #292929;
    display: inline-block;
    padding: 4px 8px;
    margin-left: 4px;
    margin-right: 0.5em;
    font-size: 15px;
    background-color: rgba(62, 129, 36, 0);
    border-radius: 10px;
}
  /* 年のsummaryだけ少し大きく */
.year > li > details > summary::before {
    font-size: 17px;
    padding: 4px 7px;
    margin-left: 4px;
    display: inline-block;
    padding: 4px 8px;
    margin-left: 4px;
    margin-right: 0.5em;
    background-color: rgba(63, 62, 66, 0.267);
    border-radius: 10px;
}

  /* 月(day)のsummaryは小さめ */
.day > li > details > summary::before {
    font-size: 14px;
    margin-left: 8px;
    display: inline-block;
    padding: 4px 8px;
    margin-left: 4px;
    margin-right: 0.5em;
    background-color: rgba(0, 38, 255, 0);
    border-radius: 10px;
}

  /* 開いているときは全部 ▼ に */
details[open] > summary::before {
    content: "▼";
}

.year > li > details > summary {
    font-size: 20px;
}

.day > li > details > summary {
    font-size: 18px;
}

.hiniti-title {
    font-size: 17px;
}

    /* リスト */


.movie-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 6px;
}

.movie-list a {
    width: calc((100% - 12px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    box-sizing: border-box;
}

.movie-list img {
    width: 100%;
    margin: 0;
    display: block;
} 

.hiniti-title {
    font-size: 17px;
    margin-top: 0px;    /* ここで画像との距離を調整 */
}


/*フッター*/

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

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

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