html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    padding-top: 25px;
    transition: background-color 0.3s, color 0.3s;
}

.home-link {
    color: #555; 
    font-size: 1.4em; 
    text-decoration: none;
    transition: color 0.3s ease;
}

    .home-link:hover {
        color: #0d6efd;
    }

.menu-top {
    background-color: #ffc107;
}

.nav-item .nav-link {
    color: black;
}
.nav-item .nav-link:hover {
    color: dimgray;
}

.sidebar {
    min-height: calc(100vh - 90px);
    padding-top: 1rem;
}

.user-form {
    min-height: calc(100vh - 240px);
}

.content-section {
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    margin-top: .5rem;
    transition: background-color 0.3s;
    background-color:whitesmoke;
}

.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.navbar-nav {
    --bs-nav-link-padding-y: 0.3rem !important;
}



.pagination button {
    margin: 1px;
}

.pagination a {
    margin: 3px;
    padding: 3px;
    text-decoration: underline;
    cursor: pointer
}

.pagination a.active {
    font-weight: bold;
    color: #007bff;
}

.signature {
    font-family: cursive;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    padding-right:15px;
}



.square-mark {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #0d6efd; /* Bootstrapのprimary色 */
}

/* コメント部 ↓ */
.comment-container {
    width: 100%;
    margin: auto;
    padding: 10px;
    font-family: Arial, sans-serif;
}

.message {
    display: flex;
    margin: 4px 0;
    align-items: flex-end;
    white-space: pre-wrap;
    font-size:.9em;
    background-color:whitesmoke;
    padding:2px;
}

.send-box {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

    .send-box textarea {
        resize: none;
        padding: 4px;
        font-size: .9em;
    }

.send-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-size: 0.8em;
    color: gray;
}

/* コメント部 ↑ */
