/* ことりは工房 — お店・マイページ・管理者画面で同じ見た目（紹介サイトと同じ、春の絵本のような色と Zen Maru Gothic） */
:root {
  color-scheme: light;
  --cream: #FFFAF0; --cream-2: #FFF5E4; --butter: #FFF3D3; --mint: #EAF5DF; --sky: #E4F1FB; --blush: #FDEEE7;
  --line: #EEDFC7; --line-2: #E2CBA7;
  --ink: #3B2C24; --ink-2: #5F4E44; --ink-3: #76645A;
  --coral: #E5533D; --coral-b: #D2432C; --coral-t: #B93A27; --coral-s: #FCE3DA;
  --sun: #F5C242; --sun-s: #FFF0C6; --leaf: #5DAE48; --leaf-d: #2F7429; --leaf-s: #E2F1D5;
  --blue: #3E8FD0; --blue-d: #1F5F96; --blue-s: #DCEDFA; --pink-s: #FCE4ED; --violet-s: #EDE6F8;
  --good: #1E7B1E; --warn-s: #FFF0C6; --crit: #C2362F;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif;
  --sh-1: 0 1px 2px rgba(90, 58, 26, .06), 0 12px 28px -16px rgba(90, 58, 26, .3);
  --sh-2: 0 2px 6px rgba(90, 58, 26, .07), 0 30px 60px -30px rgba(90, 58, 26, .45);
  --r: 24px;
  /* グラフの色（dataviz の確かめずみの4色、白い地の上） */
  --s-web: #2a78d6; --s-apple: #eb6834; --s-google: #1baf7a; --s-ms: #eda100;
  --grid: #EFE6D6; --axis: #D9CBB4;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.85; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: clip }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(226, 203, 167, .5) 1.3px, transparent 1.6px); background-size: 24px 24px }
img { display: block; max-width: 100%; height: auto }
a { color: var(--leaf-d); text-underline-offset: 3px }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0 }
h1, h2, h3 { font-weight: 900; line-height: 1.45; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere }
p, li, dd, dt, td, th, label, summary { word-break: auto-phrase }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px }
[hidden] { display: none !important }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: max(18px, env(safe-area-inset-left, 0px)) max(18px, env(safe-area-inset-right, 0px)) }
.narrow { max-width: 760px }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }

/* ---- 試作の印・頭・足もと ---- */
.proto { padding: 6px 16px; background: var(--sun-s); border-bottom: 1.5px dashed var(--sun); color: var(--ink-2); font-size: 13.5px; font-weight: 700; text-align: center }
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 250, 240, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line) }
.top .row { display: flex; align-items: center; gap: 16px; min-height: 66px }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 900 }
.brand img { height: 34px; width: auto }
.brand small { padding-left: 12px; border-left: 1.5px solid var(--line-2); font-size: 12.5px; color: var(--ink-2) }
.topnav { display: flex; gap: 4px; margin-left: auto }
.topnav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none }
.topnav a:hover, .topnav a[aria-current="page"] { background: #fff; color: var(--coral-t); box-shadow: inset 0 0 0 2px var(--line) }
.foot { margin-top: 72px; color: var(--ink-2); font-size: 14px }
.foot .lawn { height: 54px; background: url(/img/lawn.webp) repeat-x center / auto 120px; -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%) }
.foot .inner { background: var(--leaf-s); padding: 22px 0 34px }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px }
.foot a { color: var(--leaf-d); font-weight: 700 }

