/* =========================================================
   お仕事までの流れページ
   共通ヘッダー・フッターは job-list.css を使用
   ========================================================= */

.flow-page {
  background: #fffdf9;
  color: #20242b;
}

.flow-page main {
  overflow: hidden;
}

.flow-page main h1,
.flow-page main h2,
.flow-page main h3,
.flow-page main p {
  margin-top: 0;
}

.pc-only {
  display: inline;
}

/* ヒーロー */
.flow-hero {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  overflow: hidden;
  background-color: #f6f3ee;
  background-image:
    url("https://res.cloudinary.com/dg80bed2k/image/upload/v1776915494/flow-top.png");
  background-repeat: no-repeat;
  background-position: center 44%;
  background-size: cover;
}

.flow-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.91) 24%,
      rgba(255, 255, 255, 0.38) 48%,
      rgba(255, 255, 255, 0.04) 76%
    );
}

.flow-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.flow-hero__copy {
  width: min(480px, 48%);
}

.flow-hero__message {
  margin-bottom: 4px;
  color: #20242b;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.65;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.flow-hero__script {
  position: relative;
  display: inline-block;
  margin: -3px 0 18px 112px;
  color: #eaa06b;
  font-family: "Caveat", cursive;
  font-size: clamp(27px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1;
  transform: rotate(-5deg);
}

.flow-hero__script::after {
  position: absolute;
  right: -14px;
  bottom: -5px;
  left: -115px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #f47a2c,
      rgba(244, 122, 44, 0)
    );
  content: "";
  transform: rotate(-3deg);
}

.flow-hero h1 {
  margin-bottom: 2px;
  color: #171a1f;
  font-size: clamp(36px, 4.1vw, 60px);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.flow-hero__english {
  margin-bottom: 0;
  color: #ee681f;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.flow-hero__catch {
  margin: 75px 8px 0 auto;
  color: #24262a;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.75;
  transform: rotate(-6deg);
}

.flow-hero__catch::after {
  display: block;
  width: 125%;
  height: 3px;
  margin-top: 5px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #ff7a20 0 75%,
      transparent
    );
  content: "";
  transform: rotate(-6deg);
}

/* パンくず */
.flow-breadcrumb {
  border-bottom: 1px solid #eee5da;
  background: #fff;
}

.flow-breadcrumb ol {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  min-height: 56px;
  margin: 0 auto;
  padding: 0;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.flow-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #59616d;
  font-size: 13px;
  font-weight: 500;
}

.flow-breadcrumb li + li::before {
  margin-right: 18px;
  color: #a7a29b;
  content: ">";
}

.flow-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ed681f;
  font-weight: 700;
}

.flow-breadcrumb a:hover {
  text-decoration: underline;
}

/* 共通見出し */
.flow-heading {
  margin-bottom: 32px;
  text-align: center;
}

.flow-heading__en {
  margin-bottom: 4px;
  color: #ef6f24;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.flow-heading h2 {
  margin-bottom: 8px;
  color: #1c2027;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.flow-heading h2 span {
  color: #ef6118;
}

.flow-heading__lead {
  margin-bottom: 8px;
  color: #2d3139;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
}

.flow-heading__support {
  margin-bottom: 0;
  color: #69707b;
  font-size: 14px;
  line-height: 1.8;
}

/* お仕事までの流れ */
.flow-guide {
  position: relative;
  padding: 70px 24px 84px;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(255, 218, 181, 0.25),
      transparent 230px
    ),
    linear-gradient(
      180deg,
      #fffaf3 0%,
      #fffdf9 100%
    );
}

.flow-guide__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.flow-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: start;
  gap: 30px;
}

/* タイムライン */
.flow-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.flow-timeline::before {
  position: absolute;
  z-index: 0;
  top: 42px;
  bottom: 42px;
  left: 28px;
  border-left: 3px dotted #ff852f;
  content: "";
}

.flow-step-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.flow-step-number {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 4px solid #fffaf3;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #ff8b1d,
      #f45a0a
    );
  box-shadow:
    0 8px 19px rgba(231, 94, 18, 0.22);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.flow-step-card {
  display: grid;
  min-height: 168px;
  overflow: hidden;
  grid-template-columns: 82px minmax(210px, 1fr) 240px;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(233, 221, 207, 0.9);
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 12px 33px rgba(90, 62, 37, 0.1);
}

.flow-step-icon {
  display: flex;
  width: 66px;
  height: 66px;
  margin-left: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff0e2;
  color: #f2641c;
  font-size: 31px;
}

