@charset "UTF-8";
/* 施設ページ「イベント・おでかけ」（2026-10-07 下書き：まず旗の台）
   - 施設サイトの style.css・cta.css に足すだけ。既存の部品（見出し・本文・ボタン・灰色の帯）はそのまま使う
   - 色は施設サイトに合わせる：文字 #3f3b39、金 #eeaf00、見出しの橙 #de7c00、灰色の帯 #f7f5f5、線 #e6ded1
   - 820px 以下はスマホの並び（施設サイトと同じ区切り） */

/* ページ上部の帯（ホームごとの写真） */
.p-main-page-header--event-hatanodai {
  background-image: url(/hatanodai/_assets/img/event/event_kv_pc.jpg);
  background-position: 50% 50%;
}
@media screen and (max-width: 820px) {
  .p-main-page-header--event-hatanodai {
    background-image: url(/hatanodai/_assets/img/event/event_kv_sp.jpg);
  }
}

/* 節の説明文（見出しのすぐ下） */
.p-ev-intro {
  margin: 0 auto 32px;
  max-width: 760px;
}
.p-ev-intro .c-base-heading {
  text-align: center;
}
.p-ev-intro .c-base-text {
  text-align: center;
}
@media screen and (max-width: 820px) {
  .p-ev-intro {
    margin-bottom: 24px;
  }
  .p-ev-intro .c-base-heading,
  .p-ev-intro .c-base-text {
    text-align: left;
  }
}

/* 月の札（1月、11〜12月 など） */
.p-ev-month {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 8px;
  padding: 3px 10px 2px;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
  background-color: #de7c00;
}

/* この部品の中は左寄せ（施設サイトの本文は両端そろえのため、細い枠で字間が空くのを防ぐ） */
.p-ev-card__body,
.p-ev-feature,
.p-ev-program,
.p-ev-year {
  text-align: left;
}

/* ブログへの小さなリンク */
.p-ev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.p-ev-links a {
  color: #3f3b39;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #eeaf00;
}
.p-ev-links a::after {
  content: "\203A";
  margin-left: 4px;
}
.p-ev-links a:hover {
  text-decoration: none;
}

/* 写真の説明（撮影した月など） */
.p-ev-cap {
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #77706a;
}

/* ---- 季節のおでかけ：写真カード（3列 → 2列 → 1列） ---- */
.p-ev-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-ev-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #fff;
  border: 1px solid #e6ded1;
}
.p-ev-card__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f7f2e8;
}
.p-ev-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-ev-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.p-ev-card__title {
  margin: 0 0 2px;
  font-family: YakuHanMP_Noto, "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", serif;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.p-ev-card__place {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #de7c00;
}
.p-ev-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}
.p-ev-card__foot {
  margin-top: auto;
  padding-top: 8px;
}
@media screen and (max-width: 820px) {
  .p-ev-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .p-ev-card__body {
    padding: 12px 12px 14px;
  }
  .p-ev-card__title {
    font-size: 1.0625rem;
  }
}
@media screen and (max-width: 560px) {
  .p-ev-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  /* スマホでは写真を少し横長にして、ページを短くする */
  .p-ev-card__photo {
    aspect-ratio: 16 / 10;
  }
}

/* ---- 館内の季節行事：大きな行事（写真3枚＋文章） ---- */
.p-ev-feature {
  margin: 0 0 32px;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e6ded1;
}
.p-ev-feature__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.p-ev-feature__photos figure {
  margin: 0;
}
.p-ev-feature__photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.p-ev-feature__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.p-ev-feature__title {
  margin: 0 0 6px;
  font-family: YakuHanMP_Noto, "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", serif;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 820px) {
  .p-ev-feature {
    padding: 14px 14px 18px;
  }
  .p-ev-feature__photos {
    gap: 6px;
  }
  .p-ev-feature__title {
    font-size: 1.1875rem;
  }
}
@media screen and (max-width: 560px) {
  .p-ev-feature__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-ev-feature__photos li:first-child {
    grid-column: 1 / -1;
  }
}

