@charset "utf-8";
/* CSS Document */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3E8ED0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*height: 50px;  高さを指定して狭くする */
	padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
	 .button-text {
      margin-right: auto; /* アイコンを右端に寄せるため */
	  font-size:1rem;
    }
}


.bottom-nav .nav-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px; /* 上下のパディングをなくす */
	color: #FFF;
}

.bottom-nav .nav-icon {
    display: block;
    margin-bottom: 0px; /* アイコンとテキストの間隔を狭くする */
}

.small-text {
    font-size: 0.7em; /* テキストを小さくする */

}

.nav-icon-and-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px; /* アイコンとテキストの間隔を狭くする */
}
.new-badge {
      display: inline-block;
      padding: 0.25em 0.5em;
      font-size: 0.75em;
      font-weight: bold;
      color: white;
      background-color: red;
      border-radius: 0.25em;
      margin-left: 0.5em;
    }

.icon-wrapper {
            position: relative;
            display: inline-block;
        }
        .badge {
            position: absolute;
            top: 4px;
            right: 16px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: red;
            color: white;
            text-align: center;
            line-height: 12px;
            font-size: 9px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }
