/*--------------------------------------------------------------
# form　Section　共通
--------------------------------------------------------------*/
.form-top {
  background-image: url(../img/info/top.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  padding-bottom: 0px;
}

.form {
  max-width: 992px;
  margin: 0 auto;
}

.form a {
  color: #0d6efd;
  text-decoration: none;
}

.form a:hover {
  color: #ff0080;
  text-decoration: underline;
}

.form a.btn {
  color: #fff;
}

.form a.btn:hover {
  color: #fff;
}

.form .title-block {
  padding: 5px 10px;
  margin: 0 0 10px;
  border-left: 5px solid #061b66;
}

.form .form-contents {
  scroll-margin-top: 100px;
  border: 1px solid color-mix(in srgb, #111111, transparent 92%);
  border-radius: 20px;
  padding: 30px;
}

.form .form-contents h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 26px;
}

.form .form-contents ol {
  font-size: 15px;
  padding-left: 1.6rem;
}

.form .form-contents li {
  margin-bottom: 1px;
  line-height: 24px;
}

.form .form-contents ol ol {
  margin-top: 1px;
  list-style-type: lower-alpha;
}

.form .form-contents ol ol ol {
  margin-top: 5px;
  list-style-type: decimal;
}

.contact-renewal {
  background: #f6f8fb;
  padding: 80px 0
}

.contact-renewal .contact-intro {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center
}

.contact-renewal .eyebrow {
  display: inline-block;
  color: #0ea5e9;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 10px
}

.contact-renewal .contact-intro h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px
}

.contact-renewal .contact-intro p {
  color: #64748b;
  line-height: 1.8;
  margin: 0
}

.contact-renewal .contact-layout {
  max-width: 1100px;
  margin: 0 auto
}

.contact-renewal .contact-guide {
  background: #0ea5e9;
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  height: 100%
}

.contact-renewal .contact-guide h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px
}

.contact-renewal .contact-guide p {
  color: rgba(255, 255, 255, .9);
  line-height: 1.8
}

.contact-renewal .guide-item {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  align-items: flex-start
}

.contact-renewal .guide-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto
}

.contact-renewal .guide-icon i {
  font-size: 20px
}

.contact-renewal .guide-item strong {
  display: block;
  margin-bottom: 3px
}

.contact-renewal .guide-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6
}

.contact-renewal .contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 42px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .08)
}

.contact-renewal .form-label {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px
}

.contact-renewal .required,
.contact-renewal .optional {
  display: inline-block;
  font-size: 11px;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 7px;
  vertical-align: 2px
}

.contact-renewal .required {
  color: #fff;
  background: #ef4444
}

.contact-renewal .optional {
  color: #64748b;
  background: #eef2f7
}

.contact-renewal .form-control,
.contact-renewal .form-select {
  min-height: 52px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  padding: 12px 14px;
  color: #212529;
  background-color: #ffffff;
}

.contact-renewal textarea.form-control {
  min-height: 170px
}

.contact-renewal .form-control:focus,
.contact-renewal .form-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 .2rem rgba(14, 165, 233, .12)
}

.contact-renewal .privacy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px
}

.contact-renewal .privacy-box a {
  color: #0ea5e9;
  text-decoration: underline
}

.contact-renewal .submit-btn {
  border: 0;
  border-radius: 50px;
  background: #0ea5e9;
  color: #fff;
  min-width: 220px;
  padding: 15px 34px;
  font-weight: 700;
  transition: .3s
}

.contact-renewal .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, .28)
}

.contact-renewal .form-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7
}

@media(max-width:991px) {
  .contact-renewal {
    padding: 60px 0
  }

  .contact-renewal .contact-guide {
    margin-bottom: 24px
  }
}

@media(max-width:576px) {
  .contact-renewal .contact-form-card {
    padding: 26px 20px
  }

  .contact-renewal .contact-guide {
    padding: 28px 22px
  }

  .contact-renewal .contact-intro h2 {
    font-size: 26px
  }
}



/* trial-notice */


.trial-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #eff8ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 16px 18px;
  color: #334155;
}

.trial-notice>i {
  color: #0ea5e9;
  font-size: 20px;
  margin-top: 1px;
}

.trial-notice strong {
  display: block;
  color: #1e293b;
  margin-bottom: 4px;
}

.trial-notice p {
  font-size: 13px;
  line-height: 1.7;
}

.privacy-box a {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}



/* 個人情報の取り扱い：モーダル */
.modal_wrap {
  position: relative;
  z-index: 99999;
}

.modal_wrap>input[type="checkbox"] {
  display: none;
}

.modal_overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(15, 23, 42, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

#modal-privacy:checked~.modal_overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal_trigger {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.modal_content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 15px 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
  color: #334155;
  line-height: 24px;
}


.modal_title {
  margin: 0 48px 2px 0;
  padding-bottom: 16px;
  /*   border-bottom: 1px solid #e2e8f0; */
  color: #1e293b;
  font-size: 22px;
  font-weight: 700;
}

.modal_title i {
  margin-right: 9px;
  color: #0ea5e9;
}

.close_button {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 0;
  cursor: pointer;
}

.close_button::before {
  content: "×";
  font-size: 28px;
  line-height: 1;
}

.modal_content hr {
  margin: 5px 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
  opacity: 1;
}

.modal_content .ichi {
  max-width: 220px;
  height: auto;
  vertical-align: middle;
}

.modal-button {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-agree-label {
  cursor: pointer;
}

body:has(#modal-privacy:checked) {
  overflow: hidden;
}

@media (max-width: 576px) {
  .modal_overlay {
    padding: 14px;
  }

  .modal_content {
    max-height: 88vh;
    padding: 30px 22px;
    border-radius: 14px;
    font-size: 14px;
  }

  .modal_title {
    font-size: 19px;
  }
}

/*--------------------------------------------------------------
# Placeholder visibility fix
--------------------------------------------------------------*/
.contact-renewal .form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.contact-renewal .form-control::-webkit-input-placeholder {
  color: #94a3b8;
  opacity: 1;
}

.contact-renewal .form-control::-moz-placeholder {
  color: #94a3b8;
  opacity: 1;
}

.contact-renewal .form-control:-ms-input-placeholder {
  color: #94a3b8;
  opacity: 1;
}