css
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  display: block;
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  background-color: #fff; /* 背景色は任意 */
}

.banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央揃えにするための指定 */
}

.banner{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央揃えにするための指定 */
}

.box {
  padding: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: #fff;
}

.box h1 {
  font-weight: bold;
  font-size: 2.2rem;
  text-align: center;
  line-height: 1.3;
  margin: 0; /* ←これ重要 */
  padding: 0; /* 念のため */
}

.kakunin{
  padding-top: 1rem;
}

.setumei{
    font-size: 1.15rem;
    font-weight: bold;
}

.date-highlight {
  color: #c82333;
  font-weight: bold;
  font-size: 1.2rem; /* または18pxなど */
}

.maintenance-message {
    text-align: center;
    font-size: 18px;
    color: red;
    margin: 50px auto;
    padding: 20px;
    border: 2px solid red;
    background-color: #fff4f4;
    border-radius: 10px;
    max-width: 600px;
}

.hide {
    display: none;
}

.kouusin{
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 0.5rem;
    color: #c82333;
}

.form {
     max-width: 400px;
     margin: 0 auto;
     background-color: #fff;
     padding: 1.5rem;
     border-radius: 0.5rem;
     box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

    .form-group {
      position: relative;
      margin-bottom: 1.5rem;
    }

    .form-group input {
      width: 100%;
      padding: 1rem 0.75rem;
      font-size: 1rem;
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
      background-color: #fff;
      box-sizing: border-box;
    }

    .form-group label {
      position: absolute;
      top: 50%;
      left: 0.75rem;
      transform: translateY(-50%);
      background-color: #fff;
      padding: 0 0.25rem;
      color: #6c757d;
      pointer-events: none;
      transition: all 0.2s ease-in-out;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
      top: -0.6rem;
      left: 0.5rem;
      font-size: 0.75rem;
      color: #495057;
    }

    .submit-button {
      width: 100%;
      padding: 0.75rem;
      font-size: 1.25rem;
      background-color: #dc3545;
      color: white;
      border: none;
      border-radius: 0.3rem;
      cursor: pointer;
      transition: background-color 0.2s ease-in-out;
    }

    .submit-button:hover {
      background-color: #c82333;
    }

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.error-icon {
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}


  .custom-container {
    padding-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
  }

.custom-text {
  font-weight: bold;
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 0; /* ←追加して余白をなくす */
  padding: 0.25rem 0; /* ←パディングも調整 */
}

.appear-text {
  font-size: 15px;
}


.arurunbox{
    position: relative;
  top :200px;
  }
  
  .arurun {
    position: absolute;
    width: 30%;
    right: 10px;
    bottom: 10px;
    padding: 5%;
    z-index: -1;
  }



/*01 */

.box{
  padding: 0 2rm;
  background-color: white;
}

.message {
 text-align: center;
 font-weight: bold;
}

.form{
  max-width: 360px;
  text-align: center;
  margin: 0 auto;
}


/* 02 */
.no-login{
  text-align: center;
}

.attention{
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  padding: 0 5px;
  text-align: left;
}

.senen{
position: relative;
  width: auto;
  padding: 10px;
}

.senencell {
  position: absolute;
  width: 80%;
  top: 80px;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.sanzenencell{
  position: absolute;
  width: 80%;
  top: 166px;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.gosenencell{
  position: absolute;
  width: 80%;
  top: 180px;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.tassei{
  position: absolute;
  top: 50px;
   left: 50%;
  width: 250px;
}

.tassei02{
  position: absolute;
  top: -50px;
   right: 50%;
  width: 250px;
}

.tassei03{
  position: absolute;
  top: -50px;
   left: 50%;
  width: 250px;
}


.btn-logout {
  display: inline-block;
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 0.3rem;
  transition: background-color 0.3s ease;
  margin: 0 auto;
}

.btn-logout:hover {
  background-color: #c82333; /* hover時の色 */
  text-decoration: none;
}

.logout-area {
  text-align: center; /* ← 常に中央寄せ */
  padding: 1rem;
  margin-bottom: -1rem;
}

.arurun-img{
  display: block;
  width: 15rem;
  height: auto;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.arurun-box {
  line-height: 0;
  font-size: 0;
  padding: 0;
  margin: 0;
}

.logout-title{
  margin-top: 8rem;
}

.ojigi-img {
  display: block;
  width: 13rem;
  height: auto;
  margin: 0 auto;
  font-size: initial;
  padding-top: 2.5rem;
}

.footer {
  font-size: 0.75rem;
  color: #666;
  background-color: #f8f8f8;
  padding: 0.1rem 0;
  margin-top: auto; /* ← これが下付きのポイント */
  border-top: 1px solid #ddd;
  width: 100%;
}

.footer .copyright {
  text-align: center;
}


@media (max-width: 576px) {
  .arurun {
  width: 200px;
  position: fixed;
  bottom: 10px;
  padding: 20px;
}

.banner{
  width: 100%;
}

.no-login{
  width: 100%;
}

.header{
  width: 100%;
}

.attention{
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  padding: 0 5px;
}

.senen{
position: relative;
  width: 100%;
  padding: 3%;
}

.card{
  width: 92%;
}

.senencell {
  position: absolute;
  width: 90%;
  top: 15%;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.sanzenencell{
  position: absolute;
  width: 90%;
  top: 29%;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.gosenencell{
  position: absolute;
  width: 90%;
  top: 31.5%;
   left: 50%;
transform: translate(-50%);/*センター寄せの修正*/
  margin: 0;
}

.tassei{
  position: absolute;
  top: 50px;
   left: 50%;
  width: 250px;
}

.tassei02{
  position: absolute;
  top: -50%;
   right: 50%;
  width: 250px;
}

.tassei03{
  position: absolute;
  top: -25%;
   left: 50%;
  width: 250px;
}

.logout-area {
    text-align: center; /* ← これでスマホも中央 */
    margin-top: 1rem;
  }

.btn-logout {
    /*width: 80%;*/
    font-size: 1.1rem;
    margin: 0 auto; /* 念のため中央 */
}
}

/* アニメーション */
@keyframes stamp {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
    transform: scale(1.5);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
}

.anime-object {
  animation: stamp 3s ease-in 1s backwards;
  width: 100px;
  height: 100px;
}

.anime-object02 {
  animation: stamp 3s ease-in 1s backwards;
}

.achievement {
  animation-delay: 2s;
}

@media (max-width: 576px/*480px*/) {
  .anime-object {
    animation: stamp 3s ease-in 1s backwards;
    width: 15.8%;
    height: 15.8%;
  }

  .anime-object02 {
    animation: stamp 3s ease-in 1s backwards;
    width: 30%;
  }

  .achievement {
    animation-delay: 2s;
  }
}



