/**
 * 神崎リニューアル — 新デザイン CSS
 *
 * 読込対象（default_frame.twig のホワイトリスト）:
 *   - TOP（homepage）
 *   - まちの紹介 /about, /about/{id}（Phase 3・拡張予定）
 *   - 事業者紹介 /jigyousya, /jigyousya/{id}（Phase 3・拡張予定）
 *   - 今後追加する新規ページ
 *
 * 決済・カート・申込み・マイページ等は customize.css を触らない（現行 FD デザイン維持）。
 * セレクタは #page_* または .renewal-page でスコープし、他ページへ漏らさないこと。
 */

/* --------------------------------------------------------------------------
 * 変数（リニューアル用）
 * -------------------------------------------------------------------------- */
:root {
  /* ブランドカラーは customize.css :root で全站定義 */
}

/* --------------------------------------------------------------------------
 * TOP（#page_homepage）
 * -------------------------------------------------------------------------- */
/* 旧 common_header（position: fixed の .navbar）が残っている場合の重なり防止 */
#page_homepage .navbar,
body.front_page .navbar {
  display: none !important;
}

/* TOP — スクロールロック（カーテン上昇完了時に解除 → 1枚目表示前にスクロールバー確定） */
html:has(body.kozaki-scroll-locked),
body.kozaki-scroll-locked {
  overflow: hidden;
}

/* TOP オープニング 1〜3（全画面ホワイト → 中央タイトル → 白が上に消える） */
body.front_page.kozaki-intro-pending,
#page_homepage.kozaki-intro-pending {
  background: #fff !important;
}

body.front_page .kozaki-hero-intro,
#page_homepage .kozaki-hero-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

body.front_page .kozaki-hero-intro__white,
#page_homepage .kozaki-hero-intro__white {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(0);
  will-change: transform;
}

body.front_page .kozaki-hero-intro__title,
#page_homepage .kozaki-hero-intro__title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  margin: 0;
  padding: 0 1.25rem;
  color: #111;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: calc(20px + 10 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
}

body.front_page .kozaki-hero-intro__title-line,
#page_homepage .kozaki-hero-intro__title-line {
  display: block;
  opacity: 0;
  transform: translateY(0);
  will-change: opacity, transform;
}

/* TOP オープニング — ヘッダー shell を全文字表示完了後に上からスライドイン */
body.front_page.kozaki-intro-pending .kozaki-header-shell,
#page_homepage.kozaki-intro-pending .kozaki-header-shell,
body.front_page.kozaki-hero-opening .kozaki-header-shell,
#page_homepage.kozaki-hero-opening .kozaki-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transform: translateY(-100%);
  pointer-events: none;
}

body.front_page .kozaki-header-shell.kozaki-header-shell--sliding,
#page_homepage .kozaki-header-shell.kozaki-header-shell--sliding {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  pointer-events: none;
  will-change: transform;
}

body.front_page .kozaki-header-shell.kozaki-header-shell--revealed,
#page_homepage .kozaki-header-shell.kozaki-header-shell--revealed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  pointer-events: auto;
  transform: none;
}

body.front_page.kozaki-header-over-hero .kozaki-header-shell header.kozaki-header,
#page_homepage.kozaki-header-over-hero .kozaki-header-shell header.kozaki-header {
  position: relative;
  top: auto;
}

/* TOP — お知らせ以降をヒーロー上に重ねてスライドアップ */
body.front_page .kozaki-below-hero,
#page_homepage .kozaki-below-hero {
  --kozaki-below-hero-overlap: 420px;
  position: relative;
  z-index: 2;
  top: 0;
  margin-bottom: 0;
  background: var(--color-page-bg);
}

@media screen and (max-width: 767px) {

  body.front_page .kozaki-below-hero,
  #page_homepage .kozaki-below-hero {
    /* 実機 Safari の svh は DevTools より小さい — コピー領域を残す上限 */
    --kozaki-below-hero-overlap: min(460px, max(120px, calc(100svh - 400px)));
  }
}

/* 縦の短い SP（iPhone 6/7/8 375×667 等）— overlap を抑える */
@media screen and (max-width: 767px) and (max-height: 700px) {

  body.front_page .kozaki-below-hero,
  #page_homepage .kozaki-below-hero {
    --kozaki-below-hero-overlap: min(320px, max(120px, calc(100svh - 400px)));
  }
}

/* 1280〜1919 — MacBook Air 13 等（実機は DevTools より svh が小さい） */
@media screen and (min-width: 1280px) and (max-width: 1919px) {

  body.front_page .kozaki-below-hero,
  #page_homepage .kozaki-below-hero {
    --kozaki-below-hero-overlap: 200px;
  }
}

/* 1920+ — 大型 PC / MBA「より多くのスペース」等（overlap を CSS 固定） */
@media screen and (min-width: 1920px) {

  body.front_page .kozaki-below-hero,
  #page_homepage .kozaki-below-hero {
    --kozaki-below-hero-overlap: 420px;
  }
}

body.front_page.kozaki-hero-opening .ec-layoutRole>.kozaki-news-top,
body.front_page.kozaki-hero-opening .ec-layoutRole>.kozaki-news-top~*,
#page_homepage.kozaki-hero-opening .ec-layoutRole>.kozaki-news-top,
#page_homepage.kozaki-hero-opening .ec-layoutRole>.kozaki-news-top~* {
  visibility: hidden;
}

body.front_page.kozaki-hero-opening .kozaki-below-hero,
#page_homepage.kozaki-hero-opening .kozaki-below-hero {
  visibility: visible;
}

body.front_page.kozaki-hero-opening .kozaki-below-hero:not(.kozaki-below-hero--sliding):not(.kozaki-below-hero--revealed),
#page_homepage.kozaki-hero-opening .kozaki-below-hero:not(.kozaki-below-hero--sliding):not(.kozaki-below-hero--revealed) {
  top: 0;
  margin-bottom: 0;
}

body.front_page .kozaki-below-hero.kozaki-below-hero--sliding,
#page_homepage .kozaki-below-hero.kozaki-below-hero--sliding {
  will-change: top, margin-bottom;
}

body.front_page .kozaki-below-hero.kozaki-below-hero--revealed,
#page_homepage .kozaki-below-hero.kozaki-below-hero--revealed {
  top: calc(-1 * var(--kozaki-below-hero-overlap));
  margin-bottom: calc(-1 * var(--kozaki-below-hero-overlap));
}

body.front_page.kozaki-hero-opening .hero-section.kozaki-hero,
#page_homepage.kozaki-hero-opening .hero-section.kozaki-hero {
  height: 100svh !important;
  max-height: 100svh;
  min-height: 100svh;
}

body.front_page .kozaki-hero-intro.is-complete,
#page_homepage .kozaki-hero-intro.is-complete {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}

#page_homepage .hero-section.kozaki-hero,
body.front_page .hero-section.kozaki-hero {
  --kozaki-hero-tagline-top: 13%;
  --kozaki-hero-tagline-left: 0;
  --kozaki-hero-title-top: 20%;
  --kozaki-hero-title-left: 0;
  --kozaki-hero-lead-top: 30%;
  --kozaki-hero-lead-left: 0;
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 100svh !important;
  min-height: 100svh;
  max-height: 100svh;
  margin: 0 !important;
  padding: 0;
  overflow: hidden !important;
  background: #1a1208;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#page_homepage .kozaki-hero__visual,
body.front_page .kozaki-hero__visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#page_homepage .kozaki-hero__media,
body.front_page .kozaki-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
}

#page_homepage .kozaki-hero__slide,
body.front_page .kozaki-hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: blur(0);
  transition: opacity 2.5s ease-in-out;
  will-change: filter, opacity;
}

#page_homepage .kozaki-hero__slide--active,
body.front_page .kozaki-hero__slide--active {
  opacity: 1;
}

#page_homepage .kozaki-hero__overlay,
body.front_page .kozaki-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(180deg,
      rgba(20, 14, 8, 0.38) 0%,
      rgba(20, 14, 8, 0.1) 45%,
      rgba(20, 14, 8, 0.12) 60%,
      rgba(20, 14, 8, 0.45) 100%);
  pointer-events: none;
}

#page_homepage .kozaki-hero__copy,
body.front_page .kozaki-hero__copy {
  position: absolute;
  z-index: 2;
  top: var(--kozaki-hero-tagline-top);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: min(92%, 960px);
  padding: 6px 10px;
  isolation: isolate;
}

#page_homepage .kozaki-hero__copy::before,
body.front_page .kozaki-hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8px;
  right: -48px;
  bottom: -8px;
  left: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 35%,
      rgba(0, 0, 0, 0.1) 70%,
      rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.85s ease-out;
  pointer-events: none;
}

#page_homepage .kozaki-hero__copy.kozaki-hero__copy--backdrop::before,
body.front_page .kozaki-hero__copy.kozaki-hero__copy--backdrop::before {
  opacity: 1;
}

#page_homepage .kozaki-hero__tagline,
body.front_page .kozaki-hero__tagline {
  position: static;
  z-index: auto;
  top: auto;
  left: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: calc(14px + 10 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
}

#page_homepage .kozaki-hero__title,
body.front_page .kozaki-hero__title {
  position: static;
  z-index: auto;
  top: auto;
  left: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: calc(26px + 30 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
}

#page_homepage .kozaki-hero__lead,
body.front_page .kozaki-hero__lead {
  position: static;
  z-index: auto;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  box-sizing: border-box;
  margin: 0.25rem 0 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: calc(14px + 4 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  opacity: 0;
}

@media screen and (max-width: 767px) {

  #page_homepage .hero-section.kozaki-hero,
  body.front_page .hero-section.kozaki-hero {
    --kozaki-hero-tagline-top: 15%;
  }

  #page_homepage .kozaki-hero__copy,
  body.front_page .kozaki-hero__copy {
    top: 16%;
  }
}

@media screen and (min-width: 768px) {

  #page_homepage .hero-section.kozaki-hero,
  body.front_page .hero-section.kozaki-hero {
    --kozaki-hero-tagline-top: 15%;
    --kozaki-hero-tagline-left: 5%;
    --kozaki-hero-title-top: 20%;
    --kozaki-hero-title-left: 5%;
    --kozaki-hero-lead-top: 35%;
    --kozaki-hero-lead-left: 5%;
  }

  #page_homepage .kozaki-hero__copy,
  body.front_page .kozaki-hero__copy {
    max-width: min(90%, 960px);
    padding: 30px 4rem 16px;
  }

  #page_homepage .kozaki-hero__copy::before,
  body.front_page .kozaki-hero__copy::before {
    top: -12px;
    right: -72px;
    bottom: -12px;
    left: 0;
  }

  #page_homepage .kozaki-hero__tagline,
  #page_homepage .kozaki-hero__title,
  #page_homepage .kozaki-hero__lead,
  body.front_page .kozaki-hero__tagline,
  body.front_page .kozaki-hero__title,
  body.front_page .kozaki-hero__lead {
    max-width: 100%;
    text-align: left;
  }
}

/* TOP お知らせ（最新1件） */
#page_homepage .kozaki-news-top {
  width: 100%;
}

#page_homepage .kozaki-news-top__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

#page_homepage .kozaki-news-top__heading {
  flex: 0 0 auto;
  line-height: 0;
  align-self: center;
}

#page_homepage .kozaki-news-top__body {
  flex: 1 1 auto;
  min-width: 0;
}

#page_homepage .kozaki-news-top__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-news-top__link:hover {
  opacity: 0.7;
}

#page_homepage .kozaki-news-top__date {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

#page_homepage .kozaki-news-top__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page_homepage .kozaki-news-top__arrow {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  #page_homepage .kozaki-news-top__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  #page_homepage .kozaki-news-top__heading {
    align-self: flex-start;
  }

  #page_homepage .kozaki-news-top__body {
    width: 100%;
  }

  #page_homepage .kozaki-news-top__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
    width: 100%;
  }

  #page_homepage .kozaki-news-top__date {
    white-space: nowrap;
  }

  #page_homepage .kozaki-news-top__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #page_homepage .kozaki-news-top__arrow {
    text-align: right;
  }
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-news-top__inner {
    gap: 24px;
    max-width: 1040px;
    padding: 16px;
  }

  #page_homepage .kozaki-news-top__link {
    gap: 12px;
  }

  #page_homepage .kozaki-news-top__date,
  #page_homepage .kozaki-news-top__arrow {
    font-size: 16px;
  }

  #page_homepage .kozaki-news-top__text {
    font-size: calc(16px + 2 * ((100vw - 320px) / 670));
    line-height: 1.4;
  }
}

/* TOP お知らせ一覧（最新5件） */
#page_homepage .kozaki-news-list {
  --kozaki-news-date-col: 5.5em;
  --kozaki-news-arrow-col: 1em;
  --kozaki-news-col-gap: 8px;
  --kozaki-news-block-gap: 16px;
  --kozaki-news-index-outset-fallback: calc(var(--kozaki-news-arrow-col) + var(--kozaki-news-col-gap));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--kozaki-news-block-gap);
  row-gap: 12px;
  align-items: start;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

#page_homepage .kozaki-news-list__heading {
  grid-column: 1;
  grid-row: 1;
  line-height: 0;
  padding-top: 4px;
}

#page_homepage .kozaki-news-list__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

#page_homepage .kozaki-news-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

#page_homepage .kozaki-news-list__item+.kozaki-news-list__item {
  margin-top: 8px;
}

#page_homepage .kozaki-news-list__link {
  display: grid;
  grid-template-columns: var(--kozaki-news-date-col) minmax(0, 1fr) var(--kozaki-news-arrow-col);
  column-gap: var(--kozaki-news-col-gap);
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-news-list__link:hover {
  opacity: 0.7;
}

#page_homepage .kozaki-news-list__date {
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

#page_homepage .kozaki-news-list__text {
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page_homepage .kozaki-news-list__arrow {
  font-size: 14px;
  line-height: 1;
  text-align: right;
}

/* 一覧ボタンのみ: リスト列下段・＞の外側（単独配置） */
#page_homepage .kozaki-news-list__index {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin-right: var(--kozaki-news-index-outset-fallback);
  line-height: 0;
}

#page_homepage .kozaki-news-list__index-link {
  display: inline-block;
  line-height: 0;
}

#page_homepage .kozaki-news-list__index-link:hover {
  opacity: 0.85;
}

@media screen and (max-width: 767px) {
  #page_homepage .kozaki-news-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }

  #page_homepage .kozaki-news-list__heading {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
  }

  #page_homepage .kozaki-news-list__body {
    grid-column: 1;
    grid-row: 2;
  }

  #page_homepage .kozaki-news-list__index {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
    margin-right: 0;
  }
}

/* TOP カテゴリ（固定8件 + Swiper） */
#page_homepage .kozaki-category {
  width: 100%;
  padding: 10px 0 20px;
  box-sizing: border-box;
}

#page_homepage .kozaki-category__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0 auto 16px;
  padding: 0 10px;
  box-sizing: border-box;
}

#page_homepage .kozaki-category__title-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  line-height: 0;
}

