/* 昭和動物病院 予約表  —  配色・書体は showavet.com に合わせています */
:root {
  --pink: #F69C9E;
  --pink-deep: #E5676D;
  --pink-pale: #FBE3E1;
  --ink: #3B2F27;
  --brown: #7F5021;
  --muted: #8A7A6D;
  --beige: #EADFD2;
  --cream: #FBF6F1;
  --gold: #9E7A12;
  --line: #E6DDD3;
  --gray-bg: #F1EEEB;
  --ng: #6E625A;
  --ok: #3E7B5B;
  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  --num: "Outfit", var(--font);
  --en: "Cormorant Garamond", serif;
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.7; font-size: 16px; }
a { color: var(--pink-deep); }
small, .small { font-size: .82rem; color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- buttons / forms (共通) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 44px; padding: .45em 1.1em; border-radius: 999px; border: 1.5px solid transparent; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn-primary { background: var(--pink-deep); color: #fff; }
.btn-primary:hover { background: #d9575d; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--pink); }
.btn-ng { background: var(--ng); color: #fff; }
.btn-danger { background: #fff; color: #B83A3F; border-color: #E9B6B8; margin-left: auto; }
.btn-small { min-height: 34px; padding: .2em .8em; font-size: .88rem; }
.btn-block { width: 100%; }
label { display: block; font-size: .9rem; font-weight: 500; margin: 0 0 .9rem; }
label em { font-style: normal; font-size: .72rem; color: #fff; background: var(--pink-deep); border-radius: 4px; padding: 0 .4em; margin-left: .3em; }
label.check { display: flex; align-items: center; gap: .5em; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=date], input[type=time], input[type=number], select, textarea {
  display: block; width: 100%; margin-top: .25rem; padding: .55em .7em; min-height: 44px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(246,156,158,.25); }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--pink-deep); }
form.inline { display: inline; }

/* =========================================================
   公開画面
   ========================================================= */
.pub { background: var(--cream); }
.pub-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: rgba(246,156,158,.92); }
.pub-logo { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.pub-logo img { height: 40px; width: auto; }
.pub-logo .kana { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.pub-logo .roma { display: block; font-family: var(--num); font-size: .7rem; letter-spacing: .08em; }
.pub-tel-mini { font-family: var(--num); font-weight: 500; color: var(--ink); background: #fff; border-radius: 5px; padding: .25em .7em; text-decoration: none; white-space: nowrap; }
.pub-main { max-width: 880px; margin: 0 auto; padding: 1.2rem 1rem 2.5rem; }

.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; background: #fff; padding: .35rem; border-radius: 999px; border: 1px solid var(--line); max-width: 420px; margin: 0 auto 1.2rem; }
.type-switch a { text-align: center; padding: .55em 0; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.type-switch a.on { background: var(--pink-deep); color: #fff; }

.pub-title { text-align: center; font-size: 1.5rem; font-weight: 500; margin: 0 0 1rem; line-height: 1.4; }
.pub-title .en { display: block; font-family: var(--en); font-size: 1rem; letter-spacing: .15em; color: var(--pink-deep); text-transform: uppercase; }

.notice { background: #fff; border: 2px solid var(--pink); border-radius: var(--radius); padding: .9rem 1rem; margin: 0 0 1rem; font-size: .95rem; }

.tel-btn { display: flex; flex-direction: column; align-items: center; background: var(--pink-deep); color: #fff; text-decoration: none; border-radius: 14px; padding: .8rem 1rem; margin: 0 auto 1.4rem; max-width: 420px; box-shadow: 0 3px 0 #c9545a; }
.tel-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9545a; }
.tel-btn__label { font-size: .9rem; font-weight: 600; }
.tel-btn__label::before { content: "☎ "; }
.tel-btn__num { font-family: var(--num); font-size: 1.9rem; font-weight: 600; letter-spacing: .04em; line-height: 1.2; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.wn-btn { padding: .45em .9em; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.wn-btn.off { opacity: .35; }
.wn-range { font-weight: 600; font-size: .95rem; text-align: center; }

.table-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.avail { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--num); }
.avail th, .avail td { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; padding: 0; height: 40px; }
.avail thead th { background: var(--beige); font-weight: 500; line-height: 1.15; padding: .35rem 0; height: auto; }
.avail thead th .md { display: block; font-size: .95rem; }
.avail thead th .wd { display: block; font-size: .75rem; font-family: var(--font); }
.avail thead th.sat { color: #3A6EA5; }
.avail thead th.sun { color: var(--pink-deep); }
.avail thead th.today { background: var(--pink); color: #fff; }
.avail .tcol { width: 56px; border-left: 0; font-size: .85rem; font-weight: 500; background: var(--cream); }
.avail td { font-size: 1.15rem; font-weight: 600; }
.avail td.st-open { color: var(--pink-deep); }
.avail td.st-few { color: var(--gold); background: #FFF8E6; }
.avail td.st-full { color: #A69A90; background: var(--gray-bg); }
.avail td.st-past, .avail td.none { color: #C9C0B8; font-weight: 400; background: #FAF8F6; }
.avail td.closed { background: var(--gray-bg); color: var(--muted); font-size: .8rem; font-family: var(--font); font-weight: 400; writing-mode: vertical-rl; letter-spacing: .3em; }
.avail td.closed span { display: inline-block; }
.avail td.empty { padding: 2rem; font-family: var(--font); font-size: .95rem; color: var(--muted); font-weight: 400; }
.avail tbody tr:last-child > * { border-bottom: 0; }

.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; padding: 0; margin: .8rem 0 .3rem; font-size: .88rem; }
.legend span { font-family: var(--num); font-weight: 600; margin-right: .3em; }
.legend .st-open { color: var(--pink-deep); } .legend .st-few { color: var(--gold); } .legend .st-full { color: #A69A90; } .legend .st-past { color: #C9C0B8; }

.hours { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1rem 1.2rem; margin-top: 1.4rem; }
.hours h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; padding-left: .6rem; border-left: 4px solid var(--pink); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0; font-size: .95rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-family: var(--num); }

.other-link { display: block; text-align: center; margin: 1.4rem auto 0; padding: .8rem; max-width: 420px; background: #fff; border: 1.5px solid var(--pink); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--pink-deep); }

.pub-footer { background: #F38083; color: #fff; text-align: center; padding: 1.4rem 1rem 1.8rem; }
.pub-footer .name { font-weight: 600; font-size: 1.05rem; }
.pub-footer a { color: #fff; display: block; }
.pub-footer .ftel { font-family: var(--num); font-size: 1.2rem; text-decoration: none; margin: .2rem 0 .5rem; }
.pub-footer .fhome { font-size: .85rem; }

@media (max-width: 520px) {
  .pub-logo img { height: 32px; }
  .pub-logo .kana { font-size: .95rem; }
  .pub-tel-mini { display: none; }
  .avail .tcol { width: 46px; font-size: .78rem; }
  .avail thead th .md { font-size: .82rem; }
  .avail td { font-size: 1rem; height: 38px; }
  .pub-title { font-size: 1.3rem; }
}

/* =========================================================
   管理画面
   ========================================================= */
.adm { background: var(--cream); }
.adm-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .5rem 1rem; background: var(--pink); }
.adm-brand { font-weight: 600; }
.adm-brand small { color: var(--ink); background: #fff; border-radius: 4px; padding: 0 .5em; margin-left: .5em; font-size: .75rem; }
.adm-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.adm-nav a { color: var(--ink); text-decoration: none; padding: .35em .9em; border-radius: 5px; background: rgba(255,255,255,.6); font-size: .92rem; }
.adm-nav a.on { background: #fff; font-weight: 600; }
.adm-nav a.logout { background: transparent; font-size: .85rem; }
.adm-main { max-width: 1100px; margin: 0 auto; padding: 1rem 1rem 3rem; }

.flash { border-radius: var(--radius); padding: .7rem 1rem; margin: 0 0 1rem; font-size: .95rem; transition: opacity .6s; }
.flash-ok { background: #E7F3EC; color: var(--ok); border: 1px solid #BFDCCB; }
.flash-warn { background: #FFF5DC; color: #7A5A00; border: 1px solid #EBD69A; }
.flash-err { background: #FCE8E8; color: #A3262B; border: 1px solid #EDB9BB; }
.flash.fade { opacity: .35; }

.login-box { max-width: 380px; margin: 3rem auto; background: #fff; border-radius: 14px; padding: 1.6rem; border: 1px solid var(--line); }
.login-box h1 { font-size: 1.3rem; margin: 0 0 1rem; text-align: center; font-weight: 600; }

.day-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.type-tabs { display: inline-flex; gap: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .25rem; margin-bottom: .6rem; }
.type-tabs a { padding: .45em 1.3em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.type-tabs a.tab-shinryo.on { background: var(--pink-deep); color: #fff; }
.type-tabs a.tab-trimming.on { background: var(--brown); color: #fff; }
.date-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.date-nav input[type=date] { width: auto; margin: 0; font-family: var(--num); }

.strip { display: grid; grid-template-columns: repeat(14, minmax(52px, 1fr)); gap: 4px; overflow-x: auto; margin-bottom: 1rem; padding-bottom: 4px; }
.strip-day { display: flex; flex-direction: column; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .25rem 0; text-decoration: none; color: var(--ink); line-height: 1.25; font-family: var(--num); }
.strip-day .md { font-size: .85rem; font-weight: 500; }
.strip-day .wd { font-size: .7rem; font-family: var(--font); }
.strip-day .n { font-size: .72rem; color: var(--pink-deep); font-family: var(--font); }
.strip-day.sat .wd { color: #3A6EA5; } .strip-day.sun .wd { color: var(--pink-deep); }
.strip-day.today { border-color: var(--pink); }
.strip-day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.strip-day.on .wd, .strip-day.on .n { color: #fff; }

.day-title { font-size: 1.3rem; font-weight: 600; margin: 0 0 .6rem; }
.day-title small { font-weight: 400; margin-left: .4rem; }
.tt-shinryo, .tt-trimming { display: inline-block; font-size: .78rem; font-weight: 600; color: #fff; border-radius: 4px; padding: 0 .5em; vertical-align: middle; }
.tt-shinryo { background: var(--pink-deep); } .tt-trimming { background: var(--brown); }
.holiday-banner { background: var(--gray-bg); border-left: 5px solid var(--muted); border-radius: 6px; padding: .7rem 1rem; margin-bottom: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.empty-day { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

.slots { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.slots th, .slots td { border-bottom: 1px solid var(--line); padding: .45rem .6rem; vertical-align: middle; text-align: left; }
.slots thead th { background: var(--beige); font-size: .85rem; font-weight: 600; }
.slots tbody tr:last-child > * { border-bottom: 0; }
.slots .c-time { width: 70px; font-family: var(--num); font-size: 1.1rem; font-weight: 500; }
.slots .c-cnt { width: 64px; }
.slots .c-act { width: 150px; text-align: right; white-space: nowrap; }
.slots .c-act .btn + .btn { margin-left: .25rem; }
.slots tr.row-past { background: #FAF8F6; }
.slots tr.row-past .c-time { color: var(--muted); }
.slots tr.out-hours .c-time::after { content: "時間外"; display: block; font-size: .65rem; color: #A3262B; font-family: var(--font); }
.cnt { display: inline-block; min-width: 46px; text-align: center; border-radius: 999px; font-family: var(--num); font-size: .85rem; font-weight: 600; padding: .1em .4em; }
.cnt-zero { background: #F3F0ED; color: var(--muted); }
.cnt-some { background: var(--pink-pale); color: var(--pink-deep); }
.cnt-full { background: var(--pink-deep); color: #fff; }
.cnt-ng { background: var(--ng); color: #fff; }
.c-items { display: flex; flex-wrap: wrap; gap: .35rem; }
.slots td.c-items { display: table-cell; }
.chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .1em .5em; border-radius: 8px; padding: .3em .7em; font-size: .92rem; margin: .15rem .3rem .15rem 0; text-align: left; line-height: 1.4; }
.chip-booking { background: var(--pink-pale); border: 1.5px solid #F4C3C4; cursor: pointer; }
.chip-booking:hover { border-color: var(--pink-deep); }
.chip-booking strong { font-weight: 600; }
.chip-booking .menu { color: var(--brown); font-size: .82rem; }
.chip-booking .dur, .chip-booking .src { font-size: .75rem; color: var(--muted); font-family: var(--num); }
.chip-booking .src { background: #fff; border-radius: 4px; padding: 0 .4em; }
.chip-cont { background: #F6F1EC; color: var(--muted); font-size: .82rem; }
.chip-ng { background: var(--ng); color: #fff; font-size: .85rem; }
.chip-ng small { color: #E3DCD6; }
.chip-ng .x { background: rgba(255,255,255,.2); color: #fff; border: 0; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; margin-left: .3em; line-height: 1; }
.day-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cancelled { margin-top: 1.2rem; background: #fff; border-radius: var(--radius); padding: .6rem 1rem; border: 1px solid var(--line); }
.cancelled summary { cursor: pointer; color: var(--muted); }
.cancelled li { margin: .3rem 0; color: var(--muted); }

.dlg { border: 0; border-radius: 16px; padding: 1.3rem 1.4rem; width: min(560px, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); overflow: auto; box-shadow: 0 10px 40px rgba(59,47,39,.25); color: var(--ink); }
.dlg::backdrop { background: rgba(59,47,39,.45); }
.dlg-title { font-size: 1.15rem; font-weight: 600; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.dlg-title small { font-size: .78rem; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 .8rem; }

.page-title { font-size: 1.35rem; font-weight: 600; margin: 0 0 .8rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.sub { font-size: 1.02rem; font-weight: 600; margin: .4rem 0 .4rem; padding-left: .6rem; border-left: 4px solid var(--pink); }
.hours-edit { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; }
.hours-edit th, .hours-edit td { padding: .3rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.hours-edit thead th { font-size: .8rem; color: var(--muted); font-weight: 500; }
.hours-edit tbody th { width: 40px; font-size: 1.05rem; }
.hours-edit tr.sat th { color: #3A6EA5; } .hours-edit tr.sun th { color: var(--pink-deep); }
.hours-edit .range { white-space: nowrap; }
.hours-edit .range input { display: inline-block; width: 8.4em; margin: 0; font-family: var(--num); }
.hours-edit input:disabled { background: var(--gray-bg); color: #bbb; }
.form-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.row-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .2rem .8rem; }
.row-form label { margin-bottom: .6rem; flex: 1 1 180px; }
.row-form label.check { flex: 0 0 auto; }
.row-form .btn { margin-bottom: .6rem; }
.row-form .range { display: flex; align-items: center; gap: .3rem; }
.row-form .range input { flex: 1; }
.list { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.list th, .list td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.list thead th { background: var(--beige); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.list td.r { text-align: right; }
.list td.empty { text-align: center; color: var(--muted); padding: 1.5rem; }
.list tr.is-cancelled td { color: #B5AAA1; text-decoration: line-through; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

@media (max-width: 640px) {
  .adm-main { padding: .8rem .6rem 3rem; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .slots .c-act { width: auto; }
  .slots .c-act .btn { display: flex; width: 100%; margin: 0 0 .25rem !important; }
  .slots .c-cnt { width: 52px; padding-left: 0; padding-right: 0; text-align: center; }
  .slots .c-time { width: 56px; font-size: 1rem; }
  .slots thead { display: none; }
  .day-title small { display: block; margin: 0; }
  .hours-edit .range input { width: 6.4em; }
  .hours-edit thead { display: none; }
  .hours-edit tbody tr { display: grid; grid-template-columns: 40px 30px 1fr; }
  .hours-edit tbody td.range:last-child { grid-column: 3; }
}

/* 印刷（その日の予約表） */
@media print {
  .adm-header, .strip, .date-nav, .type-tabs, .no-print, .flash, dialog { display: none !important; }
  body, .adm { background: #fff; }
  .slots { border-color: #999; }
  .slots th, .slots td { border-color: #bbb; padding: .25rem .4rem; }
  .chip-booking { border-color: #999; background: #fff; }
}

/* ---------- v2：メール申込・仮予約 ---------- */
.mail-guide { background: #fff; border: 1.5px dashed var(--pink); border-radius: var(--radius); padding: .8rem 1rem; margin: -.6rem auto 1.4rem; max-width: 520px; font-size: .9rem; text-align: center; }
.mail-guide strong { display: block; color: var(--pink-deep); }
.mail-guide .mk { color: var(--pink-deep); font-weight: 700; font-family: var(--num); margin: 0 .1em; }
.avail td.can-req { padding: 0; }
.avail td.can-req a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 40px; color: inherit; text-decoration: none; }
.avail td.can-req a:hover, .avail td.can-req a:focus { background: var(--pink-pale); outline: none; }
.avail td.st-open.can-req a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pub-main.narrow { max-width: 640px; }
.card-pub { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.slot-box { text-align: center; border: 2px solid var(--pink); }
.slot-summary { font-size: 1.25rem; font-weight: 600; margin: .2rem 0; }
.slot-summary .num { font-family: var(--num); }
.slot-summary small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
.req-form fieldset { border: 0; background: #fff; border-radius: 12px; padding: 1rem 1.2rem .4rem; margin: 0 0 1.2rem; border: 1px solid var(--line); }
.req-form legend { font-weight: 600; padding: 0 .4rem; background: var(--pink-deep); color: #fff; border-radius: 5px; font-size: .9rem; }
.req-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: .9rem; }
.field .lbl { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .3rem; }
.field .lbl em { font-style: normal; font-size: .72rem; color: #fff; background: var(--pink-deep); border-radius: 4px; padding: 0 .4em; margin-left: .3em; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.radio { margin: 0; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; cursor: pointer; }
.radio input:checked + span { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(246,156,158,.4); }
.agree { background: #fff; border: 1.5px solid var(--pink); border-radius: var(--radius); padding: .8rem 1rem; }
.btn-lg { min-height: 56px; font-size: 1.1rem; }
.center { text-align: center; }
.flash ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.pend { display: inline-block; background: #F2B33D; color: #3B2F27; font-size: .72rem; font-weight: 700; border-radius: 4px; padding: 0 .45em; }
.chip-booking.is-pending { background: #FFF4D6; border-color: #F2B33D; border-style: dashed; }
.pending-box { background: #FFF4D6; border: 1.5px solid #F2B33D; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .9rem; }
.pending-box label { margin-top: .6rem; }
.pending-box .btn-danger { margin-left: 0; }
.adm-nav a.pending-link { background: #F2B33D; color: var(--ink); font-weight: 600; }
.list tr.is-pending td { background: #FFFAEB; }
.list td.clip { max-width: 260px; font-size: .85rem; color: var(--muted); }
.hours-edit td input[type=text] { margin: 0; }
.cancel-box { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: .9rem; }
.cancel-box > strong { display: block; color: #B83A3F; font-size: .9rem; margin-bottom: .4rem; }
.cancel-box .btn-danger { margin-left: 0; }

/* ---------- v3：予約方法の3択・確認コード・顧客台帳 ---------- */
.choose-lead { text-align: center; font-weight: 600; margin: .4rem 0 .8rem; }
.choices { display: grid; gap: .7rem; margin-bottom: 1rem; }
.choice { position: relative; display: block; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem 1rem 1.1rem; cursor: pointer; line-height: 1.6; }
.choice:hover, .choice:focus-visible { border-color: var(--pink-deep); outline: none; box-shadow: 0 0 0 3px rgba(246,156,158,.3); }
.choice strong { display: block; font-size: 1.08rem; color: var(--ink); }
.choice strong::after { content: " ›"; color: var(--pink-deep); }
.choice span { display: block; font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.cust-edit { display: inline-block; margin-right: .3rem; }
.cust-edit summary { list-style: none; cursor: pointer; }
.cust-edit form { text-align: left; min-width: 260px; margin: .5rem 0 0; }
.cust-edit label { display: block; margin-bottom: .5rem; }
.note-red, .choice .note-red { color: #c62828; font-size: .85rem; font-weight: 600; }
.choice:first-of-type { border-color: var(--pink); background: #FFF8F7; }
.choice .ch-badge { position: absolute; top: -10px; right: 12px; display: inline-block; background: var(--pink-deep); color: #fff; font-size: .72rem; font-weight: 700; padding: 0 .6em; border-radius: 999px; margin: 0; }
.mode-head { text-align: center; font-weight: 700; color: var(--pink-deep); margin: 0 0 .8rem; }
.linklike { background: none; border: 0; color: var(--pink-deep); text-decoration: underline; cursor: pointer; padding: .4rem; font-size: .9rem; }
.me-bar { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; text-align: center; font-size: .9rem; margin-bottom: 1rem; }
.otp-box { text-align: center; }
.otp-input { text-align: center; font-family: var(--num) !important; font-size: 1.8rem !important; letter-spacing: .4em; max-width: 260px; margin: .4rem auto 0 !important; }
.pet-list { display: grid; gap: .5rem; margin-bottom: .8rem; }
.pet-opt { margin: 0; }
.pet-opt input { position: absolute; opacity: 0; }
.pet-opt span { display: block; border: 1.5px solid var(--line); border-radius: 10px; padding: .6rem .9rem; cursor: pointer; background: #fff; }
.pet-opt small { display: block; color: var(--muted); font-weight: 400; }
.pet-opt input:checked + span { border-color: var(--pink-deep); background: var(--pink-pale); }
.pet-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(246,156,158,.4); }
.policy h2 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.policy ul { padding-left: 1.2rem; margin: 0; }
.pub-footer .fhome + .fhome { margin-top: .2rem; }
.tag-member { display: inline-block; font-size: .7rem; background: var(--ok); color: #fff; border-radius: 4px; padding: 0 .4em; }
