@charset "UTF-8";
/* 下層ページ共通 */
/* ヘッダー */
.lower-header  {
  height: 100px;
  padding: 0 33px 0 26px;
  border-color: #888;
}

.lower-header .brand  {
  gap: 18px;
  font-weight: 500;
  transform: translateY(2px);
}

.lower-header .nav-contact  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  border-radius: 999px;
  background: var(--yellow);
  color: #000;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* 下層もTOPと同じグローバルメニューを出す（デザインはメニューなしだが、先方の依頼で追加）。PCはメニュー内のお問い合わせを使い、ロゴ横の単独ボタンはSPだけ出す */
.lower-header > .nav-contact  {
  display: none;
}

/* ページ見出し */
.page-hero  {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 662px;
  padding: 0 20px 34px;
  background: #d8d8d8;
  color: #000;
  text-align: center;
}

.page-hero h1  {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

/* 準備中 */
.coming-soon  {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 542px;
  color: #b3b4b4;
  font-size: 60px;
  font-weight: 700;
  line-height: 82px;
  text-align: center;
}

/* フッター */
.lower-footer  {
  min-height: 340px;
  padding: 67px 20px 66px;
  color: #000;
}

.lower-footer > .pill  {
  margin-top: 0;
}

.lower-footer .footer-phone  {
  margin-top: 30px;
}

.lower-footer .registration  {
  margin-top: 32px;
}

/* 901〜1100px：TOPのヘッダー（common.css）と同じく左右の余白とメニュー内のお問い合わせを縮める（上の下層用の指定が後から効いて縮まらないため） */
@media (max-width: 1100px)  {
  .lower-header  {
    padding: 0 20px;
  }
  .lower-header .site-nav .nav-contact  {
    width: 150px;
    height: 36px;
    font-size: 12px;
  }
}

@media (max-width: 900px)  {
  .lower-header  {
    height: 50px;
    padding: 0 13px 0 12px;
  }
  .lower-header .brand  {
    gap: 9px;
    transform: none;
  }
  .lower-header .nav-contact  {
    width: 120px;
    height: 24px;
    font-size: 10px;
  }
  /* SPの下層はお問い合わせボタンの右にメニューを出す */
  .lower-header .menu-toggle, .lower-header .site-nav  {
    display: block;
  }
  .lower-header > .nav-contact  {
    display: inline-flex;
    margin: 0 10px 0 auto;
  }
  .lower-header .site-nav .nav-contact  {
    width: 180px;
    height: 40px;
    font-size: 15px;
  }
}

/* 幅の狭い端末でロゴ・お問い合わせ・メニューが重ならないよう縮める（320px前後はロゴの文字を隠す。リンク名は aria-label で残る） */
@media (max-width: 380px)  {
  .lower-header .brand  {
    gap: 6px;
    font-size: 11px;
  }
  .lower-header > .nav-contact  {
    width: 104px;
    margin-right: 6px;
    font-size: 9px;
  }
  .lower-header .menu-toggle  {
    padding: 14.5px 7px;
    margin: -11.5px -4px;
  }
  .lower-header .menu-toggle img  {
    width: 30px;
    height: 21px;
  }
}

@media (max-width: 340px)  {
  .lower-header .brand span  {
    display: none;
  }
}

@media (max-width: 760px)  {
  .page-hero  {
    height: 403px;
    padding: 19px 0 0;
    background: #d9d9d9;
  }
  .page-hero h1  {
    font-size: 24px;
    line-height: 1.2;
  }
  .coming-soon  {
    height: 286px;
    padding-bottom: 11px;
    font-size: 30px;
    line-height: 41px;
  }
  .lower-footer  {
    min-height: 250px;
    padding: 39px 24px 29px;
  }
  .lower-footer > .pill  {
    margin-top: 0;
  }
  .lower-footer .footer-phone  {
    gap: 3px;
    margin-top: 24px;
  }
  .lower-footer .footer-phone img  {
    width: 23px;
    height: 30px;
  }
  .lower-footer .registration  {
    margin-top: 20px;
  }
}

/* ===== 英字と和文のセクション見出し ===== */
.section-heading  {
  text-align: center;
}

.section-heading span  {
  display: block;
  color: #b3b4b4;
  font-family: "Momo Trust Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 16px;
}

.section-heading h2  {
  margin-top: 24px;
  color: #03b9d8;
  font-size: 34px;
  font-weight: 700;
  line-height: 34px;
}

/* ===== 青い見出し帯 ===== */
.blue-band  {
  padding: 12px 20px;
  background: #03b9d8;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* ===== 質問と回答の一覧 ===== */
.faq-list > div  {
  padding: 30px 0;
  border-bottom: 1px solid #b3b4b4;
}

.faq-list dt, .faq-list dd  {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.faq-list dt  {
  margin-bottom: 22px;
}

.faq-list dt > span:first-child, .faq-list dd > span:first-child  {
  flex: 0 0 48px;
  color: #03b9d8;
  font-family: "Oswald", sans-serif;
  font-size: 60px;
  font-weight: 300;
  line-height: 1.1;
}

.faq-list .faq-q  {
  min-width: 0;
  padding-top: 20px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-list p  {
  min-width: 0;
  padding-top: 12px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
}

@media (min-width: 1101px)  {
  .faq-list > div  {
    padding: 32px 0 57px;
    border-bottom-color: #000;
  }
  .faq-list > div:last-child  {
    border-bottom: 0;
  }
  .faq-list dt  {
    margin-bottom: 20px;
  }
  /* 短い回答でも、A. の行ボックスではなく本文の最終行から罫線までの余白を揃える */
  .faq-list dd > span:first-child  {
    margin-bottom: -24px;
  }
}

@media (max-width: 760px)  {
  .section-heading span  {
    font-size: 16px;
    line-height: 16px;
  }
  .section-heading h2  {
    margin-top: 8px;
    font-size: 22px;
    line-height: 34px;
  }
  .blue-band  {
    padding: 10px 12px;
    font-size: 20px;
  }
  .faq-list > div  {
    padding: 24px 0;
  }
  .faq-list dt, .faq-list dd  {
    gap: 10px;
  }
  .faq-list dt  {
    margin-bottom: 14px;
  }
  .faq-list dt > span:first-child, .faq-list dd > span:first-child  {
    flex-basis: 30px;
    font-size: 30px;
  }
  .faq-list .faq-q, .faq-list p  {
    padding-top: 0;
    font-size: 14px;
    line-height: 1.6;
  }
  /* 1行の質問・回答は「Q」「A」の文字の上下の中心にそろえる（2行以上は1行目をそろえる） */
  .faq-list .faq-q, .faq-list p  {
    padding-top: 7px;
  }
}

/* ===== 写真と見出しのヒーロー（サービスページ共通） ===== */
.service-hero  {
  position: relative;
  overflow: hidden;
  height: 662px;
  border-bottom: 4px solid;
  color: #fff;
}

.service-hero-photo  {
  position: absolute;
  top: -31px;
  left: -102px;
  width: 1270px;
  max-width: none;
  height: 847px;
  object-fit: cover;
}

.service-hero-content  {
  position: absolute;
  inset: 0 0 0 auto;
  width: 41.6667%;
  padding: 62px 50px 0;
  background: linear-gradient(155deg, #4f9aeaee 25%, #30cbd9ee 100%);
}

.service-hero-heading  {
  width: 364px;
  max-width: 100%;
  height: 230px;
  margin: 0 auto;
  padding: 48px 16px 28px;
  border: 2px solid #fff;
  border-radius: 20px;
  text-align: center;
}

.service-hero-heading img  {
  width: 88px;
  height: 72px;
  margin: 0 auto 30px;
  object-fit: contain;
}

.service-hero-heading h1  {
  font-size: 32px;
  line-height: 1.2;
}

.service-hero-content > h2  {
  margin: 55px 0 14px 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.7;
  white-space: nowrap;
}

.service-hero-content > p  {
  margin-left: 21px;
  font-size: 18px;
  line-height: 1.7;
}

.service-hero-actions  {
  position: absolute;
  right: 50px;
  bottom: 78px;
  display: flex;
  gap: 20px;
}

.service-hero-actions .pill  {
  min-width: 0;
  width: 240px;
  min-height: 42px;
  padding: 7px 10px;
  background: #fff;
  color: #000;
  box-shadow: 0 5px 5px #0003;
  font-size: 16px;
}

/* 1101px以上：写真は左寄せで大きさを変えず、青い枠は幅が1440pxを超えても写真：枠＝7：5（Figma 840px：600px）の割合を保つ（枠の左端は幅の58.3333%）。
枠の中身は大きさ（最大600px）を変えず、枠の左端に寄せる
枠の背景は ::after（半透明・写真の手前）に移す。写真の右側は白へぼかし（写真の右端から256px手前で始まり13px手前で真っ白。デザイナー作成の税務顧問の画像から計測）、
半透明の枠から写真の端が透けて段差に見えないようにする。写真より右は白（body の背景）
ボタンは1440px以下では右から50px、1440px超では1440pxのときと同じく右端を中身の左端から550pxに置く。各ページの指定より優先させるため main から指定 */
@media (min-width: 1101px)  {
  .service-hero::after  {
    position: absolute;
    inset: 0 0 0 58.3333%;
    background: linear-gradient(155deg, #4f9aeaee 25%, #30cbd9ee 100%);
    content: "";
  }
  .service-hero-photo  {
    -webkit-mask-image: linear-gradient(to left, transparent 13px, rgb(0 0 0 / .174) 68px, rgb(0 0 0 / .35) 118px, rgb(0 0 0 / .53) 168px, #000 256px);
    mask-image: linear-gradient(to left, transparent 13px, rgb(0 0 0 / .174) 68px, rgb(0 0 0 / .35) 118px, rgb(0 0 0 / .53) 168px, #000 256px);
  }
  main .service-hero .service-hero-content  {
    z-index: 1;
    left: 58.3333%;
    right: auto;
    width: min(41.6667%, 600px);
    background: none;
  }
  main .service-hero .service-hero-actions  {
    z-index: 1;
    right: max(50px, calc(41.6667% - 550px));
  }
}

/* ===== 区切りの見出し帯（サービスページ共通） ===== */
.service-band  {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  min-height: 300px;
  background: linear-gradient(168.5deg, #1782e5 40%, #03b9d8 101%);
  font-size: 32px;
}

.service-band::before, .service-band::after  {
  width: 192px;
  height: 1px;
  background: #fff9;
  content: "";
}

/* ===== サポートとお悩みのカード（サービスページ共通） ===== */
.service-cards  {
  display: grid;
  gap: 40px;
  max-width: 1260px;
  margin: 0 auto;
}

.service-cards-4  {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1176px;
  gap: 48px;
}

.service-cards-5  {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card  {
  min-width: 0;
  min-height: 200px;
  padding: 26px 26px;
  border: 2px solid #333;
  border-radius: 9px;
  background: #fff;
}

.service-card h4  {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.service-card p  {
  font-size: 16px;
  line-height: 1.25;
}

.service-nav-card  {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 24px 33px;
  border: 0;
  border-radius: 4px;
  background: #e2f5f8;
}

.service-nav-card h3  {
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
}

.service-nav-card p  {
  flex: 1;
}

.service-nav-card .pill  {
  align-self: center;
  min-width: 0;
  width: 200px;
  max-width: 100%;
  min-height: 56px;
  margin-top: 25px;
  padding: 5px 8px;
  border: 2px solid var(--cyan);
  background: #fff;
  color: var(--cyan);
}

.service-hero-actions .pill:hover  {
  background: #cbcaca;
}

.service-nav-card .pill:hover  {
  background: #c4f6ff;
}

.service-callout .pill:hover  {
  background: #e4de25;
}

.service-nav-card::after  {
  position: absolute;
  left: calc(50% - 18px);
  bottom: -15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

/* 丸（Figma：直径36px、中心はカードの下端から3px上）の中の矢印（線2px、腕の長さ約14.5px、先端は丸の中心から下へ6.7px・右へ0.5px） */
.service-nav-card::before  {
  position: absolute;
  z-index: 1;
  left: calc(50% - 7.25px);
  bottom: -1.9px;
  width: 15.5px;
  height: 15.5px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  content: "";
}

/* タイトルの高さは common.js で横一列ごとに揃える。高さが伸びたときに短いタイトルを上下中央に置く（h4 は flex で中央寄せ済み） */
.service-nav-card h3  {
  align-content: center;
}

/* ===== サポート内容の見出しと説明（サービスページ共通） ===== */
.service-section  {
  padding: 134px max(30px, calc((100% - 1260px) / 2)) 130px;
}

.service-detail  {
  display: grid;
  grid-template-columns: 528fr 659fr;
  gap: 73px;
  max-width: 1260px;
  margin: 0 auto;
}

.service-summary  {
  position: relative;
  min-height: 278px;
  padding: 106px 44px 32px;
  border-radius: 20px;
  background: var(--cyan);
  color: #fff;
}

.service-summary img  {
  position: absolute;
  top: 40px;
  right: 44px;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.service-summary h2  {
  margin-bottom: 28px;
  font-size: 42px;
  line-height: 1.2;
}

.service-summary p  {
  font-size: 20px;
  line-height: 1.6;
}

.service-body p  {
  font-size: 18px;
  line-height: 1.7;
}

.service-subheading  {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1260px;
  margin: 80px auto 52px;
  color: var(--cyan);
  font-size: 32px;
  text-align: center;
}

.service-subheading::before, .service-subheading::after  {
  flex: 1;
  height: 1px;
  background: #333;
  content: "";
}

/* ===== 相談誘導の枠（サービスページ共通） ===== */
.service-callout  {
  margin: 68px auto 0;
  text-align: center;
}

.service-callout h3  {
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
}

.service-callout p  {
  margin-top: 36px;
  font-size: 20px;
}

.service-callout .pill  {
  min-width: 336px;
  margin-top: 58px;
  background: var(--yellow);
  color: #000;
}

/* ===== 選ばれる理由の番号一覧（サービスページ共通） ===== */
.service-reasons  {
  display: grid;
  gap: 84px;
  max-width: 1084px;
  margin: 120px auto 0;
  list-style: none;
}

.service-reasons li  {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 80px;
}

.service-reason-number  {
  color: #20a8df;
  font-family: "Oswald", sans-serif;
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
}

.service-reasons li > div  {
  padding-left: 30px;
  border-left: 2px solid #888;
}

.service-reasons h3  {
  margin-bottom: 28px;
  font-size: 30px;
  line-height: 1.3;
}

.service-reasons p  {
  font-size: 22px;
  line-height: 1.55;
}

/* 1101〜1439px：上部の見出し（1行固定）が右端で切れないよう、1440pxのデザイン（38px）と同じ比率で縮める */
@media (min-width: 1101px) and (max-width: 1439px)  {
  .service-hero-content > h2  {
    font-size: 2.6389vw;
  }
  main .service-hero .service-hero-actions  {
    right: 3.4722vw;
    gap: 1.3889vw;
  }
  main .service-hero .service-hero-actions .pill  {
    width: 16.6667vw;
    min-height: 2.9167vw;
    padding: .4861vw .6944vw;
    font-size: 1.1111vw;
  }
}

@media (min-width: 761px) and (max-width: 1100px)  {
  .service-hero-content  {
    width: 48%;
    padding-right: 24px;
    padding-left: 24px;
  }
  .service-hero-heading h1  {
    font-size: 26px;
  }
  .service-hero-content > h2  {
    margin-left: 0;
    font-size: 28px;
    white-space: normal;
  }
  .service-hero-content > h2 span  {
    display: block;
  }
  .service-hero-content > p  {
    margin-left: 0;
  }
  .service-hero-actions  {
    right: 24px;
    gap: 12px;
    width: calc(48% - 48px);
  }
  .service-hero-actions .pill  {
    flex: 1;
    width: auto;
    min-height: 48px;
    font-size: 14px;
  }
  .service-cards  {
    gap: 18px;
  }
  .service-cards-4  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-cards-5  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-card  {
    padding: 24px 14px;
  }
  .service-nav-card h3  {
    font-size: 20px;
  }
  .service-nav-card .pill  {
    font-size: 16px;
  }
  .service-detail  {
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
  }
  .service-summary  {
    padding-right: 24px;
    padding-left: 24px;
  }
  .service-summary h2  {
    font-size: 30px;
  }
  .service-subheading  {
    gap: 20px;
    font-size: 26px;
  }
  .service-reasons li  {
    gap: 24px;
  }
}

@media (min-width: 761px) and (max-width: 900px)  {
  .service-cards-5  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card h4 br  {
    display: none;
  }
}

@media (max-width: 760px)  {
  /* ヒーローと最初の帯の間に白い線（Figma SP） */
  .service-hero  {
    display: flex;
    flex-direction: column;
    height: auto;
    border-bottom: 4px solid;
  }
  .service-hero-content  {
    position: static;
    order: -1;
    width: 100%;
    padding: 44px 58px 24px;
    background: linear-gradient(125deg, #5498eb, #36cbd8);
  }
  .service-hero-heading  {
    width: 280px;
    height: 175px;
    padding: 28px 16px 20px;
    border-radius: 20px;
  }
  .service-hero-heading img  {
    width: 80px;
    height: 68px;
    margin-bottom: 28px;
  }
  .service-hero-heading h1  {
    font-size: 24px;
  }
  .service-hero-content > h2  {
    margin: 27px 0 16px;
    font-size: 38px;
    line-height: 1.2;
    white-space: normal;
  }
  .service-hero-content > p  {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.6;
  }
  /* SPの写真は Figma SP（393px）のときの縦横比を保つ（高さを固定すると、幅が広いほど横長に切り抜かれて上下が欠けるため） */
  .service-hero-photo  {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 393 / 200;
    object-fit: cover;
  }
  .service-hero-actions  {
    position: static;
    display: grid;
    justify-items: center;
    gap: 24px;
    padding: 42px 20px 54px;
    background: linear-gradient(125deg, #4bb0e6, #32cbd7);
  }
  .service-hero-actions .pill  {
    width: 240px;
    min-height: 42px;
    font-size: 16px;
    font-weight: 700;
  }
  .service-band  {
    min-height: 136px;
    gap: 22px;
    padding: 30px 26px;
    font-size: 20px;
  }
  .service-band::before, .service-band::after  {
    flex: 1;
    width: auto;
  }
  .service-cards, .service-cards-4, .service-cards-5  {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .service-card  {
    min-height: 0;
    padding: 12px 16px;
    border-radius: 9px;
  }
  .service-card h4  {
    justify-content: center;
    min-height: 0;
    margin-bottom: 4px;
    font-size: 16px;
    text-align: center;
  }
  .service-card h4 br  {
    display: none;
  }
  /* SPだけ改行させない部分（PCではカードが狭い幅があるので折り返してよい） */
  .service-card h4 .sp-nw  {
    white-space: nowrap;
  }
  .service-card p  {
    font-size: 12px;
    line-height: 1.45;
  }
  .service-nav-card  {
    width: 260px;
    max-width: 100%;
    min-height: 219px;
    margin: 0 auto;
    padding: 24px 24px 35px;
    border-radius: 4px;
  }
  .service-nav-card h3  {
    margin-bottom: 16px;
    font-size: 24px;
  }
  .service-nav-card .pill  {
    width: 144px;
    min-height: 40px;
    margin-top: 14px;
    font-size: 16px;
  }
  .service-section  {
    padding: 42px 46px 54px;
  }
  .service-detail  {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .service-summary  {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 292px;
    padding: 38px 30px 26px;
    border-radius: 20px;
  }
  .service-summary img  {
    position: static;
    width: 90px;
    height: 80px;
    margin-bottom: 28px;
  }
  .service-summary h2  {
    margin-bottom: 22px;
    font-size: 26px;
    text-align: center;
  }
  .service-summary p  {
    font-size: 16px;
    line-height: 1.4;
  }
  .service-summary p br  {
    display: none;
  }
  .service-hero-content > h2 span  {
    display: block;
  }
  .service-body p  {
    font-size: 12px;
    line-height: 1.8;
  }
  .service-subheading  {
    gap: 26px;
    margin: 52px -20px 28px;
    font-size: 24px;
  }
  .service-callout  {
    margin: 42px -22px 0;
  }
  .service-callout h3  {
    font-size: 22px;
    line-height: 1.45;
  }
  .service-callout p  {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.7;
  }
  .service-callout .pill  {
    min-width: 0;
    width: 260px;
    max-width: 100%;
    min-height: 44px;
    margin-top: 40px;
    padding: 8px;
    font-size: 16px;
    font-weight: 500;
  }
  .service-reasons  {
    gap: 58px;
    margin-top: 48px;
  }
  .service-reasons li  {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
  }
  .service-reason-number  {
    font-size: 42px;
  }
  .service-reasons li > div  {
    padding-left: 26px;
  }
  .service-reasons h3  {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.45;
  }
  .service-reasons p  {
    font-size: 12px;
    line-height: 1.75;
  }
}

/* ===== サポートの流れ（サービスページ共通） ===== */
.service-steps  {
  position: relative;
  display: grid;
  gap: 68px;
  max-width: 984px;
  margin: 76px auto 0;
  padding: 80px 0 44px 120px;
  list-style: none;
}

.service-steps::before  {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #aaa;
  content: "";
}

.service-steps::after  {
  position: absolute;
  bottom: 0;
  left: -7px;
  width: 15px;
  height: 15px;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  transform: rotate(45deg);
  content: "";
}

.service-steps li  {
  position: relative;
  min-width: 0;
}

.service-steps li:first-child::before  {
  position: absolute;
  top: -72px;
  left: -124px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.service-steps h4  {
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 30px;
  line-height: 1.4;
}

.service-steps p  {
  font-size: 20px;
  line-height: 1.8;
}

@media (min-width: 1101px)  {
  .service-steps::before  {
    background: #000;
  }
  .service-steps::after  {
    bottom: -20px;
    left: -19.5px;
    width: 40px;
    height: 20px;
    border: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M.4.4 20 19.6 39.6.4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat;
    transform: none;
  }
  .service-steps li:first-child::before  {
    width: 18px;
    height: 18px;
    transform: translate(-4.5px, -4.5px);
  }
}

/* 縦線はPCと同じく矢印の腕の先の高さで止め、矢印に刺さらないようにする（矢印は15px角を45度回転、腕の先は中心＝下端から7.5px） */
@media (max-width: 1100px)  {
  .service-steps::before  {
    bottom: 7.5px;
  }
}

@media (min-width: 761px) and (max-width: 1100px)  {
  .service-steps  {
    margin-right: 30px;
    margin-left: 30px;
    padding-left: 76px;
  }
  .service-steps li:first-child::before  {
    left: -80px;
  }
}

@media (max-width: 760px)  {
  .service-steps  {
    gap: 36px;
    margin: 44px 8px 0 30px;
    padding: 34px 0 28px 32px;
  }
  .service-steps li:first-child::before  {
    top: -28px;
    left: -36px;
  }
  .service-steps h4  {
    margin-bottom: 14px;
    font-size: 18px;
  }
  .service-steps p  {
    font-size: 12px;
    line-height: 1.7;
  }
}
