@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* App M&A contact forms */
.wpcf7 .amc-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 26px;
  width:100%;
  margin-top:28px;
}
.wpcf7 .amc-form-field{
  min-width:0;
  margin:0!important;
  color:#0b1f3a;
  font-size:.95rem;
  font-weight:800;
  line-height:1.65;
}
.wpcf7 .amc-form-field--wide{
  grid-column:1/-1;
}
.wpcf7 .amc-form-field label{
  display:block;
}
.wpcf7 .amc-required{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  margin-left:6px;
  padding:0 7px;
  border-radius:999px;
  background:#eaf2ff;
  color:#2563eb;
  font-size:.68rem;
  font-weight:900;
  vertical-align:middle;
}
.wpcf7 .amc-form-field .wpcf7-form-control-wrap{
  display:block;
  margin-top:8px;
}
.wpcf7 .amc-form-field input[type="text"],
.wpcf7 .amc-form-field input[type="email"],
.wpcf7 .amc-form-field input[type="tel"],
.wpcf7 .amc-form-field input[type="url"],
.wpcf7 .amc-form-field input[type="number"],
.wpcf7 .amc-form-field select,
.wpcf7 .amc-form-field textarea{
  width:100%;
  max-width:none;
  min-height:52px;
  margin:0;
  padding:12px 14px;
  border:1px solid #cbd9e7;
  border-radius:12px;
  background:#fff;
  color:#162c45;
  font:600 .95rem/1.55 "Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  box-shadow:0 7px 18px rgba(11,31,58,.035);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.wpcf7 .amc-form-field textarea{
  min-height:170px;
  resize:vertical;
}
.wpcf7 .amc-form-field input:focus,
.wpcf7 .amc-form-field select:focus,
.wpcf7 .amc-form-field textarea:focus{
  outline:none;
  border-color:#2563eb;
  background:#fbfdff;
  box-shadow:0 0 0 4px rgba(37,99,235,.11),0 10px 24px rgba(11,31,58,.06);
}
.wpcf7 .amc-form-field fieldset,
.wpcf7 fieldset.amc-form-field{
  padding:18px 20px 20px;
  border:1px solid #d7e3ef;
  border-radius:14px;
  background:#f8fbff;
}
.wpcf7 .amc-form-field legend{
  padding:0 8px;
  color:#0b1f3a;
  font-weight:900;
}
.wpcf7 .amc-form-field--wide .wpcf7-checkbox,
.wpcf7 .amc-form-field--wide .wpcf7-radio{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
  margin-top:4px;
}
.wpcf7 .wpcf7-list-item{
  margin:0;
}
.wpcf7 .wpcf7-list-item label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:9px 11px;
  border:1px solid #dbe5ef;
  border-radius:10px;
  background:#fff;
  color:#344a62;
  font-size:.88rem;
  font-weight:700;
  line-height:1.55;
  cursor:pointer;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"]{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color:#2563eb;
}
.wpcf7 .amc-form-consent{
  display:grid;
  gap:10px;
  margin-top:26px;
  padding:20px;
  border:1px solid #d7e3ef;
  border-radius:14px;
  background:#f8fbff;
  color:#40546c;
  font-size:.88rem;
  line-height:1.7;
}
.wpcf7 .amc-form-consent .wpcf7-list-item label{
  background:transparent;
  border:0;
  padding:0;
}
.wpcf7 .amc-form-consent a{
  color:#1d4ed8;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.wpcf7 .amc-form-submit{
  margin:24px 0 0!important;
}
.wpcf7 .amc-form-submit input[type="submit"]{
  width:100%;
  min-height:58px;
  margin:0;
  padding:14px 22px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#0b1f3a,#2563eb 62%,#0ea5c6);
  color:#fff;
  font-size:1rem;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 16px 34px rgba(37,99,235,.20);
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.wpcf7 .amc-form-submit input[type="submit"]:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 40px rgba(37,99,235,.26);
}
.wpcf7 .amc-form-submit input[type="submit"]:disabled{
  opacity:.48;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.wpcf7 form .wpcf7-response-output{
  margin:20px 0;
  padding:14px 16px;
  border-radius:12px;
  font-weight:700;
}
@media(max-width:720px){
  .wpcf7 .amc-form-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .wpcf7 .amc-form-field--wide{
    grid-column:auto;
  }
  .wpcf7 .amc-form-field--wide .wpcf7-checkbox,
  .wpcf7 .amc-form-field--wide .wpcf7-radio{
    grid-template-columns:1fr;
  }
  .wpcf7 .amc-form-field fieldset,
  .wpcf7 fieldset.amc-form-field,
  .wpcf7 .amc-form-consent{
    padding:16px;
  }
}