/* ---- 部品 ---- */
.card { position: relative; background: #fff; border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: var(--sh-1); border: 1.5px solid var(--line) }
.card + .card { margin-top: 18px }
.card.center { text-align: center }
.card h2 { font-size: 21px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px }
.card h2 img { width: 34px; height: 34px; object-fit: contain }
.lead { color: var(--ink-2); font-size: 17.5px }
.note { color: var(--ink-3); font-size: 14.5px }
.err { min-height: 1.2em; color: var(--crit); font-weight: 700; font-size: 15.5px }
.ok-msg { color: var(--good); font-weight: 700 }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 900 16.5px/1.3 var(--font); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s }
.btn:active { transform: translateY(1px) }
.btn.lg { min-height: 60px; padding: 0 32px; font-size: 18px }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px }
.btn.pri { background: var(--coral-b); color: #fff; box-shadow: 0 14px 24px -14px rgba(210, 67, 44, .95), inset 0 -3px 0 rgba(0, 0, 0, .12) }
.btn.pri:hover { background: #C23A25 }
.btn.leaf { background: var(--leaf-d); color: #fff; box-shadow: 0 14px 24px -14px rgba(47, 116, 41, .9), inset 0 -3px 0 rgba(0, 0, 0, .14) }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2) }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--coral) }
.btn.quiet { background: transparent; color: var(--ink-2); box-shadow: none; text-decoration: underline; padding: 0 8px }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px }
.field { display: grid; gap: 6px; margin-top: 14px }
.field > span { font-weight: 700; color: var(--ink-2); font-size: 15.5px }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line-2); border-radius: 16px; background: #fff; color: var(--ink); font: 700 18px/1.5 var(--font); letter-spacing: .04em }
.field textarea { min-height: 130px; resize: vertical; font-weight: 500 }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-s) }
.field input.code { font-size: 30px; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--cream-2); border: 1.5px dashed var(--line-2); font-weight: 700; cursor: pointer }
.check input { width: 26px; height: 26px; flex: none; margin-top: 3px; accent-color: var(--coral-b) }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 900; white-space: nowrap; letter-spacing: .04em }
.badge.buyout { background: var(--coral-s); color: var(--coral-t) }
.badge.monthly { background: var(--blue-s); color: var(--blue-d) }
.badge.trial { background: var(--leaf-s); color: var(--leaf-d) }
.badge.none, .badge.expired { background: #F1ECE4; color: var(--ink-3) }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap }
.st::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor }
.st.good { color: var(--good) } .st.warn { color: #9A6A00 } .st.crit { color: var(--crit) } .st.mute { color: var(--ink-3) }
.stk { position: absolute; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(90, 58, 26, .12)) }
.mascot { width: 92px; margin: 0 auto 6px }
.ticks { list-style: none; display: grid; gap: 6px; margin-top: 10px }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.7 }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf-s) }
.ticks li::after { content: ""; position: absolute; left: 8px; top: calc(.38em + 4px); width: 5px; height: 9px; border: solid var(--leaf-d); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translateX(-50%); padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--sh-2); pointer-events: none; max-width: calc(100vw - 32px) }

