/* =========================================================
   SNS Makes Partners — First guide pages v2.3.0
   /first/ + restaurant + food company + flow
   ========================================================= */
.smp-first-page {
  --first-ink: #0b2748;
  --first-blue: #1261c9;
  --first-blue-dark: #06346c;
  --first-pale: #f7f9fc;
  --first-line: #d8e2ee;
  --first-muted: #63758a;
  background: #fff;
}

.smp-first-page h1,
.smp-first-page h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: .01em;
}

.smp-first-page .smp-v170-section {
  padding-top: clamp(92px, 8vw, 126px);
  padding-bottom: clamp(92px, 8vw, 126px);
}

/* ---------- header ---------- */
/*
 * /first/ routes intentionally use the global header system.
 * Do not add route-specific fixed/transparent header rules here;
 * the breadcrumb strip must remain in normal document flow exactly
 * like /about/.
 */

/* ---------- hero ---------- */
.smp-first-page .smp-first-hero {
  min-height: 700px;
  padding: 0 !important;
  display: block;
}
.smp-first-page .smp-first-hero::before {
  background-position: var(--smp-hero-position, 64% center);
  transform: translate3d(var(--smp-hero-x), calc(var(--smp-hero-y) + var(--smp-hero-parallax)), 0) scale(1.06);
}
.smp-first-page .smp-first-hero::after {
  background:
    linear-gradient(90deg, rgba(6,15,24,.72) 0%, rgba(6,15,24,.58) 34%, rgba(6,15,24,.28) 62%, rgba(6,15,24,.18) 100%),
    linear-gradient(180deg, rgba(5,17,31,.08), rgba(5,17,31,.42));
}
.smp-first-page .smp-first-hero .smp-v170-fv-inner {
  min-height: 626px;
  padding-top: 128px;
  padding-bottom: 94px;
  align-items: center;
}
.smp-first-page .smp-first-hero .smp-v170-fv-copy {
  max-width: 760px;
  padding-left: clamp(12px, 2.8vw, 42px);
}
.smp-first-page .smp-first-hero .smp-v170-kicker {
  margin-bottom: 20px;
  color: #fff;
  font-size: .88rem;
  letter-spacing: .08em;
}
.smp-first-page .smp-first-hero h1 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 1.42;
  text-wrap: balance;
  text-shadow: 0 7px 24px rgba(0,0,0,.24);
}
.smp-first-page .smp-first-hero .smp-v170-lead {
  max-width: 600px;
  margin-top: 22px;
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.95;
}
.smp-first-scroll {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255,255,255,.86);
  font-size: .68rem;
  letter-spacing: .12em;
  transform: translateX(-50%);
}
.smp-first-scroll i { width: 1px; height: 34px; background: rgba(255,255,255,.6); animation: smpFirstScroll 1.8s ease-in-out infinite; }
@keyframes smpFirstScroll { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity:.45; } 50% { transform: scaleY(1); opacity:1; } }

