body {
  letter-spacing: 0;
}

article ul:not([class]) {
  padding-left: 1.5em;
}

ul.note {
  padding-left: 1.3em;
  font-size: 2rem;
  list-style: none;
}

ul.note li {
  position: relative;
}

ul.note li::before {
  position: absolute;
  left: -1.3em;
  content: "※";
}

dl {
  font-size: 2.4rem;
}

dl .font-large {
  font-size: 3.2rem;
}

/* dl .font-small {
  font-size: 2rem;
} */

dl dt {
  font-weight: 500;
}

dl > dt {
  margin-bottom: 0.5em;
}

dl div {
  display: flex;
  margin-bottom: 1em;
}

dl div dt {
  /* width: 10em; */
  flex: 0 0 auto;
}

dl.option dt {
  min-width: 8em;
}

table {
  width: 100%;
  margin-bottom: 40px;
  border-collapse: collapse;
}

table th,
table td {
  padding: 0.3em;
  font-size: 2rem;
  text-align: center;
  border: 1px solid var(--primary-color);
}

table th {
  font-weight: normal;
}

hr {
  width: 97%;
  height: 2px;
  margin: 45px auto;
  background: repeating-linear-gradient(to right, var(--secondary-color) 0, var(--secondary-color) 4px, transparent 4px, transparent 8px);
  border: none;
  transform: translateX(-5%);
}

article {
  width: 93.3333%;
  max-width: 1100px;
  margin: 170px auto 0;
}

.mb-1em {
  margin-bottom: 1em;
}

.mb-2em {
  margin-bottom: 2em;
}

.main-title {
  margin-bottom: 40px;
}

.main-title h1 {
  margin-bottom: 0;
  font-size: 4.2rem;
  line-height: 1.538;
  color: var(--primary-color);
  text-align: center;
  letter-spacing: 0.04em;
}

.main-title ul {
  width: fit-content;
  margin: 0 auto;
}

.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 3%;
  justify-content: center;
  width: 95%;
  margin: 0 auto 50px;
  list-style: none;
}

.nav-buttons li {
  /* width: calc(25% - 20px); */
  min-width: 21%;
}

.nav-buttons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 2em;
  font-size: 2rem;
  color: white;
  letter-spacing: 0.05em;
  background-color: var(--primary-color);
  border-radius: 100px;
}

.box-border {
  padding: 28px 10px;
  margin-bottom: 40px;
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 15px;
}

.section .box-border p {
  margin-bottom: 0;
  font-size: 2.4rem;
}

.section-note .box-border {
  width: 100%;
  padding: 20px 30px;
  text-align: left;
  border: none;
}

.requirements {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2em;
}

.requirements h2 {
  flex: 0 0 auto;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.requirements a {
  font-size: 2.2rem;
}

.section {
  position: relative;
  padding: 130px 10% 60px 12%;
  margin: 0 auto 75px;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 46px;
}

.section-note {
  padding: 20px 12%;
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.section-header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
  color: white;
  background-color: var(--primary-color);
  border-radius: 44px 44px 0 0;
}

.section-header h2 {
  padding: 0;
  margin: 0;
  font-size: 2.8rem;
  color: #fff;
  letter-spacing: 0.075em;
}

.section-note h2 {
  margin-bottom: 1.2em;
  font-size: 3.2rem;
  color: #fff;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.section h3 {
  margin: 1em 0 0.4em;
  font-size: 3.2rem;
  font-weight: 500;
  color: #000;
  text-align: left;
}

.section h3:first-of-type {
  margin-top: 0;
}

.section#anchor-001 h3:nth-of-type(1),
.section#anchor-001 h3:nth-of-type(2) {
  font-size: 2.4rem;
}

.section#anchor-005 h3 {
  font-size: 2.4rem;
}

.section-note h3 {
  padding-left: 1.2em;
  margin-bottom: 0.5em;
  font-size: 3rem;
  color: #fff;
  text-indent: -1.2em;
}

.section h4 {
  margin-bottom: 0.2em;
  font-size: 2.4rem;
  font-weight: 500;
}

.section p {
  margin-bottom: 1em;
  font-size: 2rem;
}

.section p.font-large {
  font-size: 2.4rem;
}

.section p.font-xlarge {
  font-size: 3rem;
}

.listlayer-01 {
  padding-left: 2.5em;
  font-weight: 500;
  text-indent: -3em;
  list-style: none;
}

.listlayer-01 > li {
  margin-bottom: 1em;
}

.listlayer-01 p {
  margin: 0.5em 0 0;
}

.listlayer-01 p,
.listlayer-01 ul.note {
  font-weight: normal;
  text-indent: 0;
}

