/*
Theme Name: Satsuki Kids Theme
Theme URI: https://example.com/
Author: Cyberne
Author URI: https://example.com/
Description: さつきこども園・さつきこどものいえ向けの下書きデザインをWordPress化したオリジナルテーマです。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: satsuki-kids
*/

:root {
      --ink: #4f4a42;
      --sub: #7d7569;
      --green: #9fb37a;
      --green-soft: #eef5e8;
      --yellow: #efd47b;
      --yellow-soft: #fff7d9;
      --blue: #a9d7e3;
      --blue-soft: #eef9fb;
      --pink: #eeb0a9;
      --beige: #f7f2ea;
      --line: #e8decd;
      --white: #fff;
      --radius-lg: 26px;
      --radius-md: 18px;
      --shadow: 0 18px 45px rgba(111, 92, 60, .10);
      --max: 1120px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
      letter-spacing: .06em;
      line-height: 1.85;
      background:
        radial-gradient(circle at 18% 18%, rgba(239,212,123,.18), transparent 28%),
        radial-gradient(circle at 86% 24%, rgba(169,215,227,.22), transparent 26%),
        #fffdf9;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

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

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(232,222,205,.65);
    }

    .header-inner {
      height: 86px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      padding: 0 36px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 13px;
      font-weight: 700;
      line-height: 1.35;
      white-space: nowrap;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      position: relative;
      border-radius: 50%;
      background: #fff7df;
      border: 1px solid #ecd99b;
    }

    .logo-mark::before,
    .logo-mark::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      background: var(--green);
      transform-origin: bottom center;
    }

    .logo-mark::before {
      width: 9px;
      height: 25px;
      left: 16px;
      bottom: 8px;
      transform: rotate(-36deg);
      box-shadow:
        10px -2px 0 #c5d49f,
        19px -1px 0 #efc86f;
    }

    .logo-mark::after {
      width: 6px;
      height: 28px;
      left: 18px;
      bottom: 6px;
      transform: rotate(14deg);
      background: #dfb85c;
    }

    .logo-main {
      font-size: 19px;
    }

    .logo-sub {
      display: block;
      font-size: 16px;
      color: #6d7561;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: 14px;
      font-weight: 700;
      color: #5d574d;
    }

    .nav a {
      position: relative;
      padding: 8px 0;
    }

    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 0;
      height: 2px;
      border-radius: 99px;
      background: var(--yellow);
      transition: .25s ease;
    }

    .nav a:hover::after {
      width: 100%;
    }

    .nav .contact-link {
      padding: 10px 18px;
      border: 1px solid #e2ca7c;
      border-radius: 999px;
      background: #fffdf4;
    }

    .nav .contact-link::after {
      display: none;
    }

    .hero {
      position: relative;
      min-height: 690px;
      display: grid;
      align-items: center;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 32%, rgba(255,255,255,.12) 62%),
        url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat;
    }

    /* 画像が未設定でも雰囲気が分かる仮背景 */
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(180deg, rgba(187,220,245,.62), rgba(255,255,255,.15) 34%, rgba(139,168,112,.46)),
        radial-gradient(circle at 68% 48%, #d9e3c7 0 12%, transparent 13%),
        linear-gradient(135deg, #d8e9f8 0%, #edf3e1 48%, #9db57a 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 74px;
      background: #fffdf9;
      clip-path: ellipse(62% 70% at 50% 100%);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: min(520px, calc(100% - 48px));
      margin-left: max(44px, calc((100vw - var(--max)) / 2));
      padding: 68px 64px;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(255,255,255,.78);
      border-radius: 0 32px 32px 0;
      box-shadow: 0 20px 60px rgba(92,98,72,.12);
    }

    .hero-title {
      margin: 0 0 30px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(31px, 4vw, 45px);
      letter-spacing: .16em;
      line-height: 1.7;
      font-weight: 600;
    }

    .small-line {
      width: 46px;
      height: 2px;
      background: var(--yellow);
      margin: 0 0 28px;
    }

    .hero-lead {
      margin: 0 0 30px;
      font-size: 15px;
      line-height: 2.1;
      color: #676056;
    }

    .hero-actions,
    .button-row {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-width: 150px;
      padding: 12px 20px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 700;
      border: 1px solid transparent;
      transition: .25s ease;
    }

    .btn::after {
      content: "›";
      font-size: 18px;
      line-height: 1;
      transform: translateY(-1px);
    }

    .btn-yellow {
      background: #f1d985;
      border-color: #e6c86c;
    }

    .btn-blue {
      background: #c8e8ef;
      border-color: #a9d7e3;
    }

    .btn-white {
      background: #fff;
      border-color: #e6d4b9;
    }

    .btn-pink {
      background: #fff;
      color: #d57872;
      border-color: #f0b5af;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(111,92,60,.13);
    }

    section {
      position: relative;
    }

    .section-pad {
      padding: 92px 0;
    }

    .section-title {
      text-align: center;
      margin: 0 0 38px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 24px;
      letter-spacing: .16em;
      font-weight: 600;
    }

    .section-kicker {
      display: block;
      margin-bottom: 12px;
      color: #9d9367;
      font-size: 15px;
      font-family: "Yu Gothic", "YuGothic", sans-serif;
      letter-spacing: .2em;
    }

    .leaf {
      color: #b6bd77;
      font-size: 20px;
      letter-spacing: .1em;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 78px;
      align-items: center;
    }

    .photo-card {
      border-radius: 28px;
      overflow: hidden;
      box-shadow: var(--shadow);
      background:
        linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.9)),
        #efddc0;
      min-height: 310px;
      display: grid;
      place-items: center;
      color: #9c856a;
      font-weight: 700;
      letter-spacing: .18em;
    }

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

    .intro-text {
      max-width: 460px;
    }

    .intro-text h2 {
      margin: 0 0 22px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 30px;
      letter-spacing: .18em;
      line-height: 1.8;
    }

    .intro-text p {
      margin: 0 0 28px;
      color: var(--sub);
      font-size: 15px;
      line-height: 2.2;
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 700;
      border-bottom: 2px solid #e8cc78;
      padding-bottom: 5px;
    }

    .text-link::after {
      content: "○";
      color: #d2aa42;
      font-size: 12px;
    }

    .school-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .school-card {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 30px;
      align-items: center;
      min-height: 250px;
      padding: 28px;
      border-radius: 22px;
      background: rgba(255,255,255,.78);
      box-shadow: 0 14px 36px rgba(95,83,61,.06);
    }

    .school-card.yellow {
      border: 2px solid #eed275;
    }

    .school-card.blue {
      border: 2px solid #aedce8;
    }

    .thumb {
      min-height: 178px;
      border-radius: 14px;
      overflow: hidden;
      display: grid;
      place-items: center;
      background:
        linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.72)),
        #d6e4c7;
      color: #8a906c;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .school-card.blue .thumb {
      background:
        linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.72)),
        #d9e7eb;
    }

    .school-card h3 {
      margin: 0 0 6px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 21px;
      letter-spacing: .12em;
    }

    .school-card .meta {
      margin: 0 0 18px;
      color: #786f65;
      font-size: 13px;
      font-weight: 700;
    }

    .school-card p {
      margin: 0 0 24px;
      color: var(--sub);
      font-size: 14px;
      line-height: 2;
    }

    .features {
      padding: 70px 0;
      background:
        linear-gradient(90deg, rgba(255,247,217,.88), rgba(255,255,255,.92), rgba(255,247,217,.88));
      border-top: 1px solid rgba(239,212,123,.18);
      border-bottom: 1px solid rgba(239,212,123,.18);
    }

    .feature-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 34px;
      text-align: center;
    }

    .feature-icon {
      width: 76px;
      height: 76px;
      margin: 0 auto 14px;
      border-radius: 50%;
      border: 2px solid #dfd8b7;
      background: #fff;
      display: grid;
      place-items: center;
      color: #8ea56d;
      font-size: 32px;
    }

    .feature-list h3 {
      margin: 0 0 9px;
      font-size: 18px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      letter-spacing: .12em;
    }

    .feature-list p {
      margin: 0;
      color: var(--sub);
      font-size: 13px;
      line-height: 1.9;
    }

    .life-tabs {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 30px;
    }

    .tab-pill {
      min-width: 140px;
      padding: 8px 20px;
      border-radius: 999px;
      border: 1px solid #e5dccb;
      background: #fff;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .tab-pill.active {
      background: #f0d97f;
      border-color: #e6c96e;
    }

    .life-gallery {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 18px;
    }

    .life-item .life-photo {
      aspect-ratio: 1.22 / 1;
      border-radius: 12px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.75)),
        #d8dfc3;
      display: grid;
      place-items: center;
      color: #828c6a;
      font-size: 12px;
      font-weight: 700;
      text-align: center;
    }

    .life-item p {
      margin: 10px 0 0;
      color: #675e55;
      font-size: 13px;
      font-weight: 700;
    }

    .center {
      text-align: center;
      margin-top: 28px;
    }

    .guide-box {
      background: #f5efe7;
      border-radius: 26px;
      padding: 34px;
      box-shadow: 0 16px 44px rgba(94,76,48,.06);
    }

    .guide-grid {
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 28px;
    }

    .reserve-card,
    .flow-card {
      background: rgba(255,255,255,.82);
      border-radius: 22px;
      padding: 34px;
    }

    .guide-box h2 {
      margin: 0 0 26px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 22px;
      letter-spacing: .16em;
    }

    .reserve-card h3,
    .flow-card h3 {
      margin: 0 0 18px;
      font-size: 18px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    }

    .reserve-card p {
      margin: 0 0 22px;
      font-size: 14px;
      color: var(--sub);
    }

    .flow-list {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
      align-items: start;
      text-align: center;
    }

    .flow-item {
      position: relative;
      color: #6b6258;
      font-size: 13px;
      font-weight: 700;
    }

    .flow-item:not(:last-child)::after {
      content: "›";
      position: absolute;
      right: -9px;
      top: 32px;
      color: #c9ad62;
      font-size: 22px;
    }

    .flow-icon {
      width: 58px;
      height: 58px;
      margin: 0 auto 10px;
      border: 1px solid #e1d8c8;
      border-radius: 18px;
      background: #fff;
      display: grid;
      place-items: center;
      font-size: 26px;
      color: #9aa673;
    }

    .recruit {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      align-items: center;
      overflow: hidden;
      border-radius: 26px;
      background: #f8f3eb;
      box-shadow: 0 16px 44px rgba(94,76,48,.06);
    }

    .recruit-photo {
      min-height: 270px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.78)),
        #eadbd5;
      display: grid;
      place-items: center;
      color: #9b7770;
      font-weight: 700;
      letter-spacing: .18em;
    }

    .recruit-body {
      padding: 46px 64px;
    }

    .recruit-body h2 {
      margin: 0 0 18px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 24px;
      line-height: 1.8;
      letter-spacing: .13em;
    }

    .recruit-body p {
      margin: 0 0 24px;
      color: var(--sub);
      font-size: 14px;
      line-height: 2.1;
    }

    .news-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 52px;
      align-items: center;
    }

    .news-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .news-head h2 {
      margin: 0;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 24px;
      letter-spacing: .18em;
    }

    .news-list {
      border-top: 1px solid #e9dfd1;
    }

    .news-item {
      display: grid;
      grid-template-columns: 120px 92px 1fr;
      gap: 18px;
      align-items: center;
      padding: 17px 0;
      border-bottom: 1px solid #e9dfd1;
      font-size: 14px;
    }

    .news-date {
      color: #81786e;
      font-weight: 700;
    }

    .cat {
      display: inline-flex;
      justify-content: center;
      padding: 3px 12px;
      border-radius: 999px;
      background: #f1e8ca;
      font-size: 12px;
      font-weight: 700;
      color: #8d7b3e;
    }

    .cat.blue {
      background: #dceff3;
      color: #5a8590;
    }

    .news-photo {
      aspect-ratio: 1.42 / 1;
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.72)),
        #dce8cf;
      display: grid;
      place-items: center;
      color: #78915e;
      font-size: 13px;
      font-weight: 700;
      box-shadow: var(--shadow);
    }

    .access {
      padding-top: 24px;
    }

    .access-title {
      text-align: center;
      margin: 0 0 28px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 26px;
      letter-spacing: .18em;
    }

    .access-grid {
      display: grid;
      grid-template-columns: 220px 1fr 220px;
      gap: 22px;
      align-items: stretch;
    }

    .access-card {
      background: #fff;
      border: 1px solid #e9d9a1;
      border-radius: 16px;
      padding: 25px;
      box-shadow: 0 12px 28px rgba(87,75,52,.05);
    }

    .access-card.blue {
      border-color: #b9e0e9;
    }

    .access-card h3 {
      margin: 0 0 10px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 18px;
      letter-spacing: .12em;
    }

    .access-card p {
      margin: 0 0 16px;
      font-size: 13px;
      color: var(--sub);
      line-height: 1.8;
    }

    .map {
      border-radius: 16px;
      border: 1px solid #e8decd;
      overflow: hidden;
      min-height: 205px;
      background:
        linear-gradient(90deg, rgba(255,249,234,.75), rgba(234,246,248,.75)),
        repeating-linear-gradient(34deg, transparent 0 26px, rgba(197,176,128,.16) 27px 29px),
        #f5efe5;
      position: relative;
    }

    .map::before,
    .map::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      background: rgba(217,133,125,.9);
      width: 16px;
      height: 16px;
      box-shadow: 0 0 0 8px rgba(217,133,125,.16);
    }

    .map::before {
      left: 48%;
      top: 40%;
    }

    .map::after {
      left: 64%;
      top: 55%;
    }

    .parking {
      margin: 18px 0 0;
      text-align: center;
      color: #756e64;
      font-size: 14px;
      font-weight: 700;
    }

    .site-footer {
      margin-top: 80px;
      padding: 48px 0 38px;
      border-top: 1px solid #ebe0d1;
      background: #fffdf9;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
      gap: 36px;
      align-items: start;
    }

    .footer-copy {
      color: var(--sub);
      font-size: 13px;
      line-height: 2;
    }

    .sns {
      display: flex;
      gap: 14px;
      margin-top: 18px;
    }

    .sns a {
      width: 34px;
      height: 34px;
      border: 1px solid #e3d8c6;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 700;
    }

    .footer-links {
      display: grid;
      gap: 8px;
      color: #746b61;
      font-size: 13px;
      font-weight: 700;
    }

    .footer-info {
      color: #746b61;
      font-size: 13px;
      line-height: 1.9;
    }

    .copyright {
      margin-top: 26px;
      color: #9a9288;
      font-size: 12px;
      text-align: right;
    }

    .deco-leaf {
      position: absolute;
      color: rgba(166,179,111,.55);
      font-size: 58px;
      line-height: 1;
      pointer-events: none;
    }

    .deco-1 {
      right: 9%;
      bottom: 52px;
      transform: rotate(-18deg);
    }

    .deco-2 {
      left: 5%;
      bottom: 24px;
      transform: rotate(24deg);
    }



    /* WordPress menu support */
    .nav .nav-list {
      display: flex;
      align-items: center;
      gap: 26px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav .nav-list li {
      margin: 0;
      padding: 0;
    }

    .nav .nav-list a {
      position: relative;
      padding: 8px 0;
    }

    .nav .nav-list a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 0;
      height: 2px;
      border-radius: 99px;
      background: var(--yellow);
      transition: .25s ease;
    }

    .nav .nav-list a:hover::after {
      width: 100%;
    }

    .nav .menu-item-contact a {
      padding: 10px 18px;
      border: 1px solid #e2ca7c;
      border-radius: 999px;
      background: #fffdf4;
    }

    .nav .menu-item-contact a::after {
      display: none;
    }

    .photo-card img,
    .thumb img,
    .life-photo img,
    .recruit-photo img,
    .news-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    body.admin-bar .site-header {
      top: 32px;
    }

    .screen-reader-text {
      border: 0;
      clip: rect(1px, 1px, 1px, 1px);
      clip-path: inset(50%);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
      word-wrap: normal !important;
    }

    .page-content,
    .post-content {
      width: min(calc(100% - 48px), var(--max));
      margin: 0 auto;
      padding: 72px 0;
    }

    .post-content h1,
    .page-content h1,
    .archive-title {
      margin: 0 0 28px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(30px, 4vw, 42px);
      letter-spacing: .12em;
      line-height: 1.6;
    }

    .post-meta {
      color: var(--sub);
      font-size: 14px;
      margin-bottom: 28px;
    }

    .post-card {
      padding: 28px 0;
      border-bottom: 1px solid #e9dfd1;
    }

    .post-card h2 {
      margin: 0 0 8px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 23px;
    }

    .post-card p {
      color: var(--sub);
      margin: 0;
    }

    .pagination {
      margin-top: 34px;
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .pagination .page-numbers {
      min-width: 36px;
      height: 36px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid #e5dccb;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      font-weight: 700;
    }

    .pagination .current {
      background: #f0d97f;
      border-color: #e6c96e;
    }

    @media (max-width: 782px) {
      body.admin-bar .site-header {
        top: 46px;
      }
    }

    @media (max-width: 1040px) {
      .nav .nav-list {
        display: none;
      }
    }

    @media (max-width: 1040px) {
      .nav {
        display: none;
      }

      .header-inner {
        padding: 0 22px;
      }

      .hero-content {
        margin-left: 24px;
        padding: 48px 36px;
      }

      .intro-grid,
      .news-grid,
      .guide-grid,
      .recruit,
      .access-grid {
        grid-template-columns: 1fr;
      }

      .school-card {
        grid-template-columns: 1fr;
      }

      .feature-list {
        grid-template-columns: repeat(2, 1fr);
      }

      .life-gallery {
        grid-template-columns: repeat(3, 1fr);
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .copyright {
        text-align: left;
      }
    }

    @media (max-width: 640px) {
      body {
        letter-spacing: .03em;
      }

      .container {
        width: min(calc(100% - 28px), var(--max));
      }

      .site-header {
        position: static;
      }

      .header-inner {
        height: 72px;
      }

      .logo-main {
        font-size: 16px;
      }

      .logo-sub {
        font-size: 13px;
      }

      .hero {
        min-height: 620px;
        background:
          linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.56)),
          url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat;
      }

      .hero-content {
        width: calc(100% - 28px);
        margin: 0 auto;
        border-radius: 26px;
        padding: 34px 24px;
      }

      .hero-title {
        font-size: 29px;
      }

      .section-pad {
        padding: 64px 0;
      }

      .intro-grid {
        gap: 36px;
      }

      .school-cards,
      .feature-list,
      .life-gallery,
      .flow-list,
      .footer-grid {
        grid-template-columns: 1fr;
      }

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

      .guide-box,
      .reserve-card,
      .flow-card,
      .recruit-body {
        padding: 24px;
      }

      .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
      }

      .life-tabs {
        flex-direction: column;
        align-items: center;
      }

      .btn {
        min-width: auto;
        width: 100%;
      }
    }


