@charset "UTF-8";
/* =========================================================================
   Lipri サービスサイト（第6版ベース）ブラッシュアップ
   - 余白・サイズは 8px グリッド（--sp-*）を基準。4px は細部の微調整のみ
   - カードは「比べて選ぶもの」＝プリンターだけ。手順・関係・リンクは線と余白で整理
   - 指定色（4ステップのアイコン色）・写真の24px角丸・プリンター写真の左右いっぱい表示は維持
   ========================================================================= */

:root {
  /* color */
  --navy: #20277f;
  --teal: #13a3b7;
  --teal-dark: #087e91;
  --mint: #7ac6b1;
  --ink: #22264f;
  --body: #5c6270;
  --muted: #7b818d;
  --line: #e2e7e9;
  --line-teal: #cfe3e3;
  --pale: #f0f9f8;
  --pink: #ec387e;
  --orange: #f5ab3a;

  /* 4ステップのアイコン色（ユーザー指定・厳守。--mint とは別の値） */
  --step-1: #1ea8be;
  --step-2: #e8881a;
  --step-3: #e13874;
  --step-4: #7ac6af;

  /* spacing: 8px grid */
  --sp-05: 4px;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 56px;
  --sp-8: 64px;
  --sp-9: 72px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-14: 112px;
  --sp-16: 128px;

  /* radius */
  --r-1: 8px;
  --r-2: 16px;
  --r-3: 24px;

  /* type */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: Arial, "Helvetica Neue", sans-serif;
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-40: 40px;

  /* layout */
  --wrap: 1240px;
  --gutter: 48px;          /* 片側 */
  --header-h: 96px;
  --section-y: var(--sp-14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + var(--sp-2)); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: var(--fs-16);
  line-height: 1.9;
  letter-spacing: .035em;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 750; letter-spacing: .02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, var(--fs-40)); line-height: 1.6; }
h3 { line-height: 1.6; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
::selection { background: #beece8; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.skip-link { position: fixed; top: -72px; left: var(--sp-2); z-index: 200; background: var(--navy); color: #fff; padding: var(--sp-2); }
.skip-link:focus { top: var(--sp-2); }

.eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  color: var(--teal-dark);
  margin-bottom: var(--sp-3);
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-height: 56px; padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--teal); border-radius: var(--r-1);
  background: var(--teal); color: #fff;
  font-size: var(--fs-14); font-weight: 700; letter-spacing: .04em; line-height: 1.5;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-small { min-height: 40px; padding: var(--sp-1) var(--sp-3); font-size: 13px; }
.btn-outline { background: #fff; border-color: #b9ced0; color: var(--navy); }
.btn-outline:hover { background: var(--pale); border-color: var(--teal); color: var(--navy); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.text-link {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding-block: var(--sp-1);
  font-size: var(--fs-14); font-weight: 700; line-height: 1.5; color: var(--navy);
}
.link-plus {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid #c4dfdf; border-radius: 50%;
  color: var(--teal-dark); font-size: var(--fs-20); font-weight: 400; line-height: 1;
  transition: background .2s, color .2s;
}
.text-link:hover .link-plus, a:hover > .link-plus { background: var(--teal); color: #fff; }

.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-5); margin-bottom: var(--sp-7); }
.section-intro { color: var(--body); font-size: var(--fs-16); line-height: 2; padding-bottom: var(--sp-1); }
.photo-note { font-size: var(--fs-12); color: var(--muted); text-align: right; margin-top: var(--sp-3); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-4);
  padding-inline: var(--sp-6);
  background: #ffffffed; backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.brand { width: 152px; flex: none; }
.desktop-nav { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; white-space: nowrap; }
.desktop-nav a, .header-guide { position: relative; font-size: 13px; font-weight: 700; }
.desktop-nav a::after, .header-guide::after {
  content: ""; position: absolute; left: 0; bottom: calc(var(--sp-1) * -1); width: 100%; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.desktop-nav a:hover::after, .header-guide:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: var(--sp-2); }
.menu-toggle, .mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--sp-4); align-items: center;
  min-height: 664px; padding-block: var(--sp-6) var(--sp-12);
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: var(--sp-1); letter-spacing: .2em; margin-bottom: var(--sp-3); }
.hero-eyebrow > span { display: block; width: 24px; height: 2px; background: var(--teal); }
h1 {
  font-size: clamp(40px, 4.8vw, 64px); line-height: 1.6; font-weight: 800; letter-spacing: .02em;
  margin-left: calc(var(--sp-05) * -1); white-space: nowrap;
}
.highlight { position: relative; isolation: isolate; }
.highlight::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 16px;
  border-radius: 2px; background: #a9e7d9; z-index: -1; transform: rotate(-2deg);
}
.hero-sub { margin-top: var(--sp-3); color: var(--navy); font-size: var(--fs-18); font-weight: 700; line-height: 1.8; }
.hero-description { margin-top: var(--sp-2); color: var(--body); font-size: var(--fs-16); line-height: 2; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero-buttons .btn { padding-inline: var(--sp-3); }
.hero-media-labels { display: flex; align-items: center; gap: var(--sp-1); margin-top: var(--sp-3); font-size: var(--fs-12); color: var(--muted); white-space: nowrap; }
.hero-media-labels i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.hero-photo-frame { position: relative; z-index: 0; overflow: hidden; border-radius: var(--r-3); background: #ebf7f4; }
.hero-image { width: 100%; aspect-ratio: 1.07; object-fit: cover; transform: scale(1.14); }
.hero-circle { position: absolute; z-index: -1; right: -32px; top: -40px; width: 192px; height: 192px; border-radius: 50%; background: #d9f0e8; }
.hero-ring { position: absolute; z-index: -1; left: -40px; bottom: 128px; width: 56px; height: 56px; border: 8px solid #c9e9df; border-radius: 50%; }
.hero-spark { position: absolute; z-index: 2; top: 24px; left: -32px; width: 64px; height: 64px; fill: var(--orange); transform: rotate(12deg); }
/* 装飾のメモ（ページ内で意図して残す強調の1つ） */
.hero-note {
  position: absolute; z-index: 2; left: -40px; bottom: 32px;
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: #fff; border-radius: var(--r-2); box-shadow: 0 8px 40px #25366714;
  transform: rotate(-5deg); font-size: 13px; line-height: 1.8;
}
.hero-note strong { font-size: var(--fs-18); color: var(--navy); }
.note-heart { font-family: var(--font-en); font-size: 48px; line-height: 1; color: var(--pink); }
.hero-sticker {
  position: absolute; right: -16px; bottom: -16px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--mint); color: #fff;
  outline: 1px dashed #fff; outline-offset: -8px; transform: rotate(13deg);
  font: 700 var(--fs-16)/1.2 var(--font-en); letter-spacing: .02em;
}
.hero-sticker b { font-size: var(--fs-24); }
.hero-pink-dot { position: absolute; bottom: -24px; left: 44%; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); }
.scroll-cue { position: absolute; left: 0; bottom: var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); color: #7a8c96; font: 10px/1.5 var(--font-en); letter-spacing: .15em; }
.scroll-cue > span { position: relative; display: block; width: 32px; height: 1px; background: #ccdedd; overflow: hidden; }
.scroll-cue > span::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: translateX(-100%); animation: scroll-line 2.2s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 65%, 100% { transform: translateX(110%); } }

/* ---------- clients ---------- */
.clients { display: flex; align-items: center; gap: var(--sp-8); padding-block: var(--sp-5); border-top: 1px solid var(--line); }
.clients-heading { flex: 0 0 232px; }
.clients-heading .eyebrow { margin-bottom: var(--sp-1); letter-spacing: .18em; }
.clients-heading h2 { font-size: var(--fs-18); line-height: 1.8; }
.clients-heading > p:last-child { margin-top: var(--sp-1); font-size: 13px; line-height: 1.9; color: var(--body); }
.clients-content { flex: 1; min-width: 0; }
/* 約10社まで：PC 5列×2段、中間 4列、スマホ 2〜3列で折り返す */
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-2); list-style: none; padding: 0; margin: 0; }
.client-logos > li { flex: 0 0 calc((100% - var(--sp-2) * 4) / 5); min-width: 144px; max-width: 208px; }
.client-logos > li > a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--sp-1); border-radius: var(--r-1); transition: background .2s; }
.client-logos > li > a:hover { background: var(--pale); }
.client-logo-image { width: 100%; height: 64px; display: flex; justify-content: center; align-items: center; }
.client-logo-image img { width: auto; max-width: 152px; max-height: 56px; object-fit: contain; }
.client-logo-image .client-ichigoya { max-width: 144px; max-height: 64px; }
.client-logos a > span { margin-top: var(--sp-2); font-size: 11px; line-height: 1.6; color: var(--muted); white-space: nowrap; }
.clients-bottom { display: flex; justify-content: center; align-items: center; gap: var(--sp-4); margin-top: var(--sp-3); }
.clients-bottom > p { font-size: 11px; line-height: 1.7; color: #89939a; }
.clients-bottom > a { display: flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-12); color: var(--navy); }
.clients-bottom .link-plus { width: 24px; height: 24px; font-size: var(--fs-16); }

