/* 全画面共通 */
:root {
    --user-header-color: #369458;
    --user-main-button-color: #E82A36;
    --user-sub-button-color: #555CC9;
    --admin-header-color: #173575;
}

body {
    background: #e9e9e9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

html {
    position: relative;
    height: 100%;
    margin: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


hr {
    margin: 0;
}

header img {
    width: auto;
    height: 2.5rem;
}

a {
    text-decoration: none;
}

.site-title {
    font-size: 1.5rem;
}

.login-info {
    word-wrap: revert-layer;
    margin-left:auto;
    margin-right:1rem;
}

.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;
}

.navbar-nav .nav-link {
    font-size: 1.25rem;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}

.modal-toggle {
  display: none;
}

.modal-link {
  display: flex;
  padding: 10px 20px;
  color: blue;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  justify-content: center;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-toggle:checked + .modal-link + .modal {
  display: flex;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  height: fit-content;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  text-align: right;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

@media (min-width: 992px) {
    li, th, td, p, a,label {
        font-size: 1.4rem;
    }

    .site-title {
        font-size: 2.5rem;
    }

    .title {
        background: var(--user-header-color);
        color: white;
        font-size: 2rem;
        padding: 0.5rem;
        margin: 0;
    }
}