:root {
  /* 基本設定 */
  --std-width: 1024px;
  --std-clr: #333;
  --std-fz: 16px;
  --std-lh: 1.7;
  --std-ls: 0;

  /* 色 */
  --clr-base: #9b1d22; /* 基本色 */
  --clr-err: #bb2649; /* 注意喚起 */
  /* メインカラー */
  --clr-main-01: #;
  --clr-main-02: #;
  --clr-main-03: #;

  /* 多用カラー */
  --clr-white: #fff;
  --clr-light-gray: #a7a7a7;
  --clr-gray: #717273;

  /* サブカラー */
  --clr-sub-01: #ea97ad;
  --clr-sub-02: #cf8f88;
  --clr-sub-03: #d0635c;
  --clr-sub-04: #df736b;
  --clr-sub-05: #9c1c21;
  --clr-sub-06: #ce92a0;
  --clr-sub-07: #ede7d7;
  --clr-sub-08: #fcccd1;
  --clr-sub-09: #eed6d6;
  /* デコレーション線 */
  --clr-dec-line-01: #b9dbfd;
  --clr-dec-line-02: #f1dda1;
  --clr-dec-line-03: #f4c4c9;
  /* アクセントカラー */
  --clr-acc-01: #fecd04;
  --clr-acc-02: #fff9ea;
  --clr-acc-03: #ffcc89;

  /* フォントサイズ */
  --fz-h1: ; /* 360-1920 */
  --fz-h2: 41px;
  --fz-h3: ; /* 360-1920 */
  --fz-h4: ; /* 360-1920 */
  --fz-h5: ; /* 360-1920 */
  --fz-h6: var(--fz-M);
  --fz-L: ; /* 360-1920 */
  --fz-M: ; /* 360-1920 */
  --fz-R: ; /* 360-1920 */
  --fz-S: 12px;

  /* 調整用 */
  --adj-100: 100px;
  --adj-90: 90px;
  --adj-80: 80px;
  --adj-70: 70px;
  --adj-60: 60px;
  --adj-50: 50px;
  --adj-40: 40px;
  --adj-30: 30px;
  --adj-20: 20px;
  --adj-10: 10px;

  --TH-height: ;
  --sec-padding: ;
  --inner-width-16: clamp(1000px, -1.5rem + 99.6vw, 1576px);
  --inner-width-10: min(96%, 1000px);
  --inner-gap: 12px;
}

/* 基本設定 */
@font-face {
  font-family: "Boku2";
  src: url("../boku2r//Boku2-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Boku2", "Hiragino Sans", "Yu Gothic", sans-serif;
}

body {
  color: var(--std-clr);
  line-height: var(--std-lh);
}

/* ページ内リンクのずれを解消する */
section::before {
  content: "";
  display: block;
  padding-top: 180px;
  margin-top: -180px;
}

#policy::before {
  padding-top: 400px;
  margin-top: -300px;
}

#principal-greeting::before {
  padding-top: 400px;
  margin-top: -250px;
}

/* ヘッダー */
.top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px 0px 50px;
  background-color: white;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo {
  width: 120px;
  height: auto;
  flex-shrink: 0; /* ロゴのサイズを固定 */
}

.school-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.school-name h2 {
  color: #888;
  font-weight: normal;
  font-size: 28.7px;
  margin-bottom: -5px;
  line-height: 1.2;
}

.school-name h1 {
  color: #9b2226;
  font-size: 39.4px;
  font-weight: bold;
  line-height: 1.2;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  background-color: var(--clr-base);
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.btn::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid var(--clr-white);
  border-radius: 27px;
}

.navigation {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  padding: 15px 0;
  max-width: 1920px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* 左端の縦線 */
.navigation::before {
  content: "";
  position: relative;
  top: 20px;
  left: 3%;
  transform: translateY(-50%);
  height: 37px;
  width: 3px;
  background-color: #ffc107;
}

.navigation::after {
  content: "";
  position: relative;
  right: 3%;
  top: 20px;
  transform: translateY(-50%);
  height: 37px;
  width: 3px;
  background-color: #ffc107;
}

.nav-item {
  position: relative;
  padding: 0 10px;
  color: #888;
  text-decoration: none;
  font-size: 24px;
}

/* nav-itemの間の縦線 */
.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 3px;
  background-color: #ffc107;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #9b2226;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* ハンバーガーメニューがアクティブ時のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 装飾ライン */
.decoration-line {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.garland {
  display: flex;
  justify-content: center;
  height: 120px;
  img {
    width: 50vw;
    height: 8.3vw;
    object-fit: cover;
  }
}

.decoration-dot {
  width: 15px;
  height: 15px;
  border-radius: 0% 100% 50% 50%/ 0% 50% 50% 100%;
  transform: rotate(45deg);
  margin: 0 5px;
}

.dot-blue {
  background-color: var(--clr-dec-line-01);
}

.dot-yellow {
  background-color: var(--clr-dec-line-02);
}

.dot-pink {
  background-color: var(--clr-dec-line-03);
}

/* メインビジュアル */
/* スライダーver2 - 左右に前後のスライドが見えるバージョン（コメントアウト） */
/*
.main-visual {
  height: 1200px;
  max-width: 100vw;
  overflow: hidden;
  margin-top: 80px;
  padding-top: 80px;
}
.main-swiper, .swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}
.swiper-slide {
  position: relative;
}
.illustration-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
}
.main-visual-text {
  color: #fff;
  font-size: 2.8rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-align: right;
  line-height: 1.3;
  pointer-events: none;
  max-width: 48vw;
  padding-right: 6vw;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (min-width: 1024px) {
  .swiper-slide-active .main-visual-text {
    opacity: 1;
  }
  
  .swiper-slide:not(.swiper-slide-active) .main-visual-text {
    opacity: 0 !important;
  }
}

@media (max-width: 1023px) {
  .main-visual-text {
    opacity: 1 !important;
  }
}
*/

/* スライダーver1 - シンプルなフェードスライダー */
.main-visual {
  height: 1200px;
  max-width: 100vw;
  overflow: hidden;
  margin-top: 80px;
  padding-top: 80px;
}

.main-swiper,
.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  height: 100%;
  position: relative;
}

.illustration-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
}

