/* =========================
   基本設定（和モダン）
========================= */
body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  background-color: #f7f4ef; /* 和紙風 */
  color: #333;
  margin: 0;
  padding: 20px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}
/* 背景を画面全体に出したい場合の保険 */
html {
  background-color: #f7f4ef;
}

/* リンク */
a {
  color: #2f5d50; /* 深い緑 */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 見出し */
h1 {
  font-size: 2.2em;
  border-bottom: 3px solid #8b1e3f; /* 朱色 */
  padding-bottom: 8px;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.6em;
  border-left: 6px solid #8b1e3f;
  padding-left: 10px;
  margin-top: 40px;
}

/* =========================
   ツリー構造 強調デザイン
========================= */

/* --- ジャンル（最上位） --- */
h3 {
  font-size: 1.4em;
  font-weight: bold;
  border-bottom: 3px solid #c33;
  padding-bottom: 5px;
  margin-top: 40px;
  color: #222;
}

/* --- サブジャンル階層 --- */
h3 + ul {
  margin-left: 20px;
  padding-left: 15px;
  border-left: 4px solid #ddd;
}

/* サブジャンル項目 */
h3 + ul > li {
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
}

/* サブジャンル前の装飾 */
h3 + ul > li::before {
  content: "▶";
  position: absolute;
  left: -18px;
  color: #c33;
  font-size: 0.9em;
}

/* --- トピック階層 --- */
h3 + ul > li > ul {
  margin-left: 20px;
  padding-left: 15px;
  border-left: 2px dashed #bbb;
}

/* トピック項目 */
h3 + ul > li > ul > li {
  font-weight: normal;
  font-size: 0.95em;
  margin: 4px 0;
  color: #555;
}

/* トピック前の点 */
h3 + ul > li > ul > li::before {
  content: "・";
  color: #c33;
  margin-right: 4px;
}

/* =========================
   検索フォーム
========================= */
.search-box {
  background: #ffffffcc;
  padding: 15px;
  border-radius: 6px;
}

.search-box fieldset {
  border: 1px solid #ccc;
  background: #faf8f3;
}

.search-box legend {
  font-weight: bold;
  color: #8b1e3f;
}

.search-box input[type="text"] {
  width: 60%;
  padding: 6px;
  font-size: 1em;
}

.search-box button {
  background: #8b1e3f;
  color: #fff;
  border: none;
  padding: 6px 14px;
  cursor: pointer;
}
.search-box button:hover {
  opacity: 0.85;
}

/* =========================
   口コミカード（SNS風）
========================= */
.review {
  background: #fff;
  border-radius: 10px;
  padding: 15px 18px;
  margin: 25px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
}

/* 国名 / SNS バッジ */
.review strong {
  display: inline-block;
  background: #2f5d50;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.85em;
  margin-bottom: 6px;
}

/* ジャンル表示 */
.review em {
  display: block;
  font-style: normal;
  font-size: 0.9em;
  color: #666;
  margin: 8px 0;
}

/* 本文 */
.review p {
  font-size: 1.05em;
  margin: 10px 0;
}

/* 店舗・場所 */
.review small {
  display: block;
  margin-top: 10px;
  font-size: 0.85em;
  color: #555;
  border-top: 1px dashed #ccc;
  padding-top: 6px;
}

/* =========================
   ジャンル一覧（和風リスト）
========================= */
ul {
  list-style: none;
  padding-left: 0;
}

ul > li {
  margin: 8px 0;
}

ul ul {
  padding-left: 20px;
}

ul ul li::before {
  content: "・";
  color: #8b1e3f;
  margin-right: 5px;
}

/* =========================
   フッター系
========================= */
.waku {
  display: inline-block;
  border: 2px solid #8b1e3f;
  padding: 6px 14px;
  margin-top: 10px;
  color: #8b1e3f;
  font-weight: bold;
}

.waku:hover {
  background: #8b1e3f;
  color: #fff;
}

/* 広告との間隔 */
ins.adsbygoogle {
  margin: 20px 0;
  display: block;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  body {
    padding: 12px;
  }

  .search-box input[type="text"] {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* =========================
   TABLE（内容に応じて列幅可変）
========================= */

table {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-collapse: collapse;
  table-layout: auto; /* ★ 固定をやめる */
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-size: 15px;
  background-color: #fdfaf2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- ヘッダ --- */
table thead tr {
  background: linear-gradient(to bottom, #0f3b2e, #013220);
  color: #e6c87a;
}

table th {
  padding: 12px 14px;
  font-weight: bold;
  border: 1px solid #b5b5b5;
  text-align: center;
  white-space: nowrap; /* 見出しは折り返さない */
}

/* --- セル共通 --- */
table td {
  padding: 12px 14px;
  border: 1px solid #c6c6c6;
  vertical-align: top;
  color: #013220;
  line-height: 1.6;

  /* ★ 内容に応じて自然に */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* --- 交互色 --- */
table tbody tr:nth-child(even) {
  background-color: #f2f5ef;
}

/* --- ホバー --- */
table tbody tr:hover {
  background-color: #e4efe9;
  transition: background-color 0.2s ease;
}

/* --- リンク --- */
table a {
  color: #0f3b2e;
  font-weight: bold;
}

table a:hover {
  color: #b8860b;
  text-decoration: underline;
}

/* --- 列ごとの“性格付け”（重要） --- */
table td.country,
table td.sns,
table td.prefecture {
  white-space: nowrap;   /* 短い列は詰める */
}

table td.content {
  min-width: 300px;      /* 口コミ本文は広め */
}

/* --- モバイル --- */
@media screen and (max-width: 768px) {
  table {
    font-size: 14px;
  }
}
/* ===============================
   折り返し共通
=============================== */
p,
a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