/* Uploaded TOP images */
.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 32%, rgba(255,255,255,.12) 62%),
    url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat;
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.56)),
      url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat;
  }
}

/* =========================================================
   Layout repair + gentle animation - 全ページ共通・安全版
   ========================================================= */

/* キービジュアルを確実に表示。プレースホルダー用の疑似背景は停止 */
.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 32%, rgba(255,255,255,.12) 62%),
    url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat !important;
}

.hero::before {
  display: none !important;
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.56)),
      url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") center / cover no-repeat !important;
  }
}

/* アニメーション共通 */
:root {
  --satsuki-ease: cubic-bezier(.22, 1, .36, 1);
  --satsuki-duration: 1.05s;
}

/*
  以前のように section 全体へ transform をかけると、
  背景・重なり・高さ計算に影響することがあるため、
  個別要素だけをふわっと出します。
*/
.satsuki-animate {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity var(--satsuki-duration) var(--satsuki-ease),
    transform var(--satsuki-duration) var(--satsuki-ease),
    filter var(--satsuki-duration) var(--satsuki-ease);
  will-change: opacity, transform;
}

.satsuki-animate.satsuki-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* タイトル・本文 */
.satsuki-title-animate {
  transform: translate3d(0, 22px, 0);
  filter: blur(3px);
}

