@charset "UTF-8";

/* ===== mv ========================================== */
h1 img{
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
}
h1.MV{
    background-image: url(../img/mv_pc_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

  /* ===== Button ========================================== */
  .btn-wrap{
    display: flex;
    justify-content: center;
    margin: 25px 0;
  }
  
  .btn-contact{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    width: 460px;
    height: 64px;
  
    background: #D8842A;
    color: #fff;
    text-decoration: none;
  
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .06em;
  
    border-radius: 9999px; 
  }
  
  .btn-contact::after{
    content: "";
    position: absolute;
    top: 12px;
    right: 18px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
  }
  .btn-contact:hover{
    opacity: .9;
  }
  @media only screen and (max-width: 766px){
    .btn-contact{
        width: 90%;
        height: 60px;
        font-size: 18px;
    }
    .btn-wrap{
        display: flex;
        justify-content: center;
        margin: 15px 0 50px;
      }
  }
/* ===== problem ========================================== */
.bg-gray{ background: var(--bg-gray); }

.problem{
  font-family: var(--ff);
  color: var(--text);
}

.problem__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 50px 80px;
}

/* h2ピル */
.problem__title{
  margin: 0 auto 35px;
  width: fit-content;
  padding: 14px 56px;
  background: var(--pill);
  color: #fff;
  border-radius: 12px;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
/* ===== 共通：リスト本体 ===== */
.problem__list{
  list-style: none;
  margin: 0;
  padding: 0;
}
/* ===== PC：カード化（grid + card） ===== */
@media (min-width: 769px){
  .problem__list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .problem__item{
    background: var(--card);
    border-radius: 10px;
    padding: 18px 18px 16px;
    min-height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .problem__dot{
    font-size: 30px;
    line-height: 0.5;
    margin-bottom: 10px;
    color: #2f2f2f;
  }

  .problem__text{
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }

  .problem__sub{
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--muted);
  }
}
/* 2列崩れ（タブレット） */
@media (max-width: 1050px) and (min-width: 769px){
  .problem__list{
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===== SP：箇条書き化（同じHTMLを見せ方だけ変更） ===== */
@media (max-width: 768px){
  .problem__inner{
    padding: 50px 0;
    width: auto;
    max-width: 560px;
    margin: 0 auto;
    padding-left: 5vw;      
    padding-right: 5vw;
  }

  .problem__title{
    padding: 8px 0;
    font-size: 22px;
    width: 100%;
    text-align: center;
    color: #fff;
    border-radius: 6px;
  }

  .problem__list{
    display: grid;
    gap: 18px;
    padding: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: max-content;
  }

  .problem__item{
    width: fit-content;       /* ← 行の幅を中身に合わせる */
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0px;
  }

  .problem__dot{
    flex: 0 0 auto;
    color: #2f2f2f;
    font-size: 30px;
    line-height: 0.8;
    margin-top: 1px;
  }

  .problem__text{
    text-align: left;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
  }

  .problem__sub{
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
  }
}
/* ===== solution ========================================== */
.solution{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 50px 100px;
}
.solution__inner{
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06), 0 24px 60px rgba(0, 0, 0, .04);
  border-radius: 45px;
}
h2.solution__title{
  margin: 0;
  padding: 50px 50px 25px 50px;
}
.solution__text{
  margin: 0 auto;
  padding: 30px 50px 50px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}
/* ===== SP：箇条書き化（同じHTMLを見せ方だけ変更） ===== */
@media (max-width: 768px){
  .solution {
    width: 90%;
    margin: 0 auto;
    padding: 0px 0 70px;
  }
  .solution__inner {
    border-radius: 30px;
  }
  h2.solution__title {
    padding: 20px 20px 15px;
  }
  .solution__text {
    margin: 0 auto;
    padding: 18px 27px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
  }
}
/* ===== Strengths ========================================== */
.strengths{
  background: #f8edc9;
  font-family: "Noto Sans JP", sans-serif;
  color: #2a2a2a;
}
.strengths__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 50px 100px;
}
/* Head */
.strengths__head{ padding: 90px 0 45px; }
.strengths__en{
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #e28a2d;
}
.strengths__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
}
.strengths__ttl .kerning{
  letter-spacing: -.08em;
  margin-right: 5px;
}
/* Grid */
.strengths__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 50px;
}
/* Item */
.strengths__itemTtl{
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  color: #e28a2d;
}
.strengths__num{
  width: 58px;
  height: auto;
  flex: 0 0 auto;
  display: block;
}
.strengths__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* 画像に角丸あるなら0でもOK */
  margin: 0 0 18px;
}
.strengths__txt p{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.strengths__txt p:last-child{ margin-bottom: 0; }
/* Tablet */
@media (max-width: 980px){
  .strengths__inner{ padding: 0 24px 80px; }
  .strengths__grid{ gap: 40px 36px; }
  .strengths__ttl{ font-size: 34px; }
}
/* SP */
@media (max-width: 768px){
  .strengths__inner{ padding: 0 18px 70px; }
  .strengths__head{ padding: 55px 0 28px; }
  .strengths__ttl{ font-size: 30px; }

  .strengths__grid{
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .strengths__itemTtl{
    font-size: 22px;
  }
  .strengths__num{ width: 52px; }
  .strengths__txt p{
    font-size: 15px;
    font-weight: 400;
  }
}
/* ===== Example Workers =============================== */
.example{
  font-family: "Noto Sans JP", sans-serif;
  color: #2a2a2a;
}
.example__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 50px 100px;
}
/* ===== Head ===== */
.example__head{
  margin-bottom: 45px;
}
.example__en{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #e7ba1c;
}
.example__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .04em;
}
/* ===== Grid ===== */
.example__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 45px;
}
/* ===== Card（3段固定構造） ===== */
.example__card{
  background: #f2f2f2;
  border-radius: 18px;
  overflow: hidden;

  display: grid;
  grid-template-rows: var(--cap-h) auto var(--foot-h);
}

