@charset "UTF-8";
body,
h1, h2, h3, h4, h5, h6,
blockquote, dl, dd, figure, ol, ul, p, pre {
  margin: 0;
}

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

html {
  overflow-y: scroll;
}

body {
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

html, body {
  height: 100%;
}

a {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

a:active, a:focus,
button:focus, input[type="button"] {
  outline: none;
}

article, aside, details, figure, figcaption, footer, header, main, nav, section {
  display: block;
}

address, em, i {
  font-style: normal;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

ol, ul {
  list-style-type: none;
  padding: 0;
}

li {
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

tr {
  vertical-align: top;
}

th, td {
  padding: 0;
}

/* お問い合わせ
   ========================================================================== */
#block-inquiry {
  margin: 50px 0 30px;
}

@media screen and (max-width: 1024px) {
  #block-inquiry {
    margin-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  #block-inquiry {
    margin: 20px 0;
  }
}

/* フォーム
   ========================================================================== */
.block-form {
  margin: 30px 0;
}

@media screen and (max-width: 480px) {
  .block-form {
    margin: 20px 0;
  }
}

.block-form form.form-input,
.block-form .form-check {
  padding: 55px;
  background-color: #f0f4f5;
  border: 1px solid #d8dbdc;
}

@media screen and (max-width: 768px) {
  .block-form form.form-input,
  .block-form .form-check {
    padding: 30px 25px;
  }
}

@media screen and (max-width: 480px) {
  .block-form form.form-input,
  .block-form .form-check {
    padding: 25px 15px;
  }
}

.block-form label {
  display: block;
  margin-bottom: 30px;
}

@media screen and (max-width: 480px) {
  .block-form label {
    margin-bottom: 20px;
  }
}

.block-form p {
  font-weight: bold;
}

.block-form .attached {
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: normal;
  text-align: left;
  line-height: 1.5;
}

.block-form .attached.right {
  text-align: right;
}

.block-form .require {
  color: #ff6633;
}

.block-form input[type="text"],
.block-form input[type="tel"],
.block-form input[type="email"],
.block-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 15px;
  font-size: 18px;
  font-size: 1.125rem;
  vertical-align: top;
  border: 1px solid #666;
  border-radius: 5px;
}

@media screen and (max-width: 480px) {
  .block-form input[type="text"],
  .block-form input[type="tel"],
  .block-form input[type="email"],
  .block-form textarea {
    padding: 10px;
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.block-form .confirm {
  width: 100%;
  margin-top: 4px;
  padding: 15px;
  font-size: 18px;
  font-size: 1.125rem;
  vertical-align: top;
  background-color: #fff;
  border-radius: 5px;
}

@media screen and (max-width: 480px) {
  .block-form .confirm {
    padding: 10px;
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.block-form .button-area {
  margin-top: 55px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .block-form .button-area {
    margin: 25px -1.5% 0;
  }
}

.block-form .button-area input {
  width: 40%;
  max-width: 320px;
  margin: 0 10px;
  padding: 20px 15px;
  color: white;
  font-size: 26px;
  font-size: 1.625rem;
  background: #2498ed;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .block-form .button-area input {
    width: 46%;
    margin: 0 1.5%;
    font-size: 22px;
    font-size: 1.375rem;
  }
}

@media screen and (max-width: 480px) {
  .block-form .button-area input {
    width: 47%;
    margin: 0 0.5%;
    padding: 12px 0;
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.block-form .button-area input:hover {
  opacity: 0.8;
}

.block-form .button-area input[type="reset"] {
  background: #b6b6b6;
}

.block-form .form-confirm .attached {
  margin-top: 55px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .block-form .form-confirm .attached {
    margin-top: 45px;
    text-align: left;
  }
}

.block-form .form-confirm .button-area {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .block-form .form-confirm .button-area {
    margin-top: 20px;
  }
}

/* 送信エラー
   ========================================================================== */
#block-error {
  margin: 80px 0 200px;
}

@media screen and (max-width: 480px) {
  #block-error {
    margin: 80px 0 120px;
  }
}

#block-error p {
  margin-bottom: 25px;
  text-align: center;
}

@media screen and (max-width: 480px) {
  #block-error p {
    margin-bottom: 20px;
  }
}

#block-error .error {
  font-size: 26px;
  font-size: 1.625rem;
}

/* 送信完了
   ========================================================================== */
#block-success {
  margin: 80px 0 200px;
}

@media screen and (max-width: 480px) {
  #block-success {
    margin: 80px 0 120px;
  }
}

#block-success p {
  margin-bottom: 25px;
  text-align: center;
}

@media screen and (max-width: 480px) {
  #block-success p {
    margin-bottom: 20px;
  }
}

#block-success .success {
  font-size: 26px;
  font-size: 1.625rem;
}