/* TOP タイトル画像（共通） */
#page_homepage .kozaki-category__title-img,
#page_homepage .kozaki-ranking__title-img,
#page_homepage .kozaki-select-item__title-img,
#page_homepage .kozaki-new-item__title-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 320px);
  object-fit: contain;
}

/* TOP お知らせタイトル（共通320pxルール対象外・SPは200px） */
#page_homepage .kozaki-news-top__title-img,
#page_homepage .kozaki-news-list__title-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  object-fit: contain;
}

#page_homepage .kozaki-category__list-btn--head {
  display: none;
}

#page_homepage .kozaki-category__foot {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 0 10px;
  box-sizing: border-box;
}

#page_homepage .kozaki-category__list-btn--foot {
  display: block;
  width: auto;
  line-height: 0;
}

/* TOP 一覧ボタン画像（共通） */
#page_homepage .kozaki-category__list-btn-img,
#page_homepage .kozaki-new-item__list-btn-img,
#page_homepage .kozaki-news-list__index-btn-img,
#page_homepage .kozaki-donation-explan__list-btn-img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#page_homepage .kozaki-sec-line {
  width: 100%;
  margin-top: 20px;
  padding: 0 10px;
  box-sizing: border-box;
  line-height: 0;
  text-align: center;
}

#page_homepage .kozaki-sec-line__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#page_homepage .kozaki-category__slider {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

#page_homepage .kozaki-category__swiper {
  overflow: hidden;
}

@media screen and (max-width: 1279px) {
  #page_homepage .kozaki-category__swiper .swiper-wrapper {
    margin-bottom: 10px;
  }

  #page_homepage .kozaki-category__swiper>.swiper-scrollbar {
    bottom: 4px !important;
  }

  #page_homepage .kozaki-category__swiper.nogradient {
    mask-image: none;
    -webkit-mask-image: none;
  }

  #page_homepage .kozaki-category__swiper.gradient {
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%);
  }

  #page_homepage .kozaki-category__swiper.left-gradient {
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 10%,
        black 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 10%,
        black 100%);
  }

  #page_homepage .kozaki-category__swiper.right-gradient {
    mask-image: linear-gradient(to right,
        black 0%,
        black 90%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        black 0%,
        black 90%,
        transparent 100%);
  }
}

@media screen and (min-width: 1280px) {
  #page_homepage .kozaki-category__swiper>.swiper-scrollbar {
    display: none !important;
  }

  #page_homepage .kozaki-category__swiper {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

#page_homepage .kozaki-category__swiper .swiper-wrapper {
  align-items: stretch;
}

#page_homepage .kozaki-category__swiper .swiper-slide {
  height: auto;
  align-self: stretch;
}

#page_homepage .kozaki-category__item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 4px 2px 8px;
  box-sizing: border-box;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

#page_homepage .kozaki-category__item:hover {
  opacity: 0.75;
}

#page_homepage .kozaki-category__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  margin: 0 auto;
  grid-row: 1;
}

#page_homepage .kozaki-category__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#page_homepage .kozaki-category__name {
  display: block;
  align-self: start;
  width: 100%;
  font-size: calc(14px + 2 * ((100vw - 320px) / 670));
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  grid-row: 2;
}

#page_homepage .kozaki-category__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  grid-row: 3;
}

#page_homepage .kozaki-category__arrow .bi {
  font-size: 12px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-category {
    padding: 16px 0 28px;
  }

  /* TOP タイトル画像（共通・PC） */
  #page_homepage .kozaki-category__title-img,
  #page_homepage .kozaki-ranking__title-img,
  #page_homepage .kozaki-select-item__title-img,
  #page_homepage .kozaki-new-item__title-img {
    max-width: 360px;
  }

  #page_homepage .kozaki-news-top__title-img,
  #page_homepage .kozaki-news-list__title-img {
    height: auto;
    max-width: 240px;
  }

  #page_homepage .kozaki-news-list {
    --kozaki-news-date-col: 6em;
    --kozaki-news-arrow-col: 1.25em;
    --kozaki-news-col-gap: 12px;
    --kozaki-news-block-gap: 24px;
    max-width: 1040px;
    padding: 16px;
    row-gap: 16px;
  }

  /* 1920px で -300px 相当。幅が狭まるほど右へ出さず、はみ出し前に＞列外へ収束 */
  #page_homepage .kozaki-news-list__index {
    margin-right: min(var(--kozaki-news-index-outset-fallback),
        calc(-300px + max(0px, 1920px - 100vw) * 1.186));
  }

  #page_homepage .kozaki-news-list__item+.kozaki-news-list__item {
    margin-top: 12px;
  }

  #page_homepage .kozaki-news-list__date,
  #page_homepage .kozaki-news-list__arrow {
    font-size: 16px;
  }

  #page_homepage .kozaki-news-list__text {
    font-size: calc(16px + 2 * ((100vw - 320px) / 670));
    line-height: 1.4;
  }

  #page_homepage .kozaki-news-list__index-btn-img,
  #page_homepage .kozaki-new-item__list-btn-img,
  #page_homepage .kozaki-donation-explan__list-btn-img {
    width: auto;
    height: auto;
    max-width: 240px;
  }

  #page_homepage .kozaki-category__slider {
    padding-left: 16px;
    padding-right: 16px;
  }

  #page_homepage .kozaki-sec-line {
    margin-top: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }

  #page_homepage .kozaki-category__item {
    gap: 10px;
    padding-bottom: 10px;
  }

  #page_homepage .kozaki-category__icon-wrap {
    max-width: 200px;
  }

  #page_homepage .kozaki-category__arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  #page_homepage .kozaki-category__arrow .bi {
    font-size: 14px;
  }
}

@media screen and (min-width: 992px) {
  #page_homepage .kozaki-category__head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    flex-direction: row;
    align-items: center;
    position: relative;
    min-height: 0;
    margin-bottom: 20px;
    padding: 0;
    overflow: visible;
  }

  #page_homepage .kozaki-category__title-wrap {
    grid-column: 2;
    justify-self: center;
    width: auto;
    max-width: none;
  }

  #page_homepage .kozaki-category__list-btn-img {
    width: auto;
    height: auto;
    max-width: 240px;
  }

  #page_homepage .kozaki-category__list-btn--head {
    display: block;
    grid-column: 3;
    justify-self: end;
    width: auto;
    max-width: none;
    margin-right: 2.5rem;
    line-height: 0;
  }

  #page_homepage .kozaki-category__list-btn--foot {
    display: none;
  }

  #page_homepage .kozaki-category__foot {
    display: none;
  }
}

/* TOP 返礼品ランキング（サンプル5品） */
#page_homepage .kozaki-ranking {
  width: 100%;
  padding: 24px 10px 32px;
  box-sizing: border-box;
}

#page_homepage .kozaki-ranking__head {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  line-height: 0;
}

#page_homepage .kozaki-ranking__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#page_homepage .kozaki-ranking__item {
  min-width: 0;
}

#page_homepage .kozaki-ranking__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-ranking__card:hover {
  opacity: 0.85;
}

#page_homepage .kozaki-ranking__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

#page_homepage .kozaki-ranking__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#page_homepage .kozaki-ranking__rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

#page_homepage .kozaki-ranking__rank--1 {
  background: rgba(212, 175, 55, 0.8);
}

#page_homepage .kozaki-ranking__rank--2 {
  background: rgba(184, 184, 184, 0.8);
}

#page_homepage .kozaki-ranking__rank--3 {
  background: rgba(184, 115, 51, 0.8);
}

#page_homepage .kozaki-ranking__rank--4,
#page_homepage .kozaki-ranking__rank--5 {
  background: rgba(241, 226, 207, 0.8);
  color: var(--color-text-base);
}

#page_homepage .kozaki-ranking__name {
  flex: 1 1 auto;
}

#page_homepage .kozaki-ranking__price {
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-ranking {
    padding: 0 40px;
  }

  #page_homepage .kozaki-ranking__head {
    margin-bottom: 28px;
  }

  #page_homepage .kozaki-ranking__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  #page_homepage .kozaki-ranking__rank {
    min-width: 32px;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 18px;
  }
}

@media screen and (min-width: 1280px) {
  #page_homepage .kozaki-ranking__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* TOP セレクト返礼品（サンプル10品） */
#page_homepage .kozaki-select-item {
  width: 100%;
  padding: 24px 10px 32px;
  box-sizing: border-box;
}

#page_homepage .kozaki-select-item__head {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  line-height: 0;
}

#page_homepage .kozaki-select-item__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 8px 0 0;
  list-style: none;
}

#page_homepage .kozaki-select-item__item {
  min-width: 0;
}

#page_homepage .kozaki-select-item__item--featured {
  position: relative;
  z-index: 1;
}

#page_homepage .kozaki-select-item__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-select-item__card:hover {
  opacity: 0.85;
}

#page_homepage .kozaki-select-item__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

#page_homepage .kozaki-select-item__item--featured .kozaki-select-item__image-wrap {
  overflow: visible;
}

#page_homepage .kozaki-select-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#page_homepage .kozaki-select-item__badge {
  position: absolute;
  top: -30px;
  left: -10px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      rgba(232, 197, 71, 1) 0%,
      rgba(201, 162, 39, 0.8) 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 1px 1px #5a5a5a;
}

#page_homepage .kozaki-select-item__badge-line {
  display: block;
  width: 100%;
  text-align: center;
}

#page_homepage .kozaki-select-item__name {
  flex: 1 1 auto;
}

#page_homepage .kozaki-select-item__price {
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-select-item {
    padding: 0 40px 32px;
  }

  #page_homepage .kozaki-select-item__head {
    margin-bottom: 28px;
  }

  #page_homepage .kozaki-select-item__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 12px;
  }

  #page_homepage .kozaki-select-item__badge {
    top: -60px;
    left: -30px;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    padding: 10px;
    font-size: 20px;
  }
}

@media screen and (min-width: 1280px) {
  #page_homepage .kozaki-select-item__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* TOP 新着返礼品（サンプル10件） */
#page_homepage .kozaki-new-item {
  width: 100%;
  padding: 24px 10px 32px;
  box-sizing: border-box;
}

#page_homepage .kozaki-new-item__head {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  line-height: 0;
}

#page_homepage .kozaki-new-item__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#page_homepage .kozaki-new-item__item {
  min-width: 0;
}

#page_homepage .kozaki-new-item__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-new-item__card:hover {
  opacity: 0.85;
}

#page_homepage .kozaki-new-item__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

#page_homepage .kozaki-new-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#page_homepage .kozaki-new-item__name {
  flex: 1 1 auto;
}

#page_homepage .kozaki-new-item__price {
  flex-shrink: 0;
}

#page_homepage .kozaki-new-item__foot {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding: 0 10px;
  box-sizing: border-box;
  line-height: 0;
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-new-item {
    padding: 0 40px 32px;
  }

  #page_homepage .kozaki-new-item__head {
    margin-bottom: 28px;
  }

  #page_homepage .kozaki-new-item__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  #page_homepage .kozaki-new-item__foot {
    margin-top: 32px;
  }
}

@media screen and (min-width: 1280px) {
  #page_homepage .kozaki-new-item__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* TOP コンテンツ導線（municipality_intro） */
#page_homepage .kozaki-municipality-intro,
body.front_page .kozaki-municipality-intro {
  width: 100%;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
}

#page_homepage .kozaki-municipality-intro__grid,
body.front_page .kozaki-municipality-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}

#page_homepage .kozaki-municipality-intro__col,
body.front_page .kozaki-municipality-intro__col {
  min-width: 0;
}

#page_homepage .kozaki-municipality-intro__card,
body.front_page .kozaki-municipality-intro__card {
  display: block;
  color: inherit;
  text-decoration: none;
}

#page_homepage .kozaki-municipality-intro__card:hover,
body.front_page .kozaki-municipality-intro__card:hover {
  opacity: 0.92;
}

