/* レンタル用アカウントと異なることを注意喚起 */
.Signin__loginTitle::after {
  content: "\A※レンタルサービスのアカウントとは異なります";
  white-space: pre; /* 改行を有効にする */
  color: red;       /* 赤文字にする */
  display: block;   /* 行として扱う */
  margin-top: 4px;  /* 見た目上の余白を少し追加（任意） */
  font-size: 0.9em; /* 少し小さめに調整（任意） */
}

/* 連絡者名の補足 */
#title_field_contactId::after {
  content: "（連絡者の氏名）";
  font-weight: normal;      /* 補足なので太字を解除（必要に応じて） */
  color: #666;              /* 少し薄いグレーで補足っぽく */
  margin-left: 4px;         /* 「連絡先名」との間に少し余白 */
  font-size: 0.9em;         /* やや小さめの文字 */
}

/* 説明の補足 */
#title_field_description::after {
  content: "（延長・キャンセル・紛失の申請の場合、未入力のままお進みください）";
  font-weight: normal;      /* 通常文字に */
  color: #666;              /* 補足用にややグレー */
  margin-left: 6px;         /* 「詳細」との間に少し余白 */
  font-size: 0.9em;         /* 少し小さめの文字サイズ */
}

/* 各種同意事項の赤文字化 */
#title_field_cf_song_xin_hounikyanseruno_quri_xiaoshihadekimasen {
  color: red;
}
#title_field_cf_fen_shino_shen_qing_hou_qu_xiaoya_hui_xian_fu_jiuh{
  color: red;
}
#title_field_cf_opushonni_yingjite_bian_chang_liao_jinga_fa_shengs{
  color: red;
}
#title_field_cf_debaisuga_jiantsukattemo_bian_chang_liao_jinno_qu_{
  color: red;
}

/* 期限の非表示 */
#layoutContainer > div.Layout__layout2 > div > div > div:nth-child(2) > div.view_properties > div:nth-child(1) > div.Info__infoList.ticket_duedate{
  display:none;
}

/* チケット共通情報、詳細情報の非表示 */
#layoutContainer > div.Layout__layout2 > div > div > div:nth-child(2) > div.view_properties > div:nth-child(2){
  display:none;
}
#layoutContainer > div.Layout__layout2 > div > div > div:nth-child(2) > div.view_properties > div:nth-child(3){
  display:none;
}

/******************** FAQ見出し用 ********************/
h1.toc_anchors {
    position: relative;
    padding: .5em .7em;
    background-color: #005bac;
    color: #fff;
}

h1.toc_anchors::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #003f7a;
    content: '';
}

h2.toc_anchors {
  position: relative;
  padding: 12px 0 16px 28px; /* 左は四角分の余白 */
  font-weight: 700;
}

/* 左のブロック */
h2.toc_anchors::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #005bac;
}

h2.toc_anchors::before {
  box-shadow: 
    4px 4px 0 rgba(0,0,0,0.15);
}


/* 下のライン */
h2.toc_anchors::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: #005bac; 
}

/******************** このページについてウィジェット用 ********************/
.whb-support-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: #f7fafe;
  border: 1px solid #d9e7f5;
  border-radius: 6px;
  color: #4a5560;
  font-size: 13px;
  line-height: 1.8;
  box-sizing: border-box;
}

.whb-support-note p {
  margin: 0;
}

.whb-support-note__caution {
  display: inline-block;
  margin-top: 4px;
  color: #5f6b76;
  font-size: 12px;
}

