@charset "utf-8";

/* ---------------------------------- **
		Modal Window
** ---------------------------------- */
#layer_board_area {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 3vw;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /*スクロールバーを非表示*/
  -ms-overflow-style: none;
  /*スクロールバーを非表示*/
  scrollbar-width: none;
  /*スクロールバーを非表示*/
  z-index: 999;
}

#layer_board_area::-webkit-scrollbar {
  display: none;
  /*スクロールバーを非表示*/
}

.layer_board_bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  cursor: pointer;
  background: #000;
  z-index: 0;
}

/* --modalWindow ポップアップ部分-- */
.layer_board {
  display: none;
  position: relative;
  width: 40%;
  max-width: 600px;
  margin: 3em auto;
/* --    padding: 0px auto;-- */
  padding: 20px;
/* --  padding: 20px;-- */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  z-index: 999;
}

.layer_board.shortLayer {
/* -- 背景透過cp2024to2025時のみ   background-color: rgba(0, 0, 0, 0);　-- */

  margin: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);

}

/* --modalWindow バツ(閉じる)ボタン-- */
.layer_board .mdl_btn_close.circle_btn {
  position: absolute;
  width: 50px;
  height: auto;
  top: -60px;
  right: 0;
}

.layer_board .mdl_btn_close.circle_btn:hover {
  background-color: #FDB53F;
  border: 1px solid #FDB53F;
}

/* --↑必須なのはここまで↑-- */
/* --modalWindow タイトル部分-- */
.layer_borad_title {
  font-size: 200%;
  font-weight: 200;
  color: #ED344E;
}

/* --modalWindow コンテンツ部分-- */
.layer_borad_content {
  margin: 1em;
}

/* --modalWindow 四角ボタン-- */
.layer_board .square_btn {
  display: block;
  position: relative;
  width: 160px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #111;
  border-radius: 2px;
  font-size: 1.2em;
  font-weight: 300;
  color: #111;
  text-align: center;
  letter-spacing: 1px;
  text-decoration: none;
  -webkit-transition: .15s;
  -o-transition: .15s;
  transition: .15s;
}

.layer_board .square_btn:hover {
  background: #111;
  color: #fff;
}

.layer__boardclose__btn {
  position: absolute;
  width: 50px;
  height: auto;
  top: -60px;
  right: 10px;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  .layer_board {
    width: 80%;
    margin: 0 auto;
padding: 0 0 20px;
/* --        padding: 0 auto;- */
      }

  .layer_borad_content {
    margin: 0;
  }
}