/* 上グレー：タイトル（高さ固定＆縦中央） */
.example__cardTtl{
  margin: 0;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  overflow: hidden;
}

/* 画像：比率固定＋カバーで100% */
.example__img{
  width: 100%;
  height: auto;
  display: block;

  aspect-ratio: var(--img-ar); /* ←固定高をやめて比率で揃える */
  object-fit: cover;
  object-position: center;
}

/* 下グレー：固定 */
.example__cardFoot{
  background: #f2f2f2;
}

/* 変数 */
:root{
  --cap-h: 80px;
  --foot-h: 18px;
  --img-ar: 4 / 3;  /* ←ここだけで全端末の“画像の見え方”を統一できる */
}
@media (max-width: 980px){
  .example__inner{
    padding: 0 30px 90px;
  }
  .example__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
  :root{
    :root{ --img-ar: 4 / 3; } /* 必要なら微調整 */
  }
}
/* ===== SP ===== */
@media (max-width: 768px){
  .example__inner{
    padding: 60px 18px;
  }
  .example__ttl{
    font-size: 30px;
  }
  .example__head{
    margin-bottom: 0;
    padding-bottom: 28px;
    line-height: 1.2;
  }
  /* ★ SPは2列 */
  .example__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .example__card{
    border-radius: 16px;
  }
  .example__cardTtl{
    font-size: 16px;
    padding: 0 10px;
  }
  :root{
    --cap-h: 72px;
    --foot-h: 15px;
    --img-ar: 4 / 3;
  }
}
/* ===== CTA ===== */
.example__lead{
  margin: 0 0 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}
