/* CH-1099 セキュリティー診断のフォーム（inc/seccheck.php の fcc_seccheck_form()）。トップの右の枠と診断のページで同じもの。 */

.fcc-seccheck-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.fcc-seccheck-form__label {
  font-size: 13px;
  font-weight: 700;
}

.fcc-seccheck-form__row {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.fcc-seccheck-form .fcc-seccheck-form__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #C9CFC8;
  border-radius: 12px;
  background: #fff;
  color: #14202B;
  font-size: 16px;
  box-sizing: border-box;
}

.fcc-seccheck-form .fcc-seccheck-form__button {
  flex: none;
  height: 52px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #2271B1;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.fcc-seccheck-form .fcc-seccheck-form__button:hover {
  background: #135E96;
}

.fcc-seccheck-form .fcc-seccheck-form__input:focus-visible,
.fcc-seccheck-form .fcc-seccheck-form__button:focus-visible {
  outline: 3px solid #72AEE6;
  outline-offset: 2px;
}

/* トップの右の枠（濃い地） */
.fcc-seccheck-form--front .fcc-seccheck-form__label {
  color: #C3CBD3;
}

/* 診断のページ（白い地・dio の #security-check-form と同じく真ん中に 60%） */
.fcc-seccheck-form--page {
  width: 60%;
  margin: 40px auto 0;
}

.fcc-seccheck-form--page .fcc-seccheck-form__label {
  color: #3A4754;
}

/* フォームの下の説明（dio の style.css の .security-check-form-msg と同じ） */
.security-check-form-msg {
  text-align: center;
  margin-top: 32px;
}

.fcc-seccheck-page__title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .fcc-seccheck-form--page {
    width: 100%;
  }

  .fcc-seccheck-form__row {
    flex-direction: column;
  }

  .fcc-seccheck-form .fcc-seccheck-form__button {
    width: 100%;
  }

  .fcc-seccheck-page__title {
    font-size: 21px;
  }
}

/* 診断のページ（page-security-checker.php）の幅を、ヘッダーと同じ 1200px（左右 24px）に（Cocoon の 1256px より広く見えていた・担当者さん 11/8・CH-1405） */
body.page-template-page-security-checker .content-in {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fcc-gutter, 24px);
  padding-right: var(--fcc-gutter, 24px);
}
body.page-template-page-security-checker #main.main {
  width: 100%;
  box-sizing: border-box;
}
