/* ========================================
   Top Page
   ※ 既存デザインを維持したまま整理
======================================== */

/* ========================================
   Base
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--content-width), calc(100% - 50px));
  margin: 0 auto;
}

.narrow {
  width: min(1100px, calc(100% - 50px));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2,
h3,
.section-heading h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

/* ========================================
   Hero
======================================== */

.hero {
  position: relative;
}

.hero-slider {
  position: relative;
  height: min(1000px, 48vw);
  min-height: 1000px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.03), rgba(0,0,0,.12));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 30%;
  right: 10%;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero-copy p {
  margin-bottom: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(24px, 3vw, 45px);
  line-height: 1.5;
}

.hero-copy small {
  font-size: clamp(23px, 1.1vw, 15px);
}

.slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: #fff;
}


/* ========================================
   Quick Links
======================================== */

.quick-links {
    position: relative;
    display: block;
    width: 100%;

    padding-top: 55px;
    padding-bottom: 40px;

    background: #DFF3FD !important;
}

.quick-links .container {
    position: relative;
    z-index: 2;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quick-card {
  display: block;
  padding: 20px 20px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

.quick-image {
  position: relative;
  overflow: visible;
  border-radius: 12px;
}
.quick-image img {
	  border-radius: 10px;
	}

.quick-title {
  position: absolute;
  left: -6px;
  bottom: -2px;
  display: block;
  padding: 8px 20px;
  color: #3f4a4d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  background: var(--quick-color);
  z-index: 2;
}
.quick-yellow {
  --quick-color: #F2E7A4;
}

.quick-blue {
  --quick-color: #9EDCEF;
}

.quick-pink {
  --quick-color: #F3B8C9;
}

.quick-card p {
  margin: 16px 10px 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--quick-color);
  font-size: 15px;
  line-height: 1.6;
}

.more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 8px 20px;
  border: 1px solid var(--quick-color);
  border-radius: 30px;
  color: #3f4a4d;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: .25s ease;
}

/* 丸の中の矢印 */
.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--quick-color);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease;
}

/* ホバー */
.quick-card:hover .more-button {
  background: var(--quick-color);
}

.quick-card:hover .arrow-circle {
  transform: translateX(4px);
}

.more-button b {
  font-size: 17px;
  font-weight: 400;
}

.quick-card:hover .more-button {
  background: var(--quick-color);
}

/* ========================================
   Common Section
======================================== */

.cloud-section {
    position: relative;
    padding: 85px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 0;
    background-color: #FCFBF3;
}


/* 水色背景 */
.cloud-blue {
    background-color: #DFF3FD;
}
.section-heading {
  margin-bottom: 25px;
}

.section-heading > span,
.section-label {
  display: block;
  margin-bottom: 2px;
  color: #657072;
  font-size: 16px;
}

.section-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
}

.section-heading p,
.content > p,
.text-block p {
  font-size: 16px;
}

.center {
  text-align: center;
}

/* ========================================
   Education
======================================== */

.education {
  position: relative;
  z-index: 3;
  margin-top: -90px;
  padding-top: 50px;
}

.feature-image {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 18px;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 30px;
  margin: 10px 0 22px;
}

.check-list p {
  margin: 0;
  font-size: 16px;
}

.check-list p::before {
  content: "✓";
  margin-right: 8px;
}

.text-block h3 {
  margin-bottom: 5px;
  font-size: 19px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 55px;
}

.rounded-image {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.more-button,
.pill-button {
  text-decoration: none;
}


/* ========================================
   pill-button
======================================== */

.pill-button {
  display: flex;
  flex-direction: column;
  align-items: center; /* 追加 */
  gap: 8px;
  width: 100%;
  padding-top: 20px;
}

.pill-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 150px;
  padding: 7px 8px;

  border-radius: 25px;

  background: #3ca5d3;
  color: #fff;

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  box-shadow: 0 2px 5px rgba(0,0,0,.12);

  transition: .25s ease;
}

.pill-button a span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: #fff;
  color: #3ca5d3;

  font-size: 14px;
  line-height: 1;
}

.pill-button a:hover {
  transform: translateY(-2px);
}


/* ========================================
   Care / Food
======================================== */

.care {
  padding-top: 100px;
  padding-bottom: 90px;
  background-color: #DFF3FD;
}

.care h2,
.food h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.45;
}

.care h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.food {
  padding-top: 90px;
  padding-bottom: 130px;
}

.food-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.food-images img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.food-images img:last-child {
  margin-top: 30px;
}

.pink {
  background: var(--pink);
}

/* ========================================
   Events
======================================== */

.green-section {
    position: relative;
    z-index: 2;
    padding: 100px 0 120px;
    background: transparent;
    overflow: visible;
}

.green-section::before {
    content: "";
    position: absolute;

    top: 130px;
    bottom: 70px;

    left: 0;
    width: 100%;

    background: #D4EBD8;

    z-index: 0;
}

