@charset "UTF-8";

/* 共通箇所 */
header {
  border-bottom: 1px solid #333;
  padding: 2% 0 1% 2%;
}
header .logo {
  display: flex;
  align-items: center;
}
header .logo img {
  width: 170px;
  height: 48px;
}
header .logo span {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.67;
  margin-left: 20px;
}
main {
  padding-bottom: 50px;
  padding: 0 3%;
}
@media screen and (max-width: 480px) {
  main {
    padding: 0;
  }
}

/* iOSでのデフォルトスタイルをリセット */

input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

main * {
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.06em;
  color: #222;
}

#smc_form {
  width: 960px;
  margin: 0 auto;
  font-size: 1rem;
  position: relative;
  background: #fff;
  padding: 20px 0;
}

#smc_confirmation {
  padding: 20px 15px 50px 15px;
  background: #f7e5e4;
  position: relative;
}

#smc_completion h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

#smc_completion p {
  margin-bottom: 10px;
}

#smc_form table td {
  padding: 0 0 5px 0;
}

#smc_confirmation .items {
  padding: 20px;
}

#smc_completion #contact_box {
  margin-top: 10px;
  padding: 10px;
  border: #ccc 1px solid;
}

@media screen and (max-width: 767px) {
  #smc_form {
    width: 100%;
    padding: 15px;
  }
  .inner {
    padding: 0;
  }
}

/* flow */

#smc_form #flow {
  width: 960px;
  margin: auto;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  overflow: hidden;
}

#smc_form #flow li {
  width: 33.3333%;
  text-align: center;
  padding: 15px;
  background: #ccc;
  position: relative;
  color: #fff;
  font-weight: bold;
}

#smc_form #flow li#active {
  background: #00458a;
}

#smc_form #flow li:nth-child(-n + 2):before,
#smc_form #flow li:nth-child(-n + 2):after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 0 28px 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: -20px;
}

#smc_form #flow li:nth-child(-n + 2):before {
  border-color: transparent transparent transparent #ccc;
  z-index: 99;
}

#smc_form #flow li#active:nth-child(-n + 2):before {
  border-color: transparent transparent transparent #00458a;
  z-index: 99;
}

#smc_form #flow li:nth-child(-n + 2):after {
  border-color: transparent transparent transparent #fff;
  z-index: 98;
  right: -22px;
}

#smc_form #flow li span {
  margin-right: 15px;
  color: #fff;
  font-weight: bold;
}

#smc_form #smc_info {
  text-align: center;
  margin-bottom: 35px;
}

@media screen and (max-width: 767px) {
  #smc_form #flow {
    width: 100%;
    justify-content: space-between;
  }

  #smc_form #flow li {
    font-size: 70%;
    padding: 10px;
  }

  #smc_form #flow li:nth-child(-n + 2):before,
  #smc_form #flow li:nth-child(-n + 2):after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -10px;
  }

  #smc_form #flow li:nth-child(-n + 2):before {
    border-color: transparent transparent transparent #ccc;
    z-index: 99;
  }

  #smc_form #flow li#active:nth-child(-n + 2):before {
    border-color: transparent transparent transparent #00458a;
    z-index: 99;
  }

  #smc_form #flow li:nth-child(-n + 2):after {
    border-color: transparent transparent transparent #fff;
    z-index: 98;
    right: -11px;
  }

  #smc_form #flow li span {
    display: block;
    margin: 0;
  }

  #smc_form #smc_info {
    text-align: left;
  }
}

/* 入力フォーム */

#smc_form .items {
  width: 100%;
}

#smc_form .items tr.item {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}

#smc_form .items tr.item td.label {
  font-size: 1.8rem;
  display: block;
  width: 100%;
  color: #00458a;
  font-weight: bold;
  background: none;
}

#smc_form .items tr.item td.value {
  font-size: 1.7rem;
  display: block;
  vertical-align: middle;
}

#smc_form .items tr.item td.value select {
  width: 100%;
  padding: 10px;
}

#smc_form .items tr.item td.value input,
#smc_form .items tr.item td.value textarea {
  padding: 10px;
  background: #eaf4fe;
  border: solid 1px #ccc;
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 5px;
  cursor: pointer;
}
#smc_form .items tr.item td.value input[type="checkbox"] {
  -ms-transform: scale(1.2, 1.2);
  -webkit-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
  margin-right: 8px;
}
@media screen and (max-width: 767px) {
  #smc_form .items tr.item td.value input {
    padding: 10px 0;
  }
  #smc_form .items tr.item td.value textarea {
    padding: 10px 0;
    width: 90%;
  }
}

#smc_form .items tr.item td.value input[type="text"]:focus,
#smc_form .items tr.item td.value select:focus,
#smc_form .items tr.item td.value textarea:focus {
  background-color: LightYellow;
}

