table.shorai {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-family: sans-serif;
  background-color: #f9f9f9;
}

table.shorai th {
  background-color: #3c688a;
  color: white;
  padding: 10px;
  text-align: left;
  font-size: 1.1em;
}

table.shorai td {
  padding: 15px;
  border-bottom: 1px solid #ccc;
  line-height: 1.6;
}

.shoraititle {
  display: inline-block;
  font-size: 1.2em;
  font-weight: bold;
  color: #007acc; /* 信頼感のある濃い青 */
  border-left: 6px solid #007acc;
  padding-left: 12px;
  background-color: #fcf9f2; /* やや青みのある背景色 */
  border-radius: 4px;
}

/* カードコンテナ全体 */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* 各カードのスタイル */
.card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 320px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* カード内の企業名 */
.card h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

/* カード内の説明文 */
.card p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .card {
    width: 90%;
  }
}

.shorai-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  color: #333;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.shorai-table th,
.shorai-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.shorai-table th {
  background-color: #004080;
  width:25%;
  color: white;
  font-weight: 600;
  /* 上下に少し余白 */
  padding-top: 14px;
  padding-bottom: 14px;
}

.shorai-table tr:nth-child(even) td {
  background-color: #f0f6ff; /* 交互に薄い青で区切り */
}
.shorai-table .rating {
  font-size: 2.5em;
  font-weight: bold; /* お好みで */
  color: #b33; /* お好みで色を変えても良い */
}

.faq-item {
  margin-bottom: 1.5em;
  padding: 1em;
  background-color: #ffffff;
  border-left: 4px solid #007acc;
  border-radius: 8px;
}

.faq-item h3 {
  font-size: 1.1em;
  margin: 0 0 0.5em 0;
  color: #007acc;
}

.faq-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}


.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.5;
}

.styled-table th, .styled-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: left;
}

.styled-table th {
  background-color: #004080;
  color: white;
  font-weight: bold;
}

.styled-table tr:nth-child(even) {
  background-color: #fafafa;
}

@media screen and (max-width: 600px) {
  .styled-table, .styled-table thead, .styled-table tbody, .styled-table th, .styled-table td, .styled-table tr {
    display: block;
  }

  .styled-table thead {
    display: none;
  }

  .styled-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
  }

  .styled-table td {
    padding-left: 50%;
    position: relative;
  }

  .styled-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: bold;
    color: #333;
  }
}
.styled-table td[data-label="企業名"] {
  background-color: #e8f4ff; /* 任意の背景色（薄い青） */
  font-weight: bold;
}
