/* ===============================
contact
================================ */
#contact {
}

/* ===============================
contact : hero
================================ */
#contact .contact-hero {
 position: relative;
 padding: 120px 0 80px;
 overflow: hidden;
 background: #0a0404;
}

#contact .contact-hero__bg {
 position: absolute;
 inset: 0;
 background:
  linear-gradient(135deg, rgba(230, 0, 18, 0.12) 0%, transparent 60%),
  repeating-linear-gradient(
   45deg,
   transparent,
   transparent 40px,
   rgba(255, 255, 255, 0.015) 40px,
   rgba(255, 255, 255, 0.015) 41px
  );
 z-index: 0;
}

#contact .contact-hero__bg::after {
 content: "";
 position: absolute;
 right: -100px;
 top: -100px;
 width: 600px;
 height: 600px;
 border-radius: 50%;
 background: radial-gradient(
  circle,
  rgba(230, 0, 18, 0.08) 0%,
  transparent 70%
 );
}

#contact .contact-hero__inner {
 position: relative;
 z-index: 1;
}

#contact .contact-hero__en {
 font-size: 13px;
 font-weight: 700;
 letter-spacing: 0.4em;
 color: #e60012;
 margin-bottom: 16px;
 text-transform: uppercase;
}

#contact .contact-hero__title {
 font-size: 48px;
 text-align: center;
 font-weight: 900;
 color: #fff;
 letter-spacing: 0.05em;
 margin-bottom: 24px;
 line-height: 1.2;
}

#contact .contact-hero__lead {
 font-size: 16px;
 color: #fff;
 line-height: 1.9;
 text-align: center;
}

@media screen and (min-width: 768px) {
 #contact .contact-hero__title {
  font-size: 64px;
 }
 #contact .contact-hero__lead {
  font-size: 18px;
 }
}

/* ===============================
contact : form section
================================ */
#contact .contact-form-section {
 padding: 60px 0 60px;
 background: #f2f4f6;
}

/* ===============================
contact_form : wrapper
================================ */
#contact .contact_form {
 background: #fff;
 padding: 60px 50px 70px;
 box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
}

@media screen and (max-width: 767px) {
 #contact .contact_form {
  padding: 40px 24px 50px;
 }
}

/* ===============================
contact_form : dl rows
================================ */
#contact .contact_form dl {
 display: grid;
 grid-template-columns: 200px 1fr;
 align-items: start;
 gap: 0;
 border-bottom: 1px solid #ebebeb;
}

#contact .contact_form dl:first-child {
 border-top: 1px solid #ebebeb;
}

#contact .contact_form dt {
 padding: 24px 20px 24px 0;
 font-size: 16px;
 font-weight: 700;
 color: #0a1a2a;
 letter-spacing: 0.04em;
 display: flex;
 align-items: center;
 gap: 8px;
 line-height: 1.4;
}

#contact .contact_form dd {
 padding: 18px 0 18px 24px;
 border-left: 1px solid #ebebeb;
}

/* ===============================
contact_form : required mark
================================ */
#contact .contact_form .required-mark {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: #e60012;
 font-size: 15px;
 font-weight: 700;
 flex-shrink: 0;
 border-radius: 2px;
}

/* ===============================
contact_form : inputs
================================ */
#contact .contact_form input[type="text"],
#contact .contact_form input[type="tel"],
#contact .contact_form input[type="email"],
#contact .contact_form select,
#contact .contact_form textarea {
 width: 100%;
 padding: 12px 16px;
 font-size: 15px;
 font-family: inherit;
 color: #333;
 background: #fafafa;
 border: 1px solid #e0e0e0;
 border-radius: 2px;
 outline: none;
 transition:
  border-color 0.25s ease,
  background 0.25s ease,
  box-shadow 0.25s ease;
 -webkit-appearance: none;
 appearance: none;
}

#contact .contact_form input[type="text"]:focus,
#contact .contact_form input[type="tel"]:focus,
#contact .contact_form input[type="email"]:focus,
#contact .contact_form select:focus,
#contact .contact_form textarea:focus {
 border-color: #e60012;
 background: #fff;
 box-shadow: 0 0 0 3px rgba(0, 74, 159, 0.08);
}

#contact .contact_form input::placeholder,
#contact .contact_form textarea::placeholder {
 color: #bbb;
}

/* ===============================
contact_form : dd variants
================================ */
#contact .contact_form .dd01 input,
#contact .contact_form .dd01 select {
 max-width: 400px;
}

#contact .contact_form .dd03 {
 display: flex;
 align-items: center;
 gap: 12px;
 flex-wrap: wrap;
 padding: 18px 0 18px 24px;
 border-left: 1px solid #ebebeb;
}

#contact .contact_form .dd03 input {
 max-width: 180px;
}

