@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template: cocoon-master
Version: 1.1.3
*/

/* =================================================
   共通デザイン定義（全ページ共通）
================================================= */

.page-id-25 .entry-content,
.page-id-32 .entry-content,
.page-id-552 .entry-content,
.page-id-94 .entry-content,
.page-id-556 .entry-content {
  font-size: 15px;
  line-height: 1.8;
}



.caption-box,
.is-style-blank-box-orange {
  background: #fff7ee;
  border-color: #fc9700;
}

.mousikomi,
.page-id-25 .scrollable-table button,
.page-id-94 .wpcf7-submit,
.page-id-556 .wpcf7-submit {
  background: #fc9700;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mousikomi:hover,
.page-id-25 .scrollable-table button:hover,
.page-id-94 .wpcf7-submit:hover,
.page-id-556 .wpcf7-submit:hover {
  background: #e68600;
}


.scrollable-table,
.revtable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =================================================
   page-id-25：試験日程テーブル（画面幅追従型）
================================================= */

.page-id-25 .scrollable-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
}

/* テーブル本体 */
.page-id-25 #schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

/* 見出し */
.page-id-25 thead th {
  background: #fc9700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

/* セル共通 */
.page-id-25 th,
.page-id-25 td {
  white-space: nowrap;
  vertical-align: middle;
}

/* 1列目（日程）は左寄せ */
.page-id-25 tbody td:first-child {
  text-align: center;
  font-weight: 500;
}

/* 残席 */
.page-id-25 tbody td:nth-child(4) {
  font-weight: bold;
}

/* hover */
.page-id-25 tbody tr:hover {
  background: #fff4e6;
}

/* 申込ボタン */
.page-id-25 .scrollable-table button {
  white-space: nowrap;
  border-radius: 4px;
}
.page-id-25 th,
.page-id-25 td {
  text-align: center;   /* ← これを追加 */
}

/* =================================================
   可変レイアウト（ここが肝）
================================================= */

@media (max-width: 1024px) {

  .page-id-25 #schedule-table {
    font-size: clamp(11px, 2.8vw, 14px);
  }

  .page-id-25 th,
  .page-id-25 td {
    padding: clamp(4px, 1.5vw, 10px)
             clamp(6px, 2vw, 14px);
  }

  .page-id-25 .scrollable-table button {
    font-size: clamp(11px, 2.6vw, 14px);
    padding: clamp(4px, 1.2vw, 8px)
             clamp(8px, 2vw, 16px);
  }
}
/* =================================================
   page-id-32 / 552：受験科目選択テーブル
   （page-id-25 日時選択と完全統一）
================================================= */

/* Cocoon の横幅制限を解除 */
.page-id-32 #content-in,
.page-id-32 .main,
.page-id-552 #content-in,
.page-id-552 .main {
  max-width: none;
}

/* スクロールコンテナ */
.page-id-32 .scrollable-table,
.page-id-552 .scrollable-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
}

/* テーブル本体 */
.page-id-32 table,
.page-id-552 table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

