@charset "UTF-8";
/**
 * _component.scss
 */
/* mixin
--------------------------------------------------*/
/**
 * contact.scss
 */
/* layout
--------------------------------------------------*/
#pageTitle {
  background: url(../imgs/contact/page-title-bg.png) repeat center center;
  background-size: cover;
}

/* SP */
@media only screen and (max-width: 768px) {
  #pageTitle {
    background: url(../imgs/contact/page-title-bg_sp.png) repeat center center;
    background-size: cover;
  }
}
#mailform {
  margin-bottom: 100px;
}
#mailform .wrap {
  max-width: 900px;
}
@media only screen and (max-width: 1250px) {
  #mailform .wrap {
    max-width: 700px;
  }
}
#mailform .call {
  padding-bottom: 50px;
  border-bottom: 3px dotted #E3E3E3;
  text-align: center;
}
#mailform .call .copyTitle {
  margin-bottom: 30px;
}
#mailform .call .copyTitle h3 {
  display: inline;
  font-size: 30px;
  font-weight: bold;
  border-bottom: 3px solid #269DDA;
  padding-bottom: 5px;
  line-height: 1.8;
}
.ie #mailform .call .copyTitle h3 {
  padding-bottom: 0;
}
@media all and (-ms-high-contrast: none) {
  #mailform .call .copyTitle h3 *::-ms-backdrop, #mailform .call .copyTitle h3 {
    font-family: "メイリオ",Meiryo;
    padding-bottom: 0;
  }
}
#mailform .call .title-l {
  color: #269DDA;
}
#mailform .call .cv {
  text-align: center;
}
#mailform .call .cv .tel {
  margin-bottom: 20px;
}
#mailform .call .cv .tel a {
  text-decoration: none;
}
#mailform .call .cv .tel a .icon {
  width: 14px;
  height: 20px;
  display: inline-block;
  position: relative;
  margin-right: 5px;
}
#mailform .call .cv .tel a .icon:before {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
  color: #CE1D1C;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  text-decoration: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e90a';
}
#mailform .call .cv .tel a .num {
  font-size: 30px;
  line-height: 1;
  font-family: "Montserrat";
  font-weight: 600;
  color: #CE1D1C;
}
#mailform .call .cv .tel a .phone {
  margin-top: 5px;
  font-weight: 700;
  text-align: center;
}
#mailform .call .cv .tel a .phone span {
  letter-spacing: 0.02em;
  font-size: 18px;
}
#mailform .call .address ul {
  text-align: center;
  display: table;
  width: 610px;
  margin: 0 auto;
}
#mailform .call .address ul li {
  display: table-cell;
  padding: 0px 15px;
}
#mailform .call .address ul li + li {
  border-left: 1px solid #E3E3E3;
}
#mailform .call .address ul li dl dt {
  font-weight: bold;
}
#mailform .call .address .cap {
  color: #000;
}
#mailform .webForm {
  padding-top: 50px;
  padding-bottom: 50px;
}
#mailform .webForm .title-l {
  color: #269DDA;
}
#mailform .webForm .txt {
  margin-bottom: 30px;
}
#mailform .webForm ul li {
  padding-left: 1.0em;
  text-indent: -1.0em;
}
#mailform .table {
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  width: 100%;
}
#mailform .table table, #mailform .table td, #mailform .table th {
  border-collapse: collapse;
}
#mailform .table th, #mailform .table td {
  text-decoration: none;
  vertical-align: top;
  padding: 20px 0;
}
#mailform .table th {
  width: 230px;
  font-weight: bold;
}
#mailform .table th span {
  float: right;
  padding: 2px 8px 3px 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  margin-top: 5px;
  background: #CE1D1C;
}
@media all and (-ms-high-contrast: none) {
  #mailform .table *::-ms-backdrop, #mailform .table th span {
    padding: 6px 8px 3px 8px;
  }
}
#mailform .table td {
  padding-left: 20px;
}
#mailform input.formText,
#mailform textarea.formText {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid #d2d2d2;
  border-radius: 0;
  background: none;
  font-size: 14px;
  -webkit-appearance: none;
}
#mailform textarea.formText {
  max-width: 100%;
  height: 220px;
}
#mailform label.error {
  display: block;
  margin-top: 5px;
  color: #d45a5a;
  font-size: 14px;
  line-height: 1.5;
}
#mailform button {
  text-decoration: none;
}
#mailform #formBtnArea {
  display: table;
  margin: 40px auto 0;
}
#mailform #formBtnArea .btn {
  width: 300px;
  max-width: 300px;
  display: table-cell;
  font-size: 16px;
  padding: 20px 0;
}
#mailform #formBtnArea .btn + .btn {
  margin-left: 40px;
}
#mailform #formBtnArea .btn:hover {
  cursor: pointer;
}
#mailform #finish {
  text-align: center;
  font-size: 16px;
  line-height: 2.3;
}
#mailform #errorPage {
  text-align: center;
}

