@charset 'Shift-JIS';

/* -------------------------------------
 * modal
------------------------------------- */
/* modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modal .modalBg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: url(./../images/agnesb/common/com_bg03.png);
}

.modal .modalContents {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10001;
  display: table;
  width: 580px;
  height: 380px;
  margin: -190px 0 0 -290px;
  padding: 20px 100px;
  background-color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .modal .modalContents {
    width: 90%;
    min-width: 280px;
    height: 330px;
    margin: 0;
    padding: 10px 20px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

.modal .modalContents > .inner {
  display: table-cell;
  vertical-align: middle;
}

.modal .modalContents .title {
  padding: 25px 10px;
  border-top: #c5c3c4 1px solid;
  border-bottom: #c5c3c4 1px solid;
  font-family: garamond-premier-pro-display, Helvetica Neue, Helvetica, "Hiragino Kaku Gothic ProN", "ŸàƒSƒVƒbƒN Medium", "Cardo", serif;
  font-size: 26px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .modal .modalContents .title {
    padding: 15px 10px;
    font-size: 20px;
  }
}

.modal .modalContents .description {
  padding: 25px 10px;
  font-size: 13px;
  line-height: 2;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .modal .modalContents .description {
    line-height: 1.8;
  }
}

.modal .modalContents .btn a {
  display: block;
  padding: 15px;
  background-color: #3d3431;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .modal .modalContents .btn a {
    padding: 10px;
    font-size: 14px;
  }
}

.modal .modalContents .close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 20px;
  height: 21px;
  background: url(./../images/agnesb/common/com_ic15.png) no-repeat 50% 50%;
  cursor: pointer;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.modal .modalContents .close:hover {
  opacity: 0.7;
}

