@charset "utf-8";

body{
  position: relative;
  min-height: 100vh;
}
header{
  position: static;
  width: 100%;
  height: auto;
  padding-top: 80px;
  border-right: none;
}
.container {
  width: 100%;
  margin-left: 0;
  padding-top: 0;
}
h2{
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}
dl{
  margin-top: 50px;
}
dd{
  margin: 8px 0 35px;
}
dd li{
  margin-bottom: 10px;
}
select, textarea, input[type="text"]{
  padding: 10px;
  color: #000;
  border: 1px solid #f3f3f3;
  background: #f3f3f3;
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
}
input[type="text"]{
  width: 100%;
}
dd li input[type="text"]{
  width: 60%;
}
select:focus, textarea:focus{
  border-color: #000;
  background: #fff;
}
textarea{
  width: 100%;
  height: 100px;
}
input[type="checkbox"]{
  position: absolute;
  opacity: 0;
}
input[type="checkbox"] + label{
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 35px;
  transition: 0.1s;
}
input[type="checkbox"] + label::before, input[type="checkbox"] + label::after{
  content: "";
  display: block; 
  position: absolute;
}
input[type="checkbox"] + label::before{
  background: #ddd;
  width: 25px;
  height: 25px;
  top: 2px;
  left: 0;
}
input[type="checkbox"] + label::after{
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  opacity: 0;
  height: 5px;
  width: 11px;
  transform: rotate(-45deg);
  top: 8px;
  left: 6px;
  transition: 0.2s;
}
input[type="checkbox"]:checked + label::before{
  background: #000;
}
input:checked + label::after, input:checked + label span::after{
  opacity: 1;
}
::placeholder {
  color: #999;
  font-size: 16px;
}
.btn{
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  font-size: 20px;
}
span.error{
  padding: 5px 10px 7px;
  color: #fff;
  background: #c00;
  font-size: 14px;
}
footer{
  padding: 0 0 20px;
  background: #fff;
  text-align: center;
}
footer p{
  color: #000;
}
@media screen and (max-width:768px){
  header{
    padding: 30px 0;
  }
}
@media screen and (min-width:769px){
  .inner{
    max-width: 700px;
    padding: 80px 50px;
  }
  /*dl{
    display: flex;
    flex-wrap: wrap;
  }
  dt{
    width: 35%;
    padding-right: 5%;
    padding-top: 10px;
    text-align: right;
  }
  dd{
    width: 65%;
  }*/
  .btn{
    transition: 0.1s;
  }
  .btn:hover{
    opacity: 0.7;
    transition: 0.25s;
  }
}
