﻿/*                      */
/* 属性に紐づくスタイル */
/*                      */
/*                      */

body {
	background: #eeeeee;
	font-family: Meiryo;
	font-size: 25px;
}



/*                            */
/* クラス指定に紐づくスタイル */
/*                            */
/*                            */

/* 文字 */
.title1 {
	font-size: 50px;
	padding: 8px 0 10px;
}

.contentarea {
	font-size: 25px;
}
/* テキストボックス */
.txt1 {
	font-family: Meiryo;
	font-size: 15px;
	width: 600px;
	height: 30px;
}

/* ボタン */
.btn_main {
	width: 200px;
	height: 50px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	display: block;
	text-align: center;
	padding: 8px 0 10px;
	color: #ffffff;
	background-color: #49a9d4;
	border-radius: 5px;
}

.btn_main:hover {
    /* マウスオーバー時に背景色をグレーに変更 */
    background-color: #4787d6;
    border-radius: 20px;
    transition: background-color 0.5s, border-radius 0.2s;
}

.btn_msg {
	width: 200px;
	height: 50px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	display: block;
	text-align: center;
	padding: 8px 0 10px;
	color: #ffffff;
	background-color: #808080;
	border-radius: 5px;
}

.btn_msg:hover {
    /* マウスオーバー時に背景色をグレーに変更 */
    background-color: #5f5f5f;
    border-radius: 20px;
    transition: background-color 0.5s, border-radius 0.2s;
}


/*   ボタン     */
.btn-border {
  display: inline-block;
  max-width: 180px;
  border: 2px solid #333;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .4s;
  text-align: center;
  padding-bottom:6.47791px;
}

.btn-border:hover {
  background-color: #000;
  border-color: #808080;
  color: #FFF;
}

/*                    */
/* IDに紐づくスタイル */
/*                    */
/*                    */

#kabe1 {
	display: none;
	width: 100%;
	height:100%;
	text-align: center;
	position: fixed;
	top: 0;
	z-index: 100;
	background: rgba(0,0,0,0.5);
}

#kabe2 {
	display: none;
	width: 100%;
	height:100%;
	text-align: center;
	position: fixed;
	top: 0;
	z-index: 200;
	background: rgba(0,0,0,0);
}
/**
#overlay {
	display: none;
	position: fixed;
	z-index: 110;
	background: #ffffff;
	padding: 10px;
	text-align: center;
	border: 3px solid #e1e1e1;
	margin: 30px auto;
}
**/

#msgarea {
	display: none;
	position: fixed;
	z-index: 210;
	background: #e1e1e1;
	padding: 10px;
	border: 3px solid #cccccc;
	margin: 30px auto;
}



#loading {
  display: table;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  opacity: 0.8;
  z-index: 200;
}
 
#loading .loadingMsg {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-top: 160px;
  background: url("../images/loading.gif") center center no-repeat;
  font-size: 20px;
}


/*                    */
/* オーバレイ　　　　 */
/*                    */
/*                    */
.overlay_kabe {
	width: 100%;
	height:100%;
	text-align: center;
	position: fixed;
	top: 0;
	z-index: 100;
	background: rgba(0,0,0,0.5);
	pointer-events: auto;
    vertical-align: middle;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.overlay {
	z-index: 110;
    width: 478px;
    opacity: 1;
    background-color: #fff;
    text-align: center;
    border-radius: 5px;
    position: static;
    margin: 20px auto;
    display: inline-block;
    pointer-events: auto;
    box-sizing: border-box;
    vertical-align: middle;
}

@media screen and (max-width:500px) {
	.overlay {
		width: calc(100% - 20px);
	}
}