:-ms-input-placeholder {
  color: #CCC !important;
}

.nihon {
  ime-mode: active;
}

.eiji {
  ime-mode: disabled;
}

#main {
  box-sizing: border-box;
  margin: 50px auto;
  width: 100%;
  overflow: hidden;
}

#main h1 {
  box-sizing: border-box;
  margin: 20px auto;
  width: 1200px;
  padding: 10px 15px;
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 5px;
  line-height: 40px;
  color: #777;
  border-top: 1px solid #CCC;
  border-left: 1px solid #CCC;
  overflow: hidden;
}

#main #contactFrame {
  box-sizing: border-box;
  margin: 60px auto 20px;
  width: 1200px;
  overflow: hidden;
}

#main #contactFrame table {
  box-sizing: border-box;
  width: 100%;
  margin: 0px auto;
  border-spacing: 0px;
  border-collapse: collapse;
}

#main #contactFrame tr {
  border-bottom: 1px dotted #ccc;
}

#main #contactFrame th {
  box-sizing: border-box;
  width: 250px;
  padding: 40px 20px;
  font-size: 13px;
  font-weight: bold;
  color: #777;
  letter-spacing: 5px;
  text-align: left;
}

#main #contactFrame td {
  box-sizing: border-box;
  width: 900px;
  padding: 30px 10px;
  font-size: 13px;
  line-height: 36px;
  color: #777;
  position: relative;
}

#main #contactFrame td input[type="text"],
#main #contactFrame td textarea {
  padding: 12px 10px;
  border: 1px solid #CCC;
  border-radius: 5px;
}

#main #contactFrame td input[type="text"]:focus,
#main #contactFrame td textarea:focus {
  border: 1px solid #7C6F59;
  transition: 0.6s;
}

#main #contactFrame #buttonBox {
  margin: 50px auto 30px;
  width: 400px;
  text-align: center;
  overflow: hidden;
}

#main #contactFrame #buttonBox .g-recaptcha {
  margin: 0px auto 30px;
  overflow: hidden;
}

#main #contactFrame #buttonBox .sendButton {
  -moz-box-shadow: inset 0px 1px 0px 0px #a6827e;
  -webkit-box-shadow: inset 0px 1px 0px 0px #a6827e;
  box-shadow: inset 0px 1px 0px 0px #a6827e;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7d5d3b), color-stop(1, #634b30));
  background: -moz-linear-gradient(top, #7d5d3b 5%, #634b30 100%);
  background: -webkit-linear-gradient(top, #7d5d3b 5%, #634b30 100%);
  background: -o-linear-gradient(top, #7d5d3b 5%, #634b30 100%);
  background: -ms-linear-gradient(top, #7d5d3b 5%, #634b30 100%);
  background: linear-gradient(to bottom, #7d5d3b 5%, #634b30 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7d5d3b', endColorstr='#634b30', GradientType=0);
  background-color: #7d5d3b;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #54381e;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 13px;
  font-weight: bold;
  padding: 14px 60px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #4d3534;
}

#main #contactFrame #buttonBox .sendButton:hover {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #634b30), color-stop(1, #7d5d3b));
  background: -moz-linear-gradient(top, #634b30 5%, #7d5d3b 100%);
  background: -webkit-linear-gradient(top, #634b30 5%, #7d5d3b 100%);
  background: -o-linear-gradient(top, #634b30 5%, #7d5d3b 100%);
  background: -ms-linear-gradient(top, #634b30 5%, #7d5d3b 100%);
  background: linear-gradient(to bottom, #634b30 5%, #7d5d3b 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#634b30', endColorstr='#7d5d3b', GradientType=0);
  background-color: #634b30;
}

#main #contactFrame #buttonBox .sendButton:active {
  position: relative;
  top: 1px;
}

#main #contactFrame #buttonBox .sendButton[disabled] {
  background: #DCDCDC;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #CCC;
  text-shadow: none;
  cursor: not-allowed;
}

#main #contactFrame td .checkIcon {
  display: none;
  position: absolute;
  color: #FB08A2;
  margin: auto;
  width: 14px;
  height: 8px;
  border-bottom: solid 1.5px currentColor;
  border-left: solid 1.5px currentColor;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 0;
  right: 20px;
  bottom: 0;
}

#main #contactFrame #completeBox {
  margin: 50px auto;
  width: 600px;
  padding: 50px 30px;
  font-size: 14px;
  font-weight: bold;
  line-height: 30px;
  color: #666;
  border: 1px solid #CCC;
  overflow: hidden;
}

.errorMsg {
  text-decoration: none;
  display: inline-block;
}

.errorMsg span {
  position: absolute;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 30px;
  color: #FF0000;
  background: #ffffff;
  border: 1px solid #ff0000;
  z-index: 1000;
  left: 100px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.errorMsg span:after,
.errorMsg span:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  position: absolute;
  pointer-events: none;
}

.errorMsg span:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #ffffff;
  border-width: 5px;
  margin-top: -5px;
}

.errorMsg span:before {
  border-color: rgba(255, 0, 0, 0);
  border-right-color: #ff0000;
  border-width: 6px;
  margin-top: -6px;
}