/* Copied from ../styles/main.css top-page flow slider styles. Keep in sync with index.html. */
    .flow-slider {
      background: #fff;
      border-top: 1px solid #f0e1d1;
      border-bottom: 1px solid #f0e1d1;
      padding: 72px 16px 84px;
      overflow: hidden;
      overflow-anchor: none;
      color: #2b2b2b;
      font-family: "BIZ UDPGothic", "Noto Sans JP", sans-serif;
      letter-spacing: 0;
    }

    .flow-slider__inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .flow-slider__heading-band {
      border-left: 7px solid #e96a42;
      background: #fdebdc;
      padding: 18px 24px 20px;
      box-shadow: 0 8px 22px rgba(91, 60, 34, 0.08);
    }

    .flow-slider__eyebrow {
      margin: 0 0 4px;
      color: #1f5a43;
      font-size: 0.78rem;
      font-weight: 900;
      line-height: 1.4;
    }

    .flow-slider__title {
      margin: 0;
      color: #2b2b2b;
      font-family: var(--font-heading);
      font-size: 2.15rem;
      font-weight: 900;
      line-height: 1.45;
      letter-spacing: 0;
    }

    .flow-slider__stage {
      position: relative;
      max-width: 620px;
      margin: 0 auto;
      text-align: center;
    }

    .flow-slider__slides {
      position: relative;
      min-width: 0;
    }

    .flow-slide {
      display: block;
    }

    .flow-slide + .flow-slide {
      margin-top: 42px;
      padding-top: 36px;
      border-top: 1px solid #f0e1d1;
    }

    .flow-slider.is-enhanced .flow-slide:not(.is-active) {
      display: none;
    }

    .flow-slider.is-enhanced .flow-slide + .flow-slide {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
    }

    .flow-slider__media {
      position: relative;
      aspect-ratio: 4 / 3;
      width: 100%;
      overflow: hidden;
      background: #f7efe6;
      border: 1px solid #eadfcc;
      box-shadow: 0 6px 18px rgba(71, 45, 22, 0.08);
    }

    .flow-slider__image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .flow-slider__placeholder {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 48px 32px 34px;
      background: linear-gradient(135deg, #f8f1e7 0%, #fff 48%, #eaf2e8 100%);
      color: #6b5a45;
      text-align: center;
    }

    .flow-slider__photo-mark {
      display: block;
      width: 132px;
      height: 88px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.72);
      box-shadow: inset 0 0 18px rgba(55, 74, 58, 0.08);
    }

    .flow-slider__photo-label {
      color: #6b5a45;
      font-size: 1rem;
      font-weight: 900;
      line-height: 1.6;
    }

    .flow-slider__photo-note {
      color: #777;
      font-size: 0.88rem;
      font-weight: 700;
      line-height: 1.7;
    }

    .flow-slider__counter {
      display: none;
      position: absolute;
      top: 18px;
      left: 50%;
      z-index: 3;
      margin: 0;
      padding: 5px 13px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.88);
      color: #1f5a43;
      font-size: 0.88rem;
      font-weight: 900;
      line-height: 1.4;
    }

    .flow-slider.is-enhanced .flow-slider__counter {
      display: block;
    }

    .flow-slide__title {
      margin: 28px 0 0;
      color: #333;
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 900;
      line-height: 1.45;
      letter-spacing: 0;
    }

    .flow-slide__text {
      max-width: 560px;
      margin: 18px auto 0;
      color: #3f3f3f;
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.9;
      text-align: center;
    }

    .flow-slider__arrow {
      display: none;
      position: absolute;
      top: calc(min(620px, 100vw - 32px) * 0.375);
      z-index: 4;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      transform: translateY(-50%);
      border: 0;
      background: #f2653f;
      color: #fff;
      box-shadow: 0 10px 18px rgba(126, 59, 34, 0.22);
      cursor: pointer;
      transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    }

    .flow-slider.is-enhanced .flow-slider__arrow {
      display: flex;
    }

    .flow-slider__arrow span {
      display: block;
      margin-top: -2px;
      font-size: 2.8rem;
      font-weight: 400;
      line-height: 1;
    }

    .flow-slider__arrow--prev {
      left: -64px;
    }

    .flow-slider__arrow--next {
      right: -64px;
    }

    .flow-slider__arrow:hover,
    .flow-slider__arrow:focus-visible {
      background: #d94d2e;
      box-shadow: 0 12px 24px rgba(126, 59, 34, 0.3);
      outline: 3px solid rgba(242, 101, 63, 0.28);
      outline-offset: 3px;
    }

    .flow-slider__arrow:active {
      transform: translateY(-50%) scale(0.97);
    }

    .flow-slider__dots {
      display: none;
      justify-content: center;
      gap: 10px;
      margin-top: 28px;
    }

    .flow-slider.is-enhanced .flow-slider__dots {
      display: flex;
    }

    .flow-slider__dot {
      width: 11px;
      height: 11px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: #d7d7d7;
      cursor: pointer;
      transition: background-color 0.2s, transform 0.2s;
    }

    .flow-slider__dot.is-active {
      background: #f2653f;
      transform: scale(1.18);
    }

    .flow-slider__dot:focus-visible {
      outline: 3px solid rgba(242, 101, 63, 0.32);
      outline-offset: 4px;
    }

    @media (max-width: 640px) {
      .flow-slider {
        padding: 56px 14px 68px;
      }

      .flow-slider__heading-band {
        padding: 15px 17px 17px;
      }

      .flow-slider__title {
        font-size: 1.75rem;
      }

      .flow-slider__arrow {
        width: 44px;
        height: 44px;
      }

      .flow-slider__arrow--prev {
        left: -2px;
      }

      .flow-slider__arrow--next {
        right: -2px;
      }

      .flow-slider__arrow span {
        font-size: 2.3rem;
      }

      .flow-slider__placeholder {
        padding: 46px 22px 28px;
      }

      .flow-slider__photo-mark {
        width: 112px;
        height: 72px;
      }

      .flow-slide__title {
        margin-top: 22px;
        font-size: 1.55rem;
      }

      .flow-slide__text {
        font-size: 0.98rem;
        line-height: 1.85;
        text-align: left;
      }
    }

    .flow-swipe-hint {
      text-align: center;
      font-size: 0.9rem;
      margin-top: 12px;
      color: #1f5f4a;
    }

    .flow-swipe-arrow {
      display: inline-block;
      margin-left: 8px;
      animation: swipeArrow 1.2s ease-in-out infinite;
    }

    @keyframes swipeArrow {
      0% { transform: translateX(0); opacity: 0.5; }
      50% { transform: translateX(8px); opacity: 1; }
      100% { transform: translateX(0); opacity: 0.5; }
    }
