/* ===== CSS変数（かわいいカラーパレット） ===== */
:root {
  --pink-light: #fff0f8;
  --pink-soft: #ffd6ee;
  --pink-mid: #ffb3d9;
  --pink-main: #ff85c2;
  --pink-deep: #e0529a;
  --peach: #ffc8a0;
  --lavender: #ecdeff;
  --mint: #d6f5ec;
  --yellow: #fff5c0;
  --white: #ffffff;
  --text-main: #6b4c6b;
  --text-sub: #a07890;
  --shadow-soft: 0 4px 20px rgba(255, 130, 190, 0.18);
  --shadow-card: 0 6px 24px rgba(220, 80, 160, 0.12);
  --radius-xl: 24px;
  --radius-pill: 999px;
}

/* ===== ベース ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  background-color: var(--pink-light);
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 182, 224, 0.25) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(220, 160, 255, 0.18) 0%,
      transparent 40%
    );
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}


/* ===== ヘッダー ===== */
header {
  position: relative;
  z-index: 1000;
}

/* ===== ヒーロー画像 ===== */
body > div:first-of-type {
  position: relative;
  z-index: 1;
}

body > div:first-of-type img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}


/* ===== パンくずリスト ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 12px 0 8px 4px;
  font-size: 0.82em;
  color: var(--text-sub);
}
.breadcrumbs li a {
  color: var(--pink-deep);
  text-decoration: none;
}
.breadcrumbs li:not(:last-of-type)::after {
  content: "🌸";
  margin: 0 0.4em;
  font-size: 0.8em;
}

  .sakura__theme {
  position: relative;    /* 子要素の基準点にする */
  }

.sakura__theme img {
  display: block;        /* 画像下の隙間を消す */
}

.sakura__theme p:nth-child(2) {
  position: absolute;    /* 画像の上に浮かせる */
  top: 10px;             /* 上からの位置（調整可） */
  left: 10px;            /* 左からの位置（調整可） */
  margin: 0;             /* pタグ本来の余白をリセット */

  /* レスポンシブなフォントサイズ：最小0.5rem〜最大2.6rem、画面幅に合わせて変化 */
  font-size: clamp(0.5rem, 3.8vw, 2.6rem);

  color: #fff;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.6),
    0 2px 8px rgba(0,0,0,0.7);

  /* ふわっと表示アニメーション */
  animation: themeTextFadeIn 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: 0.3s;
}

@keyframes themeTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    letter-spacing: 0.18em;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.05em;
  }
}

/* ===== スライダーラッパー ===== */
.slide09 {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 12px 0 20px;
  border: 3px solid var(--pink-soft);
}

.slide09 img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== ページタイトル h2 ===== */
h2#info1 {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--pink-deep);
  margin: 20px 0 14px;
  padding: 0.55em 1em 0.55em 1.1em;
  background: linear-gradient(135deg, #fff5fc 0%, #ffe4f6 100%);
  border-left: 6px solid var(--pink-main);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

h2#info1::before {
  content: "🌸";
  margin-right: 0.4em;
}

h2#info1::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 182, 224, 0.3), transparent);
  border-radius: 50%;
}

/* ===== info-dl ===== */
.info-dl {
  font-size: 0.88em;
  color: var(--text-sub);
  margin: 0 0 16px 6px;
  padding: 8px 14px;
  background: var(--yellow);
  border-radius: 12px;
  border-left: 4px solid #ffcc44;
  display: inline-block;
}

/* ===== セクションカード ===== */
.school-life2 {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid var(--pink-soft);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.school-life2:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(220, 80, 160, 0.18);
}

/* セクション見出し h3 */
.boshu01 {
  font-size: 1.05em;
  font-weight: 800;
  padding: 0.65em 1.2em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  border-radius: 0;
}

