.treatment-page {
  padding-bottom: 86px;
}

.treatment-hero {
  padding-top: 24px;
}

.treatment-breadcrumb {
  margin-top: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.treatment-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.treatment-title {
  margin: 24px 0 0;
  padding: 12px 0 14px;
  border-top: 2px solid #df8b4f;
  border-bottom: 2px solid #df8b4f;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}

.treatment-main-visual {
  width: calc(100% - 48px);
  margin: 42px auto 0;
  aspect-ratio: 4 / 3;
  background: #c9c9c9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.treatment-main-visual__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.treatment-main-visual__placeholder {
  width: 82px;
  height: 68px;
  border: 6px solid #8f8f8f;
  border-radius: 10px;
  position: relative;
}

.treatment-main-visual__placeholder::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  width: 14px;
  height: 14px;
  border: 6px solid #8f8f8f;
  border-radius: 999px;
}

.treatment-main-visual__placeholder::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 26px;
  border: 6px solid #8f8f8f;
  border-top: 0;
  border-left: 0;
  transform: skewX(-28deg);
}

.treatment-toc-frame {
  margin-inline: 16px;
}

.treatment-content {
  margin-top: 72px;
}

.treatment-toc-frame + .treatment-content {
  margin-top: 80px;
}

.treatment-content h2 {
  scroll-margin-top: 24px;
}

.treatment-content h2:not(:first-child) {
  margin-top: 40px;
}