/* SP */
@media only screen and (max-width: 768px) {
  #mailform {
    margin-bottom: 5rem;
  }
  #mailform .call {
    margin: 0 -2rem;
    padding: 0 2rem 4rem;
  }
  #mailform .call .copyTitle {
    margin-bottom: 3rem;
  }
  #mailform .call .copyTitle h3 {
    font-size: 2.6rem;
    padding-bottom: 0.5rem;
  }
  #mailform .call .cv .tel {
    margin-bottom: 2rem;
    display: inline-block;
  }
  #mailform .call .cv .tel a {
    display: block;
    width: 33.5rem;
    margin: 0 auto;
    border: 3px solid #CE1D1C;
    border-radius: 1rem;
    padding: 1.5rem 0;
    position: relative;
  }
  #mailform .call .cv .tel a:before {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 1.2rem;
    color: #CE1D1C;
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e90b';
  }
  #mailform .call .cv .tel a .name {
    float: none;
    margin-right: 0;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  #mailform .call .cv .tel a .icon {
    width: 1.4rem;
    height: 2.0rem;
    display: inline-block;
    position: relative;
    margin-right: 1rem;
  }
  #mailform .call .cv .tel a .icon:before {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    color: #CE1D1C;
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e90a';
  }
  #mailform .call .cv .tel a .num {
    font-size: 3rem;
    line-height: 1;
    font-family: "Montserrat";
    font-weight: 600;
    color: #CE1D1C;
  }
  #mailform .call .cv .tel a .phone {
    margin-top: 0.5rem;
  }
  #mailform .call .cv .tel a .phone span {
    font-size: 1.8rem;
  }
  #mailform .call .address ul {
    text-align: left;
    display: block;
    width: inherit;
    margin: 0 auto;
  }
  #mailform .call .address ul li {
    display: block;
    padding: 0.5rem 0;
  }
  #mailform .call .address ul li + li {
    border-left: none;
  }
  #mailform .call .address ul li dl {
    display: table;
    font-size: 1.4rem;
  }
  #mailform .call .address ul li dl dt {
    display: table-cell;
    float: none;
    width: 9rem;
    margin-right: 0;
  }
  #mailform .call .address ul li dl dd {
    display: table-cell;
  }
  #mailform .call .address .cap {
    text-align: left;
  }
  #mailform .webForm {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  #mailform .webForm .txt {
    margin-bottom: 2rem;
  }
  #mailform .table th, #mailform .table td {
    display: block;
    width: 100%;
    padding: 1.5rem 0;
    box-sizing: border-box;
  }
  #mailform .table th {
    width: inherit;
  }
  #mailform .table th span {
    float: none;
    margin-left: 1rem;
    padding: 0.2rem 0.8rem 0.2rem 0.8rem;
    font-size: 1.2rem;
    margin-top: 0;
  }
  #mailform .table td {
    font-size: 1.6rem;
    padding-top: 0;
    padding-left: 0;
  }
  #mailform input.formText,
  #mailform textarea.formText {
    padding: 0.8rem;
  }
  #mailform textarea.formText {
    height: 17rem;
  }
  #mailform label.error {
    margin-top: 0.5rem;
    font-size: 1.4rem;
  }
  #mailform #formBtnArea {
    display: block;
    margin: 3rem auto 0;
    text-align: center;
  }
  #mailform #formBtnArea .btn {
    width: 26rem;
    max-width: 26rem;
    font-size: 1.6rem;
    padding: 2rem 0;
  }
  #mailform #formBtnArea .btn + .btn {
    margin-left: 0;
    margin-top: 2rem;
  }
  #mailform #finish {
    text-align: center;
    font-size: 16px;
    line-height: 2.3;
  }
  #mailform #errorPage {
    text-align: center;
  }

  /* iOSでのデフォルトスタイルをリセット */
  button[type="submit"],
  button[type="button"] {
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
  }
  button[type="submit"]::-webkit-search-decoration,
  button[type="button"]::-webkit-search-decoration {
    display: none;
  }
  button[type="submit"]::focus,
  button[type="button"]::focus {
    outline-offset: -2px;
  }
}
