/* Small native interaction/accessibility additions to the original visual styles. */
[hidden]{display:none!important}
button,input{font:inherit}
button:disabled{cursor:wait;opacity:.7}
a,button,input,[tabindex]{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #e56b3c;outline-offset:4px}
.cyl-stage:focus-visible{border-radius:1rem}
.slip[role=button]{cursor:grab;touch-action:none;user-select:none}
.slip.is-dragging{cursor:grabbing;transition:none;box-shadow:0 15px 35px #2c24193d;transform:rotate(-4deg)}
.water[role=button]{cursor:pointer}
.slip.enter{animation:.55s stickIn both}
.take-image{width:100%;height:auto;display:block;border:1px solid #d4c4b2;box-shadow:0 8px 28px #00000018}
.save-error{color:#c24f24;text-align:center;font-size:13px}
.home-history-card{position:relative;background:#fffaf5;border:1px solid #ead9c8;border-radius:12px;padding:18px;margin:10px 0;display:flex;gap:16px;align-items:center}
.home-history-card>a{flex:1;color:inherit;text-decoration:none}
.home-history-card strong{font-family:var(--serif);color:#c24f24;font-size:20px;margin-right:12px}
.home-history-card p{font-family:var(--serif);color:#5c4e42;font-size:14px;line-height:1.6;margin:8px 0}
.home-history-card time{color:#8a7a6c;font-size:11px}
.history-remove{border:1px solid #ead9c8;border-radius:20px;background:none;color:#8a7a6c;font-size:12px;padding:7px 12px;cursor:pointer}
.history-back{color:#8a7a6c;font-size:13px;align-self:flex-start;text-decoration:none;padding-bottom:8px}
.result-article-links{width:100%;margin-top:24px}
.result-article-links h2{font:600 18px var(--serif)}
.result-article-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.result-article-grid a{color:#fff;text-decoration:none;position:relative;aspect-ratio:1.15;overflow:hidden;border-radius:12px;display:flex;align-items:flex-end;padding:12px;background:#40382d}
.result-article-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.result-article-grid a:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#000b)}
.result-article-grid span{position:relative;z-index:1;font-size:12px;line-height:1.5}
.ritual-error{max-width:440px;margin:40px auto;line-height:1.8;text-align:center;padding:20px}
@media(prefers-reduced-motion:reduce){.scr,.hero-l,.hero-r,.drawn,.slip.enter{animation:none}.home-cta--ready{animation:none!important}.reveal-ink.is-falling .ink-slip{animation-duration:.01s}.ink-grade,.ink-ln{transition-duration:.01s!important}}

/* V2 — a compact, warm paper layout. Interaction geometry stays in styles.css. */
.omi {
  --omi-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --omi-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --omi-ink: #362d25;
  --omi-soft: #685b50;
  --omi-muted: #8d7c6c;
  --omi-line: #eadbcd;
}
.mode-home { --omi-max: 1100px; --omi-pad: 24px; }
.mode-home .home-scroll { overflow: visible; }
.mode-home .home-hero-stage {
  min-height: 0;
  background: radial-gradient(ellipse at 14% 85%, #f5dec86b, transparent 42%), linear-gradient(125deg, #fffaf5, #fff4e9);
  border-bottom: 1px solid #efe1d3;
}
.mode-home .hdr.home {
  height: 72px;
  min-height: 72px;
  padding: 0 max(24px, calc((100% - 1100px) / 2));
  background: #fffaf5e8;
  border-bottom: 1px solid #efdfd04d;
  backdrop-filter: blur(12px);
  gap: 24px;
}
.mode-home .brand { gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.mode-home .brand-mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px #d7713d20; }
.mode-home .bt .nm { font-size: 19px; letter-spacing: .05em; white-space: nowrap; }
.mode-home .bt .tg { font-size: 10px; letter-spacing: .05em; }
.home-nav { display: flex; align-items: center; gap: 26px; }
.home-nav a { color: var(--soft); text-decoration: none; font-size: 12px; white-space: nowrap; transition: color .2s; }
.home-nav a:hover { color: var(--red); }
.mode-home .hero-row {
  flex: none;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 0 38px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.mode-home .hero-l { position: relative; padding: 8px 0; }
.mode-home .hero-kicker { padding: 6px 11px; margin: 0 0 18px; color: #b05d35; background: #f9e8d8; font-size: 10px; letter-spacing: .09em; }
.mode-home .hero-l h1 { position: relative; z-index: 1; font-size: 44px; font-weight: 600; letter-spacing: .08em; line-height: 1.55; margin: 0 0 18px; }
.mode-home .hero-rule { width: 34px; margin: 0 0 18px; background: #d78356; }
.mode-home .hero-vertical-inline { margin-bottom: 9px; color: #75614f; font-size: 14px; }
.mode-home .lead { margin: 0; color: #8a796a; font-size: 13px; line-height: 1.95; }
.hero-petal {
  display: grid;
  place-items: center;
  position: absolute;
  pointer-events: none;
  right: 6%;
  bottom: 14px;
  width: 100px;
  height: 100px;
  border: 1px solid #dfb99742;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 36%, #dfb99719 37%, transparent 39%);
  opacity: .8;
}
.hero-petal span { color: #c48660; font-family: var(--serif); font-size: 24px; opacity: .65; }
.hero-petal::before, .hero-petal::after { content: ""; position: absolute; border: 1px solid #dfb99745; width: 70px; height: 70px; border-radius: 50%; top: 14px; left: -16px; }
.hero-petal::after { left: 42px; }
.mode-home .hero-r {
  display: block;
  padding: 27px 28px 21px;
  background: #fffdf9;
  border: 1px solid #ead9c7;
  border-radius: 20px;
  box-shadow: 0 8px 26px #aa724b0b, 0 1px 3px #aa724b05;
}
.hero-form-title { margin: 0 0 16px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.55; letter-spacing: .06em; }
.mode-home .hero-r .lbl { font-size: 11px; margin: 0 0 8px; letter-spacing: .03em; }
.mode-home .hero-r .inp { height: 44px; margin-bottom: 11px; padding: 0 13px; background: #fffaf6; border-color: #e9dacc; font-size: 12px; border-radius: 9px; }
.mode-home .q-hints { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 15px; }
.mode-home .q-chip { min-width: 48px; border-radius: 999px; border: 1px solid #eadbcd; background: #fffaf5; color: #8c715d; font-size: 11px; padding: 6px 13px; transition: background .2s, border-color .2s, color .2s; }
.mode-home .q-chip:hover, .mode-home .q-chip.on { border-color: #e6aa84; background: #fbe9d9; color: #ba643b; }
.mode-home .hero-r .home-cta { height: 47px; margin: 0; padding: 0 15px; font-size: 14px; letter-spacing: .05em; box-shadow: 0 5px 13px #d5764530; }
.mode-home .hero-r .home-cta:hover { filter: brightness(1.03); box-shadow: 0 7px 17px #d576453d; }
.mode-home .trust-row { gap: 0; margin-top: 14px; }
.mode-home .trust-item { flex-direction: row; gap: 5px; background: transparent; border: 0; padding: 0 4px; font-size: 9px; color: #998574; line-height: 1.5; }
.mode-home .trust-item + .trust-item { border-left: 1px solid #eadbcd; border-radius: 0; }
.mode-home .trust-ico { width: 11px; height: 11px; color: #ce8d65; }
.mode-home .hero-r .tiny { text-align: center; font-size: 10px; color: #b09c8a; margin: 12px 0 0; }
.mode-home .chip-ready-hint { font-size: 10px; margin: -5px 0 10px; }
.quick-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 25px 0 0; padding: 0; }
.quick-steps > * { min-width: 0; border-left: 1px solid #e6ccb5; padding: 0 0 0 10px; color: #8c7765; font-size: 10px; line-height: 1.6; }
.quick-steps i { display: block; font-family: var(--serif); color: #cc986f; font-size: 12px; font-style: normal; margin-bottom: 3px; }
.quick-steps b { display: block; font-weight: 500; }
.home-content { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0; }
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.home-section-head h2 { font-family: var(--serif); color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: .09em; line-height: 1.5; margin: 0; }
.home-section-head > a { color: #ad7954; font-size: 11px; text-decoration: none; white-space: nowrap; padding-bottom: 4px; }
.home-section-head > a:hover { color: var(--red); }
.notes-intro { color: #9a8572; font-size: 11px; line-height: 1.8; margin: 5px 0 0; letter-spacing: .02em; }
.note-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; list-style: none; margin: 0; padding: 0; }
.note-card { display: flex; flex-direction: column; min-width: 0; height: 100%; color: inherit; text-decoration: none; overflow: hidden; border: 1px solid #ede1d5; border-radius: 14px; background: #fffdf9; box-shadow: 0 2px 5px #9b755509; transition: transform .22s, box-shadow .22s, border-color .22s; }
.note-card:hover { transform: translateY(-3px); border-color: #dfc6af; box-shadow: 0 8px 18px #9b755512; }
.note-media { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 2.4; background: #eadfd2; flex: none; }
.note-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.note-card:hover .note-media img { transform: scale(1.035); }
.note-body { padding: 15px 16px 17px; }
.note-category { display: block; color: #c18559; font-size: 10px; letter-spacing: .08em; margin: 0 0 7px; font-weight: 500; }
.note-title { display: block; font-family: var(--serif); color: #4a3b2f; font-size: 16px; font-weight: 600; line-height: 1.6; margin: 0 0 8px; letter-spacing: .015em; }
.note-excerpt { color: #9a8878; font-size: 11px; line-height: 1.8; margin: 0; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__screen { padding: 30px 24px; background: #fcf3e9; border-block: 1px solid #efe0d0; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__inner { max-width: 1100px; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__head { text-align: left; margin-bottom: 15px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__title { font-size: 22px; letter-spacing: .08em; text-indent: 0; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__sub { font-size: 10px; margin: 0; color: #ab927c; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__rule { display: none; }
.mode-home #home-history-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mode-home .HomeHistoryPanel-module__OJ5Tfa__empty { grid-column: 1 / -1; border: 1px solid #eadbca; border-radius: 12px; background: #fffbf6; padding: 23px 18px; font-size: 13px; color: #a38a76; line-height: 1.8; }
.mode-home .home-history-card { margin: 0; padding: 15px; border-color: #e6d6c5; border-radius: 10px; gap: 10px; background: #fffaf4; align-items: flex-start; }
.mode-home .home-history-card > a { min-width: 0; }
.mode-home .home-history-card strong { font-size: 18px; margin-right: 8px; }
.mode-home .home-history-card > a > span { font-size: 10px; color: #9c8470; }
.mode-home .home-history-card p { font-size: 12px; line-height: 1.7; margin: 8px 0; }
.mode-home .home-history-card time { font-size: 9px; color: #ad9885; }
.mode-home .history-remove { border-color: #e6d8c9; padding: 4px 7px; font-size: 9px; white-space: nowrap; margin-top: 3px; }
.mode-home .block.how-sec, .mode-home .block.faq-sec { display: block; width: min(1100px, calc(100% - 48px)); max-width: 1100px; margin: 0 auto; padding: 32px 0; border: 0; background: transparent; }
.mode-home .block.how-sec { border-bottom: 1px solid #eee0d3; }
.mode-home .block.how-sec h2, .mode-home .block.faq-sec h2 { font-family: var(--serif); font-size: 24px; letter-spacing: .09em; text-align: left; margin: 0 0 20px; line-height: 1.5; }
.mode-home .how-sec .how3 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; }
.mode-home .how-sec .how-c { padding: 20px; border: 1px solid #ecdfd1; border-radius: 12px; background: #fffdf9; }
.mode-home .how-sec .how-c i { width: 28px; height: 28px; margin-bottom: 13px; font-size: 13px; border-radius: 50%; background: #f9e8d8; color: #c48255; }
.mode-home .how-sec .how-c b { font-family: var(--serif); font-size: 15px; line-height: 1.65; letter-spacing: .02em; margin-bottom: 9px; }
.mode-home .how-sec .how-c p { color: #998575; font-size: 11px; line-height: 1.85; }
.mode-home .faq2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 12px; }
.mode-home .fq { padding: 18px 20px; background: #fcf2e8; border: 1px solid #eee0d0; border-radius: 10px; }
.mode-home .fq b { color: #6e5540; font-size: 12px; line-height: 1.65; margin-bottom: 8px; font-weight: 600; }
.mode-home .fq p { color: #9a826e; font-size: 11px; line-height: 1.9; }
.mode-home .ft { background: #f3e7db; color: #927b65; padding: 30px max(24px, calc((100% - 1100px) / 2)) 21px; border-top: 1px solid #e9d6c3; }
.mode-home .ft-grid { max-width: 1100px; gap: 26px; margin-bottom: 23px; grid-template-columns: 2.2fr 1fr; }
.mode-home .ft-brand { color: #75563d; font-size: 19px; letter-spacing: .07em; margin-bottom: 10px; }
.mode-home .ft p { color: #9d8670; font-size: 10px; line-height: 1.85; max-width: 25rem; }
.mode-home .ft-h { color: #8a6b51; font-size: 11px; margin-bottom: 11px; }
.mode-home .ft a { color: #a38a73; font-size: 10px; margin-bottom: 8px; line-height: 1.7; }
.mode-home .ft a:hover { color: #bd7047; }
.mode-home .ft .copy { max-width: 1100px; max-width: none; color: #b09b87; opacity: 1; border-top: 1px solid #decab680; font-size: 9px; padding-top: 15px; margin: 0; }
.history-empty-hint { grid-column: 1 / -1; margin: 0; color: #998575; font-size: 12px; line-height: 1.8; }
.mode-home .hero-l .lead { font-size: 14px; }
.mode-home .hero-r .lbl { font-size: 12px; }
.mode-home .hero-r .inp { font-size: 14px; }
.note-excerpt { font-size: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.note-title { min-height: 2.7em; }
.home-content .block.how-sec, .home-content .block.faq-sec { width: 100%; }
/* Tighter headers keep the longer Japanese brand readable. */
.RitualProgressHeader-module__K7T9AG__hdr { padding: 11px max(20px, calc((100% - 1100px) / 2)); min-height: 68px; gap: 20px; }
.RitualProgressHeader-module__K7T9AG__brand { gap: 10px; }
.RitualProgressHeader-module__K7T9AG__brandName { font-size: 16px; letter-spacing: .035em; }
.RitualProgressHeader-module__K7T9AG__brandTag { max-width: 15rem; font-size: 10px; margin-top: 2px; color: #ac9580; }
.RitualProgressHeader-module__K7T9AG__brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.RitualProgressHeader-module__K7T9AG__current { font-size: 14px; }
.RitualProgressHeader-module__K7T9AG__next { font-size: 10px; }
.mode-ritual .body.center { padding-top: 20px; }
.mode-ritual .shake-body { padding-top: 24px; gap: 18px; }
.mode-ritual .result-body.body.center { max-width: 40rem; width: 100%; padding: 20px 16px 36px; gap: 14px; }
.mode-ritual .result-body .paper { width: min(34rem, 100%); max-width: 34rem; }
.mode-ritual .result-body .counsel { width: 100%; max-width: 34rem; }
.result-article-links { max-width: 34rem; margin-top: 18px; }
.result-article-links h2 { font-size: 17px; }
/* Notes use the same light paper treatment as the home cards. */
.ArticlePageShell-module__Ejb7MG__root { width: 100%; max-width: 48rem; padding: 24px 24px 36px; }
.ArticlePageShell-module__Ejb7MG__root:has(.articles-module__sMbzDW__grid) { max-width: 1148px; }
.ArticlePageShell-module__Ejb7MG__head { margin-bottom: 23px; }
.ArticlePageShell-module__Ejb7MG__back { font-size: 12px; color: #a08873; margin-bottom: 20px; }
.ArticlePageShell-module__Ejb7MG__title { font-size: 26px; line-height: 1.55; letter-spacing: .06em; }
.articles-module__sMbzDW__lead, .article-detail-intro { color: #9b8470; font-size: 13px; line-height: 1.9; margin-bottom: 22px; }
.articles-module__sMbzDW__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.articles-module__sMbzDW__card { background: #fffdf9; border: 1px solid #eadccd; border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.articles-module__sMbzDW__card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #9b755514; }
.articles-module__sMbzDW__media { aspect-ratio: 4 / 2.4; border: 0; border-radius: 0; background: #ece0d3; }
.articles-module__sMbzDW__photo { width: 100%; height: 100%; object-fit: cover; }
.articles-module__sMbzDW__veil { background: linear-gradient(transparent 35%, #35281a8c); }
.article-card-body { padding: 17px 19px 20px; }
.article-card-body .articles-module__sMbzDW__category { position: static; color: #bf8155; background: none; padding: 0; box-shadow: none; font-size: 10px; margin-bottom: 8px; }
.article-card-body .articles-module__sMbzDW__caption { position: static; padding: 0; }
.article-card-body .articles-module__sMbzDW__headline { color: #513d2c; font-size: 17px; line-height: 1.7; -webkit-line-clamp: initial; }
.article-card-excerpt { font-size: 12px; line-height: 1.85; color: #9b8674; margin: 10px 0 0; }
.articles-module__sMbzDW__card > .article-card-excerpt { padding: 15px 18px 18px; margin: 0; }
.ArticlePageShell-module__Ejb7MG__cover { border-radius: 14px; border-color: #eadbca; margin-bottom: 23px; }
.article-detail-module__1bJgOa__body { gap: 24px; }
.article-detail-module__1bJgOa__block { gap: 12px; }
.article-detail-module__1bJgOa__body h2 { font-size: 21px; letter-spacing: .035em; line-height: 1.65; }
.article-detail-module__1bJgOa__body p, .article-detail-module__1bJgOa__body li { color: #7e6957; font-size: 14px; line-height: 2; }
.article-detail-module__1bJgOa__related { margin-top: 28px; padding-top: 23px; }
.article-detail-module__1bJgOa__relatedTitle { font-size: 20px; }
.ArticlePageShell-module__Ejb7MG__ctaWrap { padding: 12px 0 0; background: #fff7f0ed; backdrop-filter: blur(8px); }
.LegalPageShell-module__jipUsG__head { margin-inline: auto; }
@media (max-width: 1000px) {
  .mode-home .hero-row { gap: 36px; }
  .mode-home .hero-l h1 { font-size: 37px; }
  .mode-home .hero-r { padding: 24px; }
  .note-grid { gap: 13px; }
  .note-body { padding: 13px; }
  .note-title { font-size: 15px; }
  .mode-home .how-sec .how3 { gap: 12px; }
  .mode-home .how-sec .how-c { padding: 17px; }
  .mode-home #home-history-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .mode-home { --omi-pad: 20px; }
  .mode-home .hdr.home { height: 63px; min-height: 63px; padding: 0 20px; gap: 14px; }
  .mode-home .bt .nm { font-size: 16px; letter-spacing: .035em; }
  .mode-home .brand { gap: 9px; }
  .mode-home .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .home-nav { gap: 14px; }
  .home-nav a { font-size: 10px; }
  .home-nav a[href="#how"] { display: none; }
  .mode-home .hero-row { width: calc(100% - 40px); padding: 28px 0 29px; grid-template-columns: 1fr; gap: 23px; }
  .mode-home .hero-l { padding: 0; }
  .mode-home .hero-kicker { font-size: 9px; padding: 5px 9px; margin-bottom: 12px; }
  .mode-home .hero-l h1 { font-size: 34px; letter-spacing: .075em; line-height: 1.5; margin-bottom: 14px; }
  .mode-home .hero-rule { margin-bottom: 13px; }
  .mode-home .hero-vertical-inline { font-size: 13px; margin-bottom: 4px; }
  .mode-home .hero-l .lead { font-size: 13px; line-height: 1.85; }
  .hero-petal { width: 80px; height: 80px; right: 18px; bottom: 10px; }
  .hero-petal::before, .hero-petal::after { width: 56px; height: 56px; top: 11px; left: -12px; }
  .hero-petal::after { left: 33px; }
  .quick-steps { gap: 8px; margin-top: 19px; }
  .quick-steps > * { font-size: 9px; padding-left: 8px; }
  .quick-steps i { font-size: 11px; }
  .mode-home .hero-r { padding: 22px 22px 18px; border-radius: 16px; }
  .hero-form-title { font-size: 18px; margin-bottom: 14px; }
  .mode-home .hero-r .inp { font-size: 14px; }
  .mode-home .hero-r .home-cta { height: 46px; font-size: 13px; }
  .home-content { width: calc(100% - 40px); padding: 25px 0; }
  .home-section-head { align-items: flex-end; gap: 12px; margin-bottom: 16px; }
  .home-section-head h2 { font-size: 22px; }
  .notes-intro { font-size: 10px; margin-top: 4px; }
  .home-section-head > a { font-size: 10px; }
  .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .note-card { border-radius: 12px; }
  .note-body { padding: 12px; }
  .note-category { font-size: 9px; margin-bottom: 5px; }
  .note-title { font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
  .note-excerpt { font-size: 12px; line-height: 1.8; }
  .mode-home .HomeHistoryPanel-module__OJ5Tfa__screen { padding: 25px 20px; }
  .mode-home .HomeHistoryPanel-module__OJ5Tfa__head { display: block; margin-bottom: 14px; }
  .mode-home .HomeHistoryPanel-module__OJ5Tfa__title { font-size: 21px; }
  .mode-home .HomeHistoryPanel-module__OJ5Tfa__sub { font-size: 10px; margin-top: 7px; }
  .mode-home #home-history-list { grid-template-columns: 1fr; gap: 10px; }
  .mode-home .HomeHistoryPanel-module__OJ5Tfa__empty { font-size: 12px; padding: 19px 15px; }
  .mode-home .home-history-card { padding: 15px; }
  .mode-home .block.how-sec, .mode-home .block.faq-sec { width: calc(100% - 40px); padding: 25px 0; }
  .mode-home .block.how-sec h2, .mode-home .block.faq-sec h2 { font-size: 22px; margin-bottom: 16px; }
  .mode-home .how-sec .how3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mode-home .how-sec .how-c { padding: 16px; }
  .mode-home .how-sec .how-c i { width: 25px; height: 25px; margin-bottom: 10px; font-size: 12px; }
  .mode-home .how-sec .how-c b { font-size: 14px; }
  .mode-home .how-sec .how-c p { font-size: 10px; line-height: 1.85; }
  .mode-home .faq2 { grid-template-columns: 1fr; gap: 10px; }
  .mode-home .fq { padding: 16px 17px; }
  .mode-home .fq b { font-size: 12px; }
  .mode-home .fq p { font-size: 11px; }
  .mode-home .ft { padding: 25px 20px 20px; }
  .mode-home .ft-grid { grid-template-columns: 1.5fr 1fr; gap: 23px 20px; margin-bottom: 20px; }
  .mode-home .ft-brand { font-size: 17px; }
  .mode-home .ft p, .mode-home .ft a { font-size: 10px; }
  .RitualProgressHeader-module__K7T9AG__hdr { min-height: 62px; padding: 10px 16px; gap: 12px; }
  .RitualProgressHeader-module__K7T9AG__brand { gap: 8px; }
  .RitualProgressHeader-module__K7T9AG__brandName { font-size: 14px; letter-spacing: .015em; }
  .RitualProgressHeader-module__K7T9AG__brandTag { max-width: 11.5rem; font-size: 9px; }
  .RitualProgressHeader-module__K7T9AG__brand .brand-mark { width: 30px; height: 30px; }
  .RitualProgressHeader-module__K7T9AG__current { font-size: 12px; }
  .RitualProgressHeader-module__K7T9AG__next { font-size: 9px; }
  .RitualProgressHeader-module__K7T9AG__names { max-width: 9rem; }
  .mode-ritual .body.center { padding-top: 17px; }
  .mode-ritual .shake-body { padding-top: 22px; gap: 16px; }
  .mode-ritual .result-body.body.center { padding: 17px 16px 30px; }
  .ArticlePageShell-module__Ejb7MG__root { padding: 20px 20px 28px; }
  .ArticlePageShell-module__Ejb7MG__title { font-size: 23px; line-height: 1.65; }
  .ArticlePageShell-module__Ejb7MG__back { margin-bottom: 16px; font-size: 11px; }
  .articles-module__sMbzDW__lead, .article-detail-intro { font-size: 12px; line-height: 1.9; }
  .articles-module__sMbzDW__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .articles-module__sMbzDW__card { border-radius: 12px; }
  .article-card-body { padding: 12px; }
  .article-card-body .articles-module__sMbzDW__category { font-size: 9px; margin-bottom: 5px; }
  .article-card-body .articles-module__sMbzDW__headline { font-size: 14px; }
  .article-card-excerpt { font-size: 10px; line-height: 1.85; margin-top: 7px; }
  .article-detail-module__1bJgOa__body h2 { font-size: 19px; }
  .article-detail-module__1bJgOa__body p, .article-detail-module__1bJgOa__body li { font-size: 13px; }
  .ArticlePageShell-module__Ejb7MG__cover { border-radius: 12px; }
}
@media (max-width: 380px) {
  .mode-home .hdr.home { padding-inline: 16px; }
  .home-nav { gap: 10px; }
  .home-nav a { font-size: 9px; }
  .mode-home .bt .nm { font-size: 14px; }
  .mode-home .hero-row, .home-content, .mode-home .block.how-sec, .mode-home .block.faq-sec { width: calc(100% - 32px); }
  .mode-home .hero-l h1 { font-size: 30px; }
  .mode-home .hero-r { padding: 20px 17px 17px; }
  .mode-home .trust-item { font-size: 8px; }
  .note-grid { gap: 10px; }
  .note-body { padding: 11px; }
  .note-title { font-size: 13px; }
  .mode-home .how-sec .how-c { padding: 13px; }
  .RitualProgressHeader-module__K7T9AG__brandName { font-size: 13px; }
  .RitualProgressHeader-module__K7T9AG__brandTag { display: none; }
  .RitualProgressHeader-module__K7T9AG__names { max-width: 7rem; }
  .RitualProgressHeader-module__K7T9AG__next { font-size: 8px; }
}
@media (max-width: 320px) {
  .note-grid, .articles-module__sMbzDW__grid { grid-template-columns: 1fr; }
  .mode-home .how-sec .how3 { grid-template-columns: 1fr; }
  .home-nav a[href="#drawer"] { display: none; }
}
/* Cards contain semantic spans as well as headings. */
.note-grid > li { min-width: 0; }
.note-body, .article-card-body, .article-card-excerpt { display: block; }
.hero-form-title + p { color: #a08a76; font-size: 11px; line-height: 1.8; }
/* Six columns at most: the protected answer position starts after row twelve. */
.drawer-body { max-width: 48rem; padding: 22px 24px 32px; }
.drawer-body .dgrid { grid-template-columns: repeat(6,minmax(0,1fr)); max-height: none; overflow: visible; gap: 9px; }
.drawer-body .cell { height: 60px; }
.drawer-body .cell.is-open { border-color: #cc825c; background: #fbe6d4; }
.drawer-body > .err { position: fixed; z-index: 30; left: 50%; bottom: 20px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid #ebc9ae; border-radius: 999px; background: #fffaf3f5; box-shadow: 0 6px 24px #5c4e421c; pointer-events: none; }
.drawer-body .scroll-h { margin: 0 0 6px; text-align: left; font-size: 12px; }
.drawer-open-panel { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 18px; padding: 28px 20px 24px; border: 1px solid #e6d5c4; border-radius: 16px; background: #fffcf7; scroll-margin-top: 20px; animation: .5s both fade; }
.drawer-open-panel .slip { margin: 0; }
.drawer-open-panel .status { font-size: 14px; }
.drawer-open-panel .hint { line-height: 1.7; }
.drawer-body .dgrid .cell:last-child{scroll-margin-top:82px}
.slip.is-dropping { pointer-events: none; animation: .14s ease-out both slip-release; }
@keyframes slip-release { to { opacity: 0; transform: translateY(12px) scale(.95); } }
@media(max-width:767px) { .drawer-body .dgrid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media(max-width:540px) { .drawer-body { padding: 18px 16px 26px; } .drawer-body .dgrid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; } .drawer-body .cell { height: 55px; } }
@media(max-width:340px) { .drawer-body .dgrid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { .drawer-open-panel,.slip.is-dropping { animation: none; } }
/* The matching drawer stays in its random position and has a clear visual cue. */
.drawer-body .cell.is-target { color:#863b1e; background:linear-gradient(145deg,#fff1cf,#ffd3a1); border:2px solid #d86b35; font-size:19px; font-weight:800; padding-bottom:6px; box-shadow:0 0 0 3px #f2b77c35,0 4px 12px #b36a3029,inset 0 1px #fff9; }
.drawer-body .cell.is-target:before { display:none; }
.drawer-body .cell.is-target:after { content:"あなたの札"; display:block; position:absolute; top:7px; left:0; width:100%; font-family:var(--sans); font-size:9px; font-weight:600; line-height:1.3; letter-spacing:.03em; text-align:center; }
.drawer-body .cell.is-target:hover { border-color:#aa461f; box-shadow:0 0 0 3px #efac6960,0 5px 15px #b36a3038; }
.drawer-body .cell.is-target.is-open:after { content:"選んだ札"; }

/* AdSense placements and spacing requested for koyomi.quizgenz.com. */
.mode-home .hero-row { padding-top:0; padding-bottom:0; gap:5px; }
.mode-home .hero-rule { height:3px; }
.ad-slot { box-sizing:border-box; width:100%; max-width:100%; margin-inline:auto; overflow:hidden; text-align:center; }
.ad-slot > .adsbygoogle { width:100%; }
.ad-home-top { display:none; }
.ad-shake,.ad-drawer,.ad-hold,.ad-result-top,.ad-result-slip { min-height:90px; }
.drawer-body { gap:.5rem; }
.drawer-body .scroll-h,.drawer-body > .err { margin-top:0; }
.drawer-body .ad-drawer { margin-top:.25rem; }
.hold-body .cta.fixed { box-sizing:border-box; padding-inline:20px; }
.result-article-grid a { min-height:132px; aspect-ratio:auto; align-items:flex-start; flex-direction:column; justify-content:flex-end; gap:5px; background:linear-gradient(145deg,#7e3f27,#d87948); }
.result-article-grid a:after { background:linear-gradient(135deg,#fff0 20%,#2d16066b); }
.result-article-grid .result-quiz-label { align-self:flex-start; border:1px solid #ffffff70; border-radius:999px; padding:3px 8px; font-size:9px; letter-spacing:.08em; }
.result-article-grid small { position:relative; z-index:1; color:#ffe6d7; font-size:9px; }
@media (max-width:767px) {
  .ad-home-top { display:block; width:100%; min-height:250px; height:250px; }
}
