body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    color: #333;
}

.search-section {
    background: #eef2f3;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ロゴのコンテナ */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

/* 最近の検索全体 */
.recent-search-container {
    margin-top: 25px;
    font-size: 0.9em;
    color: #555;
    text-align: left;
    border-top: 1px solid #d1d9db;
    padding-top: 15px;
}

.recent-search-title {
    font-weight: bold;
    color: #777;
}

.recent-search-list {
    margin-top: 10px;
}

.recent-search-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* 履歴用タグの個別調整（既存のword-tagを上書き） */
.recent-tag {
    background: #f8f9fa !important;
    color: #007bff !important;
    border: 1px solid #dee2e6 !important;
    margin: 0 12px 0 0 !important;
}

.recent-search-info {
    color: #666;
}

.recent-search-date {
    color: #999;
    margin-left: 8px;
}

/* AI提案セクション */
.ai-suggestion-section {
    background: #f0f9f4;
    padding: 20px;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ai-title {
    color: #155724;
    font-size: 1em;
    margin-bottom: 10px;
    display: block;
}

/* 検索ワード強調 */
.search-hit {
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 3px;
}

.word-tag {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 5px 12px;
    margin: 5px;
    border-radius: 20px;
    font-size: 0.9em;
    border: none;
    cursor: pointer;
}

.word-tag:hover {
    background: #219150;
}

/* 検索結果を枠で囲う設定 */
.result-container {
    display: flex;
    gap: 0;
    border: 1px solid #ccc;
    margin-top: -1px;
    padding: 0;
    align-items: stretch;
}

.result-container:first-of-type {
    border-top: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
}

.result-container:last-of-type {
    border-radius: 0 0 5px 5px;
}

/* 左カラム（目的内容） */
.col-left {
    flex: 7;
    padding: 10px 15px;
    background: #fff;
}

/* 右カラム（会社名） */
.col-right {
    flex: 3;
    text-align: center;
    border-left: 1px solid #ccc;
    padding: 10px 15px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-badge {
    background: #999;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
}

.company-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
}

.company-link:hover {
    text-decoration: underline;
}

/* ページネーション */
.pagination {
    margin-top: 30px;
    text-align: center;
    padding-bottom: 50px;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007bff;
    border-radius: 4px;
}

.page-link:hover {
    background: #f2f2f2;
}

.page-link.disabled {
    color: #ccc;
    pointer-events: none;
    border-color: #eee;
}

.page-link.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

h1 {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    padding-left: 15px;
}
/* フッターのスタイル */
.site-footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    background-color: #fafafa;
    color: #666;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #007bff; /* ホバー時に少し色が変わる */
    text-decoration: underline;
}

.copyright {
    font-size: 0.8rem;
    color: #999;
}

/* styleタグの中に追加 */
.post-meta {
    text-align: right;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
    margin-bottom: 20px;
}
.post-meta span {
    margin-left: 15px;
}

/* プロフィールエリア全体の装飾 */
.author-area {
    display: flex;
    align-items: center;
    background: #f8f9fa; /* 薄いグレー */
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid #eee;
}

/* 左側：画像と名前のセット（幅を少し広げる） */
.author-profile {
    flex-shrink: 0;
    text-align: center;
    margin-right: 25px;
    border-right: 1px solid #ddd;
    padding-right: 25px;
    width: 140px; /* 画像サイズに合わせて枠を確保 */
}

.author__img img {
    border-radius: 50%;
    border: 3px solid #fff; /* 枠線を少し太くして強調 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 影を少し強く */
    object-fit: cover;
    width: 120px; /* ここで大きさを指定 */
    height: 120px; /* 正円を保つ */
}

.author-name {
    font-weight: bold;
    font-size: 1.1rem; /* 名前も少し大きく */
    margin-top: 10px;
    color: #007bff;
}

/* 右側：説明テキスト */
.author__txt {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.author__txt strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    color: #333;
}

/* スマホ対応（縦並びにする） */
@media (max-width: 600px) {
    .author-area {
        flex-direction: column;
        text-align: center;
    }
    .author-profile {
        margin-right: 0;
        margin-bottom: 15px;
        padding-right: 0;
        border-right: none;
    }
}

/* パンくずリストのスタイル */
.breadcrumb {
    margin: 20px auto;
    max-width: 800px; /* 記事の幅に合わせる */
    font-size: 0.85rem;
    color: #666;
    padding: 0 10px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

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

.breadcrumb span {
    color: #999;
    margin-left: 5px;
}

/* 区切り文字のスタイル */
.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

/* --- 定款ラボ 注目分野セクション --- */
.industry-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
}

.industry-section h2 {
  text-align: center;
  font-size: 1.6em;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0056b3;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.industry-card h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #2c3e50;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.industry-card ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.industry-card li {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.industry-card li a {
  text-decoration: none;
  color: #0056b3;
  display: block;
}

.industry-card li a:hover {
  text-decoration: underline;
  color: #003d82;
}

.industry-icon {
  margin-right: 8px;
}

/* スマホ対応：縦に並べる */
@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
