/*thin*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Th.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}

/*normal*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Rg.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

/*bold*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Bd.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

/*extra bold*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Eb.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}

/* Non margin and padding */
html,
body {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "LineSeedJP";
    font-weight: 700;
    font-size: 1em;
    color: #F3F3F3;
    line-height: 1.8em;
    background-color: #303030;
}

img{
    pointer-events: none;
}

.divider,
.inner-divider {
    border-bottom: 2px solid #FFF;
}

.inner-divider {
    margin: 0px 20px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: #333333;
}

a:hover {
    color: #00FF00;
}


#container {
    background-color: #E0E0E0;
    margin: 0 auto;
    width: 100%;
    max-width: 430px;
    background-image: url(img/Melamine-wood-005.png);
    background-size: contain;
    text-align: left;
}

#top-headline {
    width: auto;
    height: auto;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

#profile {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.description,
.reco-book {
    font-size: 1em;
}

.description {
    flex-basis: 50%;
}

.reco-book {
    text-align: center;
    flex-basis: 50%;
}

#profile_photo {
    margin: 0px;
    cursor: default;
}

.photo_radius {
    width: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: solid 2px #EAEAEA;
}

.user-name,
.user-book {
    font-family: LineSeedJP;
    font-weight: 700;
    font-size: 1.2em;
    margin: 0px;
    cursor: default;
}

.user-comment {
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 1em;
    margin-top: 8px;
    cursor: default;
    display: -webkit-box; /* 必須 */
    -webkit-box-orient: vertical; /* 必須 */
    -webkit-line-clamp: 3; /* 行数を制限 */
    overflow: hidden; /* はみ出た部分を非表示 */
}

.book-thumbnail {
    width: 75%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#user-info {
    width: 100%;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.follow,
.follower,
.done {
    display: flex;
    align-items: center;
}

.user-info-row-value {
    font-family: LineSeedJP;
    font-weight: 700;
    width: 2em;
    font-size: 1em;
    margin: 0px;
    cursor: default;
    text-align: right;
}

.user-info-row-label {
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 0.75em;
    margin: 0px 10px;
    cursor: pointer;
}

#user-info-follower {
    font-family: LineSeedJP;
    font-weight: 700;
    font-size: 1em;
    width: 2em;
    margin: 0px;
    cursor: default;
    text-align: right;
}

#follow-button {
    width: 2em;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #BCED09;
    outline: solid 1px #BCED09;
    outline-offset: -1px;
    cursor: pointer;
}

#follow-button.pushed {
    background-color: #505050;
}

#follow-button-icon {
    color: #505050;
}

#follow-button-icon.pushed {
    color: #BCED09;
}

#category {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    width: auto;
    height: auto;
}

.bookshelf-label {
    width: auto;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 10px;
}

.bookshelf-label-title {
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 1.2em;
    margin-right: 10px;
    cursor: pointer;
}

.bookshelf-label-value {
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 0.75em;
    margin: 0px;
    cursor: pointer;
}

.bookshelf-scroll {
    width: auto;
    height: 200px;
    padding: 0px 20px;
    align-items: center;
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.bookshelf-scroll::-webkit-scrollbar{
    display: none;
  }

.book-content-text,
.book-content-image,
.book-content-load {
    width: auto;
    height: 160px;
    border-radius: 8px;
    background: #EAEAEA;
    margin: 0px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.book-content-text {
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    padding: 8px 0px;
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 0.8em;
    text-align: left;
    overflow-wrap: break-word;
    color: #505050;
}

.book-content-image {
    height: 176px;
    object-fit: cover;
}

.book-content-load{
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    padding: 8px 4px;
    font-family: LineSeedJP;
    font-weight: 700;
    font-size: 1em;
    text-align: center;
    overflow-wrap: break-word;
    color: #505050;
    /* outline: solid 4px #DADADA;
    outline-offset: -4px; */
}

footer {
    position:sticky;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    padding: 10px 0px;
    background-color: #363F41;
    align-items: center;
    display: flex;
    justify-content: space-around;
}

.bottom-navigation-button{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.bottom-navigation-button:hover{
    color: #FF715B;
}

.bottom-navigation-button > i{
    margin-top: 12px
}
.bottom-navigation-text{
    width:auto;
    height: 1em;
    margin-top: 4px;
    font-family: LineSeedJP;
    font-weight: 400;
    font-size: 0.8em;
    text-align: center;
}

.selected{
    color: #BCED09;
}