html,
body {
  height: 100%;
}

html {
  overflow: auto;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "YuGothic", "游ゴシック体", "Yu Gothic", "游ゴシック", Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", "Meiryo", sans-serif;
  line-height: 2;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: #453933;
  background: #fff;
}

p {
  margin-bottom: 1em;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

br.clear {
  clear: both;
  content: " ";
  display: block;
  overflow: hidden;
  height: 0;
}

.blue a,
.blue {
  color: #151646 !important;
}

strong {
  font-weight: bold;
}

.bold {
  font-size: 160%;
  font-weight: bold;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 850px;
  color: #fff;
}

.hero__image,
.hero__message {
  height: 100%;
  min-height: 850px;
  float: left;
  width: 50%;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: #fff;
}

.hero__image {
  background: url(../images/main.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
}

.hero__image #logo {
  display: inline-block;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero__message {
  position: relative;
  background: url(../images/back_b.jpg);
}

.hero__message:after,
.hero__message:before {
  position: absolute;
  content: " ";
  background: url(../images/goshuincho.png) left top no-repeat;
  background-size: contain;
  width: 268px;
  height: 100px;
  left: 0;
  top: 0;
  z-index: 2;
}

.hero__message:after {
  top: auto;
  left: auto;
  bottom: 0;
  right: 0;
  background: url(../images/goshuincho_u.png) right bottom no-repeat;
}

.hero__message-inner {
  z-index: 3;
  width: 42em;
  max-width: 90%;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 20px;
  padding: 0 20px;
}

.hero__message-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.6;
}

.link-button {
  display: inline-block;
  padding: 6px 20px;
  background: #151646;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
  vertical-align: top;
}

.offer {
  text-align: center;
  padding: 100px 40px;
  background: url(../images/back_w.png);
  border-bottom: 9px solid #151646;
}

.instagram__message,
.offer__message {
  margin: 20px 0 40px 0;
}

.instagram {
  border-top: 3px solid #7F603B;
  padding: 100px 40px;
  text-align: center;
}

.instagram__title {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.6;
  color: #151646;
}

.instagram__photos {
  line-height: 0;
  letter-spacing: 0;
  font-size: 0;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.instagram__photos img {
  width: 20%;
  margin: 5px;
}

.rr:after {
  font-family: sans-serif;
  content: "\00ae";
  vertical-align: baseline;
  font-size: 8px;
}

.footer {
  border-top: 6px solid #7F603B;
  padding: 40px;
  text-align: center;
  background: url(../images/back_b.jpg);
  color: #fff;
  font-weight: bold;
}

.footer__title {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer__address {
  display: inline-block;
  text-align: left;
  line-height: 1.5;
  white-space: nowrap;
}

.address__phone {
  font-weight: bold;
  font-size: 30px;
}

.address__phone a {
  color: #fff;
  text-decoration: none !important;
}

/* form pages */
.form {
  max-width: 640px;
  margin: 40px auto;
  text-align: center;
  border: 1px solid #E5E5E5;
  padding: 40px;
  position: relative;
}

.form:before {
  background: #151646;
  display: block;
  position: absolute;
  height: 9px;
  content: " ";
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 3px solid #7F603B;
}

.form__title {
  font-size: 30px;
  font-weight: bold;
  color: #151646;
}

.form table {
  margin-top: 1em;
  width: 100%;
}

.form th,
.form td {
  padding: 20px 0;
  border-top: 1px dotted #ccc;
  vertical-align: top;
}

.form th {
  width: 1%;
  white-space: nowrap;
  font-weight: bold;
  text-align: left;
  padding-right: 40px;
}

.form td {
  text-align: left;
}

.form textarea,
.form input[type="text"] {
  width: 100%;
  padding: 1em 10px;
  background: #F7F4F2;
  border: 0;
  font-size: 1em;
  border-radius: 4px;
  box-sizing: border-box;
}

.form textarea {
  height: 20em;
}

.form input[type="button"],
.form input[type="submit"],
.form input[type="reset"] {
  -webkit-appearance: none;
  border: none;
  width: 150px;
  line-height: 30px;
  margin: 10px 10px;
}

.form select {
  font-size: 16px;
}

.btn--back,
.form input[type="reset"] {
  background-color: #8A8AA2;
}

.form .require {
  color: red;
  font-weight: bold;
}

.form__confirm {
  border-top: 1px dotted #ccc;
  padding-top: 20px;
}

.form__submit {
  padding-top: 20px;
}

.blank {
  vertical-align: top;
  position: relative;
  top: 6px;
  right: -3px;
}

/* for Tablet */
@media (max-width:1023px) {
  .hero {
    height: 100%;
  }

  .hero__image,
  .hero__message {
    letter-spacing: 0;
    float: none;
    width: 100%;
  }

  .hero__image {
    height: 100%;
  }

  .hero__message {
    height: auto;
    min-height: 0;
  }

  .hero__message-inner {
    height: auto;
    width: auto;
    padding: 60px 0;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .offer {
    background-size: 125px 125px;
  }

  .footer {
    background-size: 125px 125px;
  }

  .blank {
    width: 7px;
  }

}

/* for Mobile */
@media (max-width:767px) {
  body {
    font-size: 11px;
    letter-spacing: 0;
  }

  br.pc {
    display: none;
  }

  .hero {
    height: 100%;
  }

  .hero__image,
  .hero__message {
    zoom: 0.5;
  }

  .hero__message-title {
    font-size: 38px;
  }

  .hero__message-inner {
    left: 0;
    transform: none;
    padding: 100px 20px 100px 30px;
  }

  .offer,
  .instagram {
    padding: 40px 20px;
  }

  .offer__title img {
    width: 322.5px;
  }

  .instagram__title {
    font-size: 17px;
  }

  .instagram__photos img {
    width: 29%;
    margin: 5px;
  }

  .footer {
    padding: 20px;
  }

  .footer__title {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .address__phone {
    font-size: 18px;
  }

  .form {
    margin: 0 0px;
    padding: 20px 10px;
  }

  .form__title {
    font-size: 16px;
    line-height: 1.3;
    margin-top: 20px;
  }

  .form th,
  .form td {
    display: block;
    width: 100%;
    padding: 5px 0 0 0;
    font-size: 12px;
  }

  .form th {
    margin-top: 10px;
  }

  .form td {
    border: 0;
  }

  .form textarea,
  .form input[type="text"] {
    font-size: 16px;
    padding: 10px;
  }

}

body.confirm table tr:nth-child(8) {
  display: none;
}

.form__confirm a {
  text-decoration: underline !important;
  color: #333;
}

.backtop {
  position: relative;
  float: right;
  top: -50px;
  right: 40px;
}

@media (max-width:767px) {
  .backtop {
    width: 40px;
    position: relative;
    float: right;
    top: -15px;
    right: 20px;
  }

}