/* ============================================
   にじいろ保育園 サンプルサイト
   ポップで可愛い、見てるだけで笑顔になるデザイン
============================================ */

:root {
  --pink: #ff8a80;
  --pink-dark: #f06292;
  --orange: #ffb74d;
  --yellow: #ffd54f;
  --green: #aed581;
  --green-dark: #7cb342;
  --blue: #4fc3f7;
  --blue-dark: #29b6f6;
  --purple: #b39ddb;
  --cream: #fffaf2;
  --cream-deep: #fff3e0;
  --brown: #5d4037;
  --text: #4e3b31;
  --radius: 24px;
  --shadow: 0 6px 20px rgba(93, 64, 55, .10);
  --font-main: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-title: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sp-only { display: none; }
.center { text-align: center; }

/* ============ ヘッダー ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 250, 242, .95);
  backdrop-filter: blur(8px);
  border-bottom: 3px dashed rgba(255, 138, 128, .35);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 16px rgba(93, 64, 55, .12); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { flex-shrink: 0; animation: bounce-soft 3s ease-in-out infinite; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-sub { font-size: .65rem; color: #a1887f; letter-spacing: .05em; }
.logo-main {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--brown);
  letter-spacing: .04em;
}
.logo-main em { font-style: normal; font-size: 1.05rem; color: var(--pink-dark); }

.gnav ul { display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: block;
  padding: 8px 10px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.gnav a:hover { background: var(--cream-deep); color: var(--pink-dark); }
.nav-icon { display: block; text-align: center; font-size: .9rem; line-height: 1.2; }

.nav-cta a {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 4px 0 #d15b85;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta a:hover { background: linear-gradient(135deg, var(--pink), var(--pink-dark)); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 #d15b85; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  border: none;
  background: var(--pink);
  border-radius: 14px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 3px 0 #d15b85;
}
.menu-btn span {
  display: block;
  width: 22px; height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ ヒーロー ============ */
.hero {
  position: relative;
  padding: 140px 20px 80px;
  background: linear-gradient(180deg, #e3f6fd 0%, #fdf3e7 100%);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute;
  top: 90px; right: 6%;
  width: 90px; height: 90px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 213, 79, .25), 0 0 0 36px rgba(255, 213, 79, .12);
  animation: pulse-sun 4s ease-in-out infinite;
}
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: .9;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud-1 { top: 120px; left: 4%; width: 120px; height: 40px; animation: drift 26s linear infinite; }
.cloud-1::before { width: 50px; height: 50px; top: -24px; left: 18px; }
.cloud-1::after { width: 36px; height: 36px; top: -16px; left: 60px; }
.cloud-2 { top: 240px; right: 12%; width: 90px; height: 32px; animation: drift 34s linear infinite reverse; }
.cloud-2::before { width: 40px; height: 40px; top: -18px; left: 14px; }
.cloud-2::after { width: 28px; height: 28px; top: -12px; left: 46px; }
.cloud-3 { bottom: 140px; left: 12%; width: 100px; height: 34px; animation: drift 30s linear infinite; }
.cloud-3::before { width: 44px; height: 44px; top: -20px; left: 16px; }
.cloud-3::after { width: 30px; height: 30px; top: -14px; left: 52px; }

.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-catch {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.5;
  color: var(--brown);
  letter-spacing: .05em;
}
.hero-catch .line { display: block; }
.hero-catch strong { color: var(--pink-dark); }
.line-2 strong { color: var(--blue-dark); }
.hero-mark { display: inline-block; animation: bounce-soft 2s ease-in-out infinite; }

.hero-lead { margin-top: 20px; font-size: 1.05rem; font-weight: 500; }

.hero-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  line-height: 1.35;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.btn-main {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: 0 5px 0 #d15b85;
}
.btn-main:hover { transform: translateY(3px); box-shadow: 0 2px 0 #d15b85; }
.btn-sub {
  background: #fff;
  color: var(--blue-dark);
  border: 3px solid var(--blue);
  box-shadow: 0 5px 0 #b3e2f7;
}
.btn-sub:hover { transform: translateY(3px); box-shadow: 0 2px 0 #b3e2f7; }

.hero-photo { position: relative; }
.hero-badge {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: .85rem;
  text-align: center;
  line-height: 1.3;
  color: #fff;
  box-shadow: var(--shadow);
  animation: bounce-soft 3.4s ease-in-out infinite;
}
.badge-1 { top: -18px; left: -14px; background: var(--orange); transform: rotate(-8deg); }
.badge-2 { bottom: -14px; right: -10px; background: var(--green-dark); transform: rotate(6deg); animation-delay: .6s; }

.wave-divider { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.wave-divider svg { width: 100%; height: 44px; }

/* ============ 写真プレースホルダー ============ */
.photo-frame {
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background:
    repeating-linear-gradient(45deg, #fdf0e0 0 14px, #fef7ec 14px 28px);
  border: 3px dashed var(--orange);
  border-radius: calc(var(--radius) - 8px);
  padding: 18px;
  text-align: center;
}
.ph-icon { font-size: 2rem; }
.ph-text { font-weight: 800; font-family: var(--font-title); color: #b3814e; }
.ph-note { font-size: .75rem; color: #b3814e; line-height: 1.5; }
.photo-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}
.photo-hero .photo-img { min-height: 320px; }
.photo-square .photo-img { min-height: 100%; }
.photo-wide .photo-img { min-height: 130px; }
.photo-room .photo-img { min-height: 190px; }

.photo-hero .photo-placeholder { min-height: 320px; }
.photo-square { aspect-ratio: 1 / 1; }
.photo-square .photo-placeholder { min-height: 100%; }
.photo-wide .photo-placeholder { min-height: 130px; }
.photo-room .photo-placeholder { min-height: 190px; }
.photo-map .photo-placeholder { min-height: 300px; }

/* ============ セクション共通 ============ */
.section { padding: 80px 0; }
.section-bg {
  background: var(--cream-deep);
  border-top: 4px dotted rgba(255, 183, 77, .5);
  border-bottom: 4px dotted rgba(255, 183, 77, .5);
}

.sec-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--brown);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: .06em;
}
.sec-icon { font-size: 2.2rem; animation: bounce-soft 3s ease-in-out infinite; }
.sec-en {
  font-size: .8rem;
  font-weight: 700;
  color: var(--pink-dark);
  letter-spacing: .25em;
  text-transform: uppercase;
}
.sec-title.light { color: #fff; }
.sec-title.light .sec-en { color: #ffe0ea; }

.sec-lead { text-align: center; margin: -20px 0 36px; font-weight: 500; }

.mini-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 6px solid var(--pink);
  border-radius: 3px;
}
.mini-title.center { border-left: none; padding-left: 0; text-align: center; }
.mini-title.center::after {
  content: "";
  display: block;
  width: 60px; height: 5px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--blue));
}

.note-text { font-size: .8rem; color: #a1887f; margin-top: 16px; }
.note-text.center { text-align: center; }

/* ============ お知らせ ============ */
.news { padding: 60px 0; }
.news-list {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 30px;
}
.news-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 2px dashed #f3e2cd;
}
.news-list li:last-child { border-bottom: none; }
.news-list time { font-weight: 700; color: #a1887f; font-size: .85rem; }
.news-tag {
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
}
.tag-event { background: var(--pink); }
.tag-info { background: var(--blue); }
.tag-blog { background: var(--green-dark); }
.news-list a { text-decoration: none; font-weight: 500; flex: 1; min-width: 200px; }
.news-list a:hover { color: var(--pink-dark); text-decoration: underline; }

/* ============ 園について ============ */
.about-greeting {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 70px;
}
.greeting-text p { margin-bottom: 14px; }
.greeting-name { text-align: right; margin-top: 20px; }
.greeting-name strong { font-family: var(--font-title); font-size: 1.2rem; }

.philosophy { margin-bottom: 70px; }
.philosophy-catch {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--pink-dark);
  margin-bottom: 8px;
}
.philosophy-lead { text-align: center; margin-bottom: 30px; font-size: .95rem; }

.policy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.policy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 8px solid;
  transition: transform .25s;
}
.policy-card:hover { transform: translateY(-6px) rotate(-1deg); }
.card-pink { border-color: var(--pink); }
.card-yellow { border-color: var(--yellow); }
.card-green { border-color: var(--green); }
.policy-icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.policy-card h4 { font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 10px; color: var(--brown); }
.policy-card p { font-size: .9rem; text-align: left; }

.overview-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.overview-table th, .overview-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 2px dashed #f3e2cd;
  font-size: .95rem;
}
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: none; }
.overview-table th {
  width: 30%;
  background: #fff4f2;
  color: var(--pink-dark);
  font-family: var(--font-title);
  white-space: nowrap;
}
.tel-link { font-weight: 800; text-decoration: none; color: var(--blue-dark); }