.satsuki-title-animate.satsuki-inview {
  filter: blur(0);
}

.satsuki-text-animate {
  transform: translate3d(0, 18px, 0);
}

/* 写真・カード */
.satsuki-image-animate {
  transform: translate3d(0, 24px, 0) scale(.985);
}

.satsuki-image-animate.satsuki-inview {
  transform: translate3d(0, 0, 0) scale(1);
}

/* 順番にゆっくり出す */
.satsuki-delay-1 { transition-delay: .06s; }
.satsuki-delay-2 { transition-delay: .12s; }
.satsuki-delay-3 { transition-delay: .18s; }
.satsuki-delay-4 { transition-delay: .24s; }
.satsuki-delay-5 { transition-delay: .30s; }
.satsuki-delay-6 { transition-delay: .36s; }

/* ファーストビュー */
.hero-content {
  animation: satsukiHeroContent 1.25s var(--satsuki-ease) .25s both;
}

.hero-title {
  animation: satsukiHeroTitle 1.3s var(--satsuki-ease) .38s both;
}

.hero-lead,
.hero-actions {
  animation: satsukiHeroText 1.05s var(--satsuki-ease) .55s both;
}

/* 装飾だけ常時ゆっくり動かす */
.logo-mark,
.deco-leaf {
  animation: satsukiFloat 7s ease-in-out infinite;
}

.deco-1 {
  animation-duration: 7.6s;
}

.deco-2 {
  animation-duration: 8.4s;
  animation-delay: .8s;
}

.leaf {
  display: inline-block;
  animation: satsukiTinySwing 5.8s ease-in-out infinite;
}

.hero::after {
  animation: satsukiWave 9s ease-in-out infinite;
}

/* ホバー時のささやかな動き */
.school-card,
.life-item,
.post-card,
.access-card,
.photo-card,
.recruit,
.guide-box {
  transition:
    transform .45s var(--satsuki-ease),
    box-shadow .45s var(--satsuki-ease);
}

.school-card:hover,
.life-item:hover,
.post-card:hover,
.access-card:hover,
.photo-card:hover,
.recruit:hover,
.guide-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(111, 92, 60, .12);
}

.life-photo img,
.thumb img,
.photo-card img,
.recruit-photo img,
.news-photo img {
  transition: transform 1.4s var(--satsuki-ease);
}

.life-item:hover .life-photo img,
.school-card:hover .thumb img,
.photo-card:hover img,
.recruit:hover .recruit-photo img,
.news-photo:hover img {
  transform: scale(1.045);
}

@keyframes satsukiHeroContent {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes satsukiHeroTitle {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

@keyframes satsukiFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes satsukiTinySwing {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-2px);
  }
}

@keyframes satsukiWave {
  0%, 100% {
    clip-path: ellipse(62% 70% at 50% 100%);
  }
  50% {
    clip-path: ellipse(68% 76% at 50% 100%);
  }
}

/* 動きが苦手な方への配慮 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .satsuki-animate,
  .satsuki-title-animate,
  .satsuki-text-animate,
  .satsuki-image-animate {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================================
   Typography / line-count repair + back to top
   見本に合わせた文字組み調整
   ========================================================= */

/* 日本語の不自然な途中改行を抑える */
.hero-title,
.section-title,
.access-title,
.intro-text h2,
.recruit-body h2,
.news-head h2,
.school-card h3,
.feature-list h3,
.guide-box h2,
.reserve-card h3,
.flow-card h3,
.access-card h3,
.post-content h1,
.page-content h1,
.archive-title {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  font-feature-settings: "palt";
}

.keep-line {
  white-space: nowrap;
}

/* 見本に近い、ゆったりした明朝系の文字組み */
body {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
  color: #4f4a42;
}

.hero-title,
.section-title,
.access-title,
.intro-text h2,
.recruit-body h2,
.news-head h2,
.school-card h3,
.feature-list h3,
.guide-box h2,
.reserve-card h3,
.flow-card h3,
.access-card h3,
.post-content h1,
.page-content h1,
.archive-title {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 600;
}

/* キービジュアル：見本の3行に戻す */
.hero {
  min-height: 610px;
}

.hero-content {
  width: min(560px, calc(100% - 48px));
  padding: 62px 58px;
}

.hero-title {
  font-size: clamp(31px, 3.2vw, 39px);
  line-height: 1.72;
  letter-spacing: .12em;
  margin-bottom: 28px;
}

/* 本文は見本のように小さく、行間を広めに */
.hero-lead,
.intro-text p,
.school-card p,
.feature-list p,
.reserve-card p,
.recruit-body p,
.access-card p,
.footer-copy,
.footer-info {
  letter-spacing: .055em;
  line-height: 2.05;
}

.hero-lead {
  font-size: 14px;
}

/* 「さつきの想い」も見本に近い行数へ */
.intro-text {
  max-width: 500px;
}

.intro-text h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.85;
  letter-spacing: .15em;
}

/* セクションタイトルの字間と余白 */
.section-title,
.access-title {
  letter-spacing: .14em;
  line-height: 1.6;
}

/* 園紹介カード：文字が詰まりすぎないよう微調整 */
.school-card {
  grid-template-columns: 220px minmax(0, 1fr);
}

.school-card h3 {
  letter-spacing: .10em;
  line-height: 1.5;
}

.school-card .meta {
  line-height: 1.7;
}

/* 暮らし・行事のラベルが変な位置で割れないように */
.life-item p,
.tab-pill,
.btn,
.text-link,
.news-item span,
.cat {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

/* 下層ページでも本文が読みやすいように */
.page-content,
.post-content {
  font-size: 16px;
}

.page-content p,
.post-content p,
.entry-content p {
  line-height: 2.05;
  letter-spacing: .055em;
}

/* トップに戻るボタン */
.satsuki-page-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(226, 202, 124, .9);
  border-radius: 999px;
  background: rgba(255, 253, 244, .92);
  color: #7b6b3c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(111, 92, 60, .15);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity .35s var(--satsuki-ease),
    visibility .35s var(--satsuki-ease),
    transform .35s var(--satsuki-ease),
    box-shadow .35s var(--satsuki-ease);
}

.satsuki-page-top::before {
  content: "⌃";
  font-size: 20px;
  line-height: 1;
  transform: translateY(2px);
}

.satsuki-page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.satsuki-page-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(111, 92, 60, .2);
}

/* PC幅でのバランス調整 */
@media (min-width: 1041px) {
  .hero-content {
    margin-left: max(44px, calc((100vw - var(--max)) / 2));
  }

  .hero-title .keep-line {
    display: inline-block;
  }
}

/* タブレット以下は横幅に合わせて自然に縮める */
@media (max-width: 1040px) {
  .hero-content {
    width: min(540px, calc(100% - 48px));
    padding: 52px 42px;
  }

  .hero-title {
    font-size: clamp(29px, 4vw, 36px);
  }
}

/* スマホは3行固定を優先しつつ、はみ出しを防ぐ */
@media (max-width: 640px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 34px 24px;
  }

  .hero-title {
    font-size: clamp(25px, 7.1vw, 31px);
    line-height: 1.7;
    letter-spacing: .08em;
  }

  .hero-title .keep-line {
    white-space: nowrap;
  }

  .intro-text h2,
  .recruit-body h2 {
    font-size: 24px;
    letter-spacing: .12em;
  }

  .satsuki-page-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 11px;
  }
}

/* =========================================================
   Rounded nursery font + real SVG flow icons
   保育園らしい丸文字・入園フローアイコン
   ========================================================= */

/* サイト全体を丸ゴシックへ */
body,
button,
input,
textarea,
select,
.nav,
.logo,
.btn,
.text-link,
.hero-lead,
.intro-text p,
.school-card p,
.feature-list p,
.reserve-card p,
.recruit-body p,
.news-item,
.access-card p,
.footer-copy,
.footer-info,
.page-content,
.post-content,
.entry-content {
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif !important;
  font-weight: 500;
}

/* 見出しも丸文字へ統一。やわらかく、やや太め */
.hero-title,
.section-title,
.access-title,
.intro-text h2,
.recruit-body h2,
.news-head h2,
.school-card h3,
.feature-list h3,
.guide-box h2,
.reserve-card h3,
.flow-card h3,
.access-card h3,
.post-content h1,
.page-content h1,
.archive-title {
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif !important;
  font-weight: 700;
  color: #565047;
}

/* キービジュアル見出しは見本に近い、丸くて読みやすい太さ */
.hero-title {
  font-weight: 700;
  letter-spacing: .11em;
}

/* 小さな本文は少し太めにして、見本の可読性へ */
.hero-lead,
.intro-text p,
.school-card p,
.feature-list p,
.reserve-card p,
.recruit-body p,
.news-item,
.access-card p {
  font-weight: 500;
}

