@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/




/* ここからモーダル用CSS */

.wrapper {
	width:100%;
}

.modalCheck {
  display: none;
}

label {
  cursor: pointer;
}

.btn {
  text-align: center;
}
.btn label {
display:table-cell;
vertical-align:middle;
text-align:center;
width:100%;
padding:0.3em;
color:#ad0003;
transition:.3s;
		  
}
.btn label:hover {
  background-color: #ad0003;
		  color:#fff;
}
.btn.small label {
  font-size: 18px;
}



.modalWrap, .modalBg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  z-index: 10;
}

.modalWrap {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s cubic-bezier(1, 0, 0, 1);
  transition: 0.3s cubic-bezier(1, 0, 0, 1);
  -webkit-transition-property: opacity;
  transition-property: opacity;
  will-change: opacity;
}

.modalBg {
  opacity: 0.3;
  background-color: #000;
  z-index: 2;
}

.modalCon {
  width: 92%;
  /*height:420px;*/
  max-width: 840px;
  min-width:294px;
  /*height: 86%;*/
  margin: auto;
  z-index: 1000;
  
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: auto;
  
	opacity: 0;
	animation-name: fadeIn;
	animation-duration: 1s; /* アニメーションの長さ */
	animation-fill-mode: forwards; /* アニメーション終了時のスタイルをアニメーション終了後でも適用させる */
	animation-delay: 1s;
}


.modalInner {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  /*height: 100%;*/
  padding: 2em 30px 1.5em;
  cursor: default;
  background-color: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
}

.modalInner > img {
	width:100%;
}


.modalInner section {
	width:100%;
	min-width:100%;
	margin:0 0 2em;
	padding:0;
	overflow:visible;
}




#inputbox {
	display:flex;
	justify-content: space-between;
	/*justify-content: center;*/
	position:relative;
	width:90%;
	margin:0 auto;
}

#inputbox div{
	width:48%;
	max-width:500px;
}

#inputbox div input[type="text"],
#inputbox div input[type="password"]{
	padding:0.5em 1em;
	border:3px solid #ccc;
	width:100%;
	border-radius:6px;
	font-size:2rem;
}


#inputbox div input:focus{
	border:3px solid #ff9900;
}


::placeholder {
   color: #ccc;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: 0;
}


#btn_submit {
	width:100%;
  max-width: 400px;
  margin: 30px auto 0px;
}

#btn_submit a {
	width:100%;
	background-color:#f00;
	color:#fff;
	padding:0.5em 1em;
	font-size:2.4rem;
	text-decoration:none;
	display:block;
	text-align:center;
	font-weight:bold;
    transition: all 0.3s ease;
}

#btn_submit a:hover {
	background-color:#f55;
}

#btn_submit.off a{
pointer-events: none;
background-color: #ccc;
}

#btnset {
	display:flex;
	justify-content: space-between;
	justify-content: center;
}


#btnset a{
	width:48%;
	display:block;
	padding:1em 1em;
	border-radius:6px;
	font-size:1.6rem;
	font-weight:bold;
	background-color:#ccc;
	color:#000;
	white-space:normal;
	text-align:center;
	text-decoration:none;
	line-height:1em;
    transition: all 0.3s ease;
}

#btnset a:hover{
	background-color:#dcdcdc;
}




.modalCheck:not(:checked) ~ .wrapper > *:not(.modalWrap) {
  -webkit-filter: blur(0px);
          filter: blur(0px);
}
.modalCheck:not(:checked) ~ .wrapper .modalWrap {
  opacity: 0;
  visibility: hidden;
}

.modalCheck:checked ~ .wrapper > *:not(.modalWrap) {
  -webkit-filter: blur(3px);
          filter: blur(3px);
}

#modal00:checked ~ .wrapper #modal00Con {
  opacity: 1;
  visibility: visible;
}

#modal01:checked ~ .wrapper #modal01Con {
  opacity: 1;
  visibility: visible;
}

#modal02:checked ~ .wrapper #modal02Con {
  opacity: 1;
  visibility: visible;
}

#modal03:checked ~ .wrapper #modal03Con {
  opacity: 1;
  visibility: visible;
}

#modal04:checked ~ .wrapper #modal04Con {
  opacity: 1;
  visibility: visible;
}

.modalTtl {
	margin-bottom:1em;
  padding: 2em 0.5em 1.5em;
  font-size: 2em;
  line-height: 1.3;
  text-align: center;
  font-weight:bold;
}



