@charset "UTF-8";

/*!
 * Contact Style
 * Author: SSTA
 * Date: 2026-06-16
 */

/* ==============================================
   1. Container Settings
   ============================================== */

.sub_page_header {
  background-color: #4a5f70; 
  background-image: radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, 0.08) 21%, rgba(255, 255, 255, 0.08) 34%, transparent 35%, transparent),
                    radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, 0.08) 21%, rgba(255, 255, 255, 0.08) 34%, transparent 35%, transparent);
  background-size: 50px 50px;
}

#thanks {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==============================================
   2. Mail Form Lead Text
   ============================================== */
/* --- PC Layout (1201px~) --- */
.form_lead {
  margin-bottom: 50px;
  text-align: center;
}

.lead_text {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  letter-spacing: 0.03em;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .form_lead {
    margin-bottom: 30px;
  }

  .lead_text {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 15px;
  }
}

/* ==============================================
   3. Mail Form Layout
   ============================================== */
/* --- PC Layout (1201px~) --- */
.mail_form {
  max-width: 850px;
  margin: 0 auto;
}

.mail_form dl {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.mail_form dt {
  position: relative;
  width: 250px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  display: block;
  line-height: 52px;
}

.mail_form dd {
  width: calc(100% - 250px);
  padding: 20px 0;
  font-size: 15px;
}

.mail_form dt label.required:after {
  content: "\5FC5\9808";
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 10px;
  background: #4a5f70;
  color: #fff;
  font-size: 11px;
  margin-left: 10px;
  vertical-align: middle;
  margin-top: -3px;
  line-height: 1;
}

.mail_form dd input,
.mail_form dd textarea {
  width: 100%;
  max-width: 600px;
  height: 52px;
  padding: 0 13px;
  border: none;
  background: #f7f7f7;
  letter-spacing: 0.04em;
  transition: 0.3s ease-in-out;
}

.mail_form dd input::placeholder {
  color: #ccc;
  letter-spacing: 0.04em;
}

.mail_form dd textarea {
  height: 180px;
  padding: 13px;
}

.mail_form dd input:focus,
.mail_form dd textarea:focus {
  outline: none;
  background-color: #f0f0f0;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .mail_form dl {
    flex-direction: column;
    padding: 15px 15px 17px;
    border-top: 1px solid #e6e6e6;
    margin: 0;
  }

  .mail_form dl:last-of-type {
    border-bottom: 1px solid #e6e6e6;
  }

  .mail_form dt {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 8px auto;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  .mail_form dd {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
  }

  .mail_form dt label.required:after {
    font-size: 10px;
    margin-left: 10px;
    margin-top: 0;
    padding: 3px 6px;
  }

  .mail_form dd input {
    width: 100%;
    max-width: 600px;
    height: 40px;
  }

  .mail_form dd textarea {
    width: 100%;
    max-width: 600px;
    height: 140px;
  }
}

/* ==============================================
   4. Privacy Agreement
   ============================================== */
/* --- PC Layout (1201px~) --- */
.privacy_agree {
  margin-top: 40px;
  text-align: center;
}

.privacy_note {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.privacy_note a {
  color: #4a5f70;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: 0.3s;
}

.privacy_note a:hover {
  color: #b89a5e;
}

.checkbox_wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.privacy_agree input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  height: 17px;
  width: 17px;
  margin: 0;
  border: 1px solid #4a5f70;
  cursor: pointer;
  border-radius: 2px;
  flex-shrink: 0;
}

.privacy_agree input[type=checkbox]:before {
  position: absolute;
  content: "";
  left: 3px;
  top: 7px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
  transition: .2s;
}

.privacy_agree input[type=checkbox]:after {
  position: absolute;
  content: "";
  right: 9px;
  bottom: 3px;
  width: 2px;
  height: 0;
  background: #fff;
  transform: rotate(37deg);
  transition: .2s;
  transition-delay: .2s;
}

.privacy_agree input[type=checkbox]:checked:before {
  left: 2px;
  top: 10px;
  width: 5.5px;
  height: 2px;
  background: #4a5f70;
}

.privacy_agree input[type=checkbox]:checked:after {
  right: 5px;
  bottom: 1px;
  width: 2px;
  height: 13px;
  background: #4a5f70;
}

.privacy_agree label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* ==============================================
   5. Submit Button
   ============================================== */
/* --- PC Layout (1201px~) --- */
.confirmation_button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

input[type="submit"].submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 52px;
  background-color: #b89a5e;
  border: 1px solid #b89a5e;
  border-radius: 100px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("../images/arrow_white.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px;
  padding-right: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease, background-position 0.3s ease;
}

input[type="submit"].submit:hover {
  background-color: #4a5f70;
  border-color: #4a5f70;
  background-position: right 16px center;
}

input[type="submit"].submit:disabled {
  background-color: #ddd !important;
  border-color: #ddd !important;
  cursor: default;
  opacity: 0.6;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  input[type="submit"].submit {
    width: 260px;
    height: 45px;
    font-size: 14px;
  }
}

/* ==============================================
   6. Thanks Page
   ============================================== */
/* --- PC Layout (1201px~) --- */
.form_note {
  margin-top: 30px;
  color: #888;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}

#thanks h2 {
  font-size: 24px;
  color: #4a5f70;
  margin-bottom: 23px;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  #thanks h2 {
    font-size: 20px;
    color: #4a5f70;
  }
}