/* 色バリエーション */
.boshu01.bo04 {
  background: linear-gradient(90deg, #ffd1eb 0%, #ffe8f7 100%);
  color: var(--pink-deep);
  border-bottom: 2px dashed var(--pink-mid);
}

.boshu01.bo04::before {
  content: "🌷";
  font-size: 1.1em;
}

.boshu01.sakura302 {
  background: linear-gradient(90deg, #e8d6ff 0%, #f5eeff 100%);
  color: #8a44c8;
  border-bottom: 2px dashed #d6b0ff;
}
.boshu01.sakura302::before {
  content: "🌼";
  font-size: 1.1em;
}

/* リスト本体 */
.boshu02 {
  list-style: none;
  padding: 14px 18px 16px;
  margin: 0;
  line-height: 1.75;
  font-size: 0.95em;
}

.boshu02 li {
  padding: 4px 0 4px 1.4em;
  position: relative;
}

.boshu02 li::before {
  content: "♡";
  position: absolute;
  left: 0;
  color: var(--pink-main);
  font-size: 0.9em;
}

.boshu02 div {
  padding: 10px 4px 4px;
  line-height: 1.75;
}


/* ===== ページトップボタン ===== */
.pagetop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pink-main), var(--pink-deep));
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(224, 82, 154, 0.45);
  z-index: 9999;
  display: none;
  transition: transform 0.2s;
}

.pagetop:hover {
  transform: scale(1.15) translateY(-2px);
}

/* ===== #contents ===== */


/* ===== レスポンシブ：600px以上 ===== */
@media screen and (min-width: 600px) {
  nav {
    height: 110px;
  }
  .drawer {
    height: 110px;
  }
  #logo {
    max-width: 55%;
    margin: 10px;
    padding-top: 8px;
  }
  #logo img {
    max-width: 32%;
  }

  .guardian01 {
    display: block;
  }

  .guardian01 a {
    display: block;
    color: var(--pink-deep);
    background: var(--pink-soft);
    border-radius: 20px;
    padding: 8px 18px;
    border: 1.5px solid var(--pink-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s;
  }

  .guardian01 a:hover {
    background: var(--pink-main);
    color: #fff;
  }

  .guardian02 {
    display: none;
  }

  .Toggle {
    display: none;
  }

  .menu {
    border-top: 3px solid var(--pink-soft);
    background: linear-gradient(180deg, #fff8fd 0%, #ffeaf7 100%);
    transform: translateX(0);
    font-size: 105%;
  }

  .menu ul {
    height: 52px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .menu ul li a {
    padding: 0 0.9em;
    border-bottom: none;
    font-size: 0.9em;
    border-radius: 20px;
    margin: 0 2px;
  }

  .menu ul li a:hover {
    background: var(--pink-soft);
    padding-left: 0.9em;
    color: var(--pink-deep);
  }

  
  .sakura__theme p:nth-child(2) {
    top: 80px;
    left: 20px;
    /* clamp()で自動スケールするため、ここでは上書き不要 */
  }


  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  footer .conta01 {
    margin-left: 0;
  }

  .blog01 {
    display: block;
  }
}

/* 初期状態：透明にして少し下げておく */
.school-life2 {
  opacity: 0;
  transform: translateY(18px);
}

/* クラスがついたらアニメーション開始 */
.school-life2.is-animated {
  animation: floatIn 0.5s ease both;
}

/* 遅延の設定（そのまま活用） */
.school-life2.is-animated:nth-child(1) { animation-delay: 0.05s; }
.school-life2.is-animated:nth-child(2) { animation-delay: 0.12s; }
.school-life2.is-animated:nth-child(3) { animation-delay: 0.19s; }
.school-life2.is-animated:nth-child(4) { animation-delay: 0.26s; }
.school-life2.is-animated:nth-child(5) { animation-delay: 0.33s; }

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== スライダー内画像角丸 ===== */
.slick-slide img {
  border-radius: 0;
}

/* ===== リンク全般 ===== */
a {
  text-decoration: none;
}

/* ===== boshu02内のdiv（見学について） ===== */
.boshu02 div p {
  padding: 3px 0;
  line-height: 1.7;
  color: var(--text-main);
}
