@charset "utf-8";
/* ==================================================
   リセット・基本
================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #434343;
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("../img/inaho.png"), url("../img/wasi.png");
  background-color: #ccccbe;
  background-size:
    auto, 480px, 480px;
  background-position:
    center, right 10px bottom -10px, center;
  background-repeat:
    no-repeat, no-repeat, repeat;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
/* ==================================================
   全体
================================================== */
.wrap {
  min-height: 100vh;
}
/* ==================================================
   ヘッダー
================================================== */
.header {
  width: 100%;
  padding: 28px 16px;
  background-color: #fff;
  text-align: center;
}
.header h3, .header h1 {
  font-family: "Noto Serif JP", serif;
}
.header h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
  font-weight: 500;
}
.header h3 span {
  display: inline-block;
}
.header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}
/* ==================================================
   メイン
================================================== */
.main {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
/* ==================================================
   セクション見出し
================================================== */
.section-heading {
  margin-bottom: 25px;
  text-align: center;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: bold;
}
.section-heading h2::before, .section-heading h2::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #f08400;
}
.section-heading h2::before {
  margin-right: 16px;
}
.section-heading h2::after {
  margin-left: 16px;
}
.section-heading p {
  color: #777;
  font-size: 0.85rem;
}
/* ==================================================
   協賛企業一覧
================================================== */
.sponsor-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
/* ==================================================
   協賛企業
================================================== */
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 80px;
  padding: 12px;
  background-color: #fff;
  border: none;
  box-shadow: 0 0 16px -5px #a1a1a1;
  transition:
    opacity 0.3s, transform 0.3s;
}
/* ==================================================
   ① リンクあり＋画像あり
================================================== */
.sponsor-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 55px;
}
/*.sponsor-item img[alt="農文協"] {
  max-width: 98%;
  max-height: 70px;
}*/
/* ==================================================
   リンクあり
   → ホバーする
================================================== */
.sponsor-item[href]:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
/* ==================================================
   ② 画像あり＋リンクなし
================================================== */
.sponsor-item.no-link {
  cursor: default;
}
/* ==================================================
   ③ リンクあり＋文字のみ
================================================== */
.sponsor-text {
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  font-weight: 700;
}
/* ==================================================
   フッター
================================================== */
.footer {
  margin-top: 0;
}
.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-container::before {
  content: "";
  display: block;
  height: 1px;
  background: #424242;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.footer-section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: 1;
  margin: 1.6rem 0;
  font-size: 16px;
  text-align: center;
}
.footer-section > a:hover, .footer-bottom > a:hover {
  opacity: 0.7;
}
.footer-bottom {
  padding: 8px 0 24px;
  color: #434343;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}
/* ==================================================
   スマホ
================================================== */
@media (max-width: 768px) {
  .header {
    padding: 20px 12px;
  }
  .header h3 {
    font-size: 0.95rem;
  }
  .header h1 {
    font-size: 1.5rem;
  }
  .main {
    padding: 32px 16px 50px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading h2::before {
    margin-right: 10px;
  }
  .section-heading h2::after {
    margin-left: 10px;
  }
  /* ==================================================
     企業ロゴ
  ================================================== */
  .sponsor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sponsor-item {
    min-height: 80px;
    padding: 8px;
  }
  .sponsor-item img {
    max-width: 90%;
    max-height: 50px;
  }
  /* ==================================================
     文字のみ
  ================================================== */
  .sponsor-text {
    font-size: 14px;
    white-space: nowrap;
    letter-spacing: -0.03em;
  }
  /* ==================================================
     フッター
  ================================================== */
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    margin: 1rem 0;
  }
}
/* ==================================================
   320px以下
================================================== */
@media (max-width: 320px) {
  .main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header h3 {
    font-size: 0.85rem;
  }
  .header h1 {
    font-size: 1.35rem;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .sponsor-list {
    gap: 6px;
  }
  .sponsor-item {
    min-height: 75px;
    padding: 7px;
  }
  .sponsor-item img {
    max-width: 95%;
    max-height: 48px;
  }
  .sponsor-text {
    font-size: 12px;
    white-space: nowrap;
  }
  .footer-section a {
    overflow-wrap: anywhere;
  }
}