@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Typography */
  --font-base: "Zen Maru Gothic", sans-serif;
  --text-size-pc: 17px;
  --text-size-sp: 13px;
  
  /* Layout */
  --wrapper: 1200px;
  
  /* Colors */
  --clr-bg-cream: #fff5cc;
  --clr-bg-yellow: #FFE383;
  --clr-text-main: #4a2704;
  --clr-btn-green: #83C661;
  --clr-btn-green-hover: #72af53;
  --clr-btn-pink: #eb688f;
  --clr-btn-pink-hover: #d4597d;
  --clr-bg-news: #C0E9EA;
  --clr-bg-contact: #e4f8cc;
  --clr-bg-footer: #00763C;
  --clr-white: #ffffff;
  --clr-bg-th: #F8F7F5;

  /* アクセントカラー */
  --clr-accent-pink: #E35A75;
  --clr-accent-orange: #f0a351; 
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-size: var(--text-size-pc);
  color: var(--clr-text-main);
  line-height: 2;
  letter-spacing: 1.3px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   Layout Objects & Components
   ========================================================================== */
.wrapper {
  max-width: var(--wrapper);
  width: calc(100% - 40px);
  margin: 0 auto;
}

.main_column {
  display: block;
  margin: 0 auto;
  padding-top: 60px;
  margin-bottom: 210px;
}

.main_contents {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 50px;
}
@media print, screen and (min-width: 768px) {
  .main_contents {
    margin-top: 70px;
    margin-bottom: 90px;
  }
}

.section-pagebl {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 45px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.btn--green {
  background-color: var(--clr-btn-green);
  color: var(--clr-white);
  font-size: calc(var(--text-size-pc) * 0.875);
}
.btn--green:hover {
  background-color: var(--clr-btn-green-hover);
}

.btn--pink {
  background-color: var(--clr-btn-pink);
  color: var(--clr-white);
  font-size: var(--text-size-pc);
  padding: 14px 40px;
  position: relative;
  min-width: 240px;
}
.btn--pink:hover {
  background-color: var(--clr-btn-pink-hover);
}

.btn--white {
  background-color: var(--clr-white);
  color: var(--clr-bg-footer);
  font-size: var(--text-size-pc);
  padding: 12px 40px;
}

.btn__arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--clr-white);
  border-radius: 50%;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.btn__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--clr-btn-pink);
}
.contact__btn .btn__arrow::after {
  border-left: 6px solid var(--clr-btn-green);
}

/* 共通セクション見出し */
.sec-heading {
  text-align: center;
  margin-bottom: 40px;
}
.sec-heading__icon {
  width: 100px;
  margin-bottom: 10px;
}
.sec-heading__title {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}


/* ==========================================================================
   Common Number Styles (Target Card & Feature Card)
   ========================================================================== */
.target-card__number,
.feature-card__number {
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  background-color: var(--clr-accent-pink);
  font-family: 'Outfit', sans-serif;
}

.target-card__number {
  width: 70px;
  height: 70px;
  font-size: 35px;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.feature-card__number {
  width: 44px;
  height: 44px;
  font-size: 20px;
  flex-shrink: 0;
}


/* ==========================================================================
   Header (下層ページ用/TOP用共通レイアウト)
   ========================================================================== */
.header {
  position: relative;
  width: 100%;
  background-color: var(--clr-white);
  z-index: 300;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}
.header__logo {
  margin: 0;
  width: 240px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header__actions {
  margin-left: auto;
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.header__contact {
  background-image: url('../images/btn_back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  color: var(--clr-white);
  border: none;
  font-weight: 700;
}
.header__contact:hover {
  opacity: 0.85;
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 68px;
  height: 68px;
  background-color: #FAD34D;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.header__hamburger:hover {
  opacity: 0.85;
}
.hamburger-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}
.hamburger-line {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--clr-text-main);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-text {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #0D9851;
  line-height: 1;
}

.header__hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.header__hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.header__hamburger.is-active .hamburger-text {
  opacity: 0;
}

.header__border {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none; 
}
.header__border img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ==========================================================================
   Global Navigation (PC)
   ========================================================================== */
.gnav {
  padding: 25px 0 5px;
  position: relative;
  z-index: 90;
  display: block;
}
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gnav__item {
  flex: 1;
  max-width: 170px;
  position: relative;
}
.gnav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  border-right: 2px dotted #e0d9cc;
}
.gnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--clr-text-main);
  font-size: 16px;
  font-weight: 700;
}
.gnav__icon {
  height: 30px;
}

/* ==========================================================================
   Drawer Menu & Overlay (SP)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  opacity: 0;
  visibility: hidden;
  z-index: 280;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background-color: var(--clr-bg-cream);
  z-index: 290;
  padding: 120px 30px 50px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.drawer__link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--clr-text-main);
  font-weight: 700;
  font-size: 16px;
}
.drawer__icon {
  width: 35px;
  height: auto;
}

/* ==========================================================================
   Top Page Specific Sections (Hero, Transition, Intro, Contents, News, Contact, Map)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 300px;
  width: 100%;
  background-image: url(../images/bg.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero__inner {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.hero__left {
  position: relative;
  width: 40%;
  min-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.hero__cloud {
  position: absolute;
  top: 70%;
  left: -20%;
  transform: translateY(-50%);
  width: 150%;
  z-index: -1;
  pointer-events: none;
  animation: cloud-float-hero 6s ease-in-out infinite;
}
/* 中央寄せの translateY(-50%) を保ったまま、ふわふわ揺れを加える */
@keyframes cloud-float-hero {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(calc(-50% - 14px)) translateX(10px); }
}
.hero__catch {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 1;
}
.hero__right {
  position: relative;
  width: 65%;
  z-index: 5;
}