.flow-step-copy {
  min-width: 0;
  padding: 26px 0;
}

.flow-step-label {
  display: none;
  margin-bottom: 3px;
  color: #ee6a21;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flow-step-copy h3 {
  margin-bottom: 9px;
  color: #211d1a;
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 800;
  line-height: 1.4;
}

.flow-step-copy p:last-child {
  margin-bottom: 0;
  color: #606773;
  font-size: 14px;
  line-height: 1.85;
}

.flow-step-visual {
  position: relative;
  align-self: stretch;
  min-height: 166px;
  overflow: hidden;
}

.flow-step-visual::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42px;
  background:
    linear-gradient(
      90deg,
      #fff,
      rgba(255, 255, 255, 0)
    );
  content: "";
  pointer-events: none;
}

.flow-step-visual img {
  width: 100%;
  height: 100%;
  min-height: 166px;
  object-fit: cover;
  object-position: center;
}

.flow-step-note {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 5px;
  display: inline-block;
  max-width: 150px;
  padding: 8px 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 6px 15px rgba(49, 39, 30, 0.09);
  color: #333942;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  transform: rotate(-5deg);
}

.flow-step-note::before {
  position: absolute;
  top: 50%;
  left: -16px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: #ff7621;
  box-shadow:
    -4px -7px 0 #ff7621,
    -4px 7px 0 #ff7621;
  content: "";
}

/* サイドエリア */
.flow-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
}

.flow-side-card {
  border: 1px solid #eee3d7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 13px 34px rgba(86, 57, 31, 0.1);
}

.flow-side-card--register {
  padding: 27px 24px 24px;
}

.flow-side-card__eyebrow {
  margin-bottom: 2px;
  color: #373b42;
  font-size: 14px;
  font-weight: 700;
}

.flow-side-card--register h2 {
  margin-bottom: 10px;
  color: #28231f;
  font-size: 19px;
  line-height: 1.55;
}

.flow-side-card--register h2 strong {
  color: #f25f16;
  font-size: 25px;
}

.flow-side-card--register > p:not(.flow-side-card__eyebrow) {
  margin-bottom: 18px;
  color: #6a707a;
  font-size: 13px;
  line-height: 1.75;
}

.flow-primary-button,
.flow-line-button,
.flow-outline-button,
.flow-mini-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.flow-primary-button {
  min-height: 58px;
  padding: 13px 18px;
  justify-content: space-between;
  background:
    linear-gradient(
      135deg,
      #ff8b12,
      #ef4d09
    );
  box-shadow:
    0 10px 22px rgba(232, 83, 14, 0.21);
  color: #fff;
  font-size: 16px;
}

.flow-primary-button .fa-paper-plane {
  font-size: 21px;
}

.flow-primary-button .fa-chevron-right {
  font-size: 12px;
}

.flow-primary-button:hover {
  box-shadow:
    0 14px 28px rgba(232, 83, 14, 0.29);
  transform: translateY(-2px);
}

.flow-line-button {
  min-height: 51px;
  margin-top: 10px;
  padding: 11px 16px;
  gap: 10px;
  border: 2px solid #21c764;
  background: #fff;
  color: #252a30;
  font-size: 14px;
}

.flow-line-button .fa-line {
  color: #16bf5b;
  font-size: 24px;
}

.flow-line-button:hover {
  background: #f1fff6;
  transform: translateY(-2px);
}

.flow-login-divider {
  position: relative;
  margin: 22px 0 13px;
  border-top: 1px solid #e8e3dd;
  text-align: center;
}

.flow-login-divider span {
  position: relative;
  top: -12px;
  display: inline-block;
  padding: 0 11px;
  background: #fff;
  color: #8a8d92;
  font-size: 11px;
}

.flow-outline-button {
  min-height: 48px;
  margin-top: -8px;
  padding: 10px 17px;
  justify-content: space-between;
  border: 1px solid #f36c23;
  background: #fff;
  color: #dc5818;
  font-size: 14px;
}

.flow-outline-button:hover,
.flow-mini-button:hover {
  background: #fff5ee;
  transform: translateY(-2px);
}

.flow-side-card--contact {
  display: grid;
  min-height: 154px;
  padding: 22px;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  background:
    linear-gradient(
      135deg,
      #fff9f1,
      #fff0df
    );
}

.flow-contact-icon,
.flow-support-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #f26920;
  font-size: 25px;
}

.flow-side-card--contact h2 {
  margin-bottom: 14px;
  color: #34302d;
  font-size: 14px;
  line-height: 1.7;
}

