@charset "UTF-8";
/* CSS Document */

/* =========================
   MGK FORM – 完全版CSS
   ========================= */

.mgk-form{
  --text:#0f172a;
  --muted:rgba(15,23,42,.6);
  --line:rgba(15,23,42,.12);
  --accent:#2563eb;
  --danger:#ef4444;

  max-width: 880px;
  margin: 0 auto;
  padding: 14px 12px 20px;
  color: var(--text);
  font-size: 14px;
}

/* ---------- header ---------- */
.mgk-form__head{
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.mgk-form__kicker{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 4px;
}

.mgk-form__title{
  font-size: clamp(18px,4.5vw,24px);
  font-weight: 900;
  margin: 0 0 6px;
}

.mgk-form__lead{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- rows ---------- */
.mgk-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mgk-label{
  font-weight: 700;
  line-height: 1.3;
}

.mgk-sub{
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

/* ---------- 必須マーク（＊のみ） ---------- */
.mgk-required{
  font-size: 0;
  margin-left: 4px;
  position: relative;
}

.mgk-required::before{
  content: "*";
  font-size: 14px;
  font-weight: 700;
  color: var(--danger);
}

/* ---------- inputs ---------- */
.mgk-form input,
.mgk-form select{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.18);
  font-size: 16px;
  box-sizing: border-box;
}

.mgk-form input:focus,
.mgk-form select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  outline: none;
}

.mgk-note{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- inline ---------- */
.mgk-inline{
  display: flex;
  align-items: center;
  gap: 8px;
}
.mgk-unit{
  font-weight: 700;
  color: var(--muted);
}

/* ---------- checkbox ---------- */
.mgk-form .wpcf7-list-item{
  display: block;
  margin: 4px 0;
}
.mgk-form input[type="checkbox"]{
  margin-right: 6px;
  accent-color: var(--accent);
}

/* ---------- accept ---------- */
.mgk-accept{
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.mgk-accept a{
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- submit ---------- */
.mgk-submit{
  padding-top: 14px;
  text-align: center;
}

.mgk-btn{
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg,#2563eb,#0ea5e9);
  cursor: pointer;
}

/* ---------- PC ---------- */
@media (min-width:768px){
  .mgk-row{
    grid-template-columns: 240px 1fr;
    gap: 14px;
  }
  .mgk-btn{
    max-width: 480px;
  }
}
