/* ハンバーガーボタンを押してチェックがONの時だけ
スマホ用メニューを画面左端に移動する */
#sp-menu__check:checked~.sp-menu__content {
    left: 0;
}

/* 変更箇所はコメントの項目のみ */
.sp-menu__content {
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;

    /* 普段は画面外にするために左端を画面右端の位置にする */
    left: -100%;

    z-index: 90;
    background-color: white;

    /* 右端からゆっくり移動するように表示 */
    transition: all 0.5s;
}

/* 以降は前回までの内容 */
header {
    display: flex;
    height: 60px;
    z-index: 90;
}

.main-menu {
    margin: 0 auto;
    display: flex;
    width: 1280px;
}

.logo {
    text-align: center;
    height: 60px;
    font-size: 24px;
    background: #dddddd;
    margin-left: auto;
    width: 98%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(250, 250, 250, 0.5);
    position: fixed;
}

.pc-menu {
    width: 100%;
}

.pc-menu>ul {
    display: flex;
    list-style: none;
}

.pc-menu>ul>li {
    text-align: center;
    font-size: 16px;
    width: 25%;
}

.pc-menu>ul>li>a {
    display: block;
    text-decoration: none;
    color: #000000;
    line-height: 60px;
}

.pc-menu>ul>li>a:hover {
    background: #cccccc;
}

.sp-menu__box {
    position: fixed;
    top: 0;
    left: 10px;
    margin: 5px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #000;
    position: absolute;
}

.sp-menu__box span:before {
    bottom: 8px;
}

.sp-menu__box span:after {
    top: 8px;
}

#sp-menu__check {
    display: none;
}

#sp-menu__check:checked~.sp-menu__box span {
    background: rgba(255, 255, 255, 0);
}

#sp-menu__check:checked~.sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#sp-menu__check:checked~.sp-menu__box span::after {
    top: 0;
    transform: rotate(-45deg);
}

.sp-menu__list {
    padding: 70px 10px 0;
}

.sp-menu__item {
    border-bottom: solid 1px #d3d6dc;
    list-style: none;
}

.sp-menu__link {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;
    padding: 9px 15px 10px 0;
}

