body {
    background-image: url('images/kamoKV_240711_FS_355.jpg');
    background-size: cover; /* ウィンドウサイズに合わせる */
    background-repeat: no-repeat;
    color: #FFF;
    a {
        color: #FFF;
    }
}

h1 {
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: upright;
    float: left;
    margin-right: 20px;
    font-family: 'Noto Serif Hentaigana', serif;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    a {
        display: block;
        position: absolute;
        bottom: -66px;
        left: 0;
    }
}

#nav{
    position: fixed;
    right: 0;
    bottom: 0;
    text-align: center;
    clear: both;
    padding: 10px 25px; /* 必要に応じて調整 */
    font-size: 20px;
    width:fit-content; 
    li {
        list-style: none;
        a {
            color: #FFF;
        }
    }
}

#nav i {
    display: inline-block;
    border-radius: 50%;
    border: none; /* Optional: Add a border */
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    line-height: 50px; /* Center icon vertically */
    text-align: center; /* Center icon horizontally */
    background-color: rgba(0, 0, 0, 0.3);
}

#profile {
    width: auto; /* 幅をウィンドウサイズに合わせる */
    padding: 10px 20px 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* 境界のぼかし */
    font-size: 16px;
    line-height: 1.5;
    @media screen and (max-width: 768px) {
        padding: 14px;
    }
    h1,h2,h3,p{
        margin-bottom: 0;
        margin-top: 10px;
    }
    h2 {
        margin-top: 0px;
        font-weight: bold;
    }
    h3 {
        margin-top: 20px;
        font-size: 15px;
    }
    .en-name {
        margin-top: 2px;
    }
    #detail {
        li {
            list-style: none;
            margin: 5px 0;
            padding-left: 10px;
        }
    }
    #news{
        margin-top: 150px;
        clear: both;
        ul {
            padding-left: 0;
            list-style: none;
            li{
                padding-left: 0;
            }
        }
    }
    @media screen and (max-width: 768px) {
        #news{
            margin-top: 120px;
        }
    }
}



@media screen and (max-width: 768px) {
    #profile {
        position: static; /* 固定位置を解除 */
        margin: 0px auto; /* 中央寄せ */
        width: 85vw; /* 幅を少し狭くする */
    }
}
.klee-one-regular {
    font-family: "Klee One", serif;
    font-weight: 400;
    font-style: normal;
}

.bentham-regular {
    font-family: "Bentham", serif;
    font-weight: 400;
    font-style: normal;
}

.noto-sans-jp {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.rotate-45 {
    transform: rotate(45deg);
}

#news img {
    max-width: 100%;
    height: auto;
}

#sns ul {
    font-size: 24px;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    /* Optional: Adjust spacing between items */
}