:root {
  --navy: #1A2A3A;
  --accent: #2C5F8A;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --border: #E2E8F0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-alt);
}
a { color: var(--accent); }
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
header .container { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
header a { font-weight: 700; text-decoration: none; color: var(--accent); }
header .sub { font-size: 14px; color: var(--text-muted); font-weight: 400; }
main { padding: 32px 0 48px; }
h1 { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.lead { color: var(--text-muted); margin-bottom: 28px; font-size: 14px; }
h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
p, li { color: var(--text-muted); margin-bottom: 12px; }
ul, ol { padding-left: 1.4em; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); color: var(--navy); font-weight: 700; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
}
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.faq-legacy-anchor {
  display: block;
  position: relative;
  top: -72px;
  height: 0;
  width: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.help-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin-bottom: 16px; }
.help-nav a { text-decoration: none; color: var(--text-muted); }
.help-nav a:hover { color: var(--accent); }
.help-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.flash {
  display: block;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
}
.flash[hidden] { display: none !important; }
.flash-ok { border-color: #2f6f4e; background: #eef7f2; color: #1a3d2c; }
.flash-err { border-color: #a33; background: #fdf0f0; color: #5c1a1a; }

.refund-page .card-title {
  border-top: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 18px;
}
.refund-page .condition-list {
  margin: 8px 0 16px;
}
.refund-page .condition-list li {
  margin-bottom: 6px;
}
.refund-page .note,
.refund-page .form-intro,
.refund-page .form-fallback {
  font-size: 14px;
  margin-bottom: 0;
}
.refund-page .form-intro {
  margin-bottom: 24px;
}
.refund-page .form-fallback {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.refund-form {
  display: block;
  width: 100%;
  max-width: 520px;
}
.refund-form .hp-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.refund-form .field {
  display: block;
  width: 100%;
  margin: 0 0 20px;
}
.refund-form .field label {
  display: block;
  width: 100%;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
}
.refund-form .req {
  color: #a33;
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.refund-form .opt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.refund-form .field input[type="email"],
.refund-form .field input[type="text"],
.refund-form .field select,
.refund-form .field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
.refund-form .field input:focus,
.refund-form .field select:focus,
.refund-form .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.refund-form .field textarea {
  min-height: 120px;
  resize: vertical;
}
.refund-form .field-check {
  margin-top: 8px;
  margin-bottom: 24px;
}
.refund-form .check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
}
.refund-form .check-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.refund-form .check-label span {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.6;
}
.refund-form .field-actions {
  margin-bottom: 0;
}
.refund-form .btn-submit {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
}
.refund-form .btn-submit:hover {
  background: #234A6D;
}

@media (max-width: 480px) {
  .refund-form {
    max-width: none;
  }
  .refund-form .btn-submit {
    max-width: none;
  }
}