#page_homepage .kozaki-municipality-intro__visual,
body.front_page .kozaki-municipality-intro__visual {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

#page_homepage .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__visual,
body.front_page .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__visual {
  aspect-ratio: 3 / 2;
  container-type: inline-size;
  container-name: kozaki-cf-visual;
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__visual,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__visual {
  aspect-ratio: 3 / 2;
  container-type: size;
  container-name: kozaki-jigyousya-visual;
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__img,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#page_homepage .kozaki-municipality-intro__img,
body.front_page .kozaki-municipality-intro__img {
  display: block;
  width: 100%;
  height: auto;
}

#page_homepage .kozaki-municipality-intro__overlay,
body.front_page .kozaki-municipality-intro__overlay {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  padding: 16px;
  pointer-events: none;
}

#page_homepage .kozaki-municipality-intro__overlay--left,
body.front_page .kozaki-municipality-intro__overlay--left {
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

#page_homepage .kozaki-municipality-intro__overlay--right,
body.front_page .kozaki-municipality-intro__overlay--right {
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  text-align: right;
}

#page_homepage .kozaki-municipality-intro__subtitle,
body.front_page .kozaki-municipality-intro__subtitle {
  /*margin: 0 0 8px;*/
  font-family: var(--font-family-base);
  font-size: calc(14px + 4 * ((100vw - 320px) / 670));
  font-weight: 400;
  /*line-height: 1.6;*/
  letter-spacing: 0.04em;
  color: var(--color-text-base);
}

#page_homepage .kozaki-municipality-intro__title,
body.front_page .kozaki-municipality-intro__title {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: calc(14px + 10 * ((100vw - 320px) / 670));
  font-weight: 700;
  /*line-height: 1.45;*/
  letter-spacing: 0.04em;
  color: var(--color-text-base);
}

#page_homepage .kozaki-municipality-intro__lead,
body.front_page .kozaki-municipality-intro__lead {
  margin: 0;
  max-width: 36em;
  font-family: var(--font-family-base);
  font-size: calc(14px + 4 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--color-text-base);
}

#page_homepage .kozaki-municipality-intro__btn,
body.front_page .kozaki-municipality-intro__btn {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 20px;
  font-family: var(--font-family-base);
  font-size: calc(14px + 2 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--color-text-base);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(27, 21, 16, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

#page_homepage .kozaki-municipality-intro__btn--center-bottom,
body.front_page .kozaki-municipality-intro__btn--center-bottom {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

#page_homepage .kozaki-municipality-intro__btn--left-bottom,
body.front_page .kozaki-municipality-intro__btn--left-bottom {
  left: 16px;
  bottom: 16px;
}

/* まちの紹介（cont03） */
#page_homepage .kozaki-municipality-intro__about-layout,
body.front_page .kozaki-municipality-intro__about-layout {
  --kozaki-about-hero-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#page_homepage .kozaki-municipality-intro__about-hero,
body.front_page .kozaki-municipality-intro__about-hero {
  display: contents;
}

#page_homepage .kozaki-municipality-intro__about-panel,
body.front_page .kozaki-municipality-intro__about-panel {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

#page_homepage .kozaki-municipality-intro__about-panel--1,
body.front_page .kozaki-municipality-intro__about-panel--1 {
  order: 3;
}

#page_homepage .kozaki-municipality-intro__about-panel--2,
body.front_page .kozaki-municipality-intro__about-panel--2 {
  order: 1;
  height: auto;
}

#page_homepage .kozaki-municipality-intro__about-panel--1 .kozaki-municipality-intro__about-img,
body.front_page .kozaki-municipality-intro__about-panel--1 .kozaki-municipality-intro__about-img,
#page_homepage .kozaki-municipality-intro__about-panel--2 .kozaki-municipality-intro__about-img,
body.front_page .kozaki-municipality-intro__about-panel--2 .kozaki-municipality-intro__about-img {
  display: block;
  width: 100%;
  height: auto;
}

#page_homepage .kozaki-municipality-intro__overlay--about,
body.front_page .kozaki-municipality-intro__overlay--about {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 10px;
  line-height: normal;
}

#page_homepage .kozaki-municipality-intro__col--about .kozaki-municipality-intro__copy,
body.front_page .kozaki-municipality-intro__col--about .kozaki-municipality-intro__copy {
  width: 100%;
}

#page_homepage .kozaki-municipality-intro__title--about,
body.front_page .kozaki-municipality-intro__title--about {
  margin: 0;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: calc(20px + 8 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.12em;
  color: var(--color-text-base);
}

#page_homepage .kozaki-municipality-intro__lead--about,
body.front_page .kozaki-municipality-intro__lead--about {
  margin: 16px 0 0;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: var(--color-text-base);
}

#page_homepage .kozaki-municipality-intro__lead--about br,
body.front_page .kozaki-municipality-intro__lead--about br {
  display: block;
  margin-bottom: 0.45em;
  content: "";
}

#page_homepage .kozaki-municipality-intro__col--about .kozaki-municipality-intro__btn-img--about,
body.front_page .kozaki-municipality-intro__col--about .kozaki-municipality-intro__btn-img--about {
  margin-top: 16px;
}

#page_homepage .kozaki-municipality-intro__about-gallery,
body.front_page .kozaki-municipality-intro__about-gallery {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

#page_homepage .kozaki-municipality-intro__about-gallery-img,
body.front_page .kozaki-municipality-intro__about-gallery-img {
  display: block;
  width: 100%;
  height: auto;
}

/* CF（cont01）— モックアップ準拠 */
#page_homepage .kozaki-municipality-intro__col--cf,
body.front_page .kozaki-municipality-intro__col--cf {
  --kozaki-cf-gold: #c5a059;
  --kozaki-cf-navy: #0a1931;
  --kozaki-cf-btn-bg: #f5f5f0;
}

#page_homepage .kozaki-municipality-intro__overlay--cf,
body.front_page .kozaki-municipality-intro__overlay--cf {
  inset: 0;
  display: flex;
  align-items: center;
  /*width: 58%;
  max-width: 58%;*/
  padding: 16px;
  line-height: normal;
}

#page_homepage .kozaki-municipality-intro__copy,
body.front_page .kozaki-municipality-intro__copy {
  width: 100%;
}

#page_homepage .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle,
body.front_page .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle {
  /*margin: 0 0 12px;*/
  font-size: calc(14px + 4 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.08em;
  color: var(--kozaki-cf-gold);
}

#page_homepage .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__title,
body.front_page .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__title {
  margin: 0;
  font-weight: 700;
  /*line-height: 1.45;*/
  letter-spacing: 0.06em;
  color: #fff;
}

#page_homepage .kozaki-municipality-intro__title-main,
body.front_page .kozaki-municipality-intro__title-main {
  display: block;
  font-size: calc(14px + 10 * ((100vw - 320px) / 670));
}

#page_homepage .kozaki-municipality-intro__title-sub,
body.front_page .kozaki-municipality-intro__title-sub {
  display: block;
  margin-top: 4px;
  font-size: calc(14px + 0 * ((100vw - 320px) / 670));
  font-weight: 700;
  /*line-height: 1.5;*/
}

#page_homepage .kozaki-municipality-intro__ornament,
body.front_page .kozaki-municipality-intro__ornament {
  width: 100%;
  max-width: min(100%, 160px);
  margin: 6px 0 6px;
  line-height: 0;
}

#page_homepage .kozaki-municipality-intro__ornament-img,
body.front_page .kozaki-municipality-intro__ornament-img {
  display: block;
  width: 100%;
  height: auto;
}

#page_homepage .kozaki-municipality-intro__lead--cf,
body.front_page .kozaki-municipality-intro__lead--cf {
  margin: 0 0 10px;
  /*max-width: 18em;*/
  font-size: calc(10px + 3 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

#page_homepage .kozaki-municipality-intro__cf-ol,
body.front_page .kozaki-municipality-intro__cf-ol {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 2%;
  width: auto;
  max-width: 100px;
  height: auto;
  pointer-events: none;
}

@media screen and (min-width: 768px) {

  #page_homepage .kozaki-municipality-intro__cf-ol,
  body.front_page .kozaki-municipality-intro__cf-ol {
    right: 10%;
    bottom: 10%;
    max-width: 160px;
  }
}

@media screen and (min-width: 1920px) {

  #page_homepage .kozaki-municipality-intro__cf-ol,
  body.front_page .kozaki-municipality-intro__cf-ol {
    max-width: min(42%, 200px);
  }
}

#page_homepage .kozaki-municipality-intro__about-ol,
body.front_page .kozaki-municipality-intro__about-ol {
  position: absolute;
  z-index: 2;
  top: 56%;
  left: 50%;
  width: auto;
  max-width: min(30%, 280px);
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#page_homepage .kozaki-municipality-intro__btn-img,
body.front_page .kozaki-municipality-intro__btn-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

/* cont03 まちの紹介ボタン — SP はお知らせ一覧（200px）と同寸。.btn-img の max-width:100% より後に置く */
#page_homepage .kozaki-municipality-intro__btn-img--about,
body.front_page .kozaki-municipality-intro__btn-img--about {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media screen and (min-width: 768px) {

  #page_homepage .kozaki-municipality-intro__btn-img--about,
  body.front_page .kozaki-municipality-intro__btn-img--about {
    width: auto;
    max-width: 240px;
  }
}

#page_homepage .kozaki-municipality-intro__btn-img--cf,
body.front_page .kozaki-municipality-intro__btn-img--cf {
  margin-top: 10px;
  max-height: clamp(36px, 10cqw, 52px);
}

/* 事業者紹介（cont02）— CF と同様に HTML テキスト */
#page_homepage .kozaki-municipality-intro__col--jigyousya,
body.front_page .kozaki-municipality-intro__col--jigyousya {
  --kozaki-jigyousya-green: #4a6741;
  --kozaki-jigyousya-green-dark: #3d5636;
  --kozaki-jigyousya-text: #1b1510;
}

#page_homepage .kozaki-municipality-intro__overlay--jigyousya,
body.front_page .kozaki-municipality-intro__overlay--jigyousya {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 57%;
  max-width: 57%;
  max-height: 100%;
  padding: 16px;
  line-height: normal;
  text-align: center;
  overflow: hidden;
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__copy,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__copy {
  width: 100%;
  max-height: 100%;
  text-align: center;
  overflow: hidden;
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle {
  font-size: calc(14px + 4 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--kozaki-jigyousya-text);
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--kozaki-jigyousya-text);
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main {
  display: block;
  font-size: calc(16px + 10 * ((100vw - 320px) / 670));
  line-height: 1.45;
}

#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament {
  max-width: min(100%, 180px);
  margin: 8px auto;
}

#page_homepage .kozaki-municipality-intro,
body.front_page .kozaki-municipality-intro {
  --about02-text-shade: rgba(250, 244, 232, 0.4);
}

#page_homepage .kozaki-municipality-intro__lead--jigyousya,
body.front_page .kozaki-municipality-intro__lead--jigyousya {
  margin: 0 auto 12px;
  max-width: 22em;
  font-size: calc(11px + 3 * ((100vw - 320px) / 670));
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--kozaki-jigyousya-text);
}

@media screen and (max-width: 991px) {

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
  #page_homepage .kozaki-municipality-intro__lead--jigyousya,
  body.front_page .kozaki-municipality-intro__lead--jigyousya {
    display: inline;
    background-color: var(--about02-text-shade);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
}

#page_homepage .kozaki-municipality-intro__btn-img--jigyousya,
body.front_page .kozaki-municipality-intro__btn-img--jigyousya {
  margin: 8px auto 0;
  max-height: clamp(38px, 11cqw, 56px);
}

/* cont02 菱形ラベル — 3000×2000 基準（緑菱形中心 75.35%, 49.98%） */
#page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label,
body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label {
  position: absolute;
  z-index: 2;
  top: 29%;
  left: 58%;
  width: 20%;
  margin: 0;
  font-family: var(--font-family-base);
  /*font-size: 1.33cqw;*/
  /*font-weight: 700;*/
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: center;
  color: #ffcc00;
  pointer-events: none;
  /*transform: translate(-50%, -50%) rotate(-45deg);*/
  transform-origin: center center;
}

/* CF 掲載開始前: 左なし・cont02 のみ中央（PC は2カラム1列分） */
#page_homepage .kozaki-municipality-intro--cf-pending .kozaki-municipality-intro__col--jigyousya,
body.front_page .kozaki-municipality-intro--cf-pending .kozaki-municipality-intro__col--jigyousya {
  width: 100%;
  max-width: 100%;
}

@media screen and (min-width: 768px) {

  #page_homepage .kozaki-municipality-intro,
  body.front_page .kozaki-municipality-intro {
    padding: 40px;
  }

  #page_homepage .kozaki-municipality-intro__grid,
  body.front_page .kozaki-municipality-intro__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  #page_homepage .kozaki-municipality-intro__col--about,
  body.front_page .kozaki-municipality-intro__col--about {
    grid-column: 1 / -1;
  }

  #page_homepage .kozaki-municipality-intro--cf-pending .kozaki-municipality-intro__col--jigyousya,
  body.front_page .kozaki-municipality-intro--cf-pending .kozaki-municipality-intro__col--jigyousya {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  #page_homepage .kozaki-municipality-intro__overlay,
  body.front_page .kozaki-municipality-intro__overlay {
    padding: 24px 32px;
  }

  #page_homepage .kozaki-municipality-intro__overlay--left,
  body.front_page .kozaki-municipality-intro__overlay--left {
    /*  max-width: 62%;*/
  }

  #page_homepage .kozaki-municipality-intro__overlay--right,
  body.front_page .kozaki-municipality-intro__overlay--right {
    /* max-width: 62%;*/
  }

  #page_homepage .kozaki-municipality-intro__overlay--about,
  body.front_page .kozaki-municipality-intro__overlay--about {
    padding: 28px 24px;
  }

  #page_homepage .kozaki-municipality-intro__title--about,
  body.front_page .kozaki-municipality-intro__title--about {
    font-size: calc(24px + 8 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__lead--about,
  body.front_page .kozaki-municipality-intro__lead--about {
    margin-top: 20px;
    font-size: calc(14px + 3 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__lead--about br,
  body.front_page .kozaki-municipality-intro__lead--about br {
    margin-bottom: 0.5em;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--about,
  body.front_page .kozaki-municipality-intro__btn-img--about {
    margin-top: 24px;
  }

  #page_homepage .kozaki-municipality-intro__about-gallery,
  body.front_page .kozaki-municipality-intro__about-gallery {
    gap: 16px;
  }

  #page_homepage .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__subtitle {
    /*margin-bottom: 12px;*/
    font-size: calc(16px + 4 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__title,
  body.front_page .kozaki-municipality-intro__title {
    font-size: calc(28px + 12 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__lead,
  body.front_page .kozaki-municipality-intro__lead {
    font-size: calc(16px + 4 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__btn--center-bottom,
  body.front_page .kozaki-municipality-intro__btn--center-bottom {
    bottom: 24px;
  }

  #page_homepage .kozaki-municipality-intro__btn--left-bottom,
  body.front_page .kozaki-municipality-intro__btn--left-bottom {
    left: 32px;
    bottom: 24px;
  }

  #page_homepage .kozaki-municipality-intro__overlay--cf,
  body.front_page .kozaki-municipality-intro__overlay--cf {
    /*width: 52%;
    max-width: 52%;*/
    padding: 32px 28px;
  }

  #page_homepage .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle {
    margin-bottom: 16px;
    font-size: calc(20px + 4 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__title-main {
    font-size: calc(20px + 14 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__title-sub,
  body.front_page .kozaki-municipality-intro__title-sub {
    margin-top: 8px;
    font-size: calc(22px + 8 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__ornament {
    max-width: min(100%, 320px);
    margin: 20px 0 16px;
  }

  #page_homepage .kozaki-municipality-intro__lead--cf,
  body.front_page .kozaki-municipality-intro__lead--cf {
    margin-bottom: 28px;
    font-size: calc(15px + 3 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__btn-img--cf,
  body.front_page .kozaki-municipality-intro__btn-img--cf {
    max-height: 56px;
  }

  #page_homepage .kozaki-municipality-intro__overlay--jigyousya,
  body.front_page .kozaki-municipality-intro__overlay--jigyousya {
    width: 61%;
    max-width: 61%;
    padding: 32px 28px;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle {
    /*margin-bottom: 12px;*/
    font-size: calc(18px + 4 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main {
    font-size: calc(22px + 14 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament {
    max-width: min(100%, 320px);
    margin: 16px auto;
  }

  #page_homepage .kozaki-municipality-intro__lead--jigyousya,
  body.front_page .kozaki-municipality-intro__lead--jigyousya {
    margin-bottom: 24px;
    font-size: calc(14px + 3 * ((100vw - 768px) / 1152));
  }

  #page_homepage .kozaki-municipality-intro__btn-img--jigyousya,
  body.front_page .kozaki-municipality-intro__btn-img--jigyousya {
    max-height: 58px;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label {
    font-size: 2.4cqw;
  }
}

/* まちの紹介（cont03）— PC */
@media screen and (min-width: 1280px) {

  #page_homepage .kozaki-municipality-intro__about-layout,
  body.front_page .kozaki-municipality-intro__about-layout {
    display: block;
  }

  #page_homepage .kozaki-municipality-intro__about-hero,
  body.front_page .kozaki-municipality-intro__about-hero {
    display: grid;
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
    align-items: stretch;
    gap: 0;
  }

  #page_homepage .kozaki-municipality-intro__about-panel--1,
  body.front_page .kozaki-municipality-intro__about-panel--1 {
    order: 0;
    height: var(--kozaki-about-hero-height);
  }

  #page_homepage .kozaki-municipality-intro__about-panel--1 .kozaki-municipality-intro__about-img,
  body.front_page .kozaki-municipality-intro__about-panel--1 .kozaki-municipality-intro__about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  #page_homepage .kozaki-municipality-intro__about-panel--2,
  body.front_page .kozaki-municipality-intro__about-panel--2 {
    order: 0;
    height: var(--kozaki-about-hero-height);
  }

  #page_homepage .kozaki-municipality-intro__about-panel--2 .kozaki-municipality-intro__about-img,
  body.front_page .kozaki-municipality-intro__about-panel--2 .kozaki-municipality-intro__about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  #page_homepage .kozaki-municipality-intro__about-gallery,
  body.front_page .kozaki-municipality-intro__about-gallery {
    order: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
  }

  #page_homepage .kozaki-municipality-intro__overlay--about,
  body.front_page .kozaki-municipality-intro__overlay--about {
    padding: 36px 32px;
  }

  #page_homepage .kozaki-municipality-intro__title--about,
  body.front_page .kozaki-municipality-intro__title--about {
    font-size: calc(28px + 10 * ((100vw - 1280px) / 640));
  }

  #page_homepage .kozaki-municipality-intro__lead--about,
  body.front_page .kozaki-municipality-intro__lead--about {
    margin-top: 24px;
    font-size: calc(15px + 2 * ((100vw - 1280px) / 640));
  }

  #page_homepage .kozaki-municipality-intro__lead--about br,
  body.front_page .kozaki-municipality-intro__lead--about br {
    margin-bottom: 0.55em;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--about,
  body.front_page .kozaki-municipality-intro__btn-img--about {
    margin-top: 28px;
  }
}

/* 事業者紹介 — 小型 PC（1280〜1919）。1920 以上は 768px メディアクエリのフルサイズ */
@media screen and (min-width: 1280px) and (max-width: 1919px) {

  #page_homepage .kozaki-municipality-intro__overlay--jigyousya,
  body.front_page .kozaki-municipality-intro__overlay--jigyousya {
    width: 50%;
    max-width: 50%;
    padding: 14px 18px;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle {
    font-size: calc(17px + 1 * ((100vw - 1280px) / 640));
    line-height: 1.45;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main {
    font-size: calc(23px + 3 * ((100vw - 1280px) / 640));
    line-height: 1.35;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament {
    max-width: min(100%, calc(180px + 40 * ((100vw - 1280px) / 640)));
    margin: 8px auto;
  }

  #page_homepage .kozaki-municipality-intro__lead--jigyousya,
  body.front_page .kozaki-municipality-intro__lead--jigyousya {
    margin-bottom: 10px;
    font-size: calc(14px + 1 * ((100vw - 1280px) / 640));
    line-height: 1.58;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--jigyousya,
  body.front_page .kozaki-municipality-intro__btn-img--jigyousya {
    max-height: 50px;
  }
}

@media screen and (min-width: 1920px) {

  #page_homepage .kozaki-municipality-intro__overlay--jigyousya,
  body.front_page .kozaki-municipality-intro__overlay--jigyousya {
    width: 45%;
    max-width: 45%;
  }
}

/* CF（cont01）— カラム幅が狭いとき（iPad 2カラム等）画像内に収める */
@container kozaki-cf-visual (max-width: 540px) {

  #page_homepage .kozaki-municipality-intro__overlay--cf,
  body.front_page .kozaki-municipality-intro__overlay--cf {
    align-items: flex-start;
    justify-content: center;
    padding: 12px 14px;
  }

  #page_homepage .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--cf .kozaki-municipality-intro__subtitle {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
  }

  #page_homepage .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__title-main {
    font-size: 16px;
    line-height: 1.35;
  }

  #page_homepage .kozaki-municipality-intro__title-sub,
  body.front_page .kozaki-municipality-intro__title-sub {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
  }

  #page_homepage .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__ornament {
    max-width: min(100%, 120px);
    margin: 4px 0;
  }

  #page_homepage .kozaki-municipality-intro__lead--cf,
  body.front_page .kozaki-municipality-intro__lead--cf {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.65;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--cf,
  body.front_page .kozaki-municipality-intro__btn-img--cf {
    max-height: 36px;
  }
}

/* 事業者紹介（cont02）— カラム幅が狭いとき（iPad 2カラム等） */
@container kozaki-jigyousya-visual (max-width: 540px) {

  #page_homepage .kozaki-municipality-intro__overlay--jigyousya,
  body.front_page .kozaki-municipality-intro__overlay--jigyousya {
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    text-align: center;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__subtitle {
    font-size: 12px;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__title-main {
    font-size: 14px;
    line-height: 1.35;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament {
    max-width: min(100%, 40px);
    margin: 4px auto;
  }

  #page_homepage .kozaki-municipality-intro__lead--jigyousya,
  body.front_page .kozaki-municipality-intro__lead--jigyousya {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.65;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--jigyousya,
  body.front_page .kozaki-municipality-intro__btn-img--jigyousya {
    max-height: 38px;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__diamond-label {
    top: 28%;
    left: 56%;
    width: 24%;
    font-size: 10px;
    line-height: 1.45;
  }
}

/* iPhone SE 幅（〜389px）: ボタンが visual / カラム下へはみ出さない */
@media screen and (max-width: 389px) {

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__copy,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
  }

  #page_homepage .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament,
  body.front_page .kozaki-municipality-intro__col--jigyousya .kozaki-municipality-intro__ornament {
    margin: 2px auto;
  }

  #page_homepage .kozaki-municipality-intro__lead--jigyousya,
  body.front_page .kozaki-municipality-intro__lead--jigyousya {
    flex: 0 1 auto;
    min-height: 0;
    margin-bottom: 4px;
    line-height: 1.55;
  }

  #page_homepage .kozaki-municipality-intro__btn-img--jigyousya,
  body.front_page .kozaki-municipality-intro__btn-img--jigyousya {
    flex: 0 0 auto;
    margin-top: 4px;
    max-height: 32px;
  }
}

/* TOP 寄付手続き解説（美咲町デザイン流用） */
#page_homepage .kozaki-donation-explan {
  margin-top: calc(10px + 10 * ((100vw - 320px) / 670));
  margin-bottom: calc(40px + 10 * ((100vw - 320px) / 670));
}

#page_homepage .kozaki-donation-explan .container-in.howto {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
}

#page_homepage .kozaki-donation-explan .txt-diagonal {
  margin-bottom: 0;
  transform: translateY(10px) rotate(3deg);
}

#page_homepage .kozaki-donation-explan__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

#page_homepage .kozaki-donation-explan__title-img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

#page_homepage .kozaki-donation-explan__title-text {
  margin: 0;
  font-weight: bold;
  font-size: calc(20px + 4 * ((100vw - 320px) / 670));
  color: #000;
}

#page_homepage .kozaki-donation-explan .card-howto-step>*:first-child {
  padding-left: 0;
}

#page_homepage .kozaki-donation-explan .card-howto-step>*:last-child {
  padding-right: 0;
}

#page_homepage .kozaki-donation-explan .card-howto-simulator>* {
  padding-left: 0;
  padding-right: 0;
}

#page_homepage .kozaki-donation-explan .card-howto-step .card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
}

#page_homepage .kozaki-donation-explan .card-howto-step .card .card-header {
  text-align: center;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
  color: var(--color-primary);
  background: #f8f5f0;
  border: none;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

#page_homepage .kozaki-donation-explan .card-howto-step .detail-howto-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1vh;
}

#page_homepage .kozaki-donation-explan .card-howto-step .detail-howto-img img {
  width: auto;
  max-width: 100px;
  padding: 1.5vh;
}

#page_homepage .kozaki-donation-explan .card-howto-step .card-title {
  padding: 0.2rem;
  font-size: calc(10px + 2 * ((100vw - 320px) / 670));
  text-align: center;
  margin-bottom: 1rem;
}

#page_homepage .kozaki-donation-explan #simulator_sec {
  position: relative;
}

/* 旧 collapse 用 opacity:0 を上書き（常時表示） */
#page_homepage .kozaki-donation-explan .card-howto-simulator {
  opacity: 1;
}

#page_homepage .kozaki-donation-explan #simulator_sec::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: -70px;
}

#page_homepage .kozaki-donation-explan #sec-simulator {
  display: flex;
  flex-flow: column;
  gap: 1rem;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator {
  margin-top: 3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background: #fff;
  border-radius: 1rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-header {
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
  border-radius: 1rem 1rem 0 0;
  background: var(--color-primary);
  color: #fff;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-readaera {
  padding: 1rem;
  text-align: center;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-body {
  padding: 1rem;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-flow: column;
  gap: 1rem;
  background-color: #f8f5f0;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-req {
  padding: 0.5rem;
  background: #ff004e;
  color: #fff;
  font-weight: bold;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  line-height: 1;
  text-align: center;
  border-radius: 0.5rem;
  word-break: keep-all;
  min-width: 36px;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-tq {
  width: calc(165px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  text-align: initial;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-select {
  position: relative;
  width: calc(300px + 2 * ((100vw - 320px) / 670));
  background-color: #fff;
  border: 1px solid #d0d5db;
  border-radius: 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-select select {
  width: 100%;
  padding: 1rem;
  background: #fff;
  font-family: var(--font-family-base);
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  outline: none;
  appearance: none;
  text-align: initial;
  border-radius: 1rem;
  border: 0;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-select select option {
  font-family: var(--font-family-base);
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-select::after {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid #b1b1b1;
  border-bottom: 2px solid #b1b1b1;
  content: "";
  pointer-events: none;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result {
  background: #fff;
  text-align: center;
  border: 1px solid #d0d5db;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem 0;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result.is-over p,
#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result.is-over .caution-txt {
  visibility: visible;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result p:nth-of-type(1) {
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result p,
#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result .caution-txt {
  visibility: hidden;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result input {
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: calc(20px + 2 * ((100vw - 320px) / 670));
  letter-spacing: 4px;
  text-align: center;
  background: transparent;
}

#page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-result .caution-txt {
  font-size: calc(10px + 2 * ((100vw - 320px) / 670));
}

#page_homepage .kozaki-donation-explan #sec-simulator .simulator-exc {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.5rem;
  background-color: #f7f4ef;
  width: 100%;
  border-radius: 12px;
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-donation-explan #sec-simulator .simulator-exc {
    padding: 1rem;
  }
}

#page_homepage .kozaki-donation-explan #sec-simulator .simulator-exc::before {
  position: absolute;
  bottom: -5px;
  right: 7px;
  z-index: -1;
  transform: rotate(5deg);
  width: 70%;
  height: 50%;
  background-color: #ccc;
  content: "";
  filter: blur(4px);
}

#page_homepage .kozaki-donation-explan #sec-simulator .simulator-exc p {
  margin: 0;
  font-size: calc(14px + 0 * ((100vw - 320px) / 670));
  word-break: auto-phrase;
}

#page_homepage .kozaki-donation-explan #sec-howto-product {
  margin-top: 3rem;
  position: relative;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  overflow: hidden;
}

#page_homepage .kozaki-donation-explan #sec-howto-product .howto-product-header {
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
  border-radius: 0;
  background: var(--color-primary);
  color: #fff;
}

#page_homepage .kozaki-donation-explan #sec-howto-product .howto-product-body {
  padding: 0;
  border-radius: 0;
  background: #fff;
}

#page_homepage .kozaki-donation-explan #sec-howto-product .howto-product-body>.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0;
  line-height: 0;
}

#page_homepage .kozaki-donation-explan #sec-howto-product .btn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 0 0 12px 12px;
}

#page_homepage .kozaki-donation-explan__list-btn {
  display: inline-block;
  line-height: 0;
}

@keyframes kozaki-howto-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes kozaki-howto-scroll-right {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

#page_homepage .kozaki-donation-explan .ani-pro {
  display: grid;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  margin-bottom: 0;
}

#page_homepage .kozaki-donation-explan .ani-pro-wrap {
  display: flex;
  overflow: hidden;
}

#page_homepage .kozaki-donation-explan .ani-pro-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: none;
}

#page_homepage .kozaki-donation-explan .ani-pro-list_left {
  animation: kozaki-howto-scroll-left 60s infinite linear 0.5s both;
}

#page_homepage .kozaki-donation-explan .ani-pro-list_right {
  animation: kozaki-howto-scroll-right 60s infinite linear 0.5s both;
}

#page_homepage .kozaki-donation-explan .ani-pro-item {
  flex-shrink: 0;
  width: calc(8vw + 60px);
}

#page_homepage .kozaki-donation-explan .ani-pro-item>img {
  display: block;
  width: 100%;
}

#page_homepage .kozaki-donation-explan .ani-pro-wrap:hover .ani-pro-list_left,
#page_homepage .kozaki-donation-explan .ani-pro-wrap:hover .ani-pro-list_right {
  animation-play-state: paused;
}

#page_homepage .kozaki-donation-explan #sec-howto-app {
  margin-top: 3rem;
  position: relative;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  overflow: hidden;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .sec-howto-app-header {
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  font-weight: bold;
  border-radius: 0;
  background: var(--color-primary);
  color: #fff;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .sec-howto-app-body {
  padding: 0.5rem;
  position: relative;
  border-radius: 0;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius {
  width: 100%;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  border-spacing: 0;
  border-collapse: separate;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tr th,
#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tr td {
  padding: 0.5rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: calc(12px + 2 * ((100vw - 320px) / 670));
  vertical-align: middle;
}

@media screen and (min-width: 768px) {

  #page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tr th,
  #page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tr td {
    padding: 1rem;
  }
}

/* 左上空白セル（メリット列の上）— 背景・罫線なし */
#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius thead th:first-child {
  background: transparent;
  border: none !important;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius thead th:nth-child(2),
#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius thead th:nth-child(3) {
  width: 40%;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  text-align: center;
  font-weight: bold;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius thead th:nth-child(2) {
  border-top-left-radius: 1rem;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius thead th:nth-child(3) {
  border-top-right-radius: 1rem;
  border-left: none;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody th[scope="row"] {
  background: #f7f4ef;
  border: 1px solid var(--color-border);
  border-top: none;
  text-align: center;
  font-weight: bold;
}

/* メリット行：上罫線 + 左上角丸（空白 thead セル下） */
#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody tr:first-child th[scope="row"] {
  border-top: 1px solid var(--color-border);
  border-top-left-radius: 1rem;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody td {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: none;
  border-left: none;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody td+td {
  border-left: none;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody tr:last-child th[scope="row"] {
  border-bottom-left-radius: 1rem;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .table-radius tbody tr:last-child td:last-child {
  border-bottom-right-radius: 1rem;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .sec-howto-app-body a.outlink {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

#page_homepage .kozaki-donation-explan #sec-howto-app .sec-howto-bnr {
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: center;
}

#page_homepage .kozaki-donation-explan #sec-howto-app .sec-howto-bnr img {
  width: 300px;
  max-width: 100%;
}

#page_homepage .kozaki-donation-explan .ulb {
  text-decoration: underline;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  #page_homepage .kozaki-donation-explan {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  #page_homepage .kozaki-donation-explan>.container,
  #page_homepage .kozaki-donation-explan .container-in.howto {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-req {
    font-size: calc(10px + 0 * ((100vw - 320px) / 670));
  }

  #page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-tq {
    width: calc(110px + 2 * ((100vw - 320px) / 670));
  }

  #page_homepage .kozaki-donation-explan #sec-simulator .bg-simulator-select {
    width: calc(200px + 2 * ((100vw - 320px) / 670));
  }
}

@media screen and (min-width: 768px) {
  #page_homepage .kozaki-donation-explan .card-howto-step .detail-howto-img img {
    max-width: 170px;
  }
}

/* --------------------------------------------------------------------------
 * まちの紹介（/about）
 * -------------------------------------------------------------------------- */
#page_about_index,
#page_about_detail {
  background-color: #faf4e8;
}

#page_about_index .ec-layoutRole--about,
#page_about_detail .ec-layoutRole--about,
#page_jigyousya_detail .ec-layoutRole--about {
  width: 100%;
  max-width: none;
}

/* style.css / kozaki-header.css の max-width 制限を外し、セクションを画面幅いっぱいに */
#page_about_index .ec-layoutRole--about .ec-layoutRole__contents,
#page_about_detail .ec-layoutRole--about .ec-layoutRole__contents,
#page_jigyousya_detail .ec-layoutRole--about .ec-layoutRole__contents {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#page_about_index .ec-layoutRole--about .ec-layoutRole__main,
#page_about_detail .ec-layoutRole--about .ec-layoutRole__main,
#page_jigyousya_detail .ec-layoutRole--about .ec-layoutRole__main {
  width: 100%;
  max-width: none;
}

.kozaki-about {
  --about03-data-color: #1a3058;
  --about-section-gap: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 992px) {
  .kozaki-about {
    --about-section-gap: 60px;
  }
}

#page_about_index .kozaki-about {
  padding-top: 0;
}

#page_about_index #about-section-01 {
  margin-bottom: 0;
}

.kozaki-about__section {
  margin: 0;
  padding: 0;
}

#about-section-04,
#about-section-05,
#about-section-06,
#about-section-07,
#about-section-08 {
  --about-sec-pad-top: clamp(24px, 4vw, 56px);
  padding-top: var(--about-sec-pad-top);
  /* ヒーローナビ等のハッシュ飛び: セクション上端ではなくタイトル（見出し）へ */
  scroll-margin-top: calc(-1 * (var(--kozaki-header-height) + var(--about-sec-pad-top)));
}

@media screen and (min-width: 992px) {

  #about-section-04,
  #about-section-05,
  #about-section-06,
  #about-section-07,
  #about-section-08 {
    /* 992→約52px / 1920→100px */
    --about-sec-pad-top: clamp(40px, 5.2vw, 100px);
  }
}

.kozaki-about__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  vertical-align: top;
}

/* 4–8. セクション見出し（div.kozaki-about__sec-hd — site header とは別） */
.kozaki-about__sec-hd {
  --sec-hd-pl: 10%;
  --sec-hd-pr: clamp(10px, 2vw, 16px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
  margin: 0;
  /* PC: 左端から10% */
  padding: clamp(12px, 2.5vw, 20px) var(--sec-hd-pr) clamp(8px, 1.5vw, 12px) var(--sec-hd-pl);
  box-sizing: border-box;
  background-color: #faf4e8;
}

.kozaki-about__sec-hd-icon {
  flex: 0 0 auto;
  width: auto;
  height: 100px;
  overflow: visible;
  line-height: 0;
}

.kozaki-about__sec-hd-icon-img {
  display: block;
  height: 100px;
  width: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

.kozaki-about__sec-hd-body {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  min-width: 0;
}

.kozaki-about__sec-hd-title {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-family-base);
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: var(--about03-data-color);
  white-space: nowrap;
}

.kozaki-about__sec-hd-sep {
  flex: 0 0 1px;
  align-self: center;
  width: 1px;
  height: 2.5em;
  background-color: var(--about03-data-color);
}

.kozaki-about__sec-hd-sub {
  flex: 1 1 auto;
  min-width: 0;
}

.kozaki-about__sec-hd-lead {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--about03-data-color);
}

.kozaki-about__sec-hd-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 16px);
  box-sizing: border-box;
  font-family: var(--font-family-base);
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--about03-data-color);
}

.kozaki-about__sec-hd-note::before,
.kozaki-about__sec-hd-note::after {
  content: "";
  flex: 0 0 clamp(1.5rem, 6vw, 3rem);
  width: clamp(1.5rem, 6vw, 3rem);
  height: 2px;
  background: rgba(184, 148, 58, 0.75);
}

.kozaki-about__sec-hd-underline {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: clamp(8px, 1.5vw, 14px) 0 0;
  padding: 0;
  border: 0;
  line-height: 0;
  pointer-events: none;
}

.kozaki-about__sec-hd-underline--section04 {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  /* footer 最上端（カードとコーナーデコの境目）に配置するため margin は 0 */
  margin: 0;
  padding: 0;
}

#about-section-04.kozaki-about__section--deco {
  position: relative;
  overflow: visible;
}

#about-section-04 {
  --about04-stack-gap: clamp(10px, 2vw, 16px);
}

#about-section-04 .kozaki-about__sec-hd--stacked {
  position: relative;
  overflow: visible;
  isolation: isolate;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0;
}

/* stacked → 同じ余白 → note → 同じ余白 → detail-nav */
#about-section-04 .kozaki-about__sec-hd-note {
  margin-top: var(--about04-stack-gap);
  margin-bottom: var(--about04-stack-gap);
}

@media screen and (min-width: 992px) {
  #about-section-04 {
    --about04-stack-gap: clamp(12px, 1.5vw, 20px);
  }

  /* ボックスはタイトル高。画像だけ特産品と同じサイズ（はみ出しは余白側へ） */
  #about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-icon {
    height: 1.35em;
    width: auto;
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    line-height: 1.35;
    overflow: visible;
    display: flex;
    align-items: center;
  }

  #about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-icon-img {
    height: calc(1.65 * 2 * 1.75 * clamp(1rem, 1.4vw, 1.5rem));
    width: auto;
    max-width: none;
  }
}

#about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-icon,
#about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-title {
  position: relative;
  z-index: 1;
}

#about-section-04 .kozaki-about__section-deco-img--hlu,
#about-section-04 .kozaki-about__section-deco-img--hru {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: clamp(72px, 11vw, 150px);
  height: auto;
}

/* PC: hlu 上面＝タイトル上面 / hru 下面＝タイトル下面 */
#about-section-04 .kozaki-about__section-deco-img--hlu {
  top: 0;
  left: 0;
  transform: translateY(-50px);
}

#about-section-04 .kozaki-about__section-deco-img--hru {
  top: auto;
  bottom: 0;
  right: 0;
  transform: translateY(50px);
}

@media screen and (max-width: 991px) {

  /* SP: hlu / hru はタイトルエリア背面 */
  #about-section-04 .kozaki-about__section-deco-img--hlu,
  #about-section-04 .kozaki-about__section-deco-img--hru {
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
  }

  #about-section-04 .kozaki-about__section-deco-img--hlu {
    left: 0;
    object-position: left center;
    transform: translateY(-15px);
  }

  #about-section-04 .kozaki-about__section-deco-img--hru {
    display: block;
    right: 0;
    object-position: right center;
    transform: translateY(15px);
  }
}

#about-section-04 .kozaki-about__detail-nav-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 上段: アイコン行コンテナ（両端配置・下寄せ） */
#about-section-04 .kozaki-about__detail-nav-footer-icons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  line-height: 0;
}

/* コーナーグループ: フロー内に（absolute 解除） */
#about-section-04 .kozaki-about__detail-nav-footer .kozaki-about__section-deco-corner {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  line-height: 0;
}