/* ヘッダ */
.page-id-32 thead th,
.page-id-552 thead th {
  background: #fc9700;
  color: #fff;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}

/* セル共通 */
.page-id-32 th,
.page-id-32 td,
.page-id-552 th,
.page-id-552 td {
  padding: 10px 12px;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  font-size: 14px;
}

/* 1列目（科目名）は左寄せ */
.page-id-32 tbody td:first-child,
.page-id-552 tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

/* hover */
.page-id-32 tbody tr:hover,
.page-id-552 tbody tr:hover {
  background: #fff4e6;
}

/* 申込ボタン */
.page-id-32 .mousikomi,
.page-id-552 .mousikomi {
  background: #fc9700;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.page-id-32 .mousikomi:hover,
.page-id-552 .mousikomi:hover {
  background: #e68600;
}


@media (max-width: 1024px) {

  .page-id-32 table,
  .page-id-552 table {
    font-size: clamp(11px, 2.8vw, 14px);
  }

  .page-id-32 th,
  .page-id-32 td,
  .page-id-552 th,
  .page-id-552 td {
    padding: clamp(4px, 1.5vw, 10px)
             clamp(6px, 2vw, 14px);
  }

  .page-id-32 .mousikomi,
  .page-id-552 .mousikomi {
    font-size: clamp(11px, 2.6vw, 14px);
    padding: clamp(4px, 1.2vw, 8px)
             clamp(8px, 2vw, 16px);
  }
}
/* =================================================
   page-id-32 / 552：受験科目アコーディオン
================================================= */

.page-id-32 details.qual-acc,
.page-id-552 details.qual-acc {
  margin-bottom: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.page-id-32 details.qual-acc > summary,
.page-id-552 details.qual-acc > summary {
  padding: 14px 18px;
  background: #fc9700;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.page-id-32 details.qual-acc > summary::-webkit-details-marker,
.page-id-552 details.qual-acc > summary::-webkit-details-marker {
  display: none;
}

.page-id-32 details.qual-acc > summary::after,
.page-id-552 details.qual-acc > summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
}

.page-id-32 details.qual-acc[open] > summary,
.page-id-552 details.qual-acc[open] > summary {
  background: #e68600;
}

.page-id-32 details.qual-acc[open] > summary::after,
.page-id-552 details.qual-acc[open] > summary::after {
  content: "－";
}

.page-id-32 details.qual-acc > *:not(summary),
.page-id-552 details.qual-acc > *:not(summary) {
  padding: 14px 16px 18px;
  background: #fff;
}
/* =================================================
   page-id-94 / 556：申込者情報入力ページ（共通）
================================================= */

.page-id-94 .wpcf7,
.page-id-556 .wpcf7 {
  line-height: 1.6;
}

/* -------------------------------------------------
   p由来の余白制御（CF7対策）
------------------------------------------------- */
.page-id-94 .wpcf7 p,
.page-id-556 .wpcf7 p {
  margin: 0 0 14px;
  padding: 0;
}

/* -------------------------------------------------
   フィールド単位
------------------------------------------------- */
.page-id-94 .field,
.page-id-556 .field {
  margin-bottom: 14px;
}

/* ラベル行 */
.page-id-94 .field .label,
.page-id-556 .field .label {
  margin-bottom: 4px;
  line-height: 1.4;
}

/* 必須バッジ */
.page-id-94 .req,
.page-id-556 .req {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: #ff9f2d;
  border-radius: 12px;
  white-space: nowrap;
  vertical-align: middle;
}

/* strong は装飾のみ */
.page-id-94 .field .label strong,
.page-id-94 .wpcf7 strong,
.page-id-556 .field .label strong,
.page-id-556 .wpcf7 strong {
  font-weight: 600;
}

/* -------------------------------------------------
   入力欄
------------------------------------------------- */
.page-id-94 .wpcf7 input,
.page-id-94 .wpcf7 textarea,
.page-id-94 .wpcf7 select,
.page-id-556 .wpcf7 input,
.page-id-556 .wpcf7 textarea,
.page-id-556 .wpcf7 select {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.page-id-94 .wpcf7 textarea,
.page-id-556 .wpcf7 textarea {
  min-height: 90px;
}

.page-id-94 .wpcf7 input:focus,
.page-id-94 .wpcf7 textarea:focus,
.page-id-94 .wpcf7 select:focus,
.page-id-556 .wpcf7 input:focus,
.page-id-556 .wpcf7 textarea:focus,
.page-id-556 .wpcf7 select:focus {
  border-color: #fc9700;
  outline: none;
}

/* -------------------------------------------------
   複数input 行間
------------------------------------------------- */
.page-id-94 .wpcf7-form-control-wrap,
.page-id-556 .wpcf7-form-control-wrap {
  display: block;
}

.page-id-94 .wpcf7-form-control-wrap + .wpcf7-form-control-wrap,
.page-id-556 .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
  margin-top: 6px;
}

/* -------------------------------------------------
   checkbox / radio
------------------------------------------------- */
.page-id-94 .wpcf7 input[type="checkbox"],
.page-id-94 .wpcf7 input[type="radio"],
.page-id-556 .wpcf7 input[type="checkbox"],
.page-id-556 .wpcf7 input[type="radio"] {
  display: inline-block;
  width: auto;
  margin: 0 6px 0 0;
  vertical-align: middle;
}

/* -------------------------------------------------
   CF7 標準 checkbox
------------------------------------------------- */
.page-id-94 .wpcf7-list-item,
.page-id-556 .wpcf7-list-item {
  display: inline-block;
  margin-right: 16px;
}

.page-id-94 .wpcf7-list-item label,
.page-id-556 .wpcf7-list-item label {
  display: inline-block;
  margin: 0;
}

.page-id-94 .wpcf7-list-item-label,
.page-id-556 .wpcf7-list-item-label {
  vertical-align: middle;
}

/* -------------------------------------------------
   独自 checkbox
------------------------------------------------- */
.page-id-94 .cf7-check label,
.page-id-556 .cf7-check label {
  display: inline-flex;
  align-items: center;
  line-height: 1.6;
}

.page-id-94 .cf7-check br,
.page-id-556 .cf7-check br {
  display: none;
}

.page-id-94 .cf7-check p,
.page-id-556 .cf7-check p {
  margin: 0;
}

.page-id-94 .cf7-check label + label,
.page-id-556 .cf7-check label + label {
  margin-top: 8px;
}

/* -------------------------------------------------
   acceptance
------------------------------------------------- */
.page-id-94 .cf7-accept,
.page-id-556 .cf7-accept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}

.page-id-94 .cf7-accept br,
.page-id-556 .cf7-accept br {
  display: none;
}

.page-id-94 .cf7-accept input[type="checkbox"],
.page-id-556 .cf7-accept input[type="checkbox"] {
  margin: 0;
}

/* -------------------------------------------------
   補足文
------------------------------------------------- */
.page-id-94 .field small,
.page-id-556 .field small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* -------------------------------------------------
   メール案内
------------------------------------------------- */
.page-id-94 .mailannounce,
.page-id-556 .mailannounce {
  margin: 16px 0 20px;
  padding: 10px 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.page-id-94 .mailannounce p,
.page-id-556 .mailannounce p {
  margin: 0 0 6px;
}

.page-id-94 .mailannounce ul,
.page-id-556 .mailannounce ul {
  margin: 0 0 0 1.2em;
  padding: 0;
}

.page-id-94 .mailannounce li,
.page-id-556 .mailannounce li {
  margin: 2px 0;
}

.page-id-94 .mailannounce code,
.page-id-556 .mailannounce code {
  background: #f5f5f5;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 13px;
}

/* -------------------------------------------------
   セクション間隔
------------------------------------------------- */
.page-id-94 .school,
.page-id-556 .school {
  margin: 16px 0;
}

.page-id-94 .shokuin,
.page-id-556 .shokuin {
  margin: 6px 0 20px;
}

.page-id-94 .shokuin p,
.page-id-556 .shokuin p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.page-id-94 .waribi,
.page-id-556 .waribi {
  margin: 24px 0;
}

/* -------------------------------------------------
   送信ボタン
------------------------------------------------- */
.page-id-94 .wpcf7-submit,
.page-id-556 .wpcf7-submit {
  margin-top: 16px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 24px;
  background: #fc9700;
  color: #fff;
  border: none;
}

.page-id-94 .wpcf7-submit:hover,
.page-id-556 .wpcf7-submit:hover {
  background: #e68600;
}

.page-id-94 .wpcf7-submit:disabled,
.page-id-556 .wpcf7-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* -------------------------------------------------
   スマホ
------------------------------------------------- */
@media screen and (max-width: 480px) {

  .page-id-94 .wpcf7 p,
  .page-id-556 .wpcf7 p {
    margin-bottom: 12px;
  }

  .page-id-94 .req,
  .page-id-556 .req {
    font-size: 10px;
    padding: 2px 6px;
  }

  .page-id-94 .wpcf7-submit,
  .page-id-556 .wpcf7-submit {
    width: 100%;
  }
}

/* =================================================
   page-id-25：PC表示時の申込ボタンを大きくする
================================================= */
@media (min-width: 1025px) {

  .page-id-25 .scrollable-table button {
    font-size: 15px;
    padding: 10px 22px;
    min-width: 90px;
  }

}
/* ===== reCAPTCHA 注意文を完全に「注記」扱いにする ===== */
.wpcf7 .recaptcha-note {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #888 !important;
  border: none !important;
  background: none !important;
}

/* 中の要素が勝手に主張するのを完全封殺 */
.wpcf7 .recaptcha-note *,
.wpcf7 .recaptcha-note br {
  color: #888 !important;
  font-weight: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}