/* 入園までの流れ：絵文字を使わない線画アイコン */
.flow-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: #a69f93;
  font-size: 0;
}

.flow-icon svg {
  width: 56px;
  height: 56px;
  display: block;
  overflow: visible;
}

.flow-icon svg path,
.flow-icon svg rect,
.flow-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-icon svg circle {
  fill: none;
}

.flow-icon-flower {
  color: #96a86d;
}

.flow-icon-flower .flower-accent {
  color: #df8f8a;
  stroke: #df8f8a;
}

.flow-item {
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif !important;
  font-weight: 700;
  color: #5f584e;
  letter-spacing: .06em;
}

.flow-item:not(:last-child)::after {
  top: 27px;
  color: #d2aa42;
}

/* アイコンが入った分、フロー全体の余白を見本寄りに */
.flow-list {
  align-items: start;
}

@media (max-width: 640px) {
  .flow-icon {
    width: 58px;
    height: 58px;
  }

  .flow-icon svg {
    width: 50px;
    height: 50px;
  }
}

/* =========================================================
   Feature icons image replacement
   さつきの保育の特徴：画像アイコン化
   ========================================================= */

.feature-icon.feature-icon-image {
  width: 92px;
  height: 92px;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  margin-bottom: 16px;
}

.feature-icon.feature-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* 1254px角の画像を表示枠に合わせて自動調整 */
.feature-list article {
  min-width: 0;
}

@media (max-width: 640px) {
  .feature-icon.feature-icon-image {
    width: 84px;
    height: 84px;
  }
}

/* =========================================================
   Feature icons circle crop
   さつきの保育の特徴：アイコンを円形トリミング
   ========================================================= */

.feature-icon.feature-icon-image {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.feature-icon.feature-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 640px) {
  .feature-icon.feature-icon-image {
    width: 84px;
    height: 84px;
  }
}

/* =========================================================
   Access section repair
   アクセス・お問い合わせ：住所/ボタン位置調整
   ========================================================= */

.access-grid {
  grid-template-columns: 260px 1fr 260px;
}

.access-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 250px;
}

.access-card p {
  margin-bottom: 20px;
}

.access-card .btn {
  align-self: center;
  margin-top: auto;
  min-width: 190px;
  text-align: center;
}

.address-nowrap {
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: auto;
  }

  .access-card .btn {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .address-nowrap {
    white-space: normal;
  }

  .access-card .btn {
    width: 100%;
  }
}

/* =========================================================
   Access Google Maps embed
   アクセス・お問い合わせ：Googleマップ埋め込み
   ========================================================= */

.map.map-embed-area {
  min-height: 250px;
  padding: 12px;
  background: #fffdf9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 1px solid #e8decd;
  position: relative;
}

/* 既存の仮マップ用ピンを非表示 */
.map.map-embed-area::before,
.map.map-embed-area::after {
  display: none;
}

.map-embed-item {
  min-width: 0;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(232, 222, 205, .75);
  position: relative;
}

.map-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #5f584e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 6px 16px rgba(111, 92, 60, .12);
  backdrop-filter: blur(8px);
}

.map-embed-item iframe {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  border: 0;
}

@media (max-width: 1040px) {
  .map.map-embed-area {
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
  }

  .map-embed-item iframe {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .map.map-embed-area {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .map-embed-item iframe {
    min-height: 240px;
  }
}

/* =========================================================
   Flow icons image replacement
   入園までの流れ：画像アイコン化
   ========================================================= */

.flow-icon.flow-icon-image {
  width: 72px;
  height: 58px;
  margin: 0 auto 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.flow-icon.flow-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* 既存のSVG用指定が残っていても影響しないようにする */
.flow-icon.flow-icon-image svg {
  display: none;
}

@media (max-width: 640px) {
  .flow-icon.flow-icon-image {
    width: 66px;
    height: 52px;
  }
}

/* =========================================================
   Flow layout repair
   入園までの流れ：5項目を横並び表示に修正
   ========================================================= */

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(80px, 1fr));
  gap: 18px;
  align-items: start;
  text-align: center;
}

.flow-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  color: #5f584e;
  font-size: 14px;
  font-weight: 700;
}

.flow-item:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 26px;
  color: #d2aa42;
  font-size: 26px;
  line-height: 1;
}

.flow-icon.flow-icon-image {
  width: 72px;
  height: 58px;
  margin: 0 auto 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.flow-icon.flow-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.flow-label {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.flow-number {
  font-size: 13px;
  font-weight: 700;
  color: #5f584e;
}

@media (max-width: 1040px) {
  .flow-list {
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    gap: 12px;
  }

  .flow-item:not(:last-child)::after {
    right: -10px;
  }
}

@media (max-width: 640px) {
  .flow-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .flow-icon.flow-icon-image {
    width: 66px;
    height: 52px;
  }
}

/* =========================================================
   Flow icon size adjustment
   1〜3のアイコンのみ80%サイズに調整
   ========================================================= */

.flow-item:nth-child(1) .flow-icon.flow-icon-image img,
.flow-item:nth-child(2) .flow-icon.flow-icon-image img,
.flow-item:nth-child(3) .flow-icon.flow-icon-image img {
  width: 80%;
  height: 80%;
}

/* =========================================================
   Hero crossfade slider
   キービジュアル：3枚の画像をふわっと切り替え
   ========================================================= */

.hero {
  background: #fff !important;
  isolation: isolate;
}

.hero::before {
  display: none !important;
}

.hero::after {
  z-index: 3;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 32%, rgba(255,255,255,.12) 62%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.035);
  animation: satsukiHeroCrossfade 18s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-slide-1 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png");
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/02/hero-kodomoen.jpg.jpg");
  animation-delay: 6s;
}

.hero-slide-3 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/27425146_m.jpg");
  animation-delay: 12s;
}

.hero-content {
  z-index: 5;
}

@keyframes satsukiHeroCrossfade {
  0% {
    opacity: 0;
    transform: scale(1.035);
  }
  8% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  38% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@media (max-width: 640px) {
  .hero-slides::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.56));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none !important;
  }

  .hero-slide-1 {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Corporate page
   法人紹介ページ
   ========================================================= */

.corporate-page {
  overflow: hidden;
}

.sub-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.18) 70%),
    url("https://satsukids.com/wp-content/uploads/2026/02/hero-kodomoen.jpg.jpg") center / cover no-repeat;
}

.sub-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42px;
  background: #fffdf9;
  clip-path: ellipse(62% 70% at 50% 100%);
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
  color: #a69668;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a::after {
  content: ">";
  margin-left: 12px;
  color: #c8b985;
}

.sub-hero-text {
  max-width: 520px;
}

.sub-hero-text h1 {
  margin: 0 0 18px;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: .16em;
  color: #4f4a42;
}

.sub-hero-sub {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 700;
  color: #5b554d;
}

.sub-hero-text p:not(.sub-hero-sub) {
  margin: 0;
  color: #5f584f;
  line-height: 2.2;
  font-weight: 500;
}

.corporate-section {
  padding: 78px 0;
  position: relative;
}

.corporate-section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.6;
  letter-spacing: .14em;
  font-weight: 700;
  color: #565047;
}

.corporate-section-lead {
  margin: 0 auto 42px;
  max-width: 820px;
  text-align: center;
  color: #5f584f;
  line-height: 2.15;
  font-weight: 500;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.philosophy-card {
  min-height: 270px;
  padding: 34px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  border: 1px solid #ead9a7;
  text-align: center;
  box-shadow: 0 12px 32px rgba(111, 92, 60, .06);
}

.philosophy-card.card-green {
  border-color: #d8e4bd;
  background: rgba(250,255,244,.82);
}

.philosophy-card.card-blue {
  border-color: #cfe9ef;
  background: rgba(246,253,255,.82);
}

.philosophy-card.card-pink {
  border-color: #f0c8c2;
  background: rgba(255,249,248,.82);
}

.philosophy-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

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

.philosophy-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: .08em;
}

.philosophy-card p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #6b6258;
  font-weight: 500;
}

.greeting-section {
  padding-top: 40px;
}

.greeting-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.greeting-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(111, 92, 60, .10);
}

.greeting-photo img {
  width: 100%;
  aspect-ratio: 1.46 / 1;
  object-fit: cover;
}

.greeting-text p {
  margin: 0 0 22px;
  line-height: 2.15;
  color: #5f584f;
  font-weight: 500;
}

.greeting-sign {
  margin-top: 34px !important;
  text-align: right;
}

.greeting-sign span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #7e7468;
}

.greeting-sign strong {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 33px;
  letter-spacing: .28em;
  font-weight: 500;
}

.history-section {
  padding-top: 30px;
}

.history-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.history-list {
  position: relative;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.history-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #cbd69b;
}

.history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid #e9dfd1;
  color: #5f584f;
  font-weight: 600;
}

.history-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b8c978;
}

.history-date {
  color: #6e7656;
}

.history-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(111, 92, 60, .10);
}

.history-photo img {
  width: 100%;
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
}

.overview-section {
  padding-top: 40px;
}

.overview-table-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #ead9a7;
  background: rgba(255,255,255,.85);
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.overview-table th,
.overview-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #eadfca;
  text-align: left;
  line-height: 1.8;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  width: 190px;
  background: rgba(255,246,218,.75);
  color: #6a604f;
  font-weight: 700;
}

.overview-table td {
  color: #5f584f;
  font-weight: 500;
}

.facilities-section {
  padding-top: 40px;
}

.facility-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.facility-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  padding: 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 36px rgba(111, 92, 60, .06);
}

.facility-card.yellow {
  border: 1px solid #ead172;
}

.facility-card.blue {
  border: 1px solid #a9d7e3;
}