.green-section .container {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

/* ========================================
   Event Grid
======================================== */

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.event-grid a {
  color: var(--text);
  text-decoration: none;
  text-align: center;
}


/* ========================================
   Event Image
======================================== */

.event-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}


/* 写真 */
.event-image .event-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* 季節画像 */
.event-image .season-label {
  position: absolute;
  top: -5px;
  left: -5px;

  width: 75px;
  height: auto;

  border-radius: 0;
  object-fit: contain;

  z-index: 10;
}


/* ========================================
   Event Text
======================================== */

.event-grid span {
  display: block;
  margin-top: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
}

.event-grid small {
  display: block;
  font-size: 16px;
  line-height: 1.6;
}


.green {
  background: var(--green-dark);
}

.new-building {
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 35px;
  margin-top: 65px;
  padding: 35px;
  background: #fff;
  border-radius: 18px;
}

.new-building h2 {
  font-size: 28px;
}

.new-building p {
  font-size: 16px;
}

.new-building img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
}

/* ========================================
   Events Decoration / Waves
======================================== */

.nami-bg-top {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 130px;
    transform: translateX(-50%);

    background: #FCFBF3;

    z-index: 1;
    pointer-events: none;
}

.nami {
  position: absolute;
  left: calc(50% + 100px);
  display: flex;
  width: 5000px;
  height: 180px;
  transform: translateX(-50%);
  pointer-events: none;
}

.nami img {
    width: 1000px;
    height: 220px;
    flex: 0 0 1000px;
}


/* ========================================
   上の波
======================================== */

.nami-top {
    top: -80px;
    z-index: 5;
}


/* 交互に左右反転 */
.nami-top img:nth-child(odd) {
    transform: scaleX(-1);
}

.nami-top img:nth-child(even) {
    transform: none;
}/* ========================================
   下の波
======================================== */

.nami-bottom {
    position: absolute;
    bottom: -100px;
    left: calc(50% + 100px);
    z-index: 1;
}

/* 1枚目・3枚目・5枚目 → 上下反転のみ */
.nami-bottom img:nth-child(odd) {
    transform: scaleY(-1);
}

/* 2枚目・4枚目 → 上下＋左右反転 */
.nami-bottom img:nth-child(even) {
    transform: scale(-1, -1);
}
/* ========================================
   Section Cloud Decoration
======================================== */

.section-cloud {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 298px;
  margin-left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.section-cloud-center,
.section-cloud-side {
  position: absolute;
  top: 0;
  width: 1197px;
  height: 298px;
  background-repeat: no-repeat;
  background-size: 1198px 298px;
  background-position: left top;
}

.cloud-01 .section-cloud-center,
.cloud-01 .section-cloud-side {
  background-image: url("../images/index/contents_gb1.png");
  background-color: #DFF3FD;
}

.cloud-02 .section-cloud-center,
.cloud-02 .section-cloud-side {
  background-image: url("../images/index/contents_gb2.png");
  background-color: #FCFBF3;
}

.cloud-03 .section-cloud-center,
.cloud-03 .section-cloud-side {
  background-image: url("../images/index/contents_gb3.png");
  background-color: #DFF3FD;
}

.section-cloud-center {
  left: 50%;
  transform: translateX(-50%);
}

.section-cloud-left {
  right: calc(50% + 598px);
  transform: scaleX(-1);
  transform-origin: center top;
}

.section-cloud-right {
  left: calc(50% + 597px);
  transform: scaleX(-1);
  transform-origin: center top;
}

/* ========================================
   Information
======================================== */

.information {
    position: relative;
    z-index: 1;

    margin-top: -150px;

    padding-top: 330px;
    padding-bottom: 65px;

    background-color: #FCFBF3;
}

.information::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/infobg_img1.png");
  background-repeat: repeat;
  background-size: 98px 98px;
  pointer-events: none;
}

.information > * {
  position: relative;
  z-index: 1;
}

.info-box {
  margin: 0 auto 25px;
  padding: 30px 60px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  text-align: center;
}


.english-title {
  margin: 0;
  color: #7fcce7;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.info-box h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.news-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.news-list li {
  display: flex;
  gap: 15px;
  padding: 5px 0;
  border-bottom: 1px dotted #ddd;
  font-size: 16px;
}

.news-list time {
  flex: 0 0 85px;
}

.news-list a {
  color: var(--text);
  text-decoration: none;
}

/* ========================================
   Information Bird
======================================== */

.information-bird {
    display: inline-block;
    width: 60px;
    height: auto;
    transition: transform .3s ease;
    transform-origin: center center;
}


/* ========================================
   Banner Grid
======================================== */

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ========================================
   Banner Card
======================================== */

.banner-card {
    display: block;
    padding: 20px 20px 20px;

    border-radius: 20px;
    background: #fff;

    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);

    color: var(--text);
    text-decoration: none;
    text-align: center;
}


/* ========================================
   Banner Image
======================================== */

.banner-image {
    position: relative;
    overflow: visible;

    border-radius: 14px;
}


