/* 理容クイック緑が丘店 デジタル会員システム 共通スタイル
   配色は仮のもの。画面構成・表示順・文言はマスタープロンプト v1.1 に従う。 */
: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: var(--theme);
  color: #fff;
  padding: 16px 18px;
  position: relative;
}
.member-card .card-head .brand { font-size: 21px; font-weight: 700; letter-spacing: .06em; }
.member-card .card-head .store { font-size: 15px; margin-top: 2px; }
.member-card .card-head .store .en { font-size: 11.5px; letter-spacing: .18em; opacity: .85; margin-left: 8px; }
.senior-label {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--theme-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-body { padding: 18px; }
.benefit-box {
  background: #eef6f1;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.benefit-box .b-title { font-size: 14px; font-weight: 700; color: var(--theme-dark); }
.benefit-box .b-main { font-size: 17px; font-weight: 700; margin-top: 4px; }
.benefit-box .b-sub { font-size: 13.5px; color: #444; margin-top: 2px; }

.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; }

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