#contact .contact_form .note {
 font-size: 12px;
 color: #888;
 white-space: nowrap;
}

#contact .contact_form .dd04 select {
 max-width: 320px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
 background-repeat: no-repeat;
 background-position: right 14px center;
 padding-right: 40px;
}

#contact .contact_form .dd02 textarea {
 min-height: 160px;
 resize: vertical;
 line-height: 1.7;
}

/* ===============================
contact_form : privacy text dd
================================ */
#contact .contact_form dd.text {
 padding: 20px 0 20px 24px;
 font-size: 13px;
 color: #555;
 line-height: 1.8;
 border-left: 1px solid #ebebeb;
}

#contact .contact_form dd.text a {
 color: #e60012;
 text-decoration: underline;
 text-underline-offset: 2px;
 transition: color 0.2s ease;
}

#contact .contact_form dd.text a:hover {
 color: #e60012;
}

/* ===============================
contact_form : submit area
================================ */
#contact .contact_check {
 margin-top: 50px;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 24px;
}

#contact .contact_check .btn_list {
 width: 100%;
 max-width: 440px;
}

#contact .contact_check .btn_list input[type="submit"],
#contact .contact_check .btn_list button[type="submit"] {
 width: 100%;
 padding: 20px 0;
 text-align: center;
 background: #e60012;
 color: #fff;
 font-size: 16px;
 font-weight: 700;
 letter-spacing: 0.12em;
 border: none;
 cursor: pointer;
 transition:
  background 0.3s ease,
  transform 0.2s ease,
  box-shadow 0.3s ease;
 border-radius: 2px;
 font-family: inherit;
}

#contact .contact_check .btn_list input[type="submit"]:hover,
#contact .contact_check .btn_list button[type="submit"]:hover {
 background: #be0010;
 transform: translateY(-2px);
 box-shadow: 0 8px 24px rgba(230, 0, 18, 0.25);
}

/* Contact Form 7 submit button */
#contact .contact_check .wpcf7-submit {
 width: 100%;
 padding: 20px 0;
 background: #e60012;
 color: #fff;
 font-size: 16px;
 font-weight: 700;
 letter-spacing: 0.12em;
 border: none;
 cursor: pointer;
 transition:
  background 0.3s ease,
  transform 0.2s ease,
  box-shadow 0.3s ease;
 border-radius: 2px;
 font-family: inherit;
 -webkit-appearance: none;
 appearance: none;
}

#contact .contact_check .wpcf7-submit:hover {
 background: #be0010;
 transform: translateY(-2px);
 box-shadow: 0 8px 24px rgba(230, 0, 18, 0.25);
}

/* ===============================
contact_form : recaptcha notice
================================ */
#contact .form_notice {
 text-align: center;
 font-size: 12px;
 color: #999;
 line-height: 1.8;
}

#contact .form_notice a {
 color: #666;
 text-decoration: underline;
 text-underline-offset: 2px;
 transition: color 0.2s ease;
}

#contact .form_notice a:hover {
 color: #e60012;
}

/* ===============================
contact_form : CF7 validation
================================ */
#contact .wpcf7-not-valid-tip {
 display: block;
 margin-top: 6px;
 font-size: 12px;
 color: #e60012;
}

#contact .wpcf7-not-valid {
 border-color: #e60012 !important;
 background: #fff5f5 !important;
}

#contact .wpcf7-response-output {
 margin-top: 24px;
 padding: 16px 20px;
 border-left: 4px solid #e60012;
 background: #f0f4fa;
 font-size: 14px;
 color: #0a1a2a;
 border-radius: 0 2px 2px 0;
}

#contact .wpcf7-mail-sent-ok {
 border-color: #00a050;
 background: #f0faf5;
 color: #006030;
}

#contact .wpcf7-mail-sent-ng,
#contact .wpcf7-spam-blocked {
 border-color: #e60012;
 background: #fff5f5;
 color: #be0010;
}

/* ===============================
SP
================================ */
@media screen and (max-width: 767px) {
 #contact .contact-hero {
  padding: 130px 0 60px;
 }

 #contact .contact-hero__title {
  font-size: 36px;
 }

 #contact .contact-form-section {
  padding: 50px 0 80px;
 }

 #contact .contact_form dl {
  grid-template-columns: 1fr;
 }

 #contact .contact_form dt {
  padding: 18px 0 8px;
  border-left: none;
 }

 #contact .contact_form dd,
 #contact .contact_form .dd03,
 #contact .contact_form dd.text {
  padding: 0 0 18px;
  border-left: none;
 }

 #contact .contact_form .dd01 input,
 #contact .contact_form .dd01 select,
 #contact .contact_form .dd04 select {
  max-width: 100%;
 }

 #contact .contact_form .dd03 {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
 }

 #contact .contact_form .dd03 input {
  max-width: 100%;
 }
}