.flow-mini-button {
  min-height: 39px;
  padding: 8px 13px;
  justify-content: space-between;
  border: 1px solid #f3732c;
  background: #fff;
  color: #d95818;
  font-size: 12px;
}

.flow-side-card--support {
  position: relative;
  display: grid;
  min-height: 116px;
  padding: 22px;
  overflow: hidden;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  background:
    linear-gradient(
      135deg,
      #fff9ef,
      #ffe8cf
    );
}

.flow-side-card--support::after {
  position: absolute;
  right: -26px;
  bottom: -48px;
  width: 140px;
  height: 90px;
  border-radius: 50% 50% 0 0;
  background: rgba(242, 111, 33, 0.08);
  content: "";
}

.flow-side-card--support p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: #4d453e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.flow-side-card--support strong {
  color: #27231f;
  font-size: 15px;
}

/* よくある質問 */
.flow-faq {
  position: relative;
  padding: 72px 24px 80px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 3% 35%,
      rgba(255, 220, 180, 0.38) 0 72px,
      transparent 73px
    ),
    radial-gradient(
      circle at 13% 33%,
      rgba(255, 220, 180, 0.35) 0 25px,
      transparent 26px
    ),
    radial-gradient(
      circle at 95% 86%,
      rgba(255, 220, 180, 0.31) 0 96px,
      transparent 97px
    ),
    #fff;
}

.flow-faq__inner {
  position: relative;
  z-index: 1;
  width: min(930px, 100%);
  margin: 0 auto;
}

.flow-heading--faq {
  margin-bottom: 31px;
}

.flow-heading--faq h2 {
  margin-bottom: 11px;
}

.flow-faq__decoration {
  position: absolute;
  z-index: 0;
  top: 68px;
  right: 7%;
  color: rgba(236, 144, 82, 0.28);
  font-family: "Caveat", cursive;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.78;
  text-align: center;
  transform: rotate(-10deg);
}

.flow-faq-list {
  display: grid;
  gap: 10px;
}

.flow-faq-item {
  overflow: hidden;
  border: 1px solid #e9e2da;
  border-radius: 9px;
  background: #fff;
  box-shadow:
    0 5px 18px rgba(70, 54, 39, 0.07);
}

.flow-faq-item summary {
  display: grid;
  min-height: 61px;
  padding: 13px 22px;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #30343a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.flow-faq-item summary::-webkit-details-marker {
  display: none;
}

.flow-faq-item summary:focus-visible {
  outline: 3px solid rgba(242, 111, 33, 0.28);
  outline-offset: -3px;
}

.flow-faq-plus {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff791f;
}

.flow-faq-plus::before,
.flow-faq-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.flow-faq-plus::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);
}

.flow-faq-item[open] .flow-faq-plus::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}

.flow-faq-item[open] summary {
  color: #dc5918;
}

.flow-faq-answer {
  padding: 0 22px 20px 68px;
}

.flow-faq-answer p {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid #f0e9e2;
  color: #666d77;
  font-size: 14px;
  line-height: 1.9;
}

/* 下部CTA */
.flow-bottom-cta {
  padding: 0 24px 82px;
  background: #fff;
}

.flow-bottom-cta__inner {
  position: relative;
  display: grid;
  width: min(1140px, 100%);
  min-height: 150px;
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: 270px minmax(0, 1fr) 310px;
  align-items: center;
  gap: 26px;
  border: 2px solid #ff8a34;
  border-radius: 17px;
  background:
    linear-gradient(
      100deg,
      #fff 0%,
      #fffaf2 55%,
      #fff1df 100%
    );
  box-shadow:
    0 14px 35px rgba(102, 72, 42, 0.09);
}

.flow-bottom-cta__inner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35px;
  background:
    linear-gradient(
      135deg,
      transparent 33%,
      rgba(242, 111, 33, 0.08) 34% 66%,
      transparent 67%
    )
    0 0 / 35px 35px;
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.flow-bottom-cta__image {
  align-self: stretch;
  overflow: hidden;
}

.flow-bottom-cta__image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center;
}

.flow-bottom-cta__copy,
.flow-bottom-cta__actions {
  position: relative;
  z-index: 1;
}

.flow-bottom-cta__copy p {
  margin-bottom: 7px;
  color: #646a72;
  font-size: 13px;
  font-weight: 600;
}

.flow-bottom-cta__copy h2 {
  margin-bottom: 0;
  color: #292520;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.5;
}

.flow-bottom-cta__copy h2 span {
  color: #ee5d15;
}

.flow-bottom-cta__actions {
  padding-right: 22px;
}