#smc_form .items tr.item td.value span.label_name {
  padding-right: 5px;
  font-size: 85%;
  color: #808080;
}

#smc_form .items tr.item td.value span.label_name + input {
  width: 366px;
}

#smc_form .items tr.item td.value span.label_name + input:nth-child(2) {
  margin-right: 17px;
}

#smc_form #item_10 input:last-child {
  margin-bottom: 0;
}

#smc_form .items tr.item td.comment {
  font-size: 1.2rem;
  color: #808080;
  background: #fff;
  margin-top: 10px;
}

#item_11 input {
  margin-right: 5px;
}

/* 必須項目のマーク */

#smc_form span.required {
  font-size: 80%;
  margin-left: 5px;
  color: OrangeRed;
  float: none;
}

#smc_form span.required:after {
  content: "※必須";
}

/* 必須項目についての説明文 */

#smc_form p.required_msg {
  text-align: right;
  margin-right: 4px;
  font-size: 80%;
  font-weight: bold;
  color: OrangeRed;
}

#smc_form div.button_area {
  max-width: 960px;
  text-align: center;
  margin: 10px 0 20px 0;
  position: relative;
}

#smc_form div.button_area input[type="button"] {
  width: 40%;
  font-size: 1.8rem;
  background: #00458a;
  padding: 20px;
  margin: 20px 10px 0px 10px;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 10px;
}

#smc_confirmation div.button_area input[type="button"] {
  margin: 50px 10px 0px 10px;
}

#smc_form div.button_area input#button_confirm_back {
  width: auto;
  background: none;
  padding: 0;
  margin: 0;
  color: #808080;
  font-weight: normal;
  text-decoration: underline;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -62%;
}

#smc_form div.button_area input[type="button"]:hover {
  cursor: pointer;
}

#smc_form div.button_area + p {
  font-size: 1.4rem;
  text-align: center;
}

#smc_confirmation #confirmation_info {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 170px;
}

#smc_confirmation #confirmation_info p {
  text-align: center;
}

#smc_confirmation #confirmation_info p:first-child {
  font-size: 3rem;
  font-weight: bold;
  color: OrangeRed;
}

/* 入力エラーメッセージのデザイン */

#smc_form div.message {
  width: 100%;
  margin: 30px auto;
  padding: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  color: #e80000;
  background: #ffd4d4;
  position: fixed;
  left: 0;
  bottom: -30px;
  z-index: 100;
}

#smc_form .privacy_policy .privacy-text-master {
  font-size: 1.4rem;
  line-height: 1.6rem;
}

@media screen and (max-width: 768px) {
  #smc_form .items tr.item td.value span.label_name {
    padding-right: 0;
  }

  #smc_form .items tr.item td.value span.label_name + input {
    width: 100%;
  }

  #smc_form .items tr.item td.value span.label_name + input:nth-child(2) {
    margin-right: 0;
    margin-bottom: 10px;
  }

  #smc_form div.button_area {
    width: 100%;
  }

  #smc_confirmation #confirmation_info p:first-child {
    font-size: 2rem;
  }

  #smc_form div.button_area input[type="button"] {
    width: 80%;
    font-size: 1.8rem;
    padding: 10px 0;
  }

  #smc_confirmation div.button_area input[type="button"] {
    margin: 20px 10px 0px 10px;
  }

  #smc_form div.button_area + p {
    text-align: left;
  }

  #smc_form #form_privacy {
    width: 90%;
    margin: auto;
    left: 15px;
    bottom: 120px;
  }

  #smc_confirmation #confirmation_info {
    bottom: 150px;
  }
}

/* ダウンロード資料一覧 */

#smc_form #smc_form_url_box {
  padding: 20px 15px;
  margin-bottom: 20px;
  font-size: 2.4rem;
  background: #fff4db;
}

#smc_form #smc_form_url_box h4 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

#smc_form #smc_form_url_box a {
  text-decoration: underline;
}

#smc_form #smc_form_url_box dl dt {
  font-weight: bold;
}

#smc_form #smc_form_url_box dl dd {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  #smc_form .items #item_4 {
    width: 70%;
  }
  #smc_form .items #item_8 {
    width: 70%;
  }
  #smc_form .items #item_8 {
    width: 70%;
  }
  #smc_form .items #item_22 {
    width: 70%;
  }
  #smc_form .items #item_9 {
    width: 70%;
  }
  #smc_form .items #item_6 {
    width: 70%;
  }
  #smc_form .items #item_24 {
    width: 70%;
  }
  #smc_form .items #item_25 {
    width: 70%;
  }
  #smc_form .items #item_20 {
    width: 70%;
  }
}