#about-section-04 .kozaki-about__detail-nav-footer .kozaki-about__section-deco-img {
  width: auto;
  max-width: clamp(56px, 9vw, 130px);
  height: auto;
}

#about-section-04> :not(.kozaki-about__section-deco) {
  position: relative;
  z-index: 1;
}

.kozaki-about__sec-hd--multi {
  align-items: center;
}

.kozaki-about__sec-hd--multi .kozaki-about__sec-hd-body {
  flex-wrap: wrap;
  align-items: center;
}

.kozaki-about__sec-hd--multi .kozaki-about__sec-hd-underline,
.kozaki-about__sec-hd--inline .kozaki-about__sec-hd-underline {
  flex: 0 0 100%;
}

.kozaki-about__sec-hd--inline .kozaki-about__sec-hd-body {
  flex-wrap: wrap;
  align-items: center;
}

@media screen and (max-width: 991px) {
  .kozaki-about__sec-hd {
    --sec-hd-pl: 10px;
  }

  /* 04–08 共通: アイコン40px */
  .kozaki-about__sec-hd-icon,
  .kozaki-about__sec-hd-icon-img {
    height: 40px;
  }

  /* 04 stacked */
  .kozaki-about__sec-hd--stacked {
    padding-bottom: 0;
  }

  #about-section-04 .kozaki-about__sec-hd--stacked {
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
  }

  #about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-icon {
    height: 1.35em;
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    line-height: 1.35;
    display: flex;
    align-items: center;
    overflow: visible;
  }

  #about-section-04 .kozaki-about__sec-hd--stacked .kozaki-about__sec-hd-icon-img {
    height: 40px;
    width: auto;
  }

  .kozaki-about__sec-hd-note {
    padding-top: 0;
    gap: 0;
    white-space: nowrap;
    letter-spacing: 0;
  }

  .kozaki-about__sec-hd-note::before,
  .kozaki-about__sec-hd-note::after {
    display: none;
  }

  /* 05–08: アイコン40px / タイトル右横 / リードは下段・罫線なし */
  .kozaki-about__sec-hd--multi,
  .kozaki-about__sec-hd--inline {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(10px, 2vw, 16px);
    row-gap: clamp(6px, 1.5vw, 10px);
    align-items: start;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-body,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-body {
    display: contents;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-icon,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-icon {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-title,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    white-space: normal;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-sep,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-sep {
    display: none;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-sub,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-sub {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    text-align: left;
  }

  .kozaki-about__sec-hd--multi .kozaki-about__sec-hd-underline,
  .kozaki-about__sec-hd--inline .kozaki-about__sec-hd-underline {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: clamp(6px, 1.2vw, 10px);
  }

  /* SP 05–08: [icon][title] / リード全幅 / underline 全幅 */
  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--multi .kozaki-about__sec-hd-sub,
  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--inline .kozaki-about__sec-hd-sub,
  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--multi .kozaki-about__sec-hd-underline,
  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--inline .kozaki-about__sec-hd-underline {
    grid-column: 1 / -1;
  }

  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--multi .kozaki-about__sec-hd-underline,
  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--inline .kozaki-about__sec-hd-underline {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .kozaki-about__sec-hd-sep {
    height: 1.5em;
  }
}

/* =====================================================================
   2. 神崎町について（about02）
   stage = CSS Grid 同一セル重ね
     ├ visual  … 背景（高さ確保）
     ├ copy    … 左上に align-self:start  ← 縦列 1 番目
     └ features… 下端に align-self:end    ← 縦列 2 番目
   全デバイスで visual 上に copy → features の順でオーバーレイ。
   SP は features 2列×2行、768px 以上は 4列横並び。
   ===================================================================== */

.kozaki-about__intro {
  --about02-copy-left: clamp(10px, 3vw, 16px);
  --about02-copy-top: clamp(12px, 3vw, 20px);
  --about02-text-shade: rgba(250, 244, 232, 0.4);
  --about02-text-shade-glow: rgba(250, 244, 232, 0.28);
  --about02-features-inset-x: clamp(10px, 2vw, 24px);
  --about02-features-bottom: clamp(8px, 2vw, 24px);
  position: relative;
  overflow-x: clip;
  padding: 0;
  box-sizing: border-box;
}

/* --- stage: 2行 Grid (row1=copy, row2=features, visual=全域背景) --- */
.kozaki-about__intro-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr;
}

/* --- visual: 両行にまたがる背景レイヤー --- */
.kozaki-about__intro-visual {
  grid-row: 1 / -1;
  grid-column: 1;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.kozaki-about__intro-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  line-height: 0;
  pointer-events: none;
}

.kozaki-about__intro-hero-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* --- deco: 左下の装飾 --- */
.kozaki-about__intro-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100px;
  height: auto;
  margin: 0;
  pointer-events: none;
}

/* --- copy: row 1（左上） --- */
.kozaki-about__intro-copy {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
  width: auto;
  margin: var(--about02-copy-top) 0 0 var(--about02-copy-left);
  box-sizing: border-box;
  pointer-events: auto;
}

.kozaki-about__intro-kana,
.kozaki-about__intro-title-name,
.kozaki-about__intro-title-about,
.kozaki-about__intro-catch,
.kozaki-about__intro-body p {
  display: inline;
  background-color: var(--about02-text-shade);
  box-shadow: 0 2px 14px var(--about02-text-shade-glow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.kozaki-about__intro-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 0.05em;
  margin: 0;
  font-size: clamp(1.75rem, 4.8vw, 4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #1a1a1a;
}

.kozaki-about__intro-title-lead {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.kozaki-about__intro-kana {
  margin: 0;
  font-size: clamp(0.625rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: #3d3428;
  white-space: nowrap;
}

.kozaki-about__intro-title-name,
.kozaki-about__intro-title-about {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

.kozaki-about__intro-catch {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2a2018;
  line-height: 1.8;
}

.kozaki-about__intro-body {
  margin: 0.9em 0 0;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  line-height: 2;
  letter-spacing: 0.04em;
  color: #3d3428;
}

.kozaki-about__intro-body p {
  margin: 0;
}

/* --- features: row 2（下端寄せ） --- */
.kozaki-about__intro-features {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 24px) clamp(8px, 2vw, 16px);
  width: 100%;
  margin: 12px 0 0;
  /* copy との間に 12px 余白 */
  padding: 0 var(--about02-features-inset-x) var(--about02-features-bottom);
  box-sizing: border-box;
  pointer-events: auto;
}

.kozaki-about__intro-feature {
  text-align: center;
}

.kozaki-about__intro-feature-visual {
  margin: 0 auto clamp(8px, 1.5vw, 16px);
  line-height: 0;
}

.kozaki-about__intro-feature-img {
  display: block;
  width: 100%;
  max-width: min(100%, 140px);
  height: auto;
  margin: 0 auto;
}

.kozaki-about__intro-feature-title {
  margin: 0 0 0.3em;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: #1a3058;
}

.kozaki-about__intro-feature-desc {
  margin: 0;
  font-size: clamp(0.8125rem, 3.4vw, 1rem);
  line-height: 1.85;
  text-align: center;
  color: #3d3428;
}

.kozaki-about__feature-br--from1280 {
  display: none;
}

/* ---------- 768px 以上: features 4列横並び ---------- */
@media screen and (min-width: 768px) {
  .kozaki-about__intro {
    --about02-copy-left: 4%;
    --about02-copy-top: 2%;
    --about02-features-inset-x: clamp(12px, 2.5vw, 32px);
    --about02-features-bottom: clamp(12px, 2.5vw, 28px);
  }

  .kozaki-about__intro-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1vw, 16px);
  }

  .kozaki-about__intro-feature-img {
    max-width: min(100%, 200px);
  }

  .kozaki-about__intro-feature-title {
    margin: 0 0 0.5em;
    font-size: clamp(1.2rem, 2vw, 2rem);
  }

  .kozaki-about__intro-feature-desc {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
  }
}

/* ---------- iPad (768–991) ---------- */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .kozaki-about__intro {
    --about02-copy-top: 2%;
  }

  .kozaki-about__intro-feature-img {
    max-width: min(100%, 180px);
  }
}

/* ---------- ~w1920: ヒーロー左端ブラー＋グラデ ---------- */
@media screen and (max-width: 1920px) {
  .kozaki-about__intro {
    --about02-hero-blur: 10px;
    --about02-hero-fade-end: 70%;
  }

  .kozaki-about__intro-hero-img {
    mask-image: linear-gradient(to right,
        transparent 0%,
        #000 var(--about02-hero-fade-end));
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        #000 var(--about02-hero-fade-end));
  }

  .kozaki-about__intro-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    backdrop-filter: blur(var(--about02-hero-blur));
    -webkit-backdrop-filter: blur(var(--about02-hero-blur));
    mask-image: linear-gradient(to right,
        #000 0%,
        transparent var(--about02-hero-fade-end));
    -webkit-mask-image: linear-gradient(to right,
        #000 0%,
        transparent var(--about02-hero-fade-end));
    pointer-events: none;
  }
}

/* ---------- PC 992px+: フォントサイズ ---------- */
@media screen and (min-width: 992px) {
  .kozaki-about__intro {
    --about02-features-inset-x: clamp(16px, 2vw, 32px);
    --about02-features-bottom: clamp(16px, 2.5vw, 32px);
  }

  .kozaki-about__intro-body,
  .kozaki-about__intro-body p {
    font-size: 1.6rem;
  }

  .kozaki-about__access-intro p,
  .kozaki-about__p.kozaki-about__p--body,
  .kozaki-about__p.kozaki-about__p--catch,
  .kozaki-about__p.kozaki-about__p--video-lead {
    font-size: 1.6rem;
  }

  .kozaki-about__intro-feature-img {
    max-width: min(100%, 240px);
  }
}

/* ---------- 1280px+: feature 改行表示 ---------- */
@media screen and (min-width: 1280px) {
  .kozaki-about__feature-br--from1280 {
    display: block;
  }
}

/* ---------- w1920+: features を copy 直下に固定（間延び防止） ---------- */
@media screen and (min-width: 1920px) {
  .kozaki-about__intro-features {
    align-self: start;
    /* end(下端貼り付け) → start に切り替え */
    margin-top: clamp(120px, 7vw, 180px);
    /* copy との間隔を明示管理 */
    gap: clamp(40px, 2.4vw, 60px);
    padding-inline: 0;
    /* 画面中央に均等寄せ */
    max-width: 1800px;
    margin-inline: auto;
  }
}

/* ---------- SP: about02.svg の右 1/3 をセクション背景として使用 ---------- */
@media screen and (max-width: 767px) {
  .kozaki-about__intro {
    --about02-copy-top: 230px;
  }

  /* img を非表示にして hero 要素自体を背景コンテナにする */
  .kozaki-about__intro-hero-img {
    display: none;
  }

  .kozaki-about__intro-hero {
    /* 3倍幅に拡大して右端 1/3 だけを表示 */
    background-image: url("/html/user_data/123421/assets/img/kozaki/about/about02.svg");
    background-size: 300% auto;
    background-position: right top;
    background-repeat: no-repeat;
    /* 右1/3の固有アスペクト比（621:1088）で高さを確保 → 下まで表示 */
    aspect-ratio: 621 / 1088;
    min-height: unset;
    /* 画像の上部40%は不透明→下85%あたりから完全透明にフェード */
    mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
  }

  /* ~w1920 の mask-image は img 非表示により不要 → リセット */
  .kozaki-about__intro-hero::after {
    display: none;
  }

  /* features フォントサイズ */
  .kozaki-about__intro-feature-img {
    max-width: min(100%, 140px);
  }

  .kozaki-about__intro-feature-title {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
  }

  .kozaki-about__intro-feature-desc {
    font-size: clamp(0.8125rem, 3.4vw, 1rem);
  }
}

.kozaki-about__ext-link {
  display: block;
  line-height: 0;
}

/* 3. 基本データ・アクセス（about03） — デザイン基準 3000×1677 */
.kozaki-about__access {
  overflow: clip;
}

.kozaki-about__access-stage {
  --about03-art-z: 1;
  --about03-text-z: 10;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr;
  position: relative;
  /* 装飾要素の absolute 親として維持 */
  container-type: inline-size;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Grid対応によりスペーサー不要 */
.kozaki-about__access-stage::after {
  display: none;
}

.kozaki-about__access-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  pointer-events: none;
}

.kozaki-about__access-art--tl {
  position: absolute;
  z-index: var(--about03-art-z);
  top: 0;
  left: 0;
  width: 12.833%;
}

.kozaki-about__access-map-col .kozaki-about__access-art--tc {
  position: absolute;
  z-index: calc(var(--about03-art-z) + 1);
  top: calc(55 / 1600 * 100%);
  left: calc(100 / 1600 * 100%);
  width: calc(550 / 1600 * 100%);
  height: auto;
  transform: translateX(-50%);
}

.kozaki-about__access-copy {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  z-index: var(--about03-text-z);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(40%, 650px);
  /* top: 1032→2% / 1920→5% を線形補間。left は 10% 固定 */
  margin: clamp(2%, calc(2% + 3% * (100vw - 1032px) / 888px), 5%) 0 0 10%;
  padding: 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.kozaki-about__access-title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #2a2018;
}

.kozaki-about__access-map-col {
  grid-row: 1 / -1;
  grid-column: 1;
  z-index: var(--about03-art-z);
  position: relative;
  /* catch-label の absolute 親 */
  width: 100%;
  line-height: 0;
  overflow: visible;
}

.kozaki-about__access-art--tr {
  position: relative;
  z-index: var(--about03-art-z);
  display: block;
  width: 100%;
  height: auto;
}

.kozaki-about__access-intro {
  margin: 0.9em 0 0;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #3d3428;
}

.kozaki-about__access-intro p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.kozaki-about__access-deco-bl {
  position: absolute;
  z-index: var(--about03-art-z);
  left: 0;
  width: calc(700 / 3000 * 100%);
  line-height: 0;
  /* about03_5（catch）下辺に about03_4 下辺を揃える */
  position-anchor: --about03-catch-bottom;
  top: anchor(bottom);
  translate: 0 -100%;
}

.kozaki-about__access-art--bl {
  display: block;
  width: 100%;
  height: auto;
}

.kozaki-about__access-block {
  position: absolute;
  z-index: var(--about03-text-z);
  line-height: 0;
}

.kozaki-about__access-map-col .kozaki-about__access-block--catch {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  width: 60%;
  margin: 0;
  anchor-name: --about03-catch-bottom;
}

/* Anchor 非対応: ::after スペーサー下端 = 地図列下端 */
@supports not (anchor-name: --about03-catch-bottom) {
  .kozaki-about__access-deco-bl {
    top: 100%;
    translate: 0 -100%;
  }
}

.kozaki-about__access-block .kozaki-about__access-art {
  position: relative;
  z-index: var(--about03-art-z);
}

.kozaki-about__access-data {
  --about03-data-color: #1a3058;
  --about03-data-icon-size: clamp(2rem, 2.8vw, 2.75rem);
  width: 100%;
  margin: 1.25em 0 0;
  padding: 0;
  line-height: 1.6;
}

.kozaki-about__access-data-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.5em, 1.2vw, 0.85em);
  min-height: clamp(3.75rem, 5.5vw, 4.75rem);
}

.kozaki-about__access-data-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-width: 0;
  padding: 0.65em 0;
  border-bottom: 1px solid rgba(184, 148, 58, 0.55);
}