.hero__image-wrapper { 
  margin: 0; 
  width: 100%; /* Swiperの親要素は幅を明示すると安定します */
  overflow: hidden; /* 枠外にはみ出たスライドを隠す */
}

/* Swiperのスライド自体の幅を設定 */
.swiper-slide {
  width: 700px !important; /* PC版の画像幅 */
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 40px;
}

.hero__deco--left {
  position: absolute;
  bottom: -20px;
  left: -35px;
  width: 90px;
  z-index: 10;
}
.hero__deco--right {
  position: absolute;
  top: -30px;
  left: 650px;
  width: 90px;
  z-index: 10;
}
.hero__instagram {
  position: fixed;
  top: 180px;
  right: 10px;
  width: 54px;
  height: 54px;
  background-color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 200;
  transition: transform 0.3s ease;
}
.hero__instagram:hover { transform: scale(1.1); }
.hero__instagram img { width: 28px; }
.slick-slide { outline: none; }

.transition-area {
    position: relative;
    width: 100%;
    margin-top: -5vw;
    z-index: 1;
    line-height: 0;
    background-image: url(../images/bg-square.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.transition-area__animals {
  position: absolute;
  bottom: 50%; 
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 880px;
  min-width: 320px;
  z-index: 2;
}
.transition-area__wave {
  position: relative; 
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}

.intro {
  background-color: var(--clr-bg-yellow);
  padding: 0 0 100px;
  position: relative;
  z-index: 0;
  width: 100%;
  margin-bottom: 90px;
}
.intro__inner {
  position: relative;
  min-height: 500px;
}
.intro__content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
}
.intro__title {
  font-size: calc(var(--text-size-pc) * 1.7);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 800;
}
.intro__text {
  font-size: var(--text-size-pc);
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: left;
  display: inline-block;
}
.intro__btn-wrapper { text-align: center; }
.intro__decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.intro__circle {
  position: absolute;
  margin: 0;
  overflow: hidden;
}
.intro__circle img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 被写体が枠内に収まりきらず、手足が切れてしまうのを防ぐ */
}
.intro__circle--1 { width: 300px; height: 300px; top: 10px; left: -20px; }
.intro__circle--2 { width: 250px; height: 250px; top: 30%; right: -20px; }
.intro__circle--3 { width: 230px; height: 230px; bottom: -160px; left: 10%; }
.intro__circle--4 { width: 150px; aspect-ratio: 672 / 436; bottom: -20px; right: 15%; }

/* イントロ装飾画像：スクロールでふわっと浮かび上がるアニメーション */
.intro__circle.js-fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.85);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.intro__circle.js-fade-in.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.intro__circle--1.js-fade-in { transition-delay: 0s; }
.intro__circle--2.js-fade-in { transition-delay: 0.15s; }
.intro__circle--3.js-fade-in { transition-delay: 0.3s; }
.intro__circle--4.js-fade-in { transition-delay: 0.45s; }

