
.content{
  width: 90%;
  margin: 0px auto;
  padding-top: 90px;
}
  
.content_img{
  background-image: url(../img/contact.png);
  background-size: cover;
  background-position: bottom;
  position: relative;
  background-attachment: fixed;
  width: 100%;
  height: 60vh;
  margin: auto auto 60px auto;
}
@media only screen and (max-width:900px) {
  .content{
    width: 100%;
    padding-top: 60px;
  }
  .content_img{
    height: 40vh;
    margin: auto auto 60px auto;
    background-attachment:local;
  }
}

.content_title {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 200%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 350px;
  height: 70px;
  line-height: 70px;

  padding: 0.2rem;
  margin-bottom: 0.2rem;
  font-weight: bold;
  text-align: center; 
}

.headline{
  width: 100%;
  padding: 80px;
}

.headline_main{
  margin: auto auto 40px auto;
  font-size: 200%;
  
  padding: 0.2rem;
  margin-bottom: 0.2rem;
  font-weight: bold;
  text-align: center;  
}  

.headline span {
  background: linear-gradient(transparent 60%, #f4f5b2 60%);
}
  
.headline_sub{
  font-size: 22px;
  margin-top: 40px;
  text-align: center;
  line-height: 70px;
}

.headline_sub2{
  font-size: 22px;
  font-weight: bold;
    
  text-align: center;
  line-height: 70px;
}

@media only screen and (max-width:900px) {
  .headline_main{
    font-size: 180%; 
  }

  .headline_sub{ 
    font-size: 18px;
    line-height: 30px;
  }
  .headline{
    padding: 30px;
  }
}

/* お問い合わせ */

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  margin-bottom: 80px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
  padding-left: 14px;
  padding-right: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  }
}

.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #edeeab ;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #edeeab ;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

