@charset "UTF-8";

/* ==============================
  INITIAL SETTINGS
============================== */
* {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
header,
footer,
nav,
main,
section {
  display: block;
}
img {
  max-width: 100%;
}
*::placeholder {
  color: #c1c1c1;
}

/* ==============================
  COMMON
============================== */
.spOnly {
  display: none !important;
}
.footer-sp {
  display: none;
}

body {
  margin: 0;
  min-width: 1000px;
  color: #323232;
  font-family: Arial;
  font-size: 16px;
}

/* HEADER */
#headerWrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}
.siteName img {
  max-width: 383px;
  margin: 16px auto 12px;
}
.contactNum img {
  max-width: 311px;
  margin-top: 33px;
}
#spNavBtn,
#spNavCts {
  display: none;
}

#pageTitle {
  height: 304px; /* Added border-width (4px) */
  padding-top: 83px;
  border-top: 4px solid #b71c31;
  background: url("../images/bg_title.jpg") no-repeat center;
  background-size: cover;
  box-shadow: 0px 10px 9px 0px rgba(0, 0, 0, 0.15) inset;
  /*position: relative;*/
}
#pageTitle h1 {
  text-align: center;
}
#pageTitle img {
  display: inline-block;
  max-width: 411px;
}

/* MAIN */
main {
  background-color: #f7f7f7;
}
#mainWrap {
  width: 1000px;
  margin: 0 auto;
  padding: 50px 100px 97px;
  background-color: #fff;
  
}
/*---3/14追加---*/
#instructionsWrap .interpretation h2 {
  margin-bottom: 30px;
}
#instructionsWrap .interpretation p:first-child {
  margin-bottom: 20px;
}
.interpretation {
  top: 295px;
  padding: 30px;
  background-color: #fff;
  border: 10px solid #b3a28d;
  width: 800px;
  box-sizing: border-box;
  margin-top: -160px;
  margin-bottom: 38px;
  box-shadow: 0 0 12px 0 rgb(0 0 0 / 30%);
}
.interpretation_box {
  display: flex;
  justify-content: space-between;
}
.interpretation_txt {
  width: 390px;
  margin-right: 30px;
}
#uComment {
  display: none;
  margin-top: 50px;
}
#checkCmt {
  margin-bottom: 5px;
}
.language {
  display: flex;
  margin-top: 10px;
}
.language .label {
  align-self: center;
  width: 172px;
}
.language_txt {
  margin-top: 50px;
}
.language {
  margin-bottom: 5px;
}
.language .selectField select {
  margin-top: 0;
}
.select_language {
  width: 260px;
  margin-left: 20px;
  margin-top: 0;
}
select {
  color: black;
}
select.invalid {
  color: #bbb;
}

@media only screen and (max-width: 600px) {
  #instructionsWrap .interpretation h2 {
    margin-bottom: 10px;
    font-size: 21px;
  }
  .language {
    display: block;
    margin-top: 15px;
  }
  .interpretation {
    width: 100%;
    top: 210px;
    left: 0;
    padding: 15px 15px 35px;
    border: 6px solid #b3a28d;
    margin-top: -57px;
  }
  .interpretation_box {
    flex-direction: column-reverse;
  }
  .interpretation_txt {
    width: 100%;
  }
  .interpretation_img img {
    width: 100%;
    margin-bottom: 13px;
  }
  #instructionsWrap .interpretation p:first-child {
    margin-bottom: 15px;
  }
  input#age {
    width: 70px;
  }
  .language_txt {
    margin-top: 25px;
  }
  #uComment {
    margin-top: 25px;
  }
  .select_language {
    width: 100%;
    margin-left: 0;
  }
  .language.selectField select {
    margin-top: 7px;
  }
  .language.selectField:after {
    top: 22px;
    right: 15px;
  }
  .language_row p.note {
    margin-top: 7px;
  }
}