/* TOPページ：各セクションがスクロールでふわっと出てくるアニメーション */
/* JavaScriptが動かない場合に本文が消えたままにならないよう、.js が付いた時だけ隠す */
.js .section-fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .section-fade-in.is-inview {
  opacity: 1;
  transform: translateY(0);
}
/* ヒーローは中に固定表示のInstagramボタンがあるため、フェードのみにする */
/* （親に transform があると position: fixed が画面に固定されなくなるため） */
.js .hero.section-fade-in,
.js .hero.section-fade-in.is-inview {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .section-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro__circle.js-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.contents-section {
  position: relative;
  padding: 170px 0;
  overflow: hidden;
  z-index: 0;
  background-color: #fff;
}
.contents-section__bg-cloud { position: absolute; z-index: -1; pointer-events: none; }
.contents-section__bg-cloud--pink {
  top: 5%; left: -10%; width: 45%; max-width: 600px; min-width: 300px;
  animation: cloud-float 7s ease-in-out infinite;
}
.contents-section__bg-cloud--purple {
  bottom: 0; right: -5%; width: 45%; max-width: 600px; min-width: 300px;
  animation: cloud-float 8s ease-in-out infinite;
  animation-delay: -3s; /* ピンクと動きがズレるようにオフセット */
}
.contents-section__bg-cloud--back {
    bottom: 0;
    right: 8%;
    width: 45%;
    max-width: 310px;
    min-width: 300px;
}

/* 雲の装飾がふわふわと上下に揺れるアニメーション */
@keyframes cloud-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .contents-section__bg-cloud--pink,
  .contents-section__bg-cloud--purple,
  .hero__cloud {
    animation: none;
  }
}
.contents-section__title { text-align: center; margin-bottom: 60px; }
.contents-section__title img { width: 100%; max-width: 450px; height: auto; }
.contents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; }
.contents-card__link {
  display: block;
  position: relative;
  padding-bottom: 30px; 
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.contents-card__link:hover { opacity: 0.9; transform: translateY(-5px); }
.contents-card__image { margin: 0; border-radius: 15px; aspect-ratio: 4 / 3; overflow: hidden; }
.contents-card__image img { width: 100%; height: 100%; object-fit: cover; }
.contents-card__body {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 85%;
  background-color: var(--clr-bg-cream); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px 10px;
}
.contents-card__icon { height: 30px; margin-bottom: 5px; }
.contents-card__heading { margin: 0; font-size: var(--text-size-pc); font-weight: 700; color: var(--clr-text-main); line-height: 1.4; }

.news { padding: 40px 0 80px; }
.news__box { background-color: var(--clr-bg-news); border-radius: 30px; padding: 50px 50px 30px; display: flex; gap: 40px; align-items: flex-start; }
.news__head { width: 25%; text-align: center; }
.news__illust { width: 140px; margin-bottom: 15px; }
.news__title { margin: 0; color: var(--clr-text-main); font-size: calc(var(--text-size-pc) * 1.5); letter-spacing: 2px; }
.news__body { width: 75%; }
.news__list { display: flex; flex-direction: column; gap: 15px; }
.news__item { background-color: var(--clr-white); border-radius: 50px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.news__item:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.news__link { display: flex; align-items: center; padding: 15px 30px; gap: 30px; border-radius: 50px; }
.news__date { font-weight: 700; width: 130px; flex-shrink: 0; }
.news__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.news__more { text-align: right; margin-top: 20px; padding-right: 15px; }
.news__more a { font-weight: 700; font-size: calc(var(--text-size-pc) * 0.875); display: inline-flex; align-items: center; gap: 6px; }
.news__more a::before { content: ""; display: inline-block; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #F18D00; }

.contact-area { background-color: var(--clr-bg-contact); position: relative; margin-top: 150px; padding-bottom: 60px; }
.contact-area__mountain { position: absolute; bottom: 100%; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.contact-area__mountain img { width: 100%; height: auto; vertical-align: bottom; }
.contact-area__inner { position: relative; z-index: 10; padding-top: 40px; }
.contact { text-align: center; margin-bottom: 60px; position: relative; }
.contact__title { font-size: calc(var(--text-size-pc) * 1.8); margin-bottom: 25px; letter-spacing: 2px; }
.contact__text { margin-bottom: 30px; font-weight: 500; }
.contact__tel-box { margin-bottom: 30px; }
.contact__tel { font-size: 32px; font-weight: 700; margin: 0 0 5px; letter-spacing: 1px; }
.contact__time { margin: 0; font-size: calc(var(--text-size-pc) * 0.875); font-weight: 500; }
.contact__btn-wrapper { position: relative; display: inline-block; }
.contact__btn { background-image: url('../images/btn_back.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-color: transparent; color: var(--clr-white); border: none; font-weight: 700; font-size: 18px; }

.map-area { background-color: var(--clr-bg-footer); position: relative; padding: 60px 0 50px; }
.map-area__animals { position: absolute; bottom: 100%; left: 0; width: 100%; pointer-events: none; }
.contact__illust { position: absolute; bottom: 0; width: 140px; }
.contact__illust--left { left: 15%; }
.contact__illust--right { right: 15%; }
.map { width: 100%; aspect-ratio: 21 / 9; margin: 0 auto; }
.map__iframe { width: 100%; height: 100%; border: none; object-fit: cover; }


/* ==========================================================================
   Lower Pages Specific Sections (下層ページ用)
   ========================================================================== */
.page-header {
  background-image: url(../images/page-header.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
  text-align: center;
}
.page-header__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-header__title {
  background-color: var(--clr-white);
  padding: 10px 80px; 
  border-radius: 100px;
  font-size: 34px;
  font-weight: 700;
  color: var(--clr-text-main);
  margin: 0;
  letter-spacing: 4px;
  position: relative;
  z-index: 1; 
}
.page-header__deco {
  position: relative;
  z-index: 2; 
}
.page-header__deco img {
  height: 90px;
  width: auto;
  display: block;
}
.page-header__deco--left {
  margin-right: -30px;
  margin-top: 15px;
}
.page-header__deco--right {
  margin-left: -30px;
  margin-top: 15px;
}

/* 保育理念 */
.philosophy__text {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

/* 保育目標 */
.target__grid {
  margin-top: 60px;
}

.target__grid,
.target__grid > .wp-block-group__inner-container,
.editor-styles-wrapper .target__grid .block-editor-block-list__layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 透明な箱が存在する場合は、親要素のGridを解除する（二重Gridの防止） */
.target__grid:has(> .wp-block-group__inner-container),
.editor-styles-wrapper .target__grid {
  display: block;
}
.target-card {
  text-align: center;
  position: relative;
}
.target-card__img {
  margin: 0 0 20px;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.target-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.target-card__title {
  color: var(--clr-bg-footer);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 2px;
  margin: 0;
}

/* 企業主導型保育所とは？ */
.about-corporate__text {
  max-width: 800px;
  margin: 0 auto;
}

/* 園の特色 (About Features) */
.about-features {
  padding-bottom: 60px;
}
.about-features__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}
.feature-card {
  background-color: #FAF9F2;
  padding: 35px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text-main);
  margin: 0;
  line-height: 1.4;
}
.feature-card__figure {
  margin: 0 0 20px 0;
  border-radius: 8px;
  overflow: hidden;
}
.feature-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.feature-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.feature-card__subtitle {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-accent-pink);
  margin: 0 0 15px 0;
  padding-left: 14px;
  line-height: 1.5;
}
.feature-card__subtitle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  bottom: 2px;
  width: 4px;
  background-color: var(--clr-accent-orange);
  border-radius: 4px;
}
.feature-card__text {
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}
.feature-card__link {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-accent-pink);
  align-self: flex-start;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.feature-card__link:hover {
  opacity: 0.6;
}


/* ギャラリー */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  margin: 0 auto;
}
.gallery__item { margin: 0; }
.gallery__img {
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 15px;
}
.gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__caption {
  font-weight: 700;
  font-size: 15px;
}


/* 1日の様子（スケジュール） */
.schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}
.schedule-card {
  display: flex;
  flex-direction: column;
}
.schedule-card__time-wrapper {
  position: relative;
  margin-bottom: 20px;
}
.schedule-card__time {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 54px;
  height: 54px;
  background-color: var(--clr-accent-pink);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 少し浮き出させるため追加 */
}
.schedule-card__img {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.schedule-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schedule-card__title {
  color: #2F9E58; /* カンプに近い緑色 */
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}
.schedule-card__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}


/* 入園までの流れ (Flow) */
.flow {
  max-width: 800px;
  margin: 0 auto;
}
.flow-list {
    border-top: 1px dashed #bcaa97;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}
.flow-item {
  display: flex;
  align-items: center;
  padding: 35px 0;
  border-bottom: 1px dashed #bcaa97;
  gap: 40px;
}
.flow-item__number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background-color: var(--clr-accent-pink);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 35px;
}
.flow-item__content {
  display: flex;
  flex-direction: column;
}
.flow-item__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text-main);
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}
.flow-item__text {
  font-size: 16px;
  margin: 0;
  line-height: 1.8;
}


/* よくある質問 (FAQ) */
.faq-list {
  border-top: 1px dashed #bcaa97; /* 入園までの流れと同じ破線 */
  max-width: 900px;
  margin: 0 auto;
}
.faq-list + .faq-list {
  border-top: none;         /* 2つ目以降は上の線を消す（前のブロックの下の線と合体させる） */
  margin-top: 0 !important; /* WordPressが自動で入れるブロック間の隙間を消す */
}
.faq-item {
  padding: 40px 0 20px;
  border-bottom: 1px dashed #bcaa97;
}

/* QとAの共通設定 */
.faq-q, .faq-a {
  position: relative;
  padding-left: 75px; /* アイコンの幅＋余白 */
  min-height: 50px;   /* アイコンの高さ分は最低限確保 */
  margin-top: 0;
}
.faq-q::before, .faq-a::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
}

