:root {
  --primary: #2f509f;
  --sub-color: #e60012;
  --header-height: 87px;
  --header-height-sp: 68px;
  --text-main: #333;
  --bg-default: #f5f7fa;
  --bg-subtle: #e4ecf7;
  --bg-grey: #e0e3e9;
  --border-color: #e6e6e6;
  --font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    sans-serif;
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-60: 60px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-88: 88px;
  --space-96: 96px;
  --space-104: 104px;
  --space-120: 120px;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  letter-spacing: 0.1em;
  background-color: var(--bg-default);
  line-height: 1.7;
}

.inner {
  max-width: 1120px;
  width: 90%;
  margin-inline: auto;
}

/* ========================
  header
======================== */

.header {
  width: 100%;
  height: var(--header-height);
  background: #fff;
  color: var(--text-main);
}

.header__inner {
  margin: auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo-link {
  width: 160px;
  display: block;
}

.header__logo-img {
  width: 100%;
}

@media (max-width: 1024px) {
  .header {
    height: var(--header-height-sp);
  }

  .header__inner {
    padding: 0 20px;
  }

  .header__logo-link {
    width: 120px;
  }
}

/* ========================
  header
======================== */

/* ========================
  basic
======================== */

.form-page {
  padding: 96px 20px 110px;
}

.form-title {
  position: relative;
  margin: 0 0 60px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
}

.form-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #6cacef 100%);
  transform: translateX(-50%);
}

.form-step {
  max-width: 1120px;
  margin: 0 auto 120px;
  text-align: center;
}

.form-step__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.form-step__list li {
  line-height: 1.4;
  position: relative;
  flex: 1;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -28px;
  background: #fff;
  color: #888;
  font-size: 15px;
  font-weight: 700;
  clip-path: polygon(
    0 0,
    calc(100% - 28px) 0,
    100% 50%,
    calc(100% - 28px) 100%,
    0 100%,
    28px 50%
  );
}

.form-step__list li:first-child {
  margin-left: 0;
  clip-path: polygon(
    0 0,
    calc(100% - 28px) 0,
    100% 50%,
    calc(100% - 28px) 100%,
    0 100%
  );
}

.form-step__list li:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28px 50%);
}