/* ==============================
  INSTRUCTIONS
============================== */
#instructionsWrap {
}
#instructionsWrap h2 {
  margin-bottom: 38px;
  font-size: 21px;
  text-align: center;
}
#instructions {
  padding: 10px;
  background-color: #f7f7f7;
}
#instructions ul {
  display: block;
  margin: 0;
  padding: 30px;
  background-color: #fff;
}
#instructions li {
  list-style: none;
  font-style: italic;
  color: #666;
}
#instructions li:before {
  content: "・";
  font-family: "Kozuka Gothic Pr6N R", "小塚ゴシック Pr6N R", "Hiragino Sans",
    "ヒラギノ角ゴシック", "MS Pゴシック", "sans-serif";
  font-size: 110%;
  font-style: normal;
  vertical-align: middle;
  line-height: 1em;
}
#instructions li:not(:last-child) {
  margin-bottom: 14px;
}

/* ==============================
  STEPS
============================== */
#steps {
  margin: 50px 0;
}
#steps img {
  display: block;
}

#mainWrap.confirm .has_error {
  display: none;
}
#mainWrap.confirm.confirm_error .no_error {
  display: none;
}
#mainWrap.confirm.confirm_error .has_error {
  display: block;
}
.step2 .spOnly {
  display: none;
}

/* ==============================
  FORM COMMON
============================== */
label,
input[type="text"],
input[type="email"],
select,
textarea {
  font-size: 16px;
  line-height: 1.5;
}
input[type="text"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 20px;
  border: 1px solid #f0f0f0;
  border-radius: 5px;
}
textarea {
  padding-top: 5px;
  padding-bottom: 20px;
}
input[type="radio"],
input[type="checkbox"] {
  margin: 0 7px 0 0;
}

.selectField {
  position: relative;
}
.selectField:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-top: 21px;
  right: 13px;
  border: 6px solid transparent;
  border-top: 8px solid #323232;
  border-bottom: none;
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
.selectField select {
  height: auto;
  padding-right: 30px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}
select::-ms-expand {
  display: none;
}

.mfp_element_button,
#formFooter button {
  display: block;
  width: 500px;
  height: 83px;
  margin: auto;
  padding-bottom: 4px;
  border: none;
  background: url("../images/bg_pinkButton_a.jpg") no-repeat left top,
    url("../images/bg_pinkButton_c.jpg") no-repeat right top,
    url("../images/bg_pinkButton_b.jpg") repeat-x center;
  background-size: contain;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  position: relative;
  cursor: pointer;
}
#mfp_button_cancel,
#formFooter button.gray {
  background: url("../images/bg_grayButton_a.jpg") no-repeat left top,
    url("../images/bg_grayButton_c.jpg") no-repeat right top,
    url("../images/bg_grayButton_b.jpg") repeat-x center;
  background-size: contain;
}
.mfp_element_button:before,
#formFooter button:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url("../images/ico_button_arrow.png") no-repeat center;
  background-size: contain;
  position: absolute;
  top: 32px;
  right: 0;
  left: 50px;
}
.mfp_element_button .small,
#formFooter button .small {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
}

.formWrap {
  margin: 0 auto 50px;
  padding: 30px 39px 50px;
  background-color: #f7f7f7;
}
.formWrap:last-of-type {
  margin-bottom: 70px;
}
.formWrap .row:not(:last-child) {
  margin-bottom: 50px;
}

