/* ===== 加工事例 共通スタイル ===== */
:root{
  --navy:#122E68; --navy-dark:#0C1F47; --navy-light:#2B5BB8;
  --accent:#1E8FE1; --accent-pale:#EEF2FB;
  --ink:#111; --ink-2:#36405a; --muted:#777;
  --line:rgba(18,46,104,0.12);
  --bg:#fff; --bg-2:#F5F7FC;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  color:var(--ink);background:var(--bg);line-height:1.9;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

/* header */
.jr-nav{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:0.9rem 2.5rem;background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
}
.jr-nav-logo{display:flex;align-items:center;gap:0.8rem}
.jr-nav-logo img{width:46px}
.jr-nav-logo-txt{font-size:0.8rem;font-weight:700;letter-spacing:0.04em;line-height:1.3}
.jr-nav-logo-sub{font-size:0.6rem;color:var(--muted);letter-spacing:0.08em}
.jr-nav-cta{
  background:var(--navy);color:#fff;padding:0.6rem 1.3rem;
  font-size:0.78rem;font-weight:700;letter-spacing:0.06em;white-space:nowrap;
  transition:background 0.2s;
}
.jr-nav-cta:hover{background:var(--navy-light)}

/* breadcrumb */
.jr-crumb{
  padding:1rem 2.5rem;font-size:0.72rem;color:var(--muted);
  background:var(--bg-2);border-bottom:1px solid var(--line);
}
.jr-crumb a:hover{color:var(--accent);text-decoration:underline}
.jr-crumb span{margin:0 0.5rem;opacity:0.5}

/* hero */
.jr-hero{padding:3.5rem 2.5rem 2.5rem;max-width:880px;margin:0 auto}
.jr-eyebrow{
  font-family:'Share Tech Mono',monospace;font-size:0.72rem;
  letter-spacing:0.2em;color:var(--accent);margin-bottom:0.9rem;
}
.jr-hero h1{
  font-size:clamp(1.5rem,3.6vw,2.3rem);font-weight:900;line-height:1.5;
  letter-spacing:0.01em;margin-bottom:1.1rem;text-wrap:balance;
}
.jr-lead{font-size:1rem;color:var(--ink-2);line-height:2}

/* body */
.jr-body{max-width:880px;margin:0 auto;padding:0 2.5rem 4rem}
.jr-body h2{
  font-size:clamp(1.15rem,2.4vw,1.5rem);font-weight:900;line-height:1.6;
  margin:3rem 0 1.1rem;padding-left:0.9rem;border-left:4px solid var(--accent);
}
.jr-body h3{font-size:1.02rem;font-weight:700;margin:2rem 0 0.7rem;color:var(--navy)}
.jr-body p{margin-bottom:1.2rem;color:var(--ink-2)}
.jr-body strong{color:var(--navy);font-weight:700}
.jr-body ul{margin:0 0 1.4rem 1.2rem}
.jr-body li{margin-bottom:0.6rem;color:var(--ink-2)}
.jr-figure{margin:2rem 0}
.jr-figure img{border:1px solid var(--line);border-radius:2px}
.jr-figure figcaption{
  margin-top:0.6rem;font-size:0.76rem;color:var(--muted);line-height:1.7;
}

/* spec table */
.jr-spec{width:100%;border-collapse:collapse;margin:1.5rem 0 2rem;font-size:0.88rem}
.jr-spec th,.jr-spec td{border:1px solid var(--line);padding:0.85rem 1.1rem;text-align:left}
.jr-spec th{background:var(--accent-pale);color:var(--navy);font-weight:700;width:38%}
.jr-spec td{color:var(--ink-2)}

/* callout */
.jr-note{
  background:var(--bg-2);border-left:3px solid var(--navy);
  padding:1.2rem 1.4rem;margin:2rem 0;font-size:0.9rem;line-height:1.9;
}
.jr-note p{margin:0;color:var(--ink-2)}

/* card list */
.jr-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:1.6rem;max-width:1100px;margin:0 auto;padding:0 2.5rem 4rem;
}
.jr-card{
  border:1px solid var(--line);border-radius:2px;overflow:hidden;
  display:flex;flex-direction:column;background:#fff;
  transition:transform 0.3s cubic-bezier(.22,1,.36,1),box-shadow 0.3s,border-color 0.3s;
}
.jr-card:hover{transform:translateY(-4px);border-color:rgba(30,143,225,0.45);box-shadow:0 14px 34px rgba(12,31,71,0.13)}
.jr-card-img{aspect-ratio:4/3;overflow:hidden;background:var(--navy-dark)}
.jr-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s cubic-bezier(.22,1,.36,1)}
.jr-card:hover .jr-card-img img{transform:scale(1.06)}
.jr-card-body{padding:1.2rem 1.3rem 1.4rem;flex:1;display:flex;flex-direction:column}
.jr-card-tag{
  font-family:'Share Tech Mono',monospace;font-size:0.62rem;
  letter-spacing:0.14em;color:var(--accent);margin-bottom:0.5rem;
}
.jr-card h3{font-size:1rem;font-weight:700;line-height:1.6;margin-bottom:0.5rem}
.jr-card p{font-size:0.82rem;color:var(--muted);line-height:1.8;flex:1}
.jr-card-more{margin-top:0.9rem;font-size:0.78rem;font-weight:700;color:var(--navy)}