.main-visual-text {
  color: #fff;
  font-size: 2.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-align: right;
  line-height: 1.3;
  pointer-events: none;
  max-width: 48vw;
  padding-right: 6vw;
  opacity: 1;
}
/*ここまでスライダーver1*/

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* スライダーver2 - ナビゲーションボタン（コメントアウト） */
/*
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  opacity: 0.8;
  transition: all 0.3s ease;
  color: #333;
  z-index: 10;
}

.main-swiper .swiper-button-next:hover,
.main-swiper .swiper-button-prev:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.main-swiper .swiper-button-next::after,
.main-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}
*/

/* スライダーver1 - ナビゲーションボタンは非表示 */
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  display: none;
}
/*ここまでスライダーver1*/

/* スライダーのページネーション */
.main-swiper .swiper-pagination {
  bottom: 20px;
}

.main-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 12px;
  height: 12px;
  margin: 0 5px;
  transition: all 0.3s ease;
  opacity: 1;
}

.main-swiper .swiper-pagination-bullet-active {
  background: #ffc107;
  border-color: #ffc107;
  transform: scale(1.2);
}

/* スライダーver2 - レスポンシブ対応（コメントアウト） */
/*
@media (max-width: 768px) {
  .main-visual {
    height: 1000px;
  }
  .main-visual-text {
    max-width: 70vw;
    padding-right: 4vw;
    font-size: 2rem;
  }
  .illustration-overlay {
    align-items: center;
    justify-content: flex-end;
  }
  
  .main-swiper .swiper-button-next,
  .main-swiper .swiper-button-prev {
    display: none;
  }
  
  .swiper-slide {
    border-radius: 0;
  }
}
*/

/* スライダーver1 - レスポンシブ対応 */
@media (max-width: 768px) {
  .main-visual {
    height: 1000px;
  }
  .main-visual-text {
    max-width: 70vw;
    padding-right: 4vw;
    font-size: 2rem;
  }
  .illustration-overlay {
    align-items: center;
    justify-content: flex-end;
  }
}
/*ここまでスライダーver1*/
/* スライダーver2 - 480px以下レスポンシブ対応（コメントアウト） */
/*
@media (max-width: 480px) {
  .main-visual {
    height: 550px;
    margin-top: 20px;
  }
  .main-visual-text {
    max-width: 90vw;
    padding-right: 2vw;
    font-size: 1.6rem;
  }
  .illustration-overlay {
    align-items: center;
    justify-content: flex-end;
  }
  
  .swiper-slide {
    border-radius: 0;
  }
  
  .main-swiper .swiper-button-next,
  .main-swiper .swiper-button-prev {
    display: none;
  }
}
*/

/* スライダーver1 - 480px以下レスポンシブ対応 */
@media (max-width: 480px) {
  .main-visual {
    height: 550px;
    margin-top: 20px;
  }
  .main-visual-text {
    max-width: 90vw;
    padding-right: 2vw;
    font-size: 1.6rem;
  }
  .illustration-overlay {
    align-items: center;
    justify-content: flex-end;
  }
}
/*ここまでスライダーver1*/

/* お知らせ＆イベント */
#news-events {
  display: flex;
  padding: 30px 5%;
  margin-top: 100px;
  position: relative;
}

.news,
.events {
  flex: 1;
  padding: 0 20px;
}

.divider {
  width: 8px;
  border-width: 0;
  align-self: stretch;
  background-repeat: repeat-y; /* repeat-x から repeat-y に変更 */
  background-size: 0.3em 0.7em, 0.3em 1.7em, 0.3em 3.5em, 0.3em 3.7em; /* 幅と高さを入れ替え */
  background-position: center bottom; /* 位置調整 */
  background-image: radial-gradient(
      0.2em 0.3em at center center,
      var(--clr-sub-06),
      rgba(246, 89, 115, 0)
    ),
    radial-gradient(
      0.2em 0.5em at center center,
      var(--clr-sub-06),
      rgba(246, 89, 115, 0)
    ),
    radial-gradient(
      0.2em 0.8em at center center,
      var(--clr-sub-06),
      rgba(246, 89, 115, 0)
    ),
    radial-gradient(
      0.2em 7.2em at center center,
      var(--clr-sub-06),
      rgba(246, 89, 115, 0)
    );
}

.section-title {
  font-size: var(--fz-h2);
  color: var(--clr-base);
  margin-bottom: 20px;
  text-align: center;
}

.news-container,
.events-container {
  background-color: var(--clr-acc-02);
  border-radius: 10px;
  padding: 20px;
}

.news-item,
.news-event-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.news-item:last-child,
.news-event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.date {
  color: var(--clr-acc-03);
  font-weight: bold;
  margin-bottom: 5px;
}

.title {
  color: #333;
  font-weight: bold;
}

.news-link,
.event-link {
  text-decoration: none;
}

.news-link:hover,
.event-link:hover {
  opacity: 0.5;
}

.more-btn {
  text-align: center;
  margin-top: 20px;
}

.more-btn a {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--clr-base);
  color: var(--clr-white);
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  position: relative;
}

.more-btn a::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid var(--clr-white);
  border-radius: 18px;
}

/* 教育方針 */
#policy {
  position: relative;
  padding: 50px 5%;
  overflow: hidden;
}

.polka-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clr-white);
  z-index: -1;
}

.policy-content {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  align-items: center;
}

.policy-left,
.policy-right {
  flex: 1;
  padding: 30px;
}

