/* =====================
  Responsive
  - 821〜1239px（タブレット）：セクションを画面幅に合わせて縮小（--zoom は assets/js/script.js が設定）
  - 820px以下（SP）：セクションごとにSP用レイアウトへ切り替え
  SP用デザインは未支給のため、参考LP（plus.wazalog.jp）の考え方に合わせて組んでいる
===================== */
/* ---------------------
  タブレット：縮小表示
--------------------- */
@media (min-width:820.02px) and (max-width:1239px) {
  .fv, .campaign, .trouble, .offer, .feature, .cv, .gyosei, .numbers, .reason, .case, .price, .intro, .terms {
    zoom: var(--zoom, 1)
  }
}
@media (min-width:820.02px) and (max-width:1000px) {
  .header-logo img {
    width: 240px
  }
  .header-btn {
    width: 210px
  }
}
/* ---------------------
  SP
--------------------- */
@media (max-width:820px) {
  /* 文字サイズの変数をSP用に差し替え（各セクションは変数を参照している） */ :root {
    --fs-title-xl: 32px; /* 参考LP: price-title / effect-title 32 */
    --fs-title-l: 28px; /* 参考LP: edu-title / feature-title / system-title 28 */
    --fs-title-m: 22px; /* 参考LP: feature-heading 22 */
    --fs-title-ms: 20px; /* 参考LP: fstep-title / support-label 20 */
    --fs-title-s: 20px;
    --fs-title-xs: 18px; /* 参考LP: feature-card h4 / system-head 18 */
    --fs-body-l: 16px;
    --fs-body: 15px; /* 参考LP: feature-text / system-desc 15 */
    --fs-body-s: 14px; /* 参考LP: feature-card p / fstep-desc 14 */
    --fs-caption: 13px; /* 参考LP: price-note / acc-border-box 13 */
    --fs-btn-s: 13px;
    --fs-btn-l: 20px;
  }
  img {
    max-width: 100%
  }
  /* ===== ヘッダー ===== */
  .header-inner {
    height: 56px;
    padding: 0 12px;
    gap: 8px
  }
  .header-logo img {
    width: 150px
  }
  .header-cta {
    flex: 1;
    gap: 6px;
    justify-content: flex-end
  }
  .header-btn {
    flex: 1;
    width: auto;
    max-width: 150px;
    height: 40px;
    padding-right: 8px;
    border-width: 2px;
    border-radius: 6px;
    font-size: clamp(9px, 2.9vw, 11px);
    white-space: nowrap;
  }
  .header-btn::before {
    border-radius: 4px
  }
  .header-btn .arrow {
    right: 6px;
    width: 6px
  }
  /* ===== FV =====
     構成：上＝背景写真（fv-bg_sp.webp）に見出し画像を重ねる / 下＝青地にフォーム
     フォームの寸法・並びは参考LP（plus.wazalog.jp）のSPに合わせている */
  .fv {
    --fv-overlap: 78px;
    height: auto;
    margin-top: -5px;
    padding: 0;
    background: #005493
  }
  .fv-inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: none;
    padding: 0 0 40px
  }
  .fv-left {
    width: 100%;
    margin: 0;
    padding: 45px 16px calc(22px + var(--fv-overlap));
    background: url("../images/fv-bg_sp.webp") no-repeat center 30% / cover
  }
  .fv-text {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto
  }
  .fv-note {
    width: 100%;
    max-width: 420px;
    margin: 12px auto 0;
    font-size: 10px;
    font-weight: 200
  }
  .fv-right {
    position: relative;
    width: 100%;
    max-width: none;
    margin: calc(var(--fv-overlap) * -1) 0 0;
    padding: 0 16px
  }
  .form-box {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 16px 24px
  }
  .form-header {
    gap: 8px;
    margin: 0 0 16px
  }
  .doc-img {
    width: clamp(80px, 26.7vw, 100px)
  }
  .form-title .small {
    font-size: var(--fs-body-s)
  }
  .form-title h2 {
    font-size: clamp(17px, 6.2vw, 24px)
  }
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 0;
    margin-bottom: 12px
  }
  .form-row label {
    width: 100%;
    margin-bottom: 10px;
    font-size: var(--fs-body-s)
  }
  .form-row input {
    flex: none;
    width: 100%;
    height: 44px;
    padding: 10px;
    font-size: 16px
  }
  .form-check {
    flex-wrap: wrap;
    padding-left: 0;
    margin-top: 20px
  }
  .submit-btn {
    width: 100%;
    height: 60px;
    margin: 24px 0 0;
    font-size: 18px
  }
  /* ===== キャンペーン ===== */
  .campaign {
    height: auto
  }
  .campaign-inner {
    flex-direction: column;
    gap: 20px;
    padding: 32px 16px
  }
  .campaign-text {
    top: 0
  }
  .campaign-line1 {
    font-size: var(--fs-title-s);
    line-height: 35px
  }
  .campaign-line2 {
    line-height: 45px;
  }
  .campaign-line2 .underline {
    font-size: 35px;
    padding-bottom: 4px
  }
  .campaign-btn {
    width: 100%;
    max-width: 340px;
    height: 56px
  }
  .campaign-btn .arrow {
    right: 18px;
    width: 9px
  }
  /* ===== 悩み ===== */
  .trouble {
    padding: 40px 0 48px
  }
  .trouble-inner {
    padding: 0 16px
  }
  .trouble-title {
    margin-bottom: 24px;
	  font-size: var(--fs-title-l);
  }
  .trouble-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }
  .trouble-card, .trouble-card:nth-child(n+4) {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px 18px
  }
  .trouble-card .trouble-icon {
    position: static;
    width: auto !important;
    max-width: 100%;
    height: 70px;
    margin: 0 0 10px;
    transform: none;
    object-fit: contain
  }
  .trouble-body h3 {
    line-height: 1.4
  }
  .trouble-body p {
    line-height: 1.6;
  }
  .trouble-body p br {
    display: none
  }
}
/* ---------------------
  SP（続き）：オファー / 特徴 / CV
--------------------- */
@media (max-width:820px) {
  /* ===== オファー ===== */
  .offer {
    height: auto;
    margin-bottom: -36px;
    padding: 36px 16px 80px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 50% 100%, 0 calc(100% - 36px))
  }
  .offer-title {
    line-height: 1.5
  }
  .offer-title .offer-title-sub {
    line-height: 1.6
  }
  .offer-title .offer-title-main {
    flex-direction: column;
    gap: 4px;
    line-height: 1.4
  }
  .offer-logo {
    width: min(100%, 280px);
    margin: 0
  }
  .offer-title-main .pink {
    margin-left: 0
  }
  .offer-cards {
    flex-direction: column;
    align-items: center;
    margin-top: 28px
  }
  .offer-card {
    width: 100%;
    max-width: 343px;
    height: auto;
    padding-bottom: 22px
  }
  .offer-card h3 {
    height: 56px
  }
  .offer-photo {
    width: calc(100% - 28px);
    height: auto;
    margin: 14px auto 0
  }
  .offer-card p {
    margin: 18px 0 0;
    padding: 0 14px;
    line-height: 1.9;
  }
  .offer-x {
    flex: none;
    margin: 20px 0;
    height: auto
  }
  .offer-x svg {
    width: 24px;
    height: 24px
  }
  .offer-lead {
    margin-top: 32px;
    line-height: 1.6
  }
  
  /* ===== 特徴 ===== */
  .feature {
    height: auto;
    padding: 36px 0 56px
  }
  .feature-inner {
    height: auto;
    padding: 0 16px
  }
  .feature-title {
    position: static;
    margin: 0 0 22px;
    font-size: 45px;
    line-height: 1.25
  }
  .feature-title-num {
    font-size: 70px;
    vertical-align: -4px
  }
  .feature-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
  }
  .feature-nav li:nth-child(n) {
    width: auto;
    margin: 0
  }
  .feature-nav-item {
    height: 100%;
    padding: 10px 6px 40px
  }
  .feature-nav-item::after {
    height: 30px
  }
  .feature-nav-num {
    padding-left: 2px;
    font-size: 32px;
    line-height: 34px
  }
  .feature-nav-text {
    margin-top: 6px;
    font-size: var(--fs-body-s);
    line-height: 1.4
  }
  .feature-nav-chev {
    bottom: 7px;
    width: 16px
  }
  .feature-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: 26px;
    padding: 22px 16px 28px;
    border-radius: 14px
  }
  .feature-card1, .feature-card2, .feature-card3 {
    top: auto;
    height: auto
  }
  .feature-head, .feature-card1 .feature-head, .feature-card3 .feature-head {
    padding: 0
  }
  .feature-tag {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    font-size: 30px
  }
  .feature-tag span {
    margin-bottom: 1px;
    font-size: var(--fs-caption)
  }
  .feature-heading {
    margin: 0 0 0 12px;
    line-height: 1.4;
  }
  .feature-text, .feature-card1 .feature-text {
    margin: 16px 0 0;
    line-height: 1.9;
	  font-weight: 500;
  }
  .feature-text br {
    display: none
  }
  .feature-card .feature-visual {
    position: static;
    display: block;
    width: 78%;
    max-width: 300px;
    margin: 18px auto 0
  }
  /* 特徴1 */
  .feature1-lead {
    position: static;
    margin: 24px 0 16px;
    line-height: 1.2;
	  font-size: var(--fs-title-m);
  }
  .flow {
    position: static;
    flex-direction: column;
    align-items: stretch;
	  max-width: 450px;
	  margin: 0 auto;
  }
  .flow-card, .flow-card2, .flow-card3 {
    width: 100%;
    height: auto;
    margin: 0
  }
  .flow-card h4 {
    height: 50px
  }
  .flow-card2 h4 {
    height: auto;
    padding: 10px 8px 12px
  }
  .flow-card img, .flow-card2 img {
    width: calc(100% - 28px);
    height: auto;
    margin: 14px auto 0
  }
  .flow-card p {
    height: auto;
    padding: 12px 12px 16px;
    line-height: 1.7
  }
  .flow-card p br {
    display: none
  }
  .flow-pill {
    width: 100%;
    max-width: 240px;
    height: 32px;
    margin-bottom: 8px;
    line-height: 26px;
  }
  .flow-arrow, .flow-arrow1, .flow-arrow2 {
    position: static;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: auto;
    margin: 8px 0
  }
  .flow-arrow svg {
    display: none
  }
  .flow-arrow span, .flow-arrow2 span {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: 4px 14px;
    border-radius: 14px;
    background: var(--pink);
    color: #fff;
    font-size: var(--fs-caption);
    line-height: 1.3
  }
  .flow-arrow span br {
    display: none
  }
  .flow-arrow::after {
    content: "";
    display: block;
    margin-top: 2px;
    border-style: solid;
    border-width: 10px 12px 0;
    border-color: var(--pink) transparent transparent
  }
  /* 特徴2 */
  .support {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding: 14px 14px 14px 78px
  }
  .support-icon {
    left: 10px;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translateY(-50%)
  }
  .support-title {
    line-height: 1.4;
  }
  .support-text {
    margin-top: 4px;
    line-height: 1.6;
  }
  .check {
    position: static;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px
  }
  .check-item {
    width: 100%;
    height: auto;
    padding: 14px 12px
  }
  .check-item img, .check-item2 img, .check-item3 img {
    top: 0;
    width: 52px;
    margin: 0 12px 0 0
  }
  /* 特徴3 */
  .feature-systems {
    width: 100%;
    height: auto;
    margin: 14px 0 0;
    padding: 10px 12px;
    line-height: 1.5;
  }
  .feature-card3 .feature-text {
    margin-top: 14px
  }
  .rule {
    position: static;
    flex-direction: column;
    gap: 12px;
	max-width: 450px;
	  margin: 20px auto 0;
  }
  .rule-card {
    width: 100%;
    height: auto
  }
  .rule-card h4 {
    height: 52px
  }
  .rule-card img {
    width: calc(100% - 28px);
    height: auto;
    margin: 14px auto 0
  }
  .rule-card p {
    height: auto;
    padding: 14px 14px 18px;
    line-height: 1.5;
	  text-align: left;
  }
  .rule-card p br {
    display: none
  }
  /* ===== CV ===== */
  .cv {
    height: auto;
    padding: 40px 16px 44px
  }
  .cv-inner {
    padding-top: 0
  }
  .cv-title {
    line-height: 1.5;
  }
  .cv-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px
  }
  .cv-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    height: auto;
    padding: 20px 16px
  }
  .cv-img, .cv-doc {
    position: static;
    flex: none;
    width: 96px
  }
  .cv-text, .cv-text2 {
    position: static;
    flex: 1;
    min-width: 0;
    font-size: var(--fs-body-l);
    line-height: 1.7;
  }
  .cv-text .hl {
    font-size: var(--fs-title-xs)
  }
  .cv-text2 {
    font-size: var(--fs-title-xs);
    line-height: 1.5
  }
  .cv-text2 .hl {
    font-size: var(--fs-title-m)
  }
  .cv-text2 .num {
    font-size: 34px
  }
  .cv-btn {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 100%;
    width: 100%;
    height: 56px;
    margin-top: 4px
  }
  .cv-btn .arrow {
    right: 18px
  }
}
/* SP 調整 */
@media (max-width:820px) {
  .offer-title .offer-title-main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 4px
  }
  .offer-logo {
    width: min(100%, 256px)
  }
  .offer-title-main .pink {
    flex-basis: 100%
  }
  .offer-lead-main {
    display: inline;
    background: linear-gradient(transparent 60%, #fcff00 60%, #fcff00 92%, transparent 92%)
  }
  
  .feature-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
  .feature-nav li {
    display: flex
  }
  .feature-nav-item {
    flex: 1;
    height: auto
  }
}
/* ---------------------
  SP（続き）：行政書士 / 数字 / 選ばれる理由 / 導入事例
--------------------- */
@media (max-width:820px) {
  .feature-heading {
    font-size: var(--fs-title-m);
  }
  /* ===== 行政書士 ===== */
  .gyosei {
    height: auto;
    padding: 44px 16px 52px
  }
  .gyosei-inner {
    height: auto
  }
  .gyosei-title {
    padding-top: 0;
  }
  .gyosei-title .gyosei-title-sub {
    margin-bottom: 12px;
    line-height: 1.6
  }
  .gyosei-title .gyosei-pill {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 8px;
    padding: 2px 10px;
    font-size: var(--fs-title-ms);
    line-height: 1.5;
    white-space: normal;
  }
  .gyosei-steps {
    position: static;
    flex-direction: column;
    align-items: center;
    margin-top: 28px
  }
  .gyosei-step {
    width: 100%;
    max-width: 260px;
    text-align: center
  }
  .gyosei-box {
    width: 213px;
    margin: 0 auto
  }
  .gyosei-step h3, .gyosei-step p {
    position: static;
    margin: 0
  }
  .gyosei-step h3 {
    margin-top: 12px
  }
  .gyosei-step p {
    margin-top: 6px;
    line-height: 1.7
  }
  .gyosei-arrow {
    flex: none;
    padding: 14px 0;
    transform: rotate(90deg)
  }
  .gyosei-support {
    position: static;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 28px;
    padding: 20px 13px 22px;
    text-align: center
  }
  .gyosei-support img {
    width: 140px;
    margin: 0
  }
  .gyosei-support div {
    margin: 14px 0 0
  }
  .gyosei-support h3 {
    font-size: var(--fs-title-s);
    line-height: 1.5
  }
  .gyosei-support p {
    margin-top: 8px;
    font-size: var(--fs-body-s);
    line-height: 1.7;
  }
  .gyosei-support small {
    margin-top: 8px
  }
  /* ===== 数字 ===== */
  .numbers {
    padding: 48px 16px
  }
  .numbers-title .numbers-title-1 {
    height: auto;
    line-height: 1.5
  }
  .nm-box {
    height: auto;
    padding: 0 6px;
    line-height: 1.4
  }
  .numbers-title .numbers-title-2 {
    margin-top: 6px;
    line-height: 1.5;
  }
  .numbers-cards {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px
  }
  .numbers-card {
    width: 100%;
    max-width: 343px;
    height: auto;
    padding: 10px 12px 0px;
    border-radius: 16px
  }
  .numbers-label {
    margin: 0
  }
  .numbers-value {
    height: auto;
    margin-top: 0px;
  }
  .numbers-value .avg {
    margin-right: 8px
  }
  .numbers-value .n {
    font-size: 84px
  }
  .numbers-value .u {
    margin: 26px 0 0 6px;
    font-size: 50px
  }
  .numbers-value .k {
    margin-left: 6px;
    font-size: 56px
  }
  /* ===== 選ばれる理由 ===== */
  .reason {
    padding: 44px 16px 52px
  }
  .reason-title {
    flex-wrap: wrap;
    margin-bottom: 28px;
    line-height: 1.5
  }
  .reason-logo {
    width: min(100%, 260px);
    margin: 0 0 2px
  }
  .reason-cards {
    flex-direction: column;
    gap: 20px
  }
  .reason-card {
    width: 100%;
    max-width: 343px;
    height: auto;
    border-radius: 18px;
	  margin: 0 auto;
  }
  .reason-photo {
    width: 100%;
    height: auto
  }
  .reason-body {
    height: auto;
    padding: 24px 16px 26px
  }
  .reason-body h3 {
    line-height: 1.4
  }
  .reason-body p {
    margin-top: 14px;
    line-height: 1.8
  }
  .reason-body p br {
    display: none
  }
  .reason-body p::after, .reason-body2 h3::after {
    width: 100%;
    margin-top: 16px
  }
  .reason-list {
    margin-top: 14px
  }
  .reason-body2 .reason-list {
    margin-top: 18px
  }
  .reason-list li, .reason-body2 .reason-list li {
    line-height: 1.6;
    margin-bottom: 6px;
  }
	.reason-list li {
		gap: 5px;
	}
	.reason-list svg {
		width: 15px;
		height: 15px;
	}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
/* ---------------------
  SP（続き）：料金プラン / 導入までの流れ / 規約・フッター
--------------------- */
@media (max-width:820px) {
  .reason-list {
    font-size: var(--fs-body-s)
  }
  
  /* ===== 料金プラン ===== */
  .price {
    padding: 44px 0 52px
  }
  .price-inner {
    height: auto;
    padding: 0 16px
  }
  
  .price-title {
    width: auto;
    margin: 0 0 24px;
    line-height: 1.5
  }
  .price-fee {
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-bottom: 12px
  }
  .price-fee1 .price-fee-label, .price-fee2 .price-fee-label {
    width: 100%;
    padding: 12px;
    font-size: var(--fs-body-l)
  }
  .price-fee-value {
    justify-content: center;
    padding: 14px 0 16px;
    font-size: 40px
  }
  .price-fee-value .yen {
    font-size: 28px
  }
  .price-fee-note {
    width: 100%;
    margin: -4px 0 0
  }
  .price-band {
    width: 100%;
    height: 48px;
    margin: 32px 0 16px;
    line-height: 48px;
    font-size: var(--fs-title-s)
  }
  .price-band2 {
    margin-top: 36px
  }
  .plan-scroll {
    width: auto;
    margin: 0 -16px;
    padding: 20px 16px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }
  .plan-scroll::before {
    content: "← 左右にスクロールできます →";
    display: block;
    margin: -14px 0 14px;
    color: #888;
    font-size: 12px;
    text-align: center
  }
  .plan-grid {
    width: 640px;
    margin-left: 0;
    grid-template-columns: 110px 130px 130px 130px 90px;
    grid-template-rows: 150px 60px 60px 62px 60px;
    gap: 3px 1px
  }
  .plan-th {
    padding-top: 20px
  }
  .plan-name {
    font-size: var(--fs-body-s);
    line-height: 22px;
  }
  .plan-price {
    height: 40px;
    margin-top: 4px !important;
    font-size: 26px;
    line-height: 40px
  }
  .plan-price .yen {
    font-size: 18px
  }
  .plan-price small {
    margin-left: 4px;
    font-size: 12px
  }
  .plan-pill {
    width: calc(100% - 14px);
    height: 26px;
    margin: 12px auto 0 !important;
    font-size: 9px;
    line-height: 26px
  }
  .plan-pill b {
    font-size: 13px
  }
  .plan-recommend {
    left: 50%;
    top: -18px;
    width: 108px;
    height: 28px;
    font-size: var(--fs-caption);
    line-height: 28px;
    transform: translateX(-50%)
  }
  .plan-th--over {
    font-size: var(--fs-body-s)
  }
  .plan-td {
    padding: 0 4px;
    font-size: var(--fs-body-s)
  }
  .plan-td--label {
    font-size: var(--fs-caption);
    line-height: 1.4
  }
  .plan-td--over {
    font-size: var(--fs-title-xs)
  }
  .price-note {
    width: 100%;
    margin-top: 12px;
    font-size: var(--fs-caption);
    line-height: 1.7
  }
  .price-note1, .price-note2 {
    left: auto;
    right: auto;
    width: 100%
  }
  .price-lead {
    width: 100%;
    margin: 16px 0 20px;
    font-size: var(--fs-body-s);
    line-height: 1.8;
    text-align: center;
  }
  .spot-grid {
    width: 100%;
    grid-template-columns: 84px 1fr 96px;
    grid-template-rows: auto;
    gap: 2px
  }
  .spot-grid > * {
    min-height: 56px;
    padding: 6px 6px
  }
  .spot-th {
    font-size: var(--fs-body-s)
  }
  .spot-type, .spot-desc {
    font-size: var(--fs-caption);
    line-height: 1.5;
  }
  .spot-unit {
    padding-top: 6px;
    font-size: 20px
  }
  .spot-unit .yen {
    font-size: 14px
  }
  .spot-unit small {
    margin-left: 4px;
    font-size: 12px
  }
  
  
  
  
  /* ===== 導入までの流れ ===== */
  .intro {
    height: auto;
    padding: 44px 16px 52px
  }
  .intro-inner {
    height: auto
  }
  .intro-title, .intro-sub {
    position: static
  }
  .intro-title {
    line-height: 1.5
  }
  .intro-sub {
    margin: 8px 0 28px;
    line-height: 1.6;
	  font-size: var(--fs-body-s);
	  font-weight: 400;
  }
  .intro-steps {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 30px
  }
  .intro-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 343px;
    height: auto;
    padding-bottom: 22px
  }
  .intro-step-no {
    align-self: stretch;
    height: 52px;
    line-height: 52px;
    font-size: 24px
  }
  .intro-icon, .intro-step .intro-icon {
    position: static;
    width: auto !important;
    height: 72px;
    margin: 20px 0 0;
    transform: none
  }
  .intro-step h3, .intro-step p:not(.intro-step-no) {
    position: static;
    width: auto;
    padding: 0 12px
  }
  .intro-step h3 {
    margin-top: 14px;
    line-height: 1.5
  }
  .intro-step p:not(.intro-step-no) {
    margin-top: 8px;
    line-height: 1.7
  }
  .intro-step p:not(.intro-step-no) br {
    display: none
  }
  .intro-step::after {
    top: auto;
    right: auto;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg)
  }
  /* ===== 規約・フッター ===== */
  .terms {
    padding: 40px 0
  }
  .terms-inner {
    padding: 0 16px
  }
  .terms h3, .terms p {
    line-height: 1.9
  }
  .terms p {
    margin-bottom: 24px
  }
  .site-footer {
    height: auto;
    padding: 5px 16px
  }
  .site-footer p {
    font-size: 12px;
    line-height: 1.7
  }
  .site-footer .en {
    font-size: 13px
  }
}
/* SP 調整（導入事例・料金表） */
@media (max-width:820px) {
  
  .plan-pill {
    height: auto;
    padding: 4px 4px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.35
  }
  .plan-pill b {
    display: inline-block;
    font-size: 14px
  }
}
@media (max-width:820px) {
  .spot-grid {
    grid-template-columns: 100px 1fr 110px;
  }
  .spot-th {
    flex-direction: column;
    font-size: var(--fs-caption);
    line-height: 1.4
  }
  .spot-th small {
    margin: 0;
    font-size: 12px
  }
  .spot-unit {
    padding-top: 0;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 18px;
    white-space: nowrap
  }
  .spot-unit small {
    font-size: 12px
  }
}
/* SP 小型端末（〜340px）：フォーム見出しを1行に収める */
@media (max-width:340px) {
  .form-box {
    padding-left: 12px;
    padding-right: 12px
  }
  .form-header {
    gap: 6px
  }
  .form-title h2 {
    font-size: 17px;
  }
  .form-title .small {
    font-size: 12px
  }
  .doc-img {
    width: 80px
  }
}
/* SP 広め（521〜820px）：FVの写真を人物が見える位置にし、フォームを少し大きくする */
@media (min-width:521px) and (max-width:820px) {
  .fv {
    --fv-overlap: 100px
  }
  .fv-left {
    padding: 56px 16px calc(40px + var(--fv-overlap));
    background-position: left 33%
  }
  .fv-text {
    max-width: 500px
  }
  .fv-inner {
    padding-bottom: 56px
  }
  .form-box {
    max-width: 560px;
    padding: 26px 30px 32px
  }
  .form-header {
    gap: 14px;
    margin-bottom: 22px
  }
  .doc-img {
    width: 140px
  }
  .form-title .small {
    font-size: 15px
  }
  .form-title h2 {
    font-size: 30px
  }
  .form-row {
    margin-bottom: 16px
  }
  .form-row label {
    font-size: 15px
  }
  .form-row input {
    height: 48px
  }
  .submit-btn {
    height: 64px;
    font-size: 20px
  }
}
/* SP：特徴1のフロー（矢印を各カードの間に入れる） */
@media (max-width:820px) {
  .flow-card1 {
    order: 1
  }
  .flow-arrow1 {
    order: 2
  }
  .flow-card2 {
    order: 3
  }
  .flow-arrow2 {
    order: 4
  }
  .flow-card3 {
    order: 5
  }
}