.form-step__list li.is-active {
  background: linear-gradient(90deg, var(--primary) 0%, #4d8ee8 100%);
  color: #fff;
  z-index: 2;
}

.prepare-box {
  max-width: 1120px;
  margin: 0 auto 50px;
  padding: 48px 40px;
  background: var(--bg-subtle);
  border-radius: 12px;
  text-align: center;
}

.prepare-box h2 {
  margin: 0 0 38px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.prepare-box__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.prepare-box__circle {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 50%;
}

.prepare-box__circle img {
  max-width: 86px;
}

.prepare-box__item p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.prepare-box__link {
  margin: 48px auto 0;
  width: fit-content;
  min-width: 420px;
  height: 62px;

  border: 1px solid var(--sub-color);
  border-radius: 999px;

  background: #fff;
  color: var(--sub-color);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 700;
  text-decoration: none;

  transition: 0.3s;
}

.prepare-box__link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.prepare-box__link:hover {
  background: var(--sub-color);
  color: #fff;
}

.prepare-box__link:hover img {
  filter: brightness(0) invert(1);
}

.prepare-box__or {
  font-size: 15px;
  font-weight: 700;
}

.form-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 92px 70px;
  background: #fff;
  border-radius: 12px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

.form-field label span {
  color: var(--sub-color);
}

.form-field input,
.form-field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #d7dce4;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 38, 192, 0.1);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23333' d='M7 10 0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-field input::placeholder {
  color: #c5cbd3;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.birth-grid {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px;
  align-items: center;
  gap: 12px;
}

.birth-grid span,
.address-grid span {
  font-size: 13px;
}
.address-grid {
  display: grid;
  grid-template-columns: 170px 40px 1fr;
  align-items: center;
  gap: 12px;
}

.radio-group {
  display: flex;
  gap: 34px;
  align-items: center;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
}

.radio-group input {
  width: auto;
  height: auto;
}

.form-field input.radio-button {
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #d2d2d2;
  border-radius: 9999px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.radio-button:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  border-radius: 9999px;
  background-color: var(--primary);
}

.form-field--short {
  max-width: 300px;
}

.form-note {
  margin: 8px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

.form-error-summary {
  margin-bottom: 40px;
  padding: 16px 20px;
  border: 1px solid var(--sub-color);
  background: #fff5f5;
  border-radius: 8px;
  max-width: 1120px;
  margin: 0 auto 60px;
}

.form-error-summary__title {
  color: var(--sub-color);
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 4px;
}

.form-error-summary__text {
  color: #333;
  font-size: 14px;
  margin: 0;
}

.building-fields {
  display: none;
}

.form-submit {
  margin-top: 62px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.form-submit .form-submit-btn {
  background: linear-gradient(to right, var(--primary) 0%, #4e87d8 100%);
  color: #fff;
  padding: 12px 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 76px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  width: 380px;
  justify-content: center;
  box-sizing: border-box;
}

.form-submit .form-submit-btn:hover {
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.form-submit__back {
  width: 120px;
  height: 76px;
  background: #55575b;
  color: #fff;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.form-submit__back:hover {
  opacity: 0.8;
}

.arrow-animate {
  display: inline-block;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.form-submit .form-submit-btn:hover .arrow-animate {
  animation: fadeSlideOutIn 0.6s ease forwards;
}

.form-error {
  margin-top: 8px;
  color: var(--sub-color);
  font-size: 12px;
  line-height: 1.6;
}

.pc-only {
  display: block !important;
}

.sp-only {
  display: none !important;
}

@keyframes fadeSlideOutIn {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    opacity: 0;
    transform: translateX(8px);
  }
  60% {
    opacity: 0;
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
  .form-page {
    padding: 60px 15px 80px;
  }
  .form-title {
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-size: 24px;
  }
  .form-title::after {
    width: 58px;
  }
  .form-step {
    margin-bottom: 48px;
  }
  .form-step__list li {
    font-size: 13px;
  }
  .prepare-box {
    padding: 32px 18px;
    border-radius: 5px;
  }
  .prepare-box h2 {
    font-size: 16px;
    line-height: 1.8;
  }
  .prepare-box__items {
    flex-direction: column;
    gap: 22px;
  }
  .prepare-box__link {
    min-width: auto;
    width: 100%;
    height: 56px;

    font-size: 14px;
    padding: 0 16px;
  }
  .prepare-box__link img {
    width: 20px;
    height: 20px;
  }
  .form-card {
    padding: 34px 18px;
    border-radius: 5px;
  }
  .form-grid,
  .birth-grid,
  .address-grid {
    grid-template-columns: 1fr;
  }
  .form-field--short {
    max-width: none;
  }
  .form-submit {
    flex-direction: column;
    gap: 14px;
  }
  .form-submit .form-submit-btn,
  .form-submit__back {
    width: 100%;
  }
  .form-submit__back {
    order: 2;
    height: 56px;
  }
  .form-submit .form-submit-btn {
    order: 1;
  }
  .form-submit .form-submit-btn span {
    margin-left: 40px;
  }
}

/* ========================
  basic
======================== */

/* ========================
  契約情報
======================== */

.contract-guide {
  max-width: 1120px;
  margin: 0 auto 60px;
  padding: 60px;
  background: #fff;
  border-radius: 12px;
}

.contract-guide__title {
  margin: 0 0 34px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.contract-guide__summary {
  position: relative;
  margin-bottom: 60px;
  padding: 40px 42px;
  background: var(--bg-subtle);
  border-radius: 6px;
}

.contract-guide__summary-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  font-size: 20px;
  font-weight: 700;
  white-space: normal;
  flex-wrap: wrap;
}

.contract-guide__summary-text span {
  width: 26px;
  height: 26px;
  min-width: 26px;
  flex: 0 0 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #2f509f;
  color: #fff;
  font-size: 14px;
}

.contract-guide__summary-text small {
  font-size: 11px;
}

.contract-guide__person {
  position: absolute;
  right: 1vw;
  bottom: 0;
  width: 120px;
}

.contract-guide__heading {
  position: relative;
  margin: 0 0 22px;
  padding-left: 14px;
  font-size: 20px;
  font-weight: 700;
}

.contract-guide__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 24px;
  background: var(--primary);
}

.contract-guide__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contract-guide-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--bg-default);
  border-radius: 8px;
}

.contract-guide-card__icon {
  margin: 0;
  display: grid;
  place-items: center;
  background: #dbe8ef;
  border-radius: 6px;
}

.contract-guide-card__txt {
  padding-right: 20px;
}

.contract-guide-card h4 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.contract-guide-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
}

.contract-guide-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 380px 1fr;
  border: 3px solid #2f509f;
  padding: 0;
  overflow: hidden;
}

.contract-guide-card:first-child h4 {
  font-size: 20px;
}

.contract-guide-card:first-child .contract-guide-card__icon {
  border-radius: 0;
}

.contract-guide-card:first-child > h4,
.contract-guide-card:first-child > p,
.contract-guide-card:first-child > a {
  grid-column: 2;
}

.contract-guide-card:first-child h4 {
  margin-top: 56px;
}

.contract-guide-card:first-child .contract-guide-card__icon {
  grid-row: 1 / 4;
}

@media screen and (max-width: 960px) {
  .contract-guide__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contract-guide-card,
  .contract-guide-card:first-child {
    display: block;
    border: none;
    padding: 0 20px 24px;
    overflow: hidden;
  }

  .contract-guide-card:not(:first-child) {
    padding: 24px 20px 24px;
  }

  .contract-guide-card:first-child {
    border: 2px solid #2f509f;
  }

  .contract-guide-card:not(:first-child) .contract-guide-card__icon {
    display: none;
  }

  .contract-guide-card:first-child .contract-guide-card__icon {
    margin: 0 -20px 20px;
    min-height: 190px;
    border-radius: 6px 6px 0 0;
  }

  .contract-guide-card h4,
  .contract-guide-card:first-child h4 {
    margin: 0 0 14px;
    font-size: 18px;
  }

  .contract-guide-card p {
    font-size: 15px;
  }
}

.contract-guide-card a {
  color: var(--sub-color);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sub-color);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.guide-link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.plan-box {
  margin-top: 34px;
}

.plan-box__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.plan-box__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 46px;
  background: var(--bg-subtle);
  border-radius: 5px;
}