.facility-photo {
  border-radius: 13px;
  overflow: hidden;
}

.facility-photo img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.facility-body h3 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: .08em;
}

.facility-body p {
  margin: 0 0 20px;
  color: #5f584f;
  line-height: 2;
  font-weight: 500;
}

.lower-contact-section {
  padding-top: 40px;
}

.lower-contact-box {
  padding: 52px 40px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 80%, rgba(239,212,123,.18), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(169,215,227,.20), transparent 26%),
    #f8f3eb;
  text-align: center;
  box-shadow: 0 16px 44px rgba(94,76,48,.06);
}

.lower-contact-box h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: .10em;
}

.lower-contact-box p {
  margin: 0 0 28px;
  color: #6b6258;
  font-weight: 500;
}

.lower-contact-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.lower-contact-actions .btn {
  min-width: 240px;
}

.corporate-feature-band {
  margin-top: 20px;
  padding: 48px 0;
  background:
    linear-gradient(90deg, rgba(255,247,217,.88), rgba(255,255,255,.92), rgba(255,247,217,.88));
  border-top: 1px solid rgba(239,212,123,.18);
  border-bottom: 1px solid rgba(239,212,123,.18);
}

.corporate-feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.corporate-feature-list img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  background: #fff;
}

.corporate-feature-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: .08em;
}

.corporate-feature-list p {
  margin: 0;
  font-size: 13px;
  color: #6b6258;
  line-height: 1.8;
  font-weight: 500;
}

@media (max-width: 1040px) {
  .philosophy-cards,
  .corporate-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .greeting-grid,
  .history-grid,
  .facility-cards {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .facility-card {
    grid-template-columns: 190px 1fr;
  }
}

@media (max-width: 640px) {
  .sub-hero {
    min-height: 420px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      url("https://satsukids.com/wp-content/uploads/2026/02/hero-kodomoen.jpg.jpg") center / cover no-repeat;
  }

  .sub-hero-inner {
    padding: 46px 0 70px;
  }

  .corporate-section {
    padding: 58px 0;
  }

  .philosophy-cards,
  .corporate-feature-list,
  .facility-card {
    grid-template-columns: 1fr;
  }

  .history-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
    padding: 13px 18px;
  }

  .overview-table th {
    border-bottom: none;
  }

  .lower-contact-box {
    padding: 38px 22px;
  }

  .lower-contact-actions .btn {
    min-width: 100%;
  }
}

/* =========================================================
   Corporate greeting section fix
   ごあいさつ：画像とテキストの高さ・縦位置調整
   ========================================================= */

.greeting-grid {
  align-items: center;
}

.greeting-photo {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.greeting-photo img {
  width: 100%;
  height: 360px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.greeting-text {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding-top: 0;
}

.greeting-text p:first-child {
  margin-top: 0;
}

.greeting-sign {
  margin-top: 26px !important;
}

.greeting-sign strong {
  letter-spacing: .18em;
}

@media (max-width: 1040px) {
  .greeting-grid {
    align-items: start;
  }

  .greeting-photo {
    max-width: 100%;
  }

  .greeting-photo img {
    height: auto;
    aspect-ratio: 1.46 / 1;
  }

  .greeting-text {
    min-height: auto;
  }
}

/* =========================================================
   Corporate history section fix
   沿革：年表本文の開始位置と画像上端を揃える
   ========================================================= */

.history-grid {
  align-items: start;
}

/* 左側は「見出し」＋「年表」。右側画像は年表の1行目に合わせる */
.history-photo {
  margin-top: 98px;
}

.history-photo img {
  display: block;
}

.corporate-feature-band {
  display: none !important;
}

@media (max-width: 1040px) {
  .history-photo {
    margin-top: 0;
  }
}

/* =========================================================
   Corporate alignment fix
   ごあいさつ・沿革：画像上端とテキスト上端を合わせる
   ========================================================= */

/* ごあいさつ：画像と本文の上端を合わせる */
.greeting-grid {
  align-items: start !important;
}

.greeting-photo {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.greeting-photo img {
  width: 100%;
  height: 360px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.greeting-text {
  align-self: start !important;
  display: block !important;
  min-height: 0 !important;
  padding-top: 0 !important;
}

.greeting-text p:first-child {
  margin-top: 0 !important;
}

.greeting-sign {
  margin-top: 28px !important;
}

/* 沿革：見出しの下に、年表と画像の2カラムを作る */
.history-grid {
  display: block !important;
}

.history-content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: start;
  margin-top: 34px;
}

.history-list {
  margin-top: 0 !important;
}

.history-photo {
  margin-top: 0 !important;
  align-self: start;
}

.history-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
  display: block;
}

/* 以前追加したmargin補正を無効化 */
.history-section .history-photo {
  margin-top: 0 !important;
}

@media (max-width: 1040px) {
  .greeting-photo img {
    height: auto;
    aspect-ratio: 1.46 / 1;
  }

  .history-content-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .history-content-grid {
    margin-top: 24px;
  }
}

/* =========================================================
   Hero visual repair
   TOP・法人紹介：キービジュアル下辺を直線に修正 / 法人画像差し替え
   ========================================================= */

/* TOPページ：下辺の白いカーブを削除 */
.hero::after {
  display: none !important;
}

/* 法人紹介ページ：キービジュアル画像を差し替え */
.corporate-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.18) 70%),
    url("https://satsukids.com/wp-content/uploads/2026/06/houzin1.png") center / cover no-repeat !important;
}

/* 法人紹介ページ：下辺の白いカーブを削除 */
.sub-hero::after,
.corporate-hero::after {
  display: none !important;
}

@media (max-width: 640px) {
  .corporate-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      url("https://satsukids.com/wp-content/uploads/2026/06/houzin1.png") center / cover no-repeat !important;
  }
}

/* =========================================================
   Satsuki Kodomoen page
   さつきこども園ページ
   ========================================================= */

.satsuki-page {
  overflow: hidden;
}

.satsuki-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 70%),
    url("https://satsukids.com/wp-content/uploads/2026/06/toppage-3.png") center / cover no-repeat !important;
}

.satsuki-hero::after {
  display: none !important;
}

.satsuki-section {
  position: relative;
  padding: 72px 0;
}

.satsuki-section-title {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
  color: #565047;
}

.satsuki-section-title.small {
  font-size: 22px;
  margin-bottom: 24px;
}

.satsuki-feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.satsuki-feature-card {
  min-height: 250px;
  padding: 32px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid #ead9a7;
  text-align: center;
  box-shadow: 0 12px 32px rgba(111, 92, 60, .06);
}

.satsuki-feature-card.card-green {
  border-color: #d8e4bd;
  background: rgba(250,255,244,.82);
}

.satsuki-feature-card.card-blue {
  border-color: #cfe9ef;
  background: rgba(246,253,255,.82);
}

.satsuki-feature-card.card-pink {
  border-color: #f0c8c2;
  background: rgba(255,249,248,.82);
}

.satsuki-feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

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

.satsuki-feature-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: .07em;
}

.satsuki-feature-card p {
  margin: 0;
  color: #6b6258;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.childcare-section {
  padding-top: 42px;
}

.childcare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.childcare-card {
  padding: 34px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111, 92, 60, .06);
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
}

.service-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e6edcf;
  color: #65734d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.service-list p {
  margin: 0;
  color: #5f584f;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.time-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

.time-table th,
.time-table td {
  padding: 15px 18px;
  border: 1px solid #eadfca;
  line-height: 1.7;
}

.time-table th {
  width: 38%;
  background: rgba(255,246,218,.75);
  color: #6a604f;
}

.time-table td {
  text-align: center;
  color: #5f584f;
  font-weight: 600;
}

.table-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #7e7468;
}

.day-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: stretch;
}

.day-item {
  position: relative;
  padding: 24px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eadfca;
  text-align: center;
  box-shadow: 0 12px 28px rgba(111,92,60,.05);
}

.day-item:not(:last-of-type)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: #d2aa42;
  font-size: 26px;
  z-index: 2;
}

.day-time {
  margin-bottom: 8px;
  color: #6a604f;
  font-weight: 700;
}

.day-item h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.day-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.day-item p {
  margin: 0;
  color: #6b6258;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 500;
}

.day-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(111,92,60,.07);
}

.day-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.season-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid #eadfca;
  box-shadow: 0 12px 28px rgba(111,92,60,.05);
}

