@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');

html {
  height: 100%;
  padding-bottom: 100px;
  margin-bottom: 100px;
  /* background-color: #cd162c; */
}

body {
  font-family: 'メイリオ', 'M PLUS Rounded 1c', 'Arial black';
  height: 100%;
  padding-bottom: 30px;
  padding-top: 80px;
  background-color: #cd162c;
  background-size: 40px 40px;
}

.title_main {
  font-size: 2rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  margin: 0 auto;
}

.header_tel {
  font-size: 24px;
  vertical-align: bottom;
}

.fixed-top-header {
  position: fixed;
}

.a_center {
  display: block;
  text-align: center;
}

.bg-image {
  background-blend-mode: lighten;

  background: linear-gradient(
      135deg,
      #e3d7a3 22px,
      #ffffff 22px,
      #ffffff 24px,
      transparent 24px,
      transparent 67px,
      #ffffff 67px,
      #ffffff 69px,
      transparent 69px
    ),
    linear-gradient(
        225deg,
        #e3d7a3 22px,
        #ffffff 22px,
        #ffffff 24px,
        transparent 24px,
        transparent 67px,
        #ffffff 67px,
        #ffffff 69px,
        transparent 69px
      )
      0 64px;
  background-color: rgba(217, 215, 163, 1);
  background-size: 64px 128px;
}

.myNav {
  margin: 0 auto;
}

h1,
header p {
  text-align: center;
  font-weight: bold;
  background-color: #cd162c;
  margin: 0;
  height: 80px;
  padding: 10px 0;
  color: #ffffff;
}

header p {
  position: absolute;
  right: 1vw;
}

header .headline-left {
  position: absolute;
  display: inline-block;
  margin: 0 1rem;
  padding: 0 1rem;
  width: 18rem;
  height: 80px;
  line-height: 80px;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  box-sizing: border-box;
  left: 1vw;
}

.img_nurikabe-kun_top {
  width: 60px;
}

.img_nurikabe-kun {
  /* width: 15vw; */
  width: 120px;
}

header {
  width: 100%;
  height: 80px;

  background-color: #cd162c;
  color: white;
  display: flex;
  justify-content: center;
  position: relative;

  box-shadow: 0px 2px 4px #ab040a;
}

header .img {
  height: 10px;
  float: right;
}

header .headline {
  float: center;
}

/*以下、①背景色など*/
.line-bc {
  padding: 1.65rem 2rem;
  /* max-width: 450px; */
  /* height: 100%; */
  margin: 0 auto;
  /* text-align: right; */
  font-size: 1.4rem;
  /* font-size: 1.4vw; */
}

/*以下、②左側のコメント*/
.balloon6 {
  width: 100%;
  margin: 10px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.balloon6 .faceicon {
  float: left;
}

.balloon6 .faceicon img {
  height: auto;
  border-radius: 50%;
}
.balloon6 .chatting {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
}

.balloon6 .chatting_plus {
  margin-left: 120px;
}

.says {
  display: inline-block;
  position: relative;
  margin: 5px 50px;
  padding: 10px;
  border-radius: 12px;
  background: #edf1ee;
  align-self: flex-end;
  min-width: 5rem;
  min-height: 2rem;
}

.says:after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 3px;
  left: -19px;
  border: 8px solid transparent;
  border-right: 18px solid #edf1ee;
  -webkit-transform: rotate(35deg);
  transform: rotate(35deg);
}
.says p {
  margin: 0;
  padding: 0;
}

/*以下、③右側の緑コメント*/
.mycomment {
  margin: 10px 0;
  text-align: right;
}
.mycomment .ops_forms {
  display: inline-block;
  position: relative;
  margin: 0 10px;
  padding: 8px;
  border-radius: 12px;
  background: #edf1ee;
}

.mycomment p:after {
  content: '';
  position: absolute;
  top: 3px;
  right: -19px;
  border: 8px solid transparent;
  border-left: 18px solid #edf1ee;
  -webkit-transform: rotate(-35deg);
  transform: rotate(-35deg);
}

.btn,
a.btn,
button.btn,
.text_checkbox {
  font-size: 1.2vw;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  width: 15vw;
}

.btn--orange,
.checkbox--orange {
  color: #fff;
  background-color: #fe6900;
  border-bottom: 10px solid #cb3600;
  margin: 4px 0;
}

.btn--orange:hover,
.checkbox--orange:hover {
  background-color: #dc7a00;
}

