html{
    background-color: #323232;
    color: #fff;
    text-align: center;
    min-width: 320px;
}
body{
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    min-width: 320px;
}

header{
    max-width:500px;
    align-items: center;
    justify-content: center;
    margin:10px auto;
    padding: 10px;

}




.title a{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    height: 30px;
}

.title a img{

    height: 80%;
}

.title a p{
    margin: 0;
    font-size: 16px;
}


header h4{
    margin: 20px 0 5px 0;
}

header h1{
    margin: 10px 0;
    font-size: 40px;
}
header h5{
    margin: 0px 0 0px 0;
    font-weight:normal;
}



main{
    max-width:500px;
    align-items: center;
    justify-content: center;
    margin:0 auto;
}

.genre{
    text-align: left;
    width: 70%;
    border-bottom: 1px solid #fff;
    margin: 100px 0 40px 20px;
}

.genre h1{
    margin: 0;
    padding: 10px 0 10px 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.genre h1 svg{
    height: 25px;
    width: 25px;
    fill: currentColor;
    flex-shrink: 0;
}



.card{
    max-width:500px;
    padding: 15px 10px;
    border: 1px solid #fff;
    border-radius: 15px;
    margin: 10px 25px 30px 25px;
}

.card a{
    display: flex;
    width: 100%;
    text-decoration: none;
}

.thumbnail{
    width:25%;
    overflow: hidden;
    position: relative;
    margin: 8px 10px;
}

.thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}




.contents{
    width:75%;
    box-sizing: border-box;
    padding-left: 20px;
    text-decoration: none;
    color: #fff;
    /* min-height: 100px; */
    display: flex;
    flex-direction: column;
}

.card-title{
    margin-bottom: 10px;
}

.card-title h1{
    margin: 0;
    font-size: 18px;
    text-align: left;
}


/* .card-detail{
    margin-left:20px;
} */
.card-detail p{
    text-align: left;
    margin: 5px 0;
    font-size: 13px;
}


.card-link{
    margin-top: auto;
    margin-top: 10px;
}


.card-link p{
    margin: 0;
    text-align: left;
    font-size: 12px;
}








footer{
    align-items: center;
    justify-content: center;
    background-color: #000;
    margin-top: 200px;
}
footer p{
    max-width:500px;
    margin: 0px auto;
    padding: 15px 10px;
    font-size: 13px;
    
}











.div-details{
    margin:0 25px ;
}

/* =========================
Details
========================= */

details {
    max-width: 480px;
    margin: 70px auto 20px auto;
    border: #fff 1px solid;
    text-align: left;
    padding: 10px;
}


summary {
    margin: 10px 0;
    cursor: pointer;
    width: 100%;

    /* ＋−アイコン配置用 */
    position: relative;
    padding-right: 20px;

    /* デフォルトの三角を消す */
    list-style: none;
    padding-left:10px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

summary svg{
    display: inline-block;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

summary svg path{
    fill: currentColor;
}

/* Safari / Chrome のデフォルト三角を消す */
summary::-webkit-details-marker {
    display: none;
}





/* =========================
＋ / − アイコン
========================= */

/* 横線・縦線 共通 */
summary::before,
summary::after {
    content: "";
    position: absolute;

    right: 35px;
    top: 50%;

    width: 16px;
    height: 2px;

    background-color: currentColor;

    transition: transform 0.25s ease;
}

/* 横線 */
summary::after {
    transform: translateY(-50%);
}

/* 縦線 → ＋になる */
summary::before {
    transform: translateY(-50%) rotate(90deg);
}

/* 開いたとき縦線を回転 → −になる */
details[open] > summary::before {
    transform: translateY(-50%) rotate(0deg);
}


/* =========================
Details 内容
========================= */

.div-de-centence {
    margin: 0 0 0 30px;
}

.div-de-centence p {
    margin: 10px 0;
}

.div-de-centence ul{
    margin: 10px 0;
    padding-left: 20px;
}
.div-de-centence ul li{
    margin: 5px 0;
}

.div-de-centence p a{
    text-underline-offset: 3px;
    display: flex;
    align-items: center;
    gap: 5px;

    color: white;
    text-decoration: none;
}
.div-de-centence p a svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}