.banner-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.65 / 1;
border-radius: 10px;
    object-fit: cover;
}


/* ========================================
   Banner Title
======================================== */

.banner-title {
    position: absolute;
    left: -6px;
    bottom: -6px;
    display: block;
    padding: 8px 20px;
    color: #3f4a4d;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;

    z-index: 2;
}

/* カラー */

.banner-yellow {
    background: #F2E7A4;
}

.banner-blue {
    background: #9EDCEF;
}

.banner-pink {
    background: #F3B8C9;
}

.banner-green {
    background: #C9DEB5;
}


/* ========================================
   Banner Text
======================================== */

.banner-card p {
    margin: 8px 10px 0;
    padding-bottom: 5px;

    border-bottom: 2px solid #E5E5E5;

    font-size: 14px;
    line-height: 1.5;
}


/* ========================================
   Ono Gakuen
======================================== */

.school-card {

  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
  align-items: center;

  min-height: 180px;
  padding: 20px;

  border-radius: 20px;
  background: #fff;

  box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
}

.school-card {
  grid-column: 1 / 3;
  grid-row: 2;
}

.recruit-card {
  grid-column: 3;
  grid-row: 2;
}

/* ========================================
   Ono Gakuen Left
======================================== */

.school-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.school-logo {
  display: block;
  width: 155px;
  height: auto;
  margin-bottom: 25px;
}


/* ボタン */

.school-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.school-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 190px;
  padding: 10px 10px;

  border-radius: 25px;

  background: #3ca5d3;
  color: #fff;

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  box-shadow: 0 2px 5px rgba(0,0,0,.12);

  transition: .25s ease;
}

.school-links a span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: #fff;
  color: #3ca5d3;

  font-size: 14px;
  line-height: 1;
}

.school-links a:hover {
  transform: translateY(-2px);
}


/* ========================================
   Kindergarten
======================================== */

.school-kindergartens {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* 園ごとの枠 */

.kindergarten-box {
  display: grid;
  grid-template-columns: 115px 1fr;
  align-items: center;

  min-height: 78px;
  padding: 8px;

  border: 3px solid #b9e3ef;
  border-radius: 12px;

  background: #fff;
}


/* ロゴ部分 */

.kindergarten-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.kindergarten-logo img:first-child {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.kindergarten-logo img:last-child {
  width: 85px;
  height: auto;
  object-fit: contain;
}

.kindergarten-name {
	width: 60%;
}


/* 住所・電話 */

.kindergarten-info {
  padding-left: 5px;
}

.kindergarten-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

/* ========================================
   Recruit
======================================== */

.recruit-card {
    grid-column: span 1;
}


/* ========================================
   Hover
======================================== */

.banner-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .10);
}
.map-section {
  position: relative;
  height: 450px;
}

/* ========================================
   Side Buttons
======================================== */

.side-buttons {
  position: fixed;
  top: 30%;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-buttons a {
  position: relative;
  z-index: 1000;

  width: 50px;
  margin: 0;
  padding: 17px 10px;

  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;

  writing-mode: vertical-rl;
  text-align: center;

  font-size: 18px;
  line-height: 1.5;

  border-radius: 15px 0 0 15px;
  box-shadow: 0 2px 7px rgba(0,0,0,.08);

  transition: transform .25s ease, box-shadow .25s ease;
}


/* ----------------------------------------
   ボタン右側の背景を画面端まで伸ばす
---------------------------------------- */

.side-buttons a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
left: calc(100% - 2px);
  width: 100vw;

  background: inherit;

  z-index: -1;
}


/* ----------------------------------------
   Hover
---------------------------------------- */

.side-buttons a:hover {
  transform: translateX(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* ----------------------------------------
   Button Colors
---------------------------------------- */

.side-buttons a:first-child {
  background: #ef9cae;
}

.side-buttons a:last-child {
  background: #63c58a;
}


/* ----------------------------------------
   Icon
---------------------------------------- */

.side-buttons a img {
  padding: 0 0 5px;
  transition: transform .25s ease;
}

.side-buttons a:hover img {
  transform: scale(1.15);
}
/* ========================================
   Top Button
======================================== */

.to-top {
  position: fixed;
  right: clamp(20px, 2vw, 60px);
  bottom: 28px;
  z-index: 99999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100px;
  height: 100px;
  border-radius: 50%;

  background: #91D8F5;
  color: #4C4F50;

  box-shadow: 0 2px 10px rgba(0,0,0,.12);

  font-family: "Zen Maru Gothic", sans-serif;
  text-decoration: none;

  transition: transform .25s ease, box-shadow .25s ease;
}

/* ========================================
   To Top Sun
======================================== */

.to-top img {
  width: 35px;
  height: auto;
  margin-bottom: 3px;
  transform-origin: center bottom;
}

.to-top img.sun-shake {
  animation: sun-shake .6s ease-in-out;
}

@keyframes sun-shake {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(7deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.to-top span {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.3;
}


/* ========================================
   Responsive
======================================== */

