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

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

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

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

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

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

  --TH-height: ;
  --sec-padding: ;
  --inner-width-16: clamp(1000px, -1.5rem + 99.6vw, 1576px);
  --inner-width-10: min(96%, 1000px);
  --inner-gap: 12px;
}
/* 基本設定 */
@font-face {
  font-family: 'Boku2';
  src: url('../boku2r//Boku2-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  color: var(--std-clr);
  line-height: var(--std-lh);
  /* 横スクロールを防ぐ */
  overflow-x: hidden;
}

/* 装飾ライン */
.decoration-line {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    position: relative;
    z-index: 2;
  }
  
  .decoration-dot {
    width: 15px;
    height: 15px;
    border-radius: 0% 100% 50% 50%/ 0% 50% 50% 100%;
    transform: rotate(45deg);
    margin: 0 5px;
  }
  
  .dot-blue {
    background-color: var(--clr-dec-line-01);
  }
  
  .dot-yellow {
    background-color: var(--clr-dec-line-02);
  }
  
  .dot-pink {
    background-color: var(--clr-dec-line-03);
  }

.cc-hero {
    position: relative;
    height: 800px;
    width: 100%;
    /* display: flex;
    align-items: center; */
    padding: 90px 0 0 0;
    margin-top: 90px;
}

.cc-hero-slider {
    width: 100%;
    height: 100%;
}

.cc-hero-slide {
    height: 800px;
    width: 100%;
    background-size: cover;
    background-position: center;
    /* display: flex;
    align-items: center; */
    position: relative;
}

.cc-hero-slide .cc-hero-content {
    position: absolute; /* 親要素 .cc-hero-slide に対して絶対配置にする */
    top: 0; /* スライドの高さ全体を使って配置したいので0 */
    left: 0; /* スライドの幅全体を使って配置したいので0 */
    width: 100%; /* 親要素の幅いっぱいに */
    height: 100%; /* 親要素の高さいっぱいに */
    display: flex; /* 内部の cc-hero-left/right をFlexboxで配置 */
    justify-content: space-between; /* 左右に配置 */
    align-items: center; /* 垂直中央に配置 */
    padding: 0 50px; /* 元々あった padding はここに移動 */
    box-sizing: border-box; /* paddingを含めてwidth/heightを計算 */
}

/* Swiper.js カスタムスタイル */
.cc-hero .swiper {
    height: 100%;
    width: 100%;
}

/* ヒーローアニメーション用スタイル */
.hero-animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-animate-logo {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease 0.2s;
}

.hero-animate-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

/* アクティブスライドのアニメーション */
.swiper-slide-active .hero-animate-text,
.swiper-slide-active .hero-animate-logo,
.swiper-slide-active .hero-animate-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cc-hero .swiper-wrapper {
    height: 100%;
}

.cc-hero .swiper-slide {
    height: 100%;
}

/* スライダーの矢印ボタン */
.cc-hero .swiper-button-next,
.cc-hero .swiper-button-prev {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: #333;
    z-index: 10;
}

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

.cc-hero .swiper-button-next::after,
.cc-hero .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

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

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

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

/* .cc-hero-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
} */

.cc-hero-left {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    text-align: center;
    flex: 1;
}

.cc-hero-left h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* .cc-hero-left h1 {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: lowercase;
    font-family: 'JampyonMaru', sans-serif;
} */

.cc-hero-left p {
    font-size: 25.3px;
    margin-bottom: 30px;
    text-align: center;
}

.cc-hero-left img {
    width: 600px;
    height: auto;
    margin: 15px auto;
    display: block;
}

.cc-pamphlet-btn {
    background-color: #ffc107;
    color: var(--clr-white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.cc-hero-right {
    color: white;
    text-align: right;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    flex: 1;
}

.cc-hero-right h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cc-hero-right p {
    font-size: 18px;
    line-height: 1.6;
}


    /* COCOroom Section Styles */
    .cc-container {
        width: 100%;
        margin: 0 auto;
        padding: 50px 0px 200px 0px;
    }
    
    .cc-facility-intro {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .cc-facility-tag {
        display: inline-block;
        color: #9b2226;
        font-size: 16px;
        margin-bottom: 15px;
        position: relative;
    }
    .cc-philosophy-logo {
        width: 200px;
        height: auto;
    }

    .cc-facility-tag::before,
    .cc-facility-tag::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30px;
        height: 1px;
        background-color: #9b2226;
    }
    
    .cc-facility-tag::before {
        left: -40px;
        transform: rotate(30deg);
    }
    
    .cc-facility-tag::after {
        right: -40px;
        transform: rotate(-30deg);
    }
    
    .cc-facility-title {
        color: #9b2226;
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 15px;
    }
    
  
    
    .cc-droplet {
        width: 15px;
        height: 25px;
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    }
    
    .cc-droplet-blue {
        background-color: #a8d8ff;
    }
    
    .cc-droplet-yellow {
        background-color: #ffe9a8;
    }
    
    .cc-droplet-pink {
        background-color: #ffccd5;
    }
    
    .cc-facility-description {
        max-width: 900px;
        margin: 0 auto 50px;
        text-align: justify;
        font-size: 16px;
        line-height: 1.8;
    }
    
    .cc-philosophy-section {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        /* padding: 50px 50px; */
        border-radius: 10px;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
    }
    
    .cc-philosophy-column {
        flex: 1;
        /* padding: 0 20px; */
        text-align: center;
        position: relative;
    }
    
    .cc-logo-circle {
        position: relative;
        margin: 0 auto;
        z-index: 2;
    }
    
    .cc-logo-circle img {
        width: 200px;
        height: 200px;
        display: block;
        margin: 0 auto;
    }
    
    .cc-philosophy-title-left {
        color: #9b2226;
        font-size: 21px;
        font-weight: bold;
        text-align: center;
        margin-left: 130px;
        margin-top: revert-layer;
    }
    
    .cc-philosophy-subtitle-left {
        color: #9b2226;
        font-size: 41.4px;
        font-weight: bold;
        margin-left: 123px;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .cc-philosophy-title-right {
        color: #9b2226;
        font-size: 21px;
        font-weight: bold;
        text-align: center;
        margin-right: 130px;
        margin-top: revert-layer;
    }
    
    .cc-philosophy-subtitle-right {
        color: #9b2226;
        font-size: 41.4px;
        font-weight: bold;
        margin-right: 123px;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .cc-philosophy-text-left {
        text-align: center;
        font-size: 26px;
        line-height: 1.8;
        margin-top: 20px;
        /* width: 540px; */
        background: #fff9ea;
        border-radius: 20px;
        padding: 92px 4px 93px 4px;
        width: calc(132% - 33px);
        max-width: 720px;
        z-index: 1;
        position: absolute;
        top: 73px;
        left: 42%;
        transform: translateX(-29%);
    }

    .cc-philosophy-text-right {
        text-align: center;
        font-size: 17px;
        line-height: 1.8;
        margin-top: 20px;
        /* width: 540px; */
        background: #fff9ea;
        border-radius: 20px;
        padding: 92px 4px 33px 4px;
        width: calc(132% - 33px);
        max-width: 720px;
        z-index: 1;
        position: absolute;
        top: 73px;
        left: 5%;
        transform: translateX(-29%);
    }

    .decoration-line-left {
        display: flex;
        justify-content: center;
        margin: 10px 0px 10px 128px;
        position: relative;
        z-index: 2;
      }
    
      .decoration-line-right {
        display: flex;
        justify-content: center;
        margin: 10px 128px 10px 0px;
        position: relative;
        z-index: 2;
      }

    /* COCOroomの取り組み */
    .cc-approach-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        position: relative;
        z-index: 1;
    }

    .cc-approach-section-wrapper {
        /* ...既存のスタイル... */
        position: relative; /* 擬似要素のために必要 */
        overflow: hidden;   /* 画像のはみ出し防止（必要に応じて） */
    }
    
    .cc-approach-section-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;   /* 画像サイズに合わせて調整 */
        height: 50%;
        background: url('../img3/haikei_miryoku_migiue_1.png') no-repeat top right;
        background-size: contain;
        z-index: 2;
        pointer-events: none;
        object-fit: cover;
        object-position: center;
    }
    
    .cc-approach-section-wrapper::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;   /* 画像サイズに合わせて調整 */
        height: 50%;
        background: url('../img3/haikei_miryoku_hidarisita_1.png') no-repeat bottom left;
        background-size: contain;
        z-index: 1;
        pointer-events: none;
        object-fit: cover;
        object-position: center;
    }
    
    .cc-approach-title {
        color: #9b2226;
        font-size: 36px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .cc-approach-section-1 {
        margin-bottom: 60px;
        position: relative;
    }

    .cc-number-1 {
        font-size: 120px;
        font-weight: bold;
        color: #ffccd5;
        position: absolute;
        left: 0;
        top: -20px;
        line-height: 1;
        z-index: 0;
    }

    .cc-number-1 img {
        width: 80px;
        height: auto;
    }
    
    .cc-approach-section-2 {
        display: flex;
        align-items: flex-start;
        gap: 30px;
        margin: 0 auto;
        width: 85%;
        /* margin-bottom: 60px; */
        /* position: relative; */
    }
    
    .cc-approach-content {
        position: relative;
        z-index: 1;
        padding-left: 80px;
        margin-bottom: 30px;
        flex: 1;
    }

    .cc-approach-content-2 {
        flex: 1;
    }

    
    .cc-approach-heading {
        color: #9b2226;
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 20px;
    }
    
    .cc-approach-subheading {
        color: #9b2226;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 15px;
    }
    
    .cc-approach-description {
        font-size: 21px;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    
    .cc-education-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .cc-therapy-boxes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
    
    .cc-box {
        padding: 40px 20px;
        border-radius: 10px;
        height: 100%;
    }
    
    .cc-box-pink {
        background-color: #ffecef;
        
    }
    
    .cc-box-beige {
        background-color: #f5f3e0;
    }
    
    .cc-box-title-up {
        font-size: 33.6px;
        font-weight: bold;
        color: #555;
        margin-bottom: 15px;
        position: absolute;
        top: 58px;

    }
    
    .cc-box-title-down {
        font-size: 33.6px;
        font-weight: bold;
        color: #555;
        margin-bottom: 15px;
        position: absolute;
        top: 207px;
    }


    .cc-box-text {
        font-size: 15px;
        line-height: 1.7;
    }
    /* 1日の流れ */
    .cc-number-2 img {
        width: 80px;
        height: auto;
    }

    .cc-schedule-right {
        background: linear-gradient(135deg, #fff9c4, #fffacd);

            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(240, 230, 140, 0.2);
            position: relative;
            min-width: 280px;
            flex-shrink: 0;
    }
    
    .cc-schedule-icon img {
        position: absolute;
        top: -20px;
        left: -20px;
        width: 75px;
        height: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
   
    .cc-schedule-title {
        font-size: 24px;
        font-weight: bold;
        background-color: #ffc107;
        color: #333;
        display: inline-block;
        padding: 5px 20px;
        border-radius: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .cc-schedule-layout {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .cc-schedule-inner-left {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .cc-schedule-subtitle {
        font-size: 24px;
        font-weight: bold;
        background-color: #f4c4c9;
        color: #333;
        display: inline-block;
        padding: 5px 20px;
        border-radius: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .cc-schedule-time {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .cc-schedule-part {
        font-size: 20.6px;
        font-weight: bold;
        color: #555;
    }
    
    
    .cc-schedule-note {
        font-size: 18px;
        line-height: 1.6;
        margin-top: 20px;
        padding-top: 20px;
        /* border-top: 1px dashed #ccc; */
    }
    /* Inclusive Education Section Styles */
    .cc-inclusive-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 70px 20px;
    }
    
    .cc-inclusive-title {
        color: #9b2226;
        font-size: 36px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .cc-inclusive-description {
        text-align: center;
        max-width: 1000px;
        margin: 0 auto 60px;
        font-size: 18px;
        line-height: 2;
        color: #555;
    }
    
    .cc-photo-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .cc-photo-item {
        background-color: #999;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 24px;
        font-weight: bold;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease;
        position: relative;
    }
    
    .cc-photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .cc-photo-item:hover {
        transform: scale(1.03);
    }

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

  .footer-logo {
      height: 60px;
      margin-right: 20px;
  }
  
  .footer-left {
      display: flex;
      align-items: center;
      gap: 0;
  }
  
  .footer-left span {
      display: block;
      line-height: 1.2;
  }
  
  .footer-center {
      color: #888;
      font-size: 20px;
      text-align: left;
      min-width: 320px;
      margin: 0 389px;
  }
  
  .footer-right {
      position: relative;
      min-width: 0;
      min-height: 0;
  }
  
  .children-illustration {
      height: 173px;
      width: 240px;
      right: 22px;
      display: block;
      position: absolute;
  }
  
  .copyright {
      position: relative;
      z-index: 2;
      color: #888;
      text-align: center;
      margin-top: 10px;
      font-size: 13.7px;
      letter-spacing: 0.05em;
  }

  /* 保育所等訪問支援 */

  .cc-support-container {
    display: flex;
    min-height: 400px;
}

.cc-support-content-section {
    flex: 1 1 50%;
    padding: 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cc-image-section {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
}

.cc-image-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    max-height: 100%;
}

.cc-support-header {
    text-align: center;
    margin-bottom: 30px;
}

.cc-support-subtitle {
    font-size: 18px;
    color:#9b2226;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.cc-support-subtitle::before,
.cc-support-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1.5px;
    background-color: #9b2226;
    transform: translateY(-50%) rotate(30deg);
}

.cc-support-subtitle::before {
    left: -38px;
    transform: translateY(-50%) rotate(30deg);
}

.cc-support-subtitle::after {
    right: -38px;
    transform: translateY(-50%) rotate(-30deg);
}

.cc-support-main-title {
    font-size: 41.4px;
    font-weight: bold;
    color: #9b1d22;
    margin-bottom: 15px;
}

.decorative-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.cc-suppot-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.cc-support-highlight-section {
    background-color: #fff3e0;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #ff9800;
}

.cc-support-contact-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #ddd;
}

.cc-support-contact-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

.cc-support-contact-title span {
    /* background-color: pink; */
    padding: 0.35em 0.4em;
    border-radius: 3px;
    /* line-height: 2.2; */
}

.cc-support-phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cc-support-phone-icon {
    width: 24px;
    height: 24px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.cc-support-cta-button {
    background: linear-gradient(45deg, #ff9800, #ffc107);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.cc-support-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.cc-support-contact-img-left,
.cc-support-contact-img-right {
    height: 28px;
    width: auto;
    vertical-align: middle;
    margin: 0 8px;
}

.cc-support-contact-title-row {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
}

.cc-support-contact-keyword {
    background-color: pink;
    padding: 0.35em 0.4em;
    border-radius: 3px;
    font-size: 20px;
    color: #666;
    font-weight: bold;
    margin: -22px 6px;
}

.cc-support-contact-title-row img{
  background-color: white;
}

@media (max-width: 768px) {
    .cc-support-container {
        flex-direction: column;
    }
    
    .cc-support-content-section {
        padding: 20px;
    }
    
    .cc-support-main-title {
        font-size: 24px;
    }
    
    .image-section {
        min-height: 300px;
    }
    
    .cc-support-cta-button {
        font-size: 14px;
        padding: 12px 20px;
        white-space: normal;
        line-height: 1.4;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

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

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* ヒーローセクション */
  .cc-hero {
    height: auto;
    min-height: 650px;
    padding: 40px 0;
  }
  
  .cc-hero-slide {
    height: 650px;
    min-height: 650px;
  }

  .cc-hero-slide .cc-hero-content {
    padding: 0 15px;
 }
  
  /* モバイル用のナビゲーションボタンを非表示 */
  .cc-hero .swiper-button-next,
  .cc-hero .swiper-button-prev {
    display: none;
  }
  
  .cc-hero-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 15px 15px;
    height: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .cc-hero-left {
    text-align: center;
    margin: 50px 0 -50px 0;
    flex: none;
  }

  .cc-hero-right {
    text-align: center;
    margin: 0 0 50px 0;
    flex: none;
  }
  
  .cc-hero-left h2 {
    font-size: 24px;
  }

  .cc-hero-left img {
    width: 400px;
    height: auto;
    margin: 15px auto;
    display: block;
  }
  
  .cc-hero-left p {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .cc-hero-right h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .cc-hero-right p {
    font-size: 16px;
  }

  /* 施設紹介 */
  .cc-facility-tag::before,
  .cc-facility-tag::after {
    display: none;
  }

  .cc-approach-section-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;   /* 画像サイズに合わせて調整 */
    height: 15%;
    background: url('../img3/haikei_miryoku_migiue_1.png') no-repeat top right;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
    object-fit: cover;
    object-position: center;
}

.cc-approach-section-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 33%;   /* 画像サイズに合わせて調整 */
    height: 15%;
    background: url('../img3/haikei_miryoku_hidarisita_1.png') no-repeat bottom left;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    object-fit: cover;
    object-position: center;
}
  
  .cc-facility-description {
    text-align: left;
    padding: 0 10px;
  }

  
  .cc-box-title-up {
    position: relative; /* 修正: staticからabsoluteに戻す */
    top: -71px; /* 修正: 背景よりも上にはみ出すように */
    left: 15px; /* 追加: 左端からの位置を指定 */
    margin-bottom: 10px;
    padding: 5px 10px; /* 追加: 文字周りの余白 */
  }

  .cc-box-title-down {
    position: relative; /* 修正: staticからabsoluteに戻す */
    top: -71px; /* 修正: 背景よりも上にはみ出すように */
    left: 15px; /* 追加: 左端からの位置を指定 */
    margin-bottom: 10px;
    padding: 5px 10px; /* 追加: 文字周りの余白 */
  }

  .cc-box-text{
    font-size: 15px;
    line-height: 2.7;
  }

  /* フィロソフィーセクション */
  .cc-philosophy-section {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  
  .cc-philosophy-column {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cc-logo-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  .cc-logo-circle img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
  }

  .cc-philosophy-title-left {
    color: #9b2226;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    margin-left: 0; /* 修正: margin-leftを0に */
    margin-top: 0;
  }

  .cc-philosophy-subtitle-left {
    color: #9b2226;
    font-size: 41.4px;
    font-weight: bold;
    margin-left: 0; /* 修正: margin-leftを0に */
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .cc-philosophy-title-right {
    color: #9b2226;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    margin-right: 0; /* 修正: margin-rightを0に */
    margin-top: 0;
  }

  .cc-philosophy-subtitle-right {
    color: #9b2226;
    font-size: 41.4px;
    font-weight: bold;
    margin-right: 0; /* 修正: margin-rightを0に */
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .cc-philosophy-text-left,
  .cc-philosophy-text-right {
    font-size: 18px;
    padding: 30px 15px;
    margin: 15px auto 0 auto; /* 修正: 左右のmarginをautoに */
    position: static;
    transform: none;
    width: 90%; /* 修正: 幅を90%に設定 */
    max-width: 400px; /* 修正: 最大幅を設定 */
    left: auto;
    text-align: center;
  }

  .decoration-line-left {
    display: flex;
    justify-content: center;
    margin: 10px 0; /* 修正: 左右のmarginを0に */
    position: relative;
    z-index: 2;
  }

  .decoration-line-right {
    display: flex;
    justify-content: center;
    margin: 10px 0; /* 修正: 左右のmarginを0に */
    position: relative;
    z-index: 2;
  }

  /* アプローチセクション */
  .cc-approach-heading {
    color: #9b2226;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 50px;
  }


  .cc-approach-section-2 {
    flex-direction: column;
    gap: 30px;
    position: relative;
  }
  
  .cc-number-2 {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
  }

  .cc-number-2 img {
    width: 78px; /* レスポンシブ時はサイズを小さく */
    height: auto;
  }

  .cc-approach-content-2 {
    flex: 1;
    padding-left: 70px; /* 追加: 番号分のスペースを確保 */
    position: relative;
    z-index: 1;
  }

  .cc-approach-content-2 .cc-approach-heading {
    margin-top: 0; /* 追加: 上部マージンをリセット */
    margin-bottom: 15px;
  }

  .cc-education-boxes {
    grid-template-columns: 1fr;
  }
  
  .cc-therapy-boxes {
    grid-template-columns: 1fr;
  }

  /* スケジュール */
  .cc-schedule-right {
    min-width: 100%;
    margin-top: 20px;
  }
  
  .cc-schedule-icon {
    position: static;
    margin: 0 auto -30px;
    width: 50px;
    height: 50px;
  }
  
  .cc-schedule-layout {
    flex-direction: column;
    gap: 15px;
  }
  
  .cc-schedule-part {
    font-size: 18px;
  }
  
  .cc-schedule-note {
    font-size: 16px;
  }

  /* インクルーシブセクション */
  .cc-inclusive-description {
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
  }
  
  .cc-inclusive-description p br {
    display: none;
  }
  
  .cc-photo-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cc-photo-item {
    height: 200px;
  }
}

/* さらに小さい画面用 */
/* 480px以下の追加レスポンシブ対応 */
@media (max-width: 480px) {  
  /* ヒーロー */
  .cc-hero {
      min-height: 500px;
      padding: 20px 0 30px 0;
  } 
  
  .cc-hero-slide {
      height: 500px;
      min-height: 500px;
  }
  
  .cc-hero-content {
      padding: 0 15px;
      gap: 25px;
  }
  
  .cc-hero-left h2 {
      font-size: 18px;
  }
  
  .cc-hero-left img {
      width: 300px;
  }
  
  .cc-hero-left p {
      font-size: 16px;
      margin-bottom: 20px;
  }
  
  .cc-pamphlet-btn {
      padding: 12px 20px;
      font-size: 14px;
  }
  
  .cc-hero-right h2 {
      font-size: 22px;
      margin-bottom: 12px;
  }
  
  .cc-hero-right p {
      font-size: 14px;
  }
  

  
  /* 施設紹介 */
  .cc-container {
      padding: 30px 0 150px 0;
  }
  
  .cc-facility-title {
      font-size: 24px;
      margin-bottom: 12px;
  }
  
  .cc-facility-description {
      font-size: 14px;
      line-height: 1.6;
      padding: 0 5px;
  }
  
  /* フィロソフィー */
  .cc-philosophy-section {
      gap: 30px;
  }
  
  .cc-logo-circle img {
      width: 120px;
      height: 120px;
  }
  
  .cc-philosophy-title-left,
  .cc-philosophy-title-right {
      font-size: 16px;
  }
  
  .cc-philosophy-subtitle-left,
  .cc-philosophy-subtitle-right {
      font-size: 28px;
  }
  
  .cc-philosophy-text-left,
  .cc-philosophy-text-right {
      font-size: 14px;
      padding: 25px 12px;
      margin: 12px auto 0 auto;
      width: 95%;
      max-width: 350px;
      line-height: 1.6;
  }
  
  /* アプローチ */
  .cc-approach-container {
      padding: 30px 15px;
  }
  
  .cc-approach-title {
      font-size: 28px;
      margin-bottom: 12px;
  }
  
  .cc-approach-heading {
      font-size: 24px;
      margin-bottom: 15px;
      margin-left: 40px;
  }
  
  .cc-approach-content {
      padding-left: 60px;
  }
  
  .cc-approach-content-2 {
      padding-left: 60px;
  }
  
  .cc-approach-content-2 .cc-approach-heading {
      margin-left: 0;
  }
  
  .cc-approach-description {
      font-size: 16px;
      margin-bottom: 15px;
  }
  
  .cc-number-1 img,
  .cc-number-2 img {
      width: 60px;
  }
  
  .cc-box {
      padding: 30px 15px;
  }
  
  .cc-box-title-up,
  .cc-box-title-down {
      font-size: 24px;
      top: -60px;
      left: 10px;
  }
  
  .cc-box-text {
      font-size: 13px;
      line-height: 1.6;
  }
  
  /* スケジュール */
  .cc-schedule-right {
      padding: 15px;
  }
  
  .cc-schedule-title {
      font-size: 18px;
      padding: 4px 15px;
      margin-bottom: 15px;
  }
  
  .cc-schedule-subtitle {
      font-size: 16px;
      padding: 4px 15px;
      margin-bottom: 15px;
  }
  
  .cc-schedule-part {
      font-size: 16px;
  }
  
  .cc-schedule-note {
      font-size: 14px;
      margin-top: 15px;
      padding-top: 15px;
  }
  
  .cc-schedule-icon img {
      width: 50px;
      height: 50px;
      top: -15px;
      left: -15px;
  }
  
  /* インクルーシブ */
  .cc-inclusive-container {
      padding: 50px 15px;
  }
  
  .cc-inclusive-title {
      font-size: 28px;
      margin-bottom: 12px;
  }
  
  .cc-inclusive-description {
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 40px;
  }
  
  .cc-photo-gallery {
      gap: 12px;
  }
  
  .cc-photo-item {
      height: 160px;
  }

  .cc-support-cta-button {
    font-size: 12px;
    padding: 10px 15px;
    white-space: normal;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
  
  /* 装飾 */
  .decoration-dot {
      width: 12px;
      height: 12px;
      margin: 0 3px;
  }
  
  /* アプローチ背景画像 */
  .cc-approach-section-wrapper::before {
      width: 25%;
      height: 12%;
  }
  
  .cc-approach-section-wrapper::after {
      width: 25%;
      height: 12%;
  }
}

