@charset "utf-8";

body {
    background-image: url("https://kotobank.jp/image/dictionary/daijisen/media/104880.jpg"),url("https://illust.download/wp-content/uploads/download/background137.jpg");
    text-align: center; 
    background-repeat: repeat-y;
    background-size: 650px 100px,contain;
    background-position: center;
    padding-top: 70px; 

}

p{
    font-size: 100;
    
    width: 500px; 
    word-wrap: break-word;
    text-align: center;
    margin: 0 auto;
}

h1{
    color: rgb(0, 0, 0);
    background-color: blue;
    font-size: 80x;
    line-height: 0;
    
}
x1{
    color: rgb(255, 0, 0);
}
n{
    position: absolute; 
    left: 50%;
    margin-left: 120px; 
}
z{
    position: absolute;
    left: 50%;
    margin-left: -150px; 
}


  

ul{
    position: fixed;
    right: 30px;
    z-index: 1001;   
}
body {
    margin: 0;
    padding-top: 60px;
    font-family: sans-serif;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #505f7a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-right {
    display: flex;
    gap: 10px; /* 2つのメニュー間の隙間 */
    min-width: 10px;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #394153;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 0px;
    width: 100%;
    display: inline-block; 
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* 右揃え */
    background-color: #f9f9f9;
    z-index: 10;
    border-radius: 0px;
    width: 100%;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

.content {
    padding: 20px;
}
div h1{
    color: #f1f1f1;
}
.return-to-top-button {
    position: fixed;  
    bottom: 20px;     
    right: 20px;       
    background-color: #d2d28e;
    color: white;
    padding: 10px 15px;
    text-decoration: none; 
    border-radius: 50px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    border: none;   
    cursor: pointer;
}
.return-to-top-button {
    display: none;  
}
.return-to-top-button.show {
    display: block;
}