#error_box {
	display:block;
	width:80%;
	margin:0 auto;
	color:#333;
}

#error_box .error {
	color:#ff0000;
	text-align:left;
	font-size:1.8rem;
/*
	position:absolute;
	top:-2.5em;
*/
	width:100%;
	color:#333;
}


#error_box .error::before {
	
	content:"エラー";
	color:#fff;
	background-color:#f00;
	text-align:center;
	font-size:1.8rem;
	display:inline-block;

	position:absolute;
	position:relative;
	top:0;
	left:0;
	margin-bottom:0.5em;

	width:100%;
	font-weight:bold;
}

.modalText {
  margin-bottom: 2em;
  position:relative;
}


#error_box .mailto {
	font-size:1.8rem;
	text-align:center;
}
#error_box .mailto a {
	display:inline-block;
}

.modalText .modalCover {
  margin: 0 -1.5em 2em;
  display:flex;
}

.modalText .modalCover div {
	padding:1em;
	width:50%;
}

.modalText .modalCover div p {
	display:inline-block;
	height:15vh;
	margin-bottom:0;
	padding:0 1em;
	min-height:160px;
	font-weight:bold;
}

.modalText .modalCover div p span {
	color:#ad0003;
}


.modalText h4 {
	font-size:20px;
	font-weight:bold;
  margin-bottom: 1em;
  line-height: 1.4;
}

.modalText p {
  margin-bottom: 1em;
  line-height: 1.7;
}




/*------------------------------------------------------------
.btnArea
------------------------------------------------------------*/

.btnArea {
  max-width: 400px;
  margin: 30px auto 0;
  position: relative;
}
.btnArea input[type="submit"]  {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0);
  padding: 0;
  z-index: -1;
  transition-duration: 0.3s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.btnArea input[type="submit"] {
  cursor: default;
  z-index: +1;
  outline: none;
  pointer-events: none;
}
.btnArea._check input[type="submit"]  {
  z-index: -1;
  pointer-events: auto;
}

.btnArea + p {
	margin-top:1em;
}


a.btn_one {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #969696;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0px 0px 0px 0px #00407b;
  width: 100%;
  padding: 1em 2em;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  top:5px;
  pointer-events: none;
}
a.btn_one:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  top: 50%;
  right: 8%;
  margin-top: -11px;
}
._check a.btn_one._a {
  background: #3475b1;
  box-shadow: 0px 5px 0px 0px #104575;
  top:0px;
  pointer-events:auto;
}
a.btn_one._a:hover {
  background: #228bc8;
  opacity: 1;
}
._check a.btn_one._b {
  background: #459d3c;
  box-shadow: 0px 5px 0px 0px #255720;
}
a.btn_one._b:hover {
  background: #63b559;
  opacity: 1;
}


#btn_jichitai-link {
	display:block;
	color:#fff;
	
}

#btn_jichitai-link a {
	display:block;
  text-align:center;
  background-color:#ad0003;
  border-radius: 6px;
  box-sizing: border-box;
  width: 100%;
  padding: 1em 2em;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}

#btn_jichitai-link a:hover {
	background-color:#e52226;
}


#btn_jichitai-link a span {
	display:inline-block !important;
}


@media (max-width: 640px) {
  .content {
    margin: 1.5em auto;
  }

  .modalInner {
    padding-left: 1em;
    padding-right: 1em;
  }

  .modalTtl {
    font-size: 1.5em;
    padding-bottom: 1em;
  }

  .modalText .modalCover {
    margin: 0 -1em 1em;
	display:block;
  }

  .modalText .modalCover div {
	  width:100%;
  }

  .modalText .modalCover div p {
	  height:auto;
  }
 
.modalText .modalCover div p {
	display:inline-block;
	height:15vh;
	margin-bottom:0;
	padding:0 1em;
	min-height:100px;
	font-weight:bold;
}


}


@media (max-width: 320px) {

 
.modalText .modalCover div p {
	display:inline-block;
	height:17vh;
	margin-bottom:0;
	padding:0 1em;
	min-height:80px;
	font-weight:bold;
}


}




/*上から下*/
@keyframes SlideDown {
  0% {
    opacity: 0;
    /*transform: translateY(-50%);
	top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);*/
  }
  100% {
    opacity: 1;
    /*transform: translateY(-1%);
	top: 150vh;
    left: 50%;
    transform: translate(-50%, -50%);*/
  }
}
