/* ==========================================================================
   Static & Info Legacy Styles (static_info.css)
   - Compatible with karadakara legacy table layout
   - Mobile responsive optimization (max-width: 768px)
   ========================================================================== */

/* Navigation breadcrumbs */
.navilink {
  margin: 10px 15px;
  font-size: 12px;
  color: #666;
}
.navilink a {
  color: #0066cc;
  text-decoration: underline;
}
.navilink h1 {
  display: inline;
  font-size: 12px;
  font-weight: bold;
}

/* Section title */
h2.ti {
  margin: 15px 15px 5px;
  font-size: 16px;
  font-weight: bold;
  color: #990000;
  border-left: 5px solid #990000;
  padding-left: 8px;
}
.line {
  margin: 0 15px 15px;
  border-bottom: 1px solid #e0e0e0;
}

/* ta1: Company info / Detail table */
table.ta1 {
  width: 90%;
  max-width: 800px;
  margin: 15px auto 30px;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #fff;
  border: 1px solid #dcdcdc;
}
table.ta1 th {
  background-color: #f7f7f7;
  color: #333;
  padding: 10px 14px;
  font-weight: bold;
  border-bottom: 1px solid #dcdcdc;
  text-align: left;
}
table.ta1 td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
  color: #333;
}
table.ta1 td:first-child {
  background-color: #fafafa;
  font-weight: bold;
  width: 25%;
  white-space: nowrap;
}

/* ta2: Sitemap / Partner table */
table.ta2 {
  width: 90%;
  max-width: 850px;
  margin: 15px auto 30px;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #fff;
  border: 1px solid #dcdcdc;
}
table.ta2 th {
  background-color: #f0f4f8;
  color: #23527c;
  padding: 10px 14px;
  font-weight: bold;
  border-bottom: 1px solid #dcdcdc;
  text-align: left;
}
table.ta2 th a {
  color: #990000;
  font-weight: bold;
}
table.ta2 td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}
table.ta2 td ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}
table.ta2 td ul li {
  margin: 0;
  padding: 0;
}
table.ta2 td ul li a {
  color: #0066cc;
  text-decoration: underline;
}

/* Info Notice (お知らせ) layout */
.info-container {
  max-width: 960px;
  margin: 0 auto 30px;
  padding: 0 10px;
}
.info-2frame {
  width: 100%;
  border-collapse: collapse;
}
.info-l {
  vertical-align: top;
  padding-right: 15px !important;
}
.info-r {
  width: 260px;
  vertical-align: top;
}
.wk-b-ti {
  font-size: 15px;
  font-weight: bold;
  color: #990000;
  padding: 6px 10px;
  background-color: #fff0f0;
  border-left: 4px solid #990000;
  margin-bottom: 12px;
}
table.wk-b {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
table.wk-b th.title {
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
  padding: 10px 14px;
  font-size: 15px;
  color: #333;
  text-align: left;
}
table.wk-b td {
  padding: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.small-link {
  font-size: 12px;
  margin-top: 10px;
}
.small-link a {
  color: #0066cc;
  text-decoration: underline;
}
.rank-li {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.rank-li th.new-title {
  background: #f7f7f7;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.rank-li td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}
.rank-li td a {
  color: #333;
  text-decoration: none;
}
.rank-li td a:hover {
  text-decoration: underline;
  color: #990000;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  table.ta1, table.ta2 {
    width: 96% !important;
    margin: 10px auto 20px !important;
  }
  table.ta1 td:first-child {
    width: 32% !important;
    padding: 8px 10px;
  }
  table.ta1 td {
    padding: 8px 10px;
  }
  .info-2frame, .info-2frame tr, .info-2frame td {
    display: block !important;
    width: 100% !important;
  }
  .info-l {
    padding-right: 0 !important;
  }
  .info-r {
    margin-top: 20px;
    width: 100% !important;
  }
}
