
html * {
  box-sizing: border-box;
}
#container {
  overflow: hidden;
}
/* ------------------------------------------ /
/ 表示非表示 /
/ ------------------------------------------ */
.pc {
  display: none;
}
.sp {
  display: block;
}
@media (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}

/* ------------------------------------------ /
/ フォーム設定 /
/ ------------------------------------------ */
.contactPage h2,
.thanksPage h3 {
  color: #224F90;
  font-size: 24px;
  margin: 0 0 20px !important;
}
.btnWrap {
  margin-top: 30px;
}
.contactPage .btn,
.thanksPage .btn {
  padding: 15px;
  margin: 0 auto;
  background: #224F90;
  border: 2px solid #224F90;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  width: 280px;
  display: flex;
  justify-content: center;
}
.contactPage .btn:hover,
.thanksPage .btn:hover {
  color: #224F90;
  background: #fff;
}
.contactPage .btn.returnBtn,
.thanksPage .btn.returnBtn {
  background: #EBA614;
  border: 4px solid #EBA614;
  margin-top: 30px;
}
.contactPage .btn.returnBtn:hover,
.thanksPage .btn.returnBtn:hover {
  color: #EBA614;
  background: #fff;
}
@media print, screen and (min-width: 767px) {
  .contactPage h2,
  .thanksPage h2 {
    font-size: 28px;
  }
}

.contactPage .textCenter {
  text-align: center;
}
.contactPage .btnWrap {
  text-align: center;
}
.contactPage input[type=submit],
.contactPage input[type=reset],
.contactPage input[type=button],
.contactPage input[type=reset] {
  margin-top: 30px;
}
.contactForm {
    margin-bottom: 60px;
}
.contactPage .contactForm form table {
  width: 100%;
  border-top: 1px dotted #fff;
  border-collapse: collapse;
}
.contactPage .contactForm form table th, .contactPage .contactForm form table td {
  display: block;
  font-size: 16px;
}
.contactPage .contactForm form table th {
  width: 100%;
  text-align: left;
  font-weight: bold;
  color: #224F90;
}
.contactPage .contactForm form table td {
  width: 100%;
  padding: 10px 0 30px;
}
.contactPage .contactForm form table td input {
  width: 100%;
  height: 35px;
}
.contactPage .contactForm form table td input[type=radio] {
  width: auto;
  height: auto;
  margin-right: 5px;
}
.contactPage .contactForm form table td input[type=radio] + input[type=radio] {
  margin-left: 10px;
}
.contactPage .contactForm form table td input[type=checkbox] {
  margin-right: 5px;
}
.contactPage .contactForm form table td input[type=checkbox] + input[type=checkbox] {
  margin-left: 10px;
}
.contactPage .contactForm form table span {
  color: #ED263E;
}
.contactPage .contactForm form table input, .contactPage .contactForm form table select {
  padding: 5px;
}
.contactPage .contactForm form table textarea {
  width: 100%;
  height: 100px;
}
.contactPage .contactForm span.att {
  background-color: #D52020;
  color: #fff;
  border-radius: 50px;
  width: 44px;
  height: 24px;
  display: inline-flex;
  vertical-align: middle;
  font-size: 12px;
  font-weight: bold;
  margin-left: 20px;
  align-items: center;
  justify-content: center;
}
.contactPage .contactForm .ninni {
  background-color: #707070;
  color: #fff;
  border-radius: 50px;
  width: 44px;
  height: 24px;
  display: inline-flex;
  vertical-align: middle;
  font-size: 12px;
  font-weight: bold;
  margin-left: 20px;
  align-items: center;
  justify-content: center;
}
.contactPage .contactForm input[type=text] {
  width: 100%;
  padding: 0;
  resize: none;
  box-sizing: border-box;
}
.contactPage .contactForm input[type=text]:focus {
  border: solid 1px #ECEAE6;
}
.contactPage .contactForm input[type=text], .contactPage .contactForm select, .contactPage .contactForm textarea {
  outline: 0;
  padding: 10px;
  box-sizing: border-box;
}
.contactPage .contactForm input[type=text]::-moz-placeholder, .contactPage .contactForm select::-moz-placeholder, .contactPage .contactForm textarea::-moz-placeholder {
  color: #CBCBCB;
  font-size: 14px;
  font-weight: bold;
}
.contactPage .contactForm input[type=text]::placeholder, .contactPage .contactForm select::placeholder, .contactPage .contactForm textarea::placeholder {
  color: #CBCBCB;
  font-size: 14px;
  font-weight: bold;
}
@media print, screen and (min-width: 767px) {
  .contactPage.wave::before {
    top: -190px !important;
  }
  .contactPage .confirmBtnWrap {
    max-width: 710px;
    width: 100%;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
  }
  .contactPage .confirmBtnWrap input {
    flex-basis: 48%;
    max-width: 48%;
    width: 100%;
    margin: 0;
  }
  .contactPage .confirmBtnWrap input.returnBtn {
    margin: 0 0 0 auto;
  }
  .contactPage input[type=reset] {
    margin-top: 0;
  }
  .contactPage .contactForm form table td input {
    width: auto;
    height: auto;
  }
}
@media print, screen and (max-width: 768px) {
  #contents {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
  }
  #main,.mainContent {
    width: 100%;
  }
  #side {
    display: none;
  }
  #header {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  #trackList {
    list-style-type: none;
    font-size: 109%;
    margin: 0;
    padding: 0 0 40px;
    background: url(/img/parts/bg_track_list.gif) repeat-x left bottom;
    display: flex;
  }
  .thanksPage #contents {
    height: calc(100vh - 153px);
  }
}