/* Ieru English blog stylesheet. Generated pages under /blog/ reference this
   file via seo-policy-v1.json blog.stylesheetHref; bump the cache-buster there
   together with visual changes. Design source: the Ieru式 mock v4 - the blog
   shares the landing page's paper ground, ink rules, coral action, and lime
   marker, while keeping the article's reading comfort (18px, wide leading,
   ~65-character measure, footnotes, step cards, details/summary reveal). */

:root {
  --paper: #f3efe5;
  --white: #fffdf8;
  --ink: #15171b;
  --ink-2: #3d4043;
  --muted: #5e625f;
  --line: rgba(21, 23, 27, 0.16);
  --coral: #ff654a;
  --coral-text: #a83224;
  --blue: #3448e5;
  --lime: #dbff65;
  --lime-text: #5d7a00;
  --shadow: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif;
  font-size: 17.5px;
  line-height: 1.95;
}
header.site { background: var(--white); border-bottom: 2px solid var(--ink); }
.site-in {
  max-width: 42rem;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site a.trial {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 14px;
  font-weight: 900;
}
.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 34px 20px 6px;
  position: relative;
}
.hero .dots { display: none; }
.crumb {
  font-size: 12px;
  color: var(--coral-text);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.crumb a { color: var(--coral-text); }
h1 {
  font-size: 30px;
  line-height: 1.4;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 .u {
  background: var(--lime);
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.meta { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
main { max-width: 42rem; margin: 0 auto; padding: 10px 20px 72px; }
.lead { font-size: 18px; margin: 14px 0 22px; }
p { margin: 0 0 18px; }
b { font-weight: 800; }
h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  line-height: 1.5;
  margin: 48px 0 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.chip {
  flex: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}
.chip.c1 { background: var(--blue); }
.chip.c2 { background: var(--coral); color: var(--ink); }
.chip.c3 { background: var(--ink); }
mark {
  background: var(--lime);
  color: inherit;
  padding: 0 2px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
sup.fn { font-size: 10.5px; color: var(--muted); font-weight: 700; }
sup.fn a { color: var(--muted); text-decoration: none; }
.speech {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 22px 0;
}
.speech svg { flex: none; }
.speech p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.point {
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 16.5px;
  font-weight: 700;
}
.point .em { color: var(--ink); font-weight: 900; }
.steps { display: grid; gap: 10px; margin: 22px 0; }
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.step .no {
  flex: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--white);
}
.step:nth-child(1) .no { background: var(--blue); }
.step:nth-child(2) .no { background: var(--coral); color: var(--ink); }
.step:nth-child(3) .no { background: var(--ink); }
.step h3 { margin: 0 0 2px; font-size: 16.5px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); }
.try {
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 20px 22px;
  margin: 30px 0;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--blue);
}
.try .tag {
  display: inline-block;
  background: var(--ink);
  color: var(--lime);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.try h3 { margin: 0 0 4px; font-size: 17.5px; }
.try .sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.qcard {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 18px;
}
.qcard .ja { font-size: 21px; font-weight: 900; margin: 0 0 12px; }
.qcard details summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--coral);
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 900;
  user-select: none;
}
.qcard details summary::-webkit-details-marker { display: none; }
.qcard .en {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  background: var(--lime);
  display: inline-block;
  padding: 0 6px;
}
.qcard .alt { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.qcard .tip { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cta {
  margin: 44px 0 0;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--blue);
  padding: 30px 24px;
  text-align: center;
}
.cta .face { margin-bottom: 12px; }
.cta h3 { margin: 0 0 6px; font-size: 18.5px; color: var(--white); }
.cta p { margin: 0 0 16px; font-size: 13.5px; color: rgba(255, 253, 248, 0.78); }
.cta a {
  display: inline-block;
  background: var(--coral);
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 13px 32px;
  font-size: 15.5px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--white);
}
.cta .sub { font-size: 11.5px; color: rgba(255, 253, 248, 0.62); margin-top: 14px; }
.author {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 40px 0 0;
}
.author svg { flex: none; }
.author .who { flex: 1; }
.author .name { font-size: 14px; font-weight: 900; margin: 0; }
.author .bio { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.author .follow {
  flex: none;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 900;
}
@media (max-width: 560px) {
  .author { flex-wrap: wrap; }
  .author .follow { width: 100%; text-align: center; }
}
.postnav { display: flex; gap: 10px; margin: 40px 0 0; }
.postnav a {
  flex: 1;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
}
.postnav .dir {
  font-size: 11px;
  color: var(--coral-text);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.postnav .t {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2px;
  display: block;
}
.postnav a.next { text-align: right; }
.reco { margin-top: 36px; }
.reco h3 {
  font-size: 15px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reco h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  background: var(--lime);
}
.reco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reco a {
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}
.reco .t {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 3px;
}
.reco .m { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) {
  .reco-grid { grid-template-columns: 1fr; }
  .postnav { flex-direction: column; }
}
.posts { display: grid; gap: 14px; margin: 8px 0 0; }
.posts a {
  display: block;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}
.posts .m { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.posts .t {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  margin-top: 4px;
}
.posts .ex {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-top: 6px;
}
.fns {
  margin-top: 52px;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.fns h3 { font-size: 11.5px; letter-spacing: 0.08em; margin: 0 0 6px; color: var(--coral-text); }
.fns ol { margin: 0; padding-left: 18px; }
footer.site-f { background: var(--white); border-top: 2px solid var(--ink); }
.site-f-in {
  max-width: 42rem;
  margin: 0 auto;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.site-f-in a { color: var(--muted); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  h1 { font-size: 25px; }
}