/* PCでは控えめ、モバイルでは少しだけ詰める */
@media (max-width: 767px) {
  .whb-support-note {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .whb-support-note__caution {
    font-size: 11px;
  }
}


.whb-alert {
  margin: 0 0 24px;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
}

/* ヘッダー */
.whb-alert__header {
  padding: 10px 16px;
  font-weight: 600;
}

/* 本文 */
.whb-alert__body {
  padding: 12px 16px;
  background: #ffffff;
}

/* 通常状態（目立たせない） */
.whb-alert--normal {
  border: 1px solid #e3e8ee;
}

.whb-alert--normal .whb-alert__header {
  background: #f5f7fa;
  color: #5f6b76;
}

.whb-alert--normal .whb-alert__body {
  color: #6b7785;
  font-size: 13px;
}

/* 障害発生時（強調） */
.whb-alert--active {
  border: 1px solid #e5533d;
}

.whb-alert--active .whb-alert__header {
  background: #e5533d;
  color: #ffffff;
}

.whb-alert--active .whb-alert__body {
  background: #fff5f3;
  color: #333;
  font-weight: 500;
}

/* モバイル調整 */
@media (max-width: 767px) {
  .whb-alert {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .whb-alert__header {
    padding: 8px 12px;
  }

  .whb-alert__body {
    padding: 10px 12px;
  }
}
/******************** 重要なお知らせウィジェット用 ********************/
.whb-alert {
  margin: 0 0 24px;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
}

/* ヘッダー */
.whb-alert__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 600;
}

/* アイコン領域 */
.whb-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.whb-alert__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* タイトル */
.whb-alert__title {
  line-height: 1.4;
}

/* 本文 */
.whb-alert__body {
  padding: 12px 16px;
  background: #ffffff;
}

/* 通常状態（控えめ） */
.whb-alert--normal {
  border: 1px solid #e3e8ee;
}

.whb-alert--normal .whb-alert__header {
  background: #f5f7fa;
  color: #5f6b76;
}

.whb-alert--normal .whb-alert__body {
  color: #6b7785;
  font-size: 13px;
}

/* 障害発生時（強調） */
.whb-alert--active {
  border: 1px solid #e5533d;
}

.whb-alert--active .whb-alert__header {
  background: #e5533d;
  color: #ffffff;
}

.whb-alert--active .whb-alert__body {
  background: #fff5f3;
  color: #333333;
  font-weight: 500;
}

/* モバイル */
@media (max-width: 767px) {
  .whb-alert {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .whb-alert__header {
    padding: 8px 12px;
    gap: 6px;
  }

  .whb-alert__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .whb-alert__body {
    padding: 10px 12px;
  }
}
/******************** ナレッジベース誘導ウィジェット用 ********************/
.whb-faq-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.whb-faq-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #c7dcef;
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(21, 77, 135, 0.06);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.whb-faq-widget__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whb-faq-widget__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.whb-faq-widget__content {
  flex: 1 1 auto;
  min-width: 0;
}

.whb-faq-widget__title {
  margin: 0 0 6px;
  color: #0f5ea8;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.whb-faq-widget__text {
  color: #4f6172;
  font-size: 14px;
  line-height: 1.7;
}

.whb-faq-widget__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f5ea8;
  font-size: 30px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* hover / focus */
.whb-faq-link:hover .whb-faq-widget,
.whb-faq-link:focus .whb-faq-widget,
.whb-faq-link:focus-visible .whb-faq-widget {
  background: #f8fbff;
  border-color: #98bfdf;
  box-shadow: 0 8px 20px rgba(21, 77, 135, 0.12);
  transform: translateY(-2px);
}

.whb-faq-link:hover .whb-faq-widget__title,
.whb-faq-link:focus .whb-faq-widget__title,
.whb-faq-link:focus-visible .whb-faq-widget__title {
  color: #0b4f90;
}

.whb-faq-link:hover .whb-faq-widget__arrow,
.whb-faq-link:focus .whb-faq-widget__arrow,
.whb-faq-link:focus-visible .whb-faq-widget__arrow {
  color: #0b4f90;
  transform: translateX(5px);
}

/* active */
.whb-faq-link:active .whb-faq-widget {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(21, 77, 135, 0.10);
}

/* mobile */
@media (max-width: 767px) {
  .whb-faq-widget {
    gap: 12px;
    padding: 16px 18px;
    border-radius: 8px;
  }

  .whb-faq-widget__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .whb-faq-widget__title {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .whb-faq-widget__text {
    font-size: 12px;
    line-height: 1.6;
  }

  .whb-faq-widget__arrow {
    font-size: 24px;
  }
}