.btn--orange:active,
.btn--selected,
input[type='checkbox']:checked + .checkbox--orange {
  margin-top: 12px;
  color: yellow;
  background-color: #cb6900;
  border-bottom: 2px solid #cb3600;
}

input[type='checkbox']:checked + .checkbox--orange {
  color: yellow;
}
.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

label,
input[type='checkbox'] {
  cursor: pointer;
}

.mycomment input[type='checkbox'] {
  display: none;
}

.btn--submit {
  display: inline-block;
  border-radius: 75%;
  font-size: 1.2vw;
  text-align: center;
  cursor: pointer;
  padding: 18px 18px;
  background: #ffffff;
  color: #111111;
  line-height: 1em;
  transition: 0.3s;
  box-shadow: 2px 8px 2px #666666;
  border: 3px solid #cb3600;
  border-bottom: 10px solid #cb3600;
}

button.btn--submit:focus {
  outline: 0;
}

button.btn--submit:active,
.btn--submit--done {
  box-shadow: 1px 2px 1px #666666;
  border-bottom: 3px solid #cb3600;
  margin-bottom: 7px;
}

.btn--submit--done {
  background-color: #ba2500;
  color: yellow;
}

.br_sp_ops {
  display: none;
}

/* Contact Form */
.contact-form {
  text-align: left;
  padding: 0 15px;
  margin: 15px 0;
  width: 100%;
}

.contact-form label {
  color: #212529;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.contact-form .form-send button {
  background: #d9534f;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

.contact-form .form-send button:hover {
  background: #e65f5b;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.form-control {
  width: 100%;
}

#contact {
  background-color: white;
  padding-top: 15px;
  padding-bottom: 15px;
}

.check-time {
  margin-left: 12px;
}

.contactform_label_fontsize {
  font-size: 1.2rem;
}

/* ############################ */
/* チャット入力（ローディングの点々） */
/* ############################ */
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 0.6rem;
  height: 0.6rem;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #333333;
  font-size: 10px;

  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  left: 1.5rem;
  top: -1.5rem;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -1.5rem;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5rem;
}

@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

@media (max-width: 992px) {
  body {
    padding-top: 125px;
  }

  h1 {
    padding-bottom: 0px;
    height: 80px;
  }

  header p {
    position: static;
    height: 45px;
    padding-top: 0px;
  }

  .img_nurikabe-kun_top {
    width: 60px;
  }

  .img_nurikabe-kun {
    width: 20vw;
  }

  .btn,
  a.btn,
  button.btn,
  .text_checkbox {
    font-size: 1rem;
    width: 25vw;
  }

  .btn--submit {
    font-size: 1rem;
  }

  .line-bc {
    padding: 1.65rem 1rem;
    font-size: 1rem;
  }

  .says {
    margin: 5px 10px;
  }

  header {
    position: static;
    display: inline;
  }

  .br_sp_header {
    display: none;
  }

  .br_sp_ops {
    display: inline;
  }

  .img_nurikabe-kun_top {
    width: 45px;
  }
  .header_tel {
    font-size: 16px;
  }

  header .headline-left {
    display: none;
  }

  .balloon6 .chatting_plus {
    margin-left: 20vw;
  }

  .btn,
  a.btn,
  button.btn,
  .text_checkbox {
    letter-spacing: 0em;
  }

  .btn--9letters {
    font-size: 0.5rem;
  }

  .btn--6letters {
    font-size: 0.9rem;
  }

  #contact h1 {
    font-size: 1.5rem;
    height: auto;
    padding-bottom: 0.5em;
  }
}

@media (max-width: 320px) {
  header p {
    font-size: 14px;
  }

  .line-bc {
    font-size: 0.8rem;
  }

  .header_tel {
    font-size: 14px;
  }
  .img_nurikabe-kun_top {
    width: 36px;
  }

  #contact h1 {
    font-size: 1.2rem;
    height: auto;
    padding-bottom: 0.5em;
  }

  .contact-form .form-send button {
    padding: 5px 10px;
  }

  .btn,
  a.btn,
  button.btn,
  .text_checkbox {
    font-size: 0.8rem;
  }

  .btn--submit {
    font-size: 0.8rem;
  }

  .btn--9letters {
    font-size: 0.4rem;
  }

  .btn--6letters {
    font-size: 0.72rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.8rem;
  }
}
