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

.first-intro {
  margin-top: 100px;
}

.first-intro-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.first-intro-title::after {
  content: "";
  display: block;
  width: min(100%, 200px);
  height: 2px;
  margin: 20px auto 0;
  background: var(--fi-gold-line);
}

.first-intro-text {
  margin: 50px 0 0;
  font-size: var(--fi-fs-base);
  line-height: 2;
  letter-spacing: 0.01em;
  padding: 0 10px;
}

.first-intro-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.first-intro-card {
  min-width: 0;
}

.first-intro-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #c9c9c9;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.first-intro-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.first-intro-card__thumb span {
  width: 52%;
  height: 52%;
  border: 6px solid #8f8f8f;
  border-radius: 18px;
  position: relative;
}

.first-intro-card__thumb span::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 16%;
  width: 22%;
  aspect-ratio: 1 / 1;
  border: 6px solid #8f8f8f;
  border-radius: 999px;
}

.first-intro-card__thumb span::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 12%;
  height: 34%;
  border: 6px solid #8f8f8f;
  border-top: 0;
  border-left: 0;
  transform: skewX(-24deg);
}

.first-intro-card__label {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 500;
}

.first-anchor-nav {
  margin-top: 100px;
  border-bottom: 2px solid var(--fi-divider);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.first-anchor-nav a {
  min-height: 80px;
  color: var(--fi-muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.first-anchor-nav a + a {
  border-left: 1px solid var(--fi-divider);
}

.first-anchor-nav a.is-current {
  color: var(--fi-text);
}

.first-anchor-nav i {
  width: 14px;
  height: 14px;
  border-right: 3px solid currentcolor;
  border-bottom: 3px solid currentcolor;
  transform: rotate(45deg);
}

.first-section {
  padding-top: 100px;
}

.first-section-lead {
  margin: 50px 0 0;
  font-size: var(--fi-fs-base);
  line-height: 1.9;
}

.first-reservation-button {
  margin: 40px auto 0;
}

.first-reservation-note {
  margin: 10px 0 0;
  text-align: center;
  color: #887a6f;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.first-section--bring {
  padding-top: 140px;
}

.first-bring-list {
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
}

.first-bring-item + .first-bring-item {
  margin-top: 30px;
}

.first-bring-item__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
}

.first-bring-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #927358;
  flex: 0 0 auto;
  position: relative;
}

.first-bring-item__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 11px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.first-bring-item__text {
  margin: 20px 0 0 35px;
  font-size: 14px;
  line-height: 1.9;
}

.first-section--flow {
  padding-top: 80px;
  padding-bottom: 60px;
}

.first-flow-list {
  margin-top: 70px;
}

.first-flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 22px;
}

.first-flow-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0px;
  width: 1px;
  background: var(--fi-gold);
  border-radius: 999px;
}

.first-flow-item + .first-flow-item {
  margin-top: 50px;
}

.first-flow-step {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--fi-gold);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding-top: 2px;
}

.first-flow-step__label {
  font-size: 8px;
  letter-spacing: 0.04em;
}

.first-flow-step__number {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
}

.first-flow-title {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
}

.first-flow-text {
  margin: 24px 0 0;
  font-size: var(--fi-fs-base);
  line-height: 1.9;
}

.first-flow-detail-panel {
  width: 100%;
  margin-top: 10px;
  border: 3px solid #df8b4f;
  border-radius: 6px;
  overflow: hidden;
}

