/* お問い合わせフォームページ */
:root{--ws-blue:#0054b8;--ws-blue-dark:#062b63;--ws-blue-deep:#00347f;--ws-blue-light:#eef7ff;--ws-orange:#f58220;--ws-green:#08a045;--ws-red:#ff6b78;--ws-text:#17233c;--ws-muted:#5f6f89;--ws-border:#d9e7f5;--ws-shadow:0 10px 28px rgba(11,62,120,.08)}
.entry-title{display:none!important}.entry-content{margin-top:0!important}.inside-article{padding-top:0!important}
.entry-content .ws-contact-page,.site-content .ws-contact-page,.ws-contact-page{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);background:#fff;color:var(--ws-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;line-height:1.8;letter-spacing:.02em;overflow-x:hidden}.ws-contact-page *{box-sizing:border-box}.ws-contact-page a{text-decoration:none}.ws-container{width:min(1120px,calc(100% - 56px));margin:0 auto}

/* Hero */
.ws-contact-hero{background:linear-gradient(90deg,#f7fbff 0%,#eef7ff 58%,#fff 100%);padding:58px 0 50px;text-align:center;position:relative;overflow:hidden}
.ws-contact-hero:after{content:"";position:absolute;right:70px;top:35px;width:300px;height:180px;border:2px solid rgba(0,84,184,.13);border-radius:50%;transform:rotate(-12deg)}
.ws-contact-hero h1{color:var(--ws-blue-dark);font-size:44px;line-height:1.35;margin:0 0 18px;font-weight:900;position:relative;z-index:1}
.ws-contact-hero h1:after{content:"";display:block;width:58px;height:3px;background:var(--ws-blue);margin:14px auto 0}
.ws-contact-hero p{font-size:17px;line-height:1.9;font-weight:700;margin:0;position:relative;z-index:1}

/* Layout */
.ws-contact-section{padding:56px 0 0}
.ws-contact-layout{display:grid;grid-template-columns:1fr 380px;gap:54px;align-items:start}
.ws-form-heading{display:flex;gap:18px;align-items:flex-start;margin-bottom:30px}
.ws-form-heading>span{width:58px;height:58px;border-radius:8px;background:var(--ws-blue-light);display:grid;place-items:center;color:var(--ws-blue);font-size:34px;flex:0 0 auto}
.ws-form-heading h2{color:var(--ws-blue);font-size:28px;margin:0 0 6px;font-weight:900}.ws-form-heading p{margin:0;font-size:15px}

/* Form */
.ws-contact-form{display:grid;gap:24px}
.ws-form-row{display:grid;grid-template-columns:170px 1fr;gap:28px;align-items:center}
.ws-form-row>label{font-size:15px;font-weight:900;color:#081d3f}
.ws-required,.ws-optional{display:inline-grid;place-items:center;min-width:38px;height:22px;border-radius:4px;margin-left:10px;font-size:12px;color:#fff;font-weight:900}
.ws-required{background:var(--ws-red)}.ws-optional{background:#8792a2}
.ws-contact-form input[type=text],.ws-contact-form input[type=tel],.ws-contact-form input[type=email],.ws-contact-form textarea{width:100%;border:1px solid #cad7e6;border-radius:6px;background:#fff;min-height:48px;padding:12px 18px;font-size:15px;color:var(--ws-text);box-shadow:inset 0 1px 3px rgba(0,0,0,.03)}
.ws-contact-form input::placeholder,.ws-contact-form textarea::placeholder{color:#9aa7b7}
.ws-radio-group{display:flex;flex-wrap:wrap;gap:34px;align-items:center}
.ws-radio-group label{font-weight:700;display:flex;align-items:center;gap:8px}
.ws-radio-group input{width:18px;height:18px;accent-color:var(--ws-blue)}
.ws-form-note{font-size:12px;color:#516173;margin:7px 0 0}
.ws-textarea-row{align-items:start}
.ws-contact-form textarea{height:200px;resize:vertical}
.ws-textarea-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:8px;color:#516173;font-size:13px}.ws-textarea-bottom p{margin:0}.ws-textarea-bottom span{white-space:nowrap}
.ws-privacy-check{padding-left:198px;margin-top:12px}.ws-privacy-check label{display:flex;align-items:center;gap:10px;font-weight:800}.ws-privacy-check input{width:18px;height:18px;accent-color:var(--ws-blue)}.ws-privacy-check a{color:var(--ws-blue);text-decoration:underline}
.ws-submit-button{margin-left:198px;width:min(420px,100%);min-height:64px;border:0;border-radius:6px;background:linear-gradient(90deg,#0065df,#0048c8);color:#fff;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 8px 22px rgba(0,84,184,.22)}
.ws-submit-button span{margin-right:10px}

/* Side */
.ws-contact-side{display:grid;gap:16px}
.ws-side-card{background:linear-gradient(180deg,#f7fbff 0,#fff 100%);border-radius:8px;padding:28px;box-shadow:0 8px 22px rgba(11,62,120,.04)}
.ws-side-card h2{color:var(--ws-blue);font-size:22px;margin:0 0 14px;font-weight:900}.ws-side-card p{font-size:15px;margin:0 0 22px}
.ws-tel-card a{display:grid;grid-template-columns:46px 1fr;column-gap:14px;align-items:center;color:var(--ws-blue-dark)}
.ws-tel-card a span{grid-row:1/3;color:var(--ws-blue);font-size:40px}.ws-tel-card a strong{font-size:34px;line-height:1;color:var(--ws-blue);font-weight:900}.ws-tel-card a small{font-size:15px;font-weight:900;color:#061d43;margin-top:8px}
.ws-line-card a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:0 28px;border-radius:6px;background:var(--ws-green);color:#fff;font-weight:900}.ws-line-card a span{width:36px;height:36px;border-radius:50%;background:#fff;color:var(--ws-green);display:grid;place-items:center;font-size:12px}
.ws-consult-card ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}.ws-consult-card li{font-weight:800}.ws-consult-card li:before{content:"○";color:var(--ws-blue);font-weight:900;margin-right:8px}

/* Secure */
.ws-secure-section{padding:58px 0 34px}
.ws-secure-box{background:#f2f8ff;border:1px solid var(--ws-border);border-radius:8px;padding:34px 44px;display:grid;grid-template-columns:90px 1fr;gap:28px;align-items:center}
.ws-secure-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid var(--ws-border);color:var(--ws-blue);font-weight:900}
.ws-secure-box h2{color:var(--ws-blue);font-size:22px;margin:0 0 8px}.ws-secure-box p{margin:0;font-size:15px;line-height:1.9}
.ws-bottom-breadcrumb{font-size:13px;color:#7a8797;margin:0 0 28px}

@media(max-width:1024px){.ws-contact-layout{grid-template-columns:1fr}.ws-contact-side{grid-template-columns:1fr 1fr}.ws-consult-card{grid-column:1/-1}}
@media(max-width:640px){.ws-container{width:min(100% - 24px,1120px)}.ws-contact-hero{padding:42px 0}.ws-contact-hero h1{font-size:32px}.ws-contact-layout{gap:38px}.ws-form-row{grid-template-columns:1fr;gap:8px}.ws-privacy-check,.ws-submit-button{margin-left:0;padding-left:0}.ws-radio-group{gap:18px}.ws-contact-side{grid-template-columns:1fr}.ws-secure-box{grid-template-columns:1fr;text-align:center;padding:28px}.ws-secure-icon{margin:0 auto}.ws-tel-card a strong{font-size:28px}}

/* MW WP Form連携用：既存デザインをMW WP Form出力へ適用 */
.ws-mwform-wrap{background:#fff;border:1px solid var(--ws-border);border-radius:12px;padding:34px;box-shadow:var(--ws-shadow)}
.ws-mwform-wrap .mw_wp_form{width:100%;margin:0}
.ws-mwform-wrap .ws-form-row{margin:0 0 24px}
.ws-mwform-wrap .ws-form-row:last-child{margin-bottom:0}
.ws-mwform-wrap .ws-form-control{width:100%}
.ws-mwform-wrap input[type="text"],
.ws-mwform-wrap input[type="tel"],
.ws-mwform-wrap input[type="email"],
.ws-mwform-wrap select,
.ws-mwform-wrap textarea{width:100%;border:1px solid #cad7e6;border-radius:6px;background:#fff;min-height:50px;padding:12px 16px;font-size:15px;color:var(--ws-text);box-shadow:inset 0 1px 3px rgba(0,0,0,.03)}
.ws-mwform-wrap textarea{min-height:190px;resize:vertical}
.ws-mwform-wrap input::placeholder,.ws-mwform-wrap textarea::placeholder{color:#9aa7b7}
.ws-mwform-wrap .horizontal-item + .horizontal-item{margin-left:22px}
.ws-mwform-wrap input[type="radio"],.ws-mwform-wrap input[type="checkbox"]{width:18px;height:18px;accent-color:var(--ws-blue);vertical-align:-3px;margin-right:6px}
.ws-mwform-wrap .ws-form-note{font-size:12px;color:#516173;margin:7px 0 0;line-height:1.7}
.ws-mwform-wrap .error{display:block;margin-top:7px;color:#e84855;font-size:13px;font-weight:800}
.ws-mwform-wrap .ws-privacy-check{padding-left:198px;margin-top:8px}
.ws-mwform-wrap .ws-privacy-check a{color:var(--ws-blue);text-decoration:underline;font-weight:900}
.ws-mwform-wrap .ws-mw-buttons{display:flex;justify-content:flex-start;gap:14px;margin-left:198px;margin-top:30px;flex-wrap:wrap}
.ws-mwform-wrap input[type="submit"],.ws-mwform-wrap button[type="submit"]{min-width:260px;min-height:62px;border:0;border-radius:8px;background:linear-gradient(90deg,#0065df,#0048c8);color:#fff;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 8px 22px rgba(0,84,184,.22);padding:0 28px}
.ws-mwform-wrap input[name="submitBack"]{background:#eef4fb!important;color:var(--ws-blue-dark)!important;box-shadow:none!important;border:1px solid var(--ws-border)!important;min-width:140px!important}
.ws-mwform-empty{background:#fff8e8;border:1px solid #ffd58a;border-radius:8px;padding:18px 20px;color:#4b3a11}.ws-mwform-empty p{margin:0 0 8px}.ws-mwform-empty p:last-child{margin-bottom:0}.ws-mwform-empty code{background:#fff;padding:2px 6px;border-radius:4px}

@media(max-width:640px){.ws-mwform-wrap{padding:22px 16px;border-radius:10px}.ws-mwform-wrap .ws-form-row{display:block}.ws-mwform-wrap .ws-form-row>label{display:block;margin-bottom:8px}.ws-mwform-wrap .horizontal-item{display:block;margin:0 0 10px!important}.ws-mwform-wrap .ws-privacy-check,.ws-mwform-wrap .ws-mw-buttons{margin-left:0;padding-left:0}.ws-mwform-wrap input[type="submit"],.ws-mwform-wrap button[type="submit"]{width:100%;min-width:0}.ws-mwform-wrap input[name="submitBack"]{width:100%;min-width:0!important}}

/* v11: MW WP Form 出力崩れ対策（入力欄の幅・余白を強制補正） */
.ws-mwform-wrap{
  width:100% !important;
  max-width:100% !important;
  padding:40px 46px !important;
}
.ws-mwform-wrap .mw_wp_form,
.ws-mwform-wrap form,
.ws-mwform-wrap .ws-contact-form{
  width:100% !important;
  max-width:100% !important;
}
.ws-mwform-wrap .ws-contact-form{
  display:block !important;
}
.ws-mwform-wrap .ws-form-row{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 30px !important;
}
.ws-mwform-wrap .ws-form-row > label,
.ws-mwform-wrap .ws-form-row label:first-child{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  margin:0 0 10px !important;
  font-size:15px !important;
  line-height:1.6 !important;
  font-weight:900 !important;
  color:#081d3f !important;
}
.ws-mwform-wrap .ws-form-row .ws-form-control,
.ws-mwform-wrap .ws-form-row > p,
.ws-mwform-wrap .ws-form-row .mwform-tel-field,
.ws-mwform-wrap .ws-form-row .mwform-zip-field{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
}
.ws-mwform-wrap input[type="text"],
.ws-mwform-wrap input[type="url"],
.ws-mwform-wrap input[type="tel"],
.ws-mwform-wrap input[type="email"],
.ws-mwform-wrap input[type="number"],
.ws-mwform-wrap input[type="date"],
.ws-mwform-wrap select,
.ws-mwform-wrap textarea{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:56px !important;
  padding:14px 18px !important;
  border:1px solid #cad7e6 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--ws-text) !important;
  font-size:16px !important;
  line-height:1.6 !important;
  box-sizing:border-box !important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.03) !important;
}
.ws-mwform-wrap textarea{
  min-height:220px !important;
  resize:vertical !important;
}
.ws-mwform-wrap .ws-radio-row .ws-form-control,
.ws-mwform-wrap .ws-radio-row .mwform-radio-field,
.ws-mwform-wrap .ws-radio-row .horizontal-item{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:14px 30px !important;
}
.ws-mwform-wrap .horizontal-item{
  margin:0 24px 8px 0 !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}
.ws-mwform-wrap input[type="radio"],
.ws-mwform-wrap input[type="checkbox"]{
  flex:0 0 auto !important;
  width:18px !important;
  height:18px !important;
  min-height:0 !important;
  padding:0 !important;
}
.ws-mwform-wrap .ws-privacy-check{
  width:100% !important;
  max-width:100% !important;
  padding-left:0 !important;
  margin:18px 0 0 !important;
  text-align:center !important;
}
.ws-mwform-wrap .ws-privacy-check label,
.ws-mwform-wrap .ws-privacy-check .horizontal-item{
  justify-content:center !important;
}
.ws-mwform-wrap .ws-mw-buttons{
  margin:34px 0 0 !important;
  justify-content:center !important;
  width:100% !important;
}
.ws-mwform-wrap input[type="submit"],
.ws-mwform-wrap button[type="submit"]{
  min-width:280px !important;
  width:auto !important;
}
@media(max-width:768px){
  .ws-mwform-wrap{padding:26px 18px !important;}
  .ws-mwform-wrap .ws-form-row{margin-bottom:24px !important;}
  .ws-mwform-wrap input[type="submit"],
  .ws-mwform-wrap button[type="submit"]{width:100% !important;min-width:0 !important;}
}


/* v12: お問い合わせページ整理
   - 右サイドバーと安心ボックス削除後の1カラム化
   - 項目名と入力欄の余白を詰める
*/
.ws-contact-section{padding:48px 0 64px !important;}
.ws-contact-layout{
  display:block !important;
  width:min(760px, calc(100% - 56px)) !important;
  max-width:760px !important;
  margin:0 auto !important;
}
.ws-contact-main{width:100% !important;max-width:100% !important;}
.ws-contact-side,.ws-secure-section{display:none !important;}
.ws-form-heading{margin-bottom:22px !important;}
.ws-mwform-wrap{padding:34px 42px !important;border-radius:12px !important;}
.ws-mwform-wrap .ws-form-row{margin:0 0 20px !important;}
.ws-mwform-wrap .ws-form-row > label,
.ws-mwform-wrap .ws-form-row label:first-child{
  margin:0 0 6px !important;
  line-height:1.45 !important;
}
.ws-mwform-wrap input[type="text"],
.ws-mwform-wrap input[type="url"],
.ws-mwform-wrap input[type="tel"],
.ws-mwform-wrap input[type="email"],
.ws-mwform-wrap input[type="number"],
.ws-mwform-wrap input[type="date"],
.ws-mwform-wrap select{
  min-height:50px !important;
  padding:12px 16px !important;
}
.ws-mwform-wrap textarea{min-height:180px !important;padding:14px 16px !important;}
.ws-mwform-wrap .ws-form-note{margin-top:5px !important;line-height:1.55 !important;}
.ws-mwform-wrap .ws-privacy-check{margin:22px 0 0 !important;}
.ws-mwform-wrap .ws-mw-buttons{margin:28px 0 0 !important;}
@media(max-width:768px){
  .ws-contact-layout{width:min(100% - 24px,760px) !important;}
  .ws-contact-section{padding:36px 0 48px !important;}
  .ws-mwform-wrap{padding:24px 16px !important;}
  .ws-mwform-wrap .ws-form-row{margin-bottom:18px !important;}
}

/* v13: MW WP Form forced cleanup for unwanted auto <br>/<p> spacing */
.ws-contact-form br,
.ws-mwform-wrap br,
.mw_wp_form br{
  display:none !important;
}
.ws-contact-form p:empty,
.ws-mwform-wrap p:empty,
.mw_wp_form p:empty{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
}
.ws-mwform-wrap .ws-form-row{
  display:block !important;
  margin:0 0 18px !important;
  padding:0 !important;
}
.ws-mwform-wrap .ws-form-row > label{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 0 6px !important;
  padding:0 !important;
}
.ws-mwform-wrap .ws-form-row > label + input,
.ws-mwform-wrap .ws-form-row > label + textarea,
.ws-mwform-wrap .ws-form-row > label + select,
.ws-mwform-wrap .ws-form-row > label + .mwform-radio-field,
.ws-mwform-wrap .ws-form-row > label + .mwform-checkbox-field{
  margin-top:0 !important;
}
.ws-mwform-wrap input,
.ws-mwform-wrap textarea,
.ws-mwform-wrap select{
  margin-top:0 !important;
}