table#mfp_confirm_table tr th,
.formWrap .fieldTtl {
  display: inline-block;
  color: #e42880;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 900;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  line-height: 1.2;
  vertical-align: middle;
}
.formWrap .fieldTtl .small {
  margin-left: 6px;
  color: #323232;
  font-family: Arial;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  vertical-align: middle;
  letter-spacing: 1px;
}
.formWrap .required {
  display: inline-block;
  margin: 0 0 0 20px;
  padding: 6px 9px;
  border-radius: 5px;
  background: linear-gradient(to right, #ec4da6 0%, #ee4d5a 100%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
}
.formWrap .note {
  display: block;
  margin: 2px 0;
  color: #666;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

/* ==============================
  FORM FIELDS
============================== */
/* SEX */
.wrap.sex {
  padding: 25px 20px 0;
}
.wrap.sex label:not(:last-child) {
  margin-right: 38px;
}

/* AGE */
input#age {
  width: 124px;
}

/* PREFERRED DATE OF VISIT */
.wrap.pdov {
  margin-top: 10px;
}
.wrap.pdov,
.wrap.pdov .datetime {
  display: flex;
  flex-flow: row nowrap;
  align-items: auto;
}
.wrap.pdov .label {
  width: 120px;
  align-self: center;
}
.wrap.pdov .datetime label {
  display: inline-block;
}
.wrap.pdov .datetime .date {
  width: 210px;
  font-size: 0;
}
.wrap.pdov .datetime .date input {
  display: inline-block;
  width: 160px;
  margin-top: 0;
}
.wrap.pdov .datetime .date img {
  box-sizing: content-box;
  display: inline-block;
  width: 30px;
  padding: 7px 10px;
  vertical-align: middle;
  pointer-events: none;
}
.wrap.pdov .datetime .time {
  width: 230px;
}
.wrap.pdov .datetime .time select {
  margin-top: 0;
}

/* Preferred Treatment */
.wrap.treatment {
  margin-top: 28px;
}
.wrap.treatment:first-of-type {
  margin-top: 37px;
}

/* Would you like a treatment on the day? */
.wrap.ontheday {
  margin-top: 46px;
}
.wrap.ontheday label {
  display: block;
  line-height: 1.5;
}
.wrap.ontheday label:not(:first-child) {
  margin-top: 35px;
}

/* FORM FOOTER */
#formFooter {
  padding-top: 17px;
}

/* ==============================
  CONFIRMATION PAGE
============================== */
.confirm #instructionsWrap .step1 {
  display: none;
}
#instructionsWrap .step2 {
  display: none;
}
.confirm #instructionsWrap .step2 {
  display: block;
  text-align: center;
}
.confirm #instructionsWrap .step2 h2 {
  margin-bottom: 10px;
}
.confirm #instructionsWrap .step2 p {
  margin: 0;
  color: #666;
  font-style: italic;
}
.confirm #steps {
  margin: 47px 0;
}

/* ==============================
  THANKS PAGE
============================== */
#thanks #steps {
  margin: 47px 0;
}

#thanks #instructionsWrap {
  text-align: center;
}
#thanks #instructionsWrap h2 {
  margin-bottom: 10px;
}
#thanks #instructionsWrap p {
  margin: 0;
  color: #b60726;
  font-style: italic;
}

#thanksMessages {
  margin-bottom: 50px;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}
#thanksMessages p {
  margin-bottom: 21px;
  color: #666;
}