.policy-left h2 {
  color: var(--clr-gray);
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.policy-subtitle {
  color: var(--clr-sub-05);
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.policy-image img {
  width: 100%;
  height: auto;
  background-color: #f1f1f1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 幌東にしかない魅力 */
#unique-charm {
  padding: 50px 5%;
  position: relative;
}

/* #unique-charm::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background-image: url("../img/parts/background-cherry-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: -1;
  clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
} */

#unique-charm::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background-image: url("../img/parts/background-cherry-left.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: -1;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}

.animal {
  width: 30vw;
  height: 11.25vw;
  position: absolute;
}

#unique-charm .animal {
  top: 0;
  right: 0;
}

.animal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#unique-charm .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

#unique-charm .center-content {
  text-align: center;
  margin: 1rem 0 3rem;
  line-height: 1.8;
}

#unique-charm .inclusive-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #555;
  text-align: center;
}

#unique-charm .curved-text {
  display: inline-block;
  white-space: nowrap;
}

#unique-charm .letter {
  font-size: 1rem;
  display: inline-block;
  letter-spacing: -3em; /* フォント変更で広がってしまった字幅を詰める */
}

/* 滑らかな曲線を描くように各文字の位置と角度を調整 */
#unique-charm .letter:nth-child(1) {
  transform: translateY(12px) rotate(-8deg);
} /* 愛 */
#unique-charm .letter:nth-child(2) {
  transform: translateY(6px) rotate(-6deg);
} /* す */
#unique-charm .letter:nth-child(3) {
  transform: translateY(2px) rotate(-4deg);
} /* る */
#unique-charm .letter:nth-child(4) {
  transform: translateY(0px) rotate(-2deg);
} /* 心 */
#unique-charm .letter:nth-child(5) {
  transform: translateY(0px);
} /* を */
#unique-charm .letter:nth-child(6) {
  transform: translateY(2px) rotate(2deg);
} /* 育 */
#unique-charm .letter:nth-child(7) {
  transform: translateY(6px) rotate(4deg);
} /* て */
#unique-charm .letter:nth-child(8) {
  transform: translateY(12px) rotate(6deg);
} /* る */

#unique-charm .rainbow-bar {
  height: 20px;
  margin: 1.5rem auto;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

#unique-charm .rainbow-bar img {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

#unique-charm .unique-charm-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#unique-charm .unique-charm-content {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

#unique-charm .unique-charm-content img {
  width: 80%;
  height: auto;
  object-fit: cover;
}

.unique-charm-circle {
  border-radius: 76% 24% 39% 61% / 47% 52% 48% 53%;
}

#unique-charm .family-env {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
}

#unique-charm .cooperation {
  grid-column: 3;
  grid-row: 1;
  justify-content: center;
}

#unique-charm .growth-individuality {
  grid-column: 1;
  grid-row: 2;
}

#unique-charm .life-skills {
  grid-column: 2;
  grid-row: 3;
  justify-content: center;
}

#unique-charm .multicultural {
  grid-column: 3;
  grid-row: 3;
  justify-content: flex-start;
}

#unique-charm .photo-placeholder,
#unique-charm .photo-placeholder-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  border-radius: 15px;
}

#unique-charm .photo-placeholder {
  grid-column: 3;
  grid-row: 2;
  justify-content: flex-end;
}

#unique-charm .photo-placeholder-bottom {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-end;
}

#unique-charm .center-content {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
}

#unique-charm .main-text {
  grid-column: 2;
  grid-row: 2;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 1200px) {
  #unique-charm .container {
    width: 100%;
    padding: 1.5rem;
  }

  #unique-charm .unique-charm-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  #unique-charm .unique-charm-content {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  #news-events {
    flex-direction: column;
  }

  .news,
  .events {
    width: 100%;
    margin-bottom: 30px;
  }

  .divider {
    display: none;
  }

  .policy-content {
    flex-direction: column-reverse;
  }

  .policy-left,
  .policy-right {
    width: 100%;
  }

  .number-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .subtitle-text {
    font-size: 1.3rem;
  }

  .principal-greeting-content {
    flex-direction: column;
  }

  .principal-greeting-wrapper {
    padding: 20px;
    flex-direction: column;
  }

  .principal-photo {
    margin: 0 auto 15px;
  }

  .principal-name {
    text-align: center;
    margin: 0 0 15px;
  }

  .principal-info {
    align-items: center;
  }

  .staff-photo-ellipse,
  .staff-photo-rectangle {
    width: 60%;
    height: 200px;
  }

  .staff-photo-ellipse {
    margin-right: 5%;
  }

  .staff-photo-rectangle {
    margin-left: 5%;
  }

  .message-top {
    top: 20%;
    left: 10%;
  }

  .message-bottom {
    bottom: 20%;
    right: 10%;
  }

  .staff-message span {
    font-size: 1.2rem;
  }

  .en-annual-events {
    margin: var(--adj-80) var(--adj-20);
  }

  .en-annual-events::before {
    opacity: 0.3;
  }

  .en-annual-events::after {
    opacity: 0.3;
  }

  .en-events-container {
    padding: var(--adj-10) var(--adj-20);
  }

  .en-events {
    display: block;
  }

  .en-events-photos {
    width: 100%;
    height: 420px;
    gap: var(--adj-10);
  }

  .en-events-photos img {
    width: calc(40% - var(--adj-10));
    height: auto;
  }
  .en-events-photos img:nth-of-type(1) {
    width: calc(55% - var(--adj-10));
    height: 100px;
  }
  .en-events-photos img:nth-of-type(2) {
    width: calc(55% - var(--adj-10));
    height: 300px;
  }

  .en-events-name {
    width: 100%;
  }

  .en-events-reverse {
    display: block;
  }

  .en-events-photos-reverse {
    width: 100%;
    height: 420px;
    gap: var(--adj-10);
  }

  .en-events-photos-reverse img {
    width: calc(40% - var(--adj-10));
    height: auto;
  }
  .en-events-photos-reverse img:nth-of-type(1) {
    width: calc(55% - var(--adj-10));
    height: 90px;
  }
  .en-events-photos-reverse img:nth-of-type(2) {
    width: calc(55% - var(--adj-10));
    height: 300px;
  }

  .en-events-name-reverse {
    justify-content: flex-start;
    width: 100%;
  }

  .form-container {
    margin: 10px;
    padding: 20px;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
  }

  .input-container.required::after,
  .textarea-container.required::after {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .postal-code-section {
    flex-direction: column;
    align-items: stretch;
  }

  .postal-code {
    width: 100%;
  }

  .search-btn {
    width: 100%;
  }

  .principal-greeting-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .daily-life-container {
    flex-direction: column;
  }

  .schedule-section,
  .photos-section {
    flex: 0 0 100%;
  }

  .schedule-section img {
    margin-left: 0;
  }

  .photos-grid {
    gap: 10px;
  }

  .daily-life-cover {
    height: 300px;
  }

  .daily-life-cover .section-title {
    bottom: 10%;
    left: 3%;
    font-size: 1.5rem;
  }

  .daily-life-cover .decoration-line {
    bottom: 4%;
    left: 3%;
  }
}

