@charset "UTF-8";
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(64px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-from-left {
  0% {
    opacity: 0;
    transform: translateX(64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-from-right {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.js-anim {
  opacity: 0;
}

.slideIn {
  animation: slideIn 0.5s forwards;
  animation-delay: 0.1s;
}

.slide-from-left {
  animation: slideLeftIn 0.5s forwards;
}

.slide-from-right {
  animation: slide-from-right 0.5s forwards;
  animation-delay: 0.1s;
}

.slide-from-left {
  animation: slide-from-left 0.5s forwards;
  animation-delay: 0.1s;
}

@keyframes bg-gradient {
  0% {
    background-position: 0 0;
  }
  30% {
    background-position: 10% 30%;
  }
  50% {
    background-position: 100% 50%;
  }
  70% {
    background-position: 50% 70%;
  }
  100% {
    background-position: 0 0;
  }
}
.contacts {
  background: rgba(255, 255, 255, 0.7);
  margin: 0 auto 5rem auto;
  padding: 3rem 1em;
}
.contacts__wide {
  width: 100%;
  margin-bottom: 2em;
  position: relative;
}
.contacts__place {
  position: absolute;
  font-size: 2rem;
  display: block;
  padding: 0.5em;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.contacts__name {
  display: block;
  margin-bottom: 0.5em;
  padding: 0.3em 0;
  font-size: 1.8rem;
  font-weight: bold;
}
.contacts__name.required:after {
  background: #e70012;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  margin-left: 0.3em;
  content: "必須";
  line-height: 1em;
  font-size: 1.2rem;
  font-weight: normal;
  border: 3px solid #e70012;
  vertical-align: middle;
  padding-top: 1px;
}
.contacts-2col {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2em;
}
.contacts-2col__blocks {
  width: 48%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}
@media screen and (max-width: 767px) {
  .contacts-2col__blocks {
    display: block;
  }
}
.contacts-2col__lefts {
  margin-right: 0.5em;
  max-width: 2.5em;
  min-width: 2.5em;
}
.contacts-2col__lefts--4txt {
  max-width: 4.5em;
  min-width: 4.5em;
}
.contacts-2col__rights {
  position: relative;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .contacts-2col--spnotflex {
    display: block;
    margin-bottom: 1em;
  }
  .contacts-2col--spnotflex .contacts-2col__blocks {
    width: 100%;
    margin-bottom: 1em;
  }
}
.contacts__input {
  font-size: 2rem;
  display: inline-block;
  padding: 0.5em;
  border: 1px solid #333;
  width: 100%;
  box-sizing: border-box;
}
.contacts__input--error {
  border-color: #e70012;
  background: #FFEBE6;
}
.contacts__textarea {
  font-size: 2rem;
  display: inline-block;
  padding: 0.5em;
  border: 1px solid #333;
  width: 100%;
  min-height: 10em;
  box-sizing: border-box;
}

.first-message {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 4em;
}

.cbtn-margin {
  margin-top: 5rem;
}

.cbtn {
  text-decoration: none;
  padding: 1em;
  display: block;
  max-width: 50%;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (max-width: 767px) {
  .cbtn {
    max-width: 70%;
  }
}
.cbtn--blue {
  background: #1170dc;
  color: #fff;
  font-weight: bold;
}
.cbtn--blue:hover {
  background: #105b75;
}

.cbtn--disabled {
  cursor: not-allowed;
  background: #c0c0c0;
  position: relative;
}
.cbtn--disabled:hover {
  background: #c0c0c0;
}
.cbtn--disabled::after {
  content: "未入力またはエラーがあります";
  display: block;
  margin-top: 0.3em;
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  color: #333;
  text-align: center;
  font-size: 1rem;
}

.loader {
  display: none;
  position: absolute;
  background: rgba(225, 225, 225, 0.9);
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  z-index: 3;
}

.loader > div {
  display: block;
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  text-align: center;
}

.php_error {
  color: #e70012;
}

.thanks-message {
  margin: 0 auto 3em auto;
  line-height: 1.8em;
}
.thanks-message p {
  margin-top: 1em;
}

.products {
  border: 1px solid #c0c0c0;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 3rem;
  background: #f5fcff;
}
.products__name {
  text-align: center;
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.3em 1em;
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
  background: #282828;
  border-radius: 5px;
  color: #fff;
}
.products__txt {
  margin-bottom: 2rem;
}
