/* 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;
}

/* ---- 診断のページの中身（CH-1431） ----
   前は page-security-checker.php の中の style の要素に書いていたものを、ここへ移した。トップでも読む CSS なので、みな body の class で診断のページだけにする。
   - 地はほかのページ（一覧・記事）と同じ灰色。Cocoon の白い大きな箱（#main の白い地）は外す
   - 表の見出し（th）は紺の地に白い字（記事の本文の表と同じ・fcc-post.css）。style.css の .pb_simple_table th の青緑（!important・ほかのページでも使う）は消さずに、ここで上書きする
   - 表は本文の幅（960px まで）いっぱい・字は 15px（前は 80% の中の 80% で、字も小さかった） */
body.page-template-page-security-checker,
body.page-template-page-security-checker #container,
body.page-template-page-security-checker .content {
  background: #F3F4F1;
}
body.page-template-page-security-checker #main.main {
  margin: 0;
  padding: 40px 0 64px;
  background: none;
  border: 0;
  box-shadow: none;
}

/* 上の紺の枠 */
body.page-template-page-security-checker .sc-hero {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 28px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #14284b, #1d3a6b);
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 18px rgba(20, 40, 75, 0.18);
}
body.page-template-page-security-checker .sc-hero__lead {
  margin: 0 0 10px;
  font-size: 16px;
  color: #bcd0ee;
}
body.page-template-page-security-checker .sc-hero__catch {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.55;
}
body.page-template-page-security-checker .sc-hero__catch strong {
  color: #ffd24a;
}
body.page-template-page-security-checker .sc-hero__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #aebfd8;
}

/* 診断結果・この診断について：本文の幅は 960px まで・真ん中 */
body.page-template-page-security-checker #article .post_content {
  max-width: 960px;
  margin: 56px auto 0;
}
body.page-template-page-security-checker .post_content h3 {
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 2px solid #14202B;
  background: none;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: #14202B;
}
body.page-template-page-security-checker .post_content h3::before,
body.page-template-page-security-checker .post_content h3::after {
  content: none;
}
body.page-template-page-security-checker .tcd-pb-widget.widget2 {
  width: 100%;
  margin: 32px 0 0;
}

/* 表 */
body.page-template-page-security-checker .pb_simple_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
  color: #1B2A3F;
}
/* display: table-cell … style.css の 950px 以下の「表の枠は縦に積む」（dio と同じ）は、このページでは使わない。
   見出しの行（内容・判定した情報・診断）と中身が縦に離れて、どの値か分からなくなるため */
body.page-template-page-security-checker .pb_simple_table th,
body.page-template-page-security-checker .pb_simple_table td {
  display: table-cell;
  padding: 10px 14px;
  border: 1px solid #C5CED8;
  background: #fff;
  vertical-align: middle;
}
body.page-template-page-security-checker .pb_simple_table th {
  background: #1D2D44;
  border-color: #1D2D44;
  color: #fff !important;
  font-weight: 700;
  text-align: center;
}
/* 行の頭の見出し（SSL・機能など）は、記事の表の 1 列目と同じ薄い地に太字 */
body.page-template-page-security-checker .pb_simple_table th.text_center {
  background: #EEF3F8;
  border-color: #C5CED8;
  color: #1B2A3F !important;
}
/* 行の地は Cocoon のしま模様にしない（セルの地で決める） */
body.page-template-page-security-checker .pb_simple_table tr {
  background: transparent;
}
/* 表のいちばん上の行（「・SSL暗号化通信」などの小見出し）は表の外のように見せる（下の線だけ・ひな形の style 属性） */
body.page-template-page-security-checker .pb_simple_table tr:first-child > td {
  padding: 0 0 8px;
  background: transparent;
}
body.page-template-page-security-checker .pb_simple_table h4 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 700;
  color: #14202B;
}
body.page-template-page-security-checker .post_content blockquote {
  margin: 0 0 25px 0;
  padding: 27px 30px 27px 30px;
  font-size: 16px;
  background-color: #fafbfc;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 0px 0px #f2f2f2;
  position: relative;
}
body.page-template-page-security-checker .check_div {
  margin-top: 20px;
}
body.page-template-page-security-checker .text_center {
  text-align: center;
}

/* この診断について（前は style 属性の margin-top 200px・50px） */
body.page-template-page-security-checker .fcc-seccheck-about {
  margin-top: 24px;
}
body.page-template-page-security-checker .fcc-seccheck-about__list {
  margin: 20px 0 0;
  padding-left: 1.4em;
  line-height: 1.9;
}

@media (max-width: 767px) {
  body.page-template-page-security-checker #main.main {
    padding: 24px 0 48px;
  }
  body.page-template-page-security-checker .sc-hero {
    padding: 22px 16px;
  }
  body.page-template-page-security-checker .sc-hero__catch {
    font-size: 20px;
  }
  body.page-template-page-security-checker #article .post_content {
    margin-top: 40px;
  }
  body.page-template-page-security-checker .post_content h3 {
    font-size: 20px;
  }
  body.page-template-page-security-checker .pb_simple_table {
    font-size: 14px;
  }
  body.page-template-page-security-checker .pb_simple_table th,
  body.page-template-page-security-checker .pb_simple_table td {
    padding: 8px 8px;
  }
  body.page-template-page-security-checker .post_content blockquote {
    padding: 18px 18px;
    font-size: 15px;
  }
}