.treatment-content h2,
.treatment-section-title {
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--fi-gold-line);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.treatment-content p,
.treatment-content ul,
.treatment-content ol {
  margin-top: 26px;
  font-size: 16px;
  line-height: 2.15;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.treatment-content p + p,
.treatment-content ul + p,
.treatment-content ol + p,
.treatment-content p + ul,
.treatment-content p + ol {
  margin-top: 1.1em;
}

.treatment-content ul,
.treatment-content ol {
  padding-left: 1.3em;
}

.treatment-content li + li {
  margin-top: 0.3em;
}

.treatment-empty {
  margin: 72px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}

.treatment-related {
  margin-top: 96px;
  padding-bottom: 124px;
}

.treatment-related-list {
  width: calc(100% - 58px);
  margin: 30px auto 0;
}

.treatment-related-link {
  min-height: 58px;
  border-radius: 6px;
  background: var(--fi-gold);
  color: var(--fi-text);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 24px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.treatment-related-link + .treatment-related-link {
  margin-top: 18px;
}

@media (max-width: 767px) {
  .treatment-page {
    background: #fff2ea;
  }

  .treatment-page .treatment-container {
    width: min(calc(100% - 20px), 760px);
  }

  .treatment-breadcrumb {
    margin-top: 40px;
    gap: 4px;
    color: #82654d;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .treatment-title {
    min-height: 44px;
    margin-top: 24px;
    padding: 0;
    border-top-color: #e38040;
    border-bottom-color: #e38040;
    color: #474747;
    display: flex;
    align-items: center;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.6px;
  }

  .treatment-main-visual {
    width: min(calc(100% - 32px), 323px);
    height: 250px;
    margin-top: 40px;
    aspect-ratio: auto;
    background: #d9d9d9;
  }

  .treatment-main-visual__placeholder {
    width: 64px;
    height: 54px;
    border-width: 4px;
    border-color: #8b8b8b;
    border-radius: 8px;
  }

  .treatment-main-visual__placeholder::before {
    top: 11px;
    left: 13px;
    width: 10px;
    height: 10px;
    border-width: 4px;
    border-color: #8b8b8b;
  }

  .treatment-main-visual__placeholder::after {
    left: 11px;
    right: 11px;
    bottom: 9px;
    height: 21px;
    border-width: 4px;
    border-color: #8b8b8b;
  }

  .treatment-content {
    margin-top: 20px;
  }

  .treatment-content h2 {
    scroll-margin-top: 82px;
  }

  .treatment-content h2:not(:first-child) {
    margin-top: 40px;
  }

  .treatment-content h2,
  .treatment-section-title {
    min-height: 40px;
    padding-bottom: 0;
    border-bottom: 1px solid #e6a921;
    color: #474747;
    font-size: 24px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.2px;
  }

  .treatment-content p,
  .treatment-content ul,
  .treatment-content ol {
    margin: 20px 0 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .treatment-content p + p,
  .treatment-content ul + p,
  .treatment-content ol + p,
  .treatment-content p + ul,
  .treatment-content p + ol {
    margin-top: 16px;
  }

  .treatment-empty {
    margin-top: 20px;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .treatment-related {
    margin-top: 80px;
    padding-bottom: 96px;
  }

  .treatment-related-list {
    width: min(299px, calc(100% - 56px));
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .treatment-related-link {
    --fi-button-arrow-right: 16px;
    --fi-button-arrow-size: 8px;
    --fi-button-arrow-stroke: 2px;
    width: 100%;
    min-height: 49px;
    padding: 0 42px 0 24px;
    border: 1px solid #e6a921;
    border-radius: 10px;
    background: rgba(230, 169, 33, 0.85);
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .treatment-related-link + .treatment-related-link {
    margin-top: 0;
  }
}

@media (max-width: 340px) {
  .treatment-title {
    font-size: 29px;
  }

  .treatment-content h2,
  .treatment-section-title {
    font-size: 23px;
  }

  .treatment-content p,
  .treatment-content ul,
  .treatment-content ol {
    font-size: 15px;
  }

  .treatment-related-link {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .treatment-title {
    font-size: 36px;
  }

  .treatment-content h2,
  .treatment-section-title {
    font-size: 30px;
  }
}

@media (min-width: 768px) {
  .treatment-page {
    --treatment-pc-content-width: 646px;
    --treatment-pc-container-width: 1340px;
    padding-bottom: 0;
  }

  .treatment-page .treatment-container {
    width: min(calc(100% - 100px), var(--treatment-pc-container-width));
    max-width: var(--treatment-pc-container-width);
    margin-inline: auto;
  }

  .treatment-page .treatment-breadcrumb {
    margin-top: 75px;
    gap: 4px;
    color: #82654d;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .treatment-page .treatment-title {
    min-height: 67px;
    margin-top: 80px;
    padding: 0;
    border-top-color: #e38040;
    border-bottom-color: #e38040;
    color: #474747;
    display: flex;
    align-items: center;
    font-size: 48px;
    line-height: 64px;
    font-weight: 500;
    letter-spacing: 2.4px;
  }

  .treatment-page .treatment-main-visual {
    width: var(--treatment-pc-content-width);
    max-width: 100%;
    height: 500px;
    margin-top: 116px;
    aspect-ratio: auto;
    background: #d9d9d9;
  }

  .treatment-page .treatment-main-visual__placeholder {
    width: 82px;
    height: 68px;
    border-width: 4px;
    border-color: #8b8b8b;
  }

  .treatment-page .treatment-main-visual__placeholder::before {
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-width: 4px;
    border-color: #8b8b8b;
  }

  .treatment-page .treatment-main-visual__placeholder::after {
    left: 14px;
    right: 14px;
    bottom: 12px;
    height: 24px;
    border-width: 4px;
    border-color: #8b8b8b;
  }

  .treatment-page .treatment-content,
  .treatment-page .treatment-related {
    width: var(--treatment-pc-content-width);
    max-width: 100%;
    margin-inline: auto;
  }

  .treatment-page .treatment-content {
    margin-top: 20px;
  }

  .treatment-page .treatment-toc-frame {
    width: var(--treatment-pc-content-width);
    max-width: 100%;
    margin-inline: auto;
  }

  .treatment-page .treatment-toc-frame + .treatment-content {
    margin-top: 120px;
  }

  .treatment-page .treatment-content h2 {
    scroll-margin-top: 120px;
  }

  .treatment-page .treatment-content h2:not(:first-child) {
    margin-top: 100px;
  }

  .treatment-page .treatment-content h2,
  .treatment-page .treatment-section-title {
    min-height: 40px;
    padding-bottom: 0;
    border-bottom: 1px solid #e6a921;
    color: #474747;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.6px;
  }

  .treatment-page .treatment-content p,
  .treatment-page .treatment-content ul,
  .treatment-page .treatment-content ol {
    margin: 20px 0 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .treatment-page .treatment-content p + p,
  .treatment-page .treatment-content ul + p,
  .treatment-page .treatment-content ol + p,
  .treatment-page .treatment-content p + ul,
  .treatment-page .treatment-content p + ol {
    margin-top: 16px;
  }

  .treatment-page .treatment-content ul,
  .treatment-page .treatment-content ol {
    padding-left: 1.4em;
  }

  .treatment-page .treatment-empty {
    width: var(--treatment-pc-content-width);
    max-width: 100%;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .treatment-page .treatment-related {
    margin-top: 160px;
    padding-bottom: 120px;
  }

  .treatment-page .treatment-related-list {
    width: 300px;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .treatment-page .treatment-related-link {
    --fi-button-arrow-right: 18px;
    --fi-button-arrow-size: 8px;
    --fi-button-arrow-stroke: 2px;
    width: 300px;
    min-height: 48px;
    padding: 0 50px;
    border-radius: 10px;
    justify-content: center;
    background: #e6a921;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-align: center;
  }

  .treatment-page .treatment-related-link + .treatment-related-link {
    margin-top: 0;
  }
}