/* ============ 園の一日 ============ */
.day-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; }
.day-tab {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  border: 3px solid var(--blue);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  transition: all .2s;
}
.day-tab.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 #2a9fd8;
}

.day-timeline { display: none; max-width: 640px; margin: 0 auto; position: relative; }
.day-timeline.is-active { display: block; }
.day-timeline::before {
  content: "";
  position: absolute;
  left: 46px; top: 10px; bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, var(--yellow) 0 12px, transparent 12px 22px);
}
.tl-item {
  position: relative;
  display: flex;
  gap: 26px;
  padding: 0 0 26px 0;
}
.tl-time {
  flex-shrink: 0;
  width: 92px;
  display: grid;
  place-items: center;
  height: 44px;
  background: var(--yellow);
  color: var(--brown);
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-title);
  box-shadow: 0 3px 0 #e6b93c;
  z-index: 1;
}
.tl-body {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
}
.tl-body h4 { font-family: var(--font-title); color: var(--brown); font-size: 1.05rem; }
.tl-body p { font-size: .85rem; color: #8d6e63; }

/* ============ 年間行事 ============ */
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.season-card {
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.season-spring { background: #fdeef3; border: 3px solid #f8bbd0; }
.season-summer { background: #e8f7fd; border: 3px solid #a5dff5; }
.season-autumn { background: #fdf3e3; border: 3px solid #ffcc80; }
.season-winter { background: #eef3fb; border: 3px solid #b8cdf0; }

.season-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 14px;
}
.season-icon { font-size: 1.8rem; }
.season-months {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 700;
  background: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  color: #8d6e63;
}
.season-card ul { margin-bottom: 18px; }
.season-card li {
  padding: 8px 0;
  border-bottom: 2px dashed rgba(141, 110, 99, .2);
  font-size: .92rem;
}
.season-card li:last-child { border-bottom: none; }
.season-card li b {
  display: inline-block;
  min-width: 3.2em;
  color: var(--pink-dark);
  font-family: var(--font-title);
}

/* ============ 園内紹介 ============ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}
.room-item figcaption { padding: 12px 6px 0; }
.room-item b { display: block; font-family: var(--font-title); font-size: 1.05rem; color: var(--brown); }
.room-item span { font-size: .85rem; color: #8d6e63; }

.safety-box {
  background: #fff;
  border-radius: var(--radius);
  border: 3px solid var(--green);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.safety-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
  max-width: 760px;
  margin: 0 auto;
}
.safety-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 0;
  border-bottom: 2px dashed #e8f2dc;
}
.safety-list li span { font-size: 1.3rem; }

/* ============ クラス紹介 ============ */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.class-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid;
  transition: transform .25s;
}
.class-card:hover { transform: translateY(-6px) rotate(1deg); }
.cc-red { border-color: #ef9a9a; }
.cc-orange { border-color: #ffcc80; }
.cc-yellow { border-color: #fff176; }
.cc-green { border-color: #c5e1a5; }
.cc-blue { border-color: #90caf9; }
.cc-purple { border-color: #ce93d8; }

.class-age {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  padding: 4px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.cc-red .class-age { background: #e57373; }
.cc-orange .class-age { background: #ffa726; }
.cc-yellow .class-age { background: #fbc02d; }
.cc-green .class-age { background: #8bc34a; }
.cc-blue .class-age { background: #42a5f5; }
.cc-purple .class-age { background: #ab47bc; }

.class-card h3 { font-family: var(--font-title); font-size: 1.3rem; color: var(--brown); margin-bottom: 8px; }
.class-card p { font-size: .88rem; color: #8d6e63; }

/* ============ 給食 ============ */
.lunch-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}
.check-list li {
  position: relative;
  padding: 9px 0 9px 36px;
  border-bottom: 2px dashed #f3e2cd;
  font-weight: 500;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 8px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: .8rem;
  border-radius: 50%;
}

/* ============ 入園案内 ============ */
.entry-flow { margin-bottom: 70px; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: flow;
  list-style: none;
  margin-top: 30px;
}
.flow-list li {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 26px 14px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.flow-list li:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: .9rem;
  z-index: 1;
}
.flow-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  font-family: var(--font-title);
  box-shadow: 0 3px 0 #e09a34;
}
.flow-list b { display: block; font-family: var(--font-title); color: var(--brown); font-size: .98rem; margin-bottom: 6px; }
.flow-list p { font-size: .78rem; color: #8d6e63; line-height: 1.5; }

.entry-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.entry-table th, .entry-table td {
  padding: 14px 20px;
  border-bottom: 2px dashed #f3e2cd;
  font-size: .95rem;
  text-align: left;
}
.entry-table tr:last-child th, .entry-table tr:last-child td { border-bottom: none; }
.entry-table th {
  width: 32%;
  background: #eef8fd;
  color: var(--blue-dark);
  font-family: var(--font-title);
  white-space: nowrap;
}
.entry .note-text { text-align: center; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 58px;
  font-weight: 700;
  font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 900;
}
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 800;
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  position: relative;
  padding: 0 24px 20px 58px;
  font-size: .92rem;
  color: #6d5148;
}
.faq-item p::before {
  content: "A";
  position: absolute;
  left: 16px; top: -4px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 900;
}

/* ============ アクセス ============ */
.access-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

/* ============ お問い合わせ ============ */
.contact {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  position: relative;
}
.contact-lead { text-align: center; color: #fff; font-weight: 700; margin: -16px 0 36px; }

.contact-tel {
  max-width: 560px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.tel-label { font-weight: 800; color: var(--pink-dark); font-size: .9rem; }
.tel-big {
  display: block;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--brown);
  text-decoration: none;
  margin: 6px 0;
}
.tel-time { font-size: .8rem; color: #a1887f; }

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--brown);
}
.req {
  display: inline-block;
  background: var(--pink-dark);
  color: #fff;
  font-size: .68rem;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 1rem;
  padding: 13px 16px;
  border: 3px solid #f3e2cd;
  border-radius: 14px;
  background: #fffdf9;
  color: var(--text);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.btn-form { width: 100%; border: none; cursor: pointer; font-family: var(--font-main); font-size: 1.05rem; }

/* ============ フッター ============ */
.footer { background: #5d4037; color: #fbe9e7; }
.footer-rainbow {
  height: 10px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 50px;
  padding-bottom: 40px;
}
.footer-logo { font-family: var(--font-title); font-weight: 900; font-size: 1.4rem; margin-bottom: 12px; }
.footer-about p { font-size: .88rem; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  align-content: start;
}
.footer-nav a {
  color: #fbe9e7;
  text-decoration: none;
  font-size: .88rem;
  padding: 4px 0;
}
.footer-nav a:hover { color: var(--yellow); }
.copyright {
  text-align: center;
  font-size: .75rem;
  padding: 16px;
  background: #4e342e;
  color: #bcaaa4;
}

/* ============ 追従CTA（スマホ） ============ */
.fixed-cta {
  position: fixed;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 90;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(240, 98, 146, .5);
}

/* ============ スクロールアニメーション ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ============ アニメーション定義 ============ */
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-sun {
  0%, 100% { box-shadow: 0 0 0 18px rgba(255, 213, 79, .25), 0 0 0 36px rgba(255, 213, 79, .12); }
  50% { box-shadow: 0 0 0 24px rgba(255, 213, 79, .3), 0 0 0 48px rgba(255, 213, 79, .15); }
}
@keyframes drift {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px); }
  100% { transform: translateX(0); }
}

/* ============ レスポンシブ ============ */
@media (max-width: 900px) {
  .gnav {
    position: fixed;
    top: 0; right: 0;
    width: min(310px, 84vw);
    height: 100dvh;
    background: var(--cream);
    padding: 90px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -8px 0 24px rgba(93, 64, 55, .15);
    overflow-y: auto;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .gnav a { display: flex; align-items: center; gap: 12px; font-size: 1rem; padding: 12px 16px; }
  .nav-icon { font-size: 1.2rem; }
  .nav-cta { margin-top: 12px; }
  .nav-cta a { justify-content: center; text-align: center; }
  .menu-btn { display: flex; z-index: 110; }

  .sp-only { display: inline; }
  a.fixed-cta.sp-only { display: block; }

  .hero { padding: 120px 20px 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .sun { width: 64px; height: 64px; top: 84px; }

  .about-greeting { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 300px; margin: 0 auto; }
  .policy-cards { grid-template-columns: 1fr; }
  .season-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-list { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .lunch-wrap { grid-template-columns: 1fr; }
  .lunch-photo { max-width: 340px; margin: 0 auto; }
  .flow-list { grid-template-columns: 1fr; gap: 26px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .flow-list li:not(:last-child)::after {
    content: "▼";
    right: auto; left: 50%;
    top: auto; bottom: -22px;
    transform: translateX(-50%);
  }
  .access-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .rooms-grid { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .hero-btns .btn { width: min(100%, 340px); padding: 13px 24px; }
  .day-tabs { flex-direction: row; }
  .day-tab { padding: 10px 18px; font-size: .9rem; }
  .tl-time { width: 74px; height: 38px; font-size: .85rem; }
  .day-timeline::before { left: 37px; }
  .news-list { padding: 6px 18px; }
  .logo-main { font-size: 1.25rem; }
  .header-inner { padding: 8px 14px; }
}

/* ============ Instagram ============ */
.insta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.insta-bg { position: absolute; inset: 0; }
.insta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.insta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 98, 146, .82), rgba(255, 138, 128, .78) 50%, rgba(255, 183, 77, .8));
}
.insta-front { position: relative; z-index: 2; }
.insta-lead {
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin: -20px 0 40px;
  text-shadow: 0 2px 8px rgba(93, 64, 55, .25);
}

.insta-carousel {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  padding: 8px 0;
}
.insta-carousel.is-dragging { cursor: grabbing; }
.insta-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 24px);
  width: max-content;
  will-change: transform;
}
.insta-item {
  display: block;
  flex-shrink: 0;
  width: clamp(150px, 20vw, 220px);
  background: #fff;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(93, 64, 55, .2);
  transition: transform .25s;
}
.insta-item:nth-child(odd) { transform: rotate(-1.5deg); }
.insta-item:nth-child(even) { transform: rotate(1.5deg); }
.insta-item:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); }
.insta-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  pointer-events: none;
}

.insta-foot { text-align: center; margin-top: 44px; }
.btn-insta {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  background: #fff;
  color: var(--pink-dark);
  box-shadow: 0 5px 0 rgba(93, 64, 55, .25);
  transition: transform .15s, box-shadow .15s;
}
.btn-insta:hover { transform: translateY(3px); box-shadow: 0 2px 0 rgba(93, 64, 55, .25); }
.insta-note {
  margin-top: 14px;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(93, 64, 55, .25);
}

@media (max-width: 560px) {
  .insta { padding: 60px 0; }
  .insta-item { width: 46vw; }
}
