@charset "UTF-8";
/* J-出版 お問い合わせフォーム専用スタイル */
:root { --jp-main:#8B9ADA; --jp-main-dark:#596cb7; --jp-main-pale:#989cae; --jp-gray:#f3f3f3; --jp-text:#333; --jp-border:#ddd; }
*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:#fff; color:var(--jp-text); font:16px/1.8 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }
a { color:var(--jp-main-dark); text-underline-offset:3px; }
button,input,select,textarea { font:inherit; }
.jp-header { border-bottom:1px solid #e7e7e7; }
.jp-header__inner { max-width:1080px; margin:auto; padding:19px 22px; }
.jp-brand { color:#333; font-size:26px; font-weight:750; letter-spacing:.03em; text-decoration:none; }
.jp-brand span { margin-left:8px; color:var(--jp-main); font-size:11px; font-weight:600; letter-spacing:.18em; }
.jp-contact { max-width:900px; margin:0 auto; padding:20px 24px 72px; }
.jp-breadcrumb { display:flex; align-items:center; gap:12px; color:#666; font-size:13px; }
.jp-contact__heading { text-align:center; padding:40px 0 33px; }
.jp-contact__eyebrow { color:var(--jp-main-dark); font:700 12px/1.4 Arial,sans-serif; letter-spacing:.23em; }
.jp-contact__heading h1 { margin:6px auto 14px; font-size:clamp(28px,4.5vw,36px); font-weight:750; letter-spacing:.08em; }
.jp-contact__heading h1::after { content:""; display:block; width:52px; height:3px; margin:18px auto 0; background:var(--jp-main); border-radius:8px; }
.jp-contact__heading p { margin:0; padding-top:10px; font-size:15px; color:#666; }
.jp-step { display:flex; align-items:center; justify-content:center; margin:0 auto 33px; max-width:520px; }
.jp-step__item { display:flex; flex-direction:column; align-items:center; gap:4px; flex:0 0 68px; color:#888; font-size:12px; }
.jp-step__item b { display:grid; place-items:center; width:37px; height:37px; border-radius:50%; border:2px solid #ddd; color:#888; font-size:13px; }
.jp-step__item.is-current { color:var(--jp-main-dark); font-weight:700; }
.jp-step__item.is-current b { color:#fff; border-color:var(--jp-main-dark); background:var(--jp-main-dark); }
.jp-step__line { width:90px; height:2px; background:#e6e6e6; margin:0 0 21px; }
.jp-form { width:100%; }
.jp-form__lead { font-size:13px; color:#666; text-align:right; margin-bottom:12px; }
.jp-panel { margin:0 0 26px; overflow:hidden; border:1px solid #e5e5e5; border-radius:13px; box-shadow:0 4px 16px rgb(0 0 0 / 3%); background:#fff; }
.jp-panel__title { margin:0; padding:15px 23px; border-left:6px solid var(--jp-main); background:var(--jp-gray); color:var(--jp-text); font-size:18px; font-weight:700; letter-spacing:.025em; }
.jp-panel__sub { font-size:13px; font-weight:400; color:#666; }
.jp-panel__description { margin:20px 26px 3px; color:#555; font-size:14px; }
.jp-field { display:grid; grid-template-columns:230px minmax(0,1fr); gap:19px; align-items:start; padding:20px 26px; border-bottom:1px solid #ededed; }
.jp-field:last-child { border-bottom:0; }
.jp-field__label { display:flex; gap:7px; align-items:center; justify-content:space-between; min-height:48px; font-weight:650; font-size:14px; }
.jp-required,.jp-optional { flex:0 0 auto; border-radius:4px; padding:2px 7px; font-size:11px; line-height:1.45; font-weight:700; }
.jp-required { background:#fff0ef; color:#bf3a32; }
.jp-optional { background:#ededed; color:#666; }
.jp-field__body { min-width:0; }
.jp-field__body input,.jp-field__body select,.jp-field__body textarea { display:block; width:100%; min-width:0; min-height:48px; margin:0; padding:11px 13px; color:#333; background:#fff; border:1px solid #cfd2d9; border-radius:7px; outline:none; transition:border-color .2s ease,box-shadow .2s ease; }
.jp-field__body textarea { min-height:180px; resize:vertical; }
.jp-field__body input::placeholder,.jp-field__body textarea::placeholder { color:#999; opacity:1; }
.jp-field__body input:focus,.jp-field__body select:focus,.jp-field__body textarea:focus { border-color:var(--jp-main-dark); box-shadow:0 0 0 3px rgb(139 154 218 / 22%); }
.jp-field__body input:user-invalid,.jp-field__body select:user-invalid,.jp-field__body textarea:user-invalid { border-color:#ba3b3b; }
.jp-field__body small { display:block; margin-top:7px; color:#777; font-size:12px; }
.jp-field__body .jp-field__error { color:#a72727; }
.jp-method { display:flex; flex-wrap:wrap; align-items:stretch; gap:12px; margin:10px 26px 25px; padding:0; border:0; }
.jp-method__choice { display:flex; align-items:center; min-height:49px; flex:1 1 140px; gap:9px; padding:10px 15px; background:#fff; border:1px solid var(--jp-border); border-radius:8px; cursor:pointer; font-size:14px; }
.jp-method__choice:has(input:checked) { background:#c0cbff; border-color:var(--jp-main); }
.jp-method__choice input { width:17px; height:17px; accent-color:var(--jp-main-dark); flex:none; }
.jp-method__choice small { display:block; color:#777; font-size:11px; }
.jp-privacy { border:1px solid #e1e4ee; border-radius:12px; overflow:hidden; background:#fff; margin:34px 0 25px; }
.jp-privacy h2 { margin:0; padding:15px 22px; background:var(--jp-main-pale); font-size:17px; font-weight:700; }
.jp-privacy__text { padding:20px 24px 10px; font-size:13px; line-height:1.95; }
.jp-privacy__text p { margin:0 0 13px; }
.jp-privacy__notice { color:#656565; }
.jp-privacy__check { display:flex; align-items:center; justify-content:center; gap:12px; padding:18px 12px; background:var(--jp-gray); font-weight:700; font-size:14px; cursor:pointer; }
.jp-privacy__check input { width:20px; height:20px; margin:0; accent-color:var(--jp-main-dark); flex:none; }
.jp-verify { display:flex; flex-direction:column; align-items:center; gap:8px; margin:25px auto 18px; }
.jp-verify p { margin:0; color:#777; font-size:12px; }
.jp-submit { text-align:center; }
.jp-submit p { text-align:center; }
.jp-submit__button { display:flex; align-items:center; justify-content:center; gap:25px; width:min(100%,400px); min-height:62px; margin:0 auto; padding:15px 30px; border:0; border-radius:10px; color:white; background:var(--jp-main-dark); font-weight:700; font-size:17px; cursor:pointer; box-shadow:0 5px 0 #42539a; transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
.jp-submit__button:hover { background:#495ca6; transform:translateY(2px); box-shadow:0 3px 0 #42539a; }
.jp-submit__button:focus-visible { outline:3px solid #333; outline-offset:3px; }
.jp-submit__button:disabled { cursor:progress; opacity:.65; }
.jp-submit__button span { font-size:22px; }
.jp-submit p { color:#777; font-size:12px; margin:16px 0 0; }
.jp-honey { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.jp-footer { border-top:1px solid #eee; padding:24px; color:#888; text-align:center; font-size:12px; }
.jp-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.jp-confirm__table { width:100%; border-collapse:collapse; margin-top:24px; }
.jp-confirm__table th,.jp-confirm__table td { padding:16px 19px; border-bottom:1px solid #e6e6e6; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.jp-confirm__table th { width:34%; background:#f3f3f3; font-size:14px; }
.jp-confirm__table td { white-space:normal; font-size:14px; }
.jp-confirm__actions { display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin:36px auto 10px; }
.jp-confirm__back { display:inline-flex; justify-content:center; align-items:center; min-height:55px; width:200px; background:#fff; color:#333; border:1px solid #bbb; border-radius:8px; font-weight:700; cursor:pointer; }
.jp-confirm__actions .jp-submit__button { margin:0; width:300px; min-height:55px; box-shadow:none; }
.jp-message { max-width:680px; margin:45px auto; padding:32px 28px; background:#fff; border:1px solid #eee; border-radius:10px; }
.jp-message h1 { margin:0 0 15px; font-size:24px; }
.jp-message p { margin:12px 0; }
.jp-message__link { display:inline-block; padding:10px 22px; border:1px solid var(--jp-main); border-radius:7px; margin-top:12px; text-decoration:none; }
@media (max-width:650px) {
  .jp-contact { padding:12px 15px 45px; }
  .jp-contact__heading { padding:30px 0 24px; }
  .jp-contact__heading p { font-size:14px; }
  .jp-pc-only { display:none; }
  .jp-form__lead { font-size:12px; }
  .jp-panel { border-radius:9px; margin-bottom:18px; }
  .jp-panel__title { padding:12px 14px; font-size:16px; }
  .jp-field { display:block; padding:14px 16px 18px; }
  .jp-field__label { justify-content:flex-start; min-height:0; gap:12px; margin:0 0 8px; font-size:14px; }
  .jp-field__body input,.jp-field__body select,.jp-field__body textarea { font-size:16px; }
  .jp-panel__description { margin:16px 16px 3px; font-size:13px; }
  .jp-method { margin:14px 16px 20px; gap:9px; }
  .jp-method__choice { flex:1 1 100%; min-height:46px; }
  .jp-privacy__text { padding:16px 16px 7px; }
  .jp-privacy__check { align-items:flex-start; padding:18px 14px; }
  .jp-step__line { width:55px; }
  .jp-confirm__table th,.jp-confirm__table td { display:block; width:100%; padding:10px 12px; }
  .jp-confirm__table td { padding:13px 12px 17px; }
  .jp-confirm__actions { flex-direction:column-reverse; align-items:stretch; }
  .jp-confirm__actions .jp-submit__button,.jp-confirm__back { width:100%; }
}