/* ---- お店のページ ---- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding-top: 34px; padding-bottom: 10px }
.kicker { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--leaf-s); color: var(--leaf-d); font-weight: 900; font-size: 14px }
.hero h1 { margin: 12px 0 12px; font-size: clamp(30px, 4.6vw, 48px); color: var(--ink) }
.hero h1 em { font-style: normal; color: var(--coral-t); background: linear-gradient(transparent 62%, var(--sun-s) 62%) }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px }
.hero-art { position: relative; min-height: 330px }
.hero-art .art-mari { position: absolute; right: 22%; bottom: 0; height: 320px; width: auto }
.hero-art .art-poko { position: absolute; right: 4%; bottom: 0; height: 120px; width: auto }
.hero-art .s-sun { width: 92px; top: 0; right: 0; transform: rotate(8deg) }
.hero-art .s-bird { width: 70px; top: 40px; left: 6%; transform: rotate(-10deg) }
.sec-title { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 46px 0 22px; font-size: clamp(24px, 3vw, 30px) }
.sec-title img { width: 40px }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 30px 24px 24px; border: 2px solid var(--line); box-shadow: var(--sh-1) }
.plan h3 { font-size: 21px; display: flex; align-items: center; gap: 8px }
.plan .price { margin: 10px 0 2px; font-size: 46px; font-weight: 900; line-height: 1.1; letter-spacing: .01em }
.plan .price small { font-size: 17px; font-weight: 700; color: var(--ink-2); margin-left: 4px }
.plan .per { color: var(--ink-2); font-weight: 700; font-size: 15px }
.plan .btn { margin-top: auto; width: 100% }
.plan .ticks { margin: 14px 0 22px }
.plan.trial { background: linear-gradient(180deg, var(--mint), #fff 46%) }
.plan.monthly { background: linear-gradient(180deg, var(--sky), #fff 46%) }
.plan.rec { border: 3px solid var(--coral); background: linear-gradient(180deg, var(--blush), #fff 40%); box-shadow: var(--sh-2); transform: translateY(-10px) }
.plan.rec .price { color: var(--coral-t) }
.ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg); display: inline-flex; align-items: center; gap: 6px; padding: 4px 22px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 16px; box-shadow: 0 8px 16px -8px rgba(160, 110, 0, .8); white-space: nowrap }
.ribbon img { width: 22px }
.plan .stk.s1 { width: 54px; top: -16px; right: 14px; transform: rotate(12deg) }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px }
.point { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; line-height: 1.6 }
.point img { width: 40px; flex: none }
.faq { margin-top: 10px }
.faq details { background: #fff; border-radius: 20px; border: 1.5px solid var(--line); padding: 4px 20px; margin-top: 12px }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 900; font-size: 17px; list-style: none; display: flex; gap: 10px; align-items: center }
.faq summary::before { content: "Q"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-s); color: var(--coral-t); font-size: 15px }
.faq details > div { padding: 0 0 14px 40px; color: var(--ink-2) }

/* ---- 確認・支払い・ありがとう ---- */
.page-title { margin: 34px 0 6px; font-size: clamp(26px, 3.4vw, 34px); display: flex; align-items: center; gap: 12px }
.page-title img { width: 46px }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line) }
.spec dt, .spec dd { padding: 12px 16px; border-bottom: 1.5px solid var(--line) }
.spec dt { background: var(--butter); font-weight: 900; font-size: 15px; color: var(--ink-2) }
.spec dd { background: #fff; font-weight: 700 }
.spec dt:nth-last-of-type(1), .spec dd:last-of-type { border-bottom: 0 }
.spec dd b { color: var(--coral-t) }
.paybox { border: 3px dashed var(--blue); background: var(--sky) }
.steps { counter-reset: s; list-style: none; display: grid; gap: 12px; margin-top: 14px; text-align: left }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--cream-2); font-weight: 700 }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf-d); color: #fff; font-weight: 900 }
.lic-no { display: inline-block; margin: 6px 0; padding: 6px 18px; border-radius: 14px; background: var(--butter); font-size: 22px; font-weight: 900; letter-spacing: .08em; font-variant-numeric: tabular-nums }

/* ---- マイページ ---- */
.me-head { display: flex; align-items: center; gap: 16px; margin: 30px 0 18px }
.me-head img { width: 64px }
.me-head h1 { font-size: clamp(24px, 3vw, 30px) }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.grid2 .card + .card { margin-top: 0 }
.dev-list { list-style: none; display: grid; gap: 10px; margin-top: 10px }
.dev-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--cream-2) }
.dev-list .dev-name { font-weight: 900 }
.dev-list .dev-sub { color: var(--ink-3); font-size: 13.5px }
.dev-list .btn { margin-left: auto }
.slots { display: flex; gap: 8px; margin: 6px 0 2px }
.slots i { width: 34px; height: 12px; border-radius: 999px; background: var(--line) }
.slots i.on { background: var(--leaf) }
.token { width: 100%; min-height: 96px; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--cream-2); font: 600 12.5px/1.5 ui-monospace, Consolas, monospace; word-break: break-all; resize: vertical }

/* ---- アプリの見本 ---- */
.phone { max-width: 420px; margin: 26px auto 0; padding: 22px 20px 26px; border-radius: 40px; background: #fff; border: 10px solid #EFE6D6; box-shadow: var(--sh-2) }
.phone .app-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line) }
.phone .app-top img { height: 30px; width: auto }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin-top: 10px; font-size: 15.5px }
.kv dt { color: var(--ink-3); font-weight: 700 }
.kv dd { font-weight: 900 }

/* ---- 送ったメール（この PC の中だけ） ---- */
.mail { padding: 14px 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); margin-top: 12px }
.mail h3 { font-size: 16.5px }
.mail pre { margin: 8px 0 0; white-space: pre-wrap; font: 500 15px/1.75 var(--font) }
.mail .big { font-size: 26px; font-weight: 900; letter-spacing: .3em; color: var(--coral-t) }