/* CTA */
.jr-cta{background:var(--navy-dark);color:#fff;padding:3.2rem 2.5rem;text-align:center}
.jr-cta h2{font-size:clamp(1.2rem,2.6vw,1.6rem);font-weight:900;margin-bottom:0.8rem;line-height:1.6}
.jr-cta p{font-size:0.9rem;color:rgba(255,255,255,0.78);margin-bottom:1.8rem;line-height:1.9}
.jr-cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.jr-btn{
  padding:0.95rem 2.1rem;font-size:0.9rem;font-weight:700;letter-spacing:0.06em;
  transition:opacity 0.2s,background 0.2s;
}
.jr-btn-primary{background:var(--accent);color:#fff}
.jr-btn-primary:hover{background:#3BA3EE}
.jr-btn-ghost{border:1px solid rgba(255,255,255,0.4);color:#fff}
.jr-btn-ghost:hover{background:rgba(255,255,255,0.1)}

/* footer */
.jr-foot{
  padding:2.2rem 2.5rem;background:var(--bg-2);
  border-top:1px solid var(--line);font-size:0.76rem;color:var(--muted);
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.jr-foot a:hover{color:var(--accent);text-decoration:underline}

@media (max-width:720px){
  .jr-nav{padding:0.8rem 1.2rem}
  .jr-nav-logo img{width:38px}
  .jr-crumb{padding:0.8rem 1.2rem;font-size:0.68rem}
  .jr-hero{padding:2.4rem 1.2rem 1.8rem}
  .jr-body{padding:0 1.2rem 3rem}
  .jr-grid{padding:0 1.2rem 3rem;gap:1.2rem}
  .jr-cta{padding:2.4rem 1.2rem}
  .jr-foot{padding:1.6rem 1.2rem}
  .jr-spec th{width:42%}
  .jr-spec th,.jr-spec td{padding:0.7rem 0.8rem;font-size:0.82rem}
}


/* ===== 日本語の禁則処理・改行最適化 ===== */
/* 「ます。」「です。」が行をまたいで割れるのを防ぐ */
body{
  line-break: strict;              /* 行頭・行末禁則を厳密に適用 */
  overflow-wrap: break-word;
}
/* 文節単位で折り返す（Chrome 119+。非対応ブラウザは従来どおり） */
p, li, dd, dt, td, th, figcaption,
.hero-subtitle, .section-lead, .usp-desc, .faq-a, .form-note,
.privacy-note p, .jr-lead, .jr-note p, .intro-body, .problem-card span{
  word-break: auto-phrase;
  text-wrap: pretty;               /* 最終行に1語だけ残るのを防ぐ */
}
/* 見出しは文節折り返し＋バランス配置 */
h1, h2, h3, h4,
.section-title, .hero-title, .usp-title, .faq-q{
  word-break: auto-phrase;
  text-wrap: balance;
}
/* 数値・型番は途中で切らない */
.jr-spec td, .spec-value{
  word-break: keep-all;
  overflow-wrap: normal;
}