@charset "utf-8";
/* --------------------------------------------
ハンバーガーメニューのためのスタイル定義 
humberger_menu.css for
sugimoto-re.com/index.html

2025.2.10

---------------------------------------------*/    
/* ======== Open Button の定義 ======== */
#humburger_menu{
    visibility: hidden;
}
.openbtn{
    position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top:10px;    
    cursor: pointer;
    width: 60px;
    height:60px;
}	
/* Open Button のライン形状と位置の定義*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 380px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
      width: 45%;
  }
/* Open Button の３本線の個々の位置を定義 */
.openbtn span:nth-of-type(1) {
    top:4px;	
}
.openbtn span:nth-of-type(2) {
    top:12px;
}
.openbtn span:nth-of-type(3) {
    top:20px;
}
.openbtn span:nth-of-type(4) {
    font-size: 10px;
    height: 0px;
    top:26px;
}

/* メニューの内容 */
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #3584bb;
    transition: all 0.5s;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
/* チェックボックスの処理 */
#menu-btn-check:checked ~ .openbtn span:nth-of-type(1) {
    top: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
#menu-btn-check:checked ~ .openbtn span:nth-of-type(2) {
    opacity: 0;
}
#menu-btn-check:checked ~ .openbtn span:nth-of-type(3){
    top: 30px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
#menu-btn-check:checked ~ .openbtn span:nth-of-type(4){
    visibility: hidden;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}
