/* PC: キャッチコピーは1行のまま／SP用blobは非表示 */
@media (min-width: 768px) {
  body:has(.first-visit-page) .first-visit-heading-br {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  body:has(.first-visit-page) .first-visit-deco {
    display: none !important;
  }
}

/* ==========================================================================
   First visit page — SP layout (Figma node 336:21685, 375px)
   HTML / PC styles unchanged — responsive overrides only
   Section h2: 26px / 33px / tracking 2.6px（FAQ・他下層ページと同一）
   ========================================================================== */

@media (max-width: 767px) {
  body:has(.first-visit-page) .first-visit-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
  }

  /* ----- Breadcrumb — hide ----- */
  body:has(.first-visit-page) .first-visit-page > div[class*='w-[1080px]'][class*='py-[10px]'] {
    display: none !important;
  }

  /* ----- Hide PC deco / floating（FV・FAQぼかし・左右blobは下記で再表示） ----- */
  body:has(.first-visit-page) .first-visit-bg-deco,
  body:has(.first-visit-page) .first-visit-faq-deco,
  body:has(.first-visit-page) .first-visit-main > .absolute:not(.first-visit-fv-wrap):not(.first-visit-deco),
  body:has(.first-visit-page) .first-visit-page > .absolute[class*='size-[150px]'] {
    display: none !important;
  }

  /* ----- SP FV blobs（Figma 341:42585 / 341:42583）— 料金表同様に背景へ溶かす ----- */
  body:has(.first-visit-page) .first-visit-deco {
    display: block !important;
    position: absolute !important;
    max-width: none !important;
    transform: none !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: visible !important;
    mix-blend-mode: multiply !important;
    filter: blur(5px) saturate(0.9) !important;
  }

  body:has(.first-visit-page) .first-visit-deco-left {
    left: -160px !important;
    right: auto !important;
    top: 55px !important;
    width: 300px !important;
    height: 320px !important;
    opacity: 0.62 !important;
    background: url('../../assets/images/deco-first-visit-fv-left-sp.png') center / contain no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 110% at 22% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
    mask-image: radial-gradient(ellipse 100% 110% at 22% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
  }

  body:has(.first-visit-page) .first-visit-deco-right {
    left: auto !important;
    right: -150px !important;
    top: 35px !important;
    width: 290px !important;
    height: 320px !important;
    opacity: 0.52 !important;
    background: url('../../assets/images/deco-first-visit-fv-right-sp.png') center / contain no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 110% at 78% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
    mask-image: radial-gradient(ellipse 100% 110% at 78% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
  }

  /* ----- SP FV: photo-first-visit-fv（Figma image 116 / 600px） ----- */
  body:has(.first-visit-page) .first-visit-fv-wrap {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    height: 0 !important;
    max-width: none !important;
    transform: none !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: visible !important;
  }

  body:has(.first-visit-page) .first-visit-fv-wrap .first-visit-fv-bg,
  body:has(.first-visit-page) [class*='absolute'][class*='bottom-0'][class*='pointer-events-none'] .first-visit-fv-bg {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 100px !important;
    width: 600px !important;
    height: 633px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.9 !important;
    overflow: visible !important;
    filter: blur(2px) !important;
    background: url('../../assets/images/photo-first-visit-fv.png') center / cover no-repeat !important;
    -webkit-mask-image: radial-gradient(circle at center, #000 38%, rgba(0, 0, 0, 0.55) 55%, transparent 72%) !important;
    mask-image: radial-gradient(circle at center, #000 38%, rgba(0, 0, 0, 0.55) 55%, transparent 72%) !important;
  }

  body:has(.first-visit-page) .first-visit-fv-bg img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* ----- FAQ section soft blur（Figma 341:42587） ----- */
  body:has(.first-visit-page) .first-visit-faq-section > [class*='blur-'],
  body:has(.first-visit-page) .first-visit-faq-section > .absolute[class*='blur'] {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 7px !important;
    width: 344px !important;
    height: 159px !important;
    max-width: none !important;
    transform: translateX(-50%) !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: blur(5px) !important;
    opacity: 0.8 !important;
  }

  /* ----- H1 KV ----- */
  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] {
    background: transparent !important;
    height: 134px !important;
    min-height: 134px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] [class*='text-[60px]'] {
    color: var(--corlor-1, #8e5572) !important;
    text-align: center !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-size: 36px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: 1.8px !important;
    text-shadow: none !important;
  }

  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] [class*='text-[60px]'] p {
    color: inherit !important;
    text-align: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-shadow: none !important;
  }

  /* ----- Main column ----- */
  body:has(.first-visit-page) .first-visit-main,
  body:has(.first-visit-page) .first-visit-main[class*='gap-[200px]'] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-top: 0 !important;
    padding-inline: 40px !important;
    padding-bottom: 0 !important;
    gap: 60px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body:has(.first-visit-page) .first-visit-main > :not(.absolute):not(.first-visit-fv-wrap):not(.first-visit-deco):not(.site-footer):not([class*="-faq-section"]) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Figma main pt-[200px]（flex gap 60 + margin 140） */
  body:has(.first-visit-page) .first-visit-intro-section {
    margin-top: 140px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body:has(.first-visit-page) .first-visit-intro-section,
  body:has(.first-visit-page) .first-visit-reasons-section,
  body:has(.first-visit-page) .first-visit-flow-section,
  body:has(.first-visit-page) .first-visit-faq-section,
  body:has(.first-visit-page) .first-visit-risks-section {
    gap: 40.323px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* ----- Section headings (h2 block) — TOP .top-main ----- */
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'][class*='items-center'][class*='justify-center'][class*='max-w-[1080px]'][class*='min-w-[300px]'] {
    display: flex !important;
    min-width: 201.613px !important;
    max-width: 725.806px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.672px !important;
    align-self: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 見出しアイコン — TOP / FAQ 等と同じ SP サイズ */
  body:has(.first-visit-page) .first-visit-main [class*='h-[59px]'][class*='w-[120px]'] {
    height: 39.65px !important;
    width: 80.65px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='pb-[20px]'] {
    padding-bottom: 13.441px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='py-[10px]'] {
    padding-block: 6.72px !important;
  }

  /* 英字サブタイトル — sp-common.css（10.753px）に委譲。上書きしない */

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='min-w-[300px]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='inline-grid'][class*='min-w-[300px]'] {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='items-start'][class*='justify-center'] {
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='inline-grid'][class*='place-items-start'] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    place-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[16px]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[16px]'] p {
    text-align: center !important;
  }

  /* セクション見出し — FAQ / 他下層ページと同一（26 / 33 / 2.6） */
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'] span,
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'] span,
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'] span {
    color: var(--corlor-1, #8e5572) !important;
    text-align: center !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-size: 26px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 33px !important;
    letter-spacing: 2.6px !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body:has(.first-visit-page) .first-visit-heading-br {
    display: block !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='leading-[52px]'],
  body:has(.first-visit-page) .first-visit-main [class*='leading-[62px]'] {
    line-height: 33px !important;
  }

  /* ----- Body copy（Figma 16px / lh25） ----- */
  body:has(.first-visit-page) .first-visit-intro-section > [class*='text-[24px]'] {
    font-size: 15px !important;
    line-height: 25px !important;
    letter-spacing: 1.6px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  /* ----- Flow cards ----- */
  body:has(.first-visit-page) .first-visit-flow-card {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26.21px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] {
    display: block !important;
    position: relative !important;
    width: 201.613px !important;
    height: 201.613px !important;
    min-width: 201.613px !important;
    min-height: 201.613px !important;
    max-width: 201.613px !important;
    max-height: 201.613px !important;
    margin-inline: auto !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    max-width: none !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card .mask-alpha {
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='flex-col'][class*='gap-[30px]'],
  body:has(.first-visit-page) .first-visit-flow-card > [class*='flex-[1_0_0]'][class*='flex-col'] {
    gap: 20.161px !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='gap-[30px]'][class*='items-center'] {
    gap: 20.161px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  body:has(.first-visit-page) .first-visit-phase-num,
  body:has(.first-visit-page) .first-visit-flow-card [class*='h-[110px]'][class*='w-[118px]'] {
    width: 79.301px !important;
    height: 73.925px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[28px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[28px]'][class*='text-[#8e5572]'] p {
    font-size: 15px !important;
    line-height: normal !important;
    letter-spacing: 0.941px !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[18px]'],
  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[18px]'] p {
    font-size: 15px !important;
    line-height: 22px !important;
    letter-spacing: 1.3px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    text-align: left !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[22px]'] {
    font-size: 15px !important;
    line-height: 22px !important;
    letter-spacing: 1.3px !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card .flow-arrow-down,
  body:has(.first-visit-page) .first-visit-flow-card [class*='size-[59px]'].flow-arrow-down {
    width: 36.962px !important;
    height: 36.962px !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='pl-[10px]'] {
    padding-left: 0 !important;
    align-self: stretch !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* ----- FAQ accordion -----
     sp-common が FAQ セクションを -20px 広げて実質左右20pxにする。
     アイテム側でさらに負マージンすると画面端まで広がるため付けない。 */
  body:has(.first-visit-page) .first-visit-faq-section [class*='cursor-pointer'][class*='flex-col'][class*='gap-[10px]'] {
    gap: 6.72px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 6.72px 16px !important;
    border-radius: 20px !important;
    box-shadow: 0 2.688px 1.344px rgba(0, 0, 0, 0.1) !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion-item--open {
    gap: 20.161px !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__question {
    gap: 20.161px !important;
    padding-block: 6.72px !important;
    width: 100% !important;
    align-items: center !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion-item--open .faq-accordion__panel {
    margin-top: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__q {
    color: #eae0e5 !important;
    font-size: 40.32px !important;
    line-height: 53.763px !important;
    letter-spacing: 2.016px !important;
    width: auto !important;
    min-width: 31px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__panel-inner > div > p:first-child {
    font-size: 40.32px !important;
    line-height: 1 !important;
    letter-spacing: 2.016px !important;
    width: auto !important;
    min-width: 31px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__question-text {
    font-size: 15px !important;
    line-height: 18.817px !important;
    letter-spacing: 1.478px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__icon {
    width: 10.753px !important;
    height: 10.753px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__panel-inner > div {
    gap: 20.161px !important;
    padding-top: 6.72px !important;
    padding-bottom: 20.161px !important;
    padding-right: 0 !important;
    align-items: center !important;
  }

  body:has(.first-visit-page) .first-visit-faq-section .faq-accordion__panel-inner > div > p:last-child {
    font-size: 15px !important;
    line-height: 22px !important;
    letter-spacing: 1.4px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* ----- Risks panel ----- */
  body:has(.first-visit-page) .first-visit-risks-panel {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 26.882px !important;
    padding: 47.043px 40.323px !important;
    border-radius: 13.441px !important;
    box-shadow: 0 2.688px 2.688px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel > * {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='flex-col'][class*='gap-[40px]'] {
    gap: 26.882px !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='gap-[24px]'] {
    gap: 16.129px !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='h-[32px]'][class*='w-[39.5px]'] {
    width: 26.546px !important;
    height: 21.505px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='text-[18px]'] {
    font-size: 15px !important;
    line-height: 22px !important;
    letter-spacing: 1.3px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  /* ----- Footer — medical-info.css 準拠 ----- */
  body:has(.first-visit-page) .site-footer {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-top: 134px !important;
    padding-inline: 0 !important;
    padding-bottom: 40px !important;
    gap: 60px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='aspect-[3050'] {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    align-self: stretch !important;
    border-radius: 0 !important;
  }

  /* 医院外観写真 — 左右余白（マップは全幅のまま） */
  body:has(.first-visit-page) .site-footer > [class*='aspect-[1944'] {
    width: calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
    margin-inline: 40px !important;
    align-self: center !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='aspect-[3050'] img {
    border-radius: 0 !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='aspect-[1944'] img {
    border-radius: 10px !important;
  }

  body:has(.first-visit-page) .site-footer > :not([class*='aspect-[3050']):not([class*='aspect-[1944']) {
    padding-inline: 40px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
    gap: 24px !important;
    white-space: normal !important;
    text-align: left !important;
    letter-spacing: 1.075px !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] > div {
    flex: 0 1 calc(50% - 12px) !important;
    min-width: 0 !important;
    max-width: calc(50% - 12px) !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] [class*='items-center'] {
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] [class*='text-center'] {
    text-align: left !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] [class*='gap-[20px]'] {
    gap: 13.44px !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] .site-footer-link,
  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] .site-footer-link p {
    text-align: left !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] > div:first-child {
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', sans-serif !important;
    font-weight: 700 !important;
    color: var(--color-primary, #8e5572) !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] > div:first-child .site-footer-link p {
    font-family: inherit !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: var(--color-primary, #8e5572) !important;
    font-size: 12px !important;
    line-height: 22.849px !important;
    letter-spacing: 1.075px !important;
    text-decoration: none !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] p[class*='text-[#8e5572]'][class*='text-[16px]'] {
    color: var(--corlor-1, var(--color-primary, #8e5572)) !important;
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 17.473px !important;
    letter-spacing: 1.075px !important;
    text-decoration: none !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] p[class*='text-[#636171]'],
  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] p[class*='text-[14px]'][class*='underline'] {
    color: var(--colore-2, var(--p, #636171)) !important;
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 17.473px !important;
    letter-spacing: 0.941px !important;
    text-decoration-line: underline !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='gap-[36px]'] p[class*='text-[#636171]'] span {
    color: var(--colore-2, var(--p, #636171)) !important;
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 17.473px !important;
    letter-spacing: 0.941px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='max-w-[840px]'] {
    max-width: 100% !important;
    gap: 20px !important;
    align-items: center !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[41px_60px]'] {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[41px_60px]'] [class*='px-[30px]'] {
    padding-inline: 0 !important;
    width: 100% !important;
    align-items: center !important;
  }

  body:has(.first-visit-page) .site-footer [class*='aspect-[3635'] {
    min-height: 0 !important;
    min-width: 0 !important;
    max-width: 260px !important;
    width: 100% !important;
    margin-inline: auto !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[41px_60px]'] [class*='text-[18px]'] {
    font-size: 12.1px !important;
    line-height: 18px !important;
    letter-spacing: 0.605px !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] > [class*='flex-col'] {
    align-items: center !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='text-[23px]'] {
    color: var(--corlor-1, var(--color-primary, #8e5572)) !important;
    text-align: center !important;
    font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif !important;
    font-size: 15.457px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: normal !important;
    letter-spacing: 0.773px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='text-[16px]'][class*='text-[color:var(--p'] {
    font-size: 10.75px !important;
    line-height: 18px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='inline-grid'] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='inline-grid'] [class*='col-1'] {
    position: relative !important;
    margin: 0 !important;
    width: auto !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='aspect-[45'] {
    width: 28px !important;
    height: 30px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] a[href^='tel:'][class*='text-[42px]'],
  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] [class*='text-[42px]'][class*='text-[#8e5572]'] {
    color: var(--corlor-1, var(--color-primary, #8e5572)) !important;
    font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif !important;
    font-size: 28.226px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: normal !important;
    letter-spacing: 1.411px !important;
    width: auto !important;
    margin-left: 0 !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[0px_32px]'] a[href^='tel:'] p {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'] [class*='h-[36px]'][class*='w-[176px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row [class*='h-[36px]'][class*='w-[176px]'] {
    width: 140px !important;
    height: 29px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'] [class*='h-[44px]'][class*='w-[127px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row [class*='h-[44px]'][class*='w-[127px]'] {
    width: 100px !important;
    height: 35px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'] [class*='h-[36px]'][class*='w-[107px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row [class*='h-[36px]'][class*='w-[107px]'] {
    width: 85px !important;
    height: 29px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'] [class*='size-[35px]'],
  body:has(.first-visit-page) .site-footer [class*='gap-[17px]'] [class*='size-[36px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row [class*='size-[35px]'],
  body:has(.first-visit-page) .site-footer .site-footer-sns-row [class*='size-[36px]'] {
    width: 30px !important;
    height: 30px !important;
  }

  body:has(.first-visit-page) .site-footer [class*='min-w-[300px]'] {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer [class*='max-w-[390px]'],
  body:has(.first-visit-page) .site-footer [class*='max-w-[404px]'] {
    max-width: 100% !important;
  }

  body:has(.first-visit-page) .site-footer > [class*='max-w-[840px]'] > [class*='text-[14px]'] {
    font-size: 12px !important;
    line-height: 22px !important;
    letter-spacing: 1.2px !important;
  }
}

/* ==========================================================================
   First visit page — Tablet layout (768px–1024px)
   faq / equipment タブレット準拠
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  body:has(.first-visit-page) .first-visit-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
  }

  /* ----- Breadcrumb — hide ----- */
  body:has(.first-visit-page) .first-visit-page > div[class*='w-[1080px]'][class*='py-[10px]'] {
    display: none !important;
  }

  /* ----- Hide PC deco / floating（FV・FAQぼかし・左右blobは下記で再表示） ----- */
  body:has(.first-visit-page) .first-visit-bg-deco,
  body:has(.first-visit-page) .first-visit-faq-deco,
  body:has(.first-visit-page) .first-visit-main > .absolute:not(.first-visit-fv-wrap):not(.first-visit-deco),
  body:has(.first-visit-page) .first-visit-main > div[class*='gap-[60px]'] > .absolute:not([class*='blur']),
  body:has(.first-visit-page) .first-visit-page > .absolute[class*='size-[150px]'] {
    display: none !important;
  }

  /* ----- TB FV blobs — 料金表同様に背景へ溶かす ----- */
  body:has(.first-visit-page) .first-visit-deco {
    display: block !important;
    position: absolute !important;
    max-width: none !important;
    transform: none !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: visible !important;
    mix-blend-mode: multiply !important;
    filter: blur(6px) saturate(0.9) !important;
  }

  body:has(.first-visit-page) .first-visit-deco-left {
    left: -180px !important;
    right: auto !important;
    top: 40px !important;
    width: 360px !important;
    height: 380px !important;
    opacity: 0.62 !important;
    background: url('../../assets/images/deco-first-visit-fv-left-sp.png') center / contain no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 110% at 22% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
    mask-image: radial-gradient(ellipse 100% 110% at 22% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
  }

  body:has(.first-visit-page) .first-visit-deco-right {
    left: auto !important;
    right: -170px !important;
    top: 25px !important;
    width: 340px !important;
    height: 380px !important;
    opacity: 0.52 !important;
    background: url('../../assets/images/deco-first-visit-fv-right-sp.png') center / contain no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 110% at 78% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
    mask-image: radial-gradient(ellipse 100% 110% at 78% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 82%) !important;
  }

  /* ----- TB FV: photo-first-visit-fv（blog/price 準拠の拡大） ----- */
  body:has(.first-visit-page) .first-visit-fv-wrap {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    height: 0 !important;
    max-width: none !important;
    transform: none !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: visible !important;
  }

  body:has(.first-visit-page) .first-visit-fv-wrap .first-visit-fv-bg,
  body:has(.first-visit-page) [class*='absolute'][class*='bottom-0'][class*='pointer-events-none'] .first-visit-fv-bg {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 120px !important;
    width: 720px !important;
    height: 760px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.9 !important;
    overflow: visible !important;
    filter: blur(2px) !important;
    background: url('../../assets/images/photo-first-visit-fv.png') center / cover no-repeat !important;
    -webkit-mask-image: radial-gradient(circle at center, #000 38%, rgba(0, 0, 0, 0.55) 55%, transparent 72%) !important;
    mask-image: radial-gradient(circle at center, #000 38%, rgba(0, 0, 0, 0.55) 55%, transparent 72%) !important;
  }

  body:has(.first-visit-page) .first-visit-fv-bg img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* FAQ Q&A 透かし（非表示ルールより詳細度を上げて再表示） */
  body:has(.first-visit-page) .first-visit-main > .first-visit-faq-section > [class*='blur-'],
  body:has(.first-visit-page) .first-visit-main > .first-visit-faq-section > .absolute[class*='blur'] {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    width: 480px !important;
    height: 220px !important;
    max-width: none !important;
    transform: translateX(-50%) !important;
    translate: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: blur(5px) !important;
    opacity: 0.8 !important;
    overflow: hidden !important;
    background: url('../../assets/images/deco-faq-qa-sp.png') center / contain no-repeat !important;
  }

  body:has(.first-visit-page) .first-visit-main > .first-visit-faq-section > [class*='blur-'] > img,
  body:has(.first-visit-page) .first-visit-main > .first-visit-faq-section > .absolute[class*='blur'] > img {
    display: none !important;
  }

  /* ----- H1 KV ----- */
  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] {
    background: transparent !important;
    height: 160px !important;
    min-height: 160px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] [class*='text-[60px]'],
  body:has(.first-visit-page) .first-visit-main > div[class*='h-[200px]'] [class*='text-[60px]'] p {
    color: var(--corlor-1, #8e5572) !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-size: 48px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: 2.4px !important;
    text-align: center !important;
  }

  /* ----- Main column ----- */
  body:has(.first-visit-page) .first-visit-main,
  body:has(.first-visit-page) .first-visit-main[class*='gap-[200px]'] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-top: 0 !important;
    padding-inline: 60px !important;
    padding-bottom: 0 !important;
    gap: 80px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body:has(.first-visit-page) .first-visit-main > :not(.absolute):not(.first-visit-fv-wrap):not(.first-visit-deco):not(.site-footer):not([class*="-faq-section"]) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-intro-section {
    margin-top: 160px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body:has(.first-visit-page) .first-visit-intro-section,
  body:has(.first-visit-page) .first-visit-reasons-section,
  body:has(.first-visit-page) .first-visit-flow-section,
  body:has(.first-visit-page) .first-visit-faq-section,
  body:has(.first-visit-page) .first-visit-risks-section,
  body:has(.first-visit-page) .first-visit-main > div[class*='gap-[60px]']:has(.faq-accordion-item) {
    gap: 48px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body:has(.first-visit-page) .first-visit-intro-section > :not(.absolute),
  body:has(.first-visit-page) .first-visit-reasons-section > :not(.absolute),
  body:has(.first-visit-page) .first-visit-flow-section > :not(.absolute),
  body:has(.first-visit-page) .first-visit-faq-section > :not(.absolute),
  body:has(.first-visit-page) .first-visit-risks-section > :not(.absolute),
  body:has(.first-visit-page) .first-visit-main > div[class*='gap-[60px]']:has(.faq-accordion-item) > :not(.absolute) {
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
  }

  /* ----- Section headings ----- */
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'][class*='items-center'][class*='justify-center'][class*='max-w-[1080px]'][class*='min-w-[300px]'] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 4px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='min-w-[300px]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='inline-grid'][class*='min-w-[300px]'] {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='h-[59px]'][class*='w-[120px]'] {
    height: 48px !important;
    width: 98px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='pb-[20px]'] {
    padding-bottom: 16px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='py-[10px]'] {
    padding-block: 8px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='items-start'][class*='justify-center'] {
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='inline-grid'][class*='place-items-start'] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    place-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[16px]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[16px]'] p {
    text-align: center !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='text-[16px]'][class*='tracking-[0.8px]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[16px]'][class*='tracking-[1.6px]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[16px]'][class*='tracking-[0.8px]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='text-[16px]'][class*='tracking-[1.6px]'] p {
    font-size: 15px !important;
    letter-spacing: 0.7px !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='flex-col'][class*='gap-px'] [class*='text-[#8e5572]'] span,
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='text-[46px]'][class*='text-[#8e5572]'] span,
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'] p,
  body:has(.first-visit-page) .first-visit-main [class*='text-[40px]'][class*='text-[#8e5572]'] span {
    color: var(--corlor-1, #8e5572) !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-size: 28px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: 1.6px !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body:has(.first-visit-page) .first-visit-main [class*='leading-[52px]'] {
    line-height: 1.35 !important;
  }

  /* ----- Body copy ----- */
  body:has(.first-visit-page) .first-visit-intro-section > [class*='text-[24px]'] {
    font-size: 18px !important;
    line-height: 30px !important;
    letter-spacing: 1.8px !important;
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  /* ----- Flow cards — 横並び ----- */
  body:has(.first-visit-page) .first-visit-flow-card {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > * {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] {
    display: block !important;
    position: relative !important;
    flex: 0 0 220px !important;
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='inline-grid'] img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card .mask-alpha {
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card > [class*='flex-col'][class*='gap-[30px]'],
  body:has(.first-visit-page) .first-visit-flow-card > [class*='flex-[1_0_0]'][class*='flex-col'] {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='min-w-[300px]'] {
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='gap-[30px]'][class*='items-center'] {
    gap: 20px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  body:has(.first-visit-page) .first-visit-phase-num,
  body:has(.first-visit-page) .first-visit-flow-card [class*='h-[110px]'][class*='w-[118px]'] {
    width: 80px !important;
    height: 74px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[28px]'][class*='text-[#8e5572]'],
  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[28px]'][class*='text-[#8e5572]'] p {
    font-size: 22px !important;
    line-height: 1.35 !important;
    letter-spacing: 1.1px !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[18px]'],
  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[18px]'] p {
    font-size: 15px !important;
    line-height: 24px !important;
    letter-spacing: 1.5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    text-align: left !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='text-[22px]'] {
    font-size: 15px !important;
    line-height: 24px !important;
    letter-spacing: 1.5px !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card .flow-arrow-down,
  body:has(.first-visit-page) .first-visit-flow-card [class*='size-[59px]'].flow-arrow-down {
    width: 40px !important;
    height: 40px !important;
  }

  body:has(.first-visit-page) .first-visit-flow-card [class*='pl-[10px]'] {
    padding-left: 0 !important;
    align-self: center !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* ----- FAQ accordion ----- */
  body:has(.first-visit-page) .first-visit-main [class*='cursor-pointer'][class*='flex-col'][class*='gap-[10px]'],
  body:has(.first-visit-page) .first-visit-faq-section [class*='cursor-pointer'][class*='flex-col'][class*='gap-[10px]'] {
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 28px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.1) !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion-item--open {
    gap: 24px !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__question {
    gap: 20px !important;
    padding-block: 8px !important;
    width: 100% !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion-item--open .faq-accordion__panel {
    margin-top: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__q,
  body:has(.first-visit-page) .first-visit-main .faq-accordion__panel-inner > div > p:first-child {
    color: #eae0e5 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.6px !important;
    width: auto !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__question-text {
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 1.6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__panel-inner > div {
    gap: 20px !important;
    padding-top: 8px !important;
    padding-bottom: 16px !important;
    padding-right: 0 !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-main .faq-accordion__panel-inner > div > p:last-child {
    font-size: 15px !important;
    line-height: 24px !important;
    letter-spacing: 1.5px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* ----- Risks panel — 2列 ----- */
  body:has(.first-visit-page) .first-visit-risks-panel {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 32px 24px !important;
    padding: 40px 32px !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel > * {
    flex: 1 1 calc(50% - 12px) !important;
    width: auto !important;
    max-width: calc(50% - 12px) !important;
    min-width: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='flex-col'][class*='gap-[40px]'] {
    gap: 24px !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='gap-[24px]'] {
    gap: 16px !important;
    align-items: flex-start !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='h-[32px]'][class*='w-[39.5px]'] {
    width: 28px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  body:has(.first-visit-page) .first-visit-risks-panel [class*='text-[18px]'] {
    font-size: 15px !important;
    line-height: 24px !important;
    letter-spacing: 1.5px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}
