@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;400;700&family=Zen+Old+Mincho:wght@400;700&display=swap");

:root{
    --circle-color: #fff8cb;
    --text-color: #ffffff;
    /* メニューの背景色 */
    --menu-bg-color: #41278abb;

}
/*余白の消去*/
html,head,header,body{margin:0;padding:0;}
main{margin:0;padding:20px;}

/*ヘッダーのサイズ*/
header {
    position: fixed;
    height: 85px;
    width: 100%;
    z-index: 90;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hamburger-menu {
    display: inline;
    height: 0;
}

/*メニューボタン*/
.menu-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    height: 48px;
    width: 48px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    border-radius: 50%;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--circle-color);
    position: absolute;
    transition: all 0.3s ease;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

/*メニューオープン時の処理*/

/*真ん中の横棒を透明に*/
#menu-btn-check:checked ~ .menu-btn span {
    background-color: #3584bb00;
}

/*上の横棒を回転*/
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    animation: rotateAnimationRight 0.5s 1 forwards;
}
@keyframes rotateAnimationRight {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(405deg);
    }
}

/*下の横棒を回転*/
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    animation: rotateAnimationLeft 0.5s 1 forwards;
}

@keyframes rotateAnimationLeft {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-405deg);
    }
}

/*チェックボックスの非表示*/
#menu-btn-check {
    display: none;
}

/*メニュー容器（移動なし）*/
.menu-content {
    position: fixed;
    top: 85px;
    width: 250px;
    left: -250px;
    z-index: 80;
}
/* メニューリスト */
.menu-content ul li{
    position: relative;
    display: inline-block;
    height: 55px;
    width: 200px;
    transition: all 0.5s ease;
    list-style: none;
}
@media (max-height: 650px){
    .menu-content ul li{
        height: 35px;
    }
}
/* メニュー移動部分div */
.menu-content ul li > div{
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    width: 200px;
    transition: right 0.5s ease;
    background-color: var(--menu-bg-color);
}
.menu-content ul li > div a{
    opacity: 0;
    transition: opacity 0.5s ease;
}
/*チェックボックスにチェックが付いたとき、メニュー移動部分divが画面内に移動 */
#menu-btn-check:checked ~ .menu-content li > div{
    right: -225px;
}
#menu-btn-check:checked ~ .menu-content li > div a{
    opacity: 1;
}
/* それぞれのdivに遅延（上から順）
rootで遅延を指定してcalcで倍率かけられないかね？知らんけど */
#menu-1{
    transition-delay: 0s;
    transition-property: right;
}
#menu-2{
    transition-delay: 0.05s;
    transition-property: right;
}
#menu-3{
    transition-delay: 0.1s;
    transition-property: right;
}
#menu-4{
    transition-delay: 0.15s;
    transition-property: right;
}
#menu-5{
    transition-delay: 0.2s;
    transition-property: right;
}
#menu-6{
    transition-delay: 0.25s;
    transition-property: right;
}
#menu-7{
    transition-delay: 0.3s;
    transition-property: right;
}
#menu-8{
    transition-delay: 0.35s;
    transition-property: right;
}
#menu-9{
    transition-delay: 0.4s;
    transition-property: right;
}
#menu-10{
    transition-delay: 0.45s;
    transition-property: right;
}
.menu-content ul li > div > div {
    height: 33px;
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;

}
.menu-content ul li > div > div > svg{
    height: 26px;
    aspect-ratio: 1/1;
    stroke: var(--text-color);
    stroke-width: 2px;
}
.menu-content ul li a {
    display: flex;
    width: 100%;
    padding-left: 20px;
    font-size: 15px;
    line-height: 33px;
    box-sizing: border-box;
    color:var(--text-color);
    text-decoration: none;
    position: relative;
    text-shadow: 0 0 7px var(--circle-color);
}
/*文字を赤くする*/
.red {
    color: red;
}
#site-title{
    display: inline-block;
    position: fixed;
    left: 70px;
    top: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 100;
    font-size: 0.8em;
    color: #ffffff;
}
.logo_space {
  display: inline-block;
  text-align: right;
  width: 100%;
}
.logo {
  display: inline;
}
.twitter {
  color:#00acee;
}
.house {
  color: #000000;
}
.serif{
    font-family: 'Zen Old Mincho', serif;
}