@media (max-width:820px) {
  .feature-nav {
    align-items: stretch
  }
}
/* SP：カード内の説明文を読みやすいサイズに（PC側の指定がSPで小さくなりすぎていた箇所） */
@media (max-width:820px) {
  .offer-card p {
    font-size: var(--fs-body-l);
    line-height: 1.5;
  }
  .trouble-body p, .rule-card p, .reason-list {
    font-size: var(--fs-body)
  }
  .flow-card p, .check-item p, .support-text, .gyosei-step p, .intro-step p:not(.intro-step-no) {
    font-size: var(--fs-body-s);
	  font-weight: 400;
	  line-height: 1.5;
  }
}
@media (max-width:820px) {
  /* 悩みカードは2列で幅が狭いので、単語の途中で折り返さない大きさにする */
  .trouble-body h3 {
    font-size: var(--fs-body-l)
  }
  .trouble-body p {
    font-size: var(--fs-body-s);
	  font-weight: 400;
  }
}
@media (max-width:820px) {
  /* オファー下の見出し：「まるっと一括サポート！」を途中で折り返さない */
  .offer-lead .pink {
    display: inline-block
  }
}

/* 画面が狭いときは、▼の下に枠を置く */

/* SP：※から始まる注記は、文字サイズ10px・太さ200 */
@media (max-width:820px) {
  .price-fee-note, .price-note, .gyosei-support small, .terms .note, .plan-td sup, .spot-desc sup {
    font-size: 10px;
    font-weight: 200
  }
}

