/* 無料固定ボタン */
#line-link {
    position:fixed;
    right: 40px;
    bottom: 40px;
    z-index: 999;
    display: block;
}

#line-link a{
    display: flex;
    justify-content: center;
    align-items: center;
}
 
#line-link a:hover{
    text-decoration: none;
    opacity: 0.8;
}

#line-link a img {
    width: 250px;
}
@media screen and (max-width: 480px) {
    #line-link {
        position:fixed;
        right: 20px;
        bottom: 20px;
        z-index: 999;
        display: block;
    }
    #line-link a img {
        width: 180px;
    }
}

/* 課題エリア */
.bg-kadai {
    background-image: url(../../img/top/bg_kadai.jpg);
    background-position: center; /* 画像を中央に配置 */
    background-size: cover;
    background-repeat: no-repeat;
    height: 450px; /* 高さを指定 */
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
}
@media screen and (max-width: 480px) {
    .bg-kadai {
        height: 700px; /* 高さを指定 */
    }
}

.fontb-naitei {
    color: #025503;
    font-weight: bold;
}
.font-naitei {
    color: #025503;
}
/* スクロール時に表示されるafterヘッダー */
#navbar-after {
    background-color: #FFFFFF;
    height: 6vh;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* beforeの上に重ねる */
    opacity: 0; /* 初期状態は透明 */
    pointer-events: none; /* 非表示時はクリック不可 */
    transition: opacity 0.5s ease; /* 0.5秒かけて表示・非表示 */
  }
  
  /* ヘッダーが表示されるときのスタイル */
  #navbar-after.show {
    opacity: 1; /* 表示時は不透明 */
    pointer-events: auto; /* 表示時はクリック可能 */
  }
  

.bg-green {
    background-color: #F2FFF5;
}
.mt-180 {
    margin-top: 180px;
}

.catch_copy {
    font-size: 3.2em;
    color: #025503;
}
@media screen and (max-width: 480px) {
    .catch_copy {
        font-size: 6vw;
        color:black;
    }
}