a {
    color: rgb(255, 137, 137);
    text-decoration: none;
}

h1, h2 {
    font-family: "GenkaiMincho";
    font-weight: normal;
}

.main {
    width: 60%;
    height: 85%;
    margin: auto;
}

.container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: calc(100% - 2em);
    height: calc(100% - 2em);
    gap: 2em;
    border: 1px solid white;
    padding: 1em;
}

.side1 {
    width: 20%;
    height: 100%;
    position: relative;
    line-height: 1.125em;
}

.side1::after {
    content: '';
    height: calc(100% + 2em);
    width: 1px;
    background-color: white;
    position: absolute;
    right: -1em;
    top: -1em;
}

.side3::after {
    content: '';
    height: calc(100% + 2em);
    width: 1px;
    background-color: white;
    position: absolute;
    left: -1em;
    top: -1em;
}

.side1>.images>.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: white;
    width: calc(100% + 2em);
    margin-left: -1em;
    margin-top: -1em;
    gap: 1px;
    padding: 5px 0;
}
.side1>.images>.buttons button {
    border-radius: 0;
    border: 0;
    /* border: 1px solid black; */
    display: block;
    padding: 7px 8px;
    background: white;
    font-size: .75em;
    font-family: "Appli Mincho Old";
}

.pic {
    text-align: center;
    margin-top: 1em;
}

.pic img {
    width: calc(100% - 14px);
    border: 1px solid white;
    /* filter: grayscale(1); */
    border-width: 7px;
    border-style: solid;
    border-image: url("../img/b2.png") 8 fill round;
}

.side1>.images>.buttons button:hover {
    color: rgb(167, 0, 0);
    cursor: pointer;
}

.basicinfo>.half1 {
    width: 38%;
}

.basicinfo>.half2 {
    width: 62%;
}

.basicinfo p {
    position: relative;
    z-index: 1;
}

.basicinfo p span {
    float: right;
    background: black;
    padding-left: 10px;
}

.basicinfo p i {
    background: black;
    padding-right: 10px;
}

.basicinfo p::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: 12px;
    left: 0;
    border-bottom: 1px dashed rgb(121, 121, 121);
    z-index: -1;
}



.etymology div p {
    border-bottom: 1px solid gray;
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: .5em;
    font-size: 1.125em;
}

.etymology i {
    font-size: .75em;
    color: gray;
}

.etymology span {
    float: right;
    /* font-family: "EPSON KYOUKA"; */
}

.ety2 {
    font-size: .75em;
}

.side2 {
    width: 58%;
    height: 100%;
    position: relative;
    font-family: "Hanazono Mincho";
    overflow: auto;
    scrollbar-width: none;
}

.side2 h1:first-of-type {
    margin-top: .25em;
}

.abt {
    width: 95%;
    margin: auto;
}


.side3 {
    width: 22%;
    height: 100%;
    line-height: 1.125em;
    position: relative;
}

.sukikirai {
    margin: auto;
    margin-bottom: 2em;
    width: 95%;
    
}

.sukikirai b {
    color: gray;
}

.trivia {
    width: 95%;
    height: 375px;
    margin: auto;
    overflow: auto;
    scrollbar-width: none;
    margin-bottom: 1.25em;
}

.trivia ul {
    padding-inline-start: 10px;
    margin-bottom: 0;

}

.trivia ul li {
    margin-bottom: 10px;
}

.trivia ul li:last-of-type {
    margin-bottom: 0;
}

.home {
    background: white;
    width: calc(100% + 2em);
    margin-left: -1em;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
    cursor: pointer;
    position: absolute;
    bottom:-1em;
    left:0;
    border-top: 1px solid white;
}

.home:hover {
    background: gray;
}

.home p {
    font-size: 1.5em;
}

.border {
    width: calc(100% + 2em);
    margin-left: -1em;
    height: 1px;
    background-color: white;
}

@media screen and (max-height: 1100px) and (max-width: 1920px) {
    .main {
        width: 75%;
    }


    .basicinfo {
        height: 185px;
        overflow: auto;
    }

    .etymology {
        height: 130px;
        overflow: auto;
    }

    .sukikirai {
        height: 230px;
        overflow: auto;
        margin-bottom: 1.5em;
    }

    .sukikirai p:first-of-type {
        margin-top: .25em;
    }

    .trivia {
        height: 230px;
        overflow: auto;
        margin-bottom: .5em;
    }
}

