/*****
 * custom properties
 *****/
:root{
	--col-main: #052B72;
	--col-bg: #efe;
	--col-black: #343434;
	--col-active: #D82F66;
	--width: 1280px;
	--height: 768px;
}


/*****
 * common
 *****/
html,body,div,span,h1,h2,h3,h4,img,ul,li,label,a,input,p,select,pre,textarea{
	border: 0;margin: 0;outline: 0;padding: 0;
	font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W4","メイリオ",Meiryo,sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
	color: var(--col-black);
	box-sizing: border-box;
}
body{
	width: 100%;
}
span{
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

a{
	cursor: pointer;
}

a.btn{
	display: block;
	padding: 10px 0;
	width: 100%;
	max-width: 335px;
	text-align: center;
	color: white;
	border: 1px solid var(--col-main);
	border-radius: 10px;
	background-color: var(--col-main);
	box-shadow: 0 2px 0 #ccc;
	margin: 20px auto;
}
a.btn.sub{
	color: var(--col-main);
	border: 1px solid var(--col-main);
	background-color: white;
	box-shadow: none;
}
a.btn.cancel{
	background-color: white;
	color: #666;
	border: 1px solid #666;
	box-shadow: none;
}
a.btn.disabled{
	color: white;
	border: 1px solid #bbb;
	background-color: #bbb;
	box-shadow: none;
}
a.link{
  color: var(--col-main);
}
a.link:hover{
  text-decoration: underline;
}

input[type="text"],input[type="password"],input[type="number"],input[type="email"],input[type="tel"],input[type="date"]{
	display: block;
	padding: 5px 10px;
	background-color: white;
	border: 1px solid white;
	border-bottom: 1px solid #999;
	width: 100%;
	margin: 5px auto;
	cursor: pointer;
	&:focus{
		border: 1px solid #999;
	}
}
textarea{
	display: block;
	resize: none;
	padding: 10px;
	background-color: white;
	border: 1px solid #999;
	border-radius: 10px;
	width: 100%;
	min-height: 240px;
	margin: 20px auto;
}
input::placeholder,
textarea::placeholder{
	opacity: 0.4;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

ul,li{
	display: block;
	overflow: hidden;
	width: 100%;
	list-style-type: none;
}

img{
	vertical-align: middle;
	max-width: 100%;
}

hr{
	border: none;
	border-bottom: 1px solid #ccc;
	opacity: 0.5;
}

pre{
	white-space: pre-wrap;
	word-break: break-all;
}


h1{
  font-size: 24px;
  line-height: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

h2{
	display: block;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
	font-weight: 600;
}

h3{
	font-size: 14px;
	line-height: 16px;
	display: block;
	font-weight: 600;
	margin-top: 20px;
}
h3:before{
	display: block;
	float: left;
	content: '　';
	width: 5px;
	height: 100%;
	border-radius: 5px;
	margin-right: 5px;
	background-color: var(--col-main);
}

/*base*/
#app{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #f0f0f0;
  border-top: 5px solid var(--col-main);
  padding-bottom: 40px;
}

.logo{
  margin: 0 auto 40px auto;
}
.logo img{
  display: block;
  width: auto;
  height: 160px;
  margin: auto;
}

.card{
  position: relative;
  background-color: white;
  max-width: 768px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
}

.back{
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px;
  color: var(--col-main);
}
.back:hover{
  text-decoration: underline;
}
.back span{
  display: inline-block;
  border: 2px solid #999;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 13px;
  border-radius: 10px;
  font-weight: bold;
  vertical-align: baseline;
}

/*エラーメッセージ*/
.message{
	font-size: 14px;
	color: red;
}

/*注意事項*/
.notes{
	font-size: 14px;
	line-height: 18px;
}

/*モーダル*/
.modal{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0,0,0,0.6);
	z-index: 99;
}
.modal .mWrp{
	position: absolute;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	background-color: white;
	overflow: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	padding: 20px;
}


/*ボタン横並び*/
.btns{
	margin: 20px auto;
	text-align: center;
}
.btns>.btn{
	display: inline-block;
	margin: 0 20px;
}

.footer{
	height: 40px;
	line-height: 30px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}
.footer span{
	font-size: 14px;
}