.first-page .first-flow-detail {
  width: 100%;
  min-height: 48px;
  padding: 0 10px 0 14px;
  border: 0;
  background: transparent;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.first-page .first-flow-detail span {
  min-width: 0;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.first-page .first-flow-detail:focus-visible {
  outline: 2px solid rgba(223, 139, 79, 0.7);
  outline-offset: -6px;
}

.first-page .first-flow-detail i {
  width: 28px;
  height: 28px;
  font-style: normal;
  color: #df8b4f;
  display: block;
  position: relative;
  margin-left: auto;
  flex: 0 0 28px;
  align-self: center;
}

.first-page .first-flow-detail i::before,
.first-page .first-flow-detail i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentcolor;
  transform: translate(-50%, -50%);
}

.first-page .first-flow-detail i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.first-page .first-flow-detail[aria-expanded="true"] i::after {
  opacity: 0;
}

.first-flow-detail-body {
  margin: 0 12px;
  padding: 18px 0 20px;
  border-top: 1px dashed rgba(223, 139, 79, 0.45);
}

.first-flow-detail-body[hidden] {
  display: none;
}

.first-flow-detail-body p {
  margin: 0;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.first-page .first-flow-item.is-open::before {
  bottom: 0;
  height: auto;
}

@media (max-width: 380px) {
  .first-anchor-nav a {
    font-size: 14px;
  }

  .first-bring-item__title {
    font-size: 20px;
  }

  .first-flow-step__number {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .first-page {
    --fi-bg: #fff2ea;
    --fi-fs-title: 32px;
    --fi-fs-subtitle: 16px;
    --fi-fs-small: 12px;
    background: #fff2ea;
    width: 100%;
    max-width: none;
  }

  .first-page .first-container {
    width: calc(100% - 20px);
    max-width: none;
  }

  .first-page .first-section > .first-container {
    width: calc(100% - 52px);
    max-width: none;
  }

  .first-page .first-breadcrumb {
    margin-top: 22px;
    gap: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .first-page .first-breadcrumb span:first-of-type {
    margin-inline: 4px;
  }

  .first-page .clinic-sp-page-title {
    margin-top: 24px;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 1.6px;
  }

  .first-page .clinic-sp-page-subtitle {
    margin-top: 0;
    font-size: 8px;
    line-height: 10px;
    letter-spacing: 2px;
  }

  .first-page .first-intro {
    margin-top: 100px;
  }

  .first-page .first-intro-title {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 1.2px;
  }

  .first-page .first-intro-title::after {
    margin-top: 17px;
  }

  .first-page .first-intro-text {
    margin-top: 40px;
    padding-inline: 16px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-intro-cards {
    margin-top: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .first-page .first-intro-card {
    width: 100%;
  }

  .first-page .first-intro-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 110 / 100;
    background: #d9d9d9;
  }

  .first-page .first-intro-card__label {
    margin-top: 8px;
    font-size: 10px;
    line-height: 20px;
    letter-spacing: 0.5px;
  }

  .first-page .first-anchor-nav {
    width: 100%;
    margin-top: 80px;
  }

  .first-page .first-anchor-nav a {
    min-height: 68px;
    padding: 7px 4px;
    gap: 4px;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0;
    position: relative;
  }

  .first-page .first-anchor-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #474747;
  }

  .first-page .first-anchor-nav i {
    width: 10px;
    height: 10px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }

  .first-page .child-section-title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 3.2px;
  }

  .first-page .child-section-subtitle {
    margin-top: 0;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-section-lead {
    margin-top: 40px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-reservation-button {
    width: 196px;
    min-height: 48px;
    margin-top: 40px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-reservation-note {
    margin-top: 3px;
    font-size: 10px;
    line-height: 20px;
    letter-spacing: 0.5px;
  }

  .first-page .first-section--bring {
    padding-top: 118px;
  }

  .first-page .first-bring-list {
    margin-top: 48px;
  }

  .first-page .first-bring-item + .first-bring-item {
    margin-top: 32px;
  }

  .first-page .first-bring-item__title {
    gap: 8px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-bring-item__icon {
    width: 20px;
    height: 20px;
  }

  .first-page .first-bring-item__icon::before {
    width: 8px;
    height: 4px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }

  .first-page .first-bring-item__text {
    margin: 16px 0 0 28px;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .first-page .first-section--flow {
    padding-top: 92px;
    padding-bottom: 60px;
  }

  .first-page .first-section--flow > .first-container {
    width: calc(100% - 20px);
    max-width: none;
  }

  .first-page .first-flow-list {
    margin-top: 40px;
  }

  .first-page .first-flow-item {
    width: 100%;
    min-height: 275px;
    padding: 20px 0;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
  }

  .first-page .first-flow-item::before {
    left: 19.5px;
    top: 44px;
    bottom: auto;
    height: 189px;
  }

  .first-page .first-flow-item + .first-flow-item {
    margin-top: 10px;
  }

  .first-page .first-flow-step__label {
    font-size: 8px;
    line-height: 9.6px;
    letter-spacing: 0;
  }

  .first-page .first-flow-step__number {
    margin-top: 0;
    font-size: 16px;
    line-height: 19.2px;
  }

  .first-page .first-flow-content {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .first-page .first-flow-title {
    margin: 0;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 1.2px;
  }

  .first-page .first-flow-text {
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.8px;
  }

  .first-page .first-flow-detail-panel {
    min-height: 49px;
    margin-top: 0;
    border-color: #e38040;
    border-radius: 5px;
    opacity: 0.85;
  }

  .first-page .first-flow-detail {
    min-height: 43px;
    padding: 5px 13px;
    justify-content: space-between;
    gap: 20px;
    font-size: 16px;
    line-height: 27.2px;
    letter-spacing: 0;
  }

  .first-page .first-flow-detail span {
    line-height: 27.2px;
  }

  .first-page .first-flow-detail i {
    width: 16px;
    height: 27.2px;
    flex-basis: 16px;
    color: #e38040;
  }

  .first-page .first-flow-detail i::before,
  .first-page .first-flow-detail i::after {
    width: 10px;
    height: 2px;
  }
}

@media (min-width: 768px) {
  .first-intro {
    margin-top: 160px;
  }

  .first-intro-cards {
    gap: 22px;
  }

  .first-anchor-nav {
    margin-top: 144px;
  }
}

@media (min-width: 768px) {
  .first-page {
    --first-pc-content-width: 940px;
    --first-pc-side-space: 50px;
    background: #fff2ea;
    overflow-x: clip;
  }

  .first-page .first-container {
    width: min(calc(100% - var(--first-pc-side-space) * 2), var(--first-pc-content-width));
    max-width: var(--first-pc-content-width);
  }

  .first-page .first-hero {
    padding-bottom: 103px;
  }

  .first-page .first-intro {
    margin-top: 198px;
  }

  .first-page .first-intro-title {
    color: #474747;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.6px;
  }

  .first-page .first-intro-title br {
    display: none;
  }

  .first-page .first-intro-title::after {
    width: 200px;
    height: 2px;
    margin-top: 20px;
    background: #e6a921;
  }

  .first-page .first-intro-text {
    width: min(100%, 785px);
    margin: 40px auto 0;
    padding: 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .first-page .first-intro-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 220px);
    justify-content: center;
    gap: 20px;
  }

  .first-page .first-intro-card {
    width: 220px;
  }

  .first-page .first-intro-card__thumb {
    width: 220px;
    height: 200px;
    aspect-ratio: auto;
    background: #d9d9d9;
  }

  .first-page .first-intro-card__thumb span {
    width: 96px;
    height: 96px;
    border: 6px solid #8d8d8d;
    border-radius: 10px;
  }

  .first-page .first-intro-card__thumb span::before {
    left: 15px;
    top: 16px;
    width: 14px;
    height: 14px;
    border: 5px solid #8d8d8d;
  }

  .first-page .first-intro-card__thumb span::after {
    right: 10px;
    bottom: 13px;
    left: auto;
    width: 52px;
    height: 36px;
    border: 0;
    border-left: 6px solid #8d8d8d;
    border-bottom: 6px solid #8d8d8d;
    transform: skew(-30deg) rotate(-12deg);
  }

  .first-page .first-intro-card__label {
    margin: 16px 0 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .first-page .first-anchor-nav {
    display: none;
  }

  .first-page .child-section-title {
    color: #474747;
    font-size: 48px;
    line-height: 64px;
    font-weight: 500;
    letter-spacing: 2.4px;
  }

  .first-page .child-section-subtitle {
    margin-top: 0;
    color: #e6a921;
    font-size: 24px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.2px;
  }

  .first-page .first-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .first-page .first-section--reservation {
    min-height: 447px;
  }

  .first-page .first-section--reservation .first-container {
    width: 100%;
  }

  .first-page .first-section-lead {
    margin: 80px 0 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-align: center;
  }

  .first-page .first-reservation-button {
    margin-top: 40px;
  }

  .first-page .first-reservation-note {
    margin-top: 3px;
    color: #82654d;
    font-size: 10px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .first-page .first-section--bring {
    min-height: 565px;
  }

  .first-page .first-bring-list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .first-page .first-bring-item {
    width: 100%;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }

  .first-page .first-bring-item + .first-bring-item {
    margin-top: 0;
  }

  .first-page .first-bring-item__title {
    min-height: 32px;
    gap: 8px;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
    white-space: nowrap;
  }

  .first-page .first-bring-item__icon {
    width: 20px;
    height: 20px;
    background: #82654d;
  }

  .first-page .first-bring-item__icon::before {
    width: 8px;
    height: 4px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }

  .first-page .first-bring-item__text {
    margin: 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .first-page .first-section--flow {
    min-height: 1244px;
  }

  .first-page .first-section--flow .first-section-lead {
    text-align: center;
    white-space: nowrap;
  }

  .first-page .first-flow-list {
    width: 598px;
    max-width: 100%;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .first-page .first-flow-item {
    width: 598px;
    max-width: 100%;
    min-height: 201px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 526px);
    column-gap: 16px;
    align-items: start;
  }

  .first-page .first-flow-item + .first-flow-item {
    margin-top: 0;
  }

  .first-page .first-flow-item::before {
    left: 28.5px;
    top: 66px;
    bottom: auto;
    width: 1px;
    height: 125px;
    background: #e6a921;
  }

  .first-page .first-flow-step {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: #e6a921;
    color: #fafafa;
    padding: 6px 12px;
  }

  .first-page .first-flow-step__label {
    font-size: 9.6px;
    line-height: 11.52px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .first-page .first-flow-step__number {
    margin-top: 0;
    font-size: 19.2px;
    line-height: 23.04px;
    font-weight: 700;
  }

  .first-page .first-flow-content {
    width: 526px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .first-page .first-flow-title {
    margin: 0;
    color: #474747;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.6px;
  }

  .first-page .first-flow-text {
    margin: 0;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .first-page .first-flow-detail-panel {
    width: 100%;
    min-height: 49px;
    margin-top: 0;
    border: 3px solid #e38040;
    border-radius: 5px;
    opacity: 0.85;
  }

  .first-page .first-flow-detail {
    min-height: 43px;
    padding: 5px 10px;
    justify-content: space-between;
    gap: 20px;
    font-size: 16px;
    line-height: 27.2px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .first-page .first-flow-detail span {
    line-height: 27.2px;
  }

  .first-page .first-flow-detail i {
    width: 16px;
    height: 27.2px;
    flex-basis: 16px;
    color: #e38040;
  }

  .first-page .first-flow-detail i::before,
  .first-page .first-flow-detail i::after {
    width: 10px;
    height: 2px;
  }

  .first-page .first-flow-detail-body {
    margin-inline: 10px;
    padding: 12px 0 16px;
  }

  .first-page .first-flow-detail-body p {
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

}

@media (min-width: 768px) and (max-width: 1180px) {
  .first-page {
    --first-pc-side-space: 28px;
  }

  .first-page .first-intro-cards {
    width: min(100%, 700px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .first-page .first-intro-card,
  .first-page .first-intro-card__thumb {
    width: 100%;
  }

  .first-page .first-intro-card__thumb {
    height: auto;
    aspect-ratio: 11 / 10;
  }

  .first-page .first-bring-item {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 40px;
  }

  .first-page .first-section--flow .first-section-lead {
    white-space: normal;
  }
}
