@charset "UTF-8";

/*
 * タムカ会員 予約登録フォーム。
 *
 * 見た目は新規会員登録フォーム（/entry/）と同じ設計にそろえている。
 * 配色は支給された素材から採った値:
 *   #006EB6 カードの青 / #FFF100 ロゴの黄
 */

:root {
  --blue:        #006eb6;
  --blue-dark:   #005693;
  --blue-light:  #e8f2fa;
  --yellow:      #fff100;
  --fg:          #1b1b1b;
  --muted:       #6b7280;
  --line:        #dfe3e8;
  --page:        #eef3f7;
  --card:        #ffffff;
  --req:         #d93025;
  --ok:          #1e7b34;
  --radius:      10px;
  --pagew:       820px;
  --shadow:      0 1px 3px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 46, 78, .06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 0 56px;
  color: var(--fg);
  background: var(--page);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

a { color: var(--blue); }

/* ---- site header -------------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 4px solid var(--yellow);
}

.site-header .banner {
  display: block;
  max-width: var(--pagew);
  margin: 0 auto;
  padding: 0 16px;
  line-height: 0;
}

.site-header .banner img {
  width: 100%;
  height: auto;
  display: block;
}

.site-header .bar { background: var(--blue); }

.site-header .inner {
  max-width: var(--pagew);
  margin: 0 auto;
  padding: 8px 16px;
}

.site-header .name {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .04em;
}

.wrap {
  max-width: var(--pagew);
  margin: 0 auto;
  padding: 0 16px;
}

h1 {
  margin: 22px 0 6px;
  font-size: 21px;
  line-height: 1.5;
}

h1 .sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: .08em;
}

/* ---- blocks ------------------------------------------------------------- */

.box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 18px;
}

.box > h2:first-child { margin-top: 0; }

h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
  font-size: 16px;
}

h2::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: var(--blue);
  flex: none;
}

/* benefits strip */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: var(--blue-light);
  border: 1px solid #cfe3f3;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.benefits .card-pic { width: 150px; flex: none; }

.benefits .body { flex: 1 1 320px; }

.benefits h2 {
  margin: 0 0 6px;
  border: none;
  padding: 0;
  font-size: 15px;
}

.benefits ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 13px;
  line-height: 1.75;
}

.benefits .fee {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: bold;
  color: var(--blue-dark);
}

/* ---- form --------------------------------------------------------------- */

dl { margin: 0; }

dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: bold;
}

dd { margin: 6px 0 0; }

.req, .any {
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .04em;
  flex: none;
}

