@charset 'UTF-8';

/*---------------------------------
      modal
----------------------------------*/

.modal{
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/common/bg_modal.jpg) center center no-repeat;
  background-size: cover;
  overflow-y: scroll;
  display: none;
}
.modal.is-show{
  display: flex;
  animation:fade-in .6s;
  animation-fill-mode:forwards;
}
.modalBt{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modalBt img{
  width: 60px;
  height: 60px;
}

.modalBt:hover{
  background-color: #f8b551;
}
.modalInner{
  display: flex;
  width: 980px;
  height: auto;
  padding:50px 0 50px 0;
}
.modalImg{
  width: 266px;
}
.modalTxtBox{
  padding-left: 20px;
  flex: 1;
}
.modalName{
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.modalName span{
  margin-right: 20px;
}
.modalTxt{
  font-size: 18px;
  height: auto;
  max-height: 500px;
  text-align: justify;
  overflow-y: auto;
}

.modalTokuhou{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 80%;
  min-width: 980px;
  max-width: 1280px;
  height: calc(100% - 150px);
  max-height: 780px;
  min-height: 536px;
  margin: auto;
  overflow: hidden;
}
.modalTokuhou iframe{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-Out {
  0% {
    opacity: 1;
    z-index: 2;
  }
  100% {
    z-index: 0;
    opacity: 0;
  }
}

.credit{
  height: 632px;
  /* background: #ecd198 url(../img/home/bg_credit.jpg) center bottom no-repeat;
  background-size: cover; */
  overflow: hidden;
  transition: all .8s;
}
.credit.is-show{
  bottom: 0;
  opacity: 1;
}
.credit .creditInner{
  width: 1213px;
  height: 632px;
  margin: 0 auto;
  background: url(../img/home/credit_text.png) center center no-repeat;
  background-size: 100%;
}