@charset:"UTF-8";
/*----------------------------------------------*/
/*----------リセット--------------------------*/
/*----------------------------------------------*/
* {
    box-sizing: border-box;
}

html,
body,
h1,
h2,
p,
ul,
li {
    margin: 0;
    padding: 0;
    line-height: 1.0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: .8;
}

img {
    border: none;
    vertical-align: bottom;
    max-width: 100%;
}

html {
    font-size: 62.5%;
}

body {
    background: #fff;
    color: #333;
    font-size: 1.6rem;
    font-family:  'メイリオ', Meiryo, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3','ＭＳ Ｐゴシック', sans-serif;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
button,
select,
textarea {
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    font: inherit;
    outline: none;
}

textarea {
    resize: vertical;
}

/*スマホ*/
body{
  background: url(../images/img_bg.jpg) no-repeat center;
  background-size: cover;
  position: relative;
}
.wrap{
  width:100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0 15px;

}
.wrap .inner{
  width:100%;
  margin-bottom: 30px;
}

.caution p {
  background: #fff;
  border:#E60000 solid 1px;
  padding:15px 20px;
  margin-bottom: 20px;
  color:#E60000;
  line-height: 1.6;
  font-size: 1.4rem;
}
.wrap form{
  background: rgba(255,255,255,0.8);
  width:100%;
  padding:40px 15px 30px;

}
.wrap form h1 {
  color:#1F296A;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}
.dtl {
  display: flex;
  flex-direction: column;
}
.dtl label{
  line-height: 1.4;
  font-size: 1.8rem;
  margin-bottom: 5px;
}
.dtl input{
  border:1px solid #333;
  height:50px;
  background: #f6f6f6;
  margin-bottom: 15px;
  padding:2px 0.5em;
}
input[type="submit"] {
  -webkit-appearance: none;
  background: #1F296A;
  padding:20px;
  color:#fff;
  display: block;
  text-align: center;
  border-radius: 5px;
  width:100%;
  font-size: 1.8rem;
  margin-top:10px;
}
.wrap form p{
  margin-top:20px;
  text-align: center;
  line-height: 1.6;
  font-size: 1.4rem;
}
footer{
  position: absolute;
  bottom:30px;
  text-align: center;
  left:50%;
  transform: translateX(-50%);
  font-size: 1rem;
}
@media (orientation: landscape) and (max-width:768px){
  .wrap .inner {
    margin-bottom:0;
  }
}
/*PC*/

@media screen and (min-width:768px){
  body {
    display: flex;
    justify-content: center;
  }
  .wrap .inner {
    margin-top:-30px;
  }
  .caution p {
    text-align: center;
  }
  .wrap form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .wrap{
  width: 640px;
}
  .dtl {
    width:400px;
  }
  input[type="submit"]{
    width: 300px;
  }
  input[type="submit"] + p br{
    display: none;
  }
  .wrap form h1 {
    font-size: 3.2rem;
  }
}