/* ---- 管理者画面 ---- */
body.adm-body { font-size: 15.5px; line-height: 1.75 }
.adm { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh }
.side { position: sticky; top: 0; height: 100vh; overflow: auto; padding: 18px 14px 24px; background: linear-gradient(180deg, #fff, var(--cream-2)); border-right: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 6px }
.side .brand { padding: 4px 8px 12px }
.side .brand img { height: 28px }
.side .brand span { font-size: 13px; color: var(--ink-2) }
.tabs { display: grid; gap: 4px }
.tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 16px; background: transparent; color: var(--ink); font: 700 15.5px/1.4 var(--font); text-align: left; cursor: pointer }
.tab img { width: 30px; height: 30px; object-fit: contain }
.tab .n { margin-left: auto; min-width: 24px; padding: 0 7px; border-radius: 999px; background: var(--coral-b); color: #fff; font-size: 12.5px; text-align: center }
.tab:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line) }
.tab[aria-selected="true"] { background: var(--coral-b); color: #fff; box-shadow: 0 10px 18px -12px rgba(210, 67, 44, .9) }
.side .pal { margin-top: auto; text-align: center; color: var(--ink-3); font-size: 12.5px }
.side .pal img { width: 86px; margin: 0 auto 4px }
.main { padding: 22px clamp(16px, 3vw, 34px) 60px; min-width: 0 }
.main-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px }
.main-head h1 { font-size: 26px; display: flex; align-items: center; gap: 10px }
.main-head h1 img { width: 40px }
.main-head .desc { flex-basis: 100%; color: var(--ink-2) }
.demo-tag { padding: 2px 12px; border-radius: 999px; background: var(--sun-s); border: 1.5px dashed var(--sun); color: #7A5600; font-weight: 900; font-size: 13px }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.tile { position: relative; overflow: hidden; padding: 16px 18px 14px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-1) }
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c, var(--coral)) }
.tile .lab { color: var(--ink-2); font-weight: 700; font-size: 14px }
.tile .val { font-size: 34px; font-weight: 900; line-height: 1.25; margin-top: 2px }
.tile .val small { font-size: 15px; margin-left: 2px; color: var(--ink-2) }
.tile .sub { color: var(--ink-3); font-size: 13.5px }
.delta { display: inline-flex; gap: 4px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 900 }
.delta.up { background: #E2F4E2; color: var(--good) }
.delta.down { background: #FBE4E2; color: var(--crit) }
.delta.flat { background: #F1ECE4; color: var(--ink-3) }
.row2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; margin-top: 16px }
.box { position: relative; padding: 18px 20px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-1); min-width: 0 }
.box + .box { margin-top: 16px }
.row2 .box + .box { margin-top: 0 }
.box h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px }
.box h2 img { width: 28px }
.box .hint { color: var(--ink-3); font-size: 13.5px; margin-bottom: 8px }
.todo { list-style: none; display: grid; gap: 8px }
.todo li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--cream-2) }
.todo li img { width: 34px; flex: none }
.todo li b { color: var(--coral-t) }
.todo li .btn { margin-left: auto }
.todo li.calm { background: var(--leaf-s) }
.chart { position: relative; width: 100% }
.chart svg { display: block; width: 100%; height: auto; overflow: visible }
.chart .tip { position: absolute; z-index: 5; pointer-events: none; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line-2); box-shadow: var(--sh-2); font-size: 13.5px; line-height: 1.6; white-space: nowrap }
.chart .tip b { display: block; font-size: 14px }
.chart .tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 700 }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px }
.tbl-wrap { overflow-x: auto; margin-top: 6px; border-radius: 16px; border: 1.5px solid var(--line) }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff }
.tbl th { position: sticky; top: 0; background: var(--butter); text-align: left; font-weight: 900; color: var(--ink-2); padding: 9px 12px; white-space: nowrap }
.tbl td { padding: 9px 12px; border-top: 1.5px solid var(--cream-2); vertical-align: middle }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap }
.tbl td.nw { white-space: nowrap }
.tbl tr:hover td { background: #FFFCF6 }
.tbl tfoot td { background: var(--cream-2); font-weight: 900 }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px }
.toolbar input, .toolbar select { min-height: 44px; padding: 6px 14px; border: 2px solid var(--line-2); border-radius: 14px; font: 700 15px var(--font); background: #fff; color: var(--ink) }
.toolbar input { min-width: 240px }
.pills { display: flex; flex-wrap: wrap; gap: 6px }
.pill { padding: 6px 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 14px var(--font); color: var(--ink); cursor: pointer }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none }
.fb { display: grid; gap: 12px }
.fb-item { padding: 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line) }
.fb-item.new { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-s) }
.fb-item .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--ink-3); font-size: 13px }
.fb-item p { margin: 8px 0; font-size: 16px; white-space: pre-wrap }
.fb-item .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.fb-item textarea { width: 100%; min-height: 84px; margin-top: 8px; padding: 10px 12px; border: 2px solid var(--line-2); border-radius: 14px; font: 500 15px/1.6 var(--font) }
.kind { padding: 1px 10px; border-radius: 999px; font-weight: 900; font-size: 12.5px }
.kind.trouble { background: var(--coral-s); color: var(--coral-t) }
.kind.wish { background: var(--blue-s); color: var(--blue-d) }
.kind.thanks { background: var(--leaf-s); color: var(--leaf-d) }
.kind.other, .kind.delete { background: var(--violet-s); color: #5B3FA8 }
.bars { display: grid; gap: 8px }
.bars .b { display: grid; grid-template-columns: minmax(120px, 210px) 1fr 64px; gap: 10px; align-items: center; font-size: 14px }
.bars .track { height: 14px; border-radius: 0 4px 4px 0; background: transparent }
.bars .fill { height: 14px; border-radius: 0 4px 4px 0; background: var(--s-web) }
.bars .v { text-align: right; font-weight: 900; font-variant-numeric: tabular-nums }
.empty { text-align: center; color: var(--ink-3); padding: 24px 8px }
.empty img { width: 90px; margin: 0 auto 8px }
.mini { font-size: 13px; color: var(--ink-3) }
.swatch-web { background: var(--s-web) } .swatch-apple { background: var(--s-apple) } .swatch-google { background: var(--s-google) } .swatch-ms { background: var(--s-ms) }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .row2 { grid-template-columns: 1fr }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr }
  .hero-art { min-height: 250px; order: -1 }
  .hero-art .art-mari { height: 240px; right: 30% }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto }
  .plan.rec { order: -1; transform: none; margin-top: 12px }
  .points { grid-template-columns: 1fr 1fr }
  .grid2 { grid-template-columns: 1fr }
  .adm { grid-template-columns: 1fr }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; padding: 8px 10px; border-right: 0; border-bottom: 1.5px solid var(--line); overflow-x: auto }
  .side .brand { padding: 0 6px 0 2px; flex: none }
  .side .brand span, .side .pal { display: none }
  .tabs { display: flex; gap: 4px }
  .tab { flex: none; width: auto; white-space: nowrap; padding: 6px 12px }
  .tab img { width: 24px; height: 24px }
}
@media (max-width: 560px) {
  body { font-size: 16.5px }
  .points { grid-template-columns: 1fr }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px }
  .tile .val { font-size: 26px }
  .spec { grid-template-columns: 1fr }
  .spec dt { border-bottom: 0; padding-bottom: 2px }
  .toolbar input { min-width: 0; width: 100% }
  .bars .b { grid-template-columns: 1fr 52px; }
  .bars .b .name { grid-column: 1 / -1 }
  .brand small { display: none }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important } }
/* 返金のきまり（お店・最後の確認の画面でめだつように） */
.refund { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--coral-s); color: var(--coral-t); font-weight: 700; font-size: 15.5px; line-height: 1.7 }
.plans-note { max-width: 860px; margin: 20px auto 0; text-align: center }

/* the sales site (11/18): a button that waits for the check box, or for the payment page to be ready */
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; cursor: default }
