.pc_show {
   display: block;
}
@media only screen and (max-width:768px) {
   .pc_show {
      display: none;
   }
}
.sp_show {
   display: none;
}
@media only screen and (max-width:768px) {
   .sp_show {
      display: block;
   }
}

.modal-bg {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 1000;
}

.modal-content {
   background-color: #fff;
   padding: 40px 36px;
   border-radius: 10px;
   border: 1px solid #083221;
   width: 100%;
   max-width: 540px;
   text-align: center;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
   color: #3c9c8e;  /* カスタム色 */
   font-size: 1.125rem;
   margin-bottom: 13px;
}

.modal-content p {
   line-height: 2;
   font-size: 0.9375rem;
}

.modal-btns {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   margin-top: 24px;
   gap: 10px; /* ボタンの隙間 */
}

.modal-btn {
   padding: 10px 20px;
   border: 1px solid #083221;
   border-radius: 8px;
   color: #000000;
   cursor: pointer;
   text-decoration: none;
   transition: background-color 0.3s;
   text-align: center;
}

.modal-btn:hover {
   background-color: #81c784;
}

#proceed-link{
   width: 292px;
   background-color: #BEE2E8;
}

#close-modal{
   width: 292px;
   background-color: #ffffff;
}

@media only screen and (max-width:768px) {
   .modal-content {
      padding: 40px 20px;
      width: 84%;
   }
   .modal-content h3 {
      font-size: 16px;
   }
   .modal-content p{
      font-size: 14px;
   }
   #proceed-link{
      width: 100%;
   }

   #close-modal{
      width: 100%;
   }
}