 /*--------------------------------------
  ���[�_���\���ォ��_002
--------------------------------------*/
.modal_wrap input {
  display: none;
  }

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
    align-self: center;
    border-radius: 5px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3% 4%;
    box-sizing: border-box; 
    background-color: #fff;
    transition: 0.5s;
}
.modal_overlay::-webkit-scrollbar {
  width: 6px;
  height: 10px;
  border-radius: 20px;
}
.modal_overlay::-webkit-scrollbar-thumb {
  background-color: #C0C0C0;
  border-radius: 25px;
}
.modal_overlay::-webkit-scrollbar-thumb:hover {
  background-color: #A9A9A9;
  border-radius: 25px;
}
.modal_overlay::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.2);
  border-radius: 25px;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 15px;
  height: 20px;
  width: 20px;
  font-size: 20px;
  cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: translateY(20px);
}

.open_button {
    transition: all 0.3s;
    display: flex;
    justify-content: center;
}

.open_button img{
   width: 100%;
   max-width: 300px;
   padding: 10px;
   cursor: pointer;
}

.open-button:active {
  /*�{�^�����������Ƃ�*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*���ɓ���*/

}

/*�A�C�R����\��*/
.open-button:after {
  font-family: "Font Awesome 5 Free";
  content: "\f2d0";
  padding-left: 8px;
}

.modal_title2 {
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
  margin: 10px 10px 20px;
  line-height: 3em;
}

.modal_title2::before,
.modal_title2::after{
	content: "";
	position: absolute;
	bottom: 0;
}

/* h2 �v���C�}���J���[*/
.modal_title2:before{
	border-bottom: 4px solid #6bb6ff;
	width: 100%;
}
/* h2 �Z�J���_���J���[*/
.modal_title2:after{
	border-bottom: 4px solid #c8e4ff;
	width: 30%;
}

@media screen and (max-width:768px){
.modal_content {
    max-height: 80%;
    padding: 15px;
    font-size: 11px;
}
.modal_title2 {
  font-size: 14px;
}
}
