@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  -webkit-text-size-adjust: 100%;
  overflow: auto;
  min-width: 320px;
  background: #eff7f6;
  color: #333;
  line-height: 1;
  font-size: 1.6rem;
  font-family: Verdana, "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

a:has(img) {
  display: inline-block;
}

button {
  padding: 3px 6px;
  border: 1px solid #999;
  border-radius: 4px;
  background: #eee;
  color: inherit;
  font-weight: bold;
  font-size: 1.3rem;
}

img, video {
  height: auto;
  max-width: 100%;
}
img.border, video.border {
  outline: 1px solid #ccc;
}

strong {
  color: #f00;
}

.wbr {
  display: inline-block;
}

.sr-only {
  /* refs. https://github.com/ampproject/amphtml/blob/2505070854000/css/ampshared.css#L203-L233 */
  position: fixed !important;
  /* keep it on viewport */
  top: 0 !important;
  left: 0 !important;
  /* give it non-zero size, VoiceOver on Safari requires at least 2 pixels before allowing buttons to be activated. */
  width: 4px !important;
  height: 4px !important;
  /* visually hide it with overflow and opacity */
  opacity: 0 !important;
  overflow: hidden !important;
  /* remove any margin or padding */
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  /* ensure no other style sets display to none */
  display: block !important;
  visibility: visible !important;
}

.content-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 10px;
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Noto Serif JP", serif;
  line-height: 1.75;
  background-color: #fffbf4;
  color: #59342d;
  font-size: 16px;
}

/* レイアウトコンテナ */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem; /* 上下左右にしっかり余白 */
}

/* セクション間の余白 */
.section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* 見出し */
h1, h2, h3 {
  color: #59342d;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2rem;
  border-left: 4px solid #59342d;
  padding-left: 1rem;
  margin-top: 3rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
}

/* テキスト */
p {
  margin-bottom: 1.75rem;
}

a {
  color: #59342d;
}

strong {
  font-weight: bold;
  color: #59342d;
}

/* ボタン */
button,
.cta-button {
  display: inline-block;
  background-color: #F9E0D7;
  padding: 0.8rem 1.6rem;
  border: 2px solid #a88b85;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px #cea66f;
  position: relative;
  overflow: hidden;
  color: #59342d;
}

button:hover,
.cta-button:hover {
  background-color: #a88b85;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #cea66f;
}

button:active,
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px #cea66f;
}

button:focus,
.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #cea66f, 0 2px 8px #cea66f;
}

/* 表 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  min-width: 600px; /* 最小幅を設定して横スクロールを確実に有効にする */
}

table th,
table td {
  border: 1px solid #a88b85;
  padding: 1rem;
  text-align: left;
  word-wrap: break-word; /* 長い単語を折り返す */
  overflow-wrap: break-word; /* モダンブラウザ対応 */
  max-width: 200px; /* セルの最大幅を制限 */
}

table th {
  background-color: #cea66f;
  white-space: nowrap; /* ヘッダーは折り返さない */
}

table td {
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4; /* 行間を調整 */
}

table td:nth-child(1) {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

table caption {
  caption-side: top;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

table tbody {
  color: #a88b85;
}

/* リスト */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* 小さな文字補足 */
small {
  font-size: 0.85rem;
  color: #666;
}

/* 引用 */
blockquote {
  border-left: 4px solid #cea66f;
  padding: 1.2rem 1.2rem 1.2rem 1.5rem;
  margin: 2rem 0;
  color: #59342d;
  font-style: italic;
  background: #F9E0D7;
  border-radius: 0 8px 8px 0;
  position: relative;
  box-shadow: 0 2px 8px #cea66f;
}

blockquote::before {
  content: '"';
  font-size: 2.5rem;
  color: #a88b85;
  position: absolute;
  top: 0.3rem;
  left: 0.8rem;
  font-family: serif;
  line-height: 1;
}

blockquote p {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 画像・セクション調整 */
img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

hr {
  border: none;
  border-top: 1px solid #cea66f;
  margin: 4rem 0;
}

section {
  margin: 0 2rem;
}

footer {
  background: #3d3633;
  color: #fff;
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 1rem;
  padding: 1rem 0;
  text-align: center;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* テーブルコンテナ */
.table-container {
  overflow-x: scroll; /* autoからscrollに変更して常にスクロールバーを表示 */
  margin: 2rem 0;
  border-radius: 6px;
  box-shadow: 0 2px 4px #000;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
  max-width: 100%; /* 親要素を超えないように */
  position: relative; /* スクロールバーの位置を正しく表示 */
  width: 100%; /* 幅を明示的に設定 */
}

.table-container table {
  margin: 0;
  width: 100%;
  min-width: 900px; /* より広い最小幅を設定 */
  table-layout: auto; /* 自動レイアウトに変更 */
}

.table-container table th,
.table-container table td {
  max-width: none; /* コンテナ内では最大幅制限を解除 */
  min-width: 120px; /* 最小幅を設定 */
  white-space: normal; /* テキストの折り返しを許可 */
  word-wrap: break-word; /* 長い単語を折り返す */
  overflow-wrap: break-word; /* モダンブラウザ対応 */
}

/* エリア名の列を少し狭く */
.table-container table th:first-child,
.table-container table td:first-child {
  min-width: 120px;
  max-width: 160px;
}

/* キーワード列を適度な幅に */
.table-container table th:nth-child(2),
.table-container table td:nth-child(2) {
  min-width: 160px;
  max-width: 200px;
}

/* 自然・景観列を広く */
.table-container table th:nth-child(3),
.table-container table td:nth-child(3) {
  min-width: 180px;
  max-width: 250px;
}

/* 歴史・文化列を適度に */
.table-container table th:nth-child(4),
.table-container table td:nth-child(4) {
  min-width: 140px;
  max-width: 200px;
}

/* グルメ・特産列を適度に */
.table-container table th:nth-child(5),
.table-container table td:nth-child(5) {
  min-width: 140px;
  max-width: 200px;
}

/* 季節イベント・温泉列を広く */
.table-container table th:nth-child(6),
.table-container table td:nth-child(6) {
  min-width: 180px;
  max-width: 250px;
}

/* スクロールバーのスタイリング */
.table-container::-webkit-scrollbar {
  height: 12px; /* スクロールバーを少し高く */
}

.table-container::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.table-container::-webkit-scrollbar-thumb {
  background: #cea66f;
  border-radius: 6px;
  border: 1px solid #a88b85;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #a88b85;
}

.table-container::-webkit-scrollbar-corner {
  background: #f8f8f8;
}

a {
  color: #cea66f;
}
