/* FORM
-----------------------------*/

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
  width: auto;
  margin: auto;
}
/* End hide from IE-mac */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#mainbody {
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W5",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  padding: 6px 10px;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W5",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  width: 100%;
  border: 1px solid #a9a9a9;
  outline: none;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="tel"]:disabled,
input[type="password"]:disabled,
select:disabled {
  background-color: #e7e7e7;
  vertical-align: middle;
}

select {
  padding: 6px 10px 9px;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W5",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  border: 1px solid #a9a9a9;
  outline: none;
}

textarea {
  padding: 4px 6px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  outline: none;
  /*width: 90%;*/
}
input[type="button"] {
  cursor: pointer;
  border: 1px solid #a9a9a9;
  background-color: #fff;
  font-size: 12px;
  border-radius: 6px;
  padding: 8px 14px;
  margin-left: 10px;
}
input:focus {
  background-color: #fefef3;
}

.tc {
  text-align: center;
}
.tr {
  text-align: right;
}

.mb5 {
  margin-bottom: 5px;
}
.mt0 {
  margin-top: 0px !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt20 {
  margin-top: 20px !important;
}

.w3 {
  display: inline-block;
  width: 3em;
}
.wmax {
  width: 400px;
}

.w100p {
  width: 100% !important;
}

.wauto {
  width: auto !important;
}

.wshort {
  width: 140px !important;
}

.wmiddle {
  width: 300px !important;
}

.wdate {
  width: 100px !important;
}

.wzip {
  width: 100px !important;
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 17px 20px;
  height: 50px;
  border: none;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
}
.btn:visited,
.btn:link {
  color: #fff;
}

.btn:hover {
  color: #fff;
  text-decoration: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.btn-small {
  padding: 8px 10px;
  height: auto;
  font-size: 12px;
}

.btn-info,
.btn-info:visited,
.btn-info:link {
  border: 1px solid #e74b77;
  color: #000;
  padding: 14px 40px;
  height: auto;
}

.btn-info:hover {
  opacity: 0.75;
}

.btn-success {
  background-color: #56aa19;
}

.btn-success:hover {
  background-color: #7acb3e;
}

.btn-important {
  background-color: #b32929;
  color: #fff !important;
}

.btn-important:hover {
  background-color: #cf4545;
}

.btn-file {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#ffffff),
    to(#e6e6e6)
  );
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #bbbbbb;
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-radio input {
  display: none;
}
.custom-radio label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-left: 20px;
  padding: 10px 20px;
  border-radius: 2px;
  color: #3e4956;
  font-size: 14px;
  text-align: center;
  line-height: 1;
}
.custom-radio label:before {
  position: absolute;
  content: "";
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #bdc3c7;
  border-radius: 50%;
}
.custom-radio input[type="radio"]:checked + label:after {
  position: absolute;
  content: "";
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #ff43a8;
}

.text-error {
  color: #e00;
  display: block;
}

.error-box {
  color: #e00;
  font-weight: bold;
  padding: 6px 10px;
  text-align: center;
  border: 2px solid #e00;
  margin-top: 30px;
}

.text-success {
  color: #00e;
  display: block;
}

.success-box {
  color: #00e;
  font-weight: bold;
  padding: 6px 10px;
  text-align: center;
  border: 2px solid #00e;
  margin-top: 30px;
}

.formError {
  color: #d00;
  font-weight: bold;
}

.inputError {
  border: 1px solid #d00 !important;
  background-color: #fff8f8;
}
.info-border {
  border: 1px solid #e74b77;
  padding: 20px;
  font-size: 14px;
  margin-bottom: 30px;
}

.info-attention {
  border: 1px solid #e74b77;
  padding: 20px;
  font-size: 14px;
  margin-bottom: 30px;
}

.scriptchk {
}

.doui {
  padding: 20px;
  font-size: 13px;
  background-color: #e3e3e2;
  margin-bottom: 30px;
  margin-top: 20px;
  text-align: center;
}

.doui-check {
  border: 2px solid #c5cfdc;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  display: block;
  width: 300px;
  margin: 0 auto;
}

#zip {
  width: 18ex;
}

#form-wrap th {
  position: relative;
}

