@charset "UTF-8";
html{font-size: 100%;}
* {
    box-sizing: border-box;
}
/*HEADER*/

.logo {
  margin-top: 0;
  font-size: 3rem;
  color: #000000;
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-style: normal;
}
li a{text-decoration: none;}
.main-nav {display: flex;
font-size: 1rem;
text-transform: uppercase;
margin-top: 34px;
list-style: none;}
.main-nav li{margin-left: 36px;}
.main-nav a{color: black;}
.main-nav a:hover{color: red;}
.page-header{display: flex;justify-content: space-between;
    position: fixed;      
    top: 0;               
    left: 0;              
    width: 100%;
    background-color: #ffffff;}

/*SIDE*/
.sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* 横幅（300px）分だけ左に隠す */
    width: 300px;
    height: 100vh;
    background-color: #462c50;
    color: #ecf0f1;
    padding: 60px 20px 20px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    z-index: 100;
    transition: left 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;}

.open-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #ffffff;
    color: #1d1d1d;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 90; 
    
    transition: background 0.2s ease, transform 0.2s ease;
}



.open-btn:hover {
    background-color: #b92929;
}


        .sidebar.active {
            left: 0;
        }

.close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            color: #bdc3c7;
            font-size: 32px;
            cursor: pointer;
            line-height: 1;
        }

        .close-btn:hover {
            color: #fff;
        }

        
        .sidebar-menu {
            list-style: none;
            margin-top: 20px;
        }

        .sidebar-menu li {
            border-bottom: 1px solid #34495e;
        }

        .sidebar-menu a {
            display: block;
            padding: 15px 10px;
            color: #ecf0f1;
            text-decoration: none;
            font-size: 16px;
            transition: background 0.2s;
        }

        .sidebar-menu a:hover {
            background-color: #34495e;
            border-radius: 4px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 50; /* サイドバー(100)より後ろ、コンテンツより前 */
            
            /* ふんわり消えるアニメーション用の設定 */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* JSでこのクラスがつくと、ふわっと表示される */
        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

/*HOME*/

body{margin: 0;
     padding: 0;}
.home-content{width: 100%;
              max-width: 800px;
              margin: 0 auto;
              padding: 20px;}

.main-i img{width: 100%;
        height: auto;
        margin: 20px auto;}
.home-content h2{font-size: 2.500rem;color: #000000; margin-top: 20%;}




  