.example__btn{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  max-width: 100%;
  margin: 0 auto;
  height: 62px;
  border-radius: 9999px;
  background: #d4872c;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
}
.example__btn::after{
  content: "";
  position: absolute;
  right: 22px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .95;
}
.example__btn:hover{
  opacity: .9;
}
/* ===== CTA SP ===== */
@media (max-width: 768px){
  .example__btn{
    width: 90%;
    height: 60px;
    font-size: 18px;
  }
  .example__lead {
    letter-spacing: .02em;
    font-size: 17px;
}
  .example__btn::after{
    right: 24px;
    top: 18px;
    width: 9px;
    height: 9px;
  }
  .example__grid{
    margin-bottom: 30px;
  }
}
/* ===== Work Options =============================== */
.work{
  color: #2a2a2a;
}
.work__bg{
  background: #f1f1f1;
}
.work__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px 100px;
}
.work__head{
  padding: 90px 0 45px;
}
.work__en{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #e7ba1c;
}
.work__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .04em;
}
.work__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.work__label{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  padding: 10px 25px;
  background: #e9933a;
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
}
.work__label::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #e9933a;
}
.work__type{
  position: relative;
  margin: 0 auto 22px;
  width: min(500px, calc(100% - 20px));
  padding: 10px 20px 20px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  background: #fff;
  z-index: 1;
}
.work__type::before{
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(0px, 0px);
  box-shadow: 0 12px 24px #92814159;
  z-index: -2;
}
/* 上レイヤー：黄色グラデ（60%） */
.work__type::after{
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-10px, -10px);
  background: linear-gradient(
    to right,
    rgba(238, 218, 0, 0.6) 0%,
    rgba(238, 218, 0, 0) 100%
  );
  z-index: -1;
}
.work__col{
  display: grid;
  justify-items: center; /* label と type と cards を中央に */
}
/* Description */
.work__desc{
  margin: 0 0 34px;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  font-weight: 500;
  justify-self: stretch;  /* 幅いっぱい使う */
  text-align: center;
}
/* Cards */
.work__cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
/* Card */
.work__card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.work__time{
  margin: 0;
  padding: 18px 18px 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: #e9933a;
}
/* ⑤ 職種前の黄色ドット（ピル） */
.work__job{
  margin: 0;
  padding: 0 18px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #2a2a2a;
}
.work__pill{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f3e45d;
  flex: 0 0 auto;
}
/* ② 画像：四角形、角丸は親でhidden */
.work__img{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===== Responsive ===== */
@media (max-width: 980px){
  .work__inner{
    padding: 0 30px 90px;
  }
  .work__cols{
    grid-template-columns: 1fr;
    gap: 70px;
  }
}
@media (max-width: 768px){
  .work__inner{
    padding: 0 18px 80px;
  }
  .work__head{
    padding: 60px 0 34px;
    line-height: 1.2;
  }
  .work__ttl{
    font-size: 30px;
  }
  .work__label{
    font-size: 15px;
    padding: 10px 22px;
  }
  .work__type{
    font-size: 25px;
    padding: 5px 14px 15px;
  }
  /* SPは影のズレを少し弱める（端末幅が狭いので） */
  .work__type::before{
    transform: translate(0px, 0px);
    box-shadow: 0 10px 20px #92814159;
  }
  .work__cols{
    gap: 45px; /* 70 → 45 などに */
  }
  .work__cards{
    gap: 10px;
  }
  .work__time{
    font-size: 16px;
    padding: 18px 15px 8px;
  }
  .work__job {
    padding: 0 5px 12px 15px;
    gap: 4px;
    font-size: 11.5px;
}
  .work__desc{
    text-align: left;
  }
}
/* ===== PRICING =============================== */

.pricing__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px 100px;
}
.pricing__head{
  padding: 90px 0 45px;
  color: var(--text);
}
.pricing__en{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
}
.pricing__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .04em;
}
/* ===== Responsive ===== */
@media (max-width: 980px){
  .pricing__inner{
    padding: 0 30px 90px;
  }
}
@media (max-width: 768px){
  .pricing__inner{
    padding: 0 18px 80px;
  }
  .pricing__head{
    padding: 60px 0 34px;
    line-height: 1.2;
  }
  .pricing__ttl{
    font-size: 30px;
  }
}
 /* ===== Q&A Section =============================== */
 .qa{
  background-color: var(--bg-gray);
}

.qa__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px 100px;
}

.qa__head{
  padding: 90px 0 45px;
  color: var(--text);
  line-height: 1.2;
}

.qa__en{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
}

.qa__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* ===== Accordion Box ===== */
.qa-acc{
  background-color: #fff;
  border-radius: 20px;
  color: #393636;
  padding: 0 20px 0 30px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
}

/* ===== Q / A (Icon via pseudo) ===== */
.qa-q,
.qa-a{
  position: relative;
  padding-left: 52px; /* ←2行目以降もQ/A分の余白を確保 */
}
/* Q */
.qa-q{
  cursor: pointer;
  padding: 20px 40px 20px 52px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}