.season-card h3 {
  margin: 0;
  padding: 24px 24px 6px;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.season-card.spring h3 { color: #d86f6b; }
.season-card.summer h3 { color: #69a258; }
.season-card.autumn h3 { color: #c8783e; }
.season-card.winter h3 { color: #5d9ac4; }

.season-card ul {
  margin: 0;
  padding: 12px 34px 22px;
  color: #5f584f;
  line-height: 1.9;
  font-weight: 500;
}

.season-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.forest-section {
  padding-top: 38px;
}

.forest-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.forest-text p {
  margin: 0 0 18px;
  color: #5f584f;
  line-height: 2.1;
  font-weight: 500;
}

.forest-photos {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}

.forest-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(111, 92, 60, .08);
}

.satsuki-guide-section {
  padding-top: 38px;
}

.satsuki-guide-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 26px;
}

.satsuki-reserve-card,
.satsuki-flow-card {
  padding: 34px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.satsuki-reserve-card h3,
.satsuki-flow-card h3 {
  margin: 0 0 18px;
  font-size: 19px;
  letter-spacing: .08em;
}

.satsuki-reserve-card p {
  margin: 0 0 22px;
  color: #5f584f;
  line-height: 2;
  font-weight: 500;
}

.mini-flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  text-align: center;
}

.mini-flow-list div {
  position: relative;
  color: #5f584f;
  font-size: 13px;
  font-weight: 700;
}

.mini-flow-list div:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -8px;
  top: 24px;
  color: #d2aa42;
  font-size: 22px;
}

.mini-flow-list img {
  width: 54px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.satsuki-access-section {
  padding-top: 38px;
}

.satsuki-access-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
}

.satsuki-access-card {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid #ead9a7;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.satsuki-access-card h3 {
  margin: 0 0 16px;
  font-size: 21px;
}

.satsuki-access-card p {
  margin: 0 0 16px;
  color: #5f584f;
  line-height: 2;
  font-weight: 500;
}

.satsuki-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e2;
  font-size: 13px;
}

.satsuki-map {
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.satsuki-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  border: 0;
}

@media (max-width: 1120px) {
  .day-flow {
    grid-template-columns: repeat(5, 1fr);
  }

  .day-photo {
    grid-column: 1 / -1;
  }

  .day-photo img {
    max-height: 320px;
  }
}

@media (max-width: 1040px) {
  .satsuki-feature-cards,
  .season-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .childcare-grid,
  .forest-grid,
  .satsuki-guide-grid,
  .satsuki-access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .day-flow,
  .mini-flow-list {
    grid-template-columns: 1fr;
  }

  .day-item:not(:last-of-type)::after,
  .mini-flow-list div:not(:last-child)::after {
    display: none;
  }

  .service-list {
    gap: 16px;
  }

  .service-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .satsuki-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      url("https://satsukids.com/wp-content/uploads/2026/06/toppage-3.png") center / cover no-repeat !important;
  }

  .satsuki-section {
    padding: 56px 0;
  }

  .satsuki-feature-cards,
  .season-grid,
  .forest-photos {
    grid-template-columns: 1fr;
  }

  .childcare-card,
  .satsuki-reserve-card,
  .satsuki-flow-card {
    padding: 24px;
  }
}

/* =========================================================
   Satsuki Kodomoen icon replacement sizing
   さつきこども園ページ：差し替えアイコンサイズ調整
   ========================================================= */

.satsuki-feature-icon {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.satsuki-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.day-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

.mini-flow-list img {
  width: 58px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 640px) {
  .day-item img {
    width: 54px;
    height: 54px;
  }

  .mini-flow-list img {
    width: 54px;
    height: 44px;
  }
}

/* =========================================================
   Satsuki Kodomoen icon size / circle crop fix
   園の特徴・園での一日・入園までの流れ：アイコンサイズ調整
   ========================================================= */

/* 1）園の特徴：現在より約110%に拡大し、円形トリミング */
.satsuki-feature-icon {
  width: 97px;
  height: 97px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.satsuki-feature-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 2）園での一日：アイコンを約120%に拡大 */
.day-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 12px;
}

/* 3）入園までの流れ：アイコンを約120%に拡大 */
.mini-flow-list img {
  width: 70px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 10px;
}

@media (max-width: 640px) {
  .satsuki-feature-icon {
    width: 90px;
    height: 90px;
  }

  .day-item img {
    width: 64px;
    height: 64px;
  }

  .mini-flow-list img {
    width: 64px;
    height: 54px;
  }
}

/* =========================================================
   Satsuki Kodomoen layout fine tuning
   さつきこども園：園の特徴/保育内容/見学予約ボタン調整
   ========================================================= */

/* 1）園の特徴：「さつきの森とツリーハウス」を1行表示にする */
.satsuki-feature-card h3 {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.55;
}

/* 長い見出しでもカード内に収まるよう微調整 */
.satsuki-feature-card:nth-child(3) h3 {
  font-size: 18px;
  letter-spacing: .04em;
}

/* 2）保育内容・サービス：「親子レクリエーション」がボタン内に収まるよう調整 */
.service-list li {
  grid-template-columns: 160px 1fr;
}

.service-list span {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .02em;
  padding-left: 10px;
  padding-right: 10px;
}

/* 3）見学予約について：ボタンをカード枠の中心へ */
.satsuki-reserve-card {
  display: flex;
  flex-direction: column;
}

.satsuki-reserve-card .btn {
  align-self: center;
  margin: 18px auto 0;
  min-width: 190px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 760px) {
  .service-list li {
    grid-template-columns: 1fr;
  }

  .service-list span {
    width: fit-content;
    min-width: 160px;
    margin: 0 auto;
  }

  .satsuki-feature-card h3 {
    white-space: normal;
  }
}

/* =========================================================
   Satsuki Kodomoen visual image replacement
   さつきこども園ページ：画像差し替え
   ========================================================= */

/* キービジュアル */
.satsuki-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 70%),
    url("https://satsukids.com/wp-content/uploads/2026/06/satsukikodomoen-visual-1.png") center / cover no-repeat !important;
}

@media (max-width: 640px) {
  .satsuki-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      url("https://satsukids.com/wp-content/uploads/2026/06/satsukikodomoen-visual-1.png") center / cover no-repeat !important;
  }
}

/* =========================================================
   Satsuki Kodomonoie page
   さつきこどものいえページ
   ========================================================= */

.kodomonoie-page {
  overflow: hidden;
}

.kodomonoie-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 70%),
    var(--kodomonoie-hero-image) center / cover no-repeat !important;
}

.kodomonoie-hero::after {
  display: none !important;
}

.kodomonoie-section {
  position: relative;
  padding: 72px 0;
}

.kodomonoie-section-title {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
  color: #565047;
}

.kodomonoie-section-title.small {
  font-size: 22px;
  margin-bottom: 24px;
}

.kodomonoie-feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kodomonoie-feature-card {
  min-height: 250px;
  padding: 32px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid #ead9a7;
  text-align: center;
  box-shadow: 0 12px 32px rgba(111, 92, 60, .06);
}

.kodomonoie-feature-card.card-green {
  border-color: #d8e4bd;
  background: rgba(250,255,244,.82);
}

.kodomonoie-feature-card.card-blue {
  border-color: #cfe9ef;
  background: rgba(246,253,255,.82);
}

.kodomonoie-feature-card.card-pink {
  border-color: #f0c8c2;
  background: rgba(255,249,248,.82);
}

.kodomonoie-feature-icon {
  width: 97px;
  height: 97px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.kodomonoie-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.kodomonoie-feature-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: .07em;
  line-height: 1.55;
  white-space: nowrap;
}

.kodomonoie-feature-card p {
  margin: 0;
  color: #6b6258;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.kodomonoie-childcare-section {
  padding-top: 42px;
}

.kodomonoie-childcare-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.kodomonoie-childcare-card,
.kodomonoie-time-card {
  padding: 34px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111, 92, 60, .06);
}

.kodomonoie-service-list {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kodomonoie-service-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
}

.kodomonoie-service-list img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.kodomonoie-service-list h3 {
  margin: 0 0 4px;
  color: #5f584f;
  font-size: 16px;
  letter-spacing: .06em;
}

.kodomonoie-service-list p {
  margin: 0;
  color: #5f584f;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 500;
}

.kodomonoie-time-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

.kodomonoie-time-table th,
.kodomonoie-time-table td {
  padding: 20px 18px;
  border: 1px solid #eadfca;
  line-height: 1.8;
}

.kodomonoie-time-table th {
  width: 38%;
  background: rgba(255,246,218,.75);
  color: #6a604f;
}

.kodomonoie-time-table td {
  text-align: center;
  color: #5f584f;
  font-weight: 600;
}

.kodomonoie-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e2;
  color: #7e7468;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 500;
}

.kodomonoie-day-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.kodomonoie-day-item {
  position: relative;
  padding: 24px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eadfca;
  text-align: center;
  box-shadow: 0 12px 28px rgba(111,92,60,.05);
}

.kodomonoie-day-item:not(:last-of-type)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: #d2aa42;
  font-size: 26px;
  z-index: 2;
}

.kodomonoie-day-time {
  margin-bottom: 8px;
  color: #6a604f;
  font-weight: 700;
}

.kodomonoie-day-item h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.kodomonoie-day-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.kodomonoie-day-item p {
  margin: 0;
  color: #6b6258;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 500;
}

.kodomonoie-day-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(111,92,60,.07);
}

.kodomonoie-day-photo {
  grid-column: 1 / -1;
}

.kodomonoie-day-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.kodomonoie-season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kodomonoie-season-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid #eadfca;
  box-shadow: 0 12px 28px rgba(111,92,60,.05);
}

