/* Hero Section */
.hero__content {
  background-image: url(../../img/first-visit/hero.jpg);
}

/* First Message */
.first-message {
  padding: 100px 0 80px;
  background: #fff;
}

.first-message__inner {
  width: 100%;
  max-width: 1576px;
  padding: 0 20px;
  margin: 0 auto;
}

.first-message__grid {
  display: flex;
  gap: 54px;
  width: 100%;
}

.first-message__image {
  flex: 1;
  margin-left: calc(50% - 50vw);
  border-radius: 0 25px 100px 0;
  overflow: hidden;
  height: 554px;
}

.first-message__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
}

.first-message__content {
  max-width: 558px;
  padding: 0 15px;
}

.first-message__title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #333;
  letter-spacing: 0.48px;
  word-break: auto-phrase;
}

.first-message__text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
  letter-spacing: 0.36px;
}

.first-message__text p {
  margin: 0;
}

.first-message__text p + p.first-message__text-after-break,
.first-consultation__text p + p.first-message__text-after-break {
  margin-top: 0.5em;
}


/* First Consultation */
.first-consultation {
  padding: 40px 0;
  background: #fff;
}

.first-consultation__inner {
  max-width: 1217px;
  margin: 0 auto;
  padding: 0 20px;
}

.first-consultation__header {
  text-align: center;
  margin-bottom: 40px;
}

.first-consultation__label {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fa9a00;
  margin-bottom: 10px;
  line-height: 1;
}

.first-consultation__title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.64px;
  line-height: 1.2;
  word-break: auto-phrase;
}

.first-consultation__content {
  display: flex;
  gap: 37px;
  align-items: center;
}

.first-consultation__text {
  flex: 1;
  max-width: 738px;
}

.first-consultation__text p {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: #333;
  letter-spacing: 0.36px;
}

.first-consultation__image {
  flex-shrink: 0;
  width: 402px;
  aspect-ratio: 402 / 302;
}

.first-consultation__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* First Flow */
.first-flow {
  padding: 80px 0;
  background: #fff;
}

.first-flow__inner {
  max-width: 993px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.first-flow__header {
  text-align: center;
  margin-bottom: 50px;
}

.first-flow__label {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fa9a00;
  margin-bottom: 10px;
  line-height: 1;
}

.first-flow__title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.64px;
  line-height: 1;
  word-break: auto-phrase;
}

.first-flow__image {
  width: 100%;
  margin: 0 auto;
}

.first-flow__image-img {
  width: 100%;
  height: auto;
  display: block;
}

/* First Bring */
.first-bring {
  padding: 80px 0;
  background: #fff;
}

.first-bring__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.first-bring__header {
  text-align: center;
  margin-bottom: 40px;
}

.first-bring__label {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fa9a00;
  margin-bottom: 10px;
  line-height: 1;
}

.first-bring__title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.64px;
  line-height: 1;
  word-break: auto-phrase;
}

.first-bring__content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.first-bring__image {
  aspect-ratio: 30 / 19;
  width: 50%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.first-bring__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.first-bring__items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.first-bring__item {
  padding: 0 20px;
}

.first-bring__item-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.first-bring__item-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  background: #fa9a00;
}

.first-bring__item-title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fa9a00;
  line-height: normal;
}

.first-bring__item-text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin-bottom: 4px;
}

.first-bring__item-link {
  font-size: 14px;
  color: #666;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.first-bring__item-link:hover {
  opacity: 0.7;
}

/* First Info */
.first-info {
  padding: 60px 0 80px;
  background: #fff;
}

.first-info__inner {
  max-width: 1218px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.first-info__section {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1178px;
  width: 100%;
}

.first-info__title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fa9a00;
  letter-spacing: 0.48px;
  line-height: 1.5;
  margin: 0;
}

.first-info__content {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
  letter-spacing: 0.36px;
}

.first-info__content p {
  margin: 0;
}

.first-info__content p:not(:last-child) {
  margin-bottom: 0;
}

.first-info__subtitle {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
  margin-bottom: 0;
}

.first-info__content strong {
  font-weight: 700;
}

/* Infection Prevention */
.first-infection {
  padding: 70px 0;
  background: #fff5e5;
}

.first-infection__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.first-infection__header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.first-infection__label {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fa9a00;
  margin: 0;
  line-height: 1;
}

.first-infection__title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 0.64px;
  line-height: 1;
  word-break: auto-phrase;
}

.first-infection__intro {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
}

.first-infection__intro p {
  margin: 0;
}

.first-infection__intro .first-infection__text-gap {
  margin-top: 1.75em;
}

.first-infection__compare {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.first-infection__compare-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fa9a00;
  margin: 0;
  line-height: 1.6;
  word-break: auto-phrase;
}