.plan-box__inner-text {
  padding: 32px 0;
}

.plan-box__inner h3 {
  margin: 0 0 14px;
  color: #2f509f;
  font-size: 20px;
  font-weight: 700;
}

.plan-box__inner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.plan-box__inner img {
  width: 175px;
  flex-shrink: 0;
}

.form-step__list li:nth-child(2).is-active {
  z-index: 3;
}

.meter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.meter-modal.is-open {
  display: block;
}

.meter-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.meter-modal__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 120px auto 0;
  padding: 32px 48px 42px;
  background: var(--bg-default);
  border-radius: 8px;
}

.meter-modal__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.meter-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.meter-modal__image {
  text-align: center;
}

.meter-modal__image img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin: 0 auto;
}

body.is-modal-open {
  overflow: hidden;
}

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.company-modal.is-open {
  display: block;
}

.company-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.company-modal__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 80px);
  margin: 40px auto;
  padding: 32px 48px 42px;
  background: #fff;
  border-radius: 8px;
  overflow-y: auto;
}

.company-modal__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.company-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

.company-modal__body {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  border: 1px solid #d9d9d9;
  padding: 20px;
  vertical-align: middle;
}

.company-table th {
  background: #dfeafb;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.company-table td:first-child {
  width: auto;
  background: #f7f9fc;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}

.company-table td:last-child {
  text-align: center;
}

.company-table td a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

#mypageModal .company-table td a {
  font-size: 18px;
  text-decoration: underline;
}

.company-table td a small {
  font-size: 12px;
}