/* SP：特徴の本文は15px */
@media (max-width:820px) {
  .feature-text,.feature-card1 .feature-text{font-size:var(--fs-body)}
}

/* SP：<br class="br-sp"> は、上で <br> を消している箇所の中でも必ず改行する */
@media (max-width:820px) {
  br.br-sp{display:block !important}
}

/* SP：選ばれる理由のチェックリストは左揃え（折り返しは均等にして、1文字だけ残らないようにする） */
@media (max-width:820px) {
  .reason-list li,
  .reason-body2 .reason-list li{justify-content:flex-start;text-wrap:nowrap;}
}

/* CVの見出し：PCは「\ …… /」を1行、SPは「負担を、」で改行して、両端の線を2行目に揃える */
.cv-sl--sp{display:none}
@media (max-width:820px) {
  .cv-sl--pc{display:none}
  .cv-sl--sp{display:inline}
}
@media (max-width:820px) {
  /* 狭い画面でも「安全書類業務の負担を、」が1行に収まるように、幅に合わせて文字を小さくする */
  .cv-title{font-size:clamp(22px,7.4vw,28px)}
}

/* CVの見出し（SP）：上段の文字幅に合わせて、下段の両端に「\」と「/」を置く */
@media (max-width:820px) {
  .cv-title{display:table;margin-left:auto;margin-right:auto}
  .cv-t1{display:block}
  .cv-t2{display:flex;align-items:baseline;justify-content:space-between}
}