.qa-q::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 35px;
  height: 35px;
  background-image: url(../img/Q.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.qa-a{
  padding: 0 0 20px 52px;
  font-size: 16px;
  line-height: 1.7;
  display: none;
}
.qa-a::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 35px;/*画像の幅*/
  height: 35px;/*画像の高さ*/
  background-image: url(../img/A.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
}
/* ===== Arrow ===== */
.qa-q::after{
  border-right: solid 4px #aeaeae;
  border-top: solid 4px #aeaeae;
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(135deg);
  transition: transform .3s ease-in-out;
}
.qa-q.open::after{
  transform: translateY(-50%) rotate(-45deg);
}
.qa ul{
  background-color: var(--bg-gray);
  padding-inline-start: 0px;
  padding: 10px 30px 10px 45px;
}
/* ===== Responsive (SP) ===== */
@media (max-width: 768px){
  .qa__inner{
    padding: 0 18px 80px;
  }
  .qa__head{
    padding: 60px 0 34px;
  }
  .qa__ttl{
    font-size: 30px;
  }
  .qa-acc{
    margin: 0 0 15px;
    padding: 0 16px 0px 18px;
    border-radius: 12px;
  }
  .qa-q,
  .qa-a{
    padding-left: 44px; /* SPは少し詰める */
  }
  .qa-q{
    font-size: 16px;
    font-weight: 500;
    padding: 18px 28px 18px 44px;
  }
  .qa-q::before,
  .qa-a::before{
    font-size: 24px;
  }
  .qa-q::before{
    top: 18px;
  }
  .qa-a{
    padding: 0px 0 18px 44px;  /* ←上だけ増やす（0→10px） */
    margin-top: 0;
    line-height: 1.6;
  }
  .qa-q::after{
    right: 6px;
    width: 12px;
    height: 12px;
    border-right-width: 3px;
    border-top-width: 3px;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
  }
  .qa-q.open::after{
    transform: translateY(-50%) rotate(-45deg);
  }
  .qa-q::before{
    top: 50%;
    transform: translateY(-50%);
  }
}
 /* ===== FLOW =============================== */
 .flow{
  background: #f9eacf;
}
.flow__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 50px 100px;
}
.flow__head{
  padding: 90px 0 45px;
  color: var(--text);
  line-height: 1.2;
}
.flow__en{
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #e07d00;
}
.flow__ttl{
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  color: #3a3734;
}
/* ===== list (PC) ===== */
.flow__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: start;
}
.flow__item{
  position: relative;
  background-color: #fff;
  padding: 10px;
  border-radius: 18px;
}
.flow__item:not(:last-child)::after{
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-right: 5px solid #e07d00;
  border-top: 5px solid #e07d00;
  transform: translateY(-50%) rotate(45deg);
  z-index: 10;
}

.flow__card{
  position: relative;
  background: #fff;            /* 中は白 */
  border-radius: 8px;
  /* 内側の枠：オレンジ（単色） */
  border: 1px solid #e8bb1a;
  padding: 44px 20px 26px;
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
}

/* 上にかぶる番号丸（PC） */
.flow__num{
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  /* 画像の黄→オレンジのグラデに寄せる */
  background: linear-gradient(227deg, #f2d64a 0%, #e0872b 70%, #d46a19 100%);
}

.flow__step{
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #3a3734;
  line-height: 1.5;
}

.flow__icon{
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
}

.flow__icon img{
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}

/* =========================
   SP
========================= */
@media (max-width: 768px){
  .flow__inner{
    padding: 0 18px 80px;
  }
  .flow__head{
    padding: 60px 0 34px;
  }
  .flow__ttl{
    font-size: 30px;
  }

  .flow__list{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* SPは下矢印 */
  .flow__item:not(:last-child)::after{
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%) rotate(135deg);
    width: 12px;
    height: 12px;
    border-right-width: 3px;
    border-top-width: 3px;
  }

  /* SPカードは横長レイアウト */
  .flow__card{
    place-items: unset;
    justify-items: start;
    align-items: center;
    text-align: left;

    min-height: auto;
    padding: 10px 16px;
    border-radius: 8px;
    
    /* レイアウトの肝 */
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 10px;
    align-items: center;
    gap: 6px;
    text-align: left;
  }

  /* SPは番号丸を左に（かぶせない） */
  .flow__num{
    position: static;
    transform: none;
    justify-self: start;
    width: 35px;
    height: 35px;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .flow__step{
    justify-self: start;
    text-align: left;
    font-size: 20px;
    line-height: 1.15;
    text-align: left;
  }
  .flow__icon{
    justify-self: end;
    width: 45px;
    height: 45px;
  }
  .flow__icon img{
    width: 40px;
    height: 40px;
  }
  .flow__item {
    position: relative;
    background-color: #fff;
    padding: 4px;
    border-radius: 10px;
}
}
/* ===== 追従CTA ========================================== */
.floating-cta{
  position: fixed;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

/* 表示状態 */
.floating-cta.is-show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* CTAリンク */
.floating-cta__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 6px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  max-width: 320px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.2));
}

/* ×ボタン */
.floating-cta__close{
  color: #fff;
  font-size: 16px;
  background-color: var(--pill);
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* PC：右にくっついて追従 */
@media (min-width: 768px){
  .floating-cta{
    right: 24px;
    bottom: 24px;
  }
}

/* SP：下に位置して追従（横幅いっぱい系） */
@media (max-width: 767.98px){
  .floating-cta{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .floating-cta__link{
    width: 100%;
    max-width: inherit;
    border-radius: 14px; /* 好みで */
  }
  .floating-cta__close{
    top: -3px;
    right: -6px;
  }
}