/* Premier Camera notice presentation, release candidate 2026-10-30. */
/* Neutralize only wrappers explicitly marked by the presentation adapter. */
.message:has(>p>.pc-notice-content),.error:has(>p>.pc-notice-content),
.message:has(>.pc-notice-content),.error:has(>.pc-notice-content){
  color:inherit!important;border:0!important;background:transparent!important;
  padding:0!important;box-shadow:none!important;
}
.shopping_cart_error:has(>.pc-notice-content),p.red:has(>.pc-notice-content),span.red:has(>.pc-notice-content){color:inherit!important;border:0!important;background:transparent!important;padding:0!important}
.message>p:has(>.pc-notice-content),.error>p:has(>.pc-notice-content){margin:0!important;padding:0!important}
.pc-notice-content{
  --pc-notice-fg:#245477;--pc-notice-bg:#f0f6fb;--pc-notice-line:#aac7dc;
  box-sizing:border-box;display:flex;align-items:flex-start;gap:12px;
  width:100%;max-width:100%;min-width:0;margin:12px 0;padding:16px 18px;
  color:var(--pc-notice-fg)!important;background:var(--pc-notice-bg)!important;
  border:1px solid var(--pc-notice-line)!important;border-radius:8px;
  font-size:16px;line-height:1.75;text-align:left;font-weight:400;white-space:normal;
  overflow-wrap:anywhere;word-break:normal;
}
.pc-notice-content--success{--pc-notice-fg:#245b42;--pc-notice-bg:#eff7f1;--pc-notice-line:#a9cdb4}
.pc-notice-content--warning{--pc-notice-fg:#705012;--pc-notice-bg:#fff8e8;--pc-notice-line:#ddc48e}
.pc-notice-content--error{--pc-notice-fg:#a52b22;--pc-notice-bg:#fff3f1;--pc-notice-line:#e1b4ad}
.pc-notice-content>.pc-notice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;margin-top:3px;border:1.5px solid currentColor;border-radius:50%;font-size:15px;font-weight:700;line-height:1}
.pc-notice-content>.pc-notice-body{display:block;min-width:0;flex:1}
.pc-notice-content .pc-notice-label{display:block!important;color:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important;margin:0 0 3px!important}
.pc-notice-content .pc-notice-text{display:block;color:inherit!important}
.pc-notice-content a{color:inherit!important;text-decoration:underline!important;text-underline-offset:3px}
.pc-notice-content a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.pc-notice-content .pc-notice-text>p:first-child{margin-top:0}
.pc-notice-content .pc-notice-text>p:last-child{margin-bottom:0}
@media(max-width:400px){.pc-notice-content{gap:10px;padding:13px 12px;font-size:15px;line-height:1.8}.pc-notice-content>.pc-notice-icon{flex-basis:20px;width:20px;height:20px;margin-top:4px}}
/* Keep inline errors and mandatory indicators red; never recolor .desc/.required. */
.wpcf7 form .wpcf7-not-valid-tip{color:#a52b22;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.wpcf7 form .wpcf7-response-output:has(>.pc-notice-content){margin:12px 0!important;padding:0!important;border:0!important;background:transparent!important}
.wpcf7 form:is(.sent,.invalid,.unaccepted,.failed,.spam,.aborted) .wpcf7-response-output:not(:has(>.pc-notice-content)){
  box-sizing:border-box;max-width:100%;margin:16px 0;padding:14px 16px;
  border:1px solid #e1b4ad;border-radius:8px;color:#a52b22;background:#fff3f1;
  font-size:16px;line-height:1.75;overflow-wrap:anywhere;
}
.wpcf7 form:is(.sent,.invalid,.unaccepted,.failed,.spam,.aborted) .wpcf7-response-output:not(:has(>.pc-notice-content))::before{content:'! ご確認ください';display:block;font-size:14px;font-weight:700;margin-bottom:3px}
.wpcf7 form.sent .wpcf7-response-output:not(:has(>.pc-notice-content)){color:#245b42;background:#eff7f1;border-color:#a9cdb4}
.wpcf7 form.sent .wpcf7-response-output:not(:has(>.pc-notice-content))::before{content:'✓ 完了'}
/* Preserve the kit's original live-region and hidden behavior. */
.pc-kit-error:not([hidden]){box-sizing:border-box;max-width:100%;color:#a52b22!important;background:#fff3f1!important;border:1px solid #e1b4ad!important;border-radius:8px;padding:14px 16px!important;font-size:15px!important;line-height:1.8!important;overflow-wrap:anywhere}
.pc-kit-error[hidden]{display:none!important}
.pc-kit-error:not([hidden])::before{content:'! ご確認ください';display:block;font-size:14px;font-weight:700;margin-bottom:4px}
.pc-kit-error>p:first-of-type{margin-top:0}
.pc-kit-error>ul{margin:6px 0 0;padding-left:1.4em}
@media(max-width:400px){.wpcf7 form:is(.sent,.invalid,.unaccepted,.failed,.spam,.aborted) .wpcf7-response-output:not(:has(>.pc-notice-content)),.pc-kit-error:not([hidden]){padding:13px 12px!important;font-size:15px!important}}
