.lower-content {
  padding: 64px 0 80px;
  background: #fff;
}

.lower-content__inner {
  width: 100%;
  max-width: 996px;
  margin: 0 auto;
}

.lower .cv {
  max-width: 100%;
}

.lower-title {
  margin-bottom: 64px;
  color: #333;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.lower-table {
  width: 100%;
  border-collapse: collapse;
  color: #333;
  font-size: 18px;
  line-height: 1.6;
}

.lower-table th,
.lower-table td {
  padding: 44px 0;
  border: 0;
  border-bottom: 1px solid #444;
  vertical-align: middle;
  line-height: 1.6;
}

.lower-table th {
  width: 32%;
  padding-right: 40px;
  padding-left: 60px;
  background: #fff;
  color: #333;
  font-weight: 700;
  text-align: left;
}

.privacy-image {
  display: block;
  width: 100%;
  height: auto;
}

.thanks-message {
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.thanks-message a {
  color: #333;
  text-decoration: underline;
}

.mailform-wrap {
  max-width: 100%;
  margin: 0 auto;
}

.mailform-wrap input,
.mailform-wrap select,
.mailform-wrap textarea {
  max-width: 100%;
}

.mailform-wrap textarea {
  min-height: 180px;
}

.footer {
  padding: 80px 20px;
  background: #222;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 32px;
  padding: 0;
}

.footer__links li + li {
  border-left: 1px solid #fff;
  padding-left: 24px;
}

.footer__links a {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
  .lower-table th {
    padding: 32px 24px;
  }

  .lower-table td {
    padding: 32px 0;
  }
}

@media screen and (max-width: 768px) {
  .lower-content {
    padding: 40px 0 48px;
  }

  .lower-content__inner {
    width: calc(100% - 32px);
  }

  .lower-title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .lower-table,
  .lower-table tbody,
  .lower-table tr,
  .lower-table th,
  .lower-table td {
    display: block;
    width: 100%;
  }

  .lower-table {
    font-size: 16px;
  }

  .lower-table tr {
    border-bottom: 1px solid #444;
  }

  .lower-table th {
    padding: 24px 0 10px;
    border: 0;
  }

  .lower-table td {
    padding: 0 0 24px;
    border: 0;
  }

  .thanks-message {
    font-size: 16px;
    text-align: left;
  }

  .footer__links {
    display: block;
    text-align: center;
  }

  .footer__links li + li {
    margin-top: 16px;
    padding-left: 0;
    border: 0;
  }

  .footer {
    padding: 40px 16px;
  }

  .footer__links a {
    font-size: 15px;
  }

  .footer__copy {
    font-size: 12px;
  }
}

.float_btn { display: none; }
@media screen and (max-width: 768px) {
  :root { --float-height: 24.746vw; scroll-padding-bottom: calc(var(--float-height) + 16px); }
  body { padding-bottom: var(--float-height); }
  .footer { padding-bottom: 8%; }
  .float_btn { display: block; position: fixed; left: 0; right: 0; bottom: 0; width: 100%; z-index: 999; }
  .float_btn-inner { display: flex; padding: 2%; }
  .float_btn-inner a, .float_btn-inner img { display: block; width: 100%; }
  a, button, input, select, textarea, summary { scroll-margin-bottom: calc(var(--float-height) + 16px); }
}

.cv { max-width: 100%; }
.float_btn.before-scroll { display: none; }
.footer__copy { color: #fff; text-align: center; }
#page_top { bottom: -80px; }
#page_top a { display: block; width: 100%; height: 100%; }
@media (min-width: 769px) {
  .header__inner, .about__inner { max-width: 100%; }
  .header__inner > div { min-width: 0; }
  .key__balloon { left: max(16px, calc(50% - 580px)); }
}
#page_top a::before {
  content: "";
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: solid #fff;
  border-width: 3px 3px 0 0;
  transform: translateY(3px) rotate(-45deg);
}
#page_top a:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.fee__item-price {
  container-type: inline-size;
  color: #222;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.fee__label { display: block; font-size: clamp(14px, 8cqi, 21px); }
.fee__amount {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 4px;
  color: #d40000;
  font-size: clamp(28px, 21cqi, 55px);
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}
.fee__unit { font-size: .38em; letter-spacing: 0; line-height: 1.15; }
.fee__tax { display: block; font-size: .72em; }


@media (min-width: 769px) and (max-width: 1260px) {
  .area__container { max-width: 100%; }
  .flow__ttl { transform: none; }
}