/* 質問 (Q) のデザイン */
.faq-q {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-accent-pink);
  margin-bottom: 20px;
  line-height: 1.5;
}
.faq-q::before {
  content: "Q";
  background-color: var(--clr-accent-pink);
  color: var(--clr-white);
}

/* 回答 (A) のデザイン */
.faq-a {
  font-size: 16px;
  color: var(--clr-text-main);
  margin-bottom: 20px;
  line-height: 1.8;
}
.faq-a::before {
  content: "A";
  background-color: var(--clr-white);
  color: var(--clr-accent-pink);
  border: 1px solid var(--clr-accent-pink);
}



/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--clr-bg-footer);
  color: var(--clr-white);
  padding: 0 0 30px;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__logo { margin: 0 0 25px; }
.footer__logo img { width: 280px; }
.footer__address {
  font-size: calc(var(--text-size-pc) * 0.875);
  line-height: 2;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.footer__contact-btn {
  background-color: var(--clr-white);
  color: var(--clr-text-main);
  font-size: var(--text-size-pc);
  font-weight: 700;
  padding: 16px 80px;
  border-radius: 999px;
  display: inline-block;
	margin-top: 20px;
  margin-bottom: 50px;
  transition: opacity 0.3s ease;
}
.footer__contact-btn:hover { opacity: 0.8; }
.footer__nav { margin-bottom: 40px; }
.footer__nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}
.footer__nav-list:last-child { margin-bottom: 0; }
.footer__nav-list li {
  display: flex;
  align-items: center;
  font-size: calc(var(--text-size-pc) * 0.85);
  font-weight: 500;
}
.footer__nav-list li:not(:last-child)::after {
  content: "／";
  margin-left: 20px;
}
.footer__copyright {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 11px;
  width: calc(100% - 40px);
  max-width: var(--wrapper);
  margin: 0 auto;
}


/* ==========================================================================
   Media Queries (Max 768px for SP - Unified)
   ========================================================================== */