@media (max-width: 480px) {
  #unique-charm .unique-charm-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  #unique-charm .unique-charm-content {
    max-width: 180px;
    margin: 0 auto;
  }

  #unique-charm .center-content {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    padding: 0 1rem;
  }

  #unique-charm .inclusive-title {
    font-size: 1.5rem;
  }

  #unique-charm .rainbow-bar {
    margin: 1rem auto;
    max-width: 300px;
  }

  #unique-charm .main-text {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    padding: 0 1rem;
  }

  #unique-charm .main-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  #unique-charm .family-env,
  #unique-charm .cooperation,
  #unique-charm .growth-individuality,
  #unique-charm .life-skills,
  #unique-charm .multicultural,
  #unique-charm .photo-placeholder,
  #unique-charm .photo-placeholder-bottom {
    grid-column: 1;
    margin: 0 auto;
  }

  #unique-charm .family-env {
    grid-row: 3;
  }
  #unique-charm .cooperation {
    grid-row: 4;
  }
  #unique-charm .growth-individuality {
    grid-row: 5;
  }
  #unique-charm .life-skills {
    grid-row: 6;
  }
  #unique-charm .multicultural {
    grid-row: 7;
  }
  #unique-charm .photo-placeholder {
    grid-row: 8;
  }
  #unique-charm .photo-placeholder-bottom {
    grid-row: 9;
  }
}

/* 特色 */
/* A: 主題 */
.feature-title {
  text-align: center;
  margin-bottom: 30px;
}

/* 特色コンテンツ全体を包むコンテナ */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 副題アイテム */
.subtitle-item {
  display: flex;
  align-items: center;
}

.subtitle-item.reverse {
  justify-content: flex-end;
}

.subtitle {
  display: flex;
  align-items: center;
  gap: 20px;
}

.subtitle.reverse {
  flex-direction: row-reverse;
}

.number-icon {
  width: 80px;
  height: 80px;
}

.number-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subtitle-text {
  color: var(--clr-base);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}

/* 特色コンテンツアイテム */
.feature-content-item {
  width: 100%;
}

/* 左側コンテンツ */
.feature-content-left {
  padding: 30px;
  border-radius: 15px;
  position: relative;
  background: radial-gradient(circle, var(--clr-sub-08) 8px, transparent 8px),
    radial-gradient(circle, var(--clr-sub-08) 8px, transparent 8px);
  background-position: 0 0, 30px 45px;
  background-size: 60px 90px;
  background-color: var(--clr-white);
}

.content-box {
  background: var(--clr-white);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.content-box h3 {
  color: var(--clr-base);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.content-list {
  list-style: none;
  margin-bottom: 20px;
}

.content-list-item {
  font-size: 2.5rem;
}

.content-list li {
  margin-bottom: 8px;
  color: #333;
}

.content-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右側コンテンツ */
.feature-content-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  background-color: var(--clr-white);
  padding: 20px;
  border-radius: 15px;
}

/* 活動カード共通スタイル */
.activity-card {
  position: relative;
  background: var(--clr-white);
  border-radius: 15px;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
  height: 400px;
}

.activity-frame {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  transform: rotate(-1deg);
}

.activity-frame.type1 {
  background-color: var(--clr-sub-07);
}

.activity-frame.type2 {
  background-color: var(--clr-sub-08);
}

.activity-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  height: 100%;
  width: 100%;
}

/* タイトル - 左上 */
.activity-title {
  position: absolute;
  top: 20px;
  left: 40px;
  color: var(--clr-gray);
  font-size: 3rem;
  font-weight: bold;
  z-index: 3;
}

/* type2のタイトル - 右上 */
.activity-content.type2 .activity-title {
  top: 20px;
  right: 40px;
  left: auto;
  text-align: right;
}

/* 写真1 - 右上 */
.activity-photo1 {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 45%;
  height: auto;
  overflow: hidden;
  z-index: 2;
}

/* type2の写真1 - 左上 */
.activity-content.type2 .activity-photo1 {
  top: 20px;
  left: 30px;
  right: auto;
}

/* 写真2 - 左下 */
.activity-photo2 {
  position: absolute;
  bottom: 20px;
  left: 30px;
  width: 45%;
  height: auto;
  overflow: hidden;
  z-index: 2;
}

/* type2の写真2 - 右下 */
.activity-content.type2 .activity-photo2 {
  bottom: 20px;
  right: 30px;
  left: auto;
}

/* 説明文 - 右下 */
.activity-description {
  position: absolute;
  bottom: 40px;
  right: 40px;
  color: #555;
  font-size: 1.2rem;
  text-align: right;
  z-index: 3;
}

/* type2の説明文 - 左下 */
.activity-content.type2 .activity-description {
  bottom: 40px;
  left: 40px;
  right: auto;
  text-align: left;
}

.activity-description p {
  margin: 0;
  line-height: 1.4;
}

.activity-photo1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-photo2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-farm-photo1 {
  width: 45%;
  height: 45%;
  object-fit: cover;
}

