@charset "utf-8";

/* ----------------
factory-contents
---------------- */
.page-section.contact { margin-top: 60px; }

/* ----------------
form
---------------- */
form {
  margin: 0 auto;
  width: 95%;
}
@media screen and (min-width: 1367px) {
form { width: 715px; }
}

.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
}

.contact-block:nth-child(n+2) { margin-top: 30px; }

.contact-block_title {
  font-size: 16px;
  line-height: 1.4;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-block_title {
  font-size: 20px;
  line-height: 44px;
  width: 200px;
}
}

.contact-block_content { width: 100%; }
@media screen and (min-width: 1367px) {
.contact-block_content { width: 455px; }
}

.radio_wrap input[type="radio"]{
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.radio_wrap label{
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}
.radio_wrap label::before,
.radio_wrap label::after {
  aspect-ratio: 1 / 1;
  content: '';
  display: inline-block;
  border-radius: 50%;
  left: 0;
  position: absolute;
  top: 50%;
  transition: .1s;
  width: 20px;
}
.radio_wrap label::before{
  border: 2px solid #707070;
  transform: translateY(-50%);
}
.radio_wrap label::after{
  background-color: var(--orange);
  border: 2px solid var(--orange);
  transform: translateY(-50%) scale(0);
}
.radio_wrap input[type="radio"]:checked + label::before{ border-color: #707070; }
.radio_wrap input[type="radio"]:checked + label::after{
  opacity: 1;
  transform: translateY(-50%) scale(0.5);
}
@media (hover: hover){
.radio_wrap label:hover::after{
  opacity: .5;
  transform: translateY(-50%) scale(0.5);
}
}

label.radio {
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  margin-top: 1.5em;
}
@media screen and (min-width: 441px) and (max-width: 1366px) {
label.radio { width: 100%; }
}
@media screen and (min-width: 1367px) {
label.radio {
  font-size: 16px;
  line-height: 22px;
}
}

label.radio.first-child { margin-top: .5em; }

.radio-supplement {
  font-size: 12px;
  line-height: 1.6;
  margin: 1em 0 0 2.5em;
}

input[type="text"] {
  border: 2px solid #707070;
  border-radius: 22px;
  height: 44px;
  padding: 0 1em;
  width: 100%;
}

textarea {
  border: 2px solid #707070;
  border-radius: 20px;
  padding: 1em;
  width: 100%;
}

.contact-check-block {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.contact-check-block label {
  font-size: 14px;
  line-height: 1.5;
}
.contact-check-block label a { text-decoration: underline; }
@media screen and (min-width: 1367px) {
.contact-check-block a { transition: .3s; }
.contact-check-block a:hover { color: #434343; }
.contact-check-block a:visited,
.contact-check-block a:active { color: #434343; }
}

input[type="checkbox"] {
  border-radius: 5px;
  cursor: pointer;
  height: 22px;
  width: 22px;
}

.contact-btn-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin: 25px auto 0;
}
@media screen and (min-width: 1367px) {
.contact-btn-block {
  margin-top: 50px;
  width: 80%;
}
}

.contact-btn-block input[type="submit"] {
  background-color: var(--orange);
  border: 3px solid var(--orange);
  border-radius: 28px;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: 55px;
  line-height: 1.3;
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-btn-block input[type="submit"] {
  cursor: pointer;
  font-size: 16px;
  transition: .3s;
  width: 252px;
}
.contact-btn-block input[type="submit"]:hover {
  background-color: #fff;
  color: var(--orange);
}
}

/* ----------------
form check
---------------- */
.contact-block-confirm-title {
  color: var(--orange);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1em;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-block-confirm-title { font-size: 22px; }
}

.contact-block-confirm-content {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-block-confirm-content { font-size: 18px; }
}

input[type="button"] {
  background-color: #808080;
  border: 3px solid #808080;
  border-radius: 28px;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: 55px;
  line-height: 1.3;
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: 1367px) {
input[type="button"] {
  cursor: pointer;
  font-size: 16px;
  transition: .3s;
  width: 252px;
}
input[type="button"]:hover {
  background-color: #fff;
  color: #808080;
}
}

/* ----------------
form error
---------------- */
.contact-block.error-msg {
  margin-top: 60px;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-block.error-msg { margin-top: 90px; }
}

.contact-block.error-msg p {
  color: #f00;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
@media screen and (min-width: 1367px) {
.contact-block.error-msg p { font-size: 20px; }
}

.error_messe {
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.error_messe { font-size: 18px; }
}

/* ----------------
thanks
---------------- */
.contact-block.thanks-msg {
  margin-top: 60px;
  width: 100%;
}
@media screen and (min-width: 441px) {
.contact-block.thanks-msg {
  margin-top: 90px;
  text-align: center;
}
}

.contact-block.thanks-msg p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
}
@media screen and (min-width: 1367px) {
.contact-block.thanks-msg p { font-size: 20px; }
}

.contact-btn-block.page_thanks { padding-bottom: 70px; }
@media screen and (min-width: 441px) {
.contact-btn-block.page_thanks { padding-bottom: 100px; }
}

.contact-btn-block.page_thanks .button { width: 100%; }
@media screen and (min-width: 441px) and (max-width: 768px) {
.contact-btn-block.page_thanks .button { width: 40%; }
}
@media screen and (min-width: 769px) and (max-width: 1366px) {
.contact-btn-block.page_thanks .button { width: 30%; }
}
@media screen and (min-width: 1367px) {
.contact-btn-block.page_thanks .button { width: 303px; }
}

/* ----------------
cta-section
---------------- */
.cta-section { padding: 80px 0 100px; }