/* SP：アイコンも、描かれている部分の高さが約64pxでそろうように高さを指定する */
@media (max-width:820px) {
  .intro-step1 .intro-icon{height:74px;margin-top:17px}
  .intro-step2 .intro-icon{height:78px;margin-top:14px}
  .intro-step3 .intro-icon{height:68px;margin-top:22px}
  .intro-step4 .intro-icon{height:67px;margin-top:19px}
}

/* SP：特徴セクションのPC側を「流れる配置」（grid / flex）に作り替えたことに伴う、SP側のリセット */
@media (max-width:820px) {
  .feature-card{display:block}
  .feature-nav-item{min-height:0}
  .flow-card,
  .flow-arrow,
  .flow-arrow2{flex:none}
  .flow-card p{min-height:0}
  .support{max-width:none;margin-left:0}
  .check-item{flex:none;min-height:0}
  .feature-systems{max-width:none;min-height:0}
  .rule-card{flex:none}
  .rule-card p{min-height:0}
}

/* SP：導入事例（パネルは縦積み） */
@media (max-width:820px){
  .case{padding:44px 16px 52px}
  .case-title{line-height:1.5}
  .case-sub{margin:8px 0 24px;font-size:var(--fs-title-s);line-height:1.5}
  .case-panel{margin-top:20px;border-radius:16px}
  .case-panel + .case-panel{margin-top:20px}
  .case-head{height:52px;line-height:52px}
  .case-body{display:block;padding:16px 16px 24px}
  .case-left{gap:16px}
  .case-detail{padding:14px}
  .case-chart{max-width:300px}
  
  
  .case-right{margin-top:22px}
  .case-row{flex-wrap:wrap;gap:8px 12px}
  .case-pill{width:120px;height:36px;font-size:var(--fs-body-s)}
  .case-price{margin-top:8px;font-size:46px;line-height:1.2}
  .case-price small{font-size:20px}
  .case-note{padding:0 12px;line-height:1.5;text-wrap:balance}
  .case-logo{width:min(220px,100%)}
  .case-arrow{width:56px;margin-top:16px}
  
  
  
  
  .case-band{width:auto;max-width:none;height:auto;margin:22px 16px 24px;padding:10px 8px;flex-wrap:wrap;line-height:1.3;font-size:var(--fs-title-xs)}
  .case-band .num{margin:0 3px;font-size:36px;line-height:1.2}
}

