@charset "UTF-8";

.color{
  color: red;
}
input:focus,
textarea:focus {
  box-shadow: 0 0 5px red;
}

/**
タイトル
**/
.contact .page-title{
  margin-bottom: 8rem;
}
.contact .page-title h1{
  font-size: 4.2rem;
  margin-top: 15rem;
  order: 2;
  text-align: center;
  width: 100%;
}
.contact .page-title__pankuzu {
  margin-bottom: 0;
  order: 1;
}
.contact .l-inner > p{
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 3rem;
  text-align: center;
}
.contact .l-inner > p a{
  color: #003399;
  text-decoration: underline;
}
form{
  border-top: 1px solid #c9c9c9;
  margin: 0 auto 10rem;
  max-width: 800px;
  width: 100%;
}
form dl{
  border-bottom: 1px solid #c9c9c9;
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  justify-content: flex-start;
  padding: 3rem 0;
}
form dt{
  font-weight: normal;
  padding-left: 8rem;
  position: relative;
  width: 30%;
}
form dl.hissu dt::before{
  background: #ffcc00;
  border-radius: 5px;
  content: '必須';
  font-size: 11px;
  height: 20px;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: .5rem;
  width: 55px;
}
form dd{
  width: 70%;
}
form dd p{
  margin-bottom: 1rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  background: #fffae4;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  line-height: 2;
  font-size: 1.6rem;
  padding: 1.2px 2.5%;
  width: 100%;
}
input[type="text"]:read-only,
textarea:read-only {
  background-color: #fafafa;
}
textarea{
  min-height: 150px;
}
input[name="zipcode"]{
  margin-left: 1rem;
  width: 115px;
}
input[name="zipcode"] + a{
  background: #ffcc00;
  border-radius: 5px;
  display: inline-block;
  margin-left: 3rem;
  height: 28px;
  line-height: 28px;
  text-align: center;
  vertical-align: middle;
  width: 90px;
}
button[type="submit"]{
  display: block;
  position: relative;
  transition: .5s;
}
.addr{
  align-items: center;
  display: flex;
  justify-content: flex-start;
}
.addr span{
  width: 30%;
}
.addr input{
  width: 70%;
}
input[name="pref"]{
  display: inline-block;
  width: 115px;
}
.btn_back{
  margin-top: 5rem;
  text-align: center;
}

button[name="btn_submit"]{
  display: block;
   max-width: 400px;
  width: 80%;
}

.message {
  text-align: center;
  margin-bottom: 10rem;
}
.last + .l-flex {
  margin-top: 5rem;
}
form .text-center{
  margin: 50px 0;
  text-align: center;
}
form .text-center input[type="checkbox"]{
  display: none;
}
form .text-center label{
  padding: 0 0 0 2.5rem;
  position: relative;
}
form .text-center label::before,
form .text-center label::after{
  content: '';
  display: block;
  position: absolute;
}
form .text-center label::before{
  border: 1px solid #000;
  border-radius: 1px;
  height: 16px;
  left: 0;
  top: .25rem;
  width: 16px;
}
form .text-center label::after{
  border-bottom: 3px solid #ffca00;
  border-right: 3px solid #ffca00;
  left: .5rem;
  height: 17px;
  opacity: 0;
  transform: rotate(45deg);
  transition: all .25s ease-in;
  top: 0rem;
  width: 10px;
}
form .text-center input[type="checkbox"]:checked + label::after{
  opacity: 1;
}
form .text-center input[type="checkbox"]:checked + label::before{
  background: #fffae4;
  border-color: #ffca00;
}


@media screen and (max-width: 768.0px){
.contact .page-title{
  margin: 1rem 0 5rem;
}
.contact .page-title h1{
  font-size: 2.4rem;
  margin-top: 5rem;
}
.contact .page-title__pankuzu {
  margin-bottom: 0;
  order: 1;
}
form{
  margin-top: 5rem;
}
form dl{
  align-items: center;
  padding: 1.5rem 0;
}
form dt{
  font-weight: normal;
  line-height: 1.5;
  padding-left: 6rem;
  position: relative;
  width: 35%;
}
form dl.hissu dt::before {
    width: 50px;
}
form dd{
  width: 75%;
}
}

@media screen and (min-width: 768.0px) and (max-width: 1024.0px){

}