@media screen and (max-width: 768px) {
  
  /* --- Base & Layout --- */
  body {
    font-size: var(--text-size-sp);
  }
  body.is-locked {
    overflow: hidden;
  }
  .wrapper {
    width: calc(100% - 32px);
  }

  /* --- Header --- */
  .header__inner {
    height: 70px;
    padding: 0; 
  }
  .header__logo {
    width: 160px;
    position: static;
    transform: none;
  }
  .header__actions { gap: 10px; }
  .header__contact { display: none; }
  .header__nav { display: none; }
  
  .header__hamburger {
    width: 60px;
    height: 60px;
  }
  .hamburger-line { width: 18px; margin: 1.5px 0; }
  .hamburger-text { font-size: 8px; }

  /* --- Global Nav & Drawer --- */
  .gnav { display: none; }
  .drawer {
    width: 100%; 
    padding: 100px 20px 40px;
  }

  /* --- Top Page --- */
  .hero { padding: 50px 0 180px; }
  .hero__inner { flex-direction: column-reverse; gap: 0; }
  .hero__right { width: 100%; max-width: 100%; min-width: 0; padding: 0 15px; margin-bottom: -35px; z-index: 5; }
	
  .swiper-slide {
    width: calc(100vw - 30px) !important; /* スマホ版の画像幅 */
  }
  .hero__image {
    aspect-ratio: 4 / 4.5;
    border-radius: 25px;
  }
	
	.hero__deco--left, .hero__deco--right { display: none; }
  .hero__left { width: 100%; min-width: auto; z-index: 10; }
  .hero__catch { width: 80%; max-width: 320px; margin: 0 auto; display: block; }
  .hero__cloud { width: 160%; top: 55%; left: -30%; }
  .hero__instagram { position: absolute; top: 15px; right: 15px; width: 50px; height: 50px; }
  .hero__instagram img { width: 26px; }

  .transition-area { margin-top: -8vw; }
  .transition-area__animals { width: 90%; bottom: 8%; }

  .intro { padding: 20px 0 60px; }
  .intro__inner { min-height: auto; }
  .intro__content { text-align: left; padding: 0 5%; }
  .intro__title { font-size: calc(var(--text-size-sp) * 1.4); margin-bottom: 20px; text-align: left; }
  .intro__text { font-size: var(--text-size-sp); margin-bottom: 30px; display: block; }
  .intro__decorations { position: relative; top: auto; left: auto; height: 120vw; max-height: 600px; margin-top: 50px; }
  .intro__circle { height: auto; aspect-ratio: 1; }
  .intro__circle--1 { width: 45%; top: 0; left: 0; }
  .intro__circle--2 { width: 45%; top: 45%; right: 0; }
  .intro__circle--3 { width: 45%; top: 75%; left: 10%; bottom: auto; }
  .intro__circle--4 { width: 30%; top: 15%; right: 5%; bottom: auto; }

  .contents-section { padding: 60px 0 80px; }
  .contents-section__title { margin-bottom: 40px; }
  .contents-section__title img { max-width: 250px; }
  .contents-section__bg-cloud--pink { top: 2%; left: -20%; width: 60%; }
  .contents-section__bg-cloud--purple { bottom: 0; right: -15%; width: 60%; }
  .contents-section__bg-cloud--back {display:none;}
  .contents-grid { grid-template-columns: repeat(1, 1fr); gap: 25px 15px; }
  .contents-card__image {aspect-ratio: 6 / 3;}
  .contents-card__body { width: 90%; padding: 12px 10px; }
  .contents-card__icon { height: 24px; }
  .contents-card__heading { font-size: calc(var(--text-size-sp) * 1.1); }

  .news__box { flex-direction: column; padding: 30px 20px; align-items: center; }
  .news__head, .news__body { width: 100%; }
  .news__link { flex-direction: column; align-items: flex-start; padding: 15px 20px; gap: 8px; border-radius: 20px; }
  .news__item { border-radius: 20px; }
  .news__text { white-space: normal; }

  .contact__tel { font-size: 24px; }
  
  .map-area { padding: 40px 0 30px; }
  .contact__illust { width: 90px; }
  .contact__illust--left { left: 5%; }
  .contact__illust--right { right: 5%; }
  .map { aspect-ratio: 4 / 3; }

  /* --- Lower Pages (下層ページ) --- */
  .page-header { padding: 60px 0 40px; }
  .page-header__title { padding: 10px 30px; font-size: 20px; }
  .page-header__deco img { height: 40px; }
  .page-header__deco--left { margin-right: -15px; margin-top: 10px; }
  .page-header__deco--right { margin-left: -15px; margin-top: 10px; }

  .section-pagebl { padding: 40px 0; }
  .sec-heading__icon { width: 50px; }
  .sec-heading__title { font-size: 20px; }

  .philosophy__text { font-size: 16px; text-align: left; }
.target__grid,
  .target__grid > .wp-block-group__inner-container,
  .editor-styles-wrapper .target__grid .block-editor-block-list__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .target__grid {
    margin-top: 50px;
  }
	
  .about-features { padding: 0 0 60px; }
  .about-features__list { grid-template-columns: 1fr; gap: 30px; }
  .feature-card { padding: 25px 20px; }
  .feature-card__number { width: 36px; height: 36px; font-size: 16px; }
  .feature-card__title { font-size: 18px; }
  .feature-card__subtitle { font-size: 15px; padding-left: 10px; }
  .feature-card__text { font-size: 13px; }

  .gallery__grid { grid-template-columns: 1fr; gap: 30px; }

  /* --- Footer --- */
  .footer__logo img { width: 220px; }
  .footer__contact-btn { padding: 14px 60px; width: 100%; max-width: 320px; }
  .footer__nav-list { flex-direction: column; gap: 15px; }
  .footer__nav-list li { justify-content: center; }
  .footer__nav-list li:not(:last-child)::after { display: none; }


/* 1日の様子（スケジュール） - スマホ版 */
  .schedule__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .schedule-card__time {
    width: 48px;
    height: 48px;
    font-size: 14px;
    top: -10px;
    left: -10px;
  }
  .schedule-card__title {
    font-size: 18px;
  }
	

/* 入園までの流れ - スマホ版 */
  .flow-item {
    padding: 25px 0;
    gap: 20px;
  }
  .flow-item__number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .flow-item__title {
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
  }
  .flow-item__text {
    font-size: 14px;
  }
	
/* よくある質問 - スマホ版 */
  .faq-item {
    padding: 30px 0 10px;
  }
  .faq-q, .faq-a {
    padding-left: 55px;
    min-height: 40px;
  }
  .faq-q::before, .faq-a::before {
    width: 40px;
    height: 40px;
    font-size: 18px;
    top: -2px;
  }
  .faq-q {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .faq-a {
    font-size: 14px;
  }
	
}


/* ==========================================================================
   ドロワー・ヘッダー・×印の最終調整
   ========================================================================== */

/* 1. ヘッダー自体のブロック効果を解除し、白背景を ::before で一番下に敷く */
.header {
  z-index: auto !important; 
  background-color: transparent !important;
}
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--clr-white);
  z-index: 200; /* FVより上、ドロワーの黒背景より下 */
}

