@charset "UTF-8";
/* mixin
*********************************************************************/
/* カラー */
/* media query */
/* SP縦から */
/* SP横から */
/* タブレット縦から */
/* フルワイド */
/* modal */
:root {
  --black-color-primary: #1a1a1a;
  --white-color-primary: #fff;
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: 0;
}

[inert] {
  cursor: default;
  pointer-events: none;
}

[inert],
[inert] * {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

.modal {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.modal__container {
  -webkit-animation-duration: var(--modal-toggle-duration);
          animation-duration: var(--modal-toggle-duration);
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  display: grid;
  height: 100%;
  left: 0;
  place-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.modal[aria-hidden=true] .modal__container {
  -webkit-animation-name: fade-out;
          animation-name: fade-out;
}
.modal[aria-hidden=false] .modal__container {
  -webkit-animation-name: fade-in;
          animation-name: fade-in;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.modal__overlay {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.modal__inner {
  -webkit-animation-duration: var(--modal-toggle-duration);
          animation-duration: var(--modal-toggle-duration);
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
          animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: var(--white-color-primary);
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
  color: var(--black-color-primary);
  height: auto;
  max-height: 800px;
  max-width: 1000px;
  overflow: hidden;
  position: relative;
  width: calc(100% - 32px);
  z-index: 2;
  border-radius: 6px;
}
.modal[aria-hidden=true] .modal__inner {
  -webkit-animation-name: modal-inner-leaved;
          animation-name: modal-inner-leaved;
}
.modal[aria-hidden=false] .modal__inner {
  -webkit-animation-name: modal-inner-appeared;
          animation-name: modal-inner-appeared;
}
@media screen and (min-width: 1200px) {
  .modal__inner {
    height: auto;
    width: 80%;
    overflow-y: auto;
  }
}
@media all and (max-width: 480px) {
  .modal__inner {
    overflow-y: auto;
  }
}

@media all and (max-width: 750px) {
  .modal__inner {
    max-height: 500px;
  }
}

@-webkit-keyframes modal-inner-appeared {
  0% {
    transform: scale3d(0.93, 0.93, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes modal-inner-appeared {
  0% {
    transform: scale3d(0.93, 0.93, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
@-webkit-keyframes modal-inner-leaved {
  0% {
    transform: scale3d(1, 1, 1);
  }
  100% {
    transform: scale3d(0.93, 0.93, 1);
  }
}
@keyframes modal-inner-leaved {
  0% {
    transform: scale3d(1, 1, 1);
  }
  100% {
    transform: scale3d(0.93, 0.93, 1);
  }
}
.modal__contents {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4%;
}
.modal__contents .m_ttl {
  text-align: center;
  margin-bottom: 10px;
}
.modal__contents .m_ttl p {
  font-size: 1.8rem;
}
.modal__contents .m_ttl p.icon {
  text-align: center;
  font-size: 1.2rem;
}
.modal__contents .m_ttl p.icon img {
  margin: 0 4px;
}
.modal__contents .m_ttl h4 {
  font-size: 2.2rem;
}
.modal__contents ul.m_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-direction: row-reverse;
}
@media all and (max-width: 480px) {
  .modal__contents ul.m_flex {
    display: block;
    margin-bottom: 20px;
  }
}
.modal__contents ul.m_flex > li:first-child {
  width: 40%;
  text-align: center;
}
@media all and (max-width: 480px) {
  .modal__contents ul.m_flex > li:first-child {
    width: 100%;
    margin-bottom: 10px;
  }
}
.modal__contents ul.m_flex > li:first-child img {
  margin: 0 auto;
}
.modal__contents ul.m_flex > li:nth-child(2) {
  width: calc(60% - 50px);
  margin-left: 20px;
  padding: 20px;
}
@media all and (max-width: 480px) {
  .modal__contents ul.m_flex > li:nth-child(2) {
    width: 100%;
    margin: 0;
  }
}
.modal__contents ul.m_flex > li:nth-child(2) p {
  font-size: 1.6rem;
}
.modal__contents ul.m_flex > li:nth-child(2) .m_btn {
  padding: 15px;
  text-align: center;
  margin: 20px auto;
  width: 280px;
  display: block;
  background-color: #00984b;
  color: #fff;
}
.modal__contents ul.m_flex > li:nth-child(2) .m_btn.end {
  background-color: #E3E3E3;
  pointer-events: none;
  color: #CD0003;
  font-weight: bold;
}
.modal__contents ul.m_flex > li:nth-child(2) .m_btn.end2 {
  background-color: #E3E3E3;
  pointer-events: none;
  color: #232883;
  font-weight: bold;
}
.modal__contents .closebtn {
  position: absolute;
  top: 10px;
  right: 5px;
  width: 55px;
  margin-right: 8px;
  text-align: center;
}
@media all and (max-width: 480px) {
  .modal__contents .closebtn {
    margin: 0 auto;
  }
}
.modal__contents .closebtn span {
  text-align: center;
  font-size: 11px;
  line-height: 12px;
}

.modal__close {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: var(--white-color-primary);
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  height: 46px;
  transition: background-color 0.3s;
  width: 46px;
  z-index: 3;
}
.modal__close::before, .modal__close::after {
  background-color: var(--black-color-primary);
  bottom: 0;
  content: "";
  display: inline-block;
  height: 2px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
}
.modal__close::before {
  transform: rotate(45deg);
}
.modal__close::after {
  transform: rotate(-45deg);
}
.modal__close.focus-visible {
  background-color: var(--white-color-primary);
}
@media (hover) {
  .modal__close:hover {
    background-color: var(--white-color-primary);
  }
}
@media screen and (min-width: 1200px) {
  .modal__close {
    height: 48px;
    width: 48px;
  }
  .modal__close::before, .modal__close::after {
    width: 20px;
  }
}
/*# sourceMappingURL=modal.css.map */