@charset "UTF-8";
/* ============================================================
   Cats in Need — 下層ページ共通ヘッダー/フッター
   header.php / footer.php（.subpage 側）専用。
   トップページは .Toppage .header{display:none} のため無関係。
   ============================================================ */
.subpage a { color: #3f382e; }
.subpage a:hover { color: #bd8a63; }
.subpage .header {
  border-bottom: 1px solid #e7ddc9;
  background: #f4efe6;
}
.subpage .header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  padding: 18px 24px;
}
.subpage .header_logo { max-width: 72px; margin: 0; }

.subnav { display: flex; align-items: center; gap: 26px; }
.subnav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "EB Garamond", "Noto Sans JP", serif;
  font-size: 16px;
}
.subnav__menu a { color: #3f382e; text-decoration: none; }
.subnav__menu a:hover { color: #bd8a63; }
.subnav__donate {
  display: inline-block;
  background: #bd8a63;
  color: #fff !important;
  text-decoration: none;
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 15px;
}
.subnav__toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.subnav__toggle span { display: block; width: 22px; height: 2px; background: #3f382e; margin: 5px 0; }

@media screen and (max-width: 900px) {
  .subnav__menu { display: none; }
  .subnav__toggle { display: block; }
  .subnav.is-open .subnav__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f4efe6;
    padding: 20px 24px 26px;
    border-bottom: 1px solid #e7ddc9;
  }
  .subpage .header { position: relative; z-index: 100; }
  .subnav.is-open .subnav__menu { z-index: 100; }
}

/* ---------- Footer（全ページ共通） ---------- */
.footer {
  background: #3f382e;
  color: #f4efe6;
  padding: 52px 24px 26px;
}
.footer_contain { max-width: 1200px; margin: 0 auto; }
.footer_top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.18);
}
.footer_logo { max-width: 72px; margin-bottom: 14px; }
.footer_desc { font-size: 14px; line-height: 1.8; color: rgba(244, 239, 230, 0.7); max-width: 320px; }
.footer_nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer_nav__col { display: flex; flex-direction: column; gap: 12px; }
.footer_nav__title { font-family: "Cormorant Garamond", serif; font-size: 16px; color: rgba(244, 239, 230, 0.55); margin-bottom: 4px; }
.footer_nav__col a { color: #f4efe6; text-decoration: none; font-size: 15px; }
.footer_nav__col a:hover { color: #bd8a63; }
.footer_copyright {
  font-size: 12px;
  text-align: center;
  color: rgba(244, 239, 230, 0.5);
  margin: 0;
  padding-top: 22px;
}
@media screen and (max-width: 768px) {
  .footer_top { flex-direction: column; gap: 26px; }
  .footer_nav { gap: 32px; }
}

/* ============================================================
   下層ページ本体（Adopt一覧/詳細・Success Story一覧/詳細）
   トップページの「写真バンド＋浮かせたカード」のリズムに合わせる。
   ページ全体を単色ベージュで塗りつぶさない。
   ============================================================ */
.subpage .main { background: #f4efe6; padding: 0 0 88px; margin-top: 0; }
body { background: #f4efe6; }
.subpage .p-catslist,
.subpage .p-catdetail,
.subpage .p-storylist,
.subpage .p-storydetail { background: transparent; }

/* ---------- ページ上部の写真バンド（トップの hero/band を踏襲） ---------- */
.subpage_intro {
  position: relative;
  height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 56px;
}
.subpage_intro__bg {
  position: absolute; inset: 0;
  background-color: #c6bba7; background-position: center; background-size: cover;
}
.subpage_intro__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,28,20,0.15) 0%, rgba(35,28,20,0.65) 100%);
}
.subpage_intro__body { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px 34px; width: 100%; }
.subpage_intro__eyebrow {
  font-family: "Caveat", cursive; font-weight: 600; font-size: 26px; color: #fff;
  transform: rotate(-1.5deg); display: inline-block;
}
.subpage_intro h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 46px; color: #fff; margin: 4px 0 0;
}

