/* ========================================
   Utility
   ======================================== */
.sp500 { display: none; }
@media (max-width: 500px) {
  .sp500 { display: inline; }
}

/* ========================================
   Variables
   ======================================== */
:root {
  --color-orange:   #EA723F;
  --color-orange-l: #FDE8D0;
  --color-cream:    #FFF8E8;
  --color-green:    #5BAD3A;
  --color-green-nav: #007524;
  --color-text:     #333333;
  --color-gray:     #888888;
  --font-base:      'Zen Maru Gothic', sans-serif;
  --inner-w:        1100px;
  --inner-px:       40px;
}

/* ========================================
   Reset / Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40vw;
  max-width: 550px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% auto;
  z-index: -1;
  pointer-events: none;
}
body::before {
  left: 0;
  background-image: url('../images/bg1.webp');
}
body::after {
  right: 0;
  background-image: url('../images/bg2.webp');
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; color: #0067AA; }

ul, ol { list-style: none; }
address { font-style: normal; }

/* ========================================
   Layout Utility
   ======================================== */
.l-inner {
  max-width: calc(var(--inner-w) + var(--inner-px) * 2);
  margin-inline: auto;
  padding-inline: var(--inner-px);
}

/* ========================================
   Header
   ======================================== */
body {
  padding-top: 120px;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 202;
}

/* Sticky header */
.header.is-sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.header.is-sticky .header__inner {
  height: 70px;
}
.header.is-sticky .header__logo img {
  height: 56px;
}
.header.is-sticky .header__contact {
  display: none;
}

.header__inner {
  max-width: 1840px;
  padding-inline: 30px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo {
  flex-shrink: 0;
}
.header__logo img {
  display: block;
  height: 90px;
  width: auto;
}

/* Menu open: prevent body scroll */
body.is-menu-open {
  overflow: hidden;
}

/* Drawer overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(253, 232, 208, 0.7);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.is-menu-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  flex-shrink: 0;
}
.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-green-nav);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Nav */
.header_right{display: flex; align-items: center; gap: 2rem;}
.header__nav { flex-shrink: 0; }

.header__nav-list {
  display: flex;
  align-items: stretch;
}

.header__nav-list li {
  display: flex;
  align-items: center;
}

.header__nav-list li a {
  display: flex;
  align-items: center;
  padding: 8px 13px;
  font-size: 106.25%;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color .2s;
  box-sizing: border-box;
}
.header__nav-list li a:hover {
  color: var(--color-green-nav);
}
.header__nav-list li.is-active a {
  color: var(--color-green-nav);
  text-decoration: underline;
  text-decoration-color: #4AAF67;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  font-weight: 500;
}

/* Separator "|" */
.header__nav-sep {
  display: block;
  width: 1px;
  height: 20px;
  background-color: #333;
  flex-shrink: 0;
  margin: 0 4px;
}

/* Contact */
.header__contact {
  flex-shrink: 0;
  line-height: 1;
}
.header__address,.header__url {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: 100%;
  font-weight: 500;
  margin-bottom: .5em;
}
.header__address span{ font-size: 90%;}
.header__tel {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: 160%;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: .3em;
}
.header__tel a { pointer-events: none; color: inherit; }
.header__url a { color: #007524;}
.header__url::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../images/icon_link.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.header__address::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../images/icon_map.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.header__tel::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../images/icon_phone.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ========================================
   KV
   ======================================== */
.kv {
  position: relative;
  overflow: visible;
  padding-bottom: 50px; /* hours circles の下部余白 */
}

/* ---- メイン写真ラッパー ---- */
.kv__photo-wrap {
  position: relative;
  margin: 20px 10vw 0 20vw;
  z-index: 1;
}

.kv__photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- 太陽（左上） ---- */
.kv__sun {
  position: absolute;
  left: 7%;
  top: 30px;
  width: 16vw;
  max-width: 240px;
  min-width: 120px;
  z-index: 2;
  pointer-events: none;
}

/* ---- アカコッコ（右上） ---- */
.kv__bird {
  position: absolute;
  right: 3%;
  top: 30px;
  width: 5.8vw;
  max-width: 90px;
  min-width: 50px;
  z-index: 2;
  pointer-events: none;
}

.kv__content-wrap {
  position: relative;
  z-index: 3;
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -200px;
}
/* ---- 遊具イラスト ---- */
.kv__slider {
  position: absolute;
  left: 32%;
  bottom: -60px;
  width: 32%;
  z-index: 2;
  pointer-events: none;
}

/* ---- キャッチコピー ---- */
.kv__content {
  z-index: 3;
  max-width: 640px;
}
.kv__content img {
  display: block;
  width: 600px;
  max-width: 100%;
}
.kv__content img + img { margin-top: -20px; width: 820px; }

.kv__catch {
  margin-top: 12px;
  margin-left: 40px;
  font-size: 150%;
  line-height: 1.9;
  font-weight: 600;
  color: var(--color-text);
}

/* ---- 開館時間バッジ ---- */
.kv__hours {
  display: flex;
  z-index: 3;
}

.kv__hours-item {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* 土曜日を少し後ろに重ねる（Figma準拠） */
.kv__hours-item + .kv__hours-item {
  margin-left: -28px;
}

.kv__hours-item--weekday {
  background-image: url('../images/kv_c1.svg');
  background-size: 100% 100%;
  background-color: transparent;
  border-radius: 0;
  color: #fff;
  position: relative;
  z-index: 1;
}
.kv__hours-item--saturday {
  background-image: url('../images/kv_c2.svg');
  background-size: 100% 100%;
  background-color: transparent;
  border-radius: 0;
  color: var(--color-orange);
}

.kv__hours-head {
  font-size: 150%;
  font-weight: 700;
  line-height: 1.4;
}
.kv__hours-time {
  font-size: 175%;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
}
.kv__hours-note {
  font-size: 106.25%;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
  color: #333;
}
.kv__hours-item--weekday .kv__hours-note { color: rgba(255,255,255,.9); }

/* ========================================
   News section
   ======================================== */
.news {
  padding: 64px 0 80px;
}

.news__inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  max-width: 1300px;
}

/* 左パネル */
.news__head-panel {
  flex-shrink: 0;
  width: 192px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}

.news__heading {
  font-size: 250%;
  font-weight: 700;
  color: #6A3500;
  line-height: 1.3;
}

.news__more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 112.5%;
  font-weight: 700;
  color: var(--color-text);
  transition: opacity .2s;
}
.news__more-link:hover { opacity: .75; }
.news__more-link:hover .news__more-btn { transform: scale(1.15); }

.news__more-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #F5CB5B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s;
}
.news__more-btn img {
  width: 13px;
  height: 13px;
  display: block;
}