#form-wrap .label {
  position: absolute;
  right: 0;
  font-size: 0.8em;
  border: 1px solid #e74b77;
  display: inline-block;
  margin-left: 6px;
  line-height: 100%;
  padding: 3px 8px;
  color: #e74b77;
  font-weight: 500;
}

#form-wrap table {
  border-collapse: collapse;
  width: 100%;
  border-top: 1px solid #ddd;
}

#form-wrap table th {
  width: 200px;
  padding: 8px 15px;
  text-align: left;
  vertical-align: middle;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
}
#form-wrap table th.th100w {
  width: initial;
}

#form-wrap table td {
  padding: 15px 15px;
  border-bottom: 1px solid #ddd;
}

#form-wrap .submit {
  text-align: center;
}

#form-wrap .confirm {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック",
    YuGothic, "メイリオ", Meiryo, sans-serif;
  text-align: center;
  width: 250px;
  height: 50px;
  background-color: #1f384b;
  border: none;
  color: #fff;
  cursor: pointer;
}
#form-wrap .confirm:hover {
  background-color: #335b7a;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#form-wrap .rewrite {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック",
    YuGothic, "メイリオ", Meiryo, sans-serif;
  text-align: center;
  width: 150px;
  height: 50px;
  background-color: #1f384b;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  margin-right: 20px;
}
#form-wrap .rewrite:hover {
  background-color: #335b7a;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#form-wrap .submit {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック",
    YuGothic, "メイリオ", Meiryo, sans-serif;
  text-align: center;
  padding: 0 0px;
  width: 190px;
  height: 50px;
  background-color: #ff4e86;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}
#form-wrap .submit:hover {
  background-color: #ff8aae;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#form-wrap #kiyaku {
  width: 100%;
  border: 1px solid #999;
}

/* fileupload */
#fileupload {
  padding: 20px 0 0;
}
#fileupload .btn {
  display: inline-block;
  width: 178px;
  margin: 0;
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  background: #50bdc7;
  border: none;
  color: #fff !important;
  border-radius: 5px;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  cursor: pointer;
  vertical-align: middle;
}
#upfile-wrap {
  display: none;
  margin-top: 10px;
}
#filename {
  display: inline-block;
}
#progress {
  display: none;
  width: 300px;
  border: 1px solid #ccc !important;
  background-color: #fafafa;
  vertical-align: middle;
  margin: 0 10px;
}
#progress .progress-bar {
  width: 0%;
  height: 25px;
  background: #50bdc7;
}
#progress .progress-bar span {
  display: inline-block;
  line-height: 25px;
  padding: 0 10px;
  text-align: center;
  width: 100%;
  color: #fff;
}
#filedel {
  display: none;
  cursor: pointer;
  background-color: #999;
  border-radius: 5px;
  font-size: 12px;
  color: #fff;
  padding: 7px 12px;
  line-height: 100%;
}
#filedel:hover {
  background-color: #666;
}

.fileinput-button {
  display: inline-block;
  width: 178px;
  margin: 0;
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  background: #ff5570;
  border: none;
  color: #fff !important;
  border-radius: 5px;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  cursor: pointer;
  vertical-align: middle;
}

/* サンプル請求用 */
#sampleform .boxs {
  width: 680px;
  margin: 0 auto;
}

#sampleform .toptext {
  font-size: 25px;
  font-weight: bold;
  color: #ff4b7d;
  line-height: 27px;
  letter-spacing: 2px;
  margin: 22px 280px;
  border-bottom: 2px solid #ff4b7d;
  padding-bottom: 2px;
}

#sampleform .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#sampleform .flex.reverse {
  flex-direction: row-reverse;
}

#sampleform .flex .image {
  width: 200px;
  text-align: center;
}

#sampleform .flex .text {
  width: 445px;
}

#sampleform .flex .text-width03 {
  width: 390px;
}

#sampleform .flex .text h2 {
  font-size: 19px;
  font-weight: bold;
  color: #5a5a5a;
  line-height: 27px;
  letter-spacing: 2px;
}

#sampleform .comment-box label {
  display: inline-block;
  width: 160px;
}

#sampleform #magapr {
  text-align: center;
  margin-top: -10px;
  padding-left: 16px;
}

.attention-box {
  border: 1px solid #c00;
  padding: 8px 20px;
  margin: 2em 0;
  line-height: 150%;
}

.attention-box span {
  color: #c00;
  font-weight: bold;
}