/* 2枚の写真を並べるカード（クリスマスなど） */
.p-ev-card__photo--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background-color: #fff;
}
.p-ev-card__photo--pair img {
  height: 100%;
}

/* ---- 毎月のお楽しみ：食事の写真（4枚）と、催しの一覧（2列） ---- */
.p-ev-food {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.p-ev-food figure {
  margin: 0;
}
.p-ev-food img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media screen and (max-width: 820px) {
  .p-ev-food {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
}

.p-ev-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e6ded1;
}
.p-ev-program {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #e6ded1;
}
/* 項目ごとの写真（4:3） */
.p-ev-program__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f7f2e8;
}
.p-ev-program__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-ev-program__title {
  margin: 2px 0 4px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.p-ev-program__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}
@media screen and (max-width: 820px) {
  .p-ev-programs {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-ev-program {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 12px;
    padding: 16px 0;
  }
}
@media screen and (max-width: 400px) {
  .p-ev-program {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* ---- 1年の行事：12か月の表（4列 → 2列） ---- */
.p-ev-year {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e6ded1;
  border-left: 1px solid #e6ded1;
}
.p-ev-year__month {
  position: relative;
  isolation: isolate;          /* 背景の写真を、この枠の中の文字より後ろに置く */
  overflow: hidden;
  min-width: 0;
  padding: 14px 14px 16px;
  background-color: #fff;
  border-right: 1px solid #e6ded1;
  border-bottom: 1px solid #e6ded1;
}
/* 各月の背景の写真（その月の行事の写真を薄く。文字の読みやすさを優先） */
.p-ev-year__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}
/* 行事名＝スタッフブログの記事へのリンク（下線つき。字は .p-ev-year__list の白いふちどりで読ませる） */
.p-ev-year__list a {
  color: #2b2623;
  text-decoration: underline;
  text-decoration-color: rgba(222, 124, 0, 0.6);
  text-underline-offset: 3px;
}
.p-ev-year__list a:hover {
  color: #de7c00;
  text-decoration-color: #de7c00;
}
.p-ev-year__num {
  margin: 0 0 8px;
  font-family: YakuHanMP_Noto, "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1;
  color: #de7c00;
  /* 背景の写真の上でも読めるよう、字を白でふちどる（白い影を16方向へ2pxずつずらして重ねる） */
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 1px 0 #fff, -2px 1px 0 #fff, 2px -1px 0 #fff, -2px -1px 0 #fff,
    1px 2px 0 #fff, -1px 2px 0 #fff, 1px -2px 0 #fff, -1px -2px 0 #fff,
    1.5px 1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px -1.5px 0 #fff;
}
.p-ev-year__num small {
  margin-left: 2px;
  font-size: 0.9375rem;
  color: #2b2623;
}
.p-ev-year__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.75;
  color: #2b2623;
  /* 行事名・札の字も、月の数字と同じ白いふちどり */
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 1px 0 #fff, -2px 1px 0 #fff, 2px -1px 0 #fff, -2px -1px 0 #fff,
    1px 2px 0 #fff, -1px 2px 0 #fff, 1px -2px 0 #fff, -1px -2px 0 #fff,
    1.5px 1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px -1.5px 0 #fff;
}
.p-ev-year__list li {
  position: relative;
  padding-left: 0.9em;
}
.p-ev-year__list li + li {
  margin-top: 4px;
}
.p-ev-year__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #eeaf00;
  box-shadow: 0 0 0 2px #fff;
}
.p-ev-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  font-size: 0.6875rem;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.p-ev-tag--outing {
  color: #2f7d5b;
}
.p-ev-tag--meal {
  color: #b5651d;
}
.p-ev-year-note {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #77706a;
}
@media screen and (max-width: 820px) {
  .p-ev-year {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-ev-year__month {
    padding: 12px 10px 14px;
  }
}
