/* 176（2026-10-09）お問い合わせフォーム（AIKATA・MIEKATA共通）。影なし・16px以上（600px以下は14px以上） */
html body .cf176{--c:#4b3bd0;--c2:#29243c;--bg:#f6f3ff;--line:#ddd5f3;max-width:880px;margin:0 auto;padding:36px 40px;border-radius:24px;background:#fff;border:1.5px solid var(--line);text-align:left}
html body .cf176.is-miekata{--c:#2448d8;--c2:#141c4c;--bg:#eef2ff;--line:#d4dbf5;margin-bottom:40px}
html body .cf176 *{box-sizing:border-box}
/* 3ステップの表示 */
html body .cf176-steps{display:flex;gap:8px;margin:0 0 24px!important;padding:0!important;list-style:none;counter-reset:none}
html body .cf176-steps li{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:10px 8px!important;border-radius:999px;background:#f4f3f6;color:#7a7590;font-size:16px;font-weight:700}
html body .cf176-steps li::before,html body .cf176-steps li::after{display:none!important}
html body .cf176-steps li b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;font:700 14px/1 Arial,sans-serif}
html body .cf176-steps li.is-on{background:var(--c);color:#fff}
html body .cf176-steps li.is-on b{color:var(--c)}
html body .cf176-steps li.is-done{background:var(--bg);color:var(--c)}
html body .cf176-intro h3,html body .cf176-confirm h3{margin:0 0 6px!important;font-size:24px!important;line-height:1.4;color:var(--c2)!important;text-align:left}
html body .cf176-intro p{margin:0 0 24px!important;font-size:16px;color:#5d5776}
/* 項目 */
html body .cf176-form{display:grid;gap:22px;margin:0!important;padding:0!important;background:none!important;border:0!important}
html body .cf176-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
html body .cf176-field{min-width:0;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body .cf176-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 8px!important;padding:0!important;font-size:16px!important;font-weight:700;color:var(--c2)!important;float:none}
html body .cf176-label small{font-size:14px;font-weight:400;color:#7a7590}
html body .cf176-req,html body .cf176-opt-badge{display:inline-block;padding:2px 8px;border-radius:6px;font-size:14px;font-weight:700;line-height:1.4}
html body .cf176-req{background:var(--c);color:#fff}
html body .cf176-opt-badge{background:#f4f3f6;color:#7a7590}
html body .cf176 input[type=text],html body .cf176 input[type=email],html body .cf176 input[type=tel],html body .cf176 input[type=url],html body .cf176 select,html body .cf176 textarea{display:block;width:100%!important;max-width:none!important;margin:0!important;padding:13px 14px!important;border:1.5px solid #cfcbdc!important;border-radius:12px!important;background:#fff!important;color:#29243c!important;font:inherit;font-size:16px!important;line-height:1.6;transition:border-color .2s,background-color .2s}
html body .cf176 textarea{resize:vertical;min-height:150px}
html body .cf176 :is(input,select,textarea):focus{outline:none;border-color:var(--c)!important;background:var(--bg)!important}
html body .cf176 ::placeholder{color:#a19cb4}
/* ラジオ（カード型）・チェック（チップ型） */
html body .cf176-opts,html body .cf176-chips{display:grid;gap:10px}
html body .cf176-opts.is-c2{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .cf176-opts.is-c3,html body .cf176-chips.is-c3{grid-template-columns:repeat(3,minmax(0,1fr))}
html body .cf176-opt,html body .cf176-chip{position:relative;display:block;margin:0!important;cursor:pointer}
html body .cf176-opt input,html body .cf176-chip input{position:absolute;opacity:0;width:1px;height:1px}
html body .cf176-opt span,html body .cf176-chip span{display:flex;align-items:center;gap:10px;min-height:52px;height:100%;padding:12px 14px;border:1.5px solid #cfcbdc;border-radius:12px;background:#fff;color:#29243c;font-size:16px;font-weight:700;line-height:1.45;transition:border-color .2s,background-color .2s,color .2s}
html body .cf176-opt span::before{content:'';flex:none;width:20px;height:20px;border-radius:50%;border:2px solid #b9b5c4;background:#fff;transition:border .2s}
html body .cf176-chip span::before{content:'';flex:none;width:20px;height:20px;border-radius:6px;border:2px solid #b9b5c4;background:#fff}
html body .cf176-opt input:checked+span,html body .cf176-chip input:checked+span{border-color:var(--c);background:var(--bg);color:var(--c2)}
html body .cf176-opt input:checked+span::before{border:6px solid var(--c)}
html body .cf176-chip input:checked+span::before{border-color:var(--c);background:var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
html body .cf176 :is(.cf176-opt,.cf176-chip) input:focus-visible+span{outline:3px solid var(--c);outline-offset:2px}
@media(hover:hover){html body .cf176-opt:hover span,html body .cf176-chip:hover span{border-color:var(--c)}}
/* 同意 */
html body .cf176-agree{padding:16px 18px!important;border-radius:12px;background:#f7f6fa!important}
html body .cf176-check{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0!important;font-size:16px;font-weight:700;color:#29243c;cursor:pointer}
html body .cf176-check input{width:22px;height:22px;margin:0;accent-color:var(--c)}
html body .cf176-check a{color:var(--c)!important;text-decoration:underline}
/* エラー */
html body .cf176-err{margin:6px 0 0!important;font-size:14px;font-weight:700;color:#c62f4b}
html body .cf176-err:empty{display:none}
html body .cf176-field.is-error :is(input[type=text],input[type=email],input[type=url],.cf176-opt span,.cf176-check){border-color:#c62f4b!important}
/* ボタン */
html body .cf176-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
html body .cf176-next,html body .cf176-send{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:300px;min-height:60px;padding:0 28px;border:0;border-radius:999px;background:var(--c);color:#fff;font:inherit;font-size:18px;font-weight:700;cursor:pointer;transition:transform .2s,background-color .2s}
html body .cf176.is-aikata .cf176-next,html body .cf176.is-aikata .cf176-send{background:#f3c876;color:#29243c}
@media(hover:hover){html body .cf176-next:hover{transform:translateY(-2px)}}
html body .cf176-send:disabled{background:#d9d6e0!important;color:#6f6a82!important;cursor:not-allowed;transform:none}
html body .cf176-back{min-height:60px;padding:0 24px;border:1.5px solid #cfcbdc;border-radius:999px;background:#fff;color:#29243c;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
html body .cf176-wait{margin:12px 0 0!important;font-size:16px;font-weight:700;text-align:center;color:#7a7590}
/* 確認画面 */
html body .cf176-dl{display:grid;margin:18px 0 24px!important;padding:0!important;border-top:1px solid var(--line)}
html body .cf176-dl>div{display:grid;grid-template-columns:220px 1fr;gap:16px;padding:14px 4px;border-bottom:1px solid var(--line)}
html body .cf176-dl dt{margin:0;font-size:16px;font-weight:700;color:var(--c2)}
html body .cf176-dl dd{margin:0;font-size:16px;line-height:1.7;color:#29243c;word-break:break-word}
html body .cf176-dl .is-empty{color:#a19cb4}
@media(max-width:760px){
  html body .cf176{padding:24px 18px;border-radius:18px}
  html body .cf176-row,html body .cf176-opts.is-c2,html body .cf176-opts.is-c3{grid-template-columns:1fr}
  html body .cf176-chips.is-c3{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .cf176-dl>div{grid-template-columns:1fr;gap:4px}
}
@media(max-width:600px){
  html body .cf176-steps li{font-size:14px;padding:8px 4px!important}
  html body .cf176-intro h3,html body .cf176-confirm h3{font-size:20px!important}
  html body .cf176-intro p,html body .cf176-label,html body .cf176-check,html body .cf176-opt span,html body .cf176-chip span,html body .cf176-dl dt,html body .cf176-dl dd,html body .cf176-wait{font-size:14px!important}
  html body .cf176 :is(input,select,textarea){font-size:16px!important}
  html body .cf176-next,html body .cf176-send{min-width:0;width:100%;font-size:16px}
  html body .cf176-back{width:100%}
}
html body .cf176 [hidden]{display:none!important}
html body .cf176-dl>div{display:grid!important;align-items:start!important;margin:0!important}html body .cf176-dl dt,html body .cf176-dl dd{align-self:start!important;order:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
/* PC幅（601px以上）は文字16px以上 */
@media(min-width:601px){html body .cf176-steps li b{width:28px;height:28px;font-size:16px}html body .cf176-req,html body .cf176-opt-badge,html body .cf176-label small{font-size:16px!important}}
/* 178：プルダウン（1つ選ぶ）と、複数選べるプルダウン */
html body .cf176 select{appearance:none;-webkit-appearance:none;padding-right:44px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%235d5776' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat!important;cursor:pointer}
html body .cf176-multi{position:relative}
html body .cf176-multi summary{display:flex;align-items:center;min-height:52px;padding:13px 44px 13px 14px;border:1.5px solid #cfcbdc;border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%235d5776' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat;font-size:16px;line-height:1.6;color:#a19cb4;cursor:pointer;list-style:none}
html body .cf176-multi summary::-webkit-details-marker{display:none}
html body .cf176-multi summary::before,html body .cf176-multi summary::after{display:none!important}
html body .cf176-multi.has-value summary{color:#29243c}
html body .cf176-multi[open] summary{border-color:var(--c);background-color:var(--bg)}
html body .cf176-multi-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:5;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:300px;overflow-y:auto;padding:10px;border:1.5px solid var(--c);border-radius:12px;background:#fff}
html body .cf176-mopt{display:flex;align-items:center;gap:10px;margin:0!important;padding:10px 12px;border-radius:8px;font-size:16px;font-weight:700;color:#29243c;cursor:pointer}
html body .cf176-mopt:hover{background:var(--bg)}
html body .cf176-mopt input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--c)}
@media(max-width:600px){html body .cf176-multi-list{grid-template-columns:1fr}html body .cf176-multi summary,html body .cf176-mopt{font-size:14px}}
/* 191：AIKATA 同意の文は中央に */
html body .cf176.is-aikata .cf176-agree{text-align:center}
html body .cf176.is-aikata .cf176-agree .cf176-check{justify-content:center}
html body .cf176.is-aikata .cf176-agree .cf176-err{text-align:center}