/* SP：座標指定をやめたセクション（悩み・料金・導入の流れ・行政書士）の、PC側の指定を打ち消すリセット */
@media (max-width:820px){
  .trouble-card{min-height:0}
  .trouble-body{padding-top:0}
  .price-fees{display:block}
  .spot-grid{margin:0}
  .intro-step{min-height:0}
}

/* SP 広め（521〜820px・iPad縦など）：ヘッダーのロゴとボタンを大きくする */
@media (min-width:521px) and (max-width:820px) {
  .header-inner{height:72px;padding:0 20px;gap:16px}
  .header-logo img{width:180px}
  .header-cta{gap:10px}
  .header-btn{max-width:230px;height:52px;padding-right:12px;border-width:3px;border-radius:8px;font-size:16px}
  .header-btn::before{border-radius:5px}
  .header-btn .arrow{right:14px;width:9px}
}

/* SP 広め（521〜820px）：キャンペーン帯の文字を大きくする */
@media (min-width:521px) and (max-width:820px) {
  .campaign-line1{font-size:24px;line-height:36px}
  .campaign-line2{font-size:34px;line-height:50px}
  .campaign-line2 .underline{font-size:24px}
}

/* SP 広め（521〜820px）：オファー見出しの「ロゴ＋が＋まとめて解決！」を1行にする */
@media (min-width:521px) and (max-width:820px) {
  .offer-title .offer-title-main{flex-wrap:nowrap;gap:0}
  .offer-logo{width:300px;flex:none}
  .offer-title-main .pink{flex-basis:auto;margin-left:4px;white-space:nowrap}
}

