/* インラインコード */
code {
background: #f3f3f3;
color: #c7254e;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
}

/* ブロックコード */
pre code {
background: #2d2d2d;
color: #eee;
padding: 1em;
border-radius: 6px;
overflow-x: auto;
display: block;
}

.styled-table {
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 1rem;
    min-width: 90%;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.styled-table thead tr {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:hover {
    background-color: #e0f7fa;
}

.styled-table th {
    font-weight: bold;
}

.card {
width: 300px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 12px;
overflow: hidden;
box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
transition: transform 0.2s ease;
}

.card:hover {
transform: translateY(-4px);
}

.card img {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
}

.card-body {
padding: 20px;
}

.card-title {
font-size: 16px;
font-weight: bold;
margin-bottom: 12px;
line-height: 1.4;
}

.card-title a {
text-decoration: none;
color: #007acc;
}

.card-title a:hover {
text-decoration: underline;
}

.card-date {
font-size: 12px;
color: #666;
margin-top: 8px;
}
.card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  justify-content: center;
}

.card-container h2 {
  font-size: 20px;
  margin: 50px 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid #007acc;
  color: #333;
  font-weight: bold;
}

.site-footer {
background-color: #f9f9f9;
color: #333;
padding: 20px 10px;
text-align: center;
font-family: 'Helvetica Neue', sans-serif;
border-top: 1px solid #ddd;
}

.footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 30px;
}

.footer-links a {
color: #555;
text-decoration: none;
font-size: 16px;
position: relative;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: #000;
}

.footer-links a::after {
content: "";
display: block;
width: 0%;
height: 2px;
background: #000;
transition: width 0.3s ease;
position: absolute;
bottom: -4px;
left: 0;
}

.footer-links a:hover::after {
width: 100%;
}

.text-link-group {
  margin-top: 20px;
  padding-left: 10px;
}

.text-link-group p {
  margin: 6px 0;
}

.text-link-group a {
  color: #007acc;
  text-decoration: none;
}

.text-link-group a:hover {
  text-decoration: underline;
}
