@charset "UTF-8";


#content table.tblFull {
  table-layout: fixed;
}
.table-responsive {
	border: none;
}

#content table.tblFull tr td {
	background-color: #FFFFFF;
}
/*===========
.scroll-box
===========*/

.scroll-box {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

/*===========
scrollbar
===========*/


/*スクロールバー全体の高さ*/

.scroll-box::-webkit-scrollbar {
  height: 4px;
}

/*スクロールバー全体の背景*/

.scroll-box::-webkit-scrollbar-track {
  background: #eee;
}

/*スクロールバーの動く部分*/

.scroll-box::-webkit-scrollbar-thumb {
  background: #aaa;
  border: none;
}

/*スクロールバーの動く部分のホバー（マウスオーバー）*/

.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #999;
}


.sticky {
  position: sticky;
  left: 0;
  width: 160px;
  white-space: nowrap;
	min-width: 110px;
}



/* スマホ */
@media screen and (max-width: 768px) {
 .sticky {
    white-space: normal;
    word-break: break-word;
	 width: 100%;
	 min-width: 100%;
  }
}
.sticky:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
}



 /* スマホカード化 */
@media screen and (max-width: 768px) {

#content table.tblFull th, #content table.tblFull td {
     border-top: 0px solid #dcdcdc; 
     border-right: 0px solid #dcdcdc; 
}

#content table.tblFull {
    margin: 10px auto;
    padding: 1px 0 0 0;
    width: 100%;
    border-top: 0px solid #dcdcdc;
    border-bottom: 0px solid #dcdcdc;
    border-left: 0px solid #dcdcdc;
}

.scroll-box table {
	border-right: 0px solid #ccc;
}

table #school-table th, table #school-table td {
	border-left: 0px solid #ccc;
}

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  /* カード */
  tr {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  /* 各項目 */
  td {
    border: none;
    padding: 10px 0;
    white-space: normal;
    line-height: 1.6;
    font-size: 15px;
  }

  /* 項目名 */
  td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    letter-spacing: .05em;
    margin-bottom: 2px;
  }

  /* 学校名 */
  td.sticky {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
  }

  td.sticky::before {
    display: none;
  }

  /* 項目ごとの区切り */
  td:not(:last-child) {
    border-bottom: 1px dashed #f1f1f1;
  }

  /* コメント */
  td[data-label="教習所からのコメント"] {
    background: #fafafa;
    padding: 14px;
    border-radius: 10px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
  }

  /* ボタン */
 #school-table td .btn {
    display: inline-block;
    margin-top: 12px;
    width: 100%;
    text-align: center;
    border-radius: 999px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
  }

}

/* =====================
  休業ボックス
===================== */
.gw-box {
  background: #fff8e5; /* 薄い黄色で注意感 */
  border: 1px solid #f0d98c;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px;
}

/* タイトル */
.gw-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #b8860b;
}

/* 説明文 */
.gw-text {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.gw-box h3 {
	border-bottom: solid 0px #E1E2E1;
	background: none;
}