.kozaki-about__access-data-row:last-child .kozaki-about__access-data-body {
  border-bottom: none;
}

.kozaki-about__access-data-label {
  flex: 0 0 5.5em;
  align-self: center;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--about03-data-color);
  white-space: nowrap;
}

.kozaki-about__access-data-icon {
  display: inline-flex;
  flex: 0 0 var(--about03-data-icon-size);
  align-self: center;
  align-items: center;
  justify-content: center;
  width: var(--about03-data-icon-size);
  height: var(--about03-data-icon-size);
  margin: 0;
  border-radius: 0.28em;
  background-color: var(--about03-data-color);
  color: #fff;
  line-height: 1;
}

.kozaki-about__access-data-icon .bi {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1;
}

.kozaki-about__access-data-value {
  flex: 1 1 auto;
  align-self: center;
  min-width: 0;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--about03-data-color);
  word-break: keep-all;
  overflow-wrap: normal;
}

.kozaki-about__access-data-note {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kozaki-about__access-catch-label {
  position: absolute;
  z-index: calc(var(--about03-text-z) + 1);
  right: 0;
  bottom: 2%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1rem);
  padding: clamp(0.3rem, 1vw, 0.75rem) clamp(0.5rem, 1.6vw, 1.25rem) clamp(0.3rem, 1vw, 0.75rem) clamp(0.5rem, 1.4vw, 1rem);
  background-color: #021531;
  border-radius: 10px 0 0 10px;
  line-height: normal;
}