/* 2. ロゴや波線を、ドロワーの黒背景（280）より下に潜らせる */
.header__contact,
.header__border {
  position: relative;
  z-index: 250;
}
.header__logo {
  z-index: 250; /* PC版は元々absoluteなので、位置を変えずに重なり順だけ下げる */
}

/* 3. ★ハンバーガーボタンだけを最前面（ドロワーより上）に出す！ */
.header__hamburger {
  position: relative;
  z-index: 300 !important; /* ドロワー（290）より手前に配置 */
}

/* 4. ハンバーガーボタンが「×」になった時のズレを修正（PC版） */
.hamburger-box {
  transition: transform 0.3s ease;
}
.header__hamburger.is-active .hamburger-box {
  transform: translateY(0) !important;
  margin-bottom: 0 !important;
}
.header__hamburger.is-active .hamburger-text {
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.header__hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg) !important; /* PC版は9px */
}
.header__hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg) !important;
}

/* 5. ドロワー内の連絡先エリアのデザイン（背景画像反映） */
.drawer__contact {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px dashed #bcaa97;
  text-align: center;
}
.drawer__btn {
  width: 100%;
  padding: 15px;
  margin-bottom: 25px;
  font-size: 16px;
  background-image: url('../images/btn_back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  color: var(--clr-white);
  border: none;
}
.drawer__tel-box {
  color: var(--clr-text-main);
}
.drawer__tel {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 5px;
  letter-spacing: 1px;
}
.drawer__time {
  font-size: 11px;
  margin: 0;
  font-weight: 500;
}

/* 6. スマホ版（768px以下）の微調整 */
@media screen and (max-width: 768px) {
  /* ★ 右に寄ってしまうロゴの位置を左に戻す */
  .header__logo {
    position: relative; /* 重なり順を効かせるため */
    left: 10px; /* PC版の50%をリセットして左に戻す */
  }
  
  /* スマホ版の×印は線の太さが違うため、交差位置を6pxにする */
  .header__hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .header__hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }
}


/* ==========================================================================
   お問い合わせフォーム (Contact Form 7)
   ========================================================================== */
.contact-form {
  background-color: #FDF9ED; /* カンプに合わせた薄いベージュ背景 */
  padding: 60px 80px;
  border-radius: 12px;
  margin: 0 auto;
}

/* 項目ごとのグループ（横並び） */
.cf-group {
  display: flex;
  margin-bottom: 40px;
}
.cf-label {
  width: 35%;
  flex-shrink: 0;
  font-weight: 700;
  padding-top: 15px;
}
.cf-required {
  color: #C7243A; /* カンプの赤色 */
  font-size: 14px;
  margin-left: 5px;
}

/* 入力エリア */
.cf-input {
  width: 65%;
  margin: 0;
}
.cf-input input[type="text"],
.cf-input input[type="tel"],
.cf-input input[type="email"],
.cf-input textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: var(--clr-white);
  font-family: inherit;
  font-size: 16px;
  color: var(--clr-text-main);
  transition: border-color 0.3s ease;
}
.cf-input input:focus,
.cf-input textarea:focus {
  outline: none;
  border-color: var(--clr-bg-footer); /* フォーカス時に枠線を緑色に */
}
.cf-input textarea {
  height: 200px;
  resize: vertical;
}
.cf-input input::placeholder,
.cf-input textarea::placeholder {
  color: #bbb;
}
.cf-note {
  font-size: 14px;
  margin: 15px 0 10px;
  color: var(--clr-text-main);
}

