/* ブランドの色と、公開誌面・入力画面で共用する部品。写真を業務フォームへ持ち込まない。 */
:root { --wedio-paper:#faf7ef; --wedio-white:#fffef9; --wedio-ink:#292927; --wedio-muted:#625b54; --wedio-rule:#ddcfb9; --wedio-accent:#654a4b; --wedio-gold:#ad8a57; }
body[data-wedio-surface="public"] .bridal-masthead { position:relative; isolation:isolate; overflow:hidden; background:var(--wedio-paper); border-bottom:1px solid var(--wedio-rule); padding-block:2rem; }
.bridal-masthead::before { content:""; position:absolute; inset:0 0 0 auto; width:min(42%,32rem); background:url("editorial/bridal-decoration-weddingwish.webp") center/cover; opacity:.27; mask-image:linear-gradient(90deg,transparent,#000 55%); pointer-events:none; z-index:-1; }
.bridal-masthead>.wrap { position:relative; }
body[data-wedio-surface="public"] .bridal-masthead h1 { max-width:23em; margin:.75rem 0; font-size:clamp(1.75rem,3.5vw,2.75rem); font-weight:500; line-height:1.5; letter-spacing:.01em; overflow-wrap:anywhere; }
.bridal-masthead h1::before { content:""; display:block; width:2.5rem; height:1px; background:var(--wedio-gold); margin-bottom:1rem; }
.bridal-masthead p { position:relative; max-width:44rem; }
.bridal-masthead[data-bridal-tone="quiet"]::before { width:8rem; right:2rem; background:url("bridal-sprig.svg") center/contain no-repeat; mask-image:none; opacity:.35; }
.bridal-photo { position:relative; overflow:hidden; border-radius:4px 2.5rem 4px 4px; }
.bridal-photo::after { content:""; position:absolute; inset:.75rem; border:1px solid #fff8; border-radius:2px 1.75rem 2px 2px; pointer-events:none; }
.bridal-panel { background:var(--wedio-white); border:1px solid var(--wedio-rule); border-radius:4px 1.5rem 4px 4px; }
/* エラーからの復帰も通常の読みものと同じ画像を使い、長い題名を押し潰さない。 */
.recovery-reading { list-style:none; padding:0; margin:0; display:grid; gap:1.5rem; }
.recovery-reading-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); align-items:center; gap:1.25rem; color:var(--wedio-ink); text-decoration:none; padding-bottom:1.5rem; border-bottom:1px solid var(--wedio-rule); }
.recovery-reading-photo { position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:4px 1.25rem 4px 4px; }
.recovery-reading-copy { min-width:0; overflow-wrap:anywhere; }
.recovery-reading-copy strong { display:block; font-size:1rem; line-height:1.8; font-weight:600; }
.recovery-reading-copy p { color:var(--wedio-muted); font-size:.875rem; line-height:1.9; margin:.5rem 0; }
.recovery-reading-copy span { display:inline-block; padding-block:.5rem; color:var(--wedio-accent); font-size:.875rem; text-decoration:underline; text-underline-offset:.25em; }
.recovery-reading-card:focus-visible { outline:2px solid var(--wedio-accent); outline-offset:4px; }
@media(max-width:29.99rem) { .recovery-reading-card { grid-template-columns:minmax(0,1fr); gap:.875rem; } .recovery-reading-photo { aspect-ratio:16/9; } }
body[data-wedio-surface="public"] .section-head .h-section::before { content:""; display:block; width:2.5rem; height:1px; background:var(--wedio-gold); margin-bottom:.75rem; }
/* 認証は公開誌面と同じロゴ・紙色。フォームの中へ装飾を重ねない。 */
body[data-wedio-surface="auth"] { margin:0; min-height:100svh; display:grid; place-items:center; padding:2rem 1rem; color:var(--wedio-ink); background:var(--wedio-paper); font:400 1rem/1.8 "Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif; }
body[data-wedio-surface="auth"]::before { content:""; position:fixed; inset:0 auto 0 0; width:45vw; background:url("editorial/bridal-decoration-weddingwish.webp") center/cover; opacity:.14; mask-image:linear-gradient(90deg,#000,transparent); pointer-events:none; }
body[data-wedio-surface="auth"] *,body[data-wedio-surface="auth"] *::before,body[data-wedio-surface="auth"] *::after { box-sizing:border-box; }
body[data-wedio-surface="auth"] .box { position:relative; width:100%; max-width:28rem; min-width:0; background:var(--wedio-white); border:1px solid var(--wedio-rule); border-top:2px solid var(--wedio-gold); border-radius:4px 2rem 4px 4px; padding:clamp(1.5rem,6vw,2rem); overflow-wrap:anywhere; box-shadow:none; }
body[data-wedio-surface="auth"] .brand { display:flex; align-items:center; margin:0 0 1rem; }
body[data-wedio-surface="auth"] .brand img { display:block; width:8rem; height:auto; }
body[data-wedio-surface="auth"] h2 { font-size:1.25rem; line-height:1.5; margin:1.5rem 0 .75rem; }
body[data-wedio-surface="auth"] .sub { font-size:.9375rem; color:var(--wedio-muted); margin:0 0 1.5rem; }
body[data-wedio-surface="auth"] label { display:block; margin:1rem 0 .5rem; font-size:.875rem; font-weight:500; }
body[data-wedio-surface="auth"] input:is([type=text],[type=email],[type=password]) { min-width:0; width:100%; min-height:3rem; padding:.75rem; border:1px solid #a59a88; border-radius:4px; font:inherit; background:white; }
body[data-wedio-surface="auth"] :is(button,.btn) { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:3rem; padding:.75rem 1rem; margin-top:1.5rem; background:var(--wedio-accent); color:white; border:1px solid var(--wedio-accent); border-radius:4px; font-family:inherit; font-size:.9375rem; font-weight:500; line-height:1.6; text-decoration:none; cursor:pointer; }
body[data-wedio-surface="auth"] .btn.ghost { color:var(--wedio-ink); background:white; border-color:var(--wedio-rule); }
body[data-wedio-surface="auth"] :is(input,button,a):focus-visible { outline:2px solid var(--wedio-accent); outline-offset:3px; }
body[data-wedio-surface="auth"] :is(.err,.ok) { padding:.75rem 1rem; border:1px solid currentColor; border-radius:4px; font-size:.875rem; margin-bottom:1rem; }
body[data-wedio-surface="auth"] .err { color:#8a322f; background:#fff5f1; } body[data-wedio-surface="auth"] .ok { color:#3f5640; background:#f0f5ec; }
body[data-wedio-surface="auth"] .foot { font-size:.8125rem; margin-top:1.5rem; color:var(--wedio-muted); text-align:center; }
body[data-wedio-surface="auth"] .foot a { color:var(--wedio-accent); text-underline-offset:.25em; }
/* 会員・店舗・編集の作業画面は色と書体、見出しだけを揃える。状態色は維持する。 */
body[data-wedio-surface="workspace"] { background:var(--wedio-paper); color:var(--wedio-ink); --ink:var(--wedio-ink); --mut:var(--wedio-muted); --line:var(--wedio-rule); --bg:var(--wedio-paper); --accent:var(--wedio-accent); --accent-deep:#4d3839; --accent-pale:#f5ebe5; --surface-2:#faf7ef; }
body[data-wedio-surface="workspace"] :is(.ac-brand,.pp-brand,.adm-side .brand) { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; font-size:.8125rem; color:var(--wedio-muted); }
.workspace-logo { width:6rem; height:auto; display:block; }
body[data-wedio-surface="workspace"] :is(.page-head,.pp-head,.adm-head) { border-bottom:1px solid var(--wedio-rule); }
body[data-wedio-surface="workspace"] :is(input,select,textarea) { font-size:1rem; }
@media(max-width:47.99rem) { body[data-wedio-surface="public"] .bridal-masthead { padding-block:1.25rem; } .bridal-masthead::before { width:55%; opacity:.16; } .bridal-masthead[data-bridal-tone="quiet"]::before { width:4.5rem; right:1rem; } .bridal-masthead h1::before { margin-bottom:.75rem; } .bridal-photo { border-top-right-radius:1.5rem; } .bridal-photo::after { inset:.5rem; border-top-right-radius:1rem; } body[data-wedio-surface="auth"]::before { width:100%; height:14rem; opacity:.12; mask-image:linear-gradient(#000,transparent); } }

/* 実際に使われるFilament CMSも同じ紙色とロゴへ。状態色や認可は変更しない。 */
.fi-body { background:var(--wedio-paper); }
.fi-sidebar { border-inline-end:1px solid var(--wedio-rule); }
.fi-header-heading { color:var(--wedio-ink); }

/* 元の横一列ナビはロゴ幅の増加でスマホからはみ出すため、操作を行単位で折り返す。 */
@media(max-width:47.99rem) { body[data-wedio-surface="workspace"] .ac-nav { flex-wrap:wrap; padding:12px; gap:8px 4px; } body[data-wedio-surface="workspace"] .ac-brand { flex-basis:100%; margin-right:0; } body[data-wedio-surface="workspace"] .ac-nav .nav-item { padding:7px 8px; } body[data-wedio-surface="workspace"] .ac-nav .right { margin-left:0; flex-wrap:wrap; } }