.kodomonoie-season-card h3 {
  margin: 0;
  padding: 24px 24px 6px;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.kodomonoie-season-card.month-apr h3 { color: #d86f6b; }
.kodomonoie-season-card.month-may h3 { color: #7ea74d; }
.kodomonoie-season-card.month-aug h3 { color: #5f9fc7; }
.kodomonoie-season-card.month-oct h3 { color: #c8783e; }
.kodomonoie-season-card.month-dec h3 { color: #5d9ac4; }
.kodomonoie-season-card.month-mar h3 { color: #c7779b; }

.kodomonoie-season-card ul {
  margin: 0;
  padding: 12px 34px 22px;
  color: #5f584f;
  line-height: 1.9;
  font-weight: 500;
}

.kodomonoie-season-card {
  min-height: 150px;
}

.kodomonoie-season-card ul {
  list-style-position: inside;
  text-align: center;
  padding-left: 22px;
  padding-right: 22px;
}

.kodomonoie-season-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.kodomonoie-event-note {
  margin: 18px 0 0;
  color: #6b6258;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.kodomonoie-monthly-events {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid #eadfca;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 28px rgba(111,92,60,.05);
}

.kodomonoie-monthly-events h3 {
  margin: 0 0 10px;
  color: #6a604f;
  font-size: 22px;
}

.kodomonoie-monthly-events p {
  margin: 0;
  color: #5f584f;
  line-height: 1.9;
  font-weight: 500;
}

.home-like-section {
  padding-top: 38px;
}

.home-like-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.home-like-text p {
  margin: 0 0 18px;
  color: #5f584f;
  line-height: 2.1;
  font-weight: 500;
}

.home-like-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-like-photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(111, 92, 60, .08);
}

.kodomonoie-guide-section {
  padding-top: 38px;
}

.kodomonoie-guide-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 26px;
}

.kodomonoie-reserve-card,
.kodomonoie-flow-card {
  padding: 34px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.kodomonoie-reserve-card {
  display: flex;
  flex-direction: column;
}

.kodomonoie-reserve-card h3,
.kodomonoie-flow-card h3 {
  margin: 0 0 18px;
  font-size: 19px;
  letter-spacing: .08em;
}

.kodomonoie-reserve-card p {
  margin: 0 0 22px;
  color: #5f584f;
  line-height: 2;
  font-weight: 500;
}

.kodomonoie-reserve-card .btn {
  align-self: center;
  margin: 18px auto 0;
  min-width: 190px;
  justify-content: center;
  text-align: center;
}

.kodomonoie-mini-flow-list img {
  width: 70px;
  height: 58px;
  object-fit: contain;
}

.kodomonoie-access-section {
  padding-top: 38px;
}

.kodomonoie-access-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
}

.kodomonoie-access-card {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid #ead9a7;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.kodomonoie-access-card h3 {
  margin: 0 0 16px;
  font-size: 21px;
}

.kodomonoie-access-card p {
  margin: 0 0 16px;
  color: #5f584f;
  line-height: 2;
  font-weight: 500;
}

.kodomonoie-map {
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eadfca;
  box-shadow: 0 14px 36px rgba(111,92,60,.06);
}

.kodomonoie-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  border: 0;
}

@media (max-width: 1120px) {
  .kodomonoie-day-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .kodomonoie-day-photo {
    grid-column: 1 / -1;
  }

  .kodomonoie-day-photo img {
    max-height: 320px;
  }
}

@media (max-width: 1040px) {
  .kodomonoie-feature-cards,
  .kodomonoie-season-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kodomonoie-childcare-grid,
  .home-like-grid,
  .kodomonoie-guide-grid,
  .kodomonoie-access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .kodomonoie-day-flow,
  .kodomonoie-mini-flow-list {
    grid-template-columns: 1fr;
  }

  .kodomonoie-day-item:not(:last-of-type)::after,
  .kodomonoie-mini-flow-list div:not(:last-child)::after {
    display: none;
  }

  .home-like-photos {
    grid-template-columns: 1fr;
  }

  .home-like-photos img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .kodomonoie-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      var(--kodomonoie-hero-image) center / cover no-repeat !important;
  }

  .kodomonoie-section {
    padding: 56px 0;
  }

  .kodomonoie-feature-cards,
  .kodomonoie-season-grid {
    grid-template-columns: 1fr;
  }

  .kodomonoie-childcare-card,
  .kodomonoie-time-card,
  .kodomonoie-reserve-card,
  .kodomonoie-flow-card {
    padding: 24px;
  }

  .kodomonoie-feature-card h3 {
    white-space: normal;
  }
}

/* =========================================================
   Satsuki Kodomonoie visual image replacement
   さつきこどものいえページ：画像差し替え
   ========================================================= */

/* キービジュアル */
.kodomonoie-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 70%),
    var(--kodomonoie-hero-image) center / cover no-repeat !important;
}

@media (max-width: 640px) {
  .kodomonoie-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.58)),
      var(--kodomonoie-hero-image) center / cover no-repeat !important;
  }
}

/* =========================================================
   Satsuki Kodomonoie layout text fix
   こどものいえ：タイトル1行/一日見出し/おうちセクション/入園フロー調整
   ========================================================= */

/* 1）キービジュアル：タイトルを1行にする */
.kodomonoie-hero .sub-hero-text {
  max-width: 640px;
}

.kodomonoie-hero .sub-hero-text h1 {
  white-space: nowrap;
  letter-spacing: .10em;
  font-size: clamp(34px, 4.2vw, 52px);
}

/* 2）園での一日：「あそび・おさんぽ」を1行にする */
.kodomonoie-day-item h3 {
  white-space: nowrap;
  word-break: keep-all;
}

.kodomonoie-day-item:nth-child(2) h3 {
  font-size: 13px;
  letter-spacing: 0;
}

/* 3）おうちのように過ごせる場所：見出しを中央、本文と画像を整える */
.home-like-section {
  padding-top: 38px;
}

.home-like-title {
  text-align: center;
  margin-bottom: 34px;
}

.home-like-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 54px;
  align-items: center;
}

.home-like-text {
  max-width: 440px;
}

.home-like-text p {
  margin: 0 0 18px;
  color: #5f584f;
  line-height: 2.15;
  font-weight: 500;
}

.home-like-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-like-photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(111, 92, 60, .08);
}

/* 4）入園までの流れ：テキストを見本に合わせて読みやすく */
.kodomonoie-mini-flow-list div {
  white-space: nowrap;
  word-break: keep-all;
}

.kodomonoie-mini-flow-list img {
  margin-bottom: 10px;
}

@media (max-width: 1040px) {
  .home-like-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-like-text {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .kodomonoie-mini-flow-list div {
    white-space: normal;
  }

  .home-like-photos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kodomonoie-hero .sub-hero-text h1 {
    white-space: normal;
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: .08em;
  }

  .kodomonoie-day-item h3 {
    white-space: normal;
  }
}

/* =========================================================
   Common animation system
   全ページ共通：上から順番にゆったり動かす
   ========================================================= */

.satsuki-animate {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1.05s cubic-bezier(.22, .72, .18, 1),
    transform 1.05s cubic-bezier(.22, .72, .18, 1),
    filter 1.05s cubic-bezier(.22, .72, .18, 1);
  transition-delay: var(--satsuki-delay, 0ms);
  will-change: opacity, transform, filter;
}

.satsuki-animate.satsuki-animate-soft {
  transform: translateY(30px) scale(.985);
  filter: blur(2px);
}

.satsuki-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 下層ページのキービジュアルは読み込み直後に自然に出す */
.sub-hero .satsuki-animate,
.hero .satsuki-animate {
  transition-duration: 1.15s;
}

/* カード群は少しだけ軽く */
.satsuki-feature-card.satsuki-animate,
.kodomonoie-feature-card.satsuki-animate,
.philosophy-card.satsuki-animate,
.season-card.satsuki-animate,
.kodomonoie-season-card.satsuki-animate,
.day-item.satsuki-animate,
.kodomonoie-day-item.satsuki-animate {
  transform: translateY(24px) scale(.99);
}

.satsuki-feature-card.satsuki-animate.is-visible,
.kodomonoie-feature-card.satsuki-animate.is-visible,
.philosophy-card.satsuki-animate.is-visible,
.season-card.satsuki-animate.is-visible,
.kodomonoie-season-card.satsuki-animate.is-visible,
.day-item.satsuki-animate.is-visible,
.kodomonoie-day-item.satsuki-animate.is-visible {
  transform: translateY(0) scale(1);
}

/* WordPress管理バーや固定ヘッダーに影響させない */
.site-header,
.site-footer,
#wpadminbar {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* 動きを減らす設定の端末ではアニメーションを停止 */
.satsuki-reduced-motion .satsuki-animate,
@media (prefers-reduced-motion: reduce) {
  .satsuki-animate {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Back to top button
   TOPに戻るボタン
   ========================================================= */

.satsuki-page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #efd47b;
  color: #6a5a2c;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .03em;
  box-shadow: 0 10px 28px rgba(111, 92, 60, .18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity .45s ease,
    visibility .45s ease,
    transform .45s ease,
    box-shadow .3s ease;
}

.satsuki-page-top::before {
  content: "⌃";
  display: block;
  margin-bottom: 1px;
  font-size: 18px;
  line-height: 1;
}

.satsuki-page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.satsuki-page-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(111, 92, 60, .24);
}

.satsuki-page-top:focus-visible {
  outline: 3px solid rgba(169, 215, 227, .8);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .satsuki-page-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 10px;
  }

  .satsuki-page-top::before {
    font-size: 16px;
  }
}

/* =========================================================
   TOP hero slider 4 images
   TOPキービジュアル：4枚スライダーへ変更
   ========================================================= */

.hero-slide {
  animation: satsukiHeroCrossfade4 24s ease-in-out infinite !important;
}

.hero-slide-1 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/toppage-1.png") !important;
  animation-delay: 0s !important;
}

.hero-slide-2 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/toppage-11.png") !important;
  animation-delay: 6s !important;
}

.hero-slide-3 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/toppage-5.png") !important;
  animation-delay: 12s !important;
}

.hero-slide-4 {
  background-image: url("https://satsukids.com/wp-content/uploads/2026/06/toppage-6.png") !important;
  animation-delay: 18s !important;
}

@keyframes satsukiHeroCrossfade4 {
  0% {
    opacity: 0;
    transform: scale(1.035);
  }
  7% {
    opacity: 1;
  }
  22% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none !important;
    opacity: 0;
  }

  .hero-slide-1 {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   Corporate greeting sign size fix
   法人紹介：理事長・園長あいさつ 名前サイズ調整
   ========================================================= */

.greeting-sign strong {
  display: inline-block;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: .14em;
  font-weight: 500;
}

.greeting-sign span {
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .greeting-sign {
    text-align: left;
  }

  .greeting-sign strong {
    font-size: 24px;
    letter-spacing: .10em;
  }
}

/* =========================================================
   Recruit LP
   リクルート専用LP
   ========================================================= */

.recruit-lp {
  --rec-pink: #f58f9c;
  --rec-orange: #f6b35d;
  --rec-yellow: #ffe39a;
  --rec-green: #b9d985;
  --rec-blue: #9dd9ee;
  --rec-ink: #50483f;
  --rec-text: #665b50;
  --rec-bg: #fffaf2;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,227,154,.45), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(157,217,238,.36), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #fffdf8 38%, #fff8ef 100%);
}

.recruit-lp .container {
  max-width: 1160px;
}

.recruit-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,250,242,.98) 0%, rgba(255,250,242,.87) 42%, rgba(255,250,242,.08) 72%),
    url("https://satsukids.com/wp-content/uploads/2026/06/kodomonoie-visual-7.png") center right / cover no-repeat;
}