/* 個人情報の取り扱いについて */
.cf-privacy {
  margin-top: 60px;
  margin-bottom: 40px;
}
.cf-privacy__title {
  font-weight: 700;
  margin-bottom: 20px;
}
.cf-privacy__text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.cf-privacy__text a {
  text-decoration: underline;
}

/* 「同意する」の白い箱と丸いチェックボックス */
.cf-privacy__check {
  background-color: var(--clr-white);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}
.cf-privacy__check .wpcf7-list-item {
  margin: 0;
}
.cf-privacy__check .wpcf7-list-item-label {
  font-weight: 700;
  margin-left: 10px;
  cursor: pointer;
}
/* チェックボックスを丸くするハック */
.cf-privacy__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #999;
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  margin-top: -2px;
}
.cf-privacy__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--clr-text-main);
  border-radius: 50%;
}

/* 送信ボタン */
.cf-submit {
  text-align: center;
  margin-top: 40px;
}
.cf-submit input[type="submit"] {
  background-color: transparent;
  color: var(--clr-text-main);
  border: 1px solid var(--clr-text-main);
  border-radius: 999px;
  padding: 15px 100px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.cf-submit input[type="submit"]:hover {
  background-color: rgba(74, 39, 4, 0.05); /* ホバー時に少し色をつける */
}

/* エラーメッセージ（Contact Form 7 デフォルト）の調整 */
.wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 5px;
  color: #C7243A;
}
.wpcf7-response-output {
  border-radius: 8px !important;
  margin-top: 30px !important;
}

/* お問い合わせフォーム - スマホ版 */
@media screen and (max-width: 768px) {
  .contact-form {
    padding: 40px 20px;
  }
  .cf-group {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .cf-label {
    width: 100%;
    margin-bottom: 10px;
    padding-top: 0;
  }
  .cf-input {
    width: 100%;
  }
  .cf-privacy__text {
    font-size: 14px;
  }
  .cf-privacy__text br {
    display: none; /* スマホでは文章が自然に折り返されるようにbrを消す */
  }
  .cf-submit input[type="submit"] {
    width: 100%;
    padding: 15px;
  }
}


/* ==========================================================================
   お知らせ詳細ページ (single.php)
   ========================================================================== */

.single-post,
.news-archive {
  margin: 0 auto;
}

/* タイトルエリア */
.single-post__header {
  border-bottom: 2px dashed #e0d9cc; /* 点線で本文と区切る */
  padding-bottom: 25px;
  margin-bottom: 40px;
  text-align: center;
}

.single-post__date {
  display: inline-block;
  font-weight: 700;
  color: var(--clr-accent-orange);
  background-color: #FFF9E5; /* 薄いオレンジ背景 */
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.single-post__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--clr-text-main);
  line-height: 1.5;
  margin: 0;
}

/* -------------------------------------------
   WordPressエディタ（本文）用のスタイル
------------------------------------------- */
.single-post__content {
  line-height: 2;
  font-size: 16px;
}

/* 段落と画像の余白 */
.single-post__content p {
  margin-bottom: 1.8em;
}
.single-post__content img {
  border-radius: 12px;
  margin: 20px 0;
  height: auto;
}

/* 本文中の見出し (H2) … 固定ページの「アイコン付き」と同じデザイン */
/* エディタで見出しスタイルを選んだ場合は、そちらを優先 */
.single-post__content h2:not([class*="is-style-"]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 2.5em 0 40px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--clr-text-main);
}
.single-post__content h2:not([class*="is-style-"])::before {
  content: "";
  display: block;
  width: 100px;
  height: 80px;
  margin-bottom: 10px;
  background-image: url("../images/page-h3-ill.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

/* 本文中の小見出し (H3) … 固定ページの「左線付き」と同じデザイン */
.single-post__content h3:not([class*="is-style-"]) {
  position: relative;
  padding-left: 15px;
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text-main);
  margin: 2em 0 20px;
  line-height: 1.5;
}
.single-post__content h3:not([class*="is-style-"])::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  bottom: 2px;
  width: 5px;
  background-color: #0D9651;
  border-radius: 5px;
}