/* SP 広め（521〜820px）：特徴カードの「見出し＋本文」と画像を横並びにする */
@media (min-width:521px) and (max-width:820px) {
  .feature-card{display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:start;padding:24px 24px 28px}
  .feature-card .feature-visual{margin:0;width:240px;max-width:none;align-self:center}
  .feature-card1 .feature-visual{width:250px}
  .feature-card3 .feature-visual{width:240px}
}

/* SP 広め（521〜820px）：特徴2の3項目（内容をチェック／期限・進捗を管理／不備・差戻しを防止）を横3列にする */
@media (min-width:521px) and (max-width:820px) {
  .check{flex-direction:row;gap:10px}
  .check-item{flex:1 1 0;flex-direction:column;justify-content:flex-start;gap:10px;padding:18px 10px 16px;text-align:center}
  .check-item img,.check-item2 img,.check-item3 img{width:auto;height:52px;margin:0}
  .check-item div{margin:0}
  .check-item p{margin-top:6px}
}

/* SP 広め（521〜820px）：CVの見出しを「 安全書類業務の負担を、今すぐ減らす！ /」の1行にする */
@media (min-width:521px) and (max-width:820px) {
  .cv-title{display:block;font-size:var(--fs-title-l)}
  .cv-sl--pc{display:inline}
  .cv-sl--sp{display:none}
  .cv-t1{display:inline}
  .cv-t2{display:inline}
}

/* iPad（600〜820px）：選ばれる理由の2枚のカードを横並びにする（これより狭いと文言が入らないので、縦に積む） */
@media (min-width:600px) and (max-width:820px) {
  .reason-cards{flex-direction:row;align-items:stretch;gap:16px}
  .reason-card{flex:1 1 0;width:auto;max-width:none;min-width:0}
}

/* SP 広め（521〜820px）：導入事例のパネルを「左＝グラフ／右＝金額」の2カラムにする */
@media (min-width:521px) and (max-width:820px) {
  .case-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 20px 0}
  .case-right{margin-top:0}
  .case-pill{width:104px;height:34px}
  .case-row{gap:8px}
  .case-row-text{font-size:var(--fs-body-l)}
  .case-logo{width:min(170px,100%)}
  .case-price{font-size:40px}
  .case-price small{font-size:16px}
  .case-note{padding:0;text-wrap:balance}
  
  
  .case-arrow{width:44px}
  
  .case-band{margin:24px 20px}
}

/* iPad（750〜820px）：月額パッケージの表を、横スクロールさせず画面幅いっぱいに表示する（これより狭いと中身が入らないので、横スクロールの表にする） */
@media (min-width:750px) and (max-width:820px) {
  .plan-scroll{margin:0;padding:24px 0 0;overflow:visible}
  .plan-scroll::before{display:none}
  .plan-grid{width:100%;margin-left:0;grid-template-columns:150px repeat(3,1fr) 80px;grid-template-rows:170px 64px 64px 64px 64px}
  .plan-name{font-size:var(--fs-body-l)}
  .plan-pill{font-size:11px;white-space:nowrap}
  .plan-pill b{font-size:14px}
  .plan-recommend{width:120px}
  .plan-td{font-size:var(--fs-body-l)}
  .plan-td--label{font-size:14px;padding:0 6px;text-wrap:balance}
  .plan-td--over{font-size:var(--fs-title-xs)}
}

/* SP 広め（521〜820px）：CVのカードを横に広げ、写真も大きくする */
@media (min-width:521px) and (max-width:820px) {
  .cv-card{max-width:600px;padding:28px 28px 30px;gap:20px 24px}
  .cv-img{width:190px}
  .cv-doc{width:200px}
  .cv-text,.cv-text2{font-size:var(--fs-title-xs)}
  .cv-text .hl{font-size:var(--fs-title-s)}
  .cv-text2{font-size:var(--fs-title-s)}
  .cv-text2 .hl{font-size:var(--fs-title-ms)}
  .cv-text2 .num{font-size:44px}
}

/* SP 広め（521〜820px）：行政書士の見出し（白い帯の2行）を、他の見出しと同じ大きさにする */
@media (min-width:521px) and (max-width:820px) {
  .gyosei-title .gyosei-pill{font-size:var(--fs-title-l);padding:4px 14px;margin-bottom:12px}
}