/* ---------- local navigation ---------- */
.smp-first-localnav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: rgba(255,255,255,.98);
  border-top: 1px solid rgba(255,255,255,.35);
}
.smp-first-tabs { width: 100%; }
.smp-first-tabs-track { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.smp-first-tab {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #4c5f74;
  font-size: .86rem;
  font-weight: 700;
  transition: color .25s ease, background .25s ease;
}
.smp-first-tab::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  background: var(--first-blue);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.smp-first-tab:hover { color: var(--first-blue); background: #f8fbff; }
.smp-first-tab.is-active { color: var(--first-blue); }
.smp-first-tab.is-active::after { transform: scaleX(1); }

/* ---------- headings ---------- */
.smp-first-heading {
  max-width: 900px;
  margin: 0 auto 58px;
  text-align: center;
}
.smp-first-heading h2 {
  position: relative;
  color: var(--first-ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.55;
}
.smp-first-heading h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--first-blue);
  transform: scaleX(0);
  transition: transform .75s cubic-bezier(.2,.8,.2,1) .08s;
}
.smp-first-heading.is-visible h2::after,
.is-section-visible .smp-first-heading h2::after { transform: scaleX(1); }
.smp-first-heading > p { max-width: 660px; margin: 18px auto 0; color: var(--first-muted); }

/* ---------- first hub: 3 visual routes ---------- */
.smp-first-choices { background: #fff; }
.smp-first-choice-grid { display: grid; grid-template-columns: 1.05fr 1fr .95fr; gap: 1px; background: #fff; box-shadow: 0 20px 56px rgba(12,39,72,.08); }
.smp-first-choice {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #111;
}
.smp-first-choice figure { position: absolute; inset: 0; margin: 0; }
.smp-first-choice img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.73); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.smp-first-choice::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 28%,rgba(2,10,20,.82) 100%); }
.smp-first-choice-overlay { position:absolute; inset:auto 0 0; z-index:2; padding:34px 30px 28px; color:#fff; }
.smp-first-choice-overlay h3 { margin:0 0 12px; color:#fff; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1.45rem; font-weight:600; line-height:1.5; }
.smp-first-choice-overlay p { margin:0 0 18px; color:rgba(255,255,255,.88); font-size:.86rem; line-height:1.8; }
.smp-first-choice-overlay > span { color:rgba(255,255,255,.64); font-size:.72rem; letter-spacing:.03em; }
.smp-first-choice-overlay .smp-icon { position:absolute; right:28px; bottom:26px; width:25px; height:25px; color:#fff; transition:transform .3s ease; }
.smp-first-choice:hover img { transform:scale(1.045); filter:brightness(.8); }
.smp-first-choice:hover .smp-icon { transform:translateX(6px); }

/* ---------- first hub diagnosis line ---------- */
.smp-first-check { background:#fff; }
.smp-first-check-line { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; min-width:0; margin:0; padding:0; list-style:none; }
.smp-first-check-line::before { content:""; position:absolute; left:8%; right:8%; top:55px; height:1px; background:#9fb7d3; transform:scaleX(0); transform-origin:left; transition:transform 1.2s cubic-bezier(.2,.8,.2,1); }
.smp-first-check.is-section-visible .smp-first-check-line::before { transform:scaleX(1); }
.smp-first-check-line li { position:relative; min-width:0; text-align:center; padding:0 clamp(12px,1.6vw,24px); }
.smp-first-check-line li::before { content:""; position:absolute; top:49px; left:50%; width:12px; height:12px; border:2px solid var(--first-blue); border-radius:50%; background:#fff; transform:translateX(-50%); }
.smp-first-check-line li > span { display:block; margin-bottom:38px; color:var(--first-blue); font-family:Georgia,serif; font-size:2.3rem; font-style:italic; line-height:1; }
.smp-first-check-line strong { display:block; color:var(--first-ink); font-size:1rem; }
.smp-first-check-line p { margin:10px 0 0; color:var(--first-muted); font-size:.78rem; line-height:1.8; }

/* ---------- worries ---------- */
.smp-first-worries { background:#fff; }
.smp-first-worries-inner { max-width:980px; }
.smp-first-worry-list { border-top:1px solid var(--first-line); }
.smp-first-worry-list > div { display:grid; grid-template-columns:54px 1fr 32px; align-items:center; min-height:68px; border-bottom:1px solid var(--first-line); }
.smp-first-worry-list span { color:var(--first-blue); font-family:Georgia,serif; font-size:1.35rem; font-style:italic; }
.smp-first-worry-list p { margin:0; color:var(--first-ink); font-weight:600; }
.smp-first-worry-list b { color:var(--first-blue); font-size:1.3rem; font-weight:400; text-align:right; }
.smp-first-reassurance { margin-top:56px; text-align:center; }
.smp-first-reassurance strong { display:block; color:#1471d5; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(1.65rem,2.6vw,2.25rem); font-weight:600; letter-spacing:.04em; }
.smp-first-reassurance p { margin:10px 0 0; color:var(--first-muted); }

/* ---------- split problem sections ---------- */
.smp-first-problems { background:#fff; }
.smp-first-split { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:clamp(54px,7vw,96px); align-items:center; }
.smp-first-split .smp-first-heading { margin:0 0 36px; text-align:left; }
.smp-first-split .smp-first-heading h2::after { margin-left:0; }
.smp-first-tall-photo { margin:0; overflow:hidden; min-height:570px; aspect-ratio:.87; background:#eef3f8; }
.smp-first-tall-photo img { width:100%; height:100%; object-fit:cover; }
.smp-first-number-list { margin:0; padding:0; list-style:none; border-top:1px solid var(--first-line); }
.smp-first-number-list li { display:grid; grid-template-columns:54px 1fr; gap:10px; align-items:center; min-height:68px; border-bottom:1px solid var(--first-line); color:var(--first-ink); font-weight:600; }
.smp-first-number-list span { color:var(--first-blue); font-family:Georgia,serif; font-size:1.35rem; font-style:italic; }
.smp-first-check-list { margin:0; padding:0; list-style:none; }
.smp-first-check-list li { display:flex; align-items:center; gap:14px; min-height:58px; color:var(--first-ink); border-bottom:1px solid #e8edf3; font-weight:600; }
.smp-first-check-list .smp-icon { flex:0 0 30px; width:30px; height:30px; padding:6px; color:var(--first-blue); border:1px solid #9fb7d3; border-radius:50%; }

/* ---------- restaurant measures ---------- */
.smp-first-measures { background:#f8fafc; }
.smp-first-measure-list { max-width:1040px; margin:0 auto; border-top:1px solid var(--first-line); }
.smp-first-measure-list > div { display:grid; grid-template-columns:70px minmax(0,1fr) 130px minmax(0,1fr); gap:24px; align-items:center; min-height:112px; border-bottom:1px solid var(--first-line); }
.smp-first-measure-list .smp-icon { width:46px; height:46px; color:#52667e; }
.smp-first-measure-list strong,
.smp-first-measure-list span { color:var(--first-ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1.22rem; font-weight:600; }
.smp-first-measure-list i { position:relative; height:1px; background:repeating-linear-gradient(90deg,var(--first-blue) 0 4px,transparent 4px 8px); }
.smp-first-measure-list i::after { content:"→"; position:absolute; right:-2px; top:-12px; color:var(--first-blue); font-style:normal; }

/* ---------- restaurant influencer selection ---------- */
.smp-first-selection { background:#fff; }
.smp-first-selection-map { position:relative; width:min(700px,100%); height:430px; margin:0 auto; }
.smp-first-selection-map::before { content:""; position:absolute; inset:70px 82px; border:1px dashed #85b4e8; border-radius:50%; }
.smp-first-selection-center { position:absolute; left:50%; top:50%; width:150px; height:150px; display:grid; place-items:center; text-align:center; color:#fff; background:var(--first-blue-dark); border:5px solid #dbeaff; transform:translate(-50%,-50%) rotate(45deg); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1.2rem; line-height:1.5; }
.smp-first-selection-center { text-shadow:0 1px 0 rgba(0,0,0,.1); }
.smp-first-selection-center::after { content:""; }
.smp-first-selection-center { }
.smp-first-selection-center { }
.smp-first-selection-map .smp-first-selection-center { }
.smp-first-selection-center { }
.smp-first-selection-point { position:absolute; display:flex; flex-direction:column; align-items:center; gap:8px; color:#50657c; font-weight:700; }
.smp-first-selection-point .smp-icon { width:32px; height:32px; color:#526d8d; }
.smp-first-selection-point.p1 { left:50%; top:18px; transform:translateX(-50%); }
.smp-first-selection-point.p2 { right:5%; top:50%; transform:translateY(-50%); }
.smp-first-selection-point.p3 { left:50%; bottom:8px; transform:translateX(-50%); }
.smp-first-selection-point.p4 { left:5%; top:50%; transform:translateY(-50%); }

/* rotate the center text back */
.smp-first-selection-center { color:transparent; }
.smp-first-selection-center::before { content:"店舗との相性"; white-space:normal; color:#fff; transform:rotate(-45deg); }

/* ---------- preparation ---------- */
.smp-first-prep { background:#fff; }
.smp-first-prep-grid { display:grid; grid-template-columns:repeat(4,1fr); max-width:980px; margin:0 auto; padding:0; list-style:none; }
.smp-first-prep-grid li { min-height:140px; text-align:center; border-right:1px solid var(--first-line); }
.smp-first-prep-grid li:last-child { border-right:0; }
.smp-first-prep-grid span { display:block; margin-bottom:14px; color:var(--first-blue); font-family:Georgia,serif; font-size:2.35rem; font-style:italic; }
.smp-first-prep-grid strong { color:var(--first-ink); font-size:1rem; }
.smp-first-prep-note { margin:24px 0 0; text-align:center; color:#58708b; font-weight:700; }

/* ---------- food company support list ---------- */
.smp-first-supports { background:#fff; }
.smp-first-support-list { max-width:1080px; margin:0 auto; border-top:1px solid var(--first-line); }
.smp-first-support-list > div { display:grid; grid-template-columns:64px minmax(0,1fr) minmax(0,1fr) 28px; gap:20px; align-items:center; min-height:88px; border-bottom:1px solid var(--first-line); }
.smp-first-support-list .smp-icon:first-child { width:36px; height:36px; color:var(--first-blue-dark); }
.smp-first-support-list .smp-icon:last-child { width:20px; height:20px; color:var(--first-blue-dark); }
.smp-first-support-list strong { color:var(--first-ink); }
.smp-first-support-list span { color:#294c74; font-weight:700; }

/* ---------- food PR checks ---------- */
.smp-first-pr-checks { background:#fff; }
.smp-first-pr-checks-grid { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(48px,7vw,92px); align-items:center; }
.smp-first-pr-checks-grid > div:first-child .smp-first-heading { margin:0 0 24px; text-align:left; }
.smp-first-pr-checks-grid > div:first-child .smp-first-heading h2::after { margin-left:0; }
.smp-first-pr-checks-grid > div:first-child > p { color:var(--first-muted); line-height:2; }
.smp-first-photo-check-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:#fff; }
.smp-first-photo-check-grid > div { position:relative; min-height:190px; overflow:hidden; background:#edf2f8; }
.smp-first-photo-check-grid img,
.smp-first-photo-placeholder { width:100%; height:100%; min-height:190px; object-fit:cover; }
.smp-first-photo-placeholder { display:grid; place-items:center; background:linear-gradient(135deg,#f4f7fa,#e7eef6); }
.smp-first-photo-placeholder .smp-icon { width:50px; height:50px; color:#526c88; }
.smp-first-photo-check-grid span { position:absolute; left:16px; top:14px; color:var(--first-ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1rem; font-weight:700; text-shadow:0 1px 8px rgba(255,255,255,.85); }
.smp-first-photo-check-grid span b { margin-right:7px; color:var(--first-blue); font-family:Georgia,serif; font-size:1.4rem; font-style:italic; }

/* ---------- food 3 step ---------- */
.smp-first-process { background:#fff; }
.smp-first-process-line { position:relative; display:grid; grid-template-columns:repeat(3,1fr); max-width:980px; margin:0 auto; padding:0; list-style:none; }
.smp-first-process-line::before { content:""; position:absolute; left:17%; right:17%; top:76px; height:1px; background:repeating-linear-gradient(90deg,#87a8cb 0 5px,transparent 5px 10px); transform:scaleX(0); transform-origin:left; transition:transform 1.1s cubic-bezier(.2,.8,.2,1); }
.smp-first-process.is-section-visible .smp-first-process-line::before { transform:scaleX(1); }
.smp-first-process-line li { position:relative; text-align:center; padding:0 24px; }
.smp-first-process-line span { position:absolute; left:20%; top:0; width:44px; height:44px; display:grid; place-items:center; border:1px solid #55718e; border-radius:50%; color:var(--first-ink); background:#fff; font-family:Georgia,serif; font-style:italic; }
.smp-first-process-line .smp-icon { display:block; width:48px; height:48px; margin:52px auto 18px; color:#536b84; }
.smp-first-process-line strong { color:var(--first-ink); }

/* ---------- flow page: 6 steps ---------- */
.smp-first-flow-steps { background:#fff; }
.smp-first-six-flow { position:relative; display:grid; grid-template-columns:repeat(6,1fr); margin:0; padding:0; list-style:none; }
.smp-first-six-flow::before { content:""; position:absolute; left:4%; right:4%; top:80px; height:1px; background:#8eb1d6; transform:scaleX(0); transform-origin:left; transition:transform 1.35s cubic-bezier(.2,.8,.2,1); }
.smp-first-flow-steps.is-section-visible .smp-first-six-flow::before { transform:scaleX(1); }
.smp-first-six-flow li { position:relative; min-height:260px; text-align:center; padding:0 12px; }
.smp-first-six-flow li::before { content:""; position:absolute; top:74px; left:50%; width:12px; height:12px; border-radius:50%; background:var(--first-blue); transform:translateX(-50%) scale(.3); opacity:0; transition:transform .45s ease,opacity .45s ease; }
.smp-first-six-flow li.is-visible::before { transform:translateX(-50%) scale(1); opacity:1; }
.smp-first-six-flow span { display:block; color:var(--first-blue); font-size:.7rem; line-height:1.15; }
.smp-first-six-flow span b { font-family:Georgia,serif; font-size:1.9rem; font-weight:400; }
.smp-first-six-flow .smp-icon { display:block; width:48px; height:48px; margin:68px auto 18px; color:#546b82; }
.smp-first-six-flow strong { display:block; color:var(--first-ink); font-size:.88rem; line-height:1.65; }
.smp-first-flow-note { margin:12px 0 0; text-align:center; color:var(--first-muted); font-size:.84rem; }

/* ---------- flow consultation checks ---------- */
.smp-first-flow-checks { background:var(--first-pale); }
.smp-first-flow-check-grid { display:grid; grid-template-columns:repeat(6,1fr); max-width:1160px; margin:0 auto; }
.smp-first-flow-check-grid > div { min-height:190px; padding:18px 20px; text-align:center; border-right:1px solid var(--first-line); }
.smp-first-flow-check-grid > div:last-child { border-right:0; }
.smp-first-flow-check-grid .smp-icon { width:52px; height:52px; margin:0 auto 18px; color:#596f87; }
.smp-first-flow-check-grid strong { display:block; color:var(--first-ink); }
.smp-first-flow-check-grid p { margin:9px 0 0; color:var(--first-muted); font-size:.75rem; line-height:1.7; }

/* ---------- flow FAQ ---------- */
.smp-first-flow-faq { background:#fff; }
.smp-first-faq-list { max-width:1080px; margin:0 auto; border:1px solid var(--first-line); border-radius:4px; overflow:hidden; }
.smp-first-faq-list .smp-faq-item { border-bottom:1px solid var(--first-line); }
.smp-first-faq-list .smp-faq-item:last-child { border-bottom:0; }
.smp-first-faq-list .smp-faq-item button { min-height:76px; padding:18px 24px; }
.smp-first-faq-list .smp-faq-item button > span:first-child { display:flex; align-items:center; gap:20px; text-align:left; }
.smp-first-faq-list .smp-faq-item button b { color:var(--first-blue); font-family:Georgia,serif; font-size:1.5rem; font-weight:400; }
.smp-first-faq-list .smp-faq-answer { padding:0 72px 24px; }
.smp-first-faq-list .smp-faq-answer p { color:var(--first-muted); }

/* ---------- CTA / final ---------- */
.smp-first-page .smp-first-final { border-top:0; background:
  linear-gradient(115deg,rgba(0,37,86,.97),rgba(0,83,169,.93)),
  url('../images/network-pattern.svg') center/cover no-repeat;
}
.smp-first-page .smp-first-final h2,
.smp-first-page .smp-first-final span { color:#fff; }

/* ---------- progressive animation refinements ---------- */
.smp-js.smp-motion-ready .smp-first-page .smp-first-choice.smp-motion-item,
.smp-js.smp-motion-ready .smp-first-page .smp-first-tall-photo.smp-motion-item {
  opacity:0;
  transform:translateY(22px) scale(.985);
  clip-path:inset(0 0 7% 0 round 2px);
}
.smp-js.smp-motion-ready .smp-first-page .smp-first-choice.is-visible,
.smp-js.smp-motion-ready .smp-first-page .smp-first-tall-photo.is-visible {
  opacity:1;
  transform:none;
  clip-path:inset(0);
  transition:opacity .75s ease,transform .9s cubic-bezier(.2,.8,.2,1),clip-path 1s cubic-bezier(.2,.8,.2,1);
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .smp-first-page .smp-first-hero .smp-v170-fv-copy { padding-left:0; }
  .smp-first-choice-grid { grid-template-columns:1fr 1fr; }
  .smp-first-choice:last-child { grid-column:1 / -1; min-height:330px; }
  .smp-first-split { grid-template-columns:.9fr 1.1fr; gap:48px; }
  .smp-first-six-flow { grid-template-columns:repeat(3,1fr); row-gap:46px; }
  .smp-first-six-flow::before { display:none; }
  .smp-first-flow-check-grid { grid-template-columns:repeat(3,1fr); row-gap:28px; }
  .smp-first-flow-check-grid > div:nth-child(3n) { border-right:0; }
}

@media (max-width: 820px) {
  .smp-first-page .smp-first-hero { min-height:650px; }
  .smp-first-page .smp-first-hero .smp-v170-fv-inner { min-height:566px; padding-top:118px; padding-bottom:108px; align-items:flex-end; }
  .smp-first-page .smp-first-hero h1 { max-width:100%; font-size:clamp(2.05rem,6vw,3rem); }
  .smp-first-page .smp-first-hero::after { background:linear-gradient(180deg,rgba(4,17,33,.18),rgba(4,17,33,.77) 70%,rgba(4,17,33,.88)); }
  .smp-first-localnav-wrap { position:absolute; }
  .smp-first-tabs-track { overflow-x:auto; grid-template-columns:repeat(4,minmax(180px,1fr)); scrollbar-width:none; }
  .smp-first-tab { min-height:60px; }
  .smp-first-scroll { display:none; }
  .smp-first-choice-grid { grid-template-columns:1fr; gap:16px; background:transparent; box-shadow:none; }
  .smp-first-choice,.smp-first-choice:last-child { grid-column:auto; min-height:350px; }
  .smp-first-check-line { grid-template-columns:1fr 1fr; row-gap:54px; }
  .smp-first-check-line::before { display:none; }
  .smp-first-split { grid-template-columns:1fr; }
  .smp-first-tall-photo { min-height:460px; aspect-ratio:16/12; }
  .smp-first-measure-list > div { grid-template-columns:54px 1fr; gap:12px 20px; padding:24px 0; }
  .smp-first-measure-list i { display:none; }
  .smp-first-measure-list span { grid-column:2; font-size:1rem; color:var(--first-blue); }
  .smp-first-selection-map { height:390px; }
  .smp-first-prep-grid { grid-template-columns:1fr 1fr; row-gap:30px; }
  .smp-first-prep-grid li:nth-child(2) { border-right:0; }
  .smp-first-pr-checks-grid { grid-template-columns:1fr; }
  .smp-first-photo-check-grid { grid-template-columns:repeat(2,1fr); }
  .smp-first-process-line { grid-template-columns:1fr; gap:38px; }
  .smp-first-process-line::before { display:none; }
  .smp-first-process-line li { min-height:90px; display:grid; grid-template-columns:52px 56px 1fr; align-items:center; text-align:left; padding:0; }
  .smp-first-process-line span { position:static; }
  .smp-first-process-line .smp-icon { margin:0; }
  .smp-first-six-flow { grid-template-columns:1fr 1fr; }
  .smp-first-flow-check-grid { grid-template-columns:1fr 1fr; }
  .smp-first-flow-check-grid > div:nth-child(3n) { border-right:1px solid var(--first-line); }
  .smp-first-flow-check-grid > div:nth-child(2n) { border-right:0; }
}

@media (max-width: 560px) {
  .smp-first-page .smp-v170-section { padding-top:76px; padding-bottom:76px; }
  .smp-first-page .smp-first-hero { min-height:610px; }
  .smp-first-page .smp-first-hero .smp-v170-fv-inner { min-height:530px; padding:112px 0 98px; }
  .smp-first-page .smp-first-hero h1 br { display:none; }
  .smp-first-page .smp-first-hero .smp-v170-lead { font-size:.92rem; line-height:1.8; }
  .smp-first-heading { margin-bottom:40px; }
  .smp-first-heading h2 { font-size:1.72rem; }
  .smp-first-choice { min-height:320px; }
  .smp-first-check-line { grid-template-columns:1fr; gap:34px; }
  .smp-first-check-line li { padding:0; }
  .smp-first-check-line li::before { display:none; }
  .smp-first-check-line li > span { margin-bottom:8px; }
  .smp-first-worry-list > div { grid-template-columns:46px 1fr 24px; }
  .smp-first-tall-photo { min-height:390px; }
  .smp-first-number-list li { grid-template-columns:46px 1fr; font-size:.9rem; }
  .smp-first-selection-map { height:auto; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .smp-first-selection-map::before { display:none; }
  .smp-first-selection-center { position:static; grid-column:1 / -1; width:auto; height:auto; min-height:100px; transform:none; border-radius:4px; border:0; color:#fff; }
  .smp-first-selection-center::before { transform:none; }
  .smp-first-selection-point { position:static !important; transform:none !important; min-height:100px; justify-content:center; padding:14px; border:1px solid var(--first-line); }
  .smp-first-prep-grid { grid-template-columns:1fr; }
  .smp-first-prep-grid li { min-height:110px; border-right:0; border-bottom:1px solid var(--first-line); }
  .smp-first-support-list > div { grid-template-columns:44px 1fr 24px; gap:12px; padding:18px 0; }
  .smp-first-support-list span { grid-column:2; }
  .smp-first-support-list .smp-icon:last-child { grid-column:3; grid-row:1 / span 2; }
  .smp-first-photo-check-grid { grid-template-columns:1fr; }
  .smp-first-six-flow { grid-template-columns:1fr; gap:26px; }
  .smp-first-six-flow li { min-height:160px; display:grid; grid-template-columns:64px 52px 1fr; align-items:center; text-align:left; }
  .smp-first-six-flow li::before { display:none; }
  .smp-first-six-flow span { text-align:center; }
  .smp-first-six-flow .smp-icon { margin:0; }
  .smp-first-flow-check-grid { grid-template-columns:1fr; }
  .smp-first-flow-check-grid > div { border-right:0 !important; border-bottom:1px solid var(--first-line); }
  .smp-first-faq-list .smp-faq-item button { padding:16px; }
  .smp-first-faq-list .smp-faq-answer { padding:0 50px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .smp-first-scroll i { animation:none; }
  .smp-first-check-line::before,
  .smp-first-process-line::before,
  .smp-first-six-flow::before { transition:none; transform:none; }
}
