/*==============================================================
　お問い合わせフォーム
==============================================================*/
/*共通*/
.footer-menu li:nth-child(4) a {
  border-bottom: 1px solid #2e377b;

  @media (max-width: 768px) {
    border-bottom: unset;
  }
}

.sec-fv-main-ttl {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  text-align: left;
  padding: 0 32px;

  @media (max-width: 768px) {
    padding: 0 16px;
  }
}

.sec-ttl-eng {
  @media (max-width: 768px) {
    color: #333 !important;
  }
}

.sec-fv-main-ttl p {
  font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
  font-weight: 600;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.sec-fv-main-img {
  background-image: url(../assets/img/contact/fv.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  padding: 0 32px;

  @media (max-width: 768px) {
    height: 120px;
    padding: 0 16px;
  }
}

.sev-fv-img-cont {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  text-align: left;
  padding: 16px 32px;

  @media (max-width: 768px) {
    padding: 8px 0px;
  }
}

.sec-ttl-jp {
  display: inline-block;
  font-size: clamp(1rem, 0.5833rem + 0.8681vw, 1.625rem);
  color: white;
  padding: 4px 24px;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #30387b, #466bac);
}

.lower-common-ttl-box {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  @media (max-width: 768px) {
    margin-bottom: 16px;
  }
}

.lower-common-ttl-eng {
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #333;
}

.lower-common-ttl-jpn {
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
  display: inline-block;
  color: #fff;
  padding: 4px 24px;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #30387b, #466bac);
}

.behind-ttl {
  position: absolute;
  opacity: 0.2;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  width: 100%;

  @media (max-width: 768px) {
    top: -10px;
    overflow: hidden;
  }
}

.sec-behind-ttl {
  font-size: clamp(2.5rem, -7.2917rem + 20.3993vw, 17.1875rem);
  white-space: nowrap;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
  line-height: 140px;
  text-align: center;

  @media (max-width: 768px) {
    line-height: 40px;
  }
}

.sec {
  margin-top: 100px;

  @media (max-width: 768px) {
    margin-top: 80px;
  }
}

.sec-cont {
  padding: 60px 0;
  position: relative;

  @media (max-width: 768px) {
    padding: 0px 0;
  }
}

/*==============================================================
メッセージ*/
.contact-container {
  padding: 0 16px;
}

.contact-container {
  max-width: 950px;
  padding: 0px 16px 80px;
  margin: 0px auto;

  @media screen and (max-width: 768px) {
    padding: 40px 16px;
  }
}

.contact-container p {
  margin-bottom: 10px;
}

.submit-container {
  text-align: center;
}

.submit-container button {
  text-align: center;
  display: inline-block;
  border-radius: 50px !important;
  background: rgba(255, 105, 0, 1);
  padding: 16px 40px;
  margin-top: 40px;
  transition: 0.3s;
  color: #fff;
  font-weight: nomal;
  font-size: 20px;
  border-radius: 30px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);
}

.submit-container button:hover {
  background-color: #ff4800;
  transform: translateY(-3px);
  box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .contact-confirm.submit-container button {
    padding: 16px 48px;
    font-size: 16px;
    width: 240px;
    margin: 10px auto 0;
  }
}

.contact-confirm .message-req {
  top: 50%;

  @media screen and (max-width: 768px) {
    top: 70% !important;
  }
}

.contact-content-message {
  text-align: center;
}

.contact-completion {
  text-align: center;
}

.contact-confirm {
  display: flex;
  justify-content: center;
  gap: 20px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 0px;
  }
}

.contact_table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
  text-align: center;
  color: #fff;
}

.contact_table table th {
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: left;
  align-content: center;
}

.contact-message {
  align-content: flex-start !important;
}

.contact_table table td {
  box-sizing: border-box;
  padding: 16px;
  vertical-align: top;
  text-align: left;
  color: #2b2b2b;

  @media screen and (max-width: 768px) {
    padding: 16px 0;
  }
}

.contact_table th {
  min-width: 338px;
  position: relative;
}

.contact_table label {
  padding-left: 43px;
  font-weight: 500;
  font-size: 16px;
  color: #2b2b2b;
}

.req {
  color: #fff;
  font-weight: normal;
  display: inline-block;
  background: #ff0000;
  padding: 5px 8px;
  border-radius: 50px;
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 12px;
  transform: translateY(-50%);
}

.unreq {
  color: #949494;
  font-weight: normal;
  display: inline-block;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 50px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #949494;
}

.message-req {
  color: #fff;
  font-weight: normal;
  display: inline-block;
  background: #ff0000;
  padding: 5px 8px;
  border-radius: 50px;
  position: absolute;
  left: 0;
  top: 28px;
  font-size: 12px;
  color: #fff;
  transform: translateY(-50%);
}

.contact-area-02 {
  .message-req {
    top: 55%;
    transform: translateY(-50%);
  }
}

.contact-confirm .message-req {
  top: 50%;
}

.contact_table input::placeholder {
  color: #c4c4c4;
}

.contact_table textarea::placeholder {
  color: #c4c4c4;
}

.form-control {
  font-size: 16px;
  font-weight: 400;
  height: auto;
  padding: 10px 12px;
  font-weight: 500;
  font-size: 18px;
  text-align: left;
  color: #333 !important;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
  background: #fff;
  border: 1px solid #cccccc81;
}

.mwform-radio-field-text {
  color: #333;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #e3e3e3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem #e3e3e3;
}

input::placeholder {
  color: #dddddd !important;
}

@media all and (max-width: 991px) {
  .form-control {
    width: 100%;
  }

  .contact_table label {
    font-size: 16px;
  }
}

@media all and (max-width: 768px) {
  .contact_table table th,
  .contact_table table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .req {
    left: 0px;
    top: 71%;
  }

  .unreq {
    left: 0px;
    top: 71%;
  }

  .message-req {
    padding: 5px 7px;
    left: 0px;
    top: 71%;
  }

  .contact_table table th {
    padding: 15px 0 0;
    align-content: center;
    height: 100%;
  }

  .contact_table input::placeholder {
    font-size: 14px;
  }

  .contact_table label {
    font-size: 16px;
  }

  .contact_table label {
    padding-left: 58px;
  }
}

.btn {
  margin-top: 40px;
  background-color: #ff7b00;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px 40px;
  font-size: clamp(1rem, 0.9681rem + 0.1307vw, 1.125rem);
  max-width: 200px;
  width: 100%;

  @media all and (max-width: 768px) {
    padding: 12px 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 160px;
  }
}

.btn:hover {
  background-color: #ff4800;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

label[for="your-type-1"] {
  padding-left: 0px;
  display: flex;
  align-items: center;

  @media all and (max-width: 768px) {
    display: flex;
    margin-left: 16px;
    flex: 1;
  }
}

label[for="your-type-2"] {
  padding-left: 0px;
  display: flex;
  align-items: center;

  @media all and (max-width: 768px) {
    display: flex;
    margin-left: 16px;
    flex: 1;
  }
}

.radio-btn .form-control {
  box-shadow: unset;

  @media all and (max-width: 768px) {
    flex: 1;
    padding: 4px;
    max-width: 13px;
  }
}

.mwform-radio-field-text {
  @media all and (max-width: 768px) {
    width: 80%;
  }
}

span.mwform-radio-field.horizontal-item {
  display: contents;
}

.flex-radio {
  display: flex;
  gap: 16px;

  @media all and (max-width: 768px) {
    display: flex !important;
    align-items: center;
  }
}
