* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #0b1a3c;
  background-color: #fff;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Header */
.header {
  background-color: #fff;
  height: 90px;
  width: 100%;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 100px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  display: block;
}

.logo-img {
  width: 165px;
  height: 28px;
}

/* Main */
.main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 1380px;
  width: 100%;
  padding: 0 0 80px;
}

@media screen and (max-width: 768px) {
  .container {
    padding-bottom: 40px;
  }
}
/* Title Section */
.title-section {
  max-width: 768px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .title-section {
    padding-top: 40px;
  }
}
.page-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 2.4px;
}

@media screen and (max-width: 768px) {
  .page-title br {
    display: block;
  }
}
.page-title-err {
  color: #CBCDD0;
  text-align: center;
  font-family: "DM Serif Display", serif;
  font-size: 120px;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.page-description {
  margin-top: 24px;
  font-size: 1.4rem;
  letter-spacing: 0.8px;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .page-description {
    text-align: left;
    font-size: 14px;
  }
  .page-description--center {
    text-align: center;
  }
}
/* Form */
.form {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .form {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.form-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding-top: 1.6rem;
}

/* Form Section */
.form-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}
.form-section:last-child {
  padding-bottom: 0;
}

.form-section--border {
  border-bottom: 1px solid #ccc;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section-wrapper > .section-header {
  margin-bottom: 20px;
}

.form-section-wrapper--confirm {
  padding: 24px 0;
}

@media screen and (max-width: 768px) {
  .form-section-wrapper--confirm {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 120%;
}

.section-description {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.8px;
}

@media screen and (max-width: 768px) {
  .section-description {
    font-size: 14px;
  }
}
/* Form Row */
.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .form-row.form-row--sp {
    flex-direction: row;
  }
}
.form-row--half {
  max-width: 100%;
  width: 348px;
}

/* Form Group */
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.label-text {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fcce47;
  border-radius: 0.4rem;
  padding: 0.2rem 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08rem;
  line-height: 150%;
}

/* Input */
.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input {
  width: 100%;
  max-height: 4.6rem;
  background-color: #fff;
  border: 0.1rem solid #d8d8d8;
  border-radius: 0.5rem;
  padding: 1.8rem 1.6rem 1.8rem;
  font-size: 1.6rem;
  color: #757575;
  transition: border-color 0.2s ease, color 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .form-input {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 60px;
  }
}
input[type=date]::-webkit-date-and-time-value {
  text-align: left !important;
  margin-left: 0;
}

.form-input::-moz-placeholder {
  color: #757575;
}

.form-input::placeholder {
  color: #757575;
}

/* Focus state - yellow border */
.form-input:focus {
  border-color: #fcce47;
  outline: none;
}

/* Complete state - navy border, black text */
.form-input:not(:-moz-placeholder) {
  border-color: #0b1a3c;
  color: #000;
}
.form-input:not(:placeholder-shown) {
  border-color: #0b1a3c;
  color: #000;
}

/* Keep focus state even when has value */
.form-input:focus:not(:-moz-placeholder) {
  border-color: #fcce47;
}
.form-input:focus:not(:placeholder-shown) {
  border-color: #fcce47;
}

.input-hint {
  font-size: 12px;
  letter-spacing: 0.8px;
}

/* Agreement Section */
.agreement-section {
  width: 100%;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid #767676;
  border-radius: 2px;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;
}

.checkbox-input:checked + .checkbox-custom::after {
  width: 20px;
  height: 20px;
  content: "";
  background-image: url("../images/check-arrow.svg");
  position: absolute;
  left: -1px;
  top: -1px;
}

.checkbox-text {
  font-size: 1.4rem;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.8px;
  line-height: 150%;
}

.link {
  font-weight: 700;
  text-decoration: none;
}

.link:link,
.link:visited {
  color: #fcce47;
  text-decoration: underline;
}

/* Submit Section */
.submit-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.submit-button {
  width: 295px;
  height: 60px;
  background-color: #b82430;
  border-radius: 100px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-button:hover {
  opacity: 0.9;
}

.submit-button:active {
  opacity: 0.8;
}

/* reCAPTCHA Notice */
.recaptcha-notice {
  width: 100%;
}

.recaptcha-notice p {
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.8px;
  line-height: 150%;
}

/* Footer */
.footer {
  background-color: #0b1a3c;
  height: 150px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-divider {
  width: 1px;
  height: 20px;
  background-color: #d0d0d0;
  transform: rotate(0deg);
}

.copyright {
  font-size: 12px;
  font-family: "Noto Sans", sans-serif;
  color: #fff;
}

/* ===========================================
   Validation Styles
   =========================================== */
.error-message {
  color: #e53935;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.form-input.is-error,
.file-input.is-error + .file-upload-icon + .file-upload-text {
  border-color: #e53935;
}

.form-input.is-error {
  border-color: #e53935;
}

.form-input.is-error:focus {
  border-color: #e53935;
}

.file-upload:has(.is-error) {
  border-color: #e53935;
}

.file-upload-container .error-message {
  margin-top: 8px;
}

.checkbox-input.is-error + .checkbox-custom {
  border-color: #e53935;
}

.agreement-section .error-message {
  margin-top: 12px;
  text-align: left;
}

.form-head-label {
  position: relative;
  margin-bottom: 0.5rem;
}
.form-head-label p {
  max-width: 24rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.3rem;
  background: #FFF;
  border: 0.1rem solid #B82430;
  border-radius: 3rem;
  line-height: 200%;
  color: #B82430;
  font-size: 1rem;
  position: relative;
}
.form-head-label p::before {
  margin: 0 auto;
  content: "";
  display: block;
  width: 1rem;
  height: 0.6rem;
  border-top: 0.6rem solid #B82430;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.form-head-label p::after {
  margin: 0 auto;
  content: "";
  display: block;
  width: 0.8rem;
  height: 0.5rem;
  border-top: 0.6rem solid #fff;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  right: 0;
}/*# sourceMappingURL=form.css.map */