/* -------------------------------------------
   スマホ版 (768px以下) の調整
------------------------------------------- */
@media screen and (max-width: 768px) {

  .single-post__title {
    font-size: 20px;
    text-align: left; /* スマホでは左寄せが見やすい */
  }
  .single-post__header {
    text-align: left;
    margin-bottom: 30px;
  }
  .single-post__content {
    font-size: 14px;
  }
  .single-post__content h2:not([class*="is-style-"]) {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .single-post__content h2:not([class*="is-style-"])::before {
    width: 60px;
    height: 48px;
    margin-bottom: 5px;
  }
  .single-post__content h3:not([class*="is-style-"]) {
    font-size: 18px;
    padding-left: 12px;
    margin-bottom: 15px;
  }
  .single-post__content h3:not([class*="is-style-"])::before {
    width: 4px;
  }
}


/* ==========================================================================
   お知らせ一覧ページ (home.php / archive.php)
   ========================================================================== */


/* 記事がない場合のテキスト */
.news-archive__empty {
  text-align: center;
  font-weight: 700;
  padding: 40px 0;
}

/* -------------------------------------------
   ページネーション
------------------------------------------- */
.pagination {
  margin-top: 60px;
  text-align: center;
}
.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ページ番号の丸いボタン */
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--clr-bg-th); /* 薄いグレー */
  color: var(--clr-text-main);
  font-weight: 700;
  font-family: 'Outfit', sans-serif; /* 英語フォント適用 */
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 現在いるページ */
.pagination .current {
  background-color: var(--clr-accent-orange);
  color: var(--clr-white);
}

/* ホバー時 */
.pagination a.page-numbers:hover {
  background-color: var(--clr-btn-green);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* 前へ・次へボタン */
.pagination .prev, 
.pagination .next {
  width: auto;
  border-radius: 999px;
  padding: 0 20px;
  font-family: var(--font-base); /* 日本語フォントに戻す */
  font-size: 14px;
}

/* -------------------------------------------
   スマホ版 (768px以下) の調整
------------------------------------------- */
@media screen and (max-width: 768px) {
  .news-archive {
    padding: 30px 20px;
    border-radius: 15px;
  }
  .pagination {
    margin-top: 40px;
  }
  .pagination .nav-links {
    gap: 8px;
  }
  .pagination .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .pagination .prev, 
  .pagination .next {
    padding: 0 15px;
  }
}


/* ==========================================================================
   パンくずリスト (Breadcrumb NavXT用) 最終修正版
   ========================================================================== */
.breadcrumb {
  background-color: var(--clr-bg-cream);
  padding: 10px 0;
}

/* リスト全体の設定（ここで区切り文字「>」の色をグレーにします） */
.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #ccc; 
}

/* 各項目のテキストやリンクは元の色（メインの文字色）に戻す */
.breadcrumb__list span {
  color: var(--clr-text-main);
}

.breadcrumb__list a {
  color: var(--clr-text-main);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb__list a:hover {
  opacity: 0.7;
}


/* ==========================================================================
   お知らせ一覧の可愛い個別デザイン
   ========================================================================== */
.news-archive__list {
  display: flex;
  flex-direction: column;
  gap: 20px; 
}

/* 記事1件のカード */
.archive-item {
  background-color: var(--clr-white);
  border: 2px dashed #e0d9cc; /* 可愛い点線の枠 */
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* マウスホバー時：少し浮いて枠がピンクになる */
.archive-item:hover {
  border-color: var(--clr-accent-pink);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(227, 90, 117, 0.15); /* ピンクのうっすら影 */
}

/* リンク全体 */
.archive-link {
  display: flex;
  align-items: center;
  padding: 25px 40px;
  gap: 30px;
}

/* 日付バッジ */
.archive-date {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--clr-accent-orange);
  background-color: #FFF9E5; /* 薄いオレンジの背景 */
  padding: 8px 20px;
  border-radius: 50px;
  flex-shrink: 0;
  letter-spacing: 1px;
}

/* 記事タイトル */
.archive-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
  color: var(--clr-text-main);
  transition: color 0.3s ease;
}

/* 矢印アイコンをタイトルの右にちょこんと添える */
.archive-title::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--clr-accent-orange);
  margin-left: 15px;
  vertical-align: middle;
}

.archive-item:hover .archive-title {
  color: var(--clr-accent-pink);
}

/* --- スマホ版の調整 --- */
@media screen and (max-width: 768px) {
  .archive-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  .archive-date {
    font-size: 14px;
    padding: 5px 15px;
  }
  .archive-title {
    font-size: 15px;
  }
}


/* ==========================================================================
   ローディング画面
   ========================================================================== */
.loading { display: none; }
.js .loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--clr-bg-cream);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* JSが動かなかった場合も、6秒後には必ず消える */
  animation: loading-autohide 0s 6s forwards;
}
.js.is-loaded .loading { display: none; } /* 2ページ目以降は表示しない */
.js .loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loading__balloon {
  width: 90px;
  transform-origin: bottom center;
  animation: loading-float 2.4s ease-in-out infinite;
}
.loading__logo {
  width: 240px;
  max-width: 70vw;
}
.loading__dots {
  display: flex;
  gap: 12px;
}
.loading__dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--clr-btn-pink);
  animation: loading-bounce 1.2s ease-in-out infinite;
}
.loading__dots span:nth-child(2) {
  background-color: var(--clr-accent-orange);
  animation-delay: 0.15s;
}
.loading__dots span:nth-child(3) {
  background-color: var(--clr-btn-green);
  animation-delay: 0.3s;
}
@keyframes loading-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
@keyframes loading-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-14px); }
}
@keyframes loading-autohide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .loading__balloon,
  .loading__dots span { animation: none; }
}
@media screen and (max-width: 768px) {
  .loading__balloon { width: 72px; }
  .loading__logo { width: 200px; }
}