.listlayer-02 {
  padding-left: 1em;
  margin-top: 0.5em;
  font-size: 2rem;
  list-style: disc;
}

.listlayer-02 > li {
  margin-bottom: 1.5em;
}

.listlayer-025 {
  padding-left: 1.5em;
  font-size: 2rem;
  font-weight: normal;
  text-indent: 0;
  list-style: none;
  counter-reset: custom-counter;
}

.listlayer-025 > li {
  position: relative;
  margin-bottom: 0.5em;
}

.listlayer-025 > li::before {
  position: absolute;
  left: -1.5em;
  content: "⑴";
  counter-increment: custom-counter;
}

.listlayer-025 > li:nth-child(2)::before {
  content: "⑵";
}

.listlayer-025 > li:nth-child(3)::before {
  content: "⑶";
}

.listlayer-025.liststyle-none > li::before {
  content: "";
}

.listlayer-03 {
  padding-left: 1.3em;
  font-weight: normal;
  text-indent: 0;
  list-style-type: decimal;
}

.sticky-buttons {
  position: fixed;
  right: 4%;
  bottom: 50px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-buttons a {
  min-width: 250px;
}

.sticky-buttons a:first-child::before {
  rotate: -45deg;
  translate: 0 -45%;
}

@media screen and (max-width: 1180px) {
  .section {
    padding-right: 6%;
    padding-left: 6%;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.1rem;
  }

  article {
    margin-top: 74px;
  }

  ul.note {
    font-size: 1.1rem;
    list-style: none;
  }

  dl {
    font-size: 1.2rem;
  }

  dl .font-large {
    font-size: 1.35rem;
  }

  dl .font-small {
    font-size: 1.1rem;
  }

  table {
    margin-bottom: 10px;
  }

  table th,
  table td {
    font-size: 1rem;
  }

  hr {
    width: 100%;
    margin: 25px auto;
    transform: none;
  }

  .main-title {
    margin-bottom: 30px;
  }

  .main-title h1 {
    font-size: 1.95rem;
  }

  .main-title p {
    font-size: 1.3rem;
  }

  .nav-buttons {
    flex-wrap: wrap;
    gap: 15px 3%;
    width: 100%;
    padding: 0;
    margin: 0 auto 20px;
  }

  .nav-buttons li {
    /* width: 48%; */
    min-width: 48%;
  }

  .nav-buttons li a {
    min-height: 30px;
    padding: 0;
    font-size: 1.1rem;
    letter-spacing: 0;
  }

  .box-border {
    padding: 12px 7.5%;
    margin-bottom: 30px;
    border-radius: 10px;
  }

  .section .box-border {
    width: 100%;
    padding: 12px 5px;
    margin-bottom: 20px;
  }

  .section .box-border p {
    font-size: 1.2rem;
  }

  .section-note .box-border {
    padding: 12px;
  }

  .section-note .box-border dl {
    font-size: 1.1rem;
  }

  .requirements {
    flex-direction: column;
    margin-bottom: 2em;
  }

  .requirements h2 {
    font-size: 1.5rem;
  }

  .requirements a {
    font-size: 1.3rem;
  }

  .section {
    padding: 60px 5.3% 20px;
    margin-bottom: 30px;
    border-radius: 24px;
  }

  .section-note {
    padding: 20px 5.3% 10px;
  }

  .section-header {
    min-height: 42px;
    margin-bottom: 25px;
    border-radius: 22px 22px 0 0;
  }

  .section-header h2,
  .section-note h2 {
    font-size: 1.7rem;
  }

  .section h3 {
    font-size: 1.5rem;
  }

  .section#anchor-001 h3:nth-of-type(1),
  .section#anchor-001 h3:nth-of-type(2) {
    font-size: 1.2rem;
  }

  .section#anchor-005 h3 {
    font-size: 1.3rem;
  }

  .section h4 {
    font-size: 1.3rem;
  }

  .section p {
    font-size: 1.1rem;
  }

  .section p.font-large {
    font-size: 1.1rem;
  }

  .section p.font-xlarge {
    font-size: 1.4rem;
  }

  .listlayer-01 {
    padding-left: 0;
    text-indent: 0;
  }

  .listlayer-02 {
    padding-left: 2em;
    font-size: 1.1rem;
    text-indent: 0;
  }

  .listlayer-025 {
    padding-left: 0.5em;
    font-size: 1.1rem;
  }

  .sticky-buttons {
    position: sticky;
    bottom: 40px;
    width: fit-content;
    margin: 0 0 0 auto;
  }

  .sticky-buttons a {
    min-width: 134px;
  }
}