/* SP 広め（521〜820px）：行政書士の3ステップ（入力・更新を代行 → チェック → 提出）を横並びにする */
@media (min-width:521px) and (max-width:820px) {
  .gyosei-steps{flex-direction:row;align-items:flex-start;justify-content:center}
  .gyosei-step{flex:1 1 0;width:auto;min-width:0;max-width:213px}
  .gyosei-box{width:100%;height:auto;aspect-ratio:213 / 158}
  .gyosei-step1 .gyosei-box img{width:75.6%}
  .gyosei-step2 .gyosei-box img{width:56.3%}
  .gyosei-step3 .gyosei-box img{width:68.1%}
  .gyosei-arrow{flex:0 0 40px;padding:clamp(40px,8.5vw,65px) 0 0;transform:none}
}

/* SP 広め（521〜820px）：数字カード2枚を横並びにする（幅が足りなければ「削減」の前で折り返す） */
@media (min-width:521px) and (max-width:820px) {
  .numbers-cards{flex-direction:row;align-items:stretch;gap:16px}
  .numbers-card{flex:1 1 0;width:auto;max-width:none;min-width:0}
  .numbers-value{flex-wrap:wrap;row-gap:0}
  .numbers-value .n{font-size:76px}
  .numbers-value .u{margin-top:20px;font-size:44px}
  .numbers-value .k{font-size:50px}
}

/* SP 広め（521〜820px）：CVカードの「写真＋文」を左右中央に寄せる */
@media (min-width:521px) and (max-width:820px) {
  .cv-card{justify-content:center}
  .cv-text,.cv-text2{flex:0 1 auto}
}

/* SP 広め（521〜820px）：行政書士のご相談ボックスを、イラスト＋テキストの横並びにする */
@media (min-width:521px) and (max-width:820px) {
  .gyosei-support{flex-direction:row;align-items:center;justify-content:center;gap:28px;padding:24px 28px;text-align:left}
  .gyosei-support img{flex:none;width:150px}
  .gyosei-support div{margin:0}
}

/* SP 広め（521〜820px）：数字セクションの見出し「早く、安く、正確に。数字が証明する業務改革」を1行にする */
@media (min-width:521px) and (max-width:820px) {
  .numbers-title .numbers-title-1,
  .numbers-title .numbers-title-2{display:inline}
  .numbers-title .numbers-title-2{margin:0 0 0 12px}
}

/* SP 広め（521〜820px）：初期費用とライセンス費用のカードを横並びにする */
@media (min-width:521px) and (max-width:820px) {
  .price-fees{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}
  .price-fee{margin-bottom:0}
  .price-fee1 .price-fee-label,.price-fee2 .price-fee-label{display:flex;align-items:center;justify-content:center;min-height:68px}
  .price-fee-value{flex:1;align-items:center;padding:12px 0 14px}
  .price-fee-note{margin:0}
}

/* ---------------------
  スマホ専用（520px以下）
  iPad（521〜820px）には効かせたくない指定は、ここに書く
--------------------- */
@media (max-width:520px) {
  .fv-note {
	  font-size: 7px;
	  text-align: center;
  }
}
/* オファー下の見出し：幅に合わせて文字を縮め、各行を折り返さず1行に収める（蛍光ペン風の線も行に沿う） */
@media (max-width:520px) {
  .offer-lead{font-size:clamp(16px,5.2vw,28px);line-height:1.7}
  .offer-lead .pink{display:inline;white-space:nowrap}
}

/* スマホ：ヘッダーの2つのボタンは、画面の下に固定して常に押せるようにする（ヘッダーにはロゴだけ残る） */
@media (max-width:520px) {
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .header-cta{position:fixed;left:0;right:0;bottom:0;z-index:1000;flex:none;justify-content:center;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 15px rgba(0,0,0,.12)}
  .header-btn{flex:1;max-width:none;height:48px;font-size:14px}
}

/* スマホ：導入事例の「AFTER ＋ ロゴ」「BEFORE ＋ 自社対応する場合」を折り返さず横並びにする */
@media (max-width:520px) {
  .case-row{flex-wrap:nowrap;gap:10px}
  .case-pill{width:96px;flex:none}
  .case-logo{width:160px;flex:0 1 auto;min-width:0}
}

/* スマホ：行政書士の見出し（白い帯）も、他の見出しと同じ大きさ（--fs-title-l）にする。長い行は帯の中で折り返す */
@media (max-width:520px) {
  .gyosei-title .gyosei-pill{font-size:var(--fs-title-l);text-wrap:balance}
}

/* スマホ・狭いiPad（749px以下）：月額パッケージの表（横スクロール）は、各列を広げて左右に余白を持たせる */
@media (max-width:749px) {
  .plan-grid{width:750px;grid-template-columns:120px 180px 180px 180px 90px}
  .plan-th{padding-left:10px;padding-right:10px}
  .plan-th--over{padding:0}
  .plan-pill{width:100%;font-size:10px;white-space:nowrap}
  .plan-td{padding:0 10px}
}

/* 改行用クラス（<br class="…">）
   br-pc     : 821px以上だけ改行（style.css）
   br-sp     : 820px以下（iPad＋スマホ）で改行（style.css）
   br-tab    : iPad（521〜820px）だけ改行
   br-mobile : スマホ（520px以下）だけ改行 */
br.br-tab,br.br-mobile{display:none}
@media (min-width:521px) and (max-width:820px) {
  br.br-tab{display:block}
}
@media (max-width:520px) {
  br.br-mobile{display:block}
}