.company-table td p {
  margin-top: 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.company-table td p a {
  font-size: 13px;
  color: var(--sub-color);
  display: inline;
  font-weight: normal;
  text-decoration: underline;
}

.company-table__tel img {
  display: inline-block;
  width: 22px;
  flex-shrink: 0;
}

.power-company-other-box {
  margin-top: 24px;
}

.company-search {
  display: flex;
  gap: 12px;
}

.company-search button {
  width: 100px;
  border: none;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  font-size: 15px;
}

#search_result3 {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

#search_result3_list {
  max-height: 180px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #d7dce4;
  border-radius: 4px;
  background: #fff;
}

#search_result3_list li {
  border-bottom: 1px solid #edf0f4;
}

#search_result3_list li:last-child {
  border-bottom: none;
}

.search_result3_choice {
  display: block;
  padding: 12px 14px;
  color: #2f509f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.search_result3_choice:hover {
  background: #eef5ff;
}

.contract-kva-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contract-kva-input input {
  width: 120px;
}

.company-modal__subtitle {
  margin: 56px 0 28px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.mypage-modal-guide {
  padding: 34px 34px 28px;
  background: #e8f1fb;
  border-radius: 8px;
}

.mypage-modal-guide__lead {
  margin: 0 0 28px;
  color: #2f509f;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.mypage-modal-guide__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mypage-modal-guide__images img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.mypage-modal-guide__images p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.mypage-modal-note {
  margin: 18px 0 0;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .contract-guide__summary {
    padding: 32px 120px 32px 28px;
  }
  .contract-guide__summary-text {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .contract-guide {
    border-radius: 5px;
    padding: 34px 18px;
    margin-bottom: 30px;
  }

  .contract-guide__title {
    font-size: 18px;
  }

  .contract-guide__summary {
    padding: 28px 18px;
  }

  .contract-guide__summary-text {
    flex-direction: column;
    gap: 10px;
    white-space: normal;
    font-size: 16px;
  }

  .contract-guide__person {
    width: 82px;
    right: 0px;
  }

  .plan-box__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px 0;
  }

  .plan-box__inner-text {
    padding: 0;
  }

  .plan-box__inner img {
    width: 136px;
    align-self: center;
  }

  .meter-modal__content {
    margin: 80px auto 0;
    padding: 28px 18px 28px;
  }

  .meter-modal__title {
    font-size: 18px;
  }

  /* .meter-modal__image {
    overflow: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .meter-modal__image img {
    min-width: 640px;
  } */

  .meter-modal__close {
    top: 12px;
    right: 14px;
  }

  .company-table th,
  .company-table td {
    padding: 14px;
  }

  .company-table td:first-child {
    font-size: 12px;
  }

  .company-table__tel img {
    width: 18px;
  }

  .company-table td a {
    font-size: 18px;
    justify-content: start;
  }
  #mypageModal .company-table td a {
    font-size: 14px;
    text-align: left;
  }
  .company-table td p {
    text-align: left;
  }
  .company-modal__content {
    width: calc(100% - 24px);
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 28px 16px;
  }
  .company-modal__title {
    font-size: 18px;
  }
  .company-modal__close {
    top: 12px;
    right: 14px;
  }
  .company-search {
    flex-direction: column;
  }

  .company-search button {
    width: 100%;
    height: 48px;
  }

  .mypage-modal-guide {
    padding: 24px 16px;
  }

  .mypage-modal-guide__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .mypage-modal-guide__images {
    grid-template-columns: 1fr;
  }

  .company-modal__subtitle {
    font-size: 18px;
  }
}
/* ========================
  契約情報
======================== */

/* ========================
  規約同意
======================== */

.agree-box {
  background: #fff;
  border-radius: 8px;
  padding: 60px;
  max-width: 1120px;
  margin: 0 auto;
}

.agree-box__title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 42px;
}

.agree-box__inner {
  background: var(--bg-subtle);
  border-radius: 6px;
  padding: 48px 42px;
}

.agree-documents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.agree-document {
  min-width: 0;
}