.recruit-hero::before,
.recruit-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.recruit-hero::before {
  width: 180px;
  height: 180px;
  left: -50px;
  top: 120px;
  background: rgba(246,179,93,.22);
}

.recruit-hero::after {
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: 50px;
  background: rgba(245,143,156,.20);
}

.recruit-hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}

.recruit-kicker,
.recruit-section-kicker {
  margin: 0 0 12px;
  color: var(--rec-pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.recruit-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.22;
  letter-spacing: .08em;
  color: var(--rec-ink);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.recruit-lead {
  margin: 0 0 34px;
  color: var(--rec-text);
  font-size: 17px;
  line-height: 2.25;
  font-weight: 600;
}

.recruit-hero-actions,
.recruit-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.recruit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 14px 30px rgba(106,80,48,.14);
  transition: transform .25s ease, box-shadow .25s ease;
}

.recruit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(106,80,48,.20);
}

.recruit-btn-main {
  background: linear-gradient(135deg, var(--rec-pink), #f7a76f);
}

.recruit-btn-sub,
.recruit-btn-white {
  color: var(--rec-ink);
  background: #fff;
}

.recruit-btn-mini {
  min-height: 44px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--rec-orange), var(--rec-yellow));
  color: var(--rec-ink);
  font-size: 14px;
}

.recruit-hero-card {
  position: absolute;
  right: 5%;
  bottom: 46px;
  width: min(340px, 90%);
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 18px 46px rgba(106,80,48,.16);
  backdrop-filter: blur(8px);
}

.recruit-hero-card p {
  margin: 0;
  color: var(--rec-ink);
  font-weight: 800;
  line-height: 1.9;
}

.recruit-section {
  padding: 92px 0;
  position: relative;
}

.recruit-section-head {
  margin: 0 auto 48px;
  max-width: 760px;
  text-align: center;
}

.recruit-section-head h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: .09em;
  color: var(--rec-ink);
}

.recruit-section-head p {
  margin: 0;
  color: var(--rec-text);
  line-height: 2;
  font-weight: 600;
}

.charm-list {
  display: grid;
  gap: 30px;
}

.charm-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 50px rgba(106,80,48,.10);
  border: 2px solid rgba(255,255,255,.9);
}

.charm-card:nth-child(even) {
  grid-template-columns: 1.05fr .95fr;
}

.charm-card:nth-child(even) .charm-image {
  order: 2;
}

.charm-image {
  border-radius: 26px;
  overflow: hidden;
}

.charm-image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  display: block;
}

.charm-body {
  padding: 10px 10px;
}

.charm-body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--rec-yellow);
  color: var(--rec-ink);
  font-weight: 900;
}

.charm-body h3 {
  margin: 0 0 14px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.55;
  color: var(--rec-ink);
}

.charm-body p {
  margin: 0;
  color: var(--rec-text);
  line-height: 2.05;
  font-weight: 600;
}

.charm-01 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,236,174,.55)); }
.charm-02 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(185,217,133,.42)); }
.charm-03 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(157,217,238,.38)); }
.charm-04 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(245,143,156,.30)); }
.charm-05 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(246,179,93,.32)); }

.recruit-day {
  background: rgba(255,255,255,.55);
}

.recruit-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.timeline-item {
  position: relative;
  padding: 24px 14px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(106,80,48,.08);
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--rec-yellow);
  border-radius: 4px;
  z-index: 2;
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--rec-pink);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--rec-ink);
}

.timeline-item p {
  margin: 0;
  color: var(--rec-text);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 600;
}

.voice-cards,
.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.voice-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(106,80,48,.08);
}

.voice-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.voice-card h3,
.job-card h3 {
  margin: 0 0 10px;
  color: var(--rec-ink);
  font-size: 18px;
}

.voice-card p,
.job-card p {
  margin: 0;
  color: var(--rec-text);
  line-height: 1.9;
  font-weight: 600;
}

.job-cards {
  grid-template-columns: repeat(4, 1fr);
}

.job-card {
  padding: 20px 20px 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(106,80,48,.08);
  text-align: center;
}

.job-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
}

.job-card p {
  margin-bottom: 18px;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(106,80,48,.07);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  padding: 22px 60px 22px 28px;
  cursor: pointer;
  color: var(--rec-ink);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--rec-yellow);
  display: grid;
  place-items: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--rec-text);
  line-height: 2;
  font-weight: 600;
}

.recruit-message-box {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border-radius: 36px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 46px rgba(106,80,48,.10);
}

.message-photo {
  border-radius: 28px;
  overflow: hidden;
}

.message-photo img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  display: block;
}

.message-text h2 {
  margin: 0 0 18px;
  color: var(--rec-ink);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.4;
}

.message-text p {
  margin: 0 0 18px;
  color: var(--rec-text);
  line-height: 2;
  font-weight: 600;
}

.message-sign {
  text-align: right;
  color: var(--rec-ink) !important;
  font-weight: 900 !important;
}

.recruit-cta {
  padding: 80px 0 100px;
}

.recruit-cta-box {
  padding: 54px 40px;
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 80%, rgba(255,227,154,.55), transparent 28%),
    radial-gradient(circle at 90% 30%, rgba(157,217,238,.48), transparent 30%),
    linear-gradient(135deg, #fff, #fff4e8);
  box-shadow: 0 20px 54px rgba(106,80,48,.12);
}

.recruit-cta-box h2 {
  margin: 0 0 12px;
  color: var(--rec-ink);
  font-size: clamp(30px, 4vw, 48px);
}

.recruit-cta-box p {
  margin: 0 0 28px;
  color: var(--rec-text);
  font-weight: 700;
}

.recruit-cta-actions {
  justify-content: center;
}

@media (max-width: 1120px) {
  .recruit-timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .job-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .recruit-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255,250,242,.96), rgba(255,250,242,.62)),
      url("https://satsukids.com/wp-content/uploads/2026/06/kodomonoie-visual-7.png") center / cover no-repeat;
  }

  .recruit-hero-inner {
    padding: 72px 0 130px;
  }

  .recruit-hero-card {
    left: 5%;
    right: auto;
  }

  .charm-card,
  .charm-card:nth-child(even),
  .recruit-message-box {
    grid-template-columns: 1fr;
  }

  .charm-card:nth-child(even) .charm-image {
    order: 0;
  }

  .recruit-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .recruit-section {
    padding: 68px 0;
  }

  .recruit-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .recruit-lead {
    font-size: 15px;
  }

  .recruit-hero-actions,
  .recruit-cta-actions {
    flex-direction: column;
  }

  .recruit-btn {
    width: 100%;
  }

  .recruit-timeline,
  .job-cards {
    grid-template-columns: 1fr;
  }

  .voice-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .voice-card img {
    margin: 0 auto;
  }

  .recruit-message-box,
  .recruit-cta-box {
    padding: 28px 22px;
  }
}


/* =========================================================
   Mobile / Tablet responsive fixes (2026-09)
   スマホ・タブレット表示の修正（PC表示には影響しません）
   ========================================================= */

/* ハンバーガーボタン（PCでは非表示） */
.menu-toggle {
  display: none;
}

@media (max-width: 1040px) {
  .header-inner {
    position: relative;
  }

  .site-header .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 1px solid #e2ca7c;
    border-radius: 50%;
    background: #fffdf4;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #5d574d;
    transition: transform .25s ease, opacity .2s ease;
  }

  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 開いたメニュー */
  .site-header.is-menu-open .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 8px 22px 24px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(232, 222, 205, .9);
    box-shadow: 0 18px 30px rgba(95, 83, 61, .12);
  }

  .site-header.is-menu-open .nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header .nav .nav-list a::after {
    display: none;
  }

  .site-header .nav .nav-list li > a {
    display: block;
    padding: 15px 4px;
    white-space: normal;
    font-size: 15px;
  }

  .site-header .nav .nav-list > li:not(.nav-hidden-item) {
    border-bottom: 1px dashed rgba(232, 222, 205, .95);
  }

  .site-header .nav .nav-list .has-submenu > a {
    display: block;
  }

  /* サブメニューは常に展開して縦に並べる */
  .site-header .nav .nav-list .has-submenu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-header .nav .nav-list .has-submenu .sub-menu::before {
    display: none;
  }

  .site-header .nav .nav-list .sub-menu a {
    padding: 10px 8px;
    font-size: 14px;
  }

  /* 採用情報・お問い合わせボタン */
  .site-header .nav .nav-list > li:has(> .nav-recruit),
  .site-header .nav .nav-list > li:has(> .nav-contact) {
    border-bottom: 0;
    padding-top: 12px;
  }

  .site-header .nav .nav-list li > a.nav-recruit,
  .site-header .nav .nav-list li > a.nav-contact {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* ヘッダーが static だとメニューがヒーローの下に隠れるため */
  .site-header {
    position: relative;
    z-index: 50;
  }
}

/* 園紹介カードはタブレット・スマホでは縦積みに（後方のPC用指定が上書きしていたため） */
@media (max-width: 1040px) {
  .school-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
  }

  .school-card .thumb {
    order: -1;
  }
}
