@charset "UTF-8";

/* 全体リセット・ベーススタイル */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff9f0; /* 全体背景もほんのり温かみのある薄いオレンジ背景に変更 */
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ヘッダーデザイン（明るいオレンジベース） */
.header {
  background: linear-gradient(135deg, #f39c12, #e67e22); /* 華やかなオレンジグラデーション */
  color: #fff;
  padding: 30px 0;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.header h2 {
  font-size: 1.3rem;
  font-weight: normal;
  border-bottom: 2px solid #fff; /* オレンジに映える白のアンダーライン */
  display: inline-block;
  padding-bottom: 5px;
}

.header p {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 15px auto 0;
  padding: 0 15px;
  text-align: left;
}

.totopbutton {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #fff;
  color: #d35400; /* 濃いオレンジ文字 */
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.totopbutton:hover {
  background: #fff3e0;
}

/* メインコンテンツ・辞書/カード形式 */
.dictionary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.prefecture-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(230, 126, 34, 0.08);
  border: 1px solid #ffe8cc;
}

.kana-header {
  font-size: 1.25rem;
  color: #d35400; /* 深みのあるオレンジ */
  border-left: 5px solid #f39c12; /* 明るいオレンジのアクセントライン */
  padding-left: 10px;
  margin-bottom: 20px;
}

.term-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.term-card {
  border-bottom: 1px dashed #ffe0b2;
  padding-bottom: 15px;
}

.term-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.term-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 6px;
}

.title-text {
  background-color: #fff3e0; /* やわらかいオレンジ背景 */
  padding: 3px 8px;
  border-radius: 4px;
  border-left: 3px solid #e67e22; /* オレンジの左線 */
}

.term-desc {
  font-size: 0.95rem;
  color: #495057;
  padding-left: 5px;
  line-height: 1.7;
}

/* コラムボックス（独自解説用） */
.column-box {
  background: #fff8ec;
  border: 1px solid #ffe0b2;
  border-radius: 6px;
  padding: 15px 20px;
}

.column-box p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.column-box p:last-child {
  margin-bottom: 0;
}

/* フッターデザイン */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #f39c12; /* フッターリンクも鮮やかなオレンジ */
  text-decoration: none;
  margin: 0 5px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #bdc3c7;
}

/* 9. アフィリエイト表示エリア（押しやすいボタン風に改善） */
.affiliate-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
  font-size: 1.1rem;
}

.affiliate-box a {
  display: inline-block;
  padding: 12px 24px;     /* 上下にしっかり余白を持たせてクリックしやすくする */
  background-color: #ffffff; /* 白背景のボタン風 */
  color: #e68e00;         /* オレンジ色の文字 */
  border: 2px solid #e68e00; /* オレンジの枠線 */
  border-radius: 8px;     /* 角丸 */
  text-decoration: none;  /* 下線なし */
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.affiliate-box a:hover {
  background-color: #e68e00; /* ホバー時にオレンジ反転 */
  color: #ffffff;            /* 白文字 */
  text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .header {
    padding: 20px 0;
  }
  .header h1 {
    font-size: 1.4rem;
  }
  .header h2 {
    font-size: 1.05rem;
  }
  .totopbutton {
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 0.75rem;
  }
  .prefecture-section {
    padding: 15px;
  }
}