/* PC表示時のレイアウト */
@media (min-width: 769px) {
  .features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  /* 副題1つ目 */
  .subtitle-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  /* 副題1つ目コンテンツ */
  .feature-content-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  /* 副題2つ目 */
  .subtitle-item:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  /* 副題2つ目コンテンツ */
  .feature-content-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  /* 農園体験 */
  .feature-content-item:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
  }

  /* 音楽あそび */
  .feature-content-item:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }

  .principal-greeting-left {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .principal-greeting-right {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .features-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .subtitle-item {
    order: 1;
  }

  .subtitle-item:nth-child(1) {
    order: 1;
  }

  .feature-content-item:nth-child(2) {
    order: 2;
  }

  .subtitle-item:nth-child(3) {
    order: 3;
  }

  .feature-content-item:nth-child(4) {
    order: 4;
  }

  .feature-content-item:nth-child(5) {
    order: 5;
  }

  .feature-content-item:nth-child(6) {
    order: 6;
  }

  .activity-card {
    height: 350px;
  }

  .activity-frame {
    top: 65%px;
    left: 65px;
    right: 65px;
    bottom: 65px;
  }

  .activity-title {
    top: 30px;
    left: 30px;
    font-size: 1.8rem;
  }

  .activity-photo1 {
    top: 25px;
    right: 25px;
    width: 45%;
    height: auto;
  }

  .activity-photo2 {
    bottom: 25px;
    left: 25px;
    width: 45%;
    height: auto;
  }

  .activity-description {
    bottom: 30px;
    right: 30px;
    font-size: 1rem;
  }

  .number-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .subtitle-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .activity-card {
    height: 300px;
  }

  .activity-title {
    top: 35px;
    left: 35px;
    font-size: 1.4rem;
  }

  .activity-photo1 {
    top: 15px;
    right: 15px;
    width: 45%;
    height: auto;
  }

  .activity-photo2 {
    bottom: 15px;
    left: 15px;
    width: 45%;
    height: auto;
  }

  .activity-description {
    bottom: 55px;
    right: 10px;
    font-size: 1rem;
  }
}

/* 園長挨拶・スタッフ紹介 */
#principal-greeting {
  padding: 50px 5%;
  text-align: center;
}

.principal-greeting-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

/* 園長挨拶 */
.principal-greeting-left {
  flex: 1;
  position: relative;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.principal-greeting-background {
  position: absolute;

  width: 110%;
  height: 110%;
  background-image: url("../img/parts/principal-background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  transform: scale(-1, 1);
}

.principal-greeting-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 40px;
  height: 100%;
}

.principal-photo {
  flex: 0 0 200px;
  margin-right: 30px;
  position: relative;
  width: 250px;
  height: 250px;
  margin-bottom: 15px;
}

.principal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 8px var(--clr-sub-06);
  position: relative;
  z-index: 2;
}

.photo-shadow.principal {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  right: -16px;
  background-color: var(--clr-sub-06);
  border-radius: 50%;
  z-index: 1;
}

.principal-sun {
  position: absolute !important;
  top: 0px !important;
  left: 0px !important;
  width: 80px !important;
  height: 80px !important;
  z-index: 3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

.principal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.principal-name {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 50px;
  color: var(--clr-base);
}

.principal-name ruby {
  font-size: 1.5rem;
}

.principal-name rt {
  font-size: 0.7rem;
  color: #666;
}

.principal-message {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: left;
  height: 100%;
}

.principal-message p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--clr-gray);
}

/* スタッフ紹介 */
.principal-greeting-right {
  flex: 1;
  position: relative;
}

.staff-introduction {
  position: relative;
  height: 400px;
}

.staff-photos {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.staff-photo-ellipse,
.staff-photo-rectangle {
  position: relative;
  width: 60%;
  height: 60%;
  margin: 10px 0;
}

.staff-photo-ellipse {
  align-self: flex-end;
}

.staff-photo-rectangle {
  align-self: flex-start;
}

.staff-photo-ellipse img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  z-index: 2;
}

.staff-photo-rectangle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.photo-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.photo-shadow.ellipse {
  top: 16px;
  right: -16px;
  background-color: #fef5e0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.photo-shadow.rectangle {
  top: 16px;
  right: -16px;
  background-color: #ffdae9;
  border-radius: 20px;
}

.staff-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.staff-message span {
  position: absolute;
  font-size: 1.5rem;
  color: var(--clr-base);
}

.message-top {
  top: 15%;
  left: 10%;
  transform: rotate(-20deg);
}

.message-bottom {
  bottom: 15%;
  right: 5%;
  transform: rotate(-20deg);
}

/* 園での生活 */
#daily-life {
  position: relative;
  padding-top: 120px; /* ページ内リンクのずれを解消する */
  margin-top: -120px; /* ページ内リンクのずれを解消する */
}

/* #daily-life::before {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  width: 50%;
  height: 50%;
  background-image: url("../img/parts/background-cherry-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: -1;
  clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
}

#daily-life::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background-image: url("../img/parts/background-cherry-left.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: 0;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
} */

.daily-life-cover {
  margin-top: 100px;
  height: 600px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.daily-life-cover::before {
  content: "園での生活";
  position: absolute;
  top: 25%;
  right: 50px;
  color: var(--clr-white);
  font-size: 4rem;
  font-weight: bold;
  z-index: 4;
}

.daily-life-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
}

.daily-life-cover .daily-life-cover-img {
  position: absolute;
  bottom: 10%;
  left: 18%;
  z-index: 3;
  margin: 0;
  text-align: center;
}

.daily-life-cover-left {
  width: 40%;
  height: 600px;
}

.daily-life-cover-left .section-title-daily-life {
  position: absolute;
  bottom: 20%;
  left: 18%;
  font-size: var(--fz-h2);
  color: var(--clr-base);
  text-align: center;
}

.daily-life-cover-left .garland-1 {
  position: absolute;
  bottom: 0%;
  left: 7%;
}

.daily-life-cover-left .garland-1 img {
  width: 30vw;
  height: 11.25vw;
  object-fit: cover;
  object-position: 30%;
}

.daily-life-container {
  display: flex;
  gap: 40px;
  padding: 40px 5%;
  position: relative;
  z-index: 1;
}

