/* MAIN IMAGE */
#main_image_area_bg {
  background-image: url(/img/fm/pe01/mv/mv-contact.png);
  background-size: 200px;
}

/* -- PC -- */
@media screen and (min-width: 768px) {
  #main_area.ContentBody.W800 { width: 980px; }
}

p.TelIcon a{
  display: inline-block;
  margin: 0 0 0 0px;
  padding: 0 0 0 48px;
  height: 40px;
  background: url(/img/fm/pe01/com/ic-tel.png) 0 center/40px no-repeat;
  line-height: 40px;
  font-size: 24px;
  font-weight: bold;
}

/* -- フォームの見出し -------------- */
.FormHeading {
  margin-left: 3px;
  margin-bottom: 10px;
  border-left: 5px solid var(--sub-color);
  padding: 6px 0 4px 12px;
}
.FormHeading h3 { margin: 0; }

/* -- フォームテーブル -- */
form#entry_form fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

form#entry_form table {
  box-sizing: border-box;
  margin: 0;
  border: 1px #ccc solid;
  border-collapse: collapse;
  width: 100%;
}

#entry_form input,
#entry_form textarea,
#entry_form select {
  box-sizing: border-box;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid gray;
  font-size: 16px;
  font-family : inherit;
}
.TextBox {
  margin-top: 2px;
  margin-bottom: 3px;
  width: 90%;
}
.TextBoxS {
  margin-top: 2px;
  margin-bottom: 3px;
  width: 150px;
}
.TextArea {
  width: 90%;
  height: 100px;
}

ul.CheckList {
  margin: 5px;
  padding: 0;
  list-style-type: none;
}

/* -- 必須 -- */
form#entry_form table th strong{
  font-weight: normal;
  color: red;
}

/* -- 個人情報保護 -- */
.Agree {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f5f5f5;
}
.Agree a {
  padding-right: 13px;
  background: url(/img/com/ps01/new-window.gif) no-repeat center right;
}
p.AgreeCheck {
  margin-top: 10px;
  border: 1px solid #aaa;
  padding: 10px 0;
  background-color: #fff;
  text-align: center;
}

/* -- ボタン -- */
.FormButton {
  margin: 20px 0 20px;
  padding-top: 1px;
  width: 100%;
  overflow: hidden;
}
.FormButton button {
  display: block;
  border-radius: 30px;
  border-style: none;
  padding: 15px 0;
  width: 250px;
  font-weight: bold;
  cursor: pointer;
}

button#confirm_button {
  margin: 0 auto;
  background-color: var(--main-color);
  text-align: center;
  color: #fff;
}
button#confirm_button:hover {
  filter: brightness(1.05);
}

button#send_button {
  background-color: var(--main-color);
  text-align: center;
  color: #fff;
}
button#send_button:hover {
  filter: brightness(1.05);
}

button#back_button {
  width: 150px;
  background-color: #d5d5d5;
  text-align: center;
  color: #335c85;
}
button#back_button:hover {
  filter: brightness(1.05);
}

/* -- エラーメッセージ -- */
p.TopErrMsg {
  box-sizing: border-box;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 10px 35px;
  width: 100%;
  background: #dd0000 url("/img/com/ps01/alert.gif") 10px center no-repeat;
  line-height: 1.4em;
  color: #fff;
}
p.ErrMsg {
  margin: 3px 0px 0px;
  width: 100%;
  background: url("/img/com/ps01/alert.gif") 3px 2px no-repeat;
  text-indent: 25px;
  line-height: 1.4em;
  font-weight: bold;
  color: red;
}

/* -- PC -- */
@media screen and (min-width: 768px) {

  .FormHeading h3 {
    font-size: 20px;
    font-weight: bold;
  }

  form#entry_form table th {
    width: 170px;
    border: 1px #ccc solid;
    padding: 10px;
    background-color: #f5f5f5;
    text-align: left;
    font-weight: normal;
  }
  form#entry_form table td {
    border: 1px #ccc solid;
    padding: 10px;
    width: 374px;
    background-color: #fff;
  }

  ul.CheckList li { margin-bottom: 5px; }

  button#send_button {
    float: right;
    margin: 0 150px 0 0;
  }
  button#back_button {
    float: left;
    margin: 0 0 0 150px;
  }
}
/* -- SMP -- */
@media screen and (max-width: 767px) {
  .FormHeading h3 {
    font-size: 18px;
    font-weight: bold;
  }

  form#entry_form table th {
    display: block;
    box-sizing: border-box;
    width: 100%;
    border: 1px #ccc solid;
    padding: 10px;
    background-color: #f5f5f5;
    text-align: left;
    font-weight: bold;
  }
  form#entry_form table td {
    display: block;
    box-sizing: border-box;
    border: 1px #ccc solid;
    padding: 10px;
    width: 100%;
    background-color: #fff;
  }

  ul.CheckList li { margin-bottom: 15px; }

  button#send_button { margin: 0 auto 30px; }
  button#back_button { margin: 0 auto 30px; }
}

footer {
  border-top: 3px solid var(--main-color);
  border-top: 3px solid var(--sub-color);
}

