/* seminar.css（全量・SVG表示CSSをindex.cssから移植済み） */

html,body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'M PLUS 1p', sans-serif;
}

.container {
  font-size: 1.2rem;
  max-width: 70%;
  margin: 4rem auto 0;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

/* ナビ直下の要素が何であっても、余白は .container 側だけで統一する */
.container > *:first-child {
  margin-top: 0;
}

table {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

th, td {
  border: 1px solid black;
  padding: 8px;
}

th {
  background-color: #f2f2f2;
}

/* 1列目と2列目の横幅比率を指定 */
.table-settings th:first-child, .table-settings td:first-child {
  width: 30%;
}

.table-settings th:nth-child(2), .table-settings td:nth-child(2) {
  width: 70%;
}

/*表の見出しを固定にする*/
.scrollable-table-container {
  overflow: auto;
  max-height: 50rem;
}

thead th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.sticky-left {
  position: sticky;
  left: 0;
  background: #f2f2f2;
  z-index: 2;
}

/* ボタンのデザイン */
.button-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.btn {
  background-color: #9e9e9e;
  color: white;
  border: none;
  padding: 0.3rem 0.3rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: #5e5e5e;
}

td {
  text-align: left;
  padding: 0.5rem;
}

/* =========================
   SVG（index.cssから移植）
========================= */
.svg-container {
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.company-title-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* PC */
.company-title-svg .company-title-text {
  font-size: 2.5rem;
}

/* =========================
   Breadcrumbs
========================= */
.breadcrumbs{
  margin:1rem 0 1.25rem;
  font-size:.875rem;
  text-align:left;
}

.breadcrumbs ol{
  display:flex;
  flex-wrap:wrap;
  gap:.375rem;
  list-style:none;
  padding:0;
  margin:0;
}

.breadcrumbs li{
  display:flex;
  align-items:center;
}

.breadcrumbs li:not(:last-child)::after{
  content:">";
  margin-left:.375rem;
  color:#666;
}

.breadcrumbs a{
  color:#0066cc;
  text-decoration:none;
}

.breadcrumbs a:hover{
  text-decoration:underline;
}

.breadcrumbs span[aria-current="page"]{
  color:#333;
  font-weight:600;
}

/* =========================
   Responsive（index.cssから移植）
========================= */
@media only screen and (max-width: 768px) {
  .svg-container {
    margin-top: 1.2rem;
    margin-bottom: 1rem;
  }

  .company-title-svg .company-title-text {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 480px) {
  .svg-container {
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
  }

  .company-title-svg g {
    transform: translate(95, 65) scale(0.048);
  }

  .company-title-svg .company-title-text {
    font-size: 3rem;
  }
}

/* 既存のスマホ対応 */
@media only screen and (max-width: 600px) {
  .container {
    max-width: 90%;
    margin-top: 4.5rem;
    padding: 2rem 0;
    margin-top: 1rem;
  }

  .btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.2rem;
    margin: 0.2rem 0;
  }

  th, td {
    padding: 0.5rem;
  }

  .button-container {
    margin-bottom: 0.5rem;
  }
}

h1 {
  margin-top: 2rem;
  font-size: 1.5rem;
}