.subpage .pagetitle { display: none; } /* 旧タイトルは写真バンドに置き換え */

/* ---------- カードは元のレイアウト・サイズを維持し、配色のみ調整 ---------- */
.subpage .p-catslist_item {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.subpage .p-catslist_item__img img { border-radius: 16px 16px 0 0 !important; }
.subpage .p-catslist_item__content {
  background: #fff;
  border-radius: 0;
  padding: 22px 24px 26px;
  margin-top: 0;
}
.subpage .p-catslist_item_txt,
.subpage .p-catdetail_content__item {
  font-family: "EB Garamond", "Noto Sans JP", serif;
  border-bottom: 1px solid #ede4d3 !important;
  padding: 11px 0 !important;
  gap: 4px !important;
}
.subpage .p-catslist_item_txt:last-of-type,
.subpage .p-catdetail_content__item:last-of-type { border-bottom: none !important; }
.subpage .p-catslist_item_txt .head,
.subpage .p-catdetail_content__item .head {
  color: #8a7c63;
  font-weight: 500;
  max-width: 84px !important;
}
.subpage .p-catslist_item_txt .txt,
.subpage .p-catdetail_content__item .txt { color: #3f382e; }

.subpage .p-catslist_item .morelink { margin-top: 20px !important; }
.subpage .p-catslist_item .morelink_btn {
  background: #bd8a63;
  color: #fff;
  display: inline-flex !important;
  width: auto !important;
}
.subpage .p-catslist_item .morelink_btn img { filter: brightness(0) invert(1); }

.subpage .p-catdetail_title,
.subpage .p-storylist_item_title { font-family: "Cormorant Garamond", serif; color: #3f382e; }

/* ---------- Success Story: Adoptカードと同じ白カード＋See Moreに統一 ---------- */
.subpage .p-storylist_list { align-items: stretch; }
.subpage .p-storylist_list li { height: 100%; }
.subpage .p-storylist_item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.subpage .p-storylist_item_img img { border-radius: 16px 16px 0 0; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.subpage .p-storylist_item_content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}
.subpage .p-storylist_item_title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  margin: 0;
}
.subpage .p-storylist_item .morelink { margin-top: auto; padding-top: 18px; }
.subpage .p-storylist_item .morelink_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #bd8a63;
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: "EB Garamond", "Noto Sans JP", serif;
  font-size: 16px;
}
.subpage .p-storylist_item .morelink_btn img { max-width: 16px; width: 100%; filter: brightness(0) invert(1); }

/* Adopt側も同じrem混在バグをpx固定で上書き */
.subpage .p-catslist_item .morelink_btn {
  padding: 10px 24px !important;
  font-size: 16px !important;
  border-radius: 999px !important;
}
.subpage .p-catslist_item .morelink_btn img {
  max-width: 16px !important;
}

.subpage .p-catdetail .listbtn a {
  border-radius: 999px;
  border-color: #bd8a63;
  color: #3f382e;
}
.subpage .p-catdetail .listbtn a.getlink {
  background: #bd8a63;
  border-color: #bd8a63;
  color: #fff;
}
.subpage .p-catdetail .listbtn a.getlink img { filter: brightness(0) invert(1); }

.subpage .p-catslist .slick-dots li.slick-active button::before,
.subpage .p-catdetail__imgs .slick-dots li.slick-active button::before { color: #bd8a63; }

.subpage .itembox { display: grid; grid-template-columns: 42% 1fr; gap: 44px; align-items: center; margin-bottom: 44px; }
.subpage .itembox:nth-child(even) img { order: 2; }
.subpage .itembox img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.subpage .itembox_txt { color: rgba(63, 56, 46, 0.85); font-size: 18px; line-height: 2.05; padding: 0; }
.subpage .itembox_txt p { margin: 0 0 20px; }
.subpage .itembox_txt p:last-child { margin-bottom: 0; }

@media screen and (max-width: 768px) {
  .subpage_intro { height: 220px; margin-bottom: 36px; }
  .subpage_intro h1 { font-size: 32px; }
}


/* ============================================================
   NEWS（活動報告）一覧・詳細
   ============================================================ */
.p-newslist { padding: 0 0 90px; }
.p-newslist .container,
.p-newsdetail .container,
.p-newsmore .container { padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.p-newslist_head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(120, 90, 55, 0.2);
}
.p-newslist_filter { display: flex; gap: 10px; flex-wrap: wrap; }
.p-newslist_filter a {
  background: #f7f2e8; border: 1px solid rgba(120, 90, 55, 0.2); color: #3f382e;
  text-decoration: none; padding: 8px 21px; border-radius: 999px; font-size: 15px;
}
.p-newslist_filter a.is-current, .p-newslist_filter a:hover { background: #bd8a63; border-color: #bd8a63; color: #fff; }
.p-newslist_count { font-size: 15px; color: rgba(63, 56, 46, 0.6); }

.p-newslist_list {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.p-newslist_item {
  display: block; background: #f7f2e8; border: 1px solid rgba(120, 90, 55, 0.14);
  border-radius: 20px; overflow: hidden; text-decoration: none; color: #3f382e; height: 100%;
}
.p-newslist_item:hover { opacity: 0.9; }
.p-newslist_item_img { background-color: #e0d4bd; aspect-ratio: 4/3; overflow: hidden; }
.p-newslist_item_img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-newslist_item_content { padding: 22px 24px 26px; }
.p-newslist_item_meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(63, 56, 46, 0.6); margin: 0; }
.p-newslist_item_cat { background: #efe7d8; border-radius: 999px; padding: 4px 12px; color: #8a5834; }
.p-newslist_item_title { font-family: "Cormorant Garamond", serif; font-size: 23px; font-weight: 600; line-height: 1.3; margin: 10px 0 0; }
.p-newslist_item_txt { font-size: 15px; line-height: 1.75; color: rgba(63, 56, 46, 0.7); margin: 8px 0 0; }

.p-newslist_item--empty { opacity: 0.55; }
.p-newslist_item--empty .p-newslist_item_img {
  background-image: repeating-linear-gradient(45deg, rgba(120, 90, 55, 0.09) 0 10px, rgba(120, 90, 55, 0) 10px 20px);
}

.p-newslist_pager { display: flex; justify-content: center; margin-top: 52px; }
.p-newslist_pager .page-numbers {
  width: 44px; height: 44px; margin: 0 5px; border-radius: 999px;
  background: #f7f2e8; border: 1px solid rgba(120, 90, 55, 0.2); color: #3f382e;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; text-decoration: none;
}
.p-newslist_pager .page-numbers.current { background: #bd8a63; border-color: #bd8a63; color: #fff; }

.p-newsdetail { background: #fff; padding-bottom: 0; }
.p-newsdetail .container { max-width: 1148px; }
.p-newsdetail_breadcrumb { font-size: 14px; color: rgba(63, 56, 46, 0.6); margin: 0 0 26px; }
.p-newsdetail_breadcrumb a { color: rgba(63, 56, 46, 0.6); text-decoration: none; }
.p-newsdetail_head { max-width: 100%; }
.p-newsdetail_lead { font-size: 20px; line-height: 1.85; color: rgba(63, 56, 46, 0.75); margin: 22px 0 0; max-width: 900px; }
.p-newsdetail_meta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(63, 56, 46, 0.6); margin: 0; }
.p-newsdetail_cat { background: #efe7d8; border-radius: 999px; padding: 5px 14px; color: #8a5834; }
.p-newsdetail_title { font-family: "Cormorant Garamond", serif; font-size: 42px; font-weight: 600; line-height: 1.25; margin: 14px 0 0; }
.p-newsdetail_hero { display: none; }
.p-newsdetail_blocks { margin: 48px 0 0; display: flex; flex-direction: column; gap: 44px; }
.p-newsdetail_block { display: grid; grid-template-columns: 42% 1fr; gap: 44px; align-items: center; }
.p-newsdetail_block--rev .p-newsdetail_block_img { order: 2; }
.p-newsdetail_block_img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; display: block; }
.p-newsdetail_block_txt { font-size: 18px; line-height: 2.05; color: rgba(63, 56, 46, 0.85); }
.p-newsdetail_block_txt p { margin: 0 0 20px; }
.p-newsdetail_block_txt p:last-child { margin-bottom: 0; }
.p-newsdetail_body { max-width: 100%; margin: 48px 0 0; font-size: 18px; line-height: 2.05; color: rgba(63, 56, 46, 0.85); }
.p-newsdetail_body p { max-width: 820px; }
.p-newsdetail_body h2 { font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 600; color: #3f382e; margin: 38px 0 14px; }
.p-newsdetail_body h3 { font-family: "Cormorant Garamond", serif; font-size: 23px; font-weight: 600; color: #3f382e; margin: 30px 0 12px; }
.p-newsdetail_body p { margin: 0 0 22px; }
.p-newsdetail_body img { max-width: 100%; height: auto; border-radius: 16px; }
.p-newsdetail_body figure { margin: 0 0 26px; }
.p-newsdetail_body figcaption { font-size: 14px; color: rgba(63, 56, 46, 0.6); margin-top: 8px; line-height: 1.7; }
.p-newsdetail_body .alignleft,
.p-newsdetail_body .alignright { width: 42%; margin-bottom: 26px; }
.p-newsdetail_body .alignleft { float: left; margin-right: 44px; }
.p-newsdetail_body .alignright { float: right; margin-left: 44px; }
.p-newsdetail_body .alignleft img,
.p-newsdetail_body .alignright img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; display: block; }
.p-newsdetail_body .aligncenter { display: block; margin: 0 auto 26px; }
.p-newsdetail_body::after { content: ""; display: block; clear: both; }
.p-newsdetail_cta { display: flex; gap: 14px; margin: 44px 0 0; flex-wrap: wrap; }
.p-newsdetail_btn {
  background: #bd8a63; color: #fff; text-decoration: none;
  padding: 14px 36px; border-radius: 999px; font-size: 16px; display: inline-block;
}
.p-newsdetail_btn--outline { background: none; border: 1px solid rgba(63, 56, 46, 0.35); color: #3f382e; }
.p-newsmore { background: #efe7d8; margin-top: 76px; padding: 70px 0; }
.p-newsmore_eyebrow { font-family: "Caveat", cursive; font-weight: 600; font-size: 26px; color: #bd8a63; transform: rotate(-1.5deg); margin: 0; }
.p-newsmore_title { font-family: "Cormorant Garamond", serif; font-size: 36px; font-weight: 600; margin: 2px 0 0; }

@media screen and (max-width: 900px) {
  .p-newslist_list { grid-template-columns: 1fr 1fr; gap: 18px; }
  .p-newsdetail_title { font-size: 30px; }
  .p-newsdetail_body { font-size: 16px; line-height: 1.95; }
  .p-newsdetail_lead { font-size: 17px; }
  .p-newsdetail_block { grid-template-columns: 1fr; gap: 20px; }
  .p-newsdetail_block--rev .p-newsdetail_block_img { order: 0; }
  .p-newsdetail_block_txt { font-size: 16px; line-height: 1.95; }
  .subpage .itembox { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .subpage .itembox:nth-child(even) img { order: 0; }
  .subpage .itembox_txt { font-size: 16px; line-height: 1.95; }
  .p-newsdetail_body .alignleft,
  .p-newsdetail_body .alignright { float: none; width: 100%; margin-left: 0; margin-right: 0; }
}
@media screen and (max-width: 600px) {
  .p-newslist_head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .p-newslist_list { grid-template-columns: 1fr; }
}
