/* 理容クイック矢巾店 デジタル会員システム 共通スタイル
   会員証の配色は緑が丘店と同じ濃紺×金。 */
:root {
  --theme: #1f6f43;
  --theme-dark: #175734;
  --text: #222;
  --muted: #666;
  --bg: #f4f4f2;
  --panel: #fff;
  --line: #ddd;
  --error: #b3261e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}
.container { max-width: 480px; margin: 0 auto; padding: 16px; }

.shop-header { text-align: center; padding: 20px 0 8px; }
.shop-header .brand { font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.shop-header .title { font-size: 18px; margin-top: 6px; }
.shop-header .store { font-size: 15px; color: var(--muted); margin-top: 2px; }
.no-install { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 20px; }

.panel {
  background: var(--panel);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.question { font-size: 18px; font-weight: 700; text-align: center; margin: 4px 0 16px; }

.choice {
  display: block;
  width: 100%;
  padding: 20px;
  margin: 12px 0;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--theme);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}
.choice.secondary { background: #fff; color: var(--theme); border: 2px solid var(--theme); }

label.field { display: block; font-size: 15px; font-weight: 700; margin: 16px 0 6px; }
input[type="date"] {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.terms {
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 8px;
}
.terms ul { margin: 6px 0; padding-left: 18px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  font-size: 15px;
  cursor: pointer;
}
.consent input { width: 22px; height: 22px; margin: 0; flex: none; }

.btn {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--theme);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.btn:hover { background: var(--theme-dark); }
.btn:disabled { background: #bbb; cursor: not-allowed; }
.btn.sub { background: #fff; color: var(--theme); border: 2px solid var(--theme); }
.error {
  display: none;
  color: var(--error);
  background: #fdecea;
  border: 1px solid #f2c1bd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14.5px;
  margin: 12px 0;
}
.note { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 会員証 */
.member-card {
  background: var(--panel);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.member-card .card-head {
  background: linear-gradient(135deg, #131a29 0%, #22304d 100%);
  color: #fff;
  padding: 10px 16px;
  position: relative;
}
.member-card .card-head .brand { font-size: 19px; font-weight: 700; letter-spacing: .1em; }
.member-card .card-head .store { font-size: 13.5px; margin-top: 0; }
.member-card .card-head .store .en { font-size: 11px; letter-spacing: .18em; color: #c9a86a; margin-left: 8px; }
.senior-label {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #c9a86a;
  color: #131a29;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-body { padding: 18px; }
.benefit-box {
  background: #fbf7ec;
  border-left: 6px solid #c9a86a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}
.benefit-box .b-title { font-size: 16px; font-weight: 700; color: #131a29; }
.benefit-box .b-main { font-size: 22px; font-weight: 700; margin-top: 6px; }
.benefit-box .b-sub { font-size: 16px; color: #333; margin-top: 4px; }

.point-area { text-align: center; padding: 6px 0 2px; }
.point-balance { font-size: 16px; }
.point-balance .num { font-size: 40px; font-weight: 800; }
.point-next { margin-top: 6px; font-size: 17px; }
.point-next .ato { font-size: 13px; vertical-align: top; position: relative; top: 4px; }
.point-next .num { font-size: 30px; font-weight: 800; }
.point-next .pt { font-size: 13px; vertical-align: bottom; position: relative; bottom: 2px; }
.point-next .de { font-size: 19px; font-weight: 700; margin-left: 6px; }

.discount-row { margin-top: 20px; text-align: center; }
.discount-amount { font-size: 19px; font-weight: 700; }
.discount-row .btn { margin-top: 10px; }
.point-note { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.7; margin-top: 10px; }

.member-no { margin-top: 20px; text-align: center; font-size: 15px; color: var(--muted); }
.validity-row { margin-top: 14px; text-align: center; font-size: 17px; font-weight: 700; color: var(--text); }
.expired-note { margin: 12px auto 0; max-width: 420px; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.7; color: #b3261e; background: #fdecea; border: 1px solid #f2b8b5; border-radius: 10px; padding: 10px 12px; }
.protected-note { margin-top: 8px; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--text); }
.member-no span { display: inline-block; margin-top: 4px; font-size: 48px; font-weight: 800; color: var(--text); letter-spacing: .12em; }
.member-qr { margin-top: 14px; text-align: center; }
.member-qr svg { width: 112px; height: 112px; background: #fff; }
.member-qr-note { margin-top: 6px; font-size: 14px; color: var(--muted); }

.center { text-align: center; }
.big { font-size: 20px; font-weight: 700; }
.done-mark { font-size: 44px; color: var(--theme); }
.hidden { display: none !important; }
