/*
　　　　Theme Name: メール・フォーム（スタイルシート）
*/

@charset "utf-8";
body{
  overflow: auto;
}
.ml-logo{
  width:100%;
  max-height: 42px;
  margin: 1em auto;
}

/* 外枠：角丸・灰色グラデーション */
.radius {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e3e3e3));
  background-image: -webkit-linear-gradient(#fff, #e3e3e3);
  background-image: linear-gradient(#fff, #e3e3e3);
  -webkit-box-shadow: 0 2px 5px #ccc, 0 0 2px #fff inset;
  box-shadow: 0 2px 5px #ccc, 0 0 2px #fff inset;
  padding: 1em;
  border-radius: 10px 10px 10px 10px;

  width:calc(100% - 2em);
  max-width: 800px;
  margin:1em auto;
}

h1.header{
  width: calc(100% - 2em);
  color:#fff;
  background-color: #000;
  font-size: 140%;
  font-weight: bold;
  border-radius: 12px;
  padding: 0.25em 1em;
}

.title {
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  margin: 0.5em;
}

/* お問合せ完了ページ  */
main.thanks{
  width: calc(100% - 2em);
}
main.thanks .radius{
  width: calc(100% - 2em);
  max-width: 630px;
  padding: 1em;
  margin: 1em auto;
  color:#000;
}



/*  以下フォーム */
.ml-text {
  text-align: center;
  margin-bottom: 1em
}

.ml-text p {
  line-height: 1.75
}

.ml-banner {
  text-align: center;
  margin-bottom: 30px
}

.ml-container {
  padding: 0 2em;
  background: var(--vk-color-secondary-vivid)
}

.ml-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0
}

.ml-table p {
  margin: 0;
  margin-block-start: 0;
  color: #000;
  line-height: 1;
}

.ml-table tbody tr td,
.ml-table tbody tr th {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-top: grey solid 1px;
  padding: 0;
  width: 16em;
  text-align: left;
  line-height: 1;
  vertical-align:middle;
}

.ml-table tbody tr th.is-reqiured {
  position: relative
}

.ml-table tbody tr th.is-reqiured p {
  padding-left: 3.5em
}

.ml-table tbody tr th.is-reqiured:before {
  padding: 4px 9px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background: #fa0000;
  position: absolute;
  color: #fff;
  line-height: 1;
  content: '必須'
}

.ml-table tbody tr th.align-top {
  vertical-align: top
}

.ml-table tbody tr th.align-top:after {
  top: 40px
}

.ml-table tbody tr td {
  width: calc(100% - 16em);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: .5em;
  line-height: 1.75
}

.ml-table tbody tr td p {
  margin-block-start: 0;
  margin-block-end: 0.5em;
  white-space: pre-wrap
}

.ml-table tbody tr td p a {
  color: #fa0000
}

.ml-inner {
  width: calc(100% - 90px);
  margin: 0 auto
}

.ml-inner p {
  margin-bottom: 20px;
  line-height: 1;
  font-weight: 700
}

.ml-inner a {
  color: #fa0000
}

.ml-list {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0
}

.ml-list tbody tr th {
  width: 40%;
  text-align: left;
  padding: 20px
}

.ml-list tbody tr td {
  width: 60%;
  padding: 20px
}

.ml-list tbody tr td span {
  display: block;
  color: #ed1b24;
  line-height: 1.42857
}

.ml-note {
  margin-top: 40px
}

.ml-note p {
  line-height: 1.875;
  font-weight: 400
}

.ml-note p a {
  color: #fa0000;
  text-decoration: underline
}

@media (max-width:740px) {
  .ml-text p {
    line-height: 1.5625
  }

  .ml-banner {
    padding-top: 20px
  }

  .ml-banner img {
    width: 100%;
    height: auto
  }

  .ml-container {
    padding: 30px 0 50px;
    margin-bottom: 45px
  }

  .ml-table {
    width: 100%;
    margin-bottom: 50px
  }

  .ml-table>tbody>:nth-child(odd) {
    background-color: #fff
  }

  .ml-table tbody tr td,
  .ml-table tbody tr th {
    display: inline-block;
    width: 100%
  }

  .ml-table tbody tr th {
    padding: .5em
  }

  .ml-table tbody tr td {
    padding: 0 0 1em 0;
    border-top: none
  }

  .ml-submit {
    width: 100%;
    height: 60px
  }

  input[type=submit].ml-submit {
    -webkit-appearance: none
  }

  .ml-inner {
    width: 100%;
    margin: 0
  }

  .ml-inner p {
    line-height: 1.5625
  }

  .ml-inner a {
    color: #fa0000
  }

  .ml-list {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0
  }

  .ml-list tbody tr th {
    width: 100%;
    display: block;
    padding: .5em;
    font-weight: 600;
    border-top: 1px dotted grey;
    border-bottom: none
  }

  .ml-list tbody tr td {
    width: 100%;
    display: block;
    padding: 0 0 20px;
    border-bottom: none
  }

  .ml-list tbody tr td span {
    display: block;
    color: #ed1b24;
    line-height: 1.42857
  }

  .ml-note {
    margin-top: 10px
  }

  .ml-note p {
    line-height: 1.5625
  }
}

.ml-table input[type=email],
.ml-table input[type=text],
.ml-table select,
.ml-table textarea {
  width: calc(100% - 1em);
  margin: 0 0 0 .5em;
  padding: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid #333;
  background-color: #edfced;
  font-size: medium
}

.ml-table input[type=email]:hover,
.ml-table input[type=text]:hover,
.ml-table select:hover:focus,
.ml-table textarea:hover:focus {
  background-color: #f7fdd6
}

.ml-table input[type=email],
.ml-table input[type=text],
.ml-table select {
  height: 46px;
  font-size: medium
}

.ml-table textarea {
  height: 15em;
  font-size: large
}

.ml-submit {
  width: calc(100% - 1em);
  max-width: 640px;
  height: 80px;
  display: block;
  margin: 0 auto;
  background: #fa0000;
  border: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 600
}

.ml-submit:hover {
  background-color: pink
}

.ml-spinner {
  height: 0
}

span.ml-list-item * {
  display: inline-block
}

ul.ml-ul {
  list-style-type: none;
  margin-left: -1em
}

ul.ml-ul li {
  line-height: 1.25
}

ul.ml-ul li+li {
  margin: .5em 0
}

ul.ml-ul li:before {
  content: '窶ｻ';
  margin-left: 1em
}

.ml-table span.ml-not-valid-tip {
  font-size: large;
  color: red;
  margin: .25em
}