/* 納品テンプレートの部品をベースに、モデラート用の画面配置を追加。 */
:root { --line: #856522; --line-dark: #614918; --bg: #fcf9f5; --soft-green: #faf0ed; --ink: #414348; --sub: #737071; --border: #eadfda; --border-strong: #c9bcb5; }
.hero__visual { background: linear-gradient(140deg, #43786d, #275347); }
.phone { width: min(100%, 600px); }
.page-content { padding: 24px 20px 48px; }
h1 { font-size: 24px; line-height: 1.6; margin-top: 0; }
h2 { font-size: 19px; } p,small { line-height: 1.9; } small { display: block; color: var(--sub); }
fieldset { border: 0; margin: 24px 0; padding: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; font-weight: 600; }
input,select,textarea { font: inherit; color: var(--ink); background: white; border: 1px solid var(--border-strong); border-radius: 8px; padding: 12px; min-width: 0; width: 100%; }
input[type=radio],input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--line); }
.check { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.menu-choice { display: flex; align-items: start; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: white; }
.menu-choice strong,.menu-choice span span { display: block; margin-bottom: 8px; }
.menu-choice:has(input:checked) { border: 2px solid var(--line); padding: 15px; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-button { padding: 12px 18px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--line-dark); }
.slot-button[aria-pressed=true] { background: var(--line); color: white; }
.primary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 48px; padding: 12px 18px; width: 100%; border-radius: 8px; background: var(--line); color: white; font-weight: 700; }
.primary:disabled,[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.secondary { padding: 12px 16px; border-radius: 8px; background: #e5ede9; color: #234d43; }
.notice { padding: 14px; border-radius: 8px; white-space: normal; line-height: 1.8; }
.policy { padding: 16px; border: 1px solid var(--border); background: #fafbf9; }
.confirmation { max-width: min(480px, 90vw); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.confirmation::backdrop { background: #10292188; }
:focus-visible { outline: 3px solid #bd782c; outline-offset: 3px; }
.admin-shell { max-width: 1000px; margin: auto; padding: 24px 16px; }
.admin-shell header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.panel,.reservation-card { background: white; padding: 20px; border: 1px solid var(--border); border-radius: 12px; margin: 16px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tabs button { padding: 12px 16px; background: white; border: 1px solid var(--border-strong); border-radius: 8px; }
.tabs button[aria-selected=true] { background: var(--line); color: white; }
.row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.row > .field { flex: 1; min-width: 130px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.actions button { padding: 12px; border-radius: 6px; background: var(--soft-green); color: var(--line-dark); }
.warning { color: #973d26; background: #fff3e8; padding: 12px; line-height: 1.7; }
.badge { display: inline-block; padding: 4px 12px; background: #edf1ed; border-radius: 20px; font-size: 14px; }
.date-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.date-row input { width: auto; flex: 1; min-width: 115px; }
.date-row button { padding: 10px; background: #f8e8e4; color: #7c3328; border-radius: 6px; }
.landing { max-width: 800px; margin: auto; padding: 32px 20px 60px; }
.landing .hero { margin-bottom: 28px; }
.landing .hero__visual { min-height: 240px; padding: 32px; }
.landing .hero h1 { max-width: none; font-size: clamp(26px,5vw,38px); }
.landing section { margin: 24px 0; }
@media(max-width:480px) { .panel,.reservation-card { padding: 16px; } .admin-shell { padding: 16px 10px; } .date-row input[type=date] { flex-basis: 100%; } }

/* 公式LINEの既存ロゴに合わせた配色 */
.topbar { background: #fff; border-bottom: 1px solid var(--border); }
.brand-logo { width: 100px; height: 100px; object-fit: contain; flex-shrink: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.topbar__title { color: var(--ink); }
.topbar__title span { color: var(--sub); }
.landing .hero__visual { background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: 20px; text-align: center; }
.landing .hero__visual::before,.landing .hero__visual::after { display:none; }
.landing .brand-logo { width: 200px; height: 200px; margin: 0 auto 12px; }
.hero__tag { color: var(--line-dark); background: #fff5cf; }
.notice { background: #faf0ed; color: var(--ink); }
.secondary { background: #f5e9e6; color: #614c48; }
.policy { background: #fffdfa; }
.menu-choice:has(input:checked) { background: #fffdf5; }
.menu-choice small { font-size: 13px; }
.badge { background: #fff3cf; color: #614918; }
@media(max-width:480px) { .brand-logo { width: 76px; height: 76px; } .topbar { padding: 8px 16px; } }

.topbar { height: auto; min-height: 100px; position: relative; justify-content: flex-start; }
.topbar__title { flex: 1; }

/* 登録メニューは1件ごとの独立したカードとして表示する。 */
#menuSettings { background: #f7f4f0; }
#menuFields { display: grid; gap: 20px; margin: 20px 0; }
.menu-record { background: #fff; border: 1px solid #c9bcb5; border-radius: 12px; padding: 20px; box-shadow: 0 2px 5px #4143480a; }
.menu-record summary { cursor: pointer; list-style: none; display: grid; gap: 10px; }
.menu-record summary::-webkit-details-marker { display: none; }
.menu-record summary strong { font-size: 18px; }
.menu-record__price { color: var(--sub); font-size: 14px; }
.menu-record__edit { color: var(--line-dark); text-decoration: underline; font-size: 14px; }
.menu-record[open] summary { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 20px; }
@media(max-width:480px) { .menu-record { padding: 16px; } }

.menu-record__times { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.menu-record input[readonly] { background: #eeece9; color: #666; border-color: #d6d1cc; cursor: default; }
