@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;
    box-sizing: border-box; /*スクロールバーを非表示*/
    -ms-overflow-style: none; /*スクロールバーを非表示*/
    scrollbar-width: none; /*スクロールバーを非表示*/
    z-index: 2;
}
#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: 85%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
	box-sizing: border-box;
/*background-image: url("../img/background/main.jpg");*/
	background-color:#333;
	z-index: 10;
}
.layer_board.shortLayer {
	margin: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* --modalWindow バツ(閉じる)ボタン-- */
.layer_board .mdl_btn_close.circle_btn {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 30px;
	height: 30px;
	background-color: #000;
	background-image: url("../img/btn_close.png");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: 50%;
	border-radius: 50%;
	border: 1px solid #ccc;
	transition: .15s;
	cursor: pointer;
}
.layer_board .mdl_btn_close.circle_btn:hover {
	background-color: #3399cc;
	border: 1px solid #3399cc;
}

/* --↑必須なのはここまで↑-- */

/* --modalWindow タイトル部分-- */
.layer_borad_title {
	font-size: 200%;
	font-weight: 200;
	color: #ED344E;
}
/* --modalWindow コンテンツ部分-- */
.layer_borad_content {
	margin: 1 auto 1.5rem;
}
/* --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;
    transition: .15s;
}
.layer_board .square_btn:hover {
	background: #111;
	color: #fff;
}

@media screen and (max-width:768px) {
	.layer_board {
		width: 97%;
		margin: 1rem auto;
		padding: 0.5rem;
	}
	.layer_board .mdl_btn_close.circle_btn {
		width: 26px;
		height: 26px;
		background-size: 14px;
	}
}


/*ポップアップのイメージ部分*/
.popup_img {
	margin-bottom: 1rem;
}

@media screen and (max-width: 768px)  {
.popup_img {
	margin-bottom: 1rem;
}
}

/*ポップアップのリンクボタン*/
/*** ボタン用装飾 ***/
.button_popup_window{
  text-align: center;
	width: 90%;
  margin: 0 auto;
}

/* リンク部分 */
.button_popup_window a{
	width: 100%;
	margin: 0rem auto;
  display: inline-block;
	padding: 1rem;
  background: red; /*ボタン色*/
	font-size: 2.2rem;
	font-weight: bold;
  color: white;
  text-decoration: none; /*下線削除*/
box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
	border-radius: 45px;
	border: solid 2px white;
}

/*** ボタンを光らせる ***/
.btn-shine a{
  position: relative; /*疑似要素の起点*/
  overflow: hidden; /*範囲外の光を隠す*/
}

/*** ボタンをキラッとさせる ***/
.btn-shine a:after{
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 10%;
  height: 150%;
  background: #fff; /*光の色*/
  transform: rotate(45deg); /*45度傾ける*/
  animation: reflect 5s ease-in-out infinite;
/*animation: アニメ名｜光る周期｜動き方｜ループ*/
}

/*** 光のアニメーション ***/
@keyframes reflect{
  0%,75%{
    transform: rotate(45deg) scale(0);
    opacity: 1;
  }
  100%{
    transform: rotate(45deg) scale(100);
    opacity: 0;
  }
}

@media only screen and (max-width: 750px) {
	.button_popup_window{
  		text-align: center;
		width: 100%;
}
	.button_popup_window a{
	width: 100%;
	padding: 1rem;
	font-size: 1.4rem;
}

}

