@charset "UTF-8";

:root {
  --navy: #1f4e79;
  --navy-dark: #163a5a;
  --line: #d7dee6;
  --bg: #f4f6f9;
  --text: #222;
  --muted: #6b7280;
  --error: #c0392b;
  --error-bg: #fdecea;
  --ok: #1e7e34;
  --ok-bg: #e8f5e9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 0 60px;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

.header {
  background: var(--navy);
  color: #fff;
  padding: 18px 20px;
}
.header .shop { font-size: 13px; opacity: .85; }
.header h1 { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: .02em; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.lead { margin: 0 0 4px; font-size: 15px; }
.lead-sub { margin: 0; font-size: 13px; color: var(--muted); }

h2 {
  font-size: 17px;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--navy);
}

.notes { background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px; }
.notes ul { margin: 0; padding-left: 1.2em; }
.notes li { font-size: 14px; margin-bottom: 4px; }

.field { margin-bottom: 22px; }
.field > label.lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }

.req, .opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: 2px;
}
.req { background: var(--error); color: #fff; }
.opt { background: #e5e7eb; color: #555; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, .12);
}
textarea { min-height: 110px; resize: vertical; }

.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }

.drop {
  border: 2px dashed #9fb3c8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
}
.drop:hover, .drop.over { border-color: var(--navy); background: #eef4fa; }
.drop .big { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.drop .small { font-size: 13px; color: var(--muted); }
.drop input[type="file"] { display: none; }

#filelist { list-style: none; margin: 12px 0 0; padding: 0; }
#filelist li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14px; padding: 8px 12px; background: #f4f7fa;
  border: 1px solid var(--line); border-radius: 4px; margin-bottom: 6px;
  word-break: break-all;
}
#filelist li span.sz { color: var(--muted); white-space: nowrap; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }

.btn {
  display: block; width: 100%; padding: 16px;
  background: var(--navy); color: #fff; border: none; border-radius: 6px;
  font-size: 17px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.btn:hover { background: var(--navy-dark); }
.btn:disabled { background: #9aa5b1; cursor: not-allowed; }

.btn-sm {
  display: inline-block; padding: 7px 14px; font-size: 13px; font-weight: 700;
  background: var(--navy); color: #fff; border: none; border-radius: 4px;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn-sm.gray { background: #6b7280; }

.errbox {
  background: var(--error-bg); border: 1px solid #f1b0aa; border-left: 5px solid var(--error);
  border-radius: 4px; padding: 14px 18px; margin-bottom: 20px;
}
.errbox p { margin: 0 0 6px; font-weight: 700; color: var(--error); font-size: 15px; }
.errbox ul { margin: 0; padding-left: 1.2em; font-size: 14px; color: #7a2018; }

.okbox {
  background: var(--ok-bg); border: 1px solid #a5d6a7; border-left: 5px solid var(--ok);
  border-radius: 4px; padding: 18px 20px;
}

.receipt {
  text-align: center; background: #f8fafc; border: 1px solid var(--line);
  border-radius: 6px; padding: 18px; margin: 18px 0;
}
.receipt .no { font-size: 26px; font-weight: 700; letter-spacing: .06em; color: var(--navy); }
.receipt .cap { font-size: 13px; color: var(--muted); }

.progress { display: none; margin-top: 16px; }
.progress.on { display: block; }
.bar { height: 12px; background: #e3e8ee; border-radius: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--navy); transition: width .2s; }
.progress .pct { text-align: center; font-size: 14px; margin-top: 6px; color: var(--muted); }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); text-align: center;
}
.foot strong { color: var(--text); }

table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list th, table.list td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.list th { background: var(--navy); color: #fff; white-space: nowrap; }
table.list tr:nth-child(even) td { background: #f7f9fc; }
table.list td.nowrap { white-space: nowrap; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.b0 { background: #fdecea; color: #c0392b; }
.badge.b1 { background: #fff4e5; color: #b26a00; }
.badge.b2 { background: #e8f5e9; color: #1e7e34; }
.row-alert td { background: #fff8e1 !important; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input[type="text"] { width: auto; flex: 1 1 220px; padding: 9px 12px; }

@media (max-width: 600px) {
  .card { padding: 18px 16px; }
  .header h1 { font-size: 17px; }
  table.list { font-size: 12px; }
  table.list th, table.list td { padding: 6px; }
}

/* 楽天市場 指定文言ブロック（外部リンク審査 必須項目） */
.rk-notice {
  border: 2px solid var(--navy);
  background: #f7f9fc;
}
.rk-notice p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.75;
  text-indent: -1em;
  padding-left: 1em;
}
.rk-notice p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .rk-notice p { font-size: 13px; }
}
