/* my-dmm-search-form.css */

/* フォームグループ間のマージンを設定 */
.dmm-form-group {
  margin-bottom: 12px; /* お好みの数値に変更してください */
}

/* ラベルとフォーム要素の間隔を詰める・空けるなど */
.dmm-form-group label {
  display: inline-block; /* 横並びにする場合など */
  margin-bottom: 4px;    /* ラベルと入力要素の間隔 */
}
#affiliate-update-form input[type="text"] {
  width: 200px !important;
  margin-right: 10px !important; /* テキストボックスとボタンの間隔 */
}

#affiliate-update-form input[type="submit"] {
  width: auto !important;        /* テーマの幅100%指定を上書き */
  max-width: none !important;    /* 横幅の制限を解除 */
  display: inline-block !important; /* 横並びに */
  padding: 5px 10px !important;  /* ボタンを小さめに */
  font-size: 14px !important;
  margin: 0 !important;          /* 不要な余白をリセット */
}


/* スケジュールテーブルの基本設定（幅指定なし） */
.schedule-table {
  display: inline-table !important;  /* ブロックでなくインラインテーブル化 */
  width: auto !important;           /* 100%指定を上書き */
  margin: 0 auto;                   /* 必要に応じて中央寄せ */
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;               /* 内容に合わせる */
}

/* ヘッダー部分のスタイル */
.schedule-header {
  background-color: #2f3c74;
  color: #fff;
  padding: 5px;
  text-align: center;
}

/* 各セルのスタイル */
.schedule-cell {
  border: 1px solid #ccc;
  padding: 1px;           /* セル内の余白を極力小さく */
  font-size: 10px;        /* 小さめのフォントサイズ */
  line-height: 1;         /* 行間を最小限に */
  text-align: center;
  cursor: pointer;
}

/* チェックボックスは非表示 */
.schedule-cell input[type="checkbox"] {
  display: none;
}

/* 基本（モバイル向け） */
.schedule-table {
  width: auto;           /* 内容に合わせた幅 */
  display: inline-table;  /* インラインテーブルにして、内容幅に合わせる */
  table-layout: auto;     /* 内容に合わせる */
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
}

/* PCの場合（幅769px以上）：横幅を100%にし、固定レイアウトで均等に分配 */
@media (min-width: 769px) {
  .schedule-table {
    width: 100% !important;
    display: table !important;
    table-layout: fixed !important;
  }
  .schedule-table td.schedule-cell {
    font-size: 16px;   /* フォントサイズ16px */
    padding: 8px;      /* パディングも大きく */
    line-height: 1.2;
  }
}

/* スマホの場合（幅768px以下）：コンパクトに */
@media (max-width: 768px) {
  .schedule-table {
    width: auto;
    display: inline-table;
    table-layout: auto;
  }
  .schedule-table td.schedule-cell {
    font-size: 10px;
    padding: 3px;
    line-height: 1;
  }
}


/* 日付を非表示 */
time.entry-date,
time.date,
time.published,
time.updated {
    display: none !important;
}

/* 時計アイコンを非表示 */
.fa.fa-clock-o {
    display: none !important;
}

/* 間隔を詰める（必要に応じて調整） */
h1 {
    margin-bottom: 5px !important;
}
/* 著者名を非表示 */
span.author-name,
span.fn {
    display: none !important;
}

/* 著者リンクとその子要素を非表示 */
.author-link,
.post-author,
.vcard {
    display: none !important;
}

/* 著者情報全体とその子要素を非表示 */
.author-info,
.fa.fa-pencil,
.author-link,
.post-author,
.vcard {
    display: none !important;
}

/* 公開日・更新日とその子要素を非表示 */
.entry-date,
.published,
.fa.fa-history,
.updated {
    display: none !important;
}

.x-sensyuken-schedule-table {
    border-collapse: collapse;
    margin-bottom: 20px;
}
.schedule-header {
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px;
}
.schedule-cell {
    border: 1px solid #ddd;
    width: 60px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}
.schedule-cell input[type="checkbox"] {
    display: none;
}
.time-label {
    display: block;
    line-height: 40px;
}