.daily-life-cover-rp {
  display: none;
}

.deco-line {
  width: 100%;
  display: flex;
  justify-content: end;
}

.animal-grass {
  width: 50vw;
  height: 18.75vw;
  display: flex;
}
/* スケジュール部分 */
.schedule-section {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-section img {
  width: 50%;
  height: auto;
  object-fit: contain;
  margin-left: -20%;
}

/* 写真部分 */
.photos-section {
  flex: 0 0 50%;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item:nth-child(3) img {
  object-position: 0% 80%;
}

.en-annual-events {
  margin: var(--adj-80) var(--adj-80);
  position: relative;
  z-index: 0;
}

.en-annual-animal {
  bottom: -5%;
  left: 0;
}

.animal-chick {
  top: 25%;
  right: 0;
}

.en-annual-events::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 400px 400px 0;
  border-color: transparent transparent rgba(185, 219, 253, 0.3) transparent;
  background-image: radial-gradient(
      circle,
      var(--clr-dec-line-03) 10px,
      transparent 10px
    ),
    radial-gradient(circle, var(--clr-dec-line-03) 10px, transparent 10px);
  background-position: 0 0, 30px 60px;
  background-size: 60px 120px;
  z-index: -1;
  clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
}

/* .en-annual-events::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 400px 0 0 400px;
  border-color: transparent transparent transparent transparent;
  background-image: radial-gradient(
      circle,
      var(--clr-dec-line-03) 10px,
      transparent 10px
    ),
    radial-gradient(circle, var(--clr-dec-line-03) 10px, transparent 10px);
  background-position: 0 0, 30px 60px;
  background-size: 60px 120px;
  z-index: -1;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
} */

.en-annual-events h2 {
  color: var(--clr-base);
  margin-bottom: var(--adj-20);
  text-align: center;
}

.en-events-container {
  display: block;
  margin: var(--adj-40) auto;
  padding: var(--adj-20) var(--adj-30);
}

.en-events {
  display: flex;
  justify-content: space-between;
  gap: var(--adj-10);
  width: 100%;
  max-width: 1200px;
  margin: var(--adj-30) auto;
}

.en-events-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0;
  width: 50%;
  aspect-ratio: 5/3;
}

.en-events-photos img {
  width: calc(35% - var(--adj-10));
  aspect-ratio: 4/3;
  object-fit: cover;
}
.en-events-photos img:nth-of-type(1) {
  width: calc(45% - var(--adj-10));
  aspect-ratio: 10/4;
  margin: 0 auto;
}
.en-events-photos img:nth-of-type(2) {
  width: calc(45% - var(--adj-10));
  aspect-ratio: 4/3;
}

.en-events-photos-img1 {
  border-radius: 12% 88% 7% 93% / 92% 13% 87% 8%;
}

.en-events-photos-img2 {
  border-radius: 89% 11% 85% 15% / 21% 78% 22% 79%;
}

.en-events-photos-img3 {
  border-radius: 88% 12% 88% 12% / 13% 88% 12% 87%;
}

.en-events-name {
  display: flex;
  width: 50%;
  height: auto;
  padding: var(--adj-40);
}

.en-events-name ul li {
  font-size: 32px;
}

.en-events-reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: var(--adj-10);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.en-events-photos-reverse {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  gap: 0;
  width: 50%;
  aspect-ratio: 5/3;
}

.en-events-photos-reverse img {
  width: calc(35% - var(--adj-10));
  aspect-ratio: 4/3;
  object-fit: cover;
}
.en-events-photos-reverse img:nth-of-type(1) {
  width: calc(45% - var(--adj-10));
  aspect-ratio: 10/4;
  margin: 0 auto;
  order: 3;
}
.en-events-photos-reverse img:nth-of-type(2) {
  width: calc(45% - var(--adj-10));
  aspect-ratio: 4/3;
  order: 2;
}
.en-events-photos-reverse img:nth-of-type(3) {
  order: 1;
}

.en-events-name-reverse {
  display: flex;
  justify-content: flex-start;
  width: 48%;
  height: auto;
  padding: var(--adj-40);
}

.en-events-name-reverse ul li {
  font-size: 32px;
}

/* お問い合わせ */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--clr-sub-09);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.form-label {
  flex: 0 0 120px;
  font-weight: 500;
  color: var(--clr-gray);
  font-size: 14px;
  padding-top: 12px;
  line-height: 1.2;
}

.input-container {
  position: relative;
  flex: 1;
}

.input-container.required::after {
  content: "必須";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4444c;
  font-size: 12px;
  background: #f1dda1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  pointer-events: none;
  z-index: 10;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #fef5e0;
  font-size: 14px;
  color: #333;
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(212, 68, 76, 0.3);
}

.form-input::placeholder {
  color: #999;
}

.textarea-container {
  position: relative;
  flex: 1;
}

.textarea-container.required::after {
  content: "必須";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4444c;
  font-size: 12px;
  background: #f1dda1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  pointer-events: none;
  z-index: 10;
}

.textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #fef5e0;
  font-size: 14px;
  color: #333;
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
}

.textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(212, 68, 76, 0.3);
}

.privacy-policy-text {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 5px;
}

.privacy-policy-text a {
  color: #9b1d22;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #d4444c 0%, #b83a40 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 68, 76, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.address-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.postal-code-section {
  display: flex;
  gap: 10px;
  width: 100%;
}

.postal-code {
  width: 100%;
  max-width: 265px;
}

.search-btn {
  width: 70%;
  padding: 12px 16px;
  background-color: #ce92a0;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: var(--clr-sub-05);
}

.address-input {
  width: 100%;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  width: 100%;
}

.radio-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-left: -15px;
}

.radio-item input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--clr-base);
  /* 未選択状態の色を設定 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius: 50%;
  background-color: #fef5e0;
  position: relative;
  cursor: pointer;
}

/* 未選択状態のスタイル */
.radio-item input[type="radio"]:not(:checked) {
  background-color: #fef5e0;
}

