/* ============================
   キャスト個別ページ用 CSS
============================ */

/* レイアウト全体 */
.cast-profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 2em;
}

.cast-main-image {
  flex: 1 1 45%;
  max-width: 45%;
  order: 1;
}

.cast-profile-info {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  order: 2;
}

/* サムネイル */
.cast-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cast-thumbnails .thumb-image {
  width: 60px;
  height: auto;
  border: 2px solid transparent;
  cursor: pointer;
}

.cast-thumbnails .thumb-image.active,
.cast-thumbnails .thumb-image:hover {
  border-color: #d00;
}

/* 名前・SNS・ふりがな */
.cast-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3em;
}

.cast-furigana {
  font-size: 1.1em;
  color: #888;
}

.cast-name {
  font-size: 2em;
  font-weight: bold;
  color: #c00;
}

.cast-sns-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 0.5em;
  font-size: 1.3em;
}

.cast-sns-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cast-sns-icons i {
  padding: 0.4em;
  border-radius: 0.5em; /* ← 少しだけ四角くする */
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* ホバー時：少し浮く＋強調 */
.cast-sns-icons a:hover {
  transform: translateY(-2px);
}
.cast-sns-icons a:hover i {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ブランドカラー */
.cast-sns-icons i.fa-x-twitter { color: #1da1f2; }
.cast-sns-icons i.fa-instagram { color: #e1306c; }
.cast-sns-icons i.fa-tiktok { color: #000000; }
.cast-sns-icons i.fa-line { color: #00c300; }


/* ブランドカラー適用 */
.cast-sns-icons i.fa-x-twitter {
  color: #000;
  border-color: #000;
}
.cast-sns-icons i.fa-instagram {
  color: #e1306c;
  border-color: #e1306c;
}
.cast-sns-icons i.fa-tiktok {
  color: #000000;
  border-color: #000000;
}
.cast-sns-icons i.fa-line {
  color: #00c300;
  border-color: #00c300;
}



/* プロフィール表 */
.cast-profile-table table {
  width: 100%;
  border-collapse: collapse;
}

.cast-profile-table th {
  text-align: left;
  width: 6em;
  padding: 5px 10px;
  background: #fee;
  color: #900;
}

.cast-profile-table td {
  padding: 5px 10px;
  background: #fff;
  border-bottom: 1px dotted #ccc;
}

/* 説明欄 */
.cast-description {
  background: #fef4f4;
  border: 2px solid #f99;
  padding: 15px;
  white-space: pre-wrap;
}

.cast-description h2 {
  font-size: 1.2em;
  color: #c00;
  border-bottom: 1px solid #f99;
  margin-bottom: 0.5em;
}
/* 出勤スケジュール全体 */
.cast-schedule {
  margin-top: 2em;
}

/* カレンダー本体 */
.krc_calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.krc_calendar dl {
  width: 100px;
  border: 2px solid #d00;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  overflow: hidden;
  font-size: 0.95em;
  flex: 1 0 auto;
}

.krc_calendar dt {
  background: #d00;
  color: #fff;
  font-weight: bold;
  padding: 5px 0;
  font-size: 0.9em;
}

.krc_calendar dt a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.krc_calendar dd {
  padding: 8px 0;
  color: #000;
  font-size: 0.95em;
  background: #fff;
}

/* モバイル対応 */
@media screen and (max-width: 600px) {
  .krc_calendar {
    justify-content: center;
  }

  .krc_calendar dl {
    width: 45%;
    margin-bottom: 10px;
  }
}
/* スケジュール */
.cast-schedule {
  margin-top: 2em;
}

.cast-schedule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cast-schedule-item {
  background: #fff;
  border: 2px solid #d00;
  text-align: center;
  width: 100px;
  padding: 8px 6px;
  font-size: 0.9em;
  border-radius: 4px;
  flex: 1 1 auto;
}

.cast-schedule-date {
  font-weight: bold;
  background: #d00;
  color: #fff;
  padding: 4px;
  margin-bottom: 4px;
}

.cast-schedule-time {
  color: #000;
}

/* オプションブロック */
.cast-options {
  background: #fff0f0;
  padding: 15px;
  border: 2px solid #f88;
  margin-top: 2em;
}

.cast-options h2 {
  color: #d00;
  margin-bottom: 10px;
}

.option-table {
  width: 100%;
  border-collapse: collapse;
}

.option-table td {
  padding: 6px 10px;
  border-bottom: 1px dotted #ccc;
  vertical-align: top;
}

/* 動画ブロック */
.cast-video {
  background: #f7f7ff;
  border: 2px solid #99f;
  padding: 20px;
  margin: 20px 0;
}

.cast-video h2 {
  color: #3366cc;
  margin-bottom: 10px;
}

.cast-video h3 {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 8px;
}

.video-caption {
  font-size: 0.95em;
  color: #555;
  margin-top: 8px;
}

/* コメント */
.cast-comment,
.manager-comment {
  border: 2px solid #d32d25;
  padding: 1.2em;
  margin-top: 1.5em;
  border-radius: 8px;
  background: #fff8f8;
  color: #333;
  line-height: 1.6;
}

/* ============================
   スマホ用 レスポンシブ対応
============================ */
@media screen and (max-width: 768px) {
  .cast-profile-header {
    flex-direction: column;
  }

  .cast-main-image,
  .cast-profile-info {
    max-width: 100%;
    width: 100%;
  }

  .cast-details {
    align-items: center;
    text-align: center;
    margin-bottom: 1em;
  }

  .cast-sns-icons {
    justify-content: center;
    margin-bottom: 1em;
  }

  .cast-thumbnails {
    justify-content: center;
  }

  .cast-schedule,
  .cast-options,
  .cast-video,
  .cast-comment,
  .manager-comment {
    width: 100%;
    max-width: 100%;
  }
}
.krc_calendar dl,
.krc_calendar dt,
.krc_calendar dd {
  text-align: center !important;
}

.krc_calendar dt a {
  display: block;
  width: 100%;
  text-align: center;
}
.cast-schedule-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cast-schedule-item {
  width: 13%;
  background-color: #fff0f5;
  text-align: center;
  padding: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cast-schedule-date {
  background-color: red;
  color: white;
  font-weight: bold;
  padding: 4px 0;
}

.cast-schedule-time {
  padding: 8px 4px;
  font-size: 0.9rem;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-booked,
.inquiry {
  font-weight: bold;
  display: inline-block;
}