.flow-bottom-cta__contact {
  display: flex;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555b64;
  font-size: 12px;
  font-weight: 700;
}

.flow-bottom-cta__contact:hover {
  color: #e55a18;
}

/* タブレット */
@media (max-width: 1100px) {
  .flow-hero__inner,
  .flow-breadcrumb ol {
    width: min(100% - 40px, 1000px);
  }

  .flow-guide__layout {
    grid-template-columns: minmax(0, 1fr) 294px;
    gap: 22px;
  }

  .flow-step-card {
    grid-template-columns:
      70px
      minmax(180px, 1fr)
      190px;
    gap: 14px;
  }

  .flow-step-icon {
    width: 58px;
    height: 58px;
    margin-left: 12px;
    font-size: 27px;
  }

  .flow-step-copy p:last-child {
    font-size: 13px;
  }

  .flow-step-note {
    max-width: 132px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .flow-bottom-cta__inner {
    grid-template-columns:
      220px
      minmax(0, 1fr)
      280px;
    gap: 20px;
  }
}

@media (max-width: 940px) {
  .flow-hero {
    min-height: 330px;
    background-position: 56% center;
  }

  .flow-hero__shade {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.85) 36%,
        rgba(255, 255, 255, 0.08) 72%
      );
  }

  .flow-hero__catch {
    display: none;
  }

  .flow-hero__copy {
    width: min(500px, 58%);
  }

  .flow-guide__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-sidebar {
    position: static;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .flow-side-card--register {
    grid-row: span 2;
  }

  .flow-bottom-cta__inner {
    grid-template-columns:
      190px
      minmax(0, 1fr)
      250px;
  }
}

