@charset "utf-8";

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: "a-otf-ud-shin-maru-go-pr6n", sans-serif;
}

#btnHelp {
  width: auto;
  padding:0;
  margin:0;
  background:none;
  border:0;
  font-size:0;
  line-height:0;
  cursor:pointer;  
  img {
    width: 100px;
    height: 100px;
    @media screen and (max-width : 1199px) { 
      width: 70px;
      height: 70px;
    }
    @media screen and (max-width : 575px) {
      width: 48px;
      height: 48px;
    }
  }
}

.help_content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 25px;
  padding-top: 20px;
  border-radius: 10px;
  width: 70%;
  position: fixed;
  display: flex;
  flex-direction: column;
  @media screen and (max-width : 1199px) {
    border-radius: 10px;
    padding: 15px;
    width: 350px;
  }
  h2 {
    margin-top: -40px;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 50px;
    padding-left: 25px;
    font-size: 2.5em;
    font-weight: bold;
    border-left: 0px;
    color: var(--main-color);
    @media screen and (max-width : 1199px) {
      margin-top: 0px;
      margin-left: 0px;
      margin-right: 20px;
      padding-left: 13px;
      font-size: 1.6em;
    }
  }
  span {
    margin-right: 20px;
    font-size: 2.5em;
    color: #b3b3b3;
    @media screen and (max-width : 1199px) {
      font-size: 2em;
      padding-top: 10px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px; 
      line-height: 1;
      margin-right: 0;
    }
    @media screen and (max-width : 575px) {
      font-size: 1.3em;
    }
  }
  .popup-close {
    font-weight: normal;
    position: relative;
    top: -15px;
    right: -97%;
    cursor: pointer;
    @media screen and (max-width : 1199px) {
      position: absolute;
      top: -60px;
      right: 0;
      border-radius: 5px;
      background-color: #fff;
    }
  }
  p {
    @media screen and (max-width : 1199px) {
      font-size: 0.8em;
    }
  }
  img,p {
    @media screen and (max-width : 575px){
      width: 100%;
      margin-right: 0;
      font-size: 0.8em;
    }
  }
  .image_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    @media screen and (max-width : 1199px) {
      flex-direction: column;
      align-items: center;
    }
    .image_with_caption{
      width: 400px;
      height: auto;
      margin-right: 4rem;
      &:last-child{
        margin-right: 0;
      }
      @media screen and (max-width : 1199px) {
        width: 95%;
        margin-right: 0;
      }
      .caption {
        margin-top: 10px;
        margin-bottom: -10px;
        text-align: left;
        @media screen and (max-width : 1199px) { 
          margin-bottom: 15px;
        }
      }
    }
  }
}