.req { background: var(--req); color: #fff; }
.any { background: #eceff3; color: var(--muted); }

input[type="text"], input[type="email"], input[type="password"], select, textarea {
  padding: 11px 10px;
  border: 1px solid #b6bdc6;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;   /* 16px keeps iOS from zooming on focus */
  font-family: inherit;
  max-width: 100%;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 110, 182, .18);
}

select { background: #fff; }

.field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.field-row .sep { color: var(--muted); }

/* radio and checkbox pills */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }

.choices label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #c3cad3;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.choices label:hover { border-color: var(--blue); }

.genres { display: flex; flex-wrap: wrap; gap: 8px; }

.genres label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #c3cad3;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.genres label:hover { border-color: var(--blue); }

.hint { color: var(--muted); font-size: 12px; }

.note { color: var(--muted); font-size: 13px; }
.note.small { font-size: 12px; }

.err {
  margin: 6px 0 0;
  padding: 7px 10px;
  border-radius: 5px;
  background: #fdecea;
  color: var(--req);
  font-size: 13px;
}

.error-box {
  border-color: #f2b8b5;
  background: #fdecea;
}
.error-box > p { margin: 0; color: var(--req); font-weight: bold; }
.error-box h2 { border-bottom-color: #f2b8b5; margin-top: 0; }
.error-box h2::before { background: var(--req); }

/* card number group gets a tinted panel, it is the part people stumble on */
.card-fields {
  background: #f7fbfe;
  border: 1px dashed #b9d9ef;
  border-radius: var(--radius);
  padding: 4px 16px 18px;
}

/* ---- buttons ------------------------------------------------------------ */

.actions { margin: 26px 0 0; text-align: center; }

.btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 26px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: bold;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.btn:hover { background: var(--blue-light); }

.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 0 var(--blue-dark);
}

.btn.primary:hover { background: var(--blue-dark); box-shadow: 0 2px 0 var(--blue-dark); }

.two-buttons {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.two-buttons form { margin: 0; }

/* ---- footer ------------------------------------------------------------- */

.site-footer {
  margin-top: 30px;
  padding: 20px 16px;
  border-top: 3px solid var(--blue);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer p { margin: 0 0 4px; }

.site-footer .shop-name {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: bold;
}

.site-footer .copy { margin: 10px 0 0; font-size: 11px; }

/* ---- 列の多い画面（一覧・履歴） ----------------------------------------
 * ヘッダーの帯も .wrap も同じ --pagew を見ているので、広げてもずれない。
 * ヘッダー画像は 1200px 幅のため 1120px までは引き伸ばしにならない。
 */

body.wide { --pagew: 1120px; }

/* 表がカードからはみ出さないよう、はみ出す分だけ表の中で横スクロールさせる。 */
.scroller {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- narrow screens ----------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 14px; }
  .site-header .banner { padding: 0 12px; }
  h1 { font-size: 18px; }
  .steps li { font-size: 9px; padding-top: 30px; }
  .steps .no { width: 23px; height: 23px; line-height: 19px; font-size: 11px; }
  .box { padding: 16px; }
  .benefits { gap: 12px; }
  .benefits .card-pic { width: 110px; margin: 0 auto; }
  .btn { width: 100%; min-width: 0; }
  .two-buttons { flex-direction: column-reverse; }
}

/* ---- ヘッダーの会員情報とリンク ----------------------------------------- */

.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.site-header .user {
  margin-left: auto;
  color: #fff;
  font-size: 12px;
}

.site-header .user .tamca { color: #cde3f5; }

.site-header .user .point {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  white-space: nowrap;
}

.site-header .user .point strong { color: var(--yellow); font-size: 14px; }

.site-header .nav a {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

.site-header .nav a:hover { background: rgba(255, 255, 255, .18); }

/* ---- 表 ---------------------------------------------------------------- */

table.list, table.detail {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 16px;
  font-size: 13px;
}

table.list th, table.list td,
table.detail th, table.detail td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

body.wide table.list th,
body.wide table.list td { padding: 8px 9px; }
body.wide table.list { font-size: 12.5px; }

table.list th {
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
}

table.list tbody tr:nth-child(even) { background: #f7fafd; }
table.list tbody tr:hover { background: var(--blue-light); }

table.detail th {
  background: var(--blue-light);
  width: 180px;
  white-space: nowrap;
  font-weight: bold;
}

table.list td.num, table.list th.num { text-align: right; }

/* ---- 入力まわり -------------------------------------------------------- */

.form .row { margin-top: 16px; }
.form label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 5px; }
.form .unit { margin-left: 8px; font-size: 13px; }

.form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.form-inline label { font-size: 14px; font-weight: bold; }
.form-inline input[type="text"] { width: 240px; }

/* ---- 知らせ ------------------------------------------------------------ */

.notice {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 11px 15px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 14px;
}

.alert {
  background: #fdecea;
  border-left: 4px solid var(--req);
  color: #8c1d18;
  padding: 11px 15px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 14px;
}

.strong { font-weight: bold; }
.muted  { color: var(--muted); }

/* ---- 新規会員登録への案内 ---------------------------------------------- */

.to-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: var(--blue-light);
  border: 1px solid #cfe3f3;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.to-entry .card-pic { width: 150px; flex: none; }
.to-entry .body { flex: 1 1 300px; }
.to-entry h2 { margin: 0 0 6px; border: none; padding: 0; font-size: 15px; }
.to-entry p { margin: 0 0 12px; font-size: 13px; }

.btn.accent {
  background: var(--yellow);
  border-color: #e5d900;
  color: #1b1b1b;
  box-shadow: 0 3px 0 #ccc100;
}

.btn.accent:hover { background: #ffe800; box-shadow: 0 2px 0 #ccc100; }

@media (max-width: 640px) {
  .site-header .user { margin-left: 0; width: 100%; }
  .site-header .nav a { margin: 4px 6px 0 0; }
  .site-header .user .point { margin: 4px 0 0; }
  table.list { white-space: normal; }
  table.detail th { width: auto; white-space: normal; }
  .to-entry .card-pic { width: 110px; margin: 0 auto; }
  .form-inline input[type="text"] { width: 100%; }
}

/* ---- 感謝祭応募フォームへの案内バナー ----------------------------------- */

.kbnr {
  display: flex;
  align-items: center;
  gap: 16px;
  /* 上はヘッダーの青帯、下は見出しと間を空ける */
  margin: 24px 0 26px;
  padding: 16px 20px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: var(--shadow);
  color: #fff;
  text-decoration: none;
  transition: filter .15s;
}

.kbnr:hover { filter: brightness(1.12); }

.kbnr__tag {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1b1b1b;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

.kbnr__body { flex: 1 1 auto; }

.kbnr__title {
  display: block;
  font-size: 19px;
  line-height: 1.4;
}

.kbnr__lead {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
}

.kbnr__term {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: bold;
  color: var(--yellow);
}

.kbnr__go {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .kbnr { flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; padding: 14px 16px; }
  .kbnr__body { flex: 1 1 100%; }
  .kbnr__title { font-size: 17px; }
  .kbnr__go { width: 100%; text-align: center; }
}

/* ---- 一覧表の中のボタンは小さくする ------------------------------------- */

table.list .btn {
  min-width: 0;
  width: auto;
  padding: 7px 16px;
  border-width: 1px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

table.list .btn.primary { box-shadow: 0 2px 0 var(--blue-dark); }
table.list .btn.primary:hover { box-shadow: 0 1px 0 var(--blue-dark); }

table.list td:last-child {
  width: 1%;
  text-align: center;
  white-space: nowrap;
}

/* ---- ジャンルの絞り込みとページ送り -------------------------------------- */

.genres-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: var(--blue-light);
  border-radius: var(--radius);
}

.genres-nav__label { font-size: 13px; font-weight: bold; color: var(--blue-dark); }

.genres-nav .genre {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #cfe3f3;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.genres-nav .genre:hover { border-color: var(--blue); }

.genres-nav .genre--on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: bold;
}

.genres-nav .genre__n { font-size: 11px; opacity: .75; margin-left: 3px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pager .btn { min-width: 0; padding: 8px 18px; font-size: 14px; }
.pager__pos { font-size: 13px; color: var(--muted); padding: 0 6px; }

@media (max-width: 640px) {
  .genres-nav { padding: 10px; gap: 6px; }
  .genres-nav .genre { padding: 4px 11px; font-size: 12px; }
  .pager .btn { padding: 8px 12px; font-size: 13px; }
}

/* ---- 履歴の変更・取消 ---------------------------------------------------- */

.row-change {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 6px 0 0;
}

.row-change input[type=number] {
  width: 4.5em;
  padding: 5px 6px;
  border: 1px solid #b9c6d3;
  border-radius: 4px;
  font-size: 13px;
}

table.list .row-change .btn { padding: 5px 12px; font-size: 12px; }

.btn-cancel {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--req);
  border-radius: 6px;
  background: #fff;
  color: var(--req);
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.btn-cancel:hover { background: #fdecea; }

.two-buttons .btn-cancel { padding: 14px 26px; font-size: 15px; border-radius: 999px; border-width: 2px; }

/* ---- 商品ごとのご注意（確認画面） --------------------------------------- */

.product-note {
  margin: 16px 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: #fbfcfe;
  color: #333;
  font-size: 12.5px;
  line-height: 1.75;
}
