/* おうち会員（inc/ouchi.php・assets/js/ouchi.js）2026-11-17
   スマホは サイト全体が html{zoom:.75}。zoom を 入れ子に しない（2.17.3 で iPhone の Safari が 横に ずれた）→ 大きさは calc(Npx * var(--hz))（スマホ 1.333）。
   色：会員は 教科では ないので 主役は サイトの 青。会員証は「藍と金」（11/17 Sana）。片側だけの 線・かたむけ は なし。 */

/* ---------- 申し込み [ks_ouchi_form] ---------- */
.oa { max-width: 560px; margin: 0 auto; font-size: calc(16px * var(--hz)); }
.oa [hidden] { display: none !important; }
.oa-closed { background: #FFF4D1; border-radius: calc(14px * var(--hz)); padding: calc(12px * var(--hz)) calc(14px * var(--hz)); font-size: calc(14px * var(--hz)); line-height: 1.7; margin: 0 0 calc(16px * var(--hz)); }
.oa-step { background: #fff; border-radius: calc(24px * var(--hz)); box-shadow: var(--shadow-s); padding: calc(22px * var(--hz)) calc(18px * var(--hz)) calc(24px * var(--hz)); display: grid; gap: calc(14px * var(--hz)); }
.oa-h { margin: 0; font-size: calc(22px * var(--hz)); line-height: 1.45; }
.oa-lead { margin: 0; font-size: calc(14.5px * var(--hz)); line-height: 1.7; color: var(--ink2); }
.oa-f { display: grid; gap: calc(6px * var(--hz)); }
.oa-f label { font-weight: 700; font-size: calc(15px * var(--hz)); color: var(--ink); }
.oa-f label em { font-style: normal; font-size: calc(11px * var(--hz)); color: #fff; background: #D9493F; border-radius: calc(4px * var(--hz)); padding: 0 calc(6px * var(--hz)); margin-left: calc(6px * var(--hz)); vertical-align: 2px; }
.oa-f label i { font-style: normal; font-size: calc(12px * var(--hz)); color: var(--ink3); margin-left: calc(6px * var(--hz)); font-weight: 700; }
.oa-f input, .oa-f select { width: 100%; box-sizing: border-box; min-height: calc(50px * var(--hz)); border: 2px solid #E6DCC8; background: #fff; border-radius: calc(14px * var(--hz)); padding: calc(10px * var(--hz)) calc(14px * var(--hz)); font-size: max(16px, calc(16px * var(--hz))); color: var(--ink); font-family: inherit; }
.oa-f select { -webkit-appearance: none; appearance: none; line-height: 1.4; padding-right: calc(40px * var(--hz));
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5D52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right calc(14px * var(--hz)) center / calc(18px * var(--hz)) calc(18px * var(--hz)); }
.oa-f input:focus, .oa-f select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 160, 233, .18); }
.oa-e { margin: 0; color: #C0392B; font-size: calc(13px * var(--hz)); font-weight: 700; }
.oa-e:empty { display: none; }
.oa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oa-chk { display: flex; gap: calc(10px * var(--hz)); align-items: flex-start; font-size: calc(14px * var(--hz)); line-height: 1.7; color: var(--ink2); cursor: pointer; }
.oa-chk input { flex: none; -webkit-appearance: none; appearance: none; width: calc(26px * var(--hz)); height: calc(26px * var(--hz)); margin: calc(1px * var(--hz)) 0 0; border: 2px solid #C9BBA3; border-radius: calc(7px * var(--hz)); background: #fff; cursor: pointer; }
.oa-chk input:checked { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 80% 80%; }
.oa-chk input:focus-visible { outline: 3px solid rgba(0, 160, 233, .35); outline-offset: 2px; }
.oa-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: calc(56px * var(--hz)); border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--maru); font-weight: 900; font-size: calc(17px * var(--hz)); box-shadow: 0 calc(5px * var(--hz)) 0 var(--blue-d); cursor: pointer; padding: calc(8px * var(--hz)) calc(16px * var(--hz)); }
.oa-btn:disabled { opacity: .6; cursor: default; }
.oa-btn.oa-back { background: #fff; color: var(--ink2); border: 2px solid #E6DCC8; box-shadow: none; min-height: calc(48px * var(--hz)); font-size: calc(15px * var(--hz)); }
.oa-tbl { width: 100%; border-collapse: collapse; background: #FFFDF7; border-radius: calc(14px * var(--hz)); overflow: hidden; font-size: calc(14px * var(--hz)); line-height: 1.65; }
.oa-tbl th, .oa-tbl td { padding: calc(9px * var(--hz)) calc(10px * var(--hz)); border-bottom: 1px solid #F0E6D2; text-align: left; vertical-align: top; }
.oa-tbl th { width: 28%; background: var(--blue-l); font-weight: 700; white-space: nowrap; }
.oa-tbl tr:last-child th, .oa-tbl tr:last-child td { border-bottom: 0; }
.oa-msg { margin: 0; background: #FDE8E6; color: #A8231C; border-radius: calc(12px * var(--hz)); padding: calc(10px * var(--hz)) calc(12px * var(--hz)); font-size: calc(14px * var(--hz)); font-weight: 700; }
.oa-done { text-align: center; }
.oa-done img { width: calc(110px * var(--hz)); height: auto; margin: 0 auto; }
.oa-next { text-align: left; margin: 0; padding: 0; list-style: none; counter-reset: on; display: grid; gap: calc(8px * var(--hz)); }
.oa-next li { counter-increment: on; display: flex; gap: calc(10px * var(--hz)); background: #FFFDF7; border-radius: calc(12px * var(--hz)); padding: calc(10px * var(--hz)) calc(12px * var(--hz)); font-size: calc(14.5px * var(--hz)); line-height: 1.65; }
.oa-next li::before { content: counter(on); flex: none; width: calc(26px * var(--hz)); height: calc(26px * var(--hz)); border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 900 calc(13px * var(--hz)) var(--maru); }

/* ---------- おうち会員証（藍と金）：字の 大きさ --f は JS が カードの はば ÷ 24 で 入れる ---------- */
.oc-wrap { max-width: 460px; margin: calc(6px * var(--hz)) 0 calc(22px * var(--hz)); }
.oc-card { --f: 15px; font-size: var(--f); position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 1.05em; overflow: hidden; line-height: 1; isolation: isolate; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, rgba(64, 140, 230, .45), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(5, 15, 40, .55), transparent 60%), linear-gradient(135deg, #10306A 0%, #15418A 46%, #0B234F 100%);
  box-shadow: 0 22px 34px -16px rgba(8, 30, 70, .7), 0 3px 10px rgba(8, 30, 70, .25); }
.oc-card::before { content: ""; position: absolute; inset: .55em; border-radius: .7em; border: 1px solid rgba(232, 198, 106, .55); z-index: 2; pointer-events: none; }
.oc-card > * { position: absolute; margin: 0; }
.oc-lines { inset: 0; z-index: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 7px); }
.oc-ens { right: -9%; top: 6%; width: 64%; height: auto; aspect-ratio: 1; opacity: .78; color: #C99A2E; z-index: 1; pointer-events: none; }
.oc-top { left: 7%; top: 10%; right: 7%; display: flex; align-items: center; gap: .45em; white-space: nowrap; z-index: 3; }
.oc-top img { width: 1.7em; height: 1.7em; border-radius: 50%; }
.oc-top b { font-family: var(--maru); font-weight: 900; font-size: 1.02em; letter-spacing: .05em; }
.oc-top em { margin-left: auto; font: 600 .56em "Jost", "Futura", sans-serif; letter-spacing: .3em; font-style: normal; color: #E8C66A; }
.oc-chip { left: 7%; top: 38%; width: 2.6em; height: 1.95em; border-radius: .32em; z-index: 3; box-shadow: inset 0 0 0 1px rgba(90, 60, 0, .3);
  background-image: linear-gradient(90deg, transparent 31%, rgba(90, 60, 0, .35) 31% 34%, transparent 34% 66%, rgba(90, 60, 0, .35) 66% 69%, transparent 69%), linear-gradient(0deg, transparent 47%, rgba(90, 60, 0, .35) 47% 53%, transparent 53%), linear-gradient(135deg, #FFF0B8, #D6A436 55%, #F6D97C); }
.oc-ttl { left: 7%; top: 63%; transform: translateY(-100%); font-family: var(--maru); font-weight: 700; font-size: .66em; letter-spacing: .12em; white-space: nowrap; color: #E8C66A; z-index: 3; }
.oc-nm { left: 7%; bottom: 17%; font-family: var(--maru); font-weight: 900; font-size: 1.9em; letter-spacing: .1em; white-space: nowrap; z-index: 3; }
.oc-nm small { font-size: .5em; margin-left: .25em; letter-spacing: .02em; }
.oc-since { left: 7.2%; bottom: 8.5%; font: 500 .55em "Jost", "Futura", sans-serif; letter-spacing: .24em; white-space: nowrap; color: #E8C66A; z-index: 3; }
.oc-wk { right: 27%; bottom: 9%; width: 2.7em; height: 2.7em; border-radius: 50%; background: linear-gradient(135deg, #FFF6CF, #F2C94C); box-shadow: 0 0 0 .12em #0E2D63, 0 0 0 .22em #D9AE48; padding: .1em; z-index: 3; }
.oc-seal { right: 7%; bottom: 10%; width: 3.3em; height: 3.3em; border-radius: .3em; background: #C8372D; color: #fff; display: grid; place-items: center; text-align: center; font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 800; line-height: 1.05; z-index: 3;
  box-shadow: 0 0 0 .16em rgba(255, 255, 255, .12), 0 3px 6px rgba(0, 0, 0, .3); }
.oc-seal small { display: block; font-size: .42em; letter-spacing: .06em; opacity: .92; margin-bottom: .2em; }
.oc-seal b { font-size: 1.05em; }
.oc-shine { inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 42%, transparent 52%); }

/* ---------- 会員ページ「わたし」の おうち会員の 箱 ---------- */
.oh { background: #fff; border-radius: calc(18px * var(--hz)); box-shadow: var(--shadow-s); padding: calc(14px * var(--hz)) calc(16px * var(--hz)) calc(16px * var(--hz)); margin: calc(16px * var(--hz)) 0; }
.oh h3 { margin: 0 0 calc(8px * var(--hz)); font-size: calc(17px * var(--hz)); }
.oh-list { list-style: none; margin: 0 0 calc(10px * var(--hz)); padding: 0; }
.oh-list li { display: flex; justify-content: space-between; gap: calc(10px * var(--hz)); padding: calc(8px * var(--hz)) 0; border-bottom: 1px solid #F0E6D2; font-size: calc(14px * var(--hz)); color: var(--ink2); }
.oh-list li b { color: var(--ink); text-align: right; }
.oh-quit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: calc(48px * var(--hz)); border-radius: 999px; background: #fff; color: #B03A2E; border: 2px solid #E8C3BE; font-family: var(--maru); font-weight: 900; font-size: calc(15px * var(--hz)); cursor: pointer; }
.oh-note { margin: calc(8px * var(--hz)) 0 0; font-size: calc(12.5px * var(--hz)); color: var(--ink3); }

/* ---------- やめる？の 小窓（アプリの 中・ブラウザの 確認の 窓は 使わない） ---------- */
.oq { position: fixed; inset: 0; z-index: 9999; background: rgba(30, 24, 18, .45); display: grid; place-items: center; padding: 16px; }
.oq-in { width: 100%; max-width: calc(380px * var(--hz)); background: #fff; border-radius: calc(22px * var(--hz)); padding: calc(20px * var(--hz)) calc(18px * var(--hz)) calc(18px * var(--hz)); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); display: grid; gap: calc(10px * var(--hz)); }
.oq-in h3 { margin: 0; font-size: calc(19px * var(--hz)); line-height: 1.45; }
.oq-list { margin: 0; padding: 0; list-style: none; display: grid; gap: calc(6px * var(--hz)); }
.oq-list li { background: #FFFDF7; border-radius: calc(12px * var(--hz)); padding: calc(8px * var(--hz)) calc(10px * var(--hz)); font-size: calc(14px * var(--hz)); line-height: 1.6; color: var(--ink2); }
.oq-list li b { color: var(--ink); }
.oq-p { margin: 0; font-size: calc(14.5px * var(--hz)); line-height: 1.7; color: var(--ink2); }
.oq-msg { margin: 0; color: #A8231C; font-weight: 700; font-size: calc(13.5px * var(--hz)); }
.oq-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: calc(50px * var(--hz)); border-radius: 999px; font-family: var(--maru); font-weight: 900; font-size: calc(16px * var(--hz)); cursor: pointer; }
.oq-yes { background: #fff; color: #B03A2E; border: 3px solid #D9776C; }
.oq-no { background: var(--blue); color: #fff; border: 0; box-shadow: 0 calc(4px * var(--hz)) 0 var(--blue-d); }

/* ---------- 無料の 書道お手本に はさむ バナー（11/17 Sana「F」・札は「かきかた書道の オンライン会員」）。もとは プレビュー/おうち会員_20261117/バナー案/banners.css ---------- */
.obn { --I: #10306A; --I2: #15418A; --G: #E8C66A; --G2: #C99A2E;
  display: block; position: relative; box-sizing: border-box; width: calc(100% - 1.1em); max-width: 760px; margin: 1.6em auto; border-radius: 1.4em; overflow: hidden; text-decoration: none !important; color: var(--ink, #3B2A1E);
  font-size: calc(16px * var(--hz, 1)); line-height: 1.5; font-family: var(--maru, "Zen Maru Gothic", sans-serif); box-shadow: 0 .7em 1.6em -.9em rgba(40, 30, 20, .45); isolation: isolate; }
.obn * { box-sizing: border-box; }
.obn-tag { justify-self: start; align-self: start; width: max-content; display: inline-block; font-weight: 900; font-size: .78em; letter-spacing: .06em; padding: .18em .8em .22em; border-radius: 999px; background: var(--blue, #00A0E9); color: #fff; }
.obn-h { display: block; font-weight: 900; font-size: 1.42em; line-height: 1.38; letter-spacing: .02em; margin: .35em 0 .3em; }
.obn-s { display: block; font-weight: 700; font-size: .84em; line-height: 1.6; color: var(--ink2, #6E5D52); }
.obn-go { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15em; padding: 0 1.3em; margin-top: .75em; border-radius: 999px; background: var(--yellow-s, #FFE94A); color: var(--ink, #3B2A1E); font-weight: 900; font-size: .9em; box-shadow: 0 .25em 0 #D9C21E; white-space: nowrap; }
.obn:hover .obn-go { transform: translateY(1px); box-shadow: 0 .15em 0 #D9C21E; }
.obn .wk { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 .2em .3em rgba(60, 40, 20, .15)); }

/* 小さな 会員証（assets/css/ouchi.css の .oc-card と 同じ 形） */
.obn .oc-card { font-size: .33em; display: block; position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 1.05em; overflow: hidden; line-height: 1; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, rgba(64, 140, 230, .45), transparent 55%), linear-gradient(135deg, #10306A 0%, #15418A 46%, #0B234F 100%);
  box-shadow: 0 1.4em 2.2em -1em rgba(0, 0, 0, .6), 0 0 0 1px rgba(232, 198, 106, .45); font-family: var(--maru, sans-serif); }
.obn .oc-card > * { position: absolute; margin: 0; }
.obn .oc-ens { right: -9%; top: 6%; width: 64%; height: auto; aspect-ratio: 1; opacity: .8; color: #C99A2E; z-index: 1; }
.obn .oc-top { left: 7%; top: 10%; right: 7%; display: flex; align-items: center; gap: .45em; white-space: nowrap; z-index: 3; }
.obn .oc-top img { width: 1.7em; height: 1.7em; border-radius: 50%; }
.obn .oc-top b { font-weight: 900; font-size: 1.02em; }
.obn .oc-top em { margin-left: auto; font: 600 .56em "Jost", "Futura", sans-serif; letter-spacing: .3em; font-style: normal; color: #E8C66A; }
.obn .oc-chip { left: 7%; top: 38%; width: 2.6em; height: 1.95em; border-radius: .32em; z-index: 3; background: linear-gradient(135deg, #FFF0B8, #D6A436 55%, #F6D97C); }
.obn .oc-ttl { left: 7%; top: 63%; transform: translateY(-100%); font-weight: 700; font-size: .66em; letter-spacing: .12em; white-space: nowrap; color: #E8C66A; z-index: 3; }
.obn .oc-nm { left: 7%; bottom: 17%; font-weight: 900; font-size: 1.9em; letter-spacing: .1em; white-space: nowrap; z-index: 3; }
.obn .oc-nm small { font-size: .5em; margin-left: .25em; }
.obn .oc-seal { right: 7%; bottom: 10%; width: 3.3em; height: 3.3em; border-radius: .3em; background: #C8372D; color: #fff; display: grid; place-items: center; text-align: center; font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; font-weight: 800; line-height: 1.05; z-index: 3; }
.obn .oc-seal small { display: block; font-size: .42em; margin-bottom: .2em; }
.obn .oc-wk { right: 27%; bottom: 9%; width: 2.7em; height: 2.7em; border-radius: 50%; background: linear-gradient(135deg, #FFF6CF, #F2C94C); padding: .1em; z-index: 3; }

.obn .nw { display: inline-block; }
.obn-x { background: var(--blue-l, #E3F4FC); display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: .5em; align-items: center; padding: 1.1em .7em 1.1em 1.2em; }
.obn-x .obn-h { font-size: 1.36em; }
.obn-x .big { display: block; font-weight: 900; color: var(--blue-d, #0074B3); line-height: 1; margin: .1em 0 .3em; white-space: nowrap; }
.obn-x .big b { font-family: "Jost", "Futura", sans-serif; font-weight: 600; font-size: 2.5em; }
.obn-x .big small { font-size: .95em; color: var(--ink, #3B2A1E); }
.obn-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .3em; margin: .35em 0 .1em; }
.obn-chips span { display: flex; align-items: center; gap: .3em; background: #fff; border-radius: .6em; padding: .3em .45em; font-weight: 900; font-size: .72em; line-height: 1.2; white-space: nowrap; }
.obn-chips svg { flex: none; width: 1.35em; height: 1.35em; color: var(--blue-d, #0074B3); }
.obn-trio { position: relative; min-height: 12.5em; height: 100%; }
.obn-trio .pp { position: absolute; left: 0; top: .2em; width: 50%; aspect-ratio: 3 / 4; background: #fff; border-radius: .4em; padding: .2em; box-shadow: 0 .4em .9em -0.4em rgba(60, 40, 20, .35); }
.obn-trio .pp img { width: 100%; height: 100%; object-fit: contain; display: block; }
.obn-trio .ph { position: absolute; right: 0; top: 0; width: 44%; aspect-ratio: 402 / 812; border-radius: .8em; overflow: hidden; background: #1d1d1f; padding: .2em; box-shadow: 0 .5em 1em -0.5em rgba(0, 0, 0, .4); }
.obn-trio .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: .6em; display: block; }
.obn-trio .cd { position: absolute; left: 2%; right: 2%; bottom: 0; z-index: 3; }
.obn-trio .oc-card { font-size: .3em; }
.obn-trio .mem { position: absolute; right: -.2em; bottom: 4.6em; z-index: 4; background: #C8372D; color: #fff; font-weight: 900; font-size: .62em; border-radius: 999px; padding: .2em .65em; box-shadow: 0 0 0 .2em #fff; }
.obn-x .obn-go { margin-top: .6em; }
@media (min-width: 681px) {
  .obn { font-size: 18px; }
  .obn-x { grid-template-columns: minmax(0, 1fr) 36%; padding: 1.3em 1.6em; min-height: 15em; }
  .obn-trio { min-height: 15em; }
  .obn-trio .cd { left: 24%; right: 4%; bottom: -.2em; }
  .obn-trio .oc-card { font-size: .41em; }
  .obn-trio .pp { width: 42%; }
  .obn-trio .ph { width: 36%; }
  .obn-chips { grid-template-columns: repeat(4, max-content); }
}
@media (max-width: 360px) { .obn-x .obn-h { font-size: 1.22em; } .obn-chips span { font-size: .64em; } .obn-x .big b { font-size: 2.2em; } }
/* 札は 入る ときは 1行・入らない ときは「かきかた書道の／オンライン会員」の 2行（ページの 中は 字の 列が せまい） */
.obn-tag-on { width: auto; max-width: 100%; white-space: normal; border-radius: .7em; line-height: 1.35; padding: .22em .75em .26em; }
@media (max-width: 680px) {
  .obn-tag-on { font-size: .72em; letter-spacing: .02em; }
  .obn-chips { gap: .25em; }
  .obn-chips span { font-size: .66em; padding: .28em .32em; gap: .22em; }
  .obn-chips svg { width: 1.15em; height: 1.15em; }
}
@media (max-width: 400px) { .obn-chips span { font-size: .6em; } .obn-x { padding-left: 1em; } .obn-x .obn-go { padding: 0 .9em; font-size: .84em; min-height: 3.35em; } }
.obn-chips span small { font-size: .78em; font-weight: 700; color: var(--ink2, #6E5D52); margin-left: .1em; }

/* わたしのお手本の 場所では、すぐ下の 赤筆先生の バナー（.af3）と はばを そろえる */
.obn[data-ouchi-bn="slot"] { width: 100%; max-width: none; margin: 1.4em 0; }

/* 申し込みの ページの 上の 3つの 流れ（11/17 Sana「流れも見えるようにしてね」） */
.oa-flow { list-style: none; max-width: 560px; margin: 0 auto calc(16px * var(--hz)); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(8px * var(--hz)); counter-reset: none; }
.oa-flow li { display: grid; justify-items: center; gap: calc(6px * var(--hz)); background: #fff; border-radius: calc(16px * var(--hz)); padding: calc(10px * var(--hz)) calc(6px * var(--hz)) calc(12px * var(--hz)); box-shadow: var(--shadow-s); text-align: center; }
.oa-flow b { width: calc(28px * var(--hz)); height: calc(28px * var(--hz)); border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 900 calc(14px * var(--hz)) var(--maru); }
.oa-flow span { font-family: var(--maru); font-weight: 900; font-size: calc(12.5px * var(--hz)); line-height: 1.45; }
@media (max-width: 360px) { .oa-flow { grid-template-columns: 1fr 1fr; } }

/* バナーの スマホも Sana の iPhone 風モック（assets/img/phone_mock.svg）に（11/17 Sana「前僕が作ったiPhoneをもしたモックみたいなやつに変えて」） */
.obn-trio .ph { aspect-ratio: 1350 / 2760; background: none; padding: 0; border-radius: 15.5% / 7.6%; overflow: visible; box-shadow: 0 .45em .8em -.25em rgba(0, 0, 0, .38); filter: none; }   /* 11/17 夜：iPhone で 重い ぼかした 影（filter）を やめて box-shadow に・絵は mask なしの phone_mock2.svg */
.obn-trio .ph::before { content: ""; position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 13.93% / 6.41%; background: #FFF8EA; }
.obn-trio .ph img { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: auto; border-radius: 0; object-fit: initial; }
.obn-trio .ph::after { content: ""; position: absolute; inset: 0; background: url('../img/phone_mock2.svg') center / 100% 100% no-repeat; pointer-events: none; }

/* バナーを W1 に（11/17 夜 Sana「W1がよいかな」）：白と 藍・金・札の 5つめに 書道コンクール（.obn-con）。もとは プレビュー/おうち会員_20261117/バナー案/banners3.css（W）・banners4.css（W1）
   320 の 幅で「検定（別料金）」が 札の ふちから 出て いたのも ここで 直す（360 以下は 右の 列を 字の 幅に・札の 字を 少し 小さく） */
.obn-x { background: #FFFCF4; box-shadow: inset 0 0 0 2px #10306A, 0 .7em 1.6em -.9em rgba(40, 30, 20, .45); }
.obn-x .obn-tag { background: #10306A; }
.obn-x .big, .obn-x .big b { color: #B8862A; }
.obn-x .obn-chips span { background: #fff; box-shadow: inset 0 0 0 1px #E3D3A8; font-feature-settings: "palt"; }
.obn-x .obn-chips svg { color: #10306A; }
.obn-x .obn-go { background: #10306A; color: #fff; box-shadow: 0 .25em 0 #0A1F47; }
.obn-x:hover .obn-go { box-shadow: 0 .15em 0 #0A1F47; }
.obn-x .obn-chips .obn-con { grid-column: 1 / -1; background: #FFF3D2; box-shadow: inset 0 0 0 1.5px #D9B25A; color: #10306A; }
.obn-x .obn-chips .obn-con svg { color: #B8862A; }
.obn-x .obn-chips .obn-con small { color: #10306A; font-weight: 900; font-size: 1em; margin-left: .15em; }
@media (min-width: 681px) { .obn-x .obn-chips .obn-con { justify-self: start; padding-right: 1em; } }
@media (max-width: 360px) { .obn-x .obn-chips { grid-template-columns: minmax(0, 1fr) max-content; } .obn-x .obn-chips span { padding-left: .26em; padding-right: .28em; font-size: .57em; gap: .18em; } .obn-x .obn-chips span small { margin-left: 0; } }

/* 1まいの お手本ページの 小さい バナー＝小4「会員証が 主役」（11/17 夜 Sana「小4にします」）：左に 会員証・右は ことばだけ。前の 控えめな 1行（.obn-mini）は 本番に 出さずに やめた。もとは バナー案/banners5.css の .ob5-k4 */
.obm { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: .9em; align-items: center; box-sizing: border-box; width: 100%; margin: 1.3em 0 .4em; padding: .9em .9em .9em .85em; border-radius: 1em;
  background: #FFFCF4; box-shadow: inset 0 0 0 1px #E3D3A8, 0 .4em 1em -.7em rgba(60, 40, 20, .4);
  font-size: calc(16px * var(--hz, 1)); line-height: 1.5; font-family: var(--maru, "Zen Maru Gothic", sans-serif); color: var(--ink, #3B2A1E); text-decoration: none !important; }
.obm * { box-sizing: border-box; }
.obm .nw { display: inline-block; }
.obm-cd.obn { width: 100%; margin: 0; box-shadow: none; border-radius: 0; overflow: visible; font-size: inherit; isolation: auto; }
.obm-cd .oc-card { font-size: .3em; }
.obm-t { display: flex; flex-direction: column; gap: .25em; line-height: 1.35; }
.obm-t b { font-size: 1em; font-weight: 900; }
.obm-t small { font-size: .68em; font-weight: 700; color: var(--ink2, #6E5D52); }
.obm-p { font-weight: 900; font-size: .8em; white-space: nowrap; margin-top: .1em; }
.obm-p em { font-style: normal; font-family: "Jost", "Futura", sans-serif; font-weight: 600; font-size: 1.5em; color: #B8862A; }
.obm-p .lk { margin-left: .4em; color: #10306A; font-weight: 900; }
@media (min-width: 681px) { .obm { font-size: 17px; max-width: 36em; margin-left: auto; margin-right: auto; } }
@media (max-width: 360px) { .obm { grid-template-columns: 38% minmax(0, 1fr); gap: .65em; padding-right: .7em; } .obm-t b { font-size: .9em; } .obm-p .lk { display: block; margin: .15em 0 0; } }

/* 会員ページの「今月 とどいた もの」（今月の お手本・会員だより）11/17 */
.om2 { margin: 0 0 calc(20px * var(--hz)); display: grid; gap: calc(10px * var(--hz)); max-width: 460px; }
.om2 h3 { margin: 0; font-size: calc(18px * var(--hz)); }
.om2-box { background: #fff; border-radius: calc(18px * var(--hz)); box-shadow: var(--shadow-s); padding: calc(12px * var(--hz)); }
.om2-tehon { display: grid; grid-template-columns: calc(84px * var(--hz)) 1fr; gap: calc(12px * var(--hz)); align-items: center; }
.om2-tehon img { width: calc(84px * var(--hz)); height: calc(110px * var(--hz)); object-fit: contain; background: #FBF8F1; border-radius: calc(8px * var(--hz)); border: 1px solid #EFE6D3; }
.om2-tehon b { display: block; font-family: var(--maru); font-size: calc(17px * var(--hz)); line-height: 1.4; }
.om2-tehon small { display: block; font-size: calc(12px * var(--hz)); color: var(--ink2); line-height: 1.5; }
.om2-pdf { display: flex; gap: calc(6px * var(--hz)); margin-top: calc(8px * var(--hz)); }
.om2-pdf a { flex: 1; display: grid; place-items: center; min-height: calc(46px * var(--hz)); border-radius: calc(12px * var(--hz)); background: var(--blue); color: #fff !important; font-family: var(--maru); font-weight: 900; font-size: calc(13px * var(--hz)); line-height: 1.2; text-align: center; text-decoration: none; }
.om2-pdf a.w { background: #fff; color: var(--blue-d) !important; border: 2px solid var(--blue); }
.om2-row { display: flex; align-items: center; gap: calc(10px * var(--hz)); text-decoration: none; color: var(--ink); min-height: calc(56px * var(--hz)); }
.om2-row img { flex: none; width: calc(46px * var(--hz)); height: calc(46px * var(--hz)); border-radius: calc(12px * var(--hz)); background: var(--blue-l); padding: calc(4px * var(--hz)); }
.om2-row span { flex: 1; min-width: 0; }
.om2-row b { display: block; font-family: var(--maru); font-size: calc(15px * var(--hz)); }
.om2-row small { display: block; font-size: calc(12px * var(--hz)); color: var(--ink2); line-height: 1.5; }
.om2-row i { flex: none; font-style: normal; display: grid; place-items: center; min-width: calc(56px * var(--hz)); min-height: calc(44px * var(--hz)); border-radius: 999px; background: var(--yellow-s); font-family: var(--maru); font-weight: 900; font-size: calc(13px * var(--hz)); }