/* 選択状態のスタイル */
.radio-item input[type="radio"]:checked {
  background-color: var(--clr-base);
  border-color: var(--clr-base);
}

/* 選択状態の中央の丸を表示 */
.radio-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
}

.radio-item label {
  font-size: 14px;
  color: var(--clr-gray);
  cursor: pointer;
  flex: 1;
}

/* フッター */
.footer {
  background: #fff;
  padding: 20px 0 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #eee;
}
.footer::after {
  content: "";
  position: absolute;
  bottom: -76px;
  right: -50px;
  width: 100%;
  height: 198%;
  background: url(../img3/logo_kodomo_1_1.png) no-repeat bottom right;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  object-position: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

.footer-logo {
  height: 60px;
  margin-right: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-left span {
  display: block;
  line-height: 1.2;
}

.footer-center {
  color: #888;
  font-size: 20px;
  text-align: left;
  min-width: 320px;
  margin: 0 389px;
}

.footer-right {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.children-illustration {
  height: 173px;
  width: 240px;
  right: 22px;
  display: block;
  position: absolute;
}

.copyright {
  position: relative;
  z-index: 2;
  color: #888;
  text-align: center;
  margin-top: 10px;
  font-size: 13.7px;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 40px;
  }

  .school-name h2 {
    font-size: 20px;
    padding: 10px 0px;
  }

  .school-name h1 {
    font-size: 28px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    padding: 12px 30px;
    min-width: 150px;
  }

  .btn {
    font-size: 15px;
    min-width: 150px;
    padding: 4px 25px;
  }

  /* ハンバーガーメニューを表示 */
  .hamburger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* ナビゲーションメニューを隠す */

  /* ナビゲーション */
  .navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
  }
  /* メニューがアクティブ時に表示 */
  .navigation.active {
    display: flex;
  }

  .navigation::before,
  .navigation::after {
    display: none;
  }

  .nav-item {
    font-size: 20px;
    padding: 15px 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
  }

  .nav-item:hover {
    background-color: #f8f9fa;
  }

  .nav-item:not(:last-child)::after {
    display: none;
  }

  #news-events {
    flex-direction: column;
  }

  .news,
  .events {
    width: 100%;
    margin-bottom: 30px;
  }

  .divider {
    left: 10%;
    right: 10%;
    top: 50%;
    height: 8px;
    width: 80%;
    transform: translateY(-50%);
  }

  .policy-content {
    flex-direction: column-reverse;
  }

  .policy-left,
  .policy-right {
    width: 100%;
  }

  .number-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .subtitle-text {
    font-size: 1.3rem;
  }

  .principal-greeting-content {
    flex-direction: column;
  }

  .principal-greeting-wrapper {
    padding: 20px;
    flex-direction: column;
  }

  .principal-photo {
    margin: 0 auto 15px;
  }

  .principal-name {
    text-align: center;
    margin: 0 0 15px;
  }

  .principal-info {
    align-items: center;
  }

  .staff-photo-ellipse,
  .staff-photo-rectangle {
    width: 60%;
    height: 200px;
  }

  .staff-photo-ellipse {
    margin-right: 5%;
  }

  .staff-photo-rectangle {
    margin-left: 5%;
  }

  .message-top {
    top: 20%;
    left: 10%;
  }

  .message-bottom {
    bottom: 20%;
    right: 10%;
  }

  .staff-message span {
    font-size: 1.2rem;
  }

  .en-annual-events {
    margin: var(--adj-80) var(--adj-20);
  }

  .en-annual-events::before {
    opacity: 0.3;
  }

  .en-annual-events::after {
    opacity: 0.3;
  }

  .en-events-container {
    padding: var(--adj-10) var(--adj-20);
  }

  .en-events {
    display: block;
  }

  .en-events-photos {
    width: 100%;
    height: 420px;
    gap: var(--adj-10);
  }

  .en-events-photos img {
    width: calc(40% - var(--adj-10));
    height: auto;
  }
  .en-events-photos img:nth-of-type(1) {
    width: calc(55% - var(--adj-10));
    height: 100px;
  }
  .en-events-photos img:nth-of-type(2) {
    width: calc(55% - var(--adj-10));
    height: 300px;
  }

  .en-events-name {
    width: 100%;
  }

  .en-events-reverse {
    display: block;
  }

  .en-events-photos-reverse {
    width: 100%;
    height: 420px;
    gap: var(--adj-10);
  }

  .en-events-photos-reverse img {
    width: calc(40% - var(--adj-10));
    height: auto;
  }
  .en-events-photos-reverse img:nth-of-type(1) {
    width: calc(55% - var(--adj-10));
    height: 90px;
  }
  .en-events-photos-reverse img:nth-of-type(2) {
    width: calc(55% - var(--adj-10));
    height: 300px;
  }

  .en-events-name-reverse {
    justify-content: flex-start;
    width: 100%;
  }

  .en-annual-events .animal {
    bottom: -3%;
  }

  .form-container {
    margin: 10px;
    padding: 20px;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
  }

  .form-container {
    margin: 10px auto;
    padding: 20px;
    width: 95%;
    max-width: none;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
    text-align: left;
  }

  .input-container.required::after,
  .textarea-container.required::after {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .postal-code-section {
    flex-direction: column;
    align-items: stretch;
  }

  .postal-code {
    flex: 1;
    width: 100%;
  }

  .search-btn {
    width: 100%;
  }

  .input-container.required::after,
  .textarea-container.required::after {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .postal-code-section {
    flex-direction: column;
    align-items: stretch;
  }

  .postal-code {
    flex: 1;
  }

  .search-btn {
    width: 100%;
  }

  .principal-greeting-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .daily-life-container {
    flex-direction: column;
  }

  .schedule-section,
  .photos-section {
    flex: 0 0 100%;
  }

  .schedule-section img {
    margin-left: 0;
  }

  .photos-grid {
    gap: 10px;
  }

  .daily-life-cover {
    height: 300px;
  }

  .daily-life-cover::before {
    top: 20%;
    right: 10px;
  }

  .daily-life-cover .section-title {
    bottom: 10%;
    left: 3%;
    font-size: 1.5rem;
  }

  .daily-life-cover-left {
    display: none;
  }

  .daily-life-cover-rp {
    display: block;
    justify-content: center;
  }

  .daily-life-cover-rp .section-title-daily-life {
    font-size: var(--fz-h2);
    color: var(--clr-base);
    text-align: center;
  }

  .daily-life-cover-rp .garland-1 {
    display: flex;
    justify-content: center;
    height: 120px;
    img {
      width: 50%;
      height: 100%;
      object-fit: cover;
    }
  }

  .deco-line {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 10px;
  }
  .footer-logo {
    height: 40px;
    margin-right: 10px;
  }
  .footer-center {
    font-size: 15px;
    min-width: 0;
    margin: 10px 0;
    z-index: 2;
  }
  .footer-right {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .children-illustration {
    height: 70px;
    width: auto;
    min-width: unset;
    max-width: unset;
  }
  .footer::after {
    content: "";
    position: absolute;
    bottom: -76px;
    right: -80px;
    width: 111%;
    height: 161%;
    background: url(../img3/logo_kodomo_1_1.png) no-repeat bottom right;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 500px) {
  .schedule-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px;
    gap: 15px;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
    margin-left: 40px;
  }

  .logo {
    width: 80px;
  }

  .school-name {
    display: none;
  }

  .school-name h2 {
    font-size: 13px;
    margin-bottom: -13px;
  }

  .school-name h1 {
    font-size: 13px;
  }

  .buttons {
    flex-direction: column;
    width: 54%;
    gap: 3px;
  }

  .btn {
    font-size: 6px;
    min-width: auto;
    width: 100%;
    text-align: center;
    max-width: 200px;
  }

  /* ハンバーガーメニューのサイズ調整 */
  .hamburger {
    width: 40px;
    height: 40px;
    left: 10px;
  }

  .hamburger span {
    width: 24px;
    height: 3px;
    background-color: #9b2226;
  }

  /* ナビゲーション */
  .navigation {
    padding: 15px 0px;
  }

  .nav-item {
    font-size: 18px;
    padding: 12px 20px;
  }

  .section-title {
    font-size: 36px;
  }

  #news-events {
    margin-top: 30px;
  }

  .daily-life-cover::before {
    top: 5%;
    right: 10px;
    font-size: 2.5rem;
  }

  .form-container {
    margin: 10px auto;
    padding: 15px;
    width: 98%;
    max-width: none;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
    text-align: left;
    font-size: 13px;
  }

  .input-container.required::after,
  .textarea-container.required::after {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    padding: 1px 4px;
  }

  .postal-code-section {
    flex-direction: column;
    align-items: stretch;
  }

  .postal-code {
    flex: 1;
    width: 100%;
  }

  .search-btn {
    width: 100%;
    font-size: 12px;
    padding: 10px 12px;
  }

  .en-annual-events {
    margin: var(--adj-80) var(--adj-10);
  }

  .en-annual-events::before {
    border-width: 0 250px 250px 0;
  }

  .en-annual-events::after {
    border-width: 0 250px 250px 0;
  }

  .en-events-container {
    padding: var(--adj-10);
  }

  .en-events-photos {
    display: block;
    width: 100%;
    height: 130vh;
  }

  .en-events-photos img {
    width: 100%;
    height: auto;
  }
  .en-events-photos img:nth-of-type(1) {
    width: 100%;
    height: auto;
  }
  .en-events-photos img:nth-of-type(2) {
    width: 100%;
    height: auto;
  }

  .en-events-name ul li {
    font-size: 24px;
  }

  .en-events-photos-reverse {
    display: block;
    width: 100%;
    height: 130vh;
  }

  .en-events-photos-reverse img {
    width: 100%;
    height: auto;
  }
  .en-events-photos-reverse img:nth-of-type(1) {
    width: 100%;
    height: auto;
  }
  .en-events-photos-reverse img:nth-of-type(2) {
    width: 100%;
    height: auto;
  }

  .en-events-name-reverse ul li {
    font-size: 24px;
  }

  .en-annual-events .animal {
    bottom: -1%;
  }

  .search-btn {
    width: 100%;
  }

  .photos-grid {
    gap: 10px;
  }

  .footer-content {
    padding: 0 3px;
  }
  .footer-logo {
    height: 28px;
    margin-right: 6px;
  }
  .footer-left span {
    font-size: 16px !important;
  }
  .footer-center {
    font-size: 11px;
    margin: 6px 0;
    background-color: #fff;
    z-index: 2;
  }
  .children-illustration {
    height: 40px;
    width: auto;
    min-width: unset;
    max-width: unset;
  }
  .copyright {
    font-size: 10px;
  }
  .footer::after {
    content: "";
    position: absolute;
    bottom: -76px;
    right: -60px;
    width: 112%;
    height: 138%;
    background: url(../img3/logo_kodomo_1_1.png) no-repeat bottom right;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    object-fit: cover;
    object-position: center;
  }
}

/* ドット模様の作成 */
.polka-dots::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle,
      var(--clr-dec-line-03) 10px,
      transparent 10px
    ),
    radial-gradient(circle, var(--clr-dec-line-03) 10px, transparent 10px);
  background-position: 0 0, 30px 60px;
  background-size: 60px 120px;
}

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

.contact-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-gray);
  margin-bottom: 40px;
}

.contact-phone {
  margin-top: 40px;
}

.contact-phone h3 {
  color: var(--clr-gray);
  font-size: 20px;
  margin-bottom: 20px;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.phone-numbers p {
  font-size: 16px;
  color: var(--clr-gray);
}

.phone-numbers span {
  font-weight: bold;
  color: var(--clr-gray);
}

/* Contact Form 7 カスタマイズ */
/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
  font-weight: bold;
}

.wpcf7-response-output.wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7-response-output.wpcf7-mail-sent-ng {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