.kozaki-about__access-catch-icon {
  display: block;
  flex: 0 0 auto;
  width: clamp(3.25rem, 5.2vw, 4.5rem);
  height: auto;
  margin: 0;
}

.kozaki-about__access-catch {
  margin: 0;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.1em;
  text-align: left;
  color: #fff;
}

@media screen and (min-width: 769px) {
  .kozaki-about__access-catch-label {
    bottom: 10%;
  }
}

/* iPad */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .kozaki-about__access-copy {
    margin-top: 2%;
    width: min(50%, 600px);
  }

  .kozaki-about__access-intro {
    margin: 0;
    line-height: 1.65;
  }

  .kozaki-about__access-intro p {
    font-size: clamp(0.75rem, 1.6vw, 0.9375rem);
    line-height: inherit;
  }

  .kozaki-about__p.kozaki-about__p--body,
  .kozaki-about__p.kozaki-about__p--catch,
  .kozaki-about__p.kozaki-about__p--video-lead {
    font-size: clamp(0.75rem, 1.6vw, 0.9375rem);
    line-height: 1.65;
  }

  .kozaki-about__access-data {
    --about03-data-icon-size: clamp(1.625rem, 3.5vw, 2rem);
    margin: 0;
    line-height: 1.45;
  }

  .kozaki-about__access-data-row {
    min-height: 2.375rem;
  }

  .kozaki-about__access-data-body {
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: 0.2em 0;
  }

  .kozaki-about__access-data-label,
  .kozaki-about__access-data-value {
    font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
    line-height: 1.45;
  }

  .kozaki-about__access-data-icon .bi {
    font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  }

  .kozaki-about__access-deco-bl {
    width: min(28%, 340px);
  }

  .kozaki-about__access-catch-label {
    gap: clamp(0.5rem, 1.2vw, 0.75rem);
    padding: clamp(0.45rem, 0.9vw, 0.65rem) clamp(0.65rem, 1.2vw, 0.95rem) clamp(0.45rem, 0.9vw, 0.65rem) clamp(0.6rem, 1.1vw, 0.85rem);
  }

  .kozaki-about__access-catch-icon {
    width: clamp(2.75rem, 4.5vw, 3.75rem);
  }

  .kozaki-about__access-catch {
    font-size: clamp(0.8125rem, 1.8vw, 1.0625rem);
  }
}

@media screen and (min-width: 992px) and (max-width: 1920px) {
  .kozaki-about__access-data {
    margin-top: 3rem;
  }
}

/* ---------- SP: copy(上)→ map-col(下・上部が copy 下端に潜り込む) ---------- */
@media screen and (max-width: 767px) {
  .kozaki-about__access {
    /* copy 下端に map-col が潜り込む量（調整用変数） */
    --about03-map-overlap: 20vw;
  }

  /* flex 縦列: copy(order:1) → map-col(order:2) */
  .kozaki-about__access-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 0;
  }

  /* copy: 縦列1番目・前面 */
  .kozaki-about__access-copy {
    order: 1;
    position: relative;
    z-index: 2;
    width: auto;
    max-width: none;
    margin: 0;
    padding: clamp(20px, 4vw, 32px) clamp(12px, 4vw, 20px) 0;
  }

  /* map-col: 縦列2番目・copy の下端に負マージンで潜り込む */
  .kozaki-about__access-map-col {
    order: 2;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: calc(-1 * var(--about03-map-overlap));
    overflow: hidden;
    /* about03_3.svg（1639×1500）の右半分を表示 */
    background-image: url("/html/user_data/123421/assets/img/kozaki/about/about03_3.svg");
    background-size: 200% auto;
    background-position: right top;
    background-repeat: no-repeat;
    aspect-ratio: 1500 / 1500;
    /* 上部を overlap 分だけフェード（gap 防止） */
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%);
  }

  /* img タグは非表示 */
  .kozaki-about__access-map-col .kozaki-about__access-art--tr {
    display: none;
  }

  /* catch-label: 画像右下 */
  .kozaki-about__access-catch-label {
    right: 0;
    bottom: 10%;
    width: auto;
    max-width: 90%;
    border-radius: 10px 0 0 10px;
  }

  .kozaki-about__access-data {
    margin-top: 1em;
  }

  .kozaki-about__access-data-body {
    gap: 0;
  }
}

/* 1. ヒーロー（PC: 左ビジュアル切替 / 右下装飾 / 右半分バナー） */
#about-section-01.kozaki-about__hero-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.kozaki-about__hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 0;
  overflow: hidden;
}

.kozaki-about__hero-deco-r {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  display: block;
  width: min(1566px, 82vw);
  height: auto;
  pointer-events: none;
}

.kozaki-about__hero-visual {
  --hero-visual-scale: 1;
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  aspect-ratio: 1200 / 1080;
  margin: 0;
  transform: scale(var(--hero-visual-scale));
  transform-origin: left top;
}

.kozaki-about__hero-visual-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
  transition: none;
  will-change: opacity;
  pointer-events: none;
}

/* デフォルト about01_0 は即表示。バナー hover 間のみクロスフェード */
.kozaki-about__hero-visual-img--0 {
  transition: none;
}

.kozaki-about__hero-visual-img--1,
.kozaki-about__hero-visual-img--2,
.kozaki-about__hero-visual-img--3,
.kozaki-about__hero-visual-img--4,
.kozaki-about__hero-visual-img--5 {
  transition: opacity 0.8s ease-in-out;
}