.agree-document__link {
  background: #fff;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.agree-document__link:hover {
  opacity: 0.8;
}

.agree-document__badge {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 8px;
  line-height: 1;
}

.agree-document__badge--web {
  background: var(--primary);
}

.agree-check {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

form#mailformpro label.agree-check {
  white-space: inherit;
  margin: 8px 3px 3px;
}

.agree-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.agree-notes {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid #cdd7e8;
}

.agree-notes p {
  font-size: 14px;
  line-height: 2;
  color: #4b5563;
}

.agree-notes p + p {
  margin-top: 18px;
}

.mfp-hidden-field {
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media screen and (max-width: 767px) {
  .agree-box {
    padding: 40px 20px;
  }

  .agree-box__title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .agree-box__inner {
    padding: 28px 20px;
  }

  .agree-documents {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .agree-document__link {
    height: auto;
    min-height: 64px;
    padding: 16px;
    font-size: 14px;
  }

  .agree-check {
    font-size: 13px;
    line-height: 1.6;
    align-items: flex-start;
  }

  .agree-notes {
    margin-top: 32px;
    padding-top: 32px;
  }

  .agree-notes p {
    font-size: 12px;
    line-height: 1.9;
  }
}

/* ========================
  規約同意
======================== */

/* ========================
  complete
======================== */

.complete-main {
  background: var(--bg-light);
  padding: 92px 20px 84px;
}

.complete-section {
  max-width: 960px;
  margin: 0 auto;
}

.complete-card {
  margin-top: 44px;
  padding: 56px 52px 48px;
  background: #fff;
  border-radius: 12px;
}

.complete-card__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 34px;
}

.complete-card__title {
  margin: 0 0 28px;
  color: var(--primary);
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.complete-card__text {
  font-size: 15px;
  line-height: 1.9;
}

.complete-card__text p {
  margin: 0;
}

.complete-card__notice {
  color: #e60012;
  font-weight: 700;
}

.complete-sms-box {
  position: relative;
  margin: 28px 0;
  padding: 26px 240px 26px 28px;
  background: #e8f1fb;
  border-radius: 6px;
  overflow: visible;
}

.complete-sms-box__text {
  position: relative;
  z-index: 1;
}

.complete-sms-box img {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 158px;
  max-width: 32%;
}

.complete-sms-box h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
}

.complete-sms-box ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
  list-style-type: disc;
}

.complete-card__note {
  font-size: 14px;
  line-height: 1.8;
}

.complete-card__note p {
  margin: 0;
}

@media (max-width: 767px) {
  .complete-main {
    padding: 56px 16px 64px;
  }

  .complete-card {
    margin-top: 32px;
    padding: 40px 20px;
  }

  .complete-card__title {
    font-size: 20px;
  }

  .complete-sms-box {
    padding: 22px 18px;
  }

  .complete-sms-box ul li:first-child {
    margin-bottom: 10px;
  }

  .complete-sms-box img {
    position: static;
    transform: none;
    display: block;
    margin: 20px auto 0;
    width: 140px;
    max-width: 100%;
  }
}
/* ========================
  complete
======================== */

/* ========================
  footer
======================== */

.footer {
  background-color: #292e37;
  color: #fff;
  padding: var(--space-80) 0 var(--space-60);
  font-family: var(--font-noto);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  text-align: center;
}

.footer__link {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer_border {
  border: solid 1px #3d424c;
  width: 100%;
}

.footer__logo img {
  height: 42px;
  width: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  justify-content: center;
  font-size: 13px;
  color: #fff;
}

.footer__nav li {
  position: relative;
  list-style: none;
}

.footer__nav li::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: #555;
}

.footer__nav li:last-child::after {
  display: none;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__copyright {
  font-size: 13px;
  color: #888;
}

@media screen and (max-width: 768px) {
  .footer__inner {
    align-items: center;
  }

  .footer__nav {
    flex-direction: column;
  }

  .footer__link {
    flex-direction: column;
    gap: var(--space-24);
  }

  .footer__nav li::after {
    content: none;
  }
}
/* ========================
  footer
======================== */