/* ==============================
  RESPONSIVE
============================== */
@media only screen and (max-width: 600px) {
  /* COMMON */
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }
  img.spOnly {
    display: inline-block !important;
  }
  .footer-sp {
    display: block;
  }

  /* RESET STYLE */
  #mainWrap,
  .wrap.pdov {
    display: block;
    width: auto;
  }

  .formWrap,
  .mfp_element_button,
  #formFooter button {
    width: 100%;
  }

  /* COMMON */
  body {
    min-width: 375px;
    padding-top: 68px; /* The height of #headerWrap */
    font-size: 14px;
  }

  /* HEADER */
  #headerWrap {
    background: #fff;
    box-shadow: 0 0 7px 6px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
  }
  .siteName img.spOnly {
    display: block !important;
    max-width: 271px;
    margin: 15px auto;
  }
  .contactNum {
    display: none;
  }

  /* PAGE TITLE */
  #pageTitle {
    height: 170px;
    padding-top: 43px;
    border: none;
    background: url(../images/bg_title_sp.jpg) no-repeat center;
    background-size: cover;
    box-shadow: none;
  }
  #pageTitle h1 {
    text-align: left;
  }
  #pageTitle img.pcOnly {
    display: none !important;
  }
  #pageTitle img {
    max-width: 180px;
    margin-left: 17px;
  }

  /* NAVIGATION FOR SMARTPHONE */
  #spNavBtn,
  #spNavCts {
    display: block;
  }
  #spNavBtn {
    width: 48px;
    height: 48px;
    background: url(../images/spNavBtn.png) no-repeat center;
    background-size: cover;
    z-index: 9995;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
  }

  /* MAIN */
  #mainWrap {
    padding: 27px 15px 67px;
  }

  /* INSTRUCTIONS */
  #instructionsWrap h2 {
    margin-bottom: 23px;
    font-size: 16px;
  }
  #instructions {
    padding: 5px;
  }
  #instructions ul {
    padding: 13px 10px;
  }
  #instructions li {
    line-height: 1.5;
    padding-left: 15px;
    text-indent: -15px;
  }
  #instructions li:not(:last-child) {
    margin-bottom: 7px;
  }

  /* STEPS */
  #steps {
    margin: 27px 0;
  }
  #steps img.pcOnly {
    display: none;
  }
  .step2 .spOnly {
    display: block !important;
  }

  /* FORM COMMON */
  label,
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    font-size: 14px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    padding: 7px 10px;
  }
  textarea {
    width: 100% !important;
    height: 8em !important;
  }

  .selectField select {
    padding-right: 24px;
  }
  .selectField:after {
    margin-top: 17px;
    right: 10px;
  }
  .language .selectField select {
    margin-top: 7px;
  }

  .mfp_element_button:before,
  #formFooter button:before {
    left: 20px;
  }
  .mfp_element_button .small,
  #formFooter button .small {
    font-weight: 600;
  }

  .formWrap {
    margin-bottom: 15px;
    padding: 20px 15px 30px;
  }
  .formWrap .row:not(:last-child) {
    margin-bottom: 40px;
  }

  table#mfp_confirm_table tr th,
  .formWrap .fieldTtl {
    display: inline;
    font-size: 18px;
  }
  .formWrap .fieldTtl .small {
    display: inline-block;
  }
  .formWrap .required {
    margin-left: 10px;
    padding: 4px 6px;
    border-radius: 2px;
    font-size: 10px;
  }

  .formWrap .note {
    padding-left: 10px;
    font-size: 14px;
    text-indent: -10px;
  }

  /* FORM FIELDS */
  .wrap.sex {
    padding: 10px 20px 0;
  }

  .wrap.pdov .label {
    margin-bottom: 8px;
  }
  .wrap.pdov .datetime .date {
    width: 154px;
  }
  .wrap.pdov .datetime .date input {
    width: 120px;
  }
  .wrap.pdov .datetime .date img {
    width: 24px;
    padding: 1px;
  }
  .wrap.pdov .datetime .time {
    width: 161px;
  }

  #ptSection {
    position: relative;
  }
  #ptSection .required {
    position: absolute;
    top: 0;
    right: 40px;
  }

  .wrap.ontheday {
    margin-top: 30px;
  }
  .wrap.ontheday label:not(:first-child) {
    margin-top: 14px;
  }
  input#age {
    width: 70px;
  }

  /* FORM FOOTER */
  #formFooter {
    padding-top: 17px;
  }

  /*footer*/
  .footer {
    padding: 5px;
    background-color: #faa0b4;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 -10px 10px rgb(0 0 0 / 40%);
  }
  .footer-inner {
    display: flex;
  }
  .footer-img01 {
    margin-right: 5px;
  }

  /* CONFIRMATION PAGE */
  .confirm #instructionsWrap .step2 h2 {
    margin-bottom: 6px;
  }
  .confirm #steps {
    margin: 27px 0;
  }
  table#mfp_confirm_table tr th {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
  }

  /* THANKS PAGE */
  #thanks #steps {
    margin: 27px 0 24px 0;
  }

  #thanks #instructionsWrap h2 {
    margin-bottom: 6px;
  }

  #thanksMessages {
    margin-bottom: 30px;
    text-align: left;
    font-size: 14px;
  }
  #thanksMessages p {
    margin-bottom: 14px;
  }
} /* END OF @media only screen and (max-width:768px) */