/* 行政書士の見出し：2本目の帯は、PC・iPadでは1つの帯、スマホでは「不備・差戻しを」「最小限に防げます!」の2ブロックに分ける */
.gyosei-title .gyosei-pill-l{display:inline}
@media (max-width:520px) {
  .gyosei-title .gyosei-pill:has(.gyosei-pill-l){background:none;padding:0}
  .gyosei-title .gyosei-pill-l{display:block;width:fit-content;margin:0 auto 8px;padding:2px 10px;background:#fff;line-height:1.5}
  .gyosei-title .gyosei-pill-l:last-child{margin-bottom:0}
}

/* 規約の注記（※代表電話番号は…）：折り返しても、注記だけ自分の行の高さで詰める（外側の段落の行の高さに引っ張られない） */
@media (max-width:820px) {
  .terms .note{display:inline-block;vertical-align:top;line-height:1.6}
}

/* スマホ：ヘッダーのロゴの右に「協力会社向け 労務安全書類作成・提出代行サービス」を表示する（幅に合わせて文字を縮める） */
@media (max-width:520px) {
  .header-brand{flex:1;gap:8px}
  .header-lead{display:block;font-size:clamp(8px,2.6vw,11px);line-height:1.4}
}

/* スマホ：CVの見出し（cv-slash-tall）。両端の線は、HTML に入れた画像（line1@3x.webp / line2@3x.webp）を元の縦横比のまま表示する
   高さは見出し2行分（文字サイズの3倍）。線が幅を取るので、見出しの文字は画面幅に合わせて縮める
   見出しを3列（左の線／文字2行／右の線）に分ける。PC・iPadで使う文字の「\」「/」はスマホでは隠す */
.cv-sl--spr{display:none}
@media (max-width:520px) {
  .cv-title{display:grid;grid-template-columns:auto auto auto;justify-content:center;align-items:center;column-gap:4px;text-align:center;font-size:clamp(17px,calc((100vw - 40px) / 14.7),28px)}
  .cv-t1{grid-column:2;grid-row:1}
  .cv-t2{display:contents}
  .cv-t2-text{grid-column:2;grid-row:2}
  .cv-sl-r{display:none}
  .cv-sl--sp,.cv-sl--spr{display:block;grid-row:1 / 3;align-self:center}
  .cv-sl--sp{grid-column:1;margin-left:-8px}
  .cv-sl--spr{grid-column:3;margin-right:-8px}
  .cv-sl--sp img,.cv-sl--spr img{display:block;height:2em;width:auto;max-width:none}
}
/*スマホ:悩み*/
.trouble-body h3 {
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* スマホ：行政書士の3ステップ（gyosei-step-row）。左＝イラスト、右＝見出しと説明の横並び。矢印はイラストの真下 */
@media (max-width:520px) {
  .gyosei-steps{width:100%;max-width:343px;margin-left:auto;margin-right:auto;align-items:stretch}
  .gyosei-step{display:grid;grid-template-columns:130px minmax(0,1fr);column-gap:16px;align-items:center;max-width:none;text-align:left}
  .gyosei-box{grid-row:1 / 3;width:130px;height:100px;margin:0}
  .gyosei-step1 .gyosei-box img{width:100px}
  .gyosei-step2 .gyosei-box img{width:75px}
  .gyosei-step3 .gyosei-box img{width:90px}
  .gyosei-step h3{align-self:end;margin-top:0;text-align:left;text-wrap:balance}
  .gyosei-step p{align-self:start;margin-top:4px;text-align:left}
  .gyosei-arrow{align-self:center;}
}

/* iPad・スマホ（820px以下）：導入までの流れ（intro-step-row）。上＝STEP帯、中＝左イラスト／右見出し、下＝説明文（縦幅をコンパクトに） */
@media (max-width:820px) {
  .intro-steps{gap:28px}
  .intro-step{display:grid;grid-template-columns:110px 1fr;grid-template-rows:auto auto auto;align-items:center;justify-items:stretch;column-gap:8px;padding:0 0 14px}
  .intro-step-no{grid-column:1 / 3;grid-row:1;height:40px;line-height:40px;font-size:20px}
  .intro-step .intro-icon{grid-column:1;grid-row:2;justify-self:center;align-self:center;margin:10px 0 0}
  .intro-step1 .intro-icon{height:58px;margin-top:10px}
  .intro-step2 .intro-icon{height:61px;margin-top:10px}
  .intro-step3 .intro-icon{height:53px;margin-top:10px}
  .intro-step4 .intro-icon{height:52px;margin-top:10px}
  .intro-step h3{grid-column:2;grid-row:2;display:block;height:auto;margin:10px 0 0;padding:0 16px 0 0;text-align:left;line-height:1.35}
  .intro-step p:not(.intro-step-no){grid-column:1 / 3;grid-row:3;margin:6px 0 0;padding:0 16px;text-align:center;text-wrap:balance;line-height:1.55}
}

/* お問合せの帯（料金プランの下）の2行目。PC・iPadでは今までどおり「\ … /」を文字で表示し、画像の線は隠す */
.campaign--contact .campaign-line2 .cl-sl,
.campaign--contact .campaign-line2 .cl-text{display:inline}
.campaign--contact .campaign-line2 .cl-img{display:none}
/* スマホ：お問合せの帯（campaign-sl-tall）。2行目は「画像の線｜文字2行｜画像の線」。画像は元の縦横比のまま、高さは文字2行分。文字の線は隠す */
@media (max-width:520px) {
  .campaign--contact .campaign-line2{display:grid;grid-template-columns:auto auto auto;justify-content:center;align-items:center;column-gap:4px;font-size:clamp(14px,calc((100vw - 48px) / 16.8),20px);line-height:1.6}
  .campaign--contact .campaign-line2 .cl-text{display:block;text-align:center}
  .campaign--contact .campaign-line2 .cl-sl{display:none}
  .campaign--contact .campaign-line2 .cl-img{display:block;align-self:center}
  .campaign--contact .campaign-line2 .cl-img--l{margin-left:-8px}
  .campaign--contact .campaign-line2 .cl-img--r{margin-right:-8px}
  .campaign--contact .campaign-line2 .cl-img img{display:block;height:3.2em;width:auto;max-width:none}
}

/* PC（821px以上）：お問合せの帯（料金プランの下）は、2行目の両端の「\」「/」の装飾線を出さない（campaign-sl-pc-none） */
@media (min-width:820.02px) {
  .campaign--contact .campaign-line2 .cl-sl{display:none}
}

/* iPad・スマホ（820px以下）：料金表の「(税抜)」を小さくする */
@media (max-width:820px) {
  .plan-price .plan-tax{font-size:10px}
  .plan-th--over .plan-tax{font-size:11px;margin-top:4px}
}

/* iPad・スマホ（820px以下）：行政書士の見出しと説明は、入りきらないときだけ折り返す（横にはみ出さない） */
@media (max-width:820px) {
  .gyosei-step h3,.gyosei-step p{max-width:100%;white-space: nowrap;}
}