/* スマートフォン */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .flow-hero {
    min-height: 290px;
    background-position: 62% center;
  }

  .flow-hero__shade {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.88) 48%,
        rgba(255, 255, 255, 0.12) 88%
      );
  }

  .flow-hero__inner,
  .flow-breadcrumb ol {
    width: calc(100% - 34px);
  }

  .flow-hero__copy {
    width: 72%;
  }

  .flow-hero__message {
    font-size: 13px;
    line-height: 1.6;
  }

  .flow-hero__script {
    margin: -2px 0 17px 60px;
    font-size: 25px;
  }

  .flow-hero__script::after {
    left: -63px;
  }

  .flow-hero h1 {
    font-size: clamp(27px, 8vw, 36px);
    letter-spacing: 0.02em;
  }

  .flow-hero__english {
    font-size: 17px;
  }

  .flow-breadcrumb ol {
    min-height: 50px;
    gap: 11px;
  }

  .flow-breadcrumb li {
    font-size: 12px;
  }

  .flow-breadcrumb li + li::before {
    margin-right: 11px;
  }

  .flow-guide {
    padding: 55px 17px 62px;
  }

  .flow-heading {
    margin-bottom: 27px;
  }

  .flow-heading__en {
    font-size: 12px;
  }

  .flow-heading h2 {
    font-size: 28px;
  }

  .flow-heading__lead {
    font-size: 15px;
  }

  .flow-heading__support {
    font-size: 13px;
  }

  .flow-timeline {
    gap: 16px;
  }

  .flow-timeline::before {
    top: 26px;
    bottom: 26px;
    left: 20px;
    border-left-width: 2px;
  }

  .flow-step-row {
    grid-template-columns:
      42px
      minmax(0, 1fr);
    align-items: start;
    gap: 9px;
  }

  .flow-step-number {
    width: 42px;
    height: 42px;
    margin-top: 14px;
    border-width: 3px;
    font-size: 14px;
  }

  .flow-step-card {
    min-height: 0;
    grid-template-columns:
      60px
      minmax(0, 1fr);
    gap: 13px;
    border-radius: 13px;
  }

  .flow-step-icon {
    width: 50px;
    height: 50px;
    margin-left: 12px;
    font-size: 23px;
  }

  .flow-step-copy {
    padding: 21px 15px 18px 0;
  }

  .flow-step-label {
    display: block;
  }

  .flow-step-copy h3 {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .flow-step-copy p:last-child {
    font-size: 13px;
    line-height: 1.75;
  }

  .flow-step-visual {
    min-height: 160px;
    grid-column: 1 / -1;
  }

  .flow-step-visual::after {
    display: none;
  }

  .flow-step-visual img {
    min-height: 160px;
    max-height: 210px;
  }

  .flow-step-note {
    top: 15px;
    left: 15px;
    max-width: 155px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .flow-step-note::before {
    display: none;
  }

  .flow-sidebar {
    margin-top: 10px;
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-side-card--register {
    grid-row: auto;
    padding: 25px 20px 22px;
  }

  .flow-side-card--register h2 {
    font-size: 18px;
  }

  .flow-side-card--register h2 strong {
    font-size: 24px;
  }

  .flow-side-card--contact,
  .flow-side-card--support {
    min-height: 125px;
    padding: 20px;
  }

  .flow-faq {
    padding: 57px 17px 62px;
    background:
      radial-gradient(
        circle at 0% 18%,
        rgba(255, 220, 180, 0.27) 0 55px,
        transparent 56px
      ),
      radial-gradient(
        circle at 100% 95%,
        rgba(255, 220, 180, 0.25) 0 78px,
        transparent 79px
      ),
      #fff;
  }

  .flow-faq__decoration {
    top: 26px;
    right: -12px;
    font-size: 39px;
    opacity: 0.65;
  }

  .flow-faq-item summary {
    min-height: 58px;
    padding: 12px 14px;
    grid-template-columns:
      28px
      minmax(0, 1fr);
    gap: 11px;
    font-size: 14px;
  }

  .flow-faq-plus {
    width: 26px;
    height: 26px;
  }

  .flow-faq-answer {
    padding: 0 15px 17px 53px;
  }

  .flow-faq-answer p {
    padding-top: 13px;
    font-size: 13px;
    line-height: 1.8;
  }

  .flow-bottom-cta {
    padding: 0 17px 65px;
  }

  .flow-bottom-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-radius: 15px;
  }

  .flow-bottom-cta__image {
    height: 180px;
  }

  .flow-bottom-cta__image img {
    min-height: 180px;
  }

  .flow-bottom-cta__copy {
    padding: 22px 20px 5px;
    text-align: center;
  }

  .flow-bottom-cta__copy p {
    font-size: 12px;
  }

  .flow-bottom-cta__copy h2 {
    font-size: 21px;
  }

  .flow-bottom-cta__actions {
    padding: 17px 20px 28px;
  }

  .flow-bottom-cta__inner::after {
    display: none;
  }
}

@media (max-width: 420px) {
  .flow-hero {
    min-height: 265px;
    background-position: 64% center;
  }

  .flow-hero__copy {
    width: 78%;
  }

  .flow-hero__message {
    font-size: 12px;
  }

  .flow-hero h1 {
    font-size: 26px;
  }

  .flow-step-card {
    grid-template-columns:
      51px
      minmax(0, 1fr);
    gap: 10px;
  }

  .flow-step-icon {
    width: 44px;
    height: 44px;
    margin-left: 8px;
    font-size: 20px;
  }

  .flow-step-copy {
    padding-right: 12px;
  }

  .flow-step-copy h3 {
    font-size: 19px;
  }

  .flow-side-card--contact,
  .flow-side-card--support {
    grid-template-columns:
      50px
      minmax(0, 1fr);
    gap: 12px;
  }

  .flow-contact-icon,
  .flow-support-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-primary-button,
  .flow-line-button,
  .flow-outline-button,
  .flow-mini-button,
  .flow-faq-plus::before,
  .flow-faq-plus::after {
    transition: none;
  }
}


/* =========================================================
   ヒーロー部分の文字位置・改行修正
   ========================================================= */

/* 「お仕事までの流れ」を1行で表示 */
.flow-hero h1 {
  white-space: nowrap;
}

/* タイトルが収まる横幅を確保 */
@media (min-width: 769px) {
  .flow-hero__copy {
    width: min(720px, 65%);
  }
}

/*
  「はたらく、を もっとやさしく。」を
  人物に重ならない中央寄りの位置へ移動
*/
@media (min-width: 1281px) {
  .flow-hero__catch {
    position: absolute;
    top: 35px;
    right: auto;
    bottom: auto;
    left: 52%;
    width: max-content;
    max-width: 240px;
    margin: 0;
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(45, 55, 65, 0.1);
    color: #24262a;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.65;
    white-space: nowrap;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transform: rotate(-4deg);
  }

  .flow-hero__catch::after {
    width: 105%;
    margin-top: 3px;
  }
}

/* 横幅が狭い画面では装飾文章を非表示にして重なりを防止 */
@media (max-width: 1280px) {
  .flow-hero__catch {
    display: none;
  }
}

/* 小さいiPhoneでもタイトルを1行に収める */
@media (max-width: 420px) {
  .flow-hero h1 {
    font-size: clamp(23px, 7vw, 26px);
    letter-spacing: 0;
  }
}