/* ========================================
   共通スタイルシート (sec.css)
   さくらこども園ウェブサイト用
======================================== */

/* ========================================
   リボン付き見出しスタイル
======================================== */
.ribbon-heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0px 0 30px 0;
    padding: 50px 0 20px 0;
    border-bottom: 3px solid #FFE3E3;
}

.ribbon-heading::before {
    content: attr(data-ribbon); 
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e04f54;
    color: white;
    padding: 5px 40px;
    font-size: 1.5rem;
    font-weight: 500;
    min-width: 10%;
    max-width: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
    z-index: 1;
}

/* ========================================
   セクションレイアウト
======================================== */
.section {
    background: #FDF7F9;
    margin-bottom: 120px;
    padding: 0 0 120px 0;
    font-size: 1.8rem;
    color: #4e4e4e;
}
.section p a, .common-link{
    color: #e04f54 !important;
    text-decoration: underline !important;
}
.section:first-child{
    padding: 0;
    margin-top: -120px;
    margin-bottom: 120px;
}

.section:nth-child(2n) {
    background: white;
}

.section-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ========================================
   セクション内見出し
======================================== */
.section-heading {
    text-align: left;
    font-size: 3rem;
    font-weight: 600;
    color: #e04f54;
    margin: 40px 0 30px 0;
}

.section-h3 {
    font-size: 1.8rem;
    color: #e04f54;
    margin: 40px 0 20px 0;
    text-align: left;
}

/* ========================================
   テキストセクション
======================================== */
.text-section {
    text-align: left;
}

.text-section p {
    line-height: 1.8;
}

/* ========================================
   ボタンスタイル
======================================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #e04f54, #ff6b6b);
    color: white;
    padding: 15px 40px 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.btn-primary::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-primary:hover {
    transform: translateY(-2px);
}


/* ========================================
   2カラムレイアウト
======================================== */
.two-column {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0;
}

.column-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.column-image {
    flex: 0 0 350px;
    overflow: hidden;
    border-radius: 15px;
}

.column-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    .ribbon-heading {
        font-size: 2.5rem;
    }
    .ribbon-heading::before {
    min-width: 80%;
    }


    .section-heading {
        font-size: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

}

/* アンカー位置調整 */
.anchorpoint {
  display: block;
}
.anchorpoint::before {
  content: "";
  display: block;
  position: relative;
  height: 1px;
  margin-top: -61px;
  margin-bottom: 60px;
  background: transparent;
  z-index: -100;
}
@media screen and (min-width: 1100px), print {
    .anchorpoint {
      /* margin-bottom: 220px; */
      margin-bottom: 0;
    }
    .anchorpoint:last-child{
        margin-bottom: 0;
    }
  .anchorpoint::before {
    background: #333;
    margin-top: 0;
    margin-bottom: 120px;
}

    .l-section {
        margin-top: 70px;
    }

}


.carousel-slider { 

overflow: visible;
padding: 0;
-webkit-box-sizing: border-box;
        box-sizing: border-box;
margin: 0 -1em;
margin-bottom: 3rem;
}
@media screen and (min-width: 1100px), print {
.carousel-slider {
    margin: 0 -2em;
    margin-bottom: 0rem;
}
}
.carousel-slider .swiper-container {
padding: 0 0 1.8em 0;
}
@media screen and (min-width: 1100px), print {
.carousel-slider .swiper-container {
    padding: 0 0 2.5em 0;
}
}
.carousel-slider .swiper-pagination .swiper-pagination-bullet {
background-color: #C4BEBE;
}
.carousel-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: #E04F54;
}
.carousel-slider .swiper-slide {
height: auto;
}
.carousel-slider .swiper-img::before {
padding-top: 66%;
}
.carousel-slider #swiper-slider2 {
overflow: visible;
}