/* 右：リスト */
.news__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news__item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #E8D9C4;
  padding: 30px 20px 30px 30px;
  transition: box-shadow .2s;
  position: relative;
}
.news__item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.news__date {
  font-size: 112.5%;
  font-weight: 700;
  color: #555555;
  white-space: nowrap;
}

.news__cat {
  font-size: 100%;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff;
  width: 130px;
  text-align: center;
}
.news__cat--oshirase { background-color: #007524; }
.news__cat--hiroba   { background-color: #CD4749; }
.news__cat--letter   { background-color: #BF6600; }
.news__cat--other    { background-color: #1476C7; }

.news__title {
  font-size: 112.5%;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
  text-decoration: underline;
  color: var(--color-text);
  transition: color .2s;
}
.news__title::after {
  content: '';
  position: absolute;
  inset: 0;
}
.news__title:hover { color: var(--color-orange); text-decoration: none; }

.news__arr-wrap,
.card__arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.news__arr-wrap {
  flex-shrink: 0;
  margin-left: auto;
}
.news__item:hover .news__arr-wrap { transform: scale(1.12); }

.news__item--oshirase .news__arr-wrap { color: #007524; }
.news__item--hiroba   .news__arr-wrap { color: #CD4749; }
.news__item--letter   .news__arr-wrap { color: #BF6600; }
.news__item--other    .news__arr-wrap { color: #1476C7; }

.news__arr-wrap::before,
.card__arrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* News deco */
.news__deco { pointer-events: none; }

.news__balloon1 {
  position: absolute;
  top: -30px;
  left: -40px;
  width: 80px;
  z-index: 0;
}
.news__balloon2 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  z-index: 0;
}
.news__block {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 70px;
  z-index: 0;
}
.news__bottle {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 60px;
  z-index: 0;
}

/* ========================================
   Banner links (.bnr)
   ======================================== */
.bnr {
  position: relative;
  padding: 30px 0 100px;
}

/* 黄緑エリア本体 - コンテンツが伸びても上下waveを維持 */
.bnr__bg {
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  top: 120px;
  bottom: 80px;
  background: #AEDE21;
  z-index: 0;
}

/* 上波 */
.bnr__bg::before {
  content: '';
  position: absolute;
  top: -99px;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,75 C200,25 500,95 720,50 C940,5 1200,70 1440,45 L1440,100 L0,100 Z' fill='%23AEDE21' opacity='0.6'/%3E%3Cpath d='M0,90 C300,50 600,100 900,65 C1100,40 1300,85 1440,70 L1440,100 L0,100 Z' fill='%23AEDE21'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* 下波 */
.bnr__bg::after {
  content: '';
  position: absolute;
  bottom: -99px;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,30 C1200,75 960,20 720,55 C480,90 240,40 0,65 Z' fill='%23AEDE21' opacity='0.6'/%3E%3Cpath d='M0,0 L1440,0 L1440,15 C1100,60 800,10 540,45 C280,80 120,30 0,50 Z' fill='%23AEDE21'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.bnr__inner {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 150px 40px 50px;
}

.bnr__list {
  display: flex;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
  justify-content: center;
}

.bnr__item {
  flex: 1;
  display: flex;
  position: relative;
  z-index: 1;
}

.bnr__card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 112.5%;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  color: var(--color-text);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.bnr__card::after {
  content: "";
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 16px;
  height: 16px;
  background: url(../images/icon_link.svg) center / contain no-repeat;
}
.bnr__card img { transition: filter .2s; }
.bnr__card:hover {
  transform: translateY(-4px);
}
.bnr__card:hover img { filter: brightness(1.05); }

/* デコ画像 */
.bnr__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.bnr__deco--tree {
  left: 4%;
  top: -20%;
  width: 15vw;
  max-width: 240px;
  min-width: 100px;
}

.bnr__deco--flower {
  left: 2%;
  bottom: 10%;
  width: 11vw;
  max-width: 170px;
  min-width: 70px;
}

.bnr__deco--chicken {
  right: 2%;
  top: 5%;
  width: 14vw;
  max-width: 220px;
  min-width: 100px;
}

.bnr__deco--grass {
  right: 1%;
  top: 50%;
  width: 10vw;
  max-width: 160px;
  min-width: 60px;
}

/* ========================================
   Section (共通)
   ======================================== */
.sec {
  position: relative;
  padding: 72px 0 80px;
}
.sec .l-inner {
  max-width: calc(1300px + var(--inner-px) * 2);
}

.sec__head {
  text-align: center;
  margin-bottom: 40px;
}

.sec__title-wrap {
  position: relative;
  display: inline-block;
  text-align: center;
}


.sec__title {
  font-size: 262.5%;
  font-weight: 700;
  color: var(--color-text);
}
#related .sec__title { font-size: 180%;}

.sec__deco--left,
.sec__deco--right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
}
.sec__deco--left  { right: calc(100% + 24px); }
.sec__deco--right { left:  calc(100% + 24px); }

.sec__more {
  text-align: center;
  margin-top: 40px;
}

/* 風船デコ */
.sec__balloon {
  display: block;
  width: 80px;
  margin: 32px auto 0;
  pointer-events: none;
}

/* フロートデコ（block / bottle） */
.sec__deco-float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.sec__deco-float--block {
  left: 2%;
  bottom: 50px;
  width: 70px;
}
.sec__deco-float--bottle {
  right: 2%;
  bottom: 50px;
  width: 60px;
}

/* ========================================
   Card list
   ======================================== */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}



/* ========================================
   Pagination
   ======================================== */
.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.pagination__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #E0D8CF;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  font-size: 120%;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
a.pagination__btn:hover {
  background: var(--color-green-nav);
  color: #fff;
  border-color: var(--color-green-nav);
}
.pagination__btn--current {
  background: var(--color-green-nav);
  color: #fff;
  border-color: var(--color-green-nav);
}
.pagination__btn--arrow {
  background: #F5C030;
  border-color: #F5C030;
}
a.pagination__btn--arrow:hover {
  background: #d4a820;
  border-color: #d4a820;
}
.pagination__btn--arrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.pagination__btn--prev::before {
  transform: scaleX(-1);
}
.pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--color-gray);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ========================================
   Card
   ======================================== */
.card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #E0D8CF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.card-list.yoko{ display: flex; flex-direction: column; }
.card-list.yoko .card__link { flex-direction: row; display: flex; gap: 1rem; align-items: stretch; position: relative; }
.card-list.yoko .card__body {
  padding: 1.5rem 3rem 1.5rem .5rem;
}
.card-list.yoko .card__arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.card-list.yoko .card:has(.card__cat--oshirase) .card__arrow { color: #007524; }
.card-list.yoko .card:has(.card__cat--hiroba)   .card__arrow { color: #CD4749; }
.card-list.yoko .card:has(.card__cat--letter)   .card__arrow { color: #BF6600; }
.card-list.yoko .card:has(.card__cat--other)    .card__arrow { color: #1476C7; }
.card-list.yoko .card:hover .card__arrow { transform: translateY(-50%) scale(1.12); }

.card-list.yoko .card__title { -webkit-line-clamp: 2; line-clamp: 2; }
.card-list.yoko .card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-list:not(.yoko) .card__arrow{ display: none; }

.card__desc{ margin-top: .5rem; font-size: 90%;}
.card-list.yoko .card__img{ width: 300px; flex-shrink: 0; align-self: stretch; display: flex; }
.card-list.yoko .card__img img{ flex: 1; object-fit: cover; width: 100%; }
.card-list.yoko .card__meta{ justify-content: flex-start; gap: 1rem;}

.card.cat--oshirase:hover { border-color: #007524; }
.card.cat--hiroba:hover { border-color: #CD4749; }
.card.cat--letter:hover { border-color: #BF6600; }
.card.cat--other:hover { border-color: #1476C7; }

.card__link {
  
}

.card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e8e0d4;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.card:hover .card__img img { transform: scale(1.04); }

.card__body {
  padding: 14px 16px 18px;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card__date {
  font-size: 112.5%;
  font-weight: 700;
  color: var(--color-gray);
}

.card__cat {
  font-size: 100%;
  font-weight: 700;
  padding: 0 0;
  border-radius: 5px;
  width: 130px;
  text-align: center;
  display: inline-block;
}
.card__cat--oshirase { background-color: #007524; color: #fff; }
.card__cat--hiroba   { background-color: #CD4749; color: #fff; }
.card__cat--letter   { background-color: #BF6600; color: #fff; }
.card__cat--other    { background-color: #1476C7; color: #fff; }

.card__title {
  font-size: 125%;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: .6rem 1rem;
  border-top: 1px solid #EDE8E2;
  background-color: #EDE8E2;
}
.card__tags .card__link{ display: none;}

a.card__tag {
  font-size: 87.5%;
  color: #333;
  background-color: #fff;
  border: 1px solid #4AAF67;
  border-radius: 20px;
  padding: 4px 12px;
  transition: background-color .2s, color .2s;
  text-decoration: none !important;
}
.card__tag:hover {
  background-color: #F0FAF3;
  color: var(--color-text);
}

/* ========================================
   Button more
   ======================================== */
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fff;
  color: var(--color-text);
  font-size: 125%;
  font-weight: 700;
  padding: 12px calc(14px + 34px + 12px) 12px calc(14px + 34px + 12px);
  border-radius: 100px;
  border: 2px solid var(--color-green-nav);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
  min-width: 300px;
}
.btn-more:hover {
  background-color: var(--color-green-nav);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.sec--oshirase .btn-more:hover { background-color: #007524; }
.sec--hiroba   .btn-more:hover { background-color: #CD4749; }
.sec--letter   .btn-more:hover { background-color: #BF6600; }
.sec--other    .btn-more:hover { background-color: #1476C7; }

.btn-more__arr {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-green-nav);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s, border-color .2s;
}
.btn-more:hover .btn-more__arr {
  transform: translateY(-50%) scale(1.12);
  border-color: #fff;
}
.btn-more:hover .btn-more__arr::before { background-color: #fff; }
.btn-more__arr::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-color: var(--color-green-nav);
  transition: background-color .2s;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* 白背景セクション（交流ひろば・その他）共通 */
.sec--hiroba,
.sec--other {
  background-color: #fff;
  margin-top: 100px;
  margin-bottom: 100px;
}
.sec--other { padding-bottom: 200px;}
.sec--other#related{ padding-bottom: 320px;}
.sec--hiroba::before,
.sec--other::before {
  content: '';
  position: absolute;
  top: -99px;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,75 C200,25 500,95 720,50 C940,5 1200,70 1440,45 L1440,100 L0,100 Z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M0,90 C300,50 600,100 900,65 C1100,40 1300,85 1440,70 L1440,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
.sec--hiroba::after {
  content: '';
  position: absolute;
  bottom: -99px;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,30 C1200,75 960,20 720,55 C480,90 240,40 0,65 Z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M0,0 L1440,0 L1440,15 C1100,60 800,10 540,45 C280,80 120,30 0,50 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
.sec--letter .sec__deco--left { width: 110px; }

.sec--hiroba__balloon,
.sec--letter__balloon,
.sec--oshirase__balloon {
  position: absolute;
  top: -100px;
  width: 160px;
  pointer-events: none;
  z-index: 3;
}
.sec--oshirase__balloon { width: 120px; top: -50px;}
.sec--hiroba__balloon { right: 3%; }
.sec--letter__balloon { left: 3%; }
.sec--oshirase__balloon { right: 3%; }
.sec--other__rainbow {
  position: absolute;
  right: 2%;
  top: -120px;
  width: 220px;
  pointer-events: none;
  z-index: 3;
}

/* sec別 btn-more カラー */
.sec--oshirase .btn-more,
.sec--oshirase .btn-more__arr { border-color: #007524; }
.sec--oshirase .btn-more__arr::before { background-color: #007524; }

.sec--hiroba .btn-more,
.sec--hiroba .btn-more__arr { border-color: #CD4749; }
.sec--hiroba .btn-more__arr::before { background-color: #CD4749; }

.sec--letter .btn-more,
.sec--letter .btn-more__arr { border-color: #BF6600; }
.sec--letter .btn-more__arr::before { background-color: #BF6600; }

.sec--other .btn-more,
.sec--other .btn-more__arr { border-color: #1476C7; }
.sec--other .btn-more__arr::before { background-color: #1476C7; }

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: #02775C;
  padding-top: 30px;
  padding-bottom: 32px;
  position: relative;
  margin-top: -80px;
  z-index: 0;
  overflow: visible;
}
.footer::before {
  content: '';
  position: absolute;
  top: -149px;
  left: 0;
  right: 0;
  height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M0,130 C300,70 600,145 900,90 C1100,50 1300,120 1440,100 L1440,150 L0,150 Z' fill='%2302775C'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}

.footer__deco {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  pointer-events: none;
}
.footer__deco::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28vw;
  max-width: 380px;
  aspect-ratio: 672 / 580;
  background-image: url('../images/footer_img1.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
}
.footer__deco::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35vw;
  max-width: 500px;
  aspect-ratio: 1266 / 432;
  background-image: url('../images/footer_img2.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
}

.footer__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 87.5%;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Under Main
   ======================================== */
.under-main {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  padding: 0 0 400px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-areas:
    "breadcrumb breadcrumb"
    "maincontent sidebar";
  column-gap: 48px;
}
.under-main.ctg--oshirase,
.under-main.ctg--hiroba,
.under-main.ctg--letter,
.under-main.ctg--other{ padding-bottom: 60px;}

.under-main > .breadcrumb  { grid-area: breadcrumb; }
.under-main > .maincontent { grid-area: maincontent; }
.under-main > .sidebar     { grid-area: sidebar; }

.maincontent .cont{ background: #fff; border-radius: 26px; border: 3px solid rgba(0,114,36,.3); padding: 3rem 0; position: relative; }
.maincontent .cont a{ text-decoration: underline;}
.maincontent .cont a:hover{ text-decoration: none;}
.cont .cont-in{ width: 90%; max-width: 800px; margin: 0 auto; font-size: 110%; line-height: 1.8; font-weight: 500; }

.cont .cont-in section{ margin: 3em auto;}
.cont .cont-in section h2{ background: url(../images/icon_h2.webp) no-repeat left top; display: block; padding-left: 60px; background-size: 50px 50px; min-height: 58px; padding-bottom: 10px;}
.cont .cont-in section figure{ margin: 2rem auto;}

.cont .card__cat{ position: absolute; right: 1rem; top: 1rem; font-size: 110%; width: 9em; }
.cont h1{ margin-top: .5rem; 
  background-image: radial-gradient(circle, #ccc 3px, transparent 3px);
  background-size: 12px 5px;
  background-position: bottom left;
  background-repeat: repeat-x;
  font-size: 160%;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
.cont h1 time{ display: block; font-size: 75%; font-weight: 500; color: #555;}
.cont h1 b{ font-size: 110%; line-height: 1.3;}
.cont h1 .card__tags{ font-size: 65%; background: none; border: none; padding: .5rem 0; }
.cont h1 .card__tag{ color: #555; font-weight: 500; }
.cont h2{ font-size: 150%; margin-top: 1rem; margin-bottom: 1rem; display: inline-block; position: relative; padding-bottom: .2em; }
.cont h2::after{ content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 8px; background: url(../images/marker_oshirase.webp); background-size: 10px 10px; opacity: .6; border-radius: 30px; }
.cont h3{ font-size: 120%; margin-top: 1rem; margin-bottom: .75rem; padding-left: .8em; position: relative; line-height: 1.5; }
.cont h3::before{ content: ""; left: 0; top: 0; width: 6px; height: 100%; position: absolute; background: #007524; border-radius: 30px;}
.cont ul{ margin: .8rem 0;}
.cont ul li{ padding-left: 1em; position: relative; margin-bottom: .4em; }
.cont ul li::before{ content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: #4AAF67; }
.cont  .wp-block-image{ border-radius: 2rem; overflow: hidden; margin: 2rem 0;}
.cont .fig-right-bottom::after{ content: ""; display: block; clear: both; }
.cont .fig-right-bottom figure{ float: right; width: 40%; margin-left: 1.5rem; margin: -14em 0 0 !important; border-radius: 1rem; overflow: hidden; }
@media (max-width: 768px) {
  .cont .fig-right-bottom figure{ float: none; width: 60%; margin: 1rem auto !important; }
}
.cont .fig-right-top::after{ content: ""; display: block; clear: both; }
.cont .fig-right-top figure{ float: right; width: 30%; margin-left: 1.5rem; border-radius: 1rem; overflow: hidden; }
.cont .fig-right-top figure.w40{ width: 40%;}

@media (max-width: 768px) {
  .cont .fig-right-top{ display: flex; flex-direction: column; }
  .cont .fig-right-top figure{ float: none; width: 60%; margin-top: 0 auto; order: 1; }
  .cont .fig-right-top dl{ order: 0; }
}
/* azukari-flow */
.azukari-flow{ margin: 1.5rem 0; }
.azukari-flow__step{ display: flex; gap: 1.5rem; border-radius: 1rem; padding: 1.5rem; align-items: center; }
.azukari-flow__step--1{ background: #FFF5F2; }
.azukari-flow__step--2{ background: #FFFBEE; }
.azukari-flow__step--3{ background: #F0FAF3; }
.azukari-flow__head{ text-align: center; min-width: 4.5em; flex-shrink: 0; }
.azukari-flow__num{ font-size: 3.5rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; opacity: .5; }
.azukari-flow__step--1 .azukari-flow__num{ color: #E87D5A; }
.azukari-flow__step--2 .azukari-flow__num{ color: #CFA020; }
.azukari-flow__step--3 .azukari-flow__num{ color: #4AAF67; }
.azukari-flow__label{ font-size: .95rem; font-weight: 700; margin-top: .25em; }
.azukari-flow__step--1 .azukari-flow__label{ color: #CD4749; }
.azukari-flow__step--2 .azukari-flow__label{ color: #9D6B00; }
.azukari-flow__step--3 .azukari-flow__label{ color: #007524; }
.azukari-flow__body{ flex: 1; padding-top: .3em; }
.azukari-flow__body ul{ margin: 0; font-weight: 500; }
.azukari-flow__sub{ font-size: 1rem; font-weight: 700; margin: .75em 0 .25em; color: #000; }
.azukari-flow__arrow{ text-align: center; padding: 0 0 .4rem; font-size: 3rem; line-height: .2; }
.azukari-flow__arrow::before{ content: "▼"; }
.azukari-flow__step--1 + .azukari-flow__arrow{ color: #FFF5F2; }
.azukari-flow__step--2 + .azukari-flow__arrow{ color: #FFFBEE; }
@media (max-width: 768px) {
  .azukari-flow__step{ flex-direction: column; align-items: stretch; gap: .6rem; }
  .azukari-flow__head{ display: flex; align-items: center; gap: 1em; min-width: 0; text-align: left; }
  .azukari-flow__num{ font-size: 2.5rem; }
  .azukari-flow__label{ margin-top: 0; font-size: 1.24rem; }
}

.cont table{ width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 1rem; margin: 1.5rem 0; font-size: 100%; border: 1px solid rgba(0,114,36,.3); }
.cont table th,
.cont table td{ padding: .75em 1em; vertical-align: top; border-bottom: 1px solid rgba(0,114,36,.2); }
.cont table tr:last-child th,
.cont table tr:last-child td{ border-bottom: none; }
.cont table th{ width: 9em; background: #EEFBEA; color: var(--color-green-nav); font-weight: 700; white-space: nowrap; vertical-align: middle; text-align: left; }
@media (max-width: 650px) {
  .cont table th,
  .cont table td{ display: block; width: 100%; }
  .cont table th{ white-space: normal; }
  .cont table tr:last-child th{ border-bottom: 1px solid rgba(0,114,36,.2); }
}
.cont dl{ display: grid; grid-template-columns: auto 1fr; column-gap: 1em; margin: 1.5rem 0; }
.cont dl dt,
.cont dl dd{ padding: .55em 0; }
.cont dl dt{ background: #EEFBEA; color: var(--color-green-nav); font-weight: 700; font-size: 90%; padding: .3em 1.2em; border-radius: 5px; white-space: nowrap; align-self: start; margin: .35em 0; border-bottom: none; }
.cont dl dd{ padding: .55em 0; }

.under-main.ctg--about .cont{ padding-top: 0; overflow: hidden; font-size: 95%; }
.ctg--about .cont h1{ margin-top: 1em; padding-bottom: .5em; color: #0EA243;}

/* ---- cont-pager ---- */
.cont-pager{ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem 0; border-radius: 16px; }
.cont-pager__btn{ display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.cont-pager__btn--prev{ grid-column: 1; }
.cont-pager__center{ grid-column: 2; }
.cont-pager__btn--next{ grid-column: 3; text-align: right; justify-self: end; }
.cont-pager__arrow{ flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; background: #F5C030; display: flex; align-items: center; justify-content: center; }
.cont-pager__arrow::before{ content: ""; display: block; width: 20px; height: 20px; background-color: #fff; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; transform: scaleX(-1); }
.cont-pager__btn--next .cont-pager__arrow::before{ transform: scaleX(1); }
.cont-pager__text{ display: flex; flex-direction: column; gap: .15em; }
.cont-pager__label{ font-size: 100%; color: #888; }
.cont-pager__title{ font-size: 120%; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.cont-pager__center{ display: flex; flex-direction: column; align-items: center; gap: .4em; text-decoration: none; color: inherit; font-size: 100%; flex-shrink: 0; }
.cont-pager__grid-icon{ display: block; width: 24px; height: 24px; background: url(../images/icon_grid.webp) center / contain no-repeat; }
.cont-pager__btn{ transition: opacity .2s; }
.cont-pager__btn:hover{ opacity: .7; }
.cont-pager__btn:hover .cont-pager__arrow{ background: #d4a820; transform: scale(1.15); }
.cont-pager__arrow{ transition: background .2s, transform .2s; }
.cont-pager__center{ transition: opacity .2s; }
.cont-pager__center:hover{ opacity: .7; }

.under-main.ctg--oshirase .maincontent .cont{ }
.under-main.ctg--hiroba .maincontent .cont{ border-color: rgba(205,71,73,.3); }
.under-main.ctg--hiroba .cont h2{ color: #CD4749;}
.under-main.ctg--hiroba .cont h2::after{ background-image: url(../images/marker_hiroba.webp); }
.under-main.ctg--hiroba .cont h3::before{ background: #CD4749;}
.under-main.ctg--letter .maincontent .cont{ border-color: rgba(191,102,0,.3); }
.under-main.ctg--letter .cont h2{ color: #BF6600;}
.under-main.ctg--letter .cont h2::after{ background-image: url(../images/marker_letter.webp); }
.under-main.ctg--letter .cont h3::before{ background: #BF6600;}
.under-main.ctg--other .maincontent .cont{ border-color: rgba(20,118,199,.3); }
.under-main.ctg--other .cont h2{ color: #1476C7;}
.under-main.ctg--other .cont h2::after{ background-image: url(../images/marker_other.webp); }
.under-main.ctg--other .cont h3::before{ background: #1476C7;}

/* ========================================
   Sidebar
   ======================================== */
.sidebar-ctg {
  margin-bottom: 2rem;
}
.sidebar-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 150%;
  font-weight: 700;
  padding-bottom: .6rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed #C8B89A;
}
.sidebar-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.sidebar-title--ctg::before { background-image: url('../images/icon_ctg.webp'); }
.sidebar-title--tag::before { background-image: url('../images/icon_tag.webp'); }
.sidebar-title--index::before { background-image: url('../images/icon_mokuji.webp'); }
/* --- Index TOC --- */
.sidebar-index{ padding-top: 2rem; }
.sidebar-index.is-sticky{ position: fixed; top: 0; z-index: 10; width: 250px; }
.sidebar-index__list{ list-style: none; padding: 0; margin: 0; }
.sidebar-index__list li{ border-bottom: 1px solid rgba(200,184,154,.4); }
.sidebar-index__list li:last-child{ border-bottom: none; }
.sidebar-index__list a{ text-decoration: none; color: #000; font-size: 1.05rem; display: flex; align-items: center; gap: .6em; padding: .8rem 0; transition: background .15s, color .15s; }
.sidebar-index__list a::before{ content: ""; color: #886237; width: 6px; height: 6px; border-radius: 50%;flex-shrink: 0; display: block; background: #886237; }
.sidebar-index__list a:hover{ color: #007524; }
@media (min-width: 1025px) {
  .sidebar-index__list li.is-active a{ color: #000; font-weight: 700; background: #fff; }
  .sidebar-index__list li.is-active a::before{ content: ""; width: 16px; height: 10px; background: #4AAF67; border-radius: 0 5px 5px 0; flex-shrink: 0; }
}
/* --- fig2 Staff --- */
.fig2-staff{ background: #EEF7E8; border-radius: 1rem; padding: 2rem 2rem 2.5rem; margin: 1.5rem 0; }
.fig2-staff__tit{ text-align: center; margin-bottom: 1.8rem;  }
.fig2-staff__tit img{ max-width: 280px; height: auto; }
.fig2-staff__list{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fig2-staff__img{ text-align: center; margin-bottom: 1rem; }
.fig2-staff__img img{ max-width: 100%; height: auto; }
.fig2-staff__text{ font-size: .95rem; line-height: 1.75; font-weight: 500; color: #534741; }
@media (max-width: 768px) {
  .fig2-staff{ padding: 1.5rem 1rem 2rem; }
  .fig2-staff__tit img{  }
  .fig2-staff__list{ grid-template-columns: 1fr; gap: 1.2rem; }
  .fig2-staff__item{ display: flex; flex-direction: column; gap: 1rem; }
  .fig2-staff__img{ margin: 0 auto; flex-shrink: 0; width: 50%; max-width: 250px; }
  .fig2-staff__text{ font-size: .9rem; }
}

/* --- Category list --- */
.sidebar-ctg__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ctg-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  border: 1px solid #C8B89A;
  background: #fff;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 110%;
  transition: opacity .2s;
}
.ctg-link:hover { opacity: .75; }
.ctg-link::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .2s;
}
.ctg-link:hover::before { transform: scale(1.5); }
/* ALL */
.ctg-link--all { border-color: #886237; }
.ctg-link--all::before { background: #886237; }
/* カテゴリ別 */
.ctg-link--oshirase { border-color: #007524; }
.ctg-link--oshirase::before { background: #007524; }
.ctg-link--hiroba   { border-color: #CD4749; }
.ctg-link--hiroba::before   { background: #CD4749; }
.ctg-link--letter   { border-color: #BF6600; }
.ctg-link--letter::before   { background: #BF6600; }
.ctg-link--other    { border-color: #1476C7; }
.ctg-link--other::before    { background: #1476C7; }
/* is-act */
.is-act .ctg-link { color: #fff; opacity: 1; }
.is-act .ctg-link:hover { opacity: 1; }
.is-act .ctg-link::before { transform: scale(1.5); background: #F5C030; }
.is-act .ctg-link--all      { background: #886237; }
.is-act .ctg-link--oshirase { background: #007524; }
.is-act .ctg-link--hiroba   { background: #CD4749; }
.is-act .ctg-link--letter   { background: #BF6600; }
.is-act .ctg-link--other    { background: #1476C7; }

/* --- Tag list --- */
.sidebar-tag__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem .4rem;
  font-size: 110%;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  background: #EEFBEA;
  padding: 10px 0;
  margin-bottom: 2rem;
  border-radius: 5px;
  overflow-x: auto;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  white-space: nowrap;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '> ';
  color: var(--color-gray);
}
.breadcrumb__link {
  color: var(--color-text);
  text-decoration: underline;
}
.breadcrumb__link:hover {
  text-decoration: none;
}
a.breadcrumb__link{ color: #0067AA;}

/* ========================================
   Maincontent
   ======================================== */
.maincontent > h1 {
  font-size: 180%;
  margin-bottom: 2rem;
  padding-bottom: 14px;
  background-image: radial-gradient(circle, var(--color-green) 3px, transparent 3px);
  background-size: 12px 5px;
  background-position: bottom left;
  background-repeat: repeat-x;
}

/* ========================================
   Responsive  ≤ 1440px
   ======================================== */
@media (max-width: 1440px) {
  :root { --inner-px: 28px; }

  /* Header */
  .header__inner { padding-inline: 20px; gap: 12px; }
  .header__nav-list li a { padding: 0 1rem; }
  .header__nav-list li:last-child a { padding-right: 0; }
  .header__contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    line-height: 1.3;
  }
  .header_right{ flex-direction: column-reverse; gap: 1rem; justify-content: flex-end; align-items: flex-end;}
  .header__nav-list li a { height: auto;}
  .header__address,.header__url {
    margin-bottom: 0;
    font-size: 100%;
    white-space: nowrap;
  }
  .header__tel { font-size: 112.5%; white-space: nowrap; margin-bottom: 0; }

  /* KV */
  .kv__photo-wrap { margin-left: 16vw; margin-right: 6vw; }
  .kv__content-wrap { margin-top: -160px; width: 94%; }
  .kv__hours-item { width: 230px; height: 230px; }
  .kv__hours-head { font-size: 131.25%; }
  .kv__hours-time { font-size: 150%; }
  .bnr__deco--tree { top: -10%;}

  /* BNR */
  .bnr__card { width: 100%; font-size: 100%; }

}

/* ========================================
   Responsive  ≤ 1200px
   ======================================== */
@media (max-width: 1200px) {
  .under-main { grid-template-columns: 1fr 250px; column-gap: 2rem; }
  .under-main > .sidebar { width: 250px;}

}

/* ========================================
   Responsive  ≤ 1024px
   ======================================== */
@media (max-width: 1024px) {
  :root { --inner-px: 24px; }
  html { font-size: 1.5vw; }
  body {  padding-top: 90px; }
  body::before,
  body::after { width: 28vw; max-width: 380px; }

  /* Header */
  .header__inner { height: 76px; padding-inline: 20px; gap: 12px; }
  .header__logo img { height: 56px; }
  .header__nav-list li a {
    padding: 0 9px;
    font-size: 93.75%;
    letter-spacing: 0.02em;
  }
  .header__address { font-size: 95%;}
   .header_right { gap: .5rem;  }

  /* KV */
  .kv { padding-bottom: 10px; }
  .kv__photo-wrap { margin: 8px 4vw 0 10vw; }
  .kv__sun { width: 14vw; min-width: 90px; max-width: 180px; }
  .kv__content-wrap {
    width: 96%;
    gap: 1rem;
    margin-top: -100px;
  }
  .kv__catch { font-size: 100%; margin-left: 12px; }
  .kv__slider {
    width: 45%;
    max-width: 260px;
  }
  .kv__hours { justify-content: center; align-self: center; }
  .kv__hours-item { width: 195px; height: 195px; }
  .kv__hours-head { font-size: 112.5%; }
  .kv__hours-time { font-size: 131.25%; }
  .kv__hours-note { font-size: 93.75%; }

  /* News */
  .news { padding: 48px 0 60px; }
  .news__inner { flex-direction: column; gap: 1rem; max-width: 100%; }
  .news__head-panel {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 0;
  }
  .news__heading { font-size: 200%; }
  .news__list{ width: 100%; }

  /* BNR */
  .bnr__bg { top: 90px; bottom: 60px; }
  .bnr__bg::before { top: -79px; height: 80px; }
  .bnr__bg::after { bottom: -79px; height: 80px; }
  .bnr__inner { padding: 110px 30px 40px; }
  .bnr__list { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .bnr__item { flex: 0 0 calc(50% - 8px); }
  .bnr__card { width: 100%; font-size: 100%; }
  .bnr__deco--chicken { width: 20vw; top: 5%; }
  .bnr__deco--flower{ width: 20vw; top: auto; bottom: 5%; }
  .bnr__deco--tree { top: -5%;}

  /* Sections */
  .sec { padding: 52px 0 60px; }
  .sec__title { font-size: 218.75%; }
  .card-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card-list > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 9px); }

  /* White sections */
  .sec--hiroba{ margin-top: 70px; margin-bottom: 70px; }
  .sec--hiroba__balloon,
  .sec--letter__balloon,
  .sec--oshirase__balloon { width: 110px; top: -55px; }
  .sec--other__rainbow { width: 160px; top: -80px; }
  .sec--other{ padding-bottom: 120px; }

  .card-list.yoko .card__img { width: 23vw;}
  .card-list.yoko .card__cat { width: 8em;}
  .card-list.yoko .card__desc { -webkit-line-clamp: 2; line-clamp: 2; }

  /* Footer */
  .footer__deco::before { width: 35vw; }
  .footer__deco::after { width: 42vw; }

  /* under-main: maincontent / sidebar を縦並び */
  .under-main {
    padding-bottom: 20rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "breadcrumb"
      "maincontent"
      "sidebar";
  }
  .under-main > .sidebar {  width: 100%; margin: 3rem 0 8rem;}
}

/* ========================================
   Responsive  ≤ 767px  (SP)
   ======================================== */
@media (max-width: 767px) {
  html { font-size: 15px; }
  :root { --inner-px: 16px; }


  /* ---- Header ---- */


  /* ---- KV ---- */
  .kv__content-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: -80px;
  }
  .kv__content { flex: 1 1 50%;  }
  .kv__catch { font-size: 110%; }
  .kv__hours {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: -100px;
    margin-left: auto;
  }
  .kv__slider { left: 10%; }

  /* ---- News ---- */
  .news { padding: 32px 0 44px; }
  .news__inner { flex-direction: column; }
  .news__head-panel {
    width: 100%;
    flex-direction: row;
    gap: 16px;
    padding-top: 0;
  }
  .news__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 1.5em 2em 1.5em 1.5em; }
  .news__title { flex: none; }
  .news__arr-wrap { position: absolute; right: .6em; top: 50%; transform: translateY(-50%); margin-left: 0; }


  /* ---- BNR ---- */
  .bnr { padding: 16px 0 56px; }
  .bnr__bg { top: 70px; bottom: 50px; }
  .bnr__bg::before { top: -69px; height: 70px; }
  .bnr__bg::after { bottom: -69px; height: 70px; }
  .bnr__inner { padding: 80px 16px 28px; }
  .bnr__list { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .bnr__item { flex: 0 0 calc(50% - 6px); }
  .bnr__card { width: 100%; font-size: 100%; }
  .bnr__card::after { width: 12px; height: 12px; }

  /* ---- Sections ---- */
  .sec { padding: 36px 0 44px; }
  .sec__title { font-size: 190%; }
  #related .sec__title { font-size: 150%; }
  .sec__head { margin-bottom: 24px; }
  .sec__deco--left,
  .sec__deco--right { width: 48px; }
  .sec--letter .sec__deco--left  { width: 80px; }
  .sec--letter .sec__deco--right { width: 55px; }
  .sec__deco--left  { right: calc(100% + 12px); }
  .sec__deco--right { left:  calc(100% + 12px); }
  .card-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-list > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .card__meta { flex-wrap: wrap; gap: 6px; }

  /* White sections */
  .sec--hiroba,
  .sec--other { margin-top: 52px; margin-bottom: 52px; }
  .sec--other { padding-bottom: 200px; }
  .sec--other#related { padding-bottom: 250px; }
  .sec--hiroba__balloon,
  .sec--letter__balloon,
  .sec--oshirase__balloon { width: 72px; top: -50px; }
  .sec--other__rainbow { width: 100px; top: -50px; }

  .card-list.yoko .card__img { width: 35vw;}

  /* ---- Footer ---- */
  .footer { padding-top: 48px; padding-bottom: 20px; }
  .footer__deco::before { width: 36vw; }
  .footer__deco::after { width: 56vw; }
  .footer__copy { font-size: 100%; }

  .cont .cont-in { font-size: 100%; }

  .under-main > .sidebar { margin-bottom: 0;}

  .cont .fig-right-top figure.w40 {
    width: 80%;
}
}

/* ========================================
   Responsive  ≤ 650px  (SP)
   ======================================== */
@media (max-width: 650px) {
  .kv__sun{ left: -2%;}
      .kv__content-wrap {
        margin-top: -5vw;
      }
    .kv__content img:nth-child(2) { margin-top: -1rem;}
  .kv__catch {
        font-size: 2.8vw;
  }
  .kv__hours {       margin-top: -20vw;
  }
  .kv__hours-item {
        width: 25vw;
        height: 25vw;
        font-size: 2.1vw;
    }
  .kv__hours-item + .kv__hours-item { margin-left: -1em; width: 28vw;
        height: 28vw;}

}


/* ========================================
   Responsive  ≤ 500px  (SP)
   ======================================== */
@media (max-width: 500px) {
  .kv__hours-item {
        width: 30vw;
        height: 30vw;
        font-size: 2.4vw;
    }
  .kv__hours-item + .kv__hours-item { width: 34vw;
        height: 34vw;}
    .kv__slider { left: 1%;}
  .news { padding-top: 3rem; }

  .sec--other#related { padding-bottom: 210px; }
  .ctg--about .cont h1 { font-size: 135%;}

}

/* ========================================
   Animations
   ======================================== */

/* --- キーフレーム --- */
@keyframes rotateSun {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-6deg); }
  50%       { transform: rotate(6deg); }
}

@keyframes swayReverse {
  0%, 100% { transform: rotate(5deg); }
  50%       { transform: rotate(-5deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpSmall {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes maskLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* --- KV ページ読み込みアニメ --- */
.kv__photo-wrap {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kv__content {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.kv__hours {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* --- KV タイトル マーカー表示 --- */
.kv__content img:nth-child(1) {
  animation: maskLeft 0.65s ease-out .2s both;
}

.kv__content img:nth-child(2) {
  animation: maskLeft 0.65s ease-out .6s both;
}

/* --- KV 常時ループ --- */
.kv__sun {
  animation: rotateSun 22s linear infinite;
  transform-origin: center center;
}

.kv__bird {
  animation: floatY 3.8s ease-in-out infinite;
}

.kv__slider {
  animation: floatY 5s ease-in-out infinite 0.6s;
}

/* --- bnrデコ 常時ループ --- */
.bnr__deco--tree {
  animation: sway 5.5s ease-in-out infinite;
  transform-origin: bottom center;
}

.bnr__deco--flower {
  animation: swayReverse 4s ease-in-out infinite;
  transform-origin: bottom center;
}

.bnr__deco--chicken {
  animation: floatY 3.2s ease-in-out infinite 0.4s;
}

.bnr__deco--grass {
  animation: swayReverse 4.5s ease-in-out infinite;
  transform-origin: bottom center;
}

/* --- バルーン・デコ 常時ループ --- */
.sec--oshirase__balloon {
  animation: floatY 4.5s ease-in-out infinite;
}

.sec--hiroba__balloon {
  animation: floatY 5s ease-in-out infinite 0.8s;
}

.sec--letter__balloon {
  animation: floatY 4.8s ease-in-out infinite 0.3s;
}

.sec--other__rainbow {
  animation: floatY 6s ease-in-out infinite 1s;
}

/* --- スクロールトリガー 共通 --- */
.js-inview {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-inview.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* --- bnrカード ポップイン --- */
.js-inview-pop {
  opacity: 0;
  transform: scale(0.82) translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-inview-pop.is-inview {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ========================================
   Responsive  ≤ 768px  (ドロワーメニュー)
   ======================================== */
.sp{ display: none;}
@media (max-width: 768px) {
  .sp{ display: block;}
  .pc{ display: none;}
  .cont-pager{ grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .cont-pager__btn--prev{ grid-column: 1; grid-row: 1; }
  .cont-pager__btn--next{ grid-column: 2; grid-row: 1; }
  .cont-pager__center{ grid-column: 1 / -1; grid-row: 2; justify-self: center; flex-direction: row; font-size: 120%; }

  .header__tel a { pointer-events: auto; }
  .header__tel a:hover { color: var(--color-green-nav); }

  /* ロゴ・ハンバーガーをオーバーレイ・ドロワーより前面に */
  body { padding-top: 76px; }
  .header { z-index: 202; }

  /* Hamburger 表示 */
  .header__hamburger { display: flex; }

  /* header_right → ドロワー（右端から300px） */
  .header_right {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 300px;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    padding: 100px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .header_right.is-open {
    transform: translateX(0);
  }

  /* ドロワー内ナビを上に */
  .header__nav { flex-shrink: unset; order: -1; }
  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }
  .header__nav-list li {
    width: 100%;
  }
  .header__nav-list li a {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 112.5%;
    border-bottom: 1px solid #eee;
    height: auto;
  }
  .header__nav-list li:has(.header__nav-sep) { display: none; }

  /* ドロワー内住所・電話（sticky時のdisplay:noneを上書き） */
  .header__contact,
  .header.is-sticky .header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    gap: 12px;
  }

  
}



/* ========================================
   Responsive  ≤ 500px
   ======================================== */
@media (max-width: 500px) {
  .under-main { padding-bottom: 16rem; }
  .card-list {
    grid-template-columns: 1fr;
  }
  .card-list > .card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: auto;
    width: auto;
  }
  .footer::before {
    height: 100px;
    top: -99px;
  }
}