.kozaki-about__hero-visual-img--0,
.kozaki-about__hero[data-hero-active="1"] .kozaki-about__hero-visual-img--1,
.kozaki-about__hero[data-hero-active="2"] .kozaki-about__hero-visual-img--2,
.kozaki-about__hero[data-hero-active="3"] .kozaki-about__hero-visual-img--3,
.kozaki-about__hero[data-hero-active="4"] .kozaki-about__hero-visual-img--4,
.kozaki-about__hero[data-hero-active="5"] .kozaki-about__hero-visual-img--5,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="1"]:hover) .kozaki-about__hero-visual-img--1,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="1"]:focus-visible) .kozaki-about__hero-visual-img--1,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="2"]:hover) .kozaki-about__hero-visual-img--2,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="2"]:focus-visible) .kozaki-about__hero-visual-img--2,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="3"]:hover) .kozaki-about__hero-visual-img--3,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="3"]:focus-visible) .kozaki-about__hero-visual-img--3,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="4"]:hover) .kozaki-about__hero-visual-img--4,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="4"]:focus-visible) .kozaki-about__hero-visual-img--4,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="5"]:hover) .kozaki-about__hero-visual-img--5,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link[data-hero-bnr="5"]:focus-visible) .kozaki-about__hero-visual-img--5 {
  opacity: 1;
}

.kozaki-about__hero[data-hero-active]:not([data-hero-active="0"]) .kozaki-about__hero-visual-img--0,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link:hover) .kozaki-about__hero-visual-img--0,
.kozaki-about__hero:has(.kozaki-about__hero-nav-link:focus-visible) .kozaki-about__hero-visual-img--0 {
  opacity: 0;
}

.kozaki-about__hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  padding: 12px 10px 16px;
  box-sizing: border-box;
}

.kozaki-about__hero-nav-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0 0 4px;
  padding: 0;
  box-sizing: border-box;
  color: var(--about03-data-color);
  line-height: 1.2;
}

.kozaki-about__hero-nav-lead-icon {
  display: block;
  flex: 0 0 auto;
  height: clamp(84px, 10.8vw, 132px);
  width: auto;
}

.kozaki-about__hero-nav-lead-text {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  font-family: var(--font-family-base);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.kozaki-about__hero-nav-lead-word {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.kozaki-about__hero-nav-lead-kana {
  font-size: 0.38em;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.kozaki-about__hero-nav-lead-kanji,
.kozaki-about__hero-nav-lead-rest {
  font-size: clamp(2rem, calc(2rem + 2rem * (100vw - 992px) / 928px), 4rem);
  line-height: 1.15;
}

.kozaki-about__hero-nav-link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.kozaki-about__hero-nav-link:hover,
.kozaki-about__hero-nav-link:focus-visible {
  opacity: 0.92;
}

.kozaki-about__hero-nav-img {
  display: block;
  width: 100%;
  height: auto;
}

/* /about 入場モーション: JS (Web Animations) 起動前の初期位置 */
.kozaki-about__hero--enter .kozaki-about__hero-visual,
.kozaki-about__hero--enter .kozaki-about__hero-nav-lead,
.kozaki-about__hero--enter .kozaki-about__hero-nav-link,
.kozaki-about__hero--enter .kozaki-about__hero-deco-r {
  opacity: 0;
}

.kozaki-about__hero--enter .kozaki-about__hero-visual {
  transform: translateX(-100%) scale(var(--hero-visual-scale, 1));
}

.kozaki-about__hero--enter .kozaki-about__hero-nav-lead {
  transform: translateY(-48px);
}

.kozaki-about__hero--enter .kozaki-about__hero-nav-link {
  transform: translateX(60vw);
  pointer-events: none;
}

.kozaki-about__hero--enter .kozaki-about__hero-deco-r {
  transform: translateX(100%);
}

/* 入場中のはみ出しで document 高さが伸び、終了時にスクロールがガクつかないようにする */
#about-section-01:has(.kozaki-about__hero--enter),
.kozaki-about__hero--enter {
  overflow: hidden;
  overflow-anchor: none;
}

html.kozaki-about-hero-locking {
  overflow-x: hidden;
  overflow-anchor: none;
}

/* セクション全体を動かさない（transform すると copy が visual の裏に閉じる） */
#about-section-02.kozaki-about__section--below-enter .kozaki-about__intro-copy,
#about-section-02.kozaki-about__section--below-enter .kozaki-about__intro-visual,
#about-section-02.kozaki-about__section--below-enter .kozaki-about__intro-features {
  opacity: 0;
  transform: translateY(56px);
}

@media (prefers-reduced-motion: reduce) {

  .kozaki-about__hero-visual-img,
  .kozaki-about__hero-nav-link {
    transition: none;
  }
}

@media screen and (min-width: 992px) {

  #about-section-01.kozaki-about__hero-section,
  #page_about_index #about-section-01.kozaki-about__hero-section {
    --hero-visual-overflow: 60px;
    position: relative;
    z-index: 3;
    overflow: visible;
  }

  /* 02 全体を下げると copy も visual の裏に入る。背景だけ背面、copy は visual より前 */
  #about-section-02.kozaki-about__intro {
    z-index: auto;
  }

  #about-section-02 .kozaki-about__intro-copy {
    z-index: 5;
  }

  .kozaki-about__hero {
    min-height: calc(min(1200px, 62.5vw) * 1080 / 1200);
    overflow: visible;
  }

  /* 入場中も箱は伸ばさない。左右・上だけ切り、下 60px は 02 の前面に描く */
  #page_about_index #about-section-01:has(.kozaki-about__hero--enter),
  #about-section-01:has(.kozaki-about__hero--enter),
  #about-section-01 .kozaki-about__hero--enter {
    overflow: visible;
    clip-path: inset(0 0 calc(-1 * var(--hero-visual-overflow, 60px)) 0);
  }

  .kozaki-about__hero-visual {
    --hero-visual-h: calc(min(1200px, 62.5vw) * 1080 / 1200);
    --hero-visual-scale: calc((var(--hero-visual-h) + var(--hero-visual-overflow, 60px)) / var(--hero-visual-h));
    width: min(1200px, 62.5vw);
  }

  .kozaki-about__hero-nav {
    position: absolute;
    top: 50%;
    right: 1%;
    left: 50%;
    z-index: 2;
    width: auto;
    transform: translateY(-50%);
    padding: 0;
    align-items: stretch;
  }
}

/* 4. 詳細リンク */
.kozaki-about__detail-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 16px);
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  box-sizing: border-box;
}

.kozaki-about__detail-nav-link {
  display: block;
  line-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.kozaki-about__detail-nav-link:hover,
.kozaki-about__detail-nav-link:focus-visible {
  opacity: 0.85;
}

.kozaki-about__detail-nav-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .kozaki-about__detail-nav-link {
    transition: none;
  }
}

@media screen and (min-width: 768px) {
  .kozaki-about__detail-nav {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(10px, 1.5vw, 20px);
  }

  .kozaki-about__detail-nav-link {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media screen and (min-width: 992px) {
  .kozaki-about__detail-nav {
    /* top:0 / 左右・下 = gap 同値でカード外周の余白を揃える */
    padding: 0 clamp(12px, 1.5vw, 20px) clamp(12px, 1.5vw, 20px);
    gap: clamp(12px, 1.5vw, 20px);
  }
}

/* テキスト */
.kozaki-about__text {
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: var(--font-family-base);
  color: var(--color-text-base);
}

.kozaki-about__p {
  margin: 0 0 1em;
  font-size: calc(20px + 2 * ((100vw - 320px) / 670));
  line-height: 1.9;
  color: inherit;
  padding: 10px 0;
}

.kozaki-about__p:last-child {
  margin-bottom: 0;
}

/* 段落タイプ — .kozaki-about__access-intro p と同じ文字体裁 */
.kozaki-about__p.kozaki-about__p--body,
.kozaki-about__p.kozaki-about__p--catch,
.kozaki-about__p.kozaki-about__p--video-lead {
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #3d3428;
}

/* セクション別（装飾用フック） */
.kozaki-about__text--koji-gourmet {
  /* section06 麹グルメ */
}

#about-section-06 .kozaki-about__text,
#about-section-06 .kozaki-about__media {
  padding-left: 0;
  padding-right: 0;
}

.kozaki-about__text--hakkou-sato {
  /* section06 発酵の里 */
}

.kozaki-about__text--organic-village {
  /* section07 オーガニックビレッジ */
}

/* pad */
@media screen and (min-width: 768px) and (max-width: 991px) {

  .kozaki-about__text--pad-40,
  .kozaki-about__text--pad-80,
  .kozaki-about__text--pad-100 {
    padding: 40px 20px;
  }
}

/* PC */
@media screen and (min-width: 992px) {
  .kozaki-about__text--pad-40 {
    padding: 40px 200px;
  }

  .kozaki-about__text--pad-80 {
    padding: 40px 300px;
  }

  .kozaki-about__text--pad-100 {
    padding: 40px 300px;
  }
}

.kozaki-about__media {
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

/* pad */
@media screen and (min-width: 768px) and (max-width: 991px) {

  .kozaki-about__media--pad-40,
  .kozaki-about__media--pad-100 {
    padding: 0;
  }
}

/* PC */
@media screen and (min-width: 992px) {
  .kozaki-about__media--pad-40 {
    padding: 0 200px;
  }

  .kozaki-about__media--pad-100 {
    padding: 0 200px;
  }

  #about-section-06 .kozaki-about__text,
  #about-section-06 .kozaki-about__media {
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  #about-section-06 .kozaki-about__text--hakkou-sato,
  #about-section-06 .kozaki-about__media--pad-100 {
    max-width: 1500px;
  }
}

/* ≤1920: 特産品 / グルメ / イベント 両端余白（SP 10 / PC 16） */
#about-section-05 .kozaki-about__specialties-grid {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

#about-section-05 .kozaki-about__gallery-row {
  padding-left: 0;
  padding-right: 0;
}

#about-section-06 .kozaki-about__text--koji-gourmet,
#about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__text,
#about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__media {
  padding-left: 10px;
  padding-right: 10px;
}

@media screen and (min-width: 992px) and (max-width: 1920px) {

  #about-section-05 .kozaki-about__specialties-grid,
  #about-section-06 .kozaki-about__text--koji-gourmet,
  #about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__text,
  #about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__media,
  #about-section-08 .kozaki-about__events {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media screen and (min-width: 1921px) {

  #about-section-05 .kozaki-about__specialties-grid,
  #about-section-06 .kozaki-about__text--koji-gourmet,
  #about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__text,
  #about-section-06 .kozaki-about__text--koji-gourmet~.kozaki-about__media,
  #about-section-08 .kozaki-about__events {
    padding-left: 0;
    padding-right: 0;
  }
}

/* YouTube */
.kozaki-about__video {
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

/* pad */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .kozaki-about__video--pad-100 {
    padding: 0;
  }
}

/* PC */
@media screen and (min-width: 992px) {
  .kozaki-about__video--pad-100 {
    padding: 0 300px;
  }
}

.kozaki-about__video-inner {
  position: relative;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

@media screen and (min-width: 768px) {
  .kozaki-about__video-inner {
    width: 60%;
  }
}

.kozaki-about__video-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 8. ギャラリー */
.kozaki-about__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.kozaki-about__gallery-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
  box-sizing: border-box;
}

.kozaki-about__gallery-img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .kozaki-about__gallery {
    gap: 16px;
  }

  .kozaki-about__gallery-row {
    flex-direction: row;
    gap: 16px;
  }

  .kozaki-about__gallery-img {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }
}

@media screen and (min-width: 992px) {
  .kozaki-about__gallery-row {
    padding: 0;
  }
}

/* 05–08 共通: 見出し underline は本文列のみ（アイコン下には置かない） */
.kozaki-about__sec-hd--ruled {
  padding-bottom: 0;
  row-gap: 0;
}

.kozaki-about__sec-hd--ruled .kozaki-about__sec-hd-body {
  row-gap: 0;
}

.kozaki-about__sec-hd--ruled .kozaki-about__sec-hd-underline {
  margin-top: 0;
}

/* 5. まちの特産品（SVG + HTMLテキスト） — 基準 2000×1060 */
#about-section-05 .kozaki-about__specialties-grid {
  margin-top: 10px;
}

#about-section-05 .kozaki-about__gallery-row .kozaki-about__specialty-card {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

@media screen and (min-width: 768px) {
  #about-section-05 .kozaki-about__gallery-row .kozaki-about__specialty-card {
    flex: 1 1 0;
    width: auto;
  }

  #about-section-05 .kozaki-about__specialties-grid {
    margin-top: 16px;
  }
}

@media screen and (min-width: 992px) {

  /* 05–08: [icon][本文] / 下段は本文列だけ underline */
  .kozaki-about__sec-hd--ruled {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 0.5rem;
    row-gap: 0;
  }

  .kozaki-about__sec-hd--ruled>.kozaki-about__sec-hd-icon {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: end;
    display: flex;
    align-items: flex-end;
  }

  .kozaki-about__sec-hd--ruled>.kozaki-about__sec-hd-body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .kozaki-about__sec-hd--ruled>.kozaki-about__sec-hd-underline {
    grid-column: 2;
    grid-row: 2;
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--multi>.kozaki-about__sec-hd-icon {
    /* ボックスは本文高のまま（underline を押し下げない） */
    height: calc(1.65em * 2);
    width: auto;
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.65;
    overflow: visible;
  }

  .kozaki-about__sec-hd--ruled.kozaki-about__sec-hd--inline>.kozaki-about__sec-hd-icon {
    height: calc(1.35em * 1);
    width: auto;
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    line-height: 1.35;
    overflow: visible;
  }

  .kozaki-about__sec-hd--ruled>.kozaki-about__sec-hd-icon .kozaki-about__sec-hd-icon-img {
    /* 同じ起点のまま 1.75 倍（1.5〜2 倍の中間） */
    height: 175%;
    width: auto;
    max-width: none;
  }

  #about-section-05 .kozaki-about__specialties-grid {
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

#about-section-05 .kozaki-about__specialty-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  container-type: inline-size;
}

#about-section-05 .kozaki-about__specialty-card-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

#about-section-05 .kozaki-about__specialty-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 60%;
  box-sizing: border-box;
  padding: 5%;
  font-weight: 700;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
  #about-section-05 .kozaki-about__specialty-content {
    width: 73%;
    padding: 2%;
  }
}

#about-section-05 .kozaki-about__specialty-head {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  flex: 0 0 auto;
}

#about-section-05 .kozaki-about__specialty-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 5.5cqw, 50px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

#about-section-05 .kozaki-about__specialty-title {
  margin: 0;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 5.5cqw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

#about-section-05 .kozaki-about__specialty-lead {
  --about02-text-shade: rgba(250, 244, 232, 0.4);
  --about02-text-shade-glow: rgba(250, 244, 232, 0.28);
  margin: auto 0 1rem;
  flex: 0 0 auto;
  font-family: var(--font-family-base);
  font-size: clamp(16px, 3.75cqw, 34px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #1e2f4f;
}

#about-section-05 .kozaki-about__specialty-lead-text {
  display: inline;
  background-color: var(--about02-text-shade);
  box-shadow: 0 2px 14px var(--about02-text-shade-glow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#about-section-05 .kozaki-about__specialty-desc {
  margin-top: 0.35em;
  flex: 0 0 auto;
  padding: 0.65em 0.85em;
  border-radius: clamp(10px, 2.5cqw, 18px);
  background: #fff;
}

