
.species_name {
    font-size: 30px;
    font-weight: bold;
}

.table_name {
    width: 90%;
}

.table_name tr {
    display: table;
    width: 100%;
}

.family {
    width: 40%;
}

.family_title {
    width: 10%;
}

.genus_title {
    width: 10%;
}

.genus {
    width: 40%;
}

.other_name_title {
    width: 10%;
}

.other_name {
    width: 40%;
}

.scientific_title {
    width: 10%;
}

.italic {
    font-style: italic;
}

.tables_wrapper {
    display: flex;
    gap: 20px;
}

.table_life {
    width: 40%;
}

.table_life th {
    text-align: center;
    width: 30%;
    background-color: rgb(154, 193, 198);
}

.table_life td {
    padding-left: 2%;
}

.table_detail {
    width: 100%;
    margin: 20px 0px 20px 0px;
}

.table_detail th {
    text-align: center;
    width: 20%;
    background-color: rgb(154, 193, 198);
}

.table_detail td {
    padding-left: 1%;
}

.table_image {
    text-align: center;
    width: 90%
}

.image_list {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.card.card_image {
    padding: 0px;
    border-radius: 0;
}

.img_size {
    width: 100%;
    height: 250px;
    object-fit: cover; 
}

#modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 15, 15, 0.8); /* 背景色 */
    opacity: 0; /* 初期状態では透明 */
    visibility: hidden; /* 初期状態では不可視 */
    transition: opacity 0.5s, visibility 0.5s; /* アニメーション効果 */
}

.modal_img {
    display: block;
    width: 100px;
}

#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .species_name {
        font-size: 15px !important;
    }
    #modal_img {
        width: 200px;
    }
}