/* ---------- notice（箱をやめ、上下の罫線で1行に） ---------- */
.notice {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-block: var(--sp-2);
  border-block: 1px solid var(--line);
  color: var(--navy); font-size: 13px;
}
.notice time { font-family: var(--font-en); font-weight: 700; letter-spacing: .08em; }
.notice-tag { padding: 0 var(--sp-1); border: 1px solid var(--line-teal); border-radius: 4px; font-size: 11px; white-space: nowrap; color: var(--teal-dark); }
.notice button, .notice .notice-link { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); background: none; padding: var(--sp-1) 0; text-align: left; font-size: var(--fs-14); }
.notice button:hover, .notice .notice-link:hover { color: var(--teal-dark); }
.notice-plus { font-size: var(--fs-24); line-height: 1; color: var(--teal); }

/* ---------- about + 4 steps ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-12); row-gap: var(--sp-7); align-items: start; padding-block: var(--sp-16); }
.about h2 { font-size: var(--fs-40); line-height: 1.7; }
.about-copy .lead { margin-bottom: var(--sp-3); color: var(--navy); font-size: var(--fs-20); font-weight: 700; line-height: 1.8; }
.about-copy > p:not(.lead) { margin-top: var(--sp-2); color: var(--body); font-size: var(--fs-16); line-height: 2; }
.about-copy .text-link { margin-top: var(--sp-3); }
.about-flow { grid-column: 1 / -1; }

/* 手順なので箱にせず、アイコンを点線でつなぐ */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); text-align: center; }
.flow-grid article { position: relative; }
.flow-grid article:not(:last-child)::after {
  content: ""; position: absolute; top: 72px; right: calc(var(--sp-4) * -1); width: var(--sp-3);
  border-top: 2px dotted #b9d4d1;
}
.flow-icon { --flow-color: var(--step-1); --flow-mask: url("https://d2w6kvskqer94b.cloudfront.net/96d2601f076f0b3666317e35e964e827/common/assets/step-template.png"); width: 144px; height: 144px; margin-inline: auto; border-radius: 50%; display: grid; place-items: center; background: #eaf6f6; }
.flow-icon.peach { --flow-mask: url("https://d2w6kvskqer94b.cloudfront.net/96d2601f076f0b3666317e35e964e827/common/assets/step-design.png"); --flow-color: var(--step-2); background: #fff0dc; }
.flow-icon.pink { --flow-mask: url("https://d2w6kvskqer94b.cloudfront.net/96d2601f076f0b3666317e35e964e827/common/assets/step-qr.png"); --flow-color: var(--step-3); background: #fceaf0; }
.flow-icon.mint { --flow-mask: url("https://d2w6kvskqer94b.cloudfront.net/96d2601f076f0b3666317e35e964e827/common/assets/step-print.png"); --flow-color: var(--step-4); background: #e9f5ee; }
/* 元の線画（透過PNG）をマスクにして指定色を塗る */
.flow-icon-art {
  display: block; width: 80px; height: 80px;
  background-color: var(--flow-color);
  -webkit-mask: var(--flow-mask) center / contain no-repeat;
          mask: var(--flow-mask) center / contain no-repeat;
}
.flow-grid h3 { margin-top: var(--sp-3); font-size: var(--fs-18); }
.flow-grid p { margin-top: var(--sp-1); color: var(--body); font-size: var(--fs-14); line-height: 2; }
.flow-note { margin-top: var(--sp-4); text-align: center; font-size: var(--fs-12); color: var(--muted); }

/* ---------- motion divider ---------- */
.motion-divider { position: relative; isolation: isolate; height: 160px; margin-top: calc(var(--sp-2) * -1); display: flex; align-items: center; overflow: hidden; background: #fff; }
.motion-word {
  display: block; margin-left: 3vw; white-space: nowrap; user-select: none;
  color: var(--teal); -webkit-text-stroke: 0;
  font: 700 clamp(96px, 11.5vw, 176px)/1 var(--font-en); letter-spacing: -.04em;
}
.motion-divider-dot { position: absolute; left: 78%; top: var(--sp-4); width: 16px; height: 16px; border-radius: 50%; background: var(--pink); }
.motion-divider-square { position: absolute; left: 12%; bottom: var(--sp-2); width: 32px; height: 32px; border: 6px solid #8bcebc; border-radius: 4px; transform: rotate(22deg); }

/* ---------- features ---------- */
.features { background: #fafcfc; }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.feature-image { position: relative; }
.feature-photo-frame { overflow: hidden; border-radius: var(--r-3); background: #e8f4f2; }
.feature-photo-frame > img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; transform: scale(1.14); }
.image-caption {
  position: absolute; left: calc(var(--sp-3) * -1); bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-1);
  background: #fff; box-shadow: 0 8px 24px #20277f10; transform: rotate(-4deg);
  color: var(--navy); font-size: var(--fs-14); font-weight: 700;
}
.feature-copy h2 { font-size: var(--fs-32); }
.feature-lead { margin-block: var(--sp-3); color: var(--body); font-size: var(--fs-16); line-height: 2; }
.feature-row { display: flex; gap: var(--sp-2); align-items: flex-start; padding-block: var(--sp-3); border-top: 1px solid var(--line); }
.feature-row svg { flex: none; width: 24px; height: 24px; margin-top: var(--sp-05); stroke: var(--teal); fill: none; stroke-width: 1.5; }
.feature-row h3 { font-size: var(--fs-18); }
.feature-row p { margin-top: var(--sp-05); color: var(--body); font-size: var(--fs-14); line-height: 2; }
.enterprise-note { padding-top: var(--sp-2); padding-left: var(--sp-5); border-top: 1px solid var(--line); font-size: var(--fs-12); color: #6a777b; }

/* ---------- system（箱を外し、ノードと線の図に。Lipri だけ白で強調） ---------- */
.system { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.system::before {
  content: ""; position: absolute; right: -200px; top: -248px; width: 480px; height: 480px;
  border: 1px solid #ffffff0d; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 80px #ffffff03, 0 0 0 160px #ffffff03;
}
.system h2 { color: #fff; }
.system .eyebrow { color: #83d9d1; }
.system .section-intro { color: #d2dbf1; }
.system-flow { position: relative; display: grid; grid-template-columns: 1fr 96px 1.1fr 96px 1fr; align-items: center; padding-top: var(--sp-1); }
.system-node { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--sp-4) var(--sp-2); }
.system-node > svg { width: 64px; height: 56px; margin-bottom: var(--sp-2); stroke: #83d9d1; fill: none; stroke-width: 2; }
.system-node h3 { color: #fff; font-size: var(--fs-18); }
.system-node > p { margin-top: var(--sp-05); font-size: var(--fs-14); color: #d2dbf1; }
.system-node > span { margin-top: var(--sp-2); padding: var(--sp-05) var(--sp-2); border: 1px solid #ffffff30; border-radius: 999px; font-size: var(--fs-12); color: #95e7dd; }
.lipri-node { background: #fff; border-radius: var(--r-3); padding: var(--sp-5) var(--sp-3); box-shadow: 0 0 0 8px #ffffff14; }
.lipri-node img { width: 160px; margin-bottom: var(--sp-2); }
.lipri-node > p { color: var(--navy); font-size: var(--fs-14); line-height: 2.3; }
.device-node, .management-node { background: #fff; border-radius: var(--r-3); padding: var(--sp-3) var(--sp-2); box-shadow: 0 0 0 4px #ffffff14; }
.device-node > svg, .management-node > svg { stroke: var(--teal); }
.device-node h3, .management-node h3 { color: var(--navy); }
.device-node > p, .management-node > p { color: var(--body); }
.device-node > span, .management-node > span { border-color: var(--line-teal); color: var(--teal-dark); }
.system-connection { padding-inline: var(--sp-1); text-align: center; }
.system-connection > span { display: block; margin-bottom: var(--sp-1); font-size: var(--fs-12); line-height: 1.7; color: #d0d9ef; }
.system-connection i { position: relative; display: block; width: 100%; border-top: 2px dotted #a4cdde; }
.system-connection i::after { content: ""; position: absolute; right: 0; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: #a4cdde; }
.system-output {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-5); padding-block: var(--sp-3);
  border-top: 1px solid #ffffff26;
}
.system-output > span { font-size: var(--fs-14); color: #ecf2ff; }
.system-output > div { display: flex; gap: var(--sp-1); }
.system-output > div > span { padding: var(--sp-05) var(--sp-2); border: 1px solid #ffffff30; border-radius: 999px; font-size: var(--fs-12); color: #95e7dd; }
.system-note { margin-top: var(--sp-2); text-align: center; font-size: var(--fs-12); color: #c3cee9; }

/* ---------- printers（カードを使う唯一の場所：比べて選ぶ商品） ---------- */
.printer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.printer-card { overflow: hidden; border: 1px solid #e3eae9; border-radius: var(--r-2); background: #fff; }
.printer-photo-frame { position: relative; width: 100%; aspect-ratio: 1.3; overflow: hidden; }
/* 素材の透明余白を外へ逃がし、写真を左右いっぱいに */
.printer-photo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.printer-content { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.printer-type { display: inline-block; margin-bottom: var(--sp-2); padding: 0 var(--sp-1); border-radius: 4px; background: #e9f6f5; color: var(--teal-dark); font-size: var(--fs-12); }
.maker { font-family: var(--font-en); font-size: var(--fs-12); line-height: 1.5; color: #717787; }
.printer-content h3 { margin-top: var(--sp-05); font-family: var(--font-en), "Yu Gothic", sans-serif; font-size: var(--fs-24); letter-spacing: 0; }
.printer-content > p:last-child { margin-top: var(--sp-2); color: var(--body); font-size: var(--fs-14); line-height: 2; }

/* ---------- scenes（選択タブの白い面を外し、左の線で示す） ---------- */
.scenes { background: #f1f8f8; }
.scene-layout { display: grid; grid-template-columns: .72fr 1.4fr; gap: var(--sp-8); }
.scene-tabs { display: flex; flex-direction: column; border-top: 1px solid #d3e3e3; }
.scene-tabs button {
  position: relative; padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-3);
  border-bottom: 1px solid #d3e3e3; background: transparent; text-align: left;
  color: #7d8a92; font-size: var(--fs-18); font-weight: 700; line-height: 1.6;
  transition: color .2s;
}
.scene-tabs button > span { display: block; margin-bottom: var(--sp-1); font: 600 11px/1.5 var(--font-en); letter-spacing: .12em; color: #809b9f; }
.scene-tabs button > i { position: absolute; right: var(--sp-3); top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
.scene-tabs button:hover { color: var(--navy); }
.scene-tabs button[aria-selected="true"] { color: var(--navy); }
.scene-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: var(--sp-3); bottom: var(--sp-3); width: 4px; border-radius: 0 4px 4px 0; background: var(--teal); }
.scene-tabs button[aria-selected="true"] > span { color: var(--teal-dark); }
.scene-tabs button[aria-selected="true"] > i { opacity: 0; }
.scene-panel { overflow: hidden; }
.scene-panel > img { width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: center 47%; border-radius: var(--r-3); }
.scene-text { padding-top: var(--sp-3); }
.scene-text h3 { font-size: var(--fs-24); }
.scene-text p { margin-top: var(--sp-2); color: var(--body); font-size: var(--fs-16); line-height: 2; }

/* ---------- cases（枠と浮き上がりをやめ、写真＋文字の組みに） ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.case-card { display: block; }
.case-visual { position: relative; height: 272px; overflow: hidden; border-radius: var(--r-3); background: #e9f1fa; }
.case-visual > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.case-label { position: absolute; left: var(--sp-2); bottom: var(--sp-2); padding: var(--sp-05) var(--sp-1); border-radius: 4px; background: #fffffff0; color: var(--navy); font-size: var(--fs-12); }
.case-body { padding-top: var(--sp-3); }
.case-body > p { font-size: 13px; color: #6d7282; }
.case-body h3 { margin-top: var(--sp-1); font-size: var(--fs-24); line-height: 1.7; transition: color .2s; }
.case-body .text-link { width: 100%; justify-content: space-between; margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--line); font-size: 13px; }
.case-card:hover .case-visual > img { transform: scale(1.04); }
.case-card:hover h3 { color: var(--teal-dark); }
.case-card:hover .link-plus { background: var(--teal); color: #fff; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.5fr; gap: var(--sp-10); }
.faq .section-heading > p:last-child { margin-top: var(--sp-3); font-size: var(--fs-14); color: var(--body); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding-block: var(--sp-3); color: var(--navy); font-size: var(--fs-16); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary > span::before, .faq summary > span::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--teal); transition: transform .2s; }
.faq summary > span::after { transform: rotate(90deg); }
.faq details[open] summary > span::after { transform: rotate(0); }
.faq details > p { padding: 0 var(--sp-4) var(--sp-3) 0; color: var(--body); font-size: var(--fs-16); line-height: 2; }

/* ---------- contact ---------- */
.contact-section { position: relative; overflow: hidden; background: var(--teal); color: #fff; }
.contact-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); padding-block: var(--sp-10); }
.contact-inner .eyebrow { color: #c4f3ed; }
.contact-inner h2 { color: #fff; font-size: var(--fs-40); line-height: 1.7; }
.contact-inner > div > p:last-child { margin-top: var(--sp-3); color: #e2ffff; font-size: var(--fs-16); line-height: 2; }
.contact-actions { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-right: var(--sp-4); }
.btn-white { min-width: 312px; min-height: 64px; padding-inline: var(--sp-4); background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { background: #e5f9f6; border-color: #e5f9f6; color: var(--navy); }
.contact-guide { border-bottom: 1px solid #ffffff70; font-size: 13px; line-height: 1.9; }
.contact-guide:hover { border-color: #fff; }
.contact-decoration { position: absolute; right: 26%; top: var(--sp-2); font: 400 360px/1 var(--font-en); color: #ffffff0d; transform: rotate(-14deg); pointer-events: none; }

/* ---------- footer ---------- */
.footer { padding-block: var(--sp-6) var(--sp-3); }
.footer-top { display: flex; align-items: center; gap: var(--sp-3); }
.footer-brand { width: 136px; }
.footer-top > p { font-size: 13px; font-weight: 700; color: var(--navy); }
.company-link { width: 208px; margin-left: auto; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: 11px; color: #818893; }
.footer-bottom > div { display: flex; gap: var(--sp-3); }
.footer-bottom a:hover { color: var(--teal-dark); }
.footer-bottom small { font: 10px var(--font-en); }

/* ---------- dialogs ---------- */
dialog {
  max-width: calc(100% - 32px); max-height: calc(100dvh - 48px);
  padding: var(--sp-6); border: 0; border-radius: var(--r-2);
  box-shadow: 0 24px 96px #11174635; color: var(--ink); overscroll-behavior: contain;
}
dialog::backdrop { background: #10184485; backdrop-filter: blur(6px); }
dialog[open] { animation: dialog-in .2s ease-out; }
.notice-dialog { width: 568px; }
.dialog-close { position: absolute; right: var(--sp-2); top: var(--sp-2); width: 40px; height: 40px; padding: 0; background: transparent; font-size: 28px; font-weight: 300; line-height: 1; color: #74828c; }
.dialog-close:hover { color: var(--teal-dark); }
dialog h2 { font-size: 28px; line-height: 1.6; }
.notice-dialog .eyebrow { margin-bottom: var(--sp-1); }
.notice-dialog > p:not(.eyebrow) { margin-top: var(--sp-3); color: var(--body); font-size: var(--fs-14); line-height: 2; }
.notice-dialog > .btn { margin-top: var(--sp-4); }
.no-scroll { overflow: hidden; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- subpage（お問い合わせ・送信完了） ---------- */
.page-hero { padding-block: var(--sp-10) var(--sp-8); }
.page-hero .eyebrow { margin-bottom: var(--sp-1); }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.5; }
.page-lead { max-width: 760px; margin-top: var(--sp-3); color: var(--body); line-height: 2; }
.contact-page { display: grid; grid-template-columns: minmax(0, 800px); justify-content: center; padding-bottom: var(--sp-14); }
/* フォームだけのページなので、見出しもフォームに合わせて中央に揃える */
.page-hero:has(+ .contact-page) { text-align: center; }
.page-hero:has(+ .contact-page) .page-lead { margin-inline: auto; }
.contact-form-wrap { padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-3); background: #fff; box-shadow: 0 16px 48px #20277f0d; }
.thanks-hero { padding-bottom: var(--sp-16); }
.thanks-note { margin-top: var(--sp-2); color: var(--muted); font-size: var(--fs-14); line-height: 2; }
.thanks-note a { color: var(--teal-dark); text-decoration: underline; }
.thanks-hero .btn { margin-top: var(--sp-5); }

/* CMSのフォームブロック（class: lipri-form）。項目は dt/dd、名前は val_0… でCMSが振る */
.lipri-form form { margin: 0; }
.lipri-form form > div { margin-top: var(--sp-3); }
.lipri-form form > div:first-child { margin-top: 0; }
.lipri-form dt { margin: 0; color: var(--navy); font-size: var(--fs-14); font-weight: 700; line-height: 1.6; }
.lipri-form dt:empty { display: none; }
.lipri-form dt .req { margin-left: var(--sp-1); padding: 2px 6px; border-radius: 4px; background: #fdebf2; color: var(--pink); font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.lipri-form dd { margin: var(--sp-1) 0 0; }
.lipri-form dd > p { margin: 0; }
.lipri-form input[type="text"], .lipri-form input[type="email"], .lipri-form input[type="tel"], .lipri-form textarea, .lipri-form select {
  display: block; width: 100%; padding: 14px var(--sp-2);
  border: 1px solid #d9e3e3; border-radius: var(--r-1); background: #f6f9f9;
  font-size: var(--fs-16); font-weight: 400; line-height: 1.6;
  transition: border-color .2s, background .2s;
}
.lipri-form input:focus, .lipri-form textarea:focus, .lipri-form select:focus { border-color: var(--teal); background: #fff; outline: 2px solid #13a3b733; outline-offset: 0; }
.lipri-form textarea { min-height: 200px; resize: vertical; }
.lipri-form select {
  appearance: none; padding-right: var(--sp-5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2320277f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 12px; background-position: right var(--sp-2) center;
}
.lipri-form label { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-14); line-height: 1.7; cursor: pointer; }
.lipri-form input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
#js-agree__popup__txt { color: var(--teal-dark); text-decoration: underline; cursor: pointer; }
#js-agree__popup__cont { display: none; margin-top: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-1); background: var(--pale); color: var(--body); font-size: var(--fs-12); line-height: 1.9; }
#js-agree__popup__cont.is-open { display: block; }
#js-agree__popup__cont h3:empty { display: none; }
.lipri-form .recaptcha:empty { display: none; }
.lipri-form button[type="submit"] {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; margin-top: var(--sp-2);
  border: 1px solid var(--teal); border-radius: var(--r-1); background: var(--teal); color: #fff;
  font-size: var(--fs-16); font-weight: 700; letter-spacing: .08em; transition: background .2s, border-color .2s;
}
.lipri-form button[type="submit"]:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.lipri-form [aria-invalid="true"] { border-color: var(--pink); background: #fff7fa; }
.form-error { margin-top: 6px; color: #d81b60; font-size: var(--fs-12); line-height: 1.6; }

/* ---------- motion（motion.js が CSS 変数を書き込む） ---------- */
[data-parallax-x], [data-parallax-y], [data-parallax-rotate] { translate: var(--parallax-x, 0px) var(--parallax-y, 0px); rotate: var(--parallax-rotation, 0deg); }
.parallax-active { will-change: translate, rotate; }
/* JS が無い・失敗した場合も本文は表示されたまま */
.motion-enabled [data-reveal] { transition: opacity .72s ease, transform .85s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--reveal-delay, 0ms); }
.motion-enabled [data-reveal].reveal-pending { opacity: 0; transform: translateY(24px); }
.motion-enabled [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.motion-enabled [data-reveal].reveal-pending:focus-within { opacity: 1; transform: none; }

/* =========================================================================
   responsive
   ========================================================================= */
@media (min-width: 1550px) {
  :root { --wrap: 1320px; --gutter: 72px; }
  .hero { min-height: 728px; gap: var(--sp-6); }
  .hero-image { aspect-ratio: 1.1; }
  .hero h1 { font-size: 72px; }
  .hero-sub { font-size: var(--fs-20); }
}

@media (max-width: 1150px) {
  :root { --gutter: 40px; }
  .site-header { gap: var(--sp-3); padding-inline: var(--sp-5); }
  .desktop-nav { gap: var(--sp-3); }
  .header-actions { gap: var(--sp-2); margin-left: 0; }
  .header-guide { display: none; }
  .brand { width: 136px; }
  .hero { gap: var(--sp-3); min-height: 632px; }
  .hero h1 { font-size: 48px; }
  .hero-sub { font-size: var(--fs-16); }
  .hero-image { aspect-ratio: .91; }
  .hero-note { left: calc(var(--sp-3) * -1); bottom: var(--sp-3); padding: var(--sp-2); }
  .hero-note strong { font-size: var(--fs-16); }
  .hero-sticker { width: 96px; height: 96px; font-size: var(--fs-14); }
  .hero-sticker b { font-size: var(--fs-20); }
  .clients { gap: var(--sp-3); }
  .clients-heading { flex-basis: 208px; }
  .client-logos > li { flex-basis: calc((100% - var(--sp-2) * 3) / 4); min-width: 128px; }
  .about { column-gap: var(--sp-8); }
  .about h2 { font-size: 32px; }
  .feature-layout { gap: var(--sp-6); }
  .feature-copy h2 { font-size: 28px; }
  .system-flow { grid-template-columns: 1fr 72px 1.05fr 72px 1fr; }
  .printer-content { padding: var(--sp-3); }
  .printer-content h3 { font-size: var(--fs-20); }
  .scene-layout { gap: var(--sp-5); }
  .scene-tabs button { font-size: var(--fs-16); padding-inline: var(--sp-2) var(--sp-5); }
  .faq { gap: var(--sp-7); }
  .contact-actions { margin-right: 0; }
  .contact-inner h2 { font-size: 36px; }
  .contact-decoration { right: 15%; }
  .motion-divider { height: 136px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; --header-h: 80px; --section-y: var(--sp-10); }
  .site-header { gap: var(--sp-2); }
  .desktop-nav { gap: var(--sp-2); }
  .desktop-nav a { font-size: var(--fs-12); }
  .brand { width: 120px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 568px; padding-block: var(--sp-4) var(--sp-7); }
  .hero h1 { font-size: 40px; line-height: 1.7; }
  .hero-eyebrow { margin-bottom: var(--sp-2); }
  .hero-sub { font-size: var(--fs-14); margin-top: var(--sp-2); }
  .hero-description { font-size: var(--fs-14); }
  .hero-buttons { flex-direction: column; max-width: 248px; gap: var(--sp-1); margin-top: var(--sp-3); }
  .hero-buttons .btn { min-height: 48px; padding-block: var(--sp-1); font-size: 13px; }
  .hero-note { left: calc(var(--sp-1) * -1); padding: var(--sp-1) var(--sp-2); gap: var(--sp-1); font-size: 11px; }
  .hero-note strong { font-size: var(--fs-14); }
  .note-heart { font-size: 40px; }
  .hero-circle { width: 152px; height: 152px; right: -16px; top: -24px; }
  .hero-sticker { width: 80px; height: 80px; font-size: var(--fs-12); }
  .hero-sticker b { font-size: var(--fs-18); }
  .about { column-gap: var(--sp-5); }
  .about h2 { font-size: 28px; }
  .about-copy .lead { font-size: var(--fs-18); }
  .flow-grid { gap: var(--sp-3); }
  .flow-icon { width: 112px; height: 112px; }
  .flow-icon-art { width: 64px; height: 64px; }
  .flow-grid article:not(:last-child)::after { top: 56px; right: calc(var(--sp-3) * -1); width: var(--sp-2); }
  .flow-grid h3 { font-size: var(--fs-16); }
  .feature-layout { gap: var(--sp-4); }
  .feature-copy h2 { font-size: var(--fs-24); }
  .system-flow { grid-template-columns: 1fr 48px 1fr 48px 1fr; }
  .system-node h3 { font-size: var(--fs-14); }
  .system-node > p { font-size: var(--fs-12); }
  .lipri-node img { width: 128px; }
  .lipri-node > p { font-size: var(--fs-12); }
  .system-connection > span { font-size: 10px; letter-spacing: 0; }
  .printer-grid { gap: var(--sp-2); }
  .printer-content { padding: var(--sp-2); }
  .printer-content h3 { font-size: var(--fs-18); }
  .scene-layout { grid-template-columns: .8fr 1.3fr; gap: var(--sp-4); }
  .scene-tabs button { font-size: var(--fs-14); }
  .scene-panel > img { aspect-ratio: 1.25; }
  .scene-text h3 { font-size: var(--fs-18); }
  .case-grid { gap: var(--sp-4); }
  .case-visual { height: 232px; }
  .case-body h3 { font-size: var(--fs-20); }
  .faq { grid-template-columns: .7fr 1.3fr; gap: var(--sp-4); }
  .faq h2 { font-size: var(--fs-24); }
  .contact-inner h2 { font-size: var(--fs-32); }
  .btn-white { min-width: 256px; min-height: 56px; }
  .company-link { width: 168px; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; --header-h: 72px; --section-y: var(--sp-9); }
  .site-header { padding-inline: var(--sp-3); gap: var(--sp-2); }
  .brand { width: 112px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { min-height: 40px; padding: var(--sp-1) var(--sp-2); font-size: 11px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: var(--sp-1); background: transparent; z-index: 2; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) {
    position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 1px);
    display: flex; flex-direction: column; padding: var(--sp-2) var(--sp-4) var(--sp-4);
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px #20277f0c;
  }
  .mobile-nav > a { padding-block: 12px; border-bottom: 1px solid #edf1f2; font-size: var(--fs-14); font-weight: 700; }
  .mobile-nav > .btn { margin-top: var(--sp-3); }

  .hero { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-5); min-height: 0; padding-block: var(--sp-4) var(--sp-7); }
  .hero h1 { font-size: clamp(36px, 9.5vw, 56px); line-height: 1.6; }
  .highlight::after { height: 12px; bottom: 4px; }
  .hero-sub { font-size: var(--fs-16); }
  .hero-buttons { flex-direction: row; max-width: none; }
  .hero-buttons .btn { flex: 1; padding-inline: 12px; font-size: var(--fs-12); }
  .hero-media-labels { font-size: 11px; }
  .hero-image { aspect-ratio: 1.28; max-height: 432px; }
  .hero-circle { width: 128px; height: 128px; top: -16px; right: -8px; }
  .hero-ring { width: 40px; height: 40px; border-width: 6px; bottom: 72px; left: -8px; }
  .hero-spark { width: 40px; top: 8px; left: -4px; }
  .hero-note { left: 0; bottom: var(--sp-2); }
  .hero-sticker { width: 80px; height: 80px; right: 0; bottom: -16px; outline-offset: -6px; }
  .hero-pink-dot { width: 8px; height: 8px; bottom: -16px; }
  .scroll-cue { display: none; }

  .clients { display: block; padding-block: var(--sp-4) var(--sp-3); }
  .clients-heading { text-align: center; }
  .clients-heading h2 { font-size: var(--fs-16); }
  .clients-heading > p:last-child { display: none; }
  .clients-content { margin-top: var(--sp-3); }
  .client-logos > li { flex-basis: calc((100% - var(--sp-2)) / 2); min-width: 0; }
  .clients-bottom { flex-direction: column; gap: var(--sp-1); margin-top: var(--sp-2); }

  .notice { display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-2); row-gap: var(--sp-05); }
  .notice-tag { justify-self: start; }
  .notice button, .notice .notice-link { grid-column: 1 / -1; padding-top: 0; font-size: 13px; line-height: 1.8; }

  .eyebrow { font-size: 11px; margin-bottom: var(--sp-2); }
  h2 { font-size: 28px; }
  .section-top { display: block; margin-bottom: var(--sp-4); }
  .section-intro { margin-top: var(--sp-3); padding: 0; }
  .photo-note { text-align: left; font-size: 11px; }

  .about { grid-template-columns: 1fr; row-gap: var(--sp-5); padding-block: var(--sp-9) var(--sp-8); }
  .about h2 { font-size: 28px; }
  .about-copy .lead { font-size: var(--fs-18); margin-bottom: var(--sp-2); }
  .flow-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-3); }
  .flow-grid article::after { display: none; }
  .flow-icon { width: 104px; height: 104px; }
  .flow-icon-art { width: 56px; height: 56px; }
  .flow-grid h3 { margin-top: var(--sp-2); }
  .flow-note { text-align: left; font-size: 11px; }

  .motion-divider { height: 96px; margin-top: calc(var(--sp-1) * -1); }
  .motion-word { font-size: 80px; margin-left: 4px; }
  .motion-divider-square { width: 24px; height: 24px; border-width: 4px; bottom: var(--sp-1); }
  .motion-divider-dot { width: 8px; height: 8px; top: var(--sp-1); }

  .feature-layout { display: flex; flex-direction: column-reverse; gap: var(--sp-5); }
  .feature-copy h2 { font-size: var(--fs-24); }
  .feature-photo-frame > img { aspect-ratio: 1.25; }
  .image-caption { left: 0; bottom: var(--sp-3); font-size: var(--fs-12); }
  .feature-row h3 { font-size: var(--fs-16); }

  .system-flow { display: flex; flex-direction: column; padding-top: 0; }
  .system-node { width: 100%; display: grid; grid-template-columns: 64px 1fr; column-gap: var(--sp-2); align-items: center; text-align: left; padding: var(--sp-2) 0; }
  .system-node > svg { grid-row: 1 / 4; width: 56px; height: 48px; margin: 0; }
  .system-node h3 { font-size: var(--fs-16); }
  .system-node > p { font-size: 13px; }
  .system-node > span { justify-self: start; margin-top: var(--sp-1); }
  .lipri-node { display: flex; flex-direction: row; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-3); box-shadow: 0 0 0 4px #ffffff14; }
  .lipri-node img { width: 120px; margin: 0; }
  .device-node, .management-node { padding: var(--sp-2); box-shadow: none; }
  .system-connection { position: relative; width: 100%; height: 56px; display: flex; align-items: center; padding: 0; }
  .system-connection > span { margin: 0; padding-left: 88px; text-align: left; font-size: 11px; line-height: 1.5; }
  .system-connection i { position: absolute; left: 32px; top: var(--sp-1); bottom: var(--sp-1); width: 0; border-top: 0; border-left: 2px dotted #a4cdde; }
  .system-connection i::after { top: auto; bottom: 0; right: auto; left: -5px; }
  .system-output { flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4); }
  .system-output > span { text-align: center; font-size: 13px; }
  .system-note { text-align: left; }

  .printer-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .printer-photo-frame { aspect-ratio: 1.6; }
  .printer-content { padding: var(--sp-3); }
  .printer-content h3 { font-size: var(--fs-24); }
  .printer-content > p:last-child { font-size: var(--fs-16); }

  .scene-layout { display: flex; flex-direction: column; gap: var(--sp-3); }
  .scene-tabs { flex-direction: row; gap: var(--sp-1); border-top: 0; }
  .scene-tabs button { flex: 1; padding: var(--sp-2) var(--sp-05); border: 1px solid #d3e3e3; border-radius: var(--r-1); text-align: center; font-size: var(--fs-12); line-height: 1.6; letter-spacing: 0; }
  .scene-tabs button > span { margin-bottom: var(--sp-05); font-size: 8px; letter-spacing: .05em; }
  .scene-tabs button > i { display: none; }
  .scene-tabs button[aria-selected="true"] { border-color: var(--teal); }
  .scene-tabs button[aria-selected="true"]::before { left: var(--sp-1); right: var(--sp-1); top: auto; bottom: -1px; width: auto; height: 3px; border-radius: 2px; }
  .scene-panel > img { aspect-ratio: 1.38; }
  .scene-text h3 { font-size: var(--fs-20); }

  .case-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .case-visual { height: 232px; }
  .case-body h3 { font-size: var(--fs-20); }

  .faq { display: flex; flex-direction: column; gap: var(--sp-4); }
  .faq h2 { font-size: 28px; }
  .faq details > p { padding-right: var(--sp-1); }

  .contact-inner { display: block; padding-block: var(--sp-7); }
  .contact-inner h2 { font-size: var(--fs-32); }
  .contact-actions { align-items: stretch; max-width: 384px; margin-top: var(--sp-4); gap: var(--sp-2); }
  .btn-white { min-width: 0; padding-inline: var(--sp-3); font-size: 13px; }
  .contact-guide { align-self: center; }
  .contact-decoration { font-size: 280px; top: 8%; right: -30%; opacity: .6; }

  .footer { padding-block: var(--sp-4) var(--sp-3); }
  .footer-top { flex-wrap: wrap; gap: var(--sp-2); }
  .footer-brand { width: 104px; }
  .company-link { width: 160px; margin: var(--sp-2) 0 0; }
  .footer-bottom { display: block; }
  .footer-bottom > div { flex-wrap: wrap; gap: var(--sp-2); }
  .footer-bottom small { display: block; margin-top: var(--sp-2); }

  .notice-dialog { max-width: calc(100% - 24px); max-height: calc(100dvh - 32px); padding: var(--sp-5) var(--sp-3) var(--sp-4); border-radius: 12px; }
  dialog h2 { font-size: var(--fs-24); }
  .dialog-close { right: var(--sp-1); top: var(--sp-1); }

  .page-hero { padding-block: var(--sp-6) var(--sp-5); }
  .page-lead br { display: none; }
  .contact-form-wrap { padding: var(--sp-3); border-radius: var(--r-2); }
  .thanks-hero { padding-bottom: var(--sp-10); }
  .thanks-hero .btn { width: 100%; }
  .motion-enabled [data-reveal].reveal-pending { transform: translateY(16px); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { flex: auto; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax-x], [data-parallax-y], [data-parallax-rotate] { translate: none !important; rotate: none !important; }
  .parallax-active { will-change: auto; }
  .motion-enabled [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   導入事例・お知らせ（一覧／詳細）
   - 記事本文（.post-body）はCMSのエディタで編集されるため、素のタグ（h2/h3/p/ul/ol/figure/img/a/blockquote）を
     外側のクラスだけで装飾する。本文内にクラスや style 属性を書かなくても整う作り
   - データ欄は <div class="post-spec"><div class="row"><dl><dt/><dd/></dl></div></div>。
     エディタが <dl> 内の <div> を組み替えるため、この形で書き、.row > dl を display: contents にする
   - カードは使わない。一覧は罫線で区切った行、詳細は写真と本文の組み
   ========================================================================= */

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; font-size: var(--fs-12); color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-1); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid #b9c4c8; border-right: 1px solid #b9c4c8; transform: rotate(45deg); }
.breadcrumb a { color: var(--body); }
.breadcrumb a:hover { color: var(--teal-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32em; }
.breadcrumb + .page-hero { padding-top: var(--sp-6); }

/* ---------- 共通：ラベル・日付 ---------- */
.post-tag { display: inline-flex; align-items: center; padding: 0 var(--sp-1); border: 1px solid var(--line-teal); border-radius: 4px; color: var(--teal-dark); font-size: var(--fs-12); line-height: 22px; white-space: nowrap; }
.post-tag.is-case { border-color: #f3c58a; color: #a35d08; }
.post-date { font: 700 var(--fs-14)/1.5 var(--font-en); letter-spacing: .08em; color: var(--navy); }

/* ---------- 一覧の絞り込み（お知らせ） ---------- */
.post-filter { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-bottom: var(--sp-4); padding: 0; list-style: none; }
.post-filter button { min-height: 40px; padding: 0 var(--sp-3); border: 1px solid #c9d8da; border-radius: 999px; background: #fff; color: var(--navy); font-size: var(--fs-14); font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.post-filter button:hover { border-color: var(--teal); }
.post-filter button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------- お知らせ一覧：日付・種類・タイトルの行 ---------- */
.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li[hidden] { display: none; }
.news-list a { display: grid; grid-template-columns: 120px 96px minmax(0, 1fr) 32px; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-1); transition: background .2s; }
.news-list a:hover { background: var(--pale); }
.news-list .title { color: var(--navy); font-size: var(--fs-16); font-weight: 700; line-height: 1.7; }
.news-list a:hover .title { color: var(--teal-dark); }
.news-list .arrow { justify-self: end; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c4dfdf; border-radius: 50%; color: var(--teal-dark); font-size: var(--fs-14); transition: background .2s, color .2s; }
.news-list a:hover .arrow { background: var(--teal); color: #fff; }
.news-list .ext { margin-left: var(--sp-1); font-size: var(--fs-12); font-weight: 400; color: var(--muted); white-space: nowrap; }
.list-empty { padding: var(--sp-6) 0; color: var(--muted); text-align: center; }
.list-section { padding-bottom: var(--sp-14); }

/* ---------- 導入事例一覧：写真＋文字の行（カードにしない） ---------- */
.case-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.case-list > li { border-bottom: 1px solid var(--line); }
.case-list a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-6); align-items: center; padding-block: var(--sp-6); }
.case-list .thumb { overflow: hidden; border-radius: var(--r-3); aspect-ratio: 16 / 10; background: #e9f1fa; }
.case-list .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.case-list .meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); }
.case-list .client { margin-top: var(--sp-2); color: var(--body); font-size: var(--fs-14); }
.case-list h2 { margin-top: var(--sp-1); font-size: var(--fs-24); line-height: 1.6; transition: color .2s; }
.case-list p.summary { margin-top: var(--sp-2); color: var(--body); line-height: 2; }
.case-list .text-link { margin-top: var(--sp-2); }
.case-list a:hover .thumb img { transform: scale(1.04); }
.case-list a:hover h2 { color: var(--teal-dark); }
.case-list a:hover .link-plus { background: var(--teal); color: #fff; }

/* ---------- 詳細：見出しまわり ---------- */
.post-head { padding-block: var(--sp-6) var(--sp-6); }
.post-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.post-head .client { margin-top: var(--sp-3); color: var(--body); font-size: var(--fs-14); font-weight: 700; }
.post-head h1 { max-width: 24em; margin-top: var(--sp-1); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.6; white-space: normal; margin-left: 0; word-break: auto-phrase; }
.post-head .lead { max-width: 760px; margin-top: var(--sp-3); color: var(--body); font-size: var(--fs-18); line-height: 2; }
.post-hero { margin: 0; overflow: hidden; border-radius: var(--r-3); background: #e9f1fa; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero-caption { margin-top: var(--sp-1); font-size: var(--fs-12); color: var(--muted); }

/* 詳細の2カラム：左にデータ欄（追従）、右に本文 */
.post-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: var(--sp-12); align-items: start; padding-block: var(--sp-10) var(--sp-12); }
.post-layout.is-single { grid-template-columns: minmax(0, 1fr); padding-top: var(--sp-2); }
.post-aside { position: sticky; top: calc(var(--header-h) + var(--sp-3)); }
.post-aside .eyebrow { margin-bottom: var(--sp-2); }

/* データ欄（CKEditorで崩れない形） */
.post-spec { border-top: 1px solid var(--ink); }
.post-spec .row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-2); padding-block: var(--sp-2); border-bottom: 1px solid var(--line); }
.post-spec .row > dl { display: contents; }
.post-spec dt { color: var(--muted); font-size: var(--fs-12); font-weight: 700; line-height: 1.9; }
.post-spec dd { margin: 0; color: var(--navy); font-size: var(--fs-14); font-weight: 700; line-height: 1.9; }

/* 数字で示せる成果（事実の数字があるときだけ使う） */
.post-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); margin-top: var(--sp-4); padding-block: var(--sp-3); border-block: 1px solid var(--line); }
.post-stat .num { font: 700 56px/1 var(--font-en); color: var(--teal); letter-spacing: -.02em; }
.post-stat .num small { margin-left: var(--sp-05); font-family: var(--font-jp); font-size: var(--fs-20); color: var(--navy); }
.post-stat .label { color: var(--body); font-size: var(--fs-14); line-height: 1.8; }

/* ---------- 記事本文（CMSのエディタ出力をそのまま整える） ---------- */
.post-body { color: var(--ink); font-size: var(--fs-16); line-height: 2; }
.post-body > * + * { margin-top: var(--sp-3); }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { position: relative; margin-top: var(--sp-8); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-24); line-height: 1.6; }
.post-body h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--teal); }
.post-body h3 { margin-top: var(--sp-5); font-size: var(--fs-18); line-height: 1.7; }
.post-body h2 + *, .post-body h3 + * { margin-top: var(--sp-2); }
.post-body p { color: var(--ink); }
.post-body strong { color: var(--navy); }
.post-body a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.post-body a:hover { color: var(--navy); }
.post-body ul, .post-body ol { padding-left: var(--sp-3); }
.post-body li + li { margin-top: var(--sp-1); }
.post-body ul li::marker { color: var(--teal); }
.post-body ol li::marker { color: var(--teal-dark); font-family: var(--font-en); font-weight: 700; }
.post-body figure { margin: var(--sp-5) 0; }
.post-body img { border-radius: var(--r-3); }
.post-body figcaption { margin-top: var(--sp-1); color: var(--muted); font-size: var(--fs-12); line-height: 1.7; }
.post-body blockquote { margin: var(--sp-5) 0; padding-left: var(--sp-3); border-left: 2px solid var(--teal); color: var(--navy); font-size: var(--fs-18); font-weight: 700; line-height: 1.9; }
.post-body hr { margin-block: var(--sp-6); border: 0; border-top: 1px solid var(--line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.post-body th, .post-body td { padding: var(--sp-2); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body th { width: 30%; color: var(--muted); font-weight: 700; }
.post-body .post-spec { margin-top: var(--sp-3); }
.post-note { margin-top: var(--sp-5); color: var(--muted); font-size: var(--fs-12); line-height: 1.9; }
.post-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.btn-ext::after { content: "↗"; font-family: var(--font-en); }

/* ---------- 記事の下：前後・一覧へ ---------- */
.post-foot { padding-bottom: var(--sp-14); }
.post-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-3); padding-block: var(--sp-3); border-block: 1px solid var(--line); }
.post-pager a, .post-pager span.is-disabled { display: grid; gap: var(--sp-05); font-size: var(--fs-14); line-height: 1.7; }
.post-pager .dir { font: 700 var(--fs-12)/1.5 var(--font-en); letter-spacing: .12em; color: var(--teal-dark); }
.post-pager .ttl { color: var(--navy); font-weight: 700; }
.post-pager a:hover .ttl { color: var(--teal-dark); text-decoration: underline; }
.post-pager .next { text-align: right; }
.post-pager .is-disabled { color: #b5bcc4; }
.post-pager .to-list { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--sp-3); border: 1px solid #b9ced0; border-radius: var(--r-1); color: var(--navy); font-size: var(--fs-14); font-weight: 700; white-space: nowrap; }
.post-pager .to-list:hover { border-color: var(--teal); background: var(--pale); }

/* ほかの事例（行で並べる） */
.related { margin-top: var(--sp-8); }
.related h2 { font-size: var(--fs-20); margin-bottom: var(--sp-3); }
.related-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list a { display: grid; grid-template-columns: 160px minmax(0, 1fr) 32px; align-items: center; gap: var(--sp-3); padding-block: var(--sp-2); }
.related-list .thumb { overflow: hidden; border-radius: var(--r-1); aspect-ratio: 16 / 10; }
.related-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-list .client { font-size: var(--fs-12); color: var(--muted); }
.related-list .ttl { color: var(--navy); font-weight: 700; line-height: 1.7; }
.related-list a:hover .ttl { color: var(--teal-dark); }
.related-list .arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c4dfdf; border-radius: 50%; color: var(--teal-dark); font-size: var(--fs-14); }
.related-list a:hover .arrow { background: var(--teal); color: #fff; }

/* 下層ページのCTA（トップの .contact-section をそのまま使い、余白だけ調整） */
.subpage .contact-section .contact-inner { padding-block: var(--sp-8); }

@media (max-width: 1150px) {
  .post-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-8); }
  .case-list a { gap: var(--sp-4); }
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-10); }
  .post-aside { position: static; }
  .post-head .lead { font-size: var(--fs-16); }
  .news-list a { grid-template-columns: 112px 88px minmax(0, 1fr) 32px; gap: var(--sp-2); }
  .case-list h2 { font-size: var(--fs-20); }
}

@media (max-width: 700px) {
  .breadcrumb { padding-top: var(--sp-2); }
  .breadcrumb [aria-current="page"] { max-width: 16em; }
  .breadcrumb + .page-hero { padding-top: var(--sp-4); }
  .post-head { padding-block: var(--sp-4); }
  .post-hero img { aspect-ratio: 4 / 3; }
  .news-list a { grid-template-columns: auto 1fr 32px; grid-template-areas: "date tag arrow" "title title arrow"; gap: var(--sp-1) var(--sp-2); padding: var(--sp-3) 0; }
  .news-list .post-date { grid-area: date; }
  .news-list .post-tag { grid-area: tag; justify-self: start; }
  .news-list .title { grid-area: title; font-size: var(--fs-14); }
  .news-list .arrow { grid-area: arrow; }
  .case-list a { grid-template-columns: 1fr; gap: var(--sp-3); padding-block: var(--sp-4); }
  .case-list h2 { font-size: var(--fs-20); }
  .post-stat .num { font-size: 48px; }
  .post-body h2 { margin-top: var(--sp-6); font-size: var(--fs-20); }
  .post-pager { grid-template-columns: 1fr 1fr; }
  .post-pager .to-list { grid-column: 1 / -1; grid-row: 2; }
  .related-list a { grid-template-columns: 96px minmax(0, 1fr) 32px; gap: var(--sp-2); }
  .post-actions .btn { width: 100%; }
}

/* トップページから一覧への導線 */
.notice-more { flex: none; padding-left: var(--sp-3); border-left: 1px solid var(--line); color: var(--teal-dark); font-size: var(--fs-12); font-weight: 700; white-space: nowrap; }
.notice-more:hover { text-decoration: underline; }
.cases-more { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.cases-more .photo-note { margin-top: 0; }
@media (max-width: 700px) {
  .notice-more { grid-column: 1 / -1; justify-self: start; padding-left: 0; border-left: 0; }
  .cases-more { flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
}

/* CMSの記事本文（CKEditorが .crf-ckeditor_inner で包む）とエディタ内のボタン */
.post-body > .crf-ckeditor_inner > * + * { margin-top: var(--sp-3); }
.post-body > .crf-ckeditor_inner > :first-child { margin-top: 0; }
.post-body > .crf-ckeditor_inner h2 + *, .post-body > .crf-ckeditor_inner h3 + * { margin-top: var(--sp-2); }
.post-body a.btn { margin-top: var(--sp-1); color: #fff; text-decoration: none; }
.post-body a.btn:hover { color: #fff; }
.post-body a.btn::after { content: "↗"; font-family: var(--font-en); }

/* ---------- トップのお知らせ（最新3件＋一覧への導線を見出し行に） ---------- */
.news-board { padding-top: var(--sp-5); }
.news-board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.news-board-title { display: flex; align-items: baseline; gap: var(--sp-2); margin: 0; font-size: var(--fs-18); line-height: 1.5; }
.news-board-title .eyebrow { margin: 0; }
.news-board-head .text-link { padding-block: 0; font-size: 13px; }
.news-board-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-board-list .notice { border-top: 0; }
@media (max-width: 700px) {
  .news-board { padding-top: var(--sp-4); }
  .news-board-head .text-link { gap: var(--sp-2); }
}

/* ---------- 外部リンク（新しいタブ）のアイコンと読み上げ用テキスト ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-bottom a[target="_blank"]::after, a.ext-link::after {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 4px; vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1.5H1.5v9h9V7M7 1.5h3.5V5M10.5 1.5 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1.5H1.5v9h9V7M7 1.5h3.5V5M10.5 1.5 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