#about-section-05 .kozaki-about__specialty-desc p {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: clamp(0.8rem, 2.7cqw, 1.5rem);
  font-weight: 700;
  line-height: 1.75;
  color: #222;
}

@media screen and (max-width: 991px) {
  #about-section-05 .kozaki-about__specialty-lead {
    line-height: 1.55;
    letter-spacing: normal;
  }

  #about-section-05 .kozaki-about__specialty-desc p {
    line-height: normal;
  }
}

#about-section-05 .kozaki-about__specialty-card--rice .kozaki-about__specialty-num,
#about-section-05 .kozaki-about__specialty-card--rice .kozaki-about__specialty-title {
  color: #4e342e;
}

#about-section-05 .kozaki-about__specialty-card--rice .kozaki-about__specialty-num {
  color: #fff;
  background: #4e342e;
}

#about-section-05 .kozaki-about__specialty-card--sake .kozaki-about__specialty-num,
#about-section-05 .kozaki-about__specialty-card--sake .kozaki-about__specialty-title {
  color: #1a2744;
}

#about-section-05 .kozaki-about__specialty-card--sake .kozaki-about__specialty-num {
  color: #fff;
  background: #1a2744;
}

#about-section-05 .kozaki-about__specialty-card--fermented .kozaki-about__specialty-num,
#about-section-05 .kozaki-about__specialty-card--fermented .kozaki-about__specialty-title {
  color: #6b3a32;
}

#about-section-05 .kozaki-about__specialty-card--fermented .kozaki-about__specialty-num {
  color: #fff;
  background: #6b3a32;
}

#about-section-05 .kozaki-about__specialty-card--vegetable .kozaki-about__specialty-num,
#about-section-05 .kozaki-about__specialty-card--vegetable .kozaki-about__specialty-title {
  color: #2d5a3d;
}

#about-section-05 .kozaki-about__specialty-card--vegetable .kozaki-about__specialty-num {
  color: #fff;
  background: #2d5a3d;
}

/* 8. イベントカレンダー — 画像 | オーバーレイ（基準写真 2000×1494） */
#about-section-08 .kozaki-about__events {
  --events-gap: 10px;
  display: flex;
  flex-direction: column;
  gap: var(--events-gap);
  margin: 0;
  padding: var(--events-gap);
  box-sizing: border-box;
}

#about-section-08 .kozaki-about__event-card {
  margin: 0;
}

#about-section-08 .kozaki-about__event-photo {
  line-height: 0;
}

#about-section-08 .kozaki-about__event-photo-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

#about-section-08 .kozaki-about__event-panel {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(to bottom right, #fcf9f2 0%, #fbf7ee 100%);
  overflow: hidden;
  container-type: inline-size;
}

#about-section-08 .kozaki-about__event-head {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  margin: 0;
  padding: clamp(16px, 4vw, 32px) clamp(14px, 3vw, 28px) 0;
  box-sizing: border-box;
}

#about-section-08 .kozaki-about__event-month {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 2.1em;
  min-height: 2.1em;
  aspect-ratio: 1;
  padding: 0.28em 0.35em;
  border-radius: 50%;
  background-color: #43602e;
  font-family: var(--font-family-base);
  font-size: clamp(16px, 3.75cqw, 34px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

#about-section-08 .kozaki-about__event-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

#about-section-08 .kozaki-about__event-subtitle {
  margin: 0 0 0.2em;
  font-family: var(--font-family-base);
  font-size: clamp(16px, 3.75cqw, 34px);
  font-weight: 700;
  line-height: 1.4;
  color: #43602e;
}

#about-section-08 .kozaki-about__event-title {
  margin: 0;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 5.5cqw, 50px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #43602e;
}

@media screen and (max-width: 991px) {
  #about-section-08 .kozaki-about__event-head {
    padding: 6px;
  }

  #about-section-08 .kozaki-about__event-card--nanjamonja .kozaki-about__event-title {
    font-size: 20px;
  }
}

#about-section-08 .kozaki-about__event-icon {
  flex: 0 0 auto;
  width: clamp(2.75rem, 14vw, 5rem);
  height: auto;
  margin: 0;
}

#about-section-08 .kozaki-about__event-sep {
  flex: 0 0 auto;
  height: 0;
  margin: clamp(10px, 2vw, 16px) clamp(14px, 3vw, 28px);
  border: 0;
  border-top: 1px dotted rgba(67, 96, 46, 0.45);
}

#about-section-08 .kozaki-about__event-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 0 clamp(14px, 3vw, 28px) clamp(20px, 5vw, 36px);
  box-sizing: border-box;
}

#about-section-08 .kozaki-about__event-text {
  margin: 0 0 0.85em;
  font-family: var(--font-family-base);
  font-size: clamp(16px, 3.75cqw, 34px);
  font-weight: 700;
  line-height: 1.75;
  color: #222;
}

#about-section-08 .kozaki-about__event-text:last-child {
  margin-bottom: 0;
}

#about-section-08 .kozaki-about__event-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 0;
  width: clamp(100px, 28%, 220px);
  height: auto;
  margin: 0;
  pointer-events: none;
  opacity: 0.9;
}

@media screen and (min-width: 992px) {
  #about-section-08 .kozaki-about__events {
    --events-gap: 16px;
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #about-section-08 .kozaki-about__event-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    align-items: stretch;
    width: 100%;
  }

  #about-section-08 .kozaki-about__event-photo {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
  }

  #about-section-08 .kozaki-about__event-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #about-section-08 .kozaki-about__event-head {
    grid-column: 2;
    grid-row: 1;
  }

  #about-section-08 .kozaki-about__event-sep {
    grid-column: 2;
    grid-row: 2;
  }

  #about-section-08 .kozaki-about__event-body {
    grid-column: 2;
    grid-row: 3;
  }

  #about-section-08 .kozaki-about__event-icon {
    width: clamp(3.5rem, 5vw, 5rem);
  }
}

/* まちの紹介・事業者紹介 詳細（/about/{id}, /jigyousya/{id}） */
#page_about_detail .kozaki-about-detail__header-image,
#page_jigyousya_detail .kozaki-about-detail__header-image {
  margin: 0;
  padding: 0;
}

#page_about_detail .kozaki-about-detail__article,
#page_jigyousya_detail .kozaki-about-detail__article {
  margin: 0;
  padding: 0;
}

#page_about_detail .kozaki-about-detail__lead,
#page_about_detail .kozaki-about-detail__footer-block,
#page_jigyousya_detail .kozaki-about-detail__lead,
#page_jigyousya_detail .kozaki-about-detail__footer-block {
  margin: 0;
  padding: 20px 10px;
  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

#page_about_detail .kozaki-about-detail__heading,
#page_jigyousya_detail .kozaki-about-detail__heading {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: calc(24px + 4 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.5;
  color: #574d20;
}

#page_about_detail .kozaki-about-detail__subheading,
#page_jigyousya_detail .kozaki-about-detail__subheading {
  margin: 0 0 1em;
  font-family: var(--font-family-base);
  font-size: calc(20px + 2 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-text-base);
}

#page_about_detail .kozaki-about-detail__body,
#page_jigyousya_detail .kozaki-about-detail__body {
  font-family: var(--font-family-base);
  font-size: calc(16px + 4 * ((100vw - 320px) / 670));
  line-height: 1.7;
  color: var(--color-text-base);
}

#page_about_detail .kozaki-about-detail__body> :first-child,
#page_jigyousya_detail .kozaki-about-detail__body> :first-child {
  margin-top: 0;
}

#page_about_detail .kozaki-about-detail__body> :last-child,
#page_jigyousya_detail .kozaki-about-detail__body> :last-child {
  margin-bottom: 0;
}

#page_about_detail .kozaki-about-detail__body p,
#page_jigyousya_detail .kozaki-about-detail__body p {
  margin: 0 0 1em;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

#page_about_detail .kozaki-about-detail__body p:last-child,
#page_jigyousya_detail .kozaki-about-detail__body p:last-child {
  margin-bottom: 0;
}

#page_about_detail .kozaki-about-detail__body strong,
#page_about_detail .kozaki-about-detail__body b,
#page_jigyousya_detail .kozaki-about-detail__body strong,
#page_jigyousya_detail .kozaki-about-detail__body b {
  font-weight: 700;
}

#page_about_detail .kozaki-about-detail__body em,
#page_about_detail .kozaki-about-detail__body i,
#page_jigyousya_detail .kozaki-about-detail__body em,
#page_jigyousya_detail .kozaki-about-detail__body i {
  font-style: italic;
}

#page_about_detail .kozaki-about-detail__contents,
#page_jigyousya_detail .kozaki-about-detail__contents {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

#page_about_detail .kozaki-about-detail__content-block,
#page_jigyousya_detail .kozaki-about-detail__content-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

#page_about_detail .kozaki-about-detail__content-block--2col,
#page_jigyousya_detail .kozaki-about-detail__content-block--2col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#page_about_detail .kozaki-about-detail__content-block-media,
#page_about_detail .kozaki-about-detail__content-block-aside,
#page_jigyousya_detail .kozaki-about-detail__content-block-media,
#page_jigyousya_detail .kozaki-about-detail__content-block-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

#page_about_detail .kozaki-about-detail__content-heading,
#page_jigyousya_detail .kozaki-about-detail__content-heading {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: calc(20px + 4 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.5;
  color: #574d20;
}

#page_about_detail .kozaki-about-detail__content-subheading,
#page_jigyousya_detail .kozaki-about-detail__content-subheading {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: calc(20px + 2 * ((100vw - 320px) / 670));
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-text-base);
}

#page_about_detail .kozaki-about-detail__content-figure,
#page_jigyousya_detail .kozaki-about-detail__content-figure {
  margin: 0;
  padding: 0;
}

#page_about_detail .kozaki-about-detail__content-figure:last-child,
#page_jigyousya_detail .kozaki-about-detail__content-figure:last-child {
  margin-bottom: 0;
}

#page_about_detail .kozaki-about-detail__content-img,
#page_jigyousya_detail .kozaki-about-detail__content-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

@media screen and (min-width: 992px) {

  #page_about_detail .kozaki-about-detail__lead,
  #page_about_detail .kozaki-about-detail__footer-block,
  #page_jigyousya_detail .kozaki-about-detail__lead,
  #page_jigyousya_detail .kozaki-about-detail__footer-block {
    padding: 20px 40px;
  }

  #page_about_detail .kozaki-about-detail__contents,
  #page_jigyousya_detail .kozaki-about-detail__contents {
    padding: 0 40px;
  }

  #page_about_detail .kozaki-about-detail__contents,
  #page_jigyousya_detail .kozaki-about-detail__contents {
    gap: 20px;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-heading,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-heading {
    grid-column: 1;
    grid-row: 1;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-block-media,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-block-media {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-block-aside,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col>.kozaki-about-detail__content-block-aside {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col:not(:has(> .kozaki-about-detail__content-heading))>.kozaki-about-detail__content-block-media,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col:not(:has(> .kozaki-about-detail__content-heading))>.kozaki-about-detail__content-block-media,
  #page_about_detail .kozaki-about-detail__content-block--2col:not(:has(> .kozaki-about-detail__content-heading))>.kozaki-about-detail__content-block-aside,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col:not(:has(> .kozaki-about-detail__content-heading))>.kozaki-about-detail__content-block-aside {
    grid-row: 1;
  }

  #page_about_detail .kozaki-about-detail__content-heading,
  #page_about_detail .kozaki-about-detail__content-subheading,
  #page_about_detail .kozaki-about-detail__body,
  #page_jigyousya_detail .kozaki-about-detail__content-heading,
  #page_jigyousya_detail .kozaki-about-detail__content-subheading,
  #page_jigyousya_detail .kozaki-about-detail__body {
    padding: 1rem 0;
  }

  #page_about_detail .kozaki-about-detail__content-block--2col .kozaki-about-detail__content-subheading,
  #page_jigyousya_detail .kozaki-about-detail__content-block--2col .kozaki-about-detail__content-subheading {
    padding: 0;
  }
}

/* 事業者紹介（/jigyousya） */
.kozaki-jigyousya {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.kozaki-jigyousya__header {
  margin: 0;
  padding: clamp(10px, 5vw, 10px) 6px clamp(6px, 4vw, 6px);
  box-sizing: border-box;
}

.kozaki-jigyousya__header-inner {
  max-width: 960px;
  margin: 0 auto;
}

.kozaki-jigyousya__header-ornament {
  display: block;
  height: auto;
  flex-shrink: 0;
}

.kozaki-jigyousya__header-ornament--1 {
  width: clamp(19px, 5vw, 31px);
  margin: 0 auto;
}

.kozaki-jigyousya__header-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.5vw, 20px);
}

.kozaki-jigyousya__header-ornament--2,
.kozaki-jigyousya__header-ornament--3 {
  width: clamp(48px, 12vw, 160px);
}

.kozaki-jigyousya__header-title {
  margin: 0;
  font-family: "UtsukushiMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.4;
  color: #3d2a1a;
  text-align: center;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .kozaki-jigyousya__header-title {
    font-size: clamp(1.375rem, 5vw, 4rem);
  }
}

.kozaki-jigyousya__header-lead-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.kozaki-jigyousya__header-ornament--4 {
  position: absolute;
  z-index: 1;
  left: 1%;
  bottom: 0;
  width: clamp(64px, 14vw, 180px);
  pointer-events: none;
}

.kozaki-jigyousya__header-ornament--5 {
  position: absolute;
  z-index: 1;
  right: 1%;
  bottom: 0;
  width: clamp(56px, 11vw, 140px);
  pointer-events: none;
}

.kozaki-jigyousya__header-lead {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0;
  padding: 0 clamp(12px, 3vw, 24px);
  box-sizing: border-box;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  color: #3d2a1a;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .kozaki-jigyousya__header-title-row {
    gap: 8px;
  }

  .kozaki-jigyousya__header-ornament--2,
  .kozaki-jigyousya__header-ornament--3 {
    width: clamp(36px, 10vw, 56px);
  }

  .kozaki-jigyousya__header-ornament--4 {
    width: clamp(48px, 12vw, 88px);
  }

  .kozaki-jigyousya__header-ornament--5 {
    width: clamp(40px, 10vw, 72px);
  }
}

.kozaki-jigyousya__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.kozaki-jigyousya__card {
  display: block;
  margin: 0;
  padding: 0;
  text-decoration: none;
  min-width: 0;
}

.kozaki-jigyousya__card:hover,
.kozaki-jigyousya__card:focus {
  text-decoration: none;
  opacity: 0.92;
}

.kozaki-jigyousya__card-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

@media screen and (min-width: 992px) {
  .kozaki-jigyousya__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
  }
}

.kozaki-page-title {
  margin: 0 0 16px;
  font-size: calc(24px + 4 * ((100vw - 320px) / 670));
  font-weight: 700;
  color: var(--color-text-base);
}

.kozaki-page-note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-base);
}

#page_jigyousya_index,
#page_jigyousya_detail {
  background-color: #faf4e8;
}