.first-infection__compare-boxes {
  display: flex;
  gap: 40px;
  width: 100%;
}

.first-infection__compare-box {
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.first-infection__compare-box-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fa9a00;
  margin: 0;
  line-height: 1.6;
}

.first-infection__compare-box-text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.first-infection__compare-box-text p {
  margin: 0;
}

.first-infection__compare-note {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #333;
  letter-spacing: 0.32px;
  margin: 0;
}

.first-infection__feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.first-infection__feature-title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fa9a00;
  letter-spacing: 0.48px;
  line-height: 1.5;
  margin: 0;
  word-break: auto-phrase;
}

.first-infection__feature-body {
  width: 100%;
}

.first-infection__feature-body--split {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.first-infection__feature-text {
  flex: 1;
  min-width: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
  letter-spacing: 0.36px;
}

.first-infection__feature-text p {
  margin: 0;
}

.first-infection__feature-text .first-infection__text-gap {
  margin-top: 1.75em;
}

.first-infection__feature-subtitle {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fa9a00;
  line-height: normal;
}

.first-infection__feature-text .first-infection__feature-subtitle {
  margin: 1.75em 0;
}

.first-infection__feature-media {
  flex-shrink: 0;
  width: 575px;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.first-infection__feature-image {
  width: 100%;
  overflow: hidden;
}

.first-infection__feature-image--side {
  flex-shrink: 0;
  width: 575px;
  max-width: 48%;
  aspect-ratio: 575 / 385;
}

.first-infection__feature-image--inline {
  margin-top: 18px;
  aspect-ratio: 680 / 263;
}

.first-infection__feature-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.first-infection__feature-note-title {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.32px;
  margin: 0 0 0;
}

.first-infection__feature-note-text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Responsive - First Visit Page */
@media (max-width: 1024px) {
  .first-message__grid {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .first-message__image {
    flex: 0 0 auto;
    height: 300px;
  }

  .first-message__image-img {
    object-position: center 20%;
  }

  .first-message__content {
    max-width: 100%;
  }


  .first-consultation__content {
    gap: 20px;
  }

  .first-consultation__text p {
    font-size: 16px;
  }

  .first-consultation__image {
    width: 300px;
  }

  .first-bring__content {
    gap: 20px;
  }

  .first-infection__compare-boxes {
    gap: 20px;
  }

  .first-infection__feature-body--split {
    gap: 30px;
  }

  .first-infection__feature-media,
  .first-infection__feature-image--side {
    width: 45%;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .first-message {
    padding: 60px 0;
  }

  .first-message__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .first-message__image {
    height: 200px;
  }

  .first-message__title {
    font-size: 20px;
    letter-spacing: -.1px;
  }

  .first-message__text {
    font-size: 16px;
  }


  .first-consultation {
    padding: 40px 0;
  }

  .first-consultation__content {
    flex-direction: column;
    gap: 20px;
  }

  .first-flow {
    padding: 60px 0;
  }

  .first-flow__steps {
    padding-right: 0;
  }

  .first-flow__emergency {
    position: static;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .first-flow__emergency-box {
    width: auto;
    padding: 15px 10px;
    writing-mode: horizontal-tb;
  }

  .first-flow__emergency-text {
    font-size: 18px;
  }

  .first-flow__counseling-items {
    flex-direction: column;
    gap: 15px;
  }

  .first-bring {
    padding: 60px 0;
  }

  .first-bring__content {
    flex-direction: column;
    gap: 40px;
  }

  .first-bring__image {
    width: 100%;
    max-width: 100%;
  }

  .first-info {
    padding: 40px 0 60px;
  }

  .first-info__inner {
    padding: 0 20px;
  }

  .first-info__title {
    font-size: 20px;
  }

  .first-info__content {
    font-size: 16px;
  }

  .first-infection {
    padding: 50px 0;
  }

  .first-infection__inner {
    gap: 40px;
  }

  .first-infection__title {
    font-size: 24px;
  }

  .first-infection__intro {
    font-size: 16px;
  }

  .first-infection__compare-title {
    font-size: 22px;
  }

  .first-infection__compare-boxes {
    flex-direction: column;
    gap: 16px;
  }

  .first-infection__compare-box-title {
    font-size: 20px;
  }

  .first-infection__feature-title {
    font-size: 20px;
  }

  .first-infection__feature-body--split {
    flex-direction: column;
    gap: 24px;
  }

  .first-infection__feature-text {
    font-size: 16px;
  }

  .first-infection__feature-media,
  .first-infection__feature-image--side {
    width: 100%;
    max-width: 100%;
  }

  .first-infection__feature-image--side {
    aspect-ratio: auto;
  }

  .first-infection__feature-image--inline {
    aspect-ratio: auto;
  }
}