/* HPメーカー 会員まわり（ログイン・マイページ・発行サイト） */
body.hpm-members { background: #f3f5f3; }
.hpm-members main { max-width: 720px; }
.hpm-eyebrow { margin: 0 0 2px; font: 700 12px/1.4 "Montserrat", "Helvetica Neue", Arial, sans-serif; letter-spacing: .18em; color: var(--c-main); }
.hpm-members h1 { font-size: 24px; letter-spacing: .02em; }
.hpm-members h2 { font-size: 17px; }
.hpm-members .hpm-card { border-radius: 14px; border-color: #e1e6e2; box-shadow: 0 1px 2px rgba(20, 40, 30, .04), 0 6px 20px rgba(20, 40, 30, .05); margin-bottom: 16px; }
.hpm-btn-wide { display: block; width: 100%; }
.hpm-ok { color: var(--c-main-dark); font-weight: 700; margin: 4px 0; }
.hpm-lead, .hpm-hello { margin: 0 0 20px; color: var(--c-note); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ログイン */
.hpm-login-body .hpm-header { display: none; }
main.hpm-login { min-height: 100vh; min-height: 100dvh; max-width: none; margin: 0; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(1200px 600px at 10% -10%, #e3efe9 0%, rgba(227, 239, 233, 0) 60%), #f3f5f3; }
.hpm-login-brand { text-align: center; }
.hpm-login-logo { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .08em; color: var(--c-text); }
.hpm-login-sub { margin: 2px 0 0; font-size: 14px; color: var(--c-note); }
.hpm-login-card { width: 100%; max-width: 400px; padding: 28px 24px; margin: 0 !important; }
.hpm-login-card h1 { font-size: 20px; margin-bottom: 16px; }
.hpm-login-card .hpm-btn { margin-top: 4px; }
.hpm-login-card .hpm-note { text-align: center; margin: 14px 0 0; }
.hpm-login-foot { margin: 0; text-align: center; }

/* マイページ */
main.hpm-mypage, main.hpm-hakko { padding-top: 32px; }
.hpm-mp-main { border-top: 4px solid var(--c-main) !important; }
.hpm-mp-site { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.hpm-mp-live { margin: 12px 0 0; font-size: 14px; word-break: break-all; }
.hpm-badge { display: inline-block; padding: 1px 10px; font-size: 12px; font-weight: 700; color: #fff; background: var(--c-main); border-radius: 999px; }
.hpm-mp-card details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.hpm-mp-card details > summary::-webkit-details-marker { display: none; }
.hpm-mp-card details > summary::after { content: "＋"; color: var(--c-note); font-weight: 700; }
.hpm-mp-card details[open] > summary::after { content: "－"; }
.hpm-mp-card details > summary h2 { margin: 0; }
.hpm-mp-card details[open] > summary { margin-bottom: 14px; }
.hpm-mp-id { text-align: center; }
.hpm-history { list-style: none; margin: 0; padding: 0; }
.hpm-history li { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--c-line); }
.hpm-history li:first-child { border-top: 0; }

/* 発行サイト */
.hpm-req, .hpm-opt { margin-left: 8px; padding: 0 8px; font-size: 11px; font-style: normal; border-radius: 4px; vertical-align: 2px; }
.hpm-req { color: #fff; background: #c2553f; }
.hpm-opt { color: var(--c-note); background: #e8ece9; }
input[type=email], input[type=search] { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #b9c2bc; border-radius: 8px; background: #fff; color: inherit; }
.hpm-result { border: 2px solid var(--c-main) !important; background: #f7fbf9; }
.hpm-result h2 { color: var(--c-main-dark); font-size: 20px; }
.hpm-result-name { margin: 0 0 12px; font-weight: 700; }
.hpm-key-row { display: grid; grid-template-columns: 7em 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px dashed #cfd8d2; }
.hpm-key-label { font-size: 13px; font-weight: 700; color: var(--c-note); }
.hpm-key-value { font: 600 16px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; word-break: break-all; }
.hpm-key-value.is-link { font-size: 13px; }
.hpm-result-msg { margin-top: 16px; }
.hpm-result-msg textarea { font-size: 14px; background: #fff; }
.hpm-warn { margin: 8px 0 0; padding: 10px 12px; font-size: 13px; background: #fff6dd; border: 1px solid #ecd58a; border-radius: 8px; }
.hpm-issued { list-style: none; margin: 0; padding: 0; }
.hpm-issued li { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--c-line); }
.hpm-issued li[hidden] { display: none; }
.hpm-issued-main { min-width: 0; }
.hpm-issued-meta { display: block; font-size: 13px; color: var(--c-note); }
.hpm-issued-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hpm-issued-actions form { margin: 0; }
.hpm-state { display: inline-block; margin-left: 4px; padding: 0 8px; font-size: 12px; border-radius: 999px; vertical-align: 1px; }
.hpm-state.is-live { color: #fff; background: var(--c-main); }
.hpm-state.is-wip { color: #7a5a00; background: #fbecc0; }
.hpm-state.is-none { color: var(--c-note); background: #e8ece9; }
.hpm-filter { margin-bottom: 4px; }
.hpm-copied { color: #fff !important; background: var(--c-main) !important; }
@media (max-width: 560px) {
  .hpm-key-row { grid-template-columns: 1fr auto; }
  .hpm-key-label { grid-column: 1 / -1; }
  .hpm-members h1 { font-size: 21px; }
}
.hpm-result:focus { outline: none; }
.hpm-members a:not(.hpm-btn):not(.hpm-brand) { color: var(--c-main-dark); }
