/* レンタル用アカウントと異なることを注意喚起 */
.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_cf_duan_mo_fan_hao::after {
  content: "（tspから始まる番号）";
  font-weight: normal;      /* 補足なので太字を解除（必要に応じて） */
  color: red;              /* 赤文字にする */
  margin-left: 4px;         /* 「連絡先名」との間に少し余白 */
  font-size: 0.9em;         /* やや小さめの文字 */
}

/* チケット共通情報、詳細情報の非表示 */
#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: #000000;
    color: #fff;
}

h1.toc_anchors::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #333333;
    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: #000000;
}

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: #000000; 
}

/******************** お知らせウィジェット用 ********************/
.wifibox-notice-section{
  margin:40px 0;
}

/* 見出し */

.notice-heading{
  font-size:24px;
  font-weight:700;
  margin-bottom:16px;
  color:#333;
}


/* お知らせウィジェット */

.wifibox-notice-widget {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #eb5470;
  border-radius: 8px;
  padding: 36px 48px;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.notice-icon {
  flex-shrink: 0;
}

.notice-icon img {
  width: 40px;
  height: auto;
}

.notice-content {
  flex: 1;
}

.notice-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}

.notice-date {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
}


/* スマホ対応 */

@media (max-width:768px){

.notice-heading{
  font-size:20px;
}

.wifibox-notice-widget{
  padding:20px;
  gap:14px;
}

.notice-icon img{
  width:28px;
}

.notice-text{
  font-size:16px;
}

.notice-date{
  font-size:14px;
  margin-top:18px;
}

}



.wifibox-tutorial-section {
  margin: 40px 0;
}

.tutorial-heading {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #243b5a;
}

.tutorial-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.tutorial-list {
  display: flex;
  gap: 32px;
  width: max-content;
  padding-bottom: 8px;
}

.tutorial-card {
  flex: 0 0 calc((100vw - 160px) / 2);
  max-width: 690px;
  min-width: 320px;
  scroll-snap-align: start;
}

.tutorial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.tutorial-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tutorial-title {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #3c4654;
}

/* タブレット */
@media (max-width: 1024px) {
  .tutorial-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .tutorial-list {
    gap: 24px;
  }

  .tutorial-card {
    flex: 0 0 78vw;
    min-width: 300px;
    max-width: 640px;
  }

  .tutorial-title {
    font-size: 20px;
    margin-top: 14px;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .wifibox-tutorial-section {
    margin: 32px 0;
  }

  .tutorial-heading {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .tutorial-list {
    gap: 16px;
  }

  .tutorial-card {
    flex: 0 0 88vw;
    min-width: 260px;
    max-width: none;
  }

  .tutorial-title {
    font-size: 18px;
    margin-top: 12px;
  }
}


/******************** ポータル説明ウィジェット用 ********************/
.wifibox-support-intro-widget {
  width: 100%;
  box-sizing: border-box;
  background: #f7f9fc;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 0 0 32px;
}

.support-intro-content {
  width: 100%;
}

.support-intro-text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.support-intro-text:last-of-type {
  margin-bottom: 14px;
}

.support-intro-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .wifibox-support-intro-widget {
    padding: 20px;
    margin: 0 0 24px;
  }

  .support-intro-text {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .support-intro-note {
    font-size: 13px;
    line-height: 1.7;
  }
}

/******************** KB誘導ウィジェット用 ********************/
.wifibox-kb-widget-alt {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  background: #f8fbff;
  border: 1px solid #d7e5f2;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 0 0 32px;
}

.kb-alt-icon {
  flex: 0 0 auto;
  width: 64px;
}

.kb-alt-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.kb-alt-content {
  flex: 1;
  min-width: 0;
}

.kb-alt-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #21364d;
}

.kb-alt-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #425466;
}

/* ボタン */

.kb-alt-button {
  display: inline-block;
  padding: 14px 26px;
  background: #1f6fb2;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;

  /* 立体感 */
  box-shadow: 0 5px 14px rgba(31, 111, 178, 0.28);

  /* アニメーション */
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* ホバー時（浮き上がる） */

.kb-alt-button:hover {
  background: #185c93;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31, 111, 178, 0.35);
}

/* クリック時（沈む） */

.kb-alt-button:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(31, 111, 178, 0.22);
}

/* キーボードフォーカス */

.kb-alt-button:focus {
  outline: 2px solid #7db7e8;
  outline-offset: 3px;
}

/* スマホ対応 */

@media (max-width: 768px) {

  .wifibox-kb-widget-alt {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }

  .kb-alt-icon {
    width: 48px;
  }

  .kb-alt-title {
    font-size: 20px;
  }

  .kb-alt-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .kb-alt-button {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
    font-size: 14px;
  }

}

/******************** CTAウィジェット用 ********************/
.wifibox-cta-widget {
  display: flex;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.cta-card {
  flex: 1 1 280px;
  min-width: 260px;
  background: #f8f8f8;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-sizing: border-box;
  color: #243b5a;
  position: relative;
}

.cta-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #111111;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.cta-card-link {
  display: block;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
  cursor: pointer;
}

.cta-card-link:hover {
  background: #ffffff;
  border-color: #c8d2dc;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.cta-card-link:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.cta-card-link:focus {
  outline: 2px solid #7aa7d9;
  outline-offset: 3px;
}

.cta-card-static {
  cursor: default;
}

.cta-icon {
  width: 48px;
  margin-bottom: 22px;
}

.cta-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #243b5a;
}

.cta-text {
  font-size: 15px;
  line-height: 1.8;
  color: #425466;
}

/* タブレット */
@media (max-width: 1024px) {
  .wifibox-cta-widget {
    gap: 20px;
  }

  .cta-title {
    font-size: 22px;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .wifibox-cta-widget {
    flex-direction: column;
    gap: 16px;
  }

  .cta-card {
    min-width: 0;
    padding: 22px 20px 20px;
  }

  .cta-icon {
    width: 40px;
    margin-bottom: 16px;
  }

  .cta-title {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .cta-text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/******************** 営業時間のご案内ウィジェット用 ********************/
.wifibox-hours-widget {
  width: 100%;
  box-sizing: border-box;
  background: #f8fbff;
  border: 1px solid #d7e5f2;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 0 0 32px;
}

.hours-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.hours-icon {
  flex: 0 0 auto;
  width: 52px;
}

.hours-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.hours-header-text {
  min-width: 0;
}

.hours-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #21364d;
}

.hours-subtitle {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #5f7183;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e3ebf3;
  border-radius: 10px;
  padding: 16px 18px;
}

.hours-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #334155;
}

.hours-time {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f6fb2;
  white-space: nowrap;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .wifibox-hours-widget {
    padding: 22px 20px;
    margin: 0 0 24px;
  }

  .hours-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .hours-icon {
    width: 42px;
  }

  .hours-title {
    font-size: 20px;
  }

  .hours-subtitle {
    font-size: 13px;
  }

  .hours-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }

  .hours-label {
    font-size: 15px;
  }

  .hours-time {
    font-size: 16px;
  }
}
