body {
    text-align: center;
    font-size: 105%;
    margin: 0;
    font-family: sans-serif;
    background-image: url(./satsunai.jpeg);
    background-size: cover;
    background-position: 80% 50%;
    background-attachment: fixed;
    color: white;
}

.main {
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    padding: 20px 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
    color: white;
}

@media screen and (max-width:500px) {
    h1 {
        font-size: 120%;
    }
}

/*以下ハンバーガーメニュー用*/

nav {
    position: fixed;
    top: 50px;
    width: 100%;
    z-index: 10;
}

ul {
    height: 0;
    overflow: hidden;
    transition: .3s;
    list-style: none;
}

li a {
    padding: 6px;
    margin-left: 4px;
    font-size: 16px;
    color: #464646;
    display: block;
    text-decoration: none;
    text-align: left;
}

.hamburger {
    position: absolute;
    top: 0px;
    left: 10px;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 10;
}

.hamburger span {
    /*3本の線を作る*/
    transition: all .3s;
    position: absolute;
    height: 2px;
    background-color: #333;
    width: 100%;
    z-index: 10;
    left: 0px;
}

.hamburger span:nth-of-type(1) {
    /*上の線の位置*/
    top: 0px;
}

.hamburger span:nth-of-type(2) {
    /*真ん中の線の位置*/
    top: 10px;
}

.hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    top: 20px;
}

.hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 0px;
    transform: translateY(10px) rotate(-45deg);
}

.hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
}

.hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 20px;
    transform: translateY(-10px) rotate(45deg);
}

nav .open {
    padding: 0.5em;
}

#header-menu {
    position: fixed;
    background-color: white;
    width: 120px;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

ul {
    padding-inline-start: 0px;
}

header {
    display: block;
    unicode-bidi: isolate;
    background-color: #92C7C6;
    color: white;
    padding: 0.8rem 30px;
    text-align: center;
    font-size:1rem;
}

.header-menu-menu {
    font-size: 140%;
    color: #46c985;
    border-bottom: 1px solid black;
}

.header-div1 {
    position: fixed;
    left: 0px;
    top: 10px;
}

.hamburger-div1 {
    position: absolute;
    width: 24px;
    height: 20px;
    padding: 10px;
    border: 1px solid black;
    background-color: white;
    border-radius: 6px;
}

.hamburger-div2 {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 8px;
    left: 10%;
}

.name-moji {
    font-size: 140%;
    font-weight: bold;
}

footer {
    display: block;
    unicode-bidi: isolate;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    font-size:1rem;
}