/* =========================================
   食材ターム詳細ページ - Ingredients Term Archive
   ========================================= */

/* =========================
  English text style
========================= */
.en {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "YuMincho", serif;
  font-weight: bold;
}

/* ヒーローセクション */
.ingredientsTerm_hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.ingredientsTerm_hero::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,35 C40,20 80,50 120,40 C160,30 200,15 240,25 C280,35 320,50 360,40 C400,30 440,15 480,25 C520,35 560,50 600,40 C640,30 680,15 720,25 C760,35 800,50 840,40 C880,30 920,15 960,25 C1000,35 1040,50 1080,40 C1120,30 1160,15 1200,25 C1240,35 1280,50 1320,40 C1360,30 1400,15 1440,25 L1440,80 L0,80 Z' fill='%23ffffff'/></svg>") no-repeat center bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.ingredientsTerm_hero_overlay {
    background: rgb(0 48 96 / 0.8);
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 80px 20px 160px;
}

.ingredientsTerm_hero_title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ingredientsTerm_hero_desc {
  font-weight: 400;
  color: #fff;
  text-align: left;
  margin: 0;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

/* コンテンツセクション */
.ingredientsTerm_content {
  background-color: #fff;
  padding: 60px 0;
}

.ingredientsTerm_content .l_container_md {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* リッチコンテンツ */
.ingredientsTerm_richContent {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.ingredientsTerm_richContent h1{
  font-size: 28px;
  font-weight: 700;
  color: var(--color-main);
  margin: 0 0 24px;
  line-height: 1.4;
}
.ingredientsTerm_richContent h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 2em auto 1em;
    padding: 15px 15px;
    background-color: var(--color-main);
    line-height: 1.4;
}

.ingredientsTerm_richContent h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-main);
    margin: 2em auto 1em;
    padding: 0 0 0 1em;
    line-height: 1.4;
    border-left: 10px solid var(--color-bg-lightblue);
}

.ingredientsTerm_richContent h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-main);
    margin: 2em auto 1em;
    padding-bottom: 5px;
    line-height: 1.4;
    border-bottom: 1px solid var(--color-main);
}

.ingredientsTerm_richContent p {
  width: 90%;
  margin: 0 auto 1em;
  line-height: 1.9;
}

.ingredientsTerm_richContent p:last-child {
  margin-bottom: 0;
}

.ingredientsTerm_richContent ul,
.ingredientsTerm_richContent ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.ingredientsTerm_richContent li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.ingredientsTerm_richContent img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.ingredientsTerm_richContent a {
  color: var(--color-main);
  text-decoration: underline;
}

.ingredientsTerm_richContent a:hover {
  opacity: 0.7;
}

.ingredientsTerm_richContent blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #f8f9fa;
  border-left: 4px solid var(--color-main);
  font-style: italic;
}

/* スポット一覧セクション */
.ingredientsTerm_spots {
  background-color: var(--color-bg-lightblue);
  padding: 80px 0;
  scroll-margin-top: 120px;
}

.ingredientsTerm_spots .l_container_md {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ingredientsTerm_spots_title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-main);
  text-align: center;
  margin: 0 0 50px;
  line-height: 1.4;
}

/* 空メッセージ */
.ingredientsTerm_empty {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .ingredientsTerm_hero {
    min-height: 350px;
  }

  .ingredientsTerm_hero_overlay {
    padding: 60px 20px 80px;
  }

  .ingredientsTerm_hero_title {
    font-size: 40px;
  }

  .ingredientsTerm_hero_desc {
    font-size: 16px;
  }

  .ingredientsTerm_hero::after {
    height: 80px;
  }

  .ingredientsTerm_content {
    padding: 50px 0;
  }

  .ingredientsTerm_richContent {
    font-size: 15px;
  }

  .ingredientsTerm_richContent h2 {
    font-size: 24px;
    margin-top: 32px;
  }

  .ingredientsTerm_richContent h3 {
    font-size: 20px;
    margin-top: 24px;
  }

  .ingredientsTerm_richContent h4 {
    font-size: 16px;
  }

  .ingredientsTerm_spots {
    padding: 60px 0;
  }

  .ingredientsTerm_spots_title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* モバイル対応 */
@media (max-width: 640px) {
  .ingredientsTerm_hero {
    min-height: 280px;
  }

  .ingredientsTerm_hero_overlay {
    padding: 40px 15px 80px;
  }

  .ingredientsTerm_hero_title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .ingredientsTerm_hero_desc {
    font-size: 14px;
  }

  .ingredientsTerm_hero::after {
    height: 60px;
  }

  .ingredientsTerm_content {
    padding: 40px 0;
  }

  .ingredientsTerm_richContent {
    font-size: 14px;
  }

  .ingredientsTerm_richContent h1{
    font-size: 24px;
  }
  .ingredientsTerm_richContent h2 {
    font-size: 20px;
  }

  .ingredientsTerm_richContent h3 {
    font-size: 18px;;
  }

  .ingredientsTerm_richContent h4 {
    font-size: 16px;
  }

  .ingredientsTerm_richContent p {
    margin-bottom: 15px;
    width: 100%;
  }

  .ingredientsTerm_spots {
    padding: 50px 0;
  }

  .ingredientsTerm_spots_title {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .ingredientsTerm_empty {
    padding: 50px 15px;
    font-size: 14px;
  }
  
}
