/* MicroModal　*/

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
	background: rgba(43, 46, 56, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
	z-index: 9999;
  padding:10px 0;
}
@media screen and (max-width: 768px) {
  .modal__overlay {
    align-items: normal;
  }
}
.modal__overlay.longModal {
  align-items: normal;
}

.modal__container {
	max-width: 870px;
  width: 100%;
  padding: 35px;
  color: #2b2e38;
  font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, Arial, Helvetica, sans-serif;
	box-sizing: border-box;
  background: #fff;
  transform: translate3d(0, 0, 0);
  overflow-y:auto;
}
@media screen and (max-width: 768px) {
  .modal__container {
    max-width: unset;
    width: calc(100% - 20px);
  padding: 35px 20px;
  }
}

.modal__close {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: visible;
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  color: #95979c;
  border: 0;
  outline: 0;
  background: transparent;
}
.modal__close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
  font-size: 25px;
  line-height: 35px;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 35px;
  content: "×";
  text-align: center;
}
.modal__close:hover{
  color: #2b2e38;
}

.modal__close_ftBtn {
	display: block;
	border: 0;
	text-align: center;
	color: #b01e23;
	cursor: pointer;
	background: #ffffff;
	margin: 0 auto 1em;
	padding: 0;
	font-size: 100%;
	outline: none;
	font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, Arial, Helvetica, sans-serif;
}

.modal__close:focus-visible  {
  color: #2b2e38;
  outline: 2px #555555 solid;
  border-radius: 2px;
}
.modal__close_ftBtn:focus-visible  {
  outline: 2px #555555 solid;
  border-radius: 2px;
}
.btnType02 li a:focus-visible {
  outline: 2px #e00025 solid;
}

/* Animation
------------------------------------------------------------ */
/* fadeIn-Out */
@keyframes mmfadeIn {
  from {
    transform: scale(1);
    opacity: 0;
  }
  to {
    transform: none;
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.97);
    opacity: 0;
  }
}

/* slideIn-Out */
@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(15%);
  }
}

.micromodal-slide {
  display: none;
}
.micromodal-slide.is-open {
  display: block;
}

/* fadeIn-Out */
.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0, 1);
}
.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0, 1);
}

/* slideIn-Out */
.micromodal-slide[aria-hidden="false"] .modal__container {
  /* animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1); */
}
.micromodal-slide[aria-hidden="true"] .modal__container {
  /* animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1); */
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
