/*
Theme Name: shounanhoiku3
Description: shounanhoiku EAuthor: Sonoko Systems
Author URI: https://sonoko-systems.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoikuen
*/

/* 全体の背景色 */
.site-main{
    background-color: #e0f2f2;
}

@font-face {
    font-family: 'uzura';
    src: url('assets/fonts/uzura.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'iwata-kyokasho';
    src: url('assets/fonts/アプリ明朝.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #ff6b8b;  /* ピンク系の基本色 */
    --secondary-color: #5ba5c8;  /* 青系のアクセントカラー */
    --background-color: #f5feff;  /* より明るぁE��景色 */
    --stripe-color-1: #e6f3f7;  /* ベビーブルー */
    --stripe-color-2: #fff9f0;  /* クリーム色 */
    --balloon-pink: #ffb2c1;  /* 吹き�Eし�Eピンク色 */
    --balloon-yellow: #FFE66D;  /* 黁E�� */
    --balloon-green: #98E0B5;   /* 緁E*/
    --balloon-blue: #a4d4ff;  /* 吹き�Eし�E青色 */
    --balloon-orange: #FFB26B;  /* オレンジ */
    --text-color: #333;  /* 標準的なチE��ストカラー */
    --cloud-color: #FFFFFF;
    --link-color: #ff9eb3;  /* リンクカラー */
    --link-hover-color: #ff7096;  /* リンクホバー時�E色 */
}

body {
    font-family: "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", Meiryo, "メイリオ", "MS PGothic", sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    background-color: #e0f2f2;
}

html {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* チェック用 */
/* * {
    outline: 1px solid red;
} */

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background-color: #e0f2f2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
}

.site-branding {
    text-align: left;
    margin: 0;
    padding: 0.5rem;
    flex: 0 0 auto;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.site-title,
.site-branding h1,
.site-branding a {
    display: none;
}

/* 内部ページヘッダー：ロゴリンクは表示（トップ以外のヘッダー用） */
.inner-page-header .site-branding .custom-logo-link {
    display: inline-block;
}

/* 雲の動作 */
.clouds{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.cloud {
    display: block;
    width: 300px;
    height: 180px;
    background-image: url('assets/images/cloud.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 5;
    opacity: 0.85;
    pointer-events: none;
}

.cloud-1 {
    top: 5%;
    left: 5%;
    animation: cloudFloat 30s linear infinite;
}

.cloud-2 {
    top: 15%;
    right: 5%;
    animation: cloudFloat 25s linear infinite reverse;
}

.cloud-3 {
    top: 30%;
    left: 15%;
    transform: scale(0.8);
    animation: cloudFloat 35s linear infinite;
}

.cloud-4 {
    top: 10%;
    right: 15%;
    transform: scale(0.9);
    animation: cloudFloat 28s linear infinite reverse;
}

@keyframes cloudFloat {
    0% { transform: translateX(-150px); }
    100% { transform: translateX(calc(100vw)); }
}

.floating-characters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.floating-character {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.char-1 {
    top: 25%;
    left: 10%;
    animation: characterFloat 12s ease-in-out infinite;
}

.char-2 {
    top: 15%;
    right: 15%;
    animation: characterFloat 10s ease-in-out infinite 2s;
}

.char-3 {
    bottom: 30%;
    right: 8%;
    animation: characterFloat 15s ease-in-out infinite 1s;
}

@keyframes characterFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, -20px) rotate(-5deg); }
    50% { transform: translate(10px, -25px) rotate(5deg); }
    75% { transform: translate(-5px, -15px) rotate(-3deg); }
}

.hero-rainbow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        to right,
        var(--balloon-pink),
        var(--balloon-yellow),
        var(--balloon-green),
        var(--balloon-blue),
        var(--balloon-orange)
    );
    opacity: 0.5;
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

.center-title-image {
    position: absolute;
    top: 100px;
    left: 20px;
    transform: none;
    width: 200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.balloon-title-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}


/* 保育園セクション */
.nursery-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 4rem 20px;
    position: relative;
    background-color: #fff9f5;
    background-image: 
        radial-gradient(#ffecf0 15%, transparent 16%), 
        radial-gradient(#f0f8ff 15%, transparent 16%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 3px dashed #ffb5c0;
    overflow: hidden;
}

.nursery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(
        to right,
        var(--balloon-pink),
        var(--balloon-yellow),
        var(--balloon-green),
        var(--balloon-blue),
        var(--balloon-orange)
    );
    opacity: 0.8;
    border-radius: 30px 30px 0 0;
}

.nursery-section-title {
    font-family: 'uzura', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
    z-index: 1;
}

.nursery-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b8b, #ffb2c1);
    border-radius: 2px;
}

/* 保育園ギャラリー */
.nursery-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.nursery-photo-item {
    position: relative;
    animation: floatNursery 3s ease-in-out infinite;
}

.nursery-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.nursery-photo-item:nth-child(1) {
    animation-delay: 0s;
    transform: rotate(-2deg);
}

.nursery-photo-item:nth-child(2) {
    animation-delay: 0.5s;
    transform: rotate(2deg);
}

.nursery-photo-item:nth-child(3) {
    animation-delay: 1s;
    transform: rotate(-1.5deg);
}

.nursery-photo-item:nth-child(4) {
    animation-delay: 1.5s;
    transform: rotate(1.5deg);
}

.nursery-photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(255, 107, 139, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 0 8px #fff,
        inset 0 0 0 12px #ffb2c1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    padding: 12px;
}

.nursery-photo-item:hover .nursery-photo-frame {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 
        0 25px 50px rgba(255, 107, 139, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 0 8px #fff,
        inset 0 0 0 12px #ff9eb3;
    z-index: 10;
}

.nursery-photo-item:hover {
    transform: rotate(0deg) !important;
    z-index: 10;
}

.nursery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.nursery-photo-item:hover .nursery-image {
    transform: scale(1.05);
}

.nursery-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'uzura', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    z-index: 5;
}

@keyframes floatNursery {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rotate, 0deg));
    }
}

/* サービスセクション */
.services-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 20px;
    position: relative;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.service-card {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.welcome-bubble {
    background-color: white;
    border-radius: 30px;
    padding: 25px;
    position: relative;
    border: 3px solid var(--balloon-pink);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin: 3rem auto; /* ← ここを変更（上下3rem、左右auto） */
    max-width: 1200px;
}

.welcome-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    text-align: center;
    background: repeating-linear-gradient(
        90deg,
        var(--stripe-color-1),
        var(--stripe-color-1) 15px,
        var(--stripe-color-2) 15px,
        var(--stripe-color-2) 30px
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* 園児画像 */
.enji-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 850px;
    object-fit: cover;
    display: block;
}

.enji-caption {
    position: absolute;
    font-family: 'uzura', sans-serif;
    font-size: 3rem;
    bottom: 5rem;
    left: 5rem;
    font-weight: bold;
    color: #333;
    background-color: white; /* 見やすくする背景 */
    padding: 4px 10px;
    border-radius: 5px;
    z-index: 2;
    pointer-events: none;
}



.feature-image-frame {
    border: 10px solid white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    position: relative;
    transform: rotate(-3deg);
    transition: all 0.3s ease;
}

.feature-image-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.feature-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0) 50%
    );
    z-index: 2;
}

.feature-text-box {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.feature-decoration {
    position: relative;
    height: 60px;
    margin-top: 30px;
    overflow: hidden;
}




.hero-section {
    position: relative;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* スカラチEE裁EE下部EE*/
.hero-section::after {
    display: none;
}

/* 上部の裁Eを削除 */
.hero-section::before {
    display: none;
}

/* メニュー */
.balloon-menu {
    position: relative;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    height: 350px;
    z-index: 2;
    margin-top: 10px;
}

/* ヘッダーメニュー */
.top-right-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.menu-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #ffb2c1;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-family: 'uzura', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 178, 193, 0.2);
    white-space: nowrap;
}

.menu-button:hover {
    background: linear-gradient(135deg, #ffecf0 0%, #ffe0e6 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 178, 193, 0.4);
    border-color: #ff9eb3;
}

.menu-emoji {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.menu-text {
    line-height: 1.4;
    white-space: nowrap;
}


/* アニメーション定義 */
@keyframes balloonFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes balloonSway {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.balloon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 260px;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: balloonFloat 6s ease-in-out infinite;
    z-index: 4;
}

/* 風船の配置を画面幁EっぱぁE調整 */
.balloon-1 {
    top: 30%;
    left: 0;
    animation-delay: 0s;
}

.balloon-2 {
    top: 5%;
    left: 12%;
    animation-delay: 1s;
}

.balloon-3 {
    top: 35%;
    left: 25%;
    animation-delay: 2s;
}

.balloon-4 {
    top: 35%;
    right: 25%;
    animation-delay: 1.5s;
}

.balloon-5 {
    top: 5%;
    right: 12%;
    animation-delay: 0.5s;
}

.balloon-6 {
    top: 30%;
    right: 0;
    animation-delay: 2.5s;
}

.balloon-image {
    width: 65%;
    position: absolute;
    z-index: 1;
    object-fit: contain;
    padding: 15px;
    box-sizing: border-box;
    animation: balloonSway 8s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.balloon:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

.balloon:hover .balloon-image {
    transform: scale(1.15);
    animation-play-state: paused;
}

/* チEストEアニメーション */
.balloon-text {
    position: relative;
    z-index: 2;
    color: #333;
    font-family: 'uzura', sans-serif;
    font-size: 38px;
    text-align: center;
    line-height: 1.2;
    padding: 0 25px;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.balloon:hover .balloon-text {
    transform: scale(1.1);
    color: #0066cc;
}

/* タイトル画僁E*/
.title-image {
    max-width: 650px;
    width: 70%;
    height: auto;
    display: block;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    pointer-events: none;
    background-color: transparent; /* 透E背景 */
}

@media (max-width: 1600px) {

    .balloon-2 { left: 8%; }
    .balloon-3 { left: 16%; }
    .balloon-4 { right: 16%; }
    .balloon-5 { right: 8%; }

    .title-image {
        max-width: 550px;
    }
    
    .center-title-image {
        width: 180px;
        height: auto;
    }
}

@media (max-width: 1400px) {
    .hero-section {
        min-height: 650px;
    }

    .balloon-text {
        font-size: 34px;
    }

    .title-image {
        max-width: 480px;
    }
    
    .center-title-image {
        width: 160px;
        height: auto;
    }

    /* バルーンの位置調整 */
    .balloon-1 { top: 30%; left: 0; }
    .balloon-2 { top: 5%; left: 5%; }
    .balloon-3 { top: 45%; left: 12%; }
    .balloon-4 { top: 45%; right: 12%; }
    .balloon-5 { top: 5%; right: 5%; }
    .balloon-6 { top: 30%; right: 0; }
}


.welcome-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    text-align: center;
    background: repeating-linear-gradient(
        90deg,
        var(--stripe-color-1),
        var(--stripe-color-1) 15px,
        var(--stripe-color-2) 15px,
        var(--stripe-color-2) 30px
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}



/* 園児画像スライダー */
.enji-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.enji-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
    animation: slideAnimation 15s infinite;
}

.enji-slide {
    width: 33.333%;
    flex-shrink: 0;
}

/* スライダーのアニメーション */
@keyframes slideAnimation {
    0%, 30% {
        transform: translateX(0);
    }
    33.33%, 63.33% {
        transform: translateX(-33.333%);
    }
    66.66%, 96.66% {
        transform: translateX(-66.666%);
    }
    100% {
        transform: translateX(0);
    }
}


.top-description {
    font-family: 'uzura', sans-serif;
    font-size: 2.0rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    letter-spacing: 0.05em;
    animation: wiggle 5s ease infinite;
}


.title-bg {
    max-width: 100%;
    width: 100%;
    height: auto;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    z-index: 0;
    margin-bottom: 2rem;
}

.welcome-text p {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    line-height: 1.8;
    background: transparent;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
    font-family: 'uzura', sans-serif;
    color: #555;
}

.feature-section {
    position: relative;
    padding: 3rem 1.5rem 5rem;
    background-color: #ffeaea;
    background-image: linear-gradient(45deg, #ffeaea 25%, #fff5f5 25%, #fff5f5 50%, #ffeaea 50%, #ffeaea 75%, #fff5f5 75%, #fff5f5 100%);
    background-size: 40px 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

.feature-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-image-wrapper {
    flex: 0 0 45%;
    max-width: 450px;
    margin: 0;
}

.feature-text-content {
    flex: 0 0 50%;
    padding: 0;
    position: relative;
}

.feature-image-frame.eisa-themed {
    border: 10px solid #ff9e9e;
    background-color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: rotate(-3deg);
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-title {
    color: #e95464;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    font-family: 'uzura', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e95464, rgba(233, 84, 100, 0.3));
    border-radius: 3px;
}

.feature-text-box.eisa-speech-bubble {
    border: 3px solid #ff9e9e;
    border-radius: 20px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    margin-top: 1rem;
}

.feature-text-content h3 {
    color: #e95464;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'uzura', sans-serif;
    font-size: 1.8rem;
}

.eisa-icon {
    height: 60px;
    width: auto;
    margin-left: 10px;
    vertical-align: middle;
}


.feature-text-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffb3b3;
}

.feature-text-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.1rem;
    font-family: 'uzura', sans-serif;
}

.feature-text-content p:last-child {
    margin-bottom: 0;
}

.feature-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
}

@media (max-width: 992px) {
    .feature-content {
        flex-direction: column;
    gap: 2rem;
}

    .feature-image-wrapper,
    .feature-text-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .feature-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}


.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.feature-text-content::before {
    display: none;
}

.feature-title {
    color: #333;
    font-size: 3rem;
    margin: 0;
    padding: 0;
    font-family: 'uzura', sans-serif;
    background: transparent;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: -70px;
    left: -30px;
    z-index: 3;
    width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/images/cloud2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    /* アウトライン（#FFEAEA） */
    text-shadow:
        -2px -2px 0 #FFEAEA,
         2px -2px 0 #FFEAEA,
        -2px  2px 0 #FFEAEA,
         2px  2px 0 #FFEAEA,
         0px -2px 0 #FFEAEA,
        -2px  0px 0 #FFEAEA,
         2px  0px 0 #FFEAEA,
         0px  2px 0 #FFEAEA;

}

.feature-title::before,
.feature-title::after {
    display: none;
}

.feature-text-content h3,
.feature-text-content p {
    position: relative;
    z-index: 2;
}

.feature-text-content h3 {
    font-size: 2.5rem;
    font-family: 'iwata-kyokasho', serif;
    margin-bottom: 1rem;
    color: #555;
}

.feature-text-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-family: 'uzura', sans-serif;
}

.feature-header {
    color: #e95464;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-family: 'uzura', sans-serif;
}

/* 湘南エイサーチEマEスタイル */
.feature-image-frame.eisa-themed {
    border: 10px solid #ff9e9e;
    background-color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: rotate(-3deg);
    transition: all 0.3s ease;
}

.feature-image-frame.eisa-themed:hover {
    transform: rotate(0) scale(1.05);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.feature-image-frame:hover .feature-image {
    transform: scale(1.1);
}

.feature-text-box.eisa-speech-bubble {
    border: 3px solid #ff9e9e;
    border-radius: 30px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
}

.feature-text-box.eisa-speech-bubble::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -20px;
    width: 40px;
    height: 20px;
    background-color: #fff;
    border-left: 3px solid #ff9e9e;
    border-bottom: 3px solid #ff9e9e;
    transform: rotate(45deg);
    z-index: -1;
}

.feature-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.bg-element-1, .bg-element-2, .bg-element-3, .bg-element-4 {
    position: absolute;
    opacity: 0.1;
}

.bg-drum {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #e95464;
}

.bg-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #e95464;
}

.bg-element-1 {
    top: 50px;
    left: 5%;
    transform: rotate(-15deg);
}

.bg-element-2 {
    bottom: 80px;
    right: 7%;
    transform: rotate(20deg);
}

.bg-element-3 {
    top: 30%;
    left: -30px;
}

.bg-element-4 {
    bottom: 20%;
    right: -30px;
}

/* NEWSセクションのスタイル */
.news-section {
    position: relative;
    margin: 4rem auto;
    padding: 3.5rem 1.5rem;
    background-color: #fffdfa;
    background-image: 
        radial-gradient(#ffecf0 15%, transparent 16%), 
        radial-gradient(#f0f8ff 15%, transparent 16%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    max-width: 1300px;
    overflow: hidden;
    border: 2px dashed #ffb5c0;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 10px;
    background: linear-gradient(
        to right,
        var(--balloon-pink),
        var(--balloon-yellow),
        var(--balloon-green),
        var(--balloon-blue),
        var(--balloon-orange)
    );
    opacity: 0.7;
    border-radius: 10px;
}

.news-header {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.news-title-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.news-flower {
    width: 100%;
    position: relative;
    margin: 0 15px;
    z-index: 5;
}


.flower-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-title-wrapper {
    background-color: #ffb5c0;
    padding: 0.8rem 3.5rem;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(255, 181, 192, 0.3);
    position: relative;
    transform: rotate(-2deg);
    border: 3px solid #fff;
}

/* ハEトEアイコンをCSSで作E */
.news-title-wrapper::before,
.news-title-wrapper::after {
    content: "♥"; /* ハEト文字を直接使用 */
    position: absolute;
    top: 50%;
    font-size: 30px;
    line-height: 1;
    color: #ffffff;
    transform: translateY(-50%);
    z-index: 5;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    font-family: 'Arial Unicode MS', 'Arial', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif;
}

.news-title-wrapper::before {
    left: 12px;
}

.news-title-wrapper::after {
    right: 12px;
}

/* 既存EハEト関連スタイルを削除 */
.news-title-container::before,
.news-title-container::after,
.heart-right::before,
.heart-right::after {
    display: none;
}

/* タイトル自体Eスタイル */
.news-title {
    font-family: 'uzura', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
}

.news-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    opacity: 0.6;
}

.news-subtitle {
    font-family: 'uzura', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.news-content {
    position: relative;
    z-index: 2;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.news-item {
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 2px solid #f8f8f8;
}

.news-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--balloon-pink), var(--balloon-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 15px 15px;
}

.news-item:hover::after {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: #ffe6ea;
}

.news-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    overflow: hidden;
}

.news-box {
    overflow: hidden;
    width: 100%;
    height: 180px;
    position: relative;
    border-bottom: 3px dotted #ffecf0;
}

.news-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    z-index: 1;
}

.news-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image {
    transform: scale(1.1);
}

.news-text {
    padding: 1.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
}

.news-text::before {
    content: "✨";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #ffb5c0;
    opacity: 0.7;
    animation: twinkle 1.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.9; transform: scale(1.1); }
}

.news-date {
    font-size: 1rem;
    color: #ffb5c0;
    margin-bottom: 0.5rem;
    font-family: 'uzura', sans-serif;
    font-weight: bold;
}

.news-item-title {
    font-size: 1.3rem;
    color: #555;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    font-family: 'uzura', sans-serif;
}

.news-update {
    font-size: 0.9rem;
    color: #999;
    margin-top: auto;
    font-family: 'uzura', sans-serif;
}

/* 小鳥のアニメーション */
.news-bees {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 5;
}

.news-bee {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('assets/images/bee.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: birdFlyNews 15s linear infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.news-bee:hover {
    transform: scale(1.2) rotate(5deg);
    animation-play-state: paused;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.news-bee:nth-child(1) {
    top: 15px;
    left: 5%;
    animation-delay: 0s;
    filter: hue-rotate(10deg);
}

.news-bee:nth-child(2) {
    top: 30px;
    left: 15%;
    animation-delay: 2s;
    transform: scale(0.8);
    filter: hue-rotate(30deg);
}

.news-bee:nth-child(3) {
    top: 8px;
    left: 40%;
    animation-delay: 1s;
    transform: scale(0.9);
    filter: hue-rotate(60deg);
}

.news-bee:nth-child(4) {
    top: 25px;
    right: 40%;
    animation-delay: 0.5s;
    transform: scale(0.85);
    filter: hue-rotate(180deg);
}

.news-bee:nth-child(5) {
    top: 10px;
    right: 15%;
    animation-delay: 1.5s;
    transform: scale(0.9);
    filter: hue-rotate(240deg);
}

.news-bee:nth-child(6) {
    top: 22px;
    right: 5%;
    animation-delay: 2.5s;
    transform: scale(0.8);
    filter: hue-rotate(300deg);
}

@keyframes birdFlyNews {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(15px) translateY(-15px) rotate(5deg); }
    50% { transform: translateX(30px) translateY(0) rotate(0deg); }
    75% { transform: translateX(15px) translateY(10px) rotate(-5deg); }
    100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@media (max-width: 992px) {
    .news-section {
        padding: 3rem 1.5rem;
        margin: 3rem 1rem;
    }
    
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}


/* Circle Menu Section */
.circle-menu-section {
    position: relative;
    padding: 4rem 1.5rem;
    margin: 4rem auto;
    text-align: center;
    background-color: #fafeff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 1300px;
    overflow: hidden;
}

.section-title-container {
    margin-bottom: 1rem;
    position: relative;
}

.section-title {
    font-family: 'uzura', sans-serif;
    font-size: 2.8rem;
    color: #4a86e8;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.circle-menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--balloon-blue),
        var(--balloon-green),
        var(--balloon-yellow)
    );
    opacity: 0.7;
}

.circle-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.circle-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    width: 250px;
    margin-bottom: 1.5rem;
}

.circle-item:hover {
    transform: translateY(-8px);
}

.circle-icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.circle-item:hover .circle-icon {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--balloon-blue);
}

.circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.circle-item:hover .circle-image {
    transform: scale(1.1);
}

.circle-title {
    font-family: 'uzura', sans-serif;
    font-size: 1.5rem;
    color: #555;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.circle-item:hover .circle-title {
    color: var(--balloon-blue);
}

@media (max-width: 992px) {
    .circle-menu-section {
        padding: 3rem 1rem;
        margin: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .circle-menu {
        gap: 2rem;
    }
    
    .circle-icon {
        width: 160px;
        height: 160px;
    }
}


/* 外部リンクセクション */
.external-links-section {
    position: relative;
    padding: 1.5rem 1.5rem;
    margin: 1rem auto 2.5rem auto;
    background-color: #fff9f5;
    background-image: 
        radial-gradient(#ffecf0 15%, transparent 16%), 
        radial-gradient(#f0f8ff 15%, transparent 16%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
   
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 1300px;
    overflow: hidden;
    border: 3px dashed #ffb5c0;
    text-align: center;
}

.external-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3rem auto 3rem auto;
}

.external-link-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    background-color: #fff;
    border-radius: 15px;
    padding: 1rem 0rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #fff;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

.external-link-item:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #ffb5c0;
}

.external-link-item:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: #ffecf0;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.external-link-item:hover:before {
    opacity: 0.5;
}

.external-link-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.external-link-item:hover .external-link-icon {
    border-color: #ffb5c0;
    transform: scale(1.05);
}

.external-link-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.external-link-item:hover .external-link-image {
    transform: scale(1.1);
}

.external-link-text {
    font-family: 'uzura', sans-serif;
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin: 0.3rem 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.external-link-subtitle {
    font-family: 'uzura', sans-serif;
    font-size: 1.4rem;
    color: #555;
    margin: 0;
    line-height: 2.4;
}

.external-link-item:hover .external-link-text {
    color: #ff9e5e;
}

.external-link-multi-text {
    text-align: center;
}

.external-link-multi-text .external-link-text {
    margin: 0.1rem 0;
    font-size: 1rem;
}



@media (max-width: 992px) {
    .character-img {
        width: 100px;
    }
    
    .elephant-img {
        left: 0;
    }
    
    .sheep-img {
        right: 0;
    }
    
    .external-links-section {
        padding: 1.5rem 1rem;
        margin: 1rem auto 2rem auto;
    }
}


/* フッターのスタイル */
.site-footer {
    background-color: #e0f2f2;
    padding: 3rem 1.5rem;
    position: relative;
    margin-top: 4rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--balloon-pink),
        var(--balloon-yellow),
        #e0f2f2,
        var(--balloon-blue),
        var(--balloon-orange)
    );
    opacity: 0.7;
}

.footer-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 0 0 60%;
    max-width: 60%;
    padding-right: 2rem;
}

.footer-right {
    flex: 0 0 38%;
    max-width: 38%;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 70px;
    height: auto;
    border-radius: 50%;
    margin-right: 1rem;
}

.footer-title {
    font-family: 'uzura', sans-serif;
    font-size: 1.8rem;
    color: #555;
    margin: 0;
}

.footer-address, .footer-tel {
    font-family: 'uzura', sans-serif;
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    gap: 0.5rem 1rem;
}

.footer-menu a {
    font-family: 'uzura', sans-serif;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.8;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}


.footer-menu a:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--balloon-blue);
}

.menu-break {
    flex-basis: 100%;
    height: 0.5rem;
}

.footer-inquiry {
    margin-top: 1.5rem;
}

.inquiry-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.inquiry-circle {
    font-size: 0.8rem;
    margin: 0 0.5rem 0 0;
    color: var(--balloon-pink);
}

.inquiry-text {
    font-family: 'uzura', sans-serif;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.inquiry-arrow {
    margin: 0 0.5rem;
    color: var(--balloon-blue);
    font-size: 0.8rem;
}

.inquiry-link {
    font-family: 'uzura', sans-serif;
    color: var(--balloon-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.inquiry-link:hover {
    text-decoration: underline;
}

/* アクセス惁E */
.footer-access {
    background-color: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.access-title-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.access-title {
    font-family: 'uzura', sans-serif;
        font-size: 1.5rem;
    color: var(--balloon-blue);
    margin: 0;
    display: inline-block;
    position: relative;
}

.access-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--balloon-blue);
    opacity: 0.6;
}

.access-info {
    margin-bottom: 1.2rem;
}

.access-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.access-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.access-item p {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'uzura', sans-serif;
}

.footer-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.map-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--balloon-blue);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* アクセスアイコン */
.access-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.access-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.access-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.access-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .footer-left, .footer-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .footer-right {
        margin-top: 2rem;
    }
    
    .footer-logo-image {
        width: 60px;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
}


/* 園児紹介セクション */
.introduction-section {
    position: relative;
    padding: 5rem 1.5rem 7rem;
    margin: 6rem auto;
    background-color: #bde9bd;
    overflow: hidden;
    color: #fff;
    max-width: 100%;
}

.intro-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.intro-title {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    color: #333;
    letter-spacing: 1px;
    margin: 0 0 1rem;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.intro-title:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.intro-subtitle {
    font-family: 'uzura', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
    /*text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);*/
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.intro-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 50px auto;
    gap: 40px;
}

.intro-bubble {
    flex: 0 0 auto;
    width: calc(33.333% - 40px);
    max-width: 350px;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px 20px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border: 3px solid #ffe0e0;
    overflow: visible;
    animation: bubbleFloat 4s ease-in-out infinite;
}

.intro-bubble::before {
    content: "✿";
    position: absolute;
    top: -25px;
    left: -20px;
    font-size: 40px;
    color: #ffb0b0;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
    transform: rotate(-15deg);
    z-index: 1;
}

.intro-bubble::after {
    content: "❀";
    position: absolute;
    bottom: -20px;
    right: -15px;
    font-size: 35px;
    color: #ffb0b0;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
    transform: rotate(15deg);
    z-index: 1;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.policy-bubble {
    border-color: #ffb0b0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff5f5 100%);
    animation-delay: 0s;
}

.facility-bubble {
    border-color: #ffd6a5;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 50%, #fff8f0 100%);
    animation-delay: 1.5s;
}

.life-bubble {
    border-color: #a5d6ff;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 50%, #f0f8ff 100%);
    animation-delay: 3s;
}

.bubble-info {
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 182, 193, 0.7);
    border-radius: 15px;
    margin-top: 15px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.bubble-title {
    font-family: 'uzura', sans-serif;
    font-size: 1.7rem;
    color: #333;
    margin: 0;
    /*text-shadow: 1px 1px 3px rgba(0,0,0,0.2);*/
}

.policy-bubble .bubble-info {
    background-color: rgba(255, 182, 193, 0.85); /* ピンクを濃く */
}

.facility-bubble .bubble-info {
    background-color: rgba(255, 214, 165, 0.85); /* オレンジを濃く */
}

.life-bubble .bubble-info {
    background-color: rgba(165, 214, 255, 0.85); /* 水色を濃く */
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.intro-bubble {
    animation: bubbleFloat 4s ease-in-out infinite;
}

.policy-bubble {
    animation-delay: 0s;
}

.facility-bubble {
    animation-delay: 1.5s;
}

.life-bubble {
    animation-delay: 3s;
}

.circle-image-link {
    display: block;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 5px solid #fff;
}

.circle-image-link:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.circle-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.circle-image-link:hover .circle-image img {
    transform: scale(1.1);
}

.bubble-info {
    text-align: center;
    padding: 0 15px;
}



@media (max-width: 992px) {
    .intro-bubble {
        width: calc(50% - 40px);
        margin-bottom: 40px;
    }

    .circle-image-link {
        width: 200px;
        height: 200px;
    }

    .bubble-title {
        font-size: 1.8rem;
    }

}


.bubble-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 45% 45% 8% 8% / 35% 35% 5% 5%;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
}

.bubble-content:hover {
    transform: translateY(-10px);
}

.bubble-image {
    overflow: hidden;
    width: 100%;
    height: 180px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
    position: relative;
}

.bubble-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bubble-content:hover .bubble-image img {
    transform: scale(1.1);
}

.bubble-footer {
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.15);
}

.bubble-footer:after {
    display: none;
}

.bubble-category {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #444;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* バブルの色のバリエーション */
.policy-bubble .bubble-content {
    background-color: #fff0f0;
}

.policy-bubble .bubble-image {
    border-bottom-color: rgba(255, 181, 192, 0.3);
}

.facility-bubble .bubble-content {
    background-color: #fff6e9;
}

.facility-bubble .bubble-image {
    border-bottom-color: rgba(255, 178, 107, 0.3);
}

.life-bubble .bubble-content {
    background-color: #eaf6ff;
}

.life-bubble .bubble-image {
    border-bottom-color: rgba(165, 209, 255, 0.3);
}

/* バックグラウンド装飾 */
.intro-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}


/* レスポンシブデザイン */
@media (max-width: 992px) {
    .intro-bubbles {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .intro-bubble {
        width: calc(50% - 40px);
        max-width: 300px;
    }
    
    .intro-bubble:first-child,
    .intro-bubble:last-child {
        margin: 0 10px 20px;
    }
    
    .intro-title {
        font-size: 1.6rem;
    }
    
    .intro-subtitle {
        font-size: 2.2rem;
    }
    
    .flower-decoration,
    .rain-decoration {
        width: 200px;
        height: 400px;
    }
}


/* 黒板に描いたよぁEエフェクト（画像がなぁE合EフォールバックEE*/
.flower-decoration::before {
    content: "✿";
    position: absolute;
    top: 50px;
    left: 20px;
    font-size: 60px;
    color: rgb(255, 255, 255);
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}

.flower-decoration::after {
    content: "❀";
    position: absolute;
    top: 150px;
    left: 60px;
    font-size: 70px;
    color: rgb(255, 255, 255);
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}




.sun-decoration::before {
    content: "☀";
    position: absolute;
    top: 40px;
    right: 30px;
    font-size: 70px;
    color: rgb(255, 255, 255);
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}

.umbrella-decoration::before {
    content: "☁";
    position: absolute;
    bottom: 50px;
    right: 40px;
    font-size: 60px;
    color: rgb(255, 255, 255);
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}

/* 裁E画像Eサイズ調整 */
.flower-decoration {
    width: 300px;
    height: 500px;
}


.sun-decoration {
    width: 150px;
    height: 150px;
}

.cloud-decoration {
    width: 180px;
    height: 100px;
}

.umbrella-decoration {
    width: 150px;
    height: 200px;
}


@media (max-width: 992px) {
    .intro-bubbles {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .intro-bubble {
        width: calc(50% - 40px);
        max-width: 300px;
    }
    
    .intro-bubble:first-child,
    .intro-bubble:last-child {
        margin: 0 10px 20px;
    }
    
    .intro-title {
        font-size: 1.6rem;
    }
    
    .intro-subtitle {
        font-size: 2.2rem;
    }
    
    .flower-decoration,
    .rain-decoration {
        width: 200px;
        height: 400px;
    }

}


/* キャラクター裁E */
.character-decoration {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

/* 不要な裁Eを削除 */

.character-img {
    position: absolute;
    width: 120px;
    height: auto;
    transition: all 0.4s ease;
}

.elephant-img {
    left: 10%;
    top: -20px;
    transform: rotate(-5deg);
    animation: elephantBounce 3s ease-in-out infinite;
    z-index: 1;
}

.sheep-img {
    position: absolute;
    width: 200px; /* ここでサイズ指定 */
    height: auto;
    right: 10%;
    top: -10px;
    transform: rotate(5deg);
    animation: rabbitBounce 3s ease-in-out infinite;
    z-index: 1;
    transition: all 0.4s ease;
}

.character {
    position: relative;
    width: 100px;
    height: 150px;
    transform-origin: bottom center;
}



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

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

.external-links-title {
    font-family: 'uzura', sans-serif;
    font-size: 2.5rem;
    color: #ff9e5e;
    text-align: center;
    margin: 0 auto 2rem auto;
    position: relative;
    display: inline-block;
    background-color: #fff;
    padding: 0.8rem 3rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #ffb5c0;
    left: 0;
    right: 0;
    width: fit-content;
    top: -1.5rem;
}

@media (max-width: 992px) {
    .character-img {
        width: 100px;
    }
    
    .elephant-img {
        left: 0;
    }
    
    .sheep-img {
        right: 0;
    }
    
    .external-links-title {
        font-size: 2rem;
        padding: 0.6rem 2rem;
        top: 30px;
    }
}


/* 方針と特別保育活動Eージのヘッダー */
.page-policy .site-header,
.page-template-page-policy .site-header,
.single-policy .site-header,
body.policy .site-header {
    background: none !important;
    background-color: var(--background-color) !important;
}

/* キャラクター裁E */
  
/* 方針と特別保育活動Eージのスタイル */
.policy-hero {
    position: relative;
    background-color: #f9f9f9;
    padding: 40px 0;
    overflow: hidden;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 50% 50% / 0 0 20% 20%;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle at center,
        #e6f2ff 10px,
        #ffffff 20px,
        #e6f2ff 30px,
        #ffffff 40px,
        #e6f2ff 50px,
        #ffffff 60px
    );
    z-index: 0;
}

.policy-hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    z-index: 1;
}

.policy-tiger-image {
    flex: 0 0 40%;
    max-width: 500px;
    margin-right: -50px;
    position: relative;
    z-index: 2;
}

.tiger-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    animation: tigerBounce 3s ease-in-out infinite;
}

@keyframes tigerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* トップページヘッダー（アイコン＋テキスト縦並びナビ） */
.fp-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e0f2f2 !important;
    background-image: none !important;
    box-shadow: none;
    padding: 0;
}

.fp-header .fp-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.fp-header .fp-header-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    padding: 0 0;
    height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.fp-header .fp-header-branding .fp-header-logo-link {
    display: block;
    height: 100%;
    line-height: 0;
}

.fp-header .fp-header-branding .fp-header-logo {
    height: 150px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.fp-header .main-navigation.fp-nav,
.fp-header .fp-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center !important;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    flex: none;
}

.fp-header .fp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 12px 40px;
    min-width: 140px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.fp-header .fp-nav-item:hover {
    color: var(--secondary-color);
    opacity: 0.9;
}

.fp-header .fp-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.fp-header .fp-nav-icon img,
.fp-header .fp-nav-icon .fp-nav-icon-img {
    width: 70px !important;
    object-fit: contain;
    display: block;
}

.fp-header .fp-nav-item--relatedbusinesses .fp-nav-icon img,
.fp-header .fp-nav-item--relatedbusinesses .fp-nav-icon .fp-nav-icon-img {
    width: 120px !important;
}

.fp-header .fp-nav-text {
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
}

.fp-header .fp-nav-divider {
    width: 1px;
    min-height: 80px;
    background-color: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    align-self: center;
}

.fp-header-wave {
    height: 12px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, #7ec8c8 15%, #98d4a8 50%, #7ec8c8 85%, transparent 100%);
    border-radius: 0 0 50% 50%;
    opacity: 0.85;
}

/* 内部ページのヘッダースタイル */
.inner-page-header {
    background-color: #f9f2e9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: relative;
}

.inner-page-header .site-branding {
    text-align: left;
    margin-bottom: 0;
}

.inner-page-header .custom-logo-link img,
.inner-page-header .inner-header-logo-img {
    max-height: 96px;
    width: auto;
    height: auto;
    display: block;
}

.inner-navigation {
    display: flex;
    justify-content: center;
}

.inner-navigation .primary-menu {
    display: flex;
    flex-wrap: nowrap; /* ← 折り返しそのものを防ぐ（必要に応じて） */
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 18px;
}

.inner-navigation .primary-menu li {
    position: relative;
}

.inner-navigation .primary-menu a {
    color: #555;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(17px, 1.25vw, 20px);
    padding: 10px 16px;
    transition: all 0.3s ease;
    white-space: nowrap; /* ← これが改行防止のカギ！ */
    display: block;
    position: relative;
    border-radius: 22px;
}

.inner-navigation .primary-menu a:hover {
    color: #fff;
    background-color: #ff7bac;
}

/* 現在地のメニュー：ピンク塗り＋外側をピンクの枠で強調 */
.inner-navigation .primary-menu li.current-menu-item > a {
    color: #fff;
    background-color: #ff7bac;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px #ff4d9a;
}

.inner-navigation .primary-menu li.current-menu-item > a:hover {
    color: #fff;
    background-color: #ff6baf;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px #ff4d9a;
}

/* 内部ページでは「ホーム」を常緑にしない（現在地のピンク強調が埋もれるため、他メニューと同じベース） */
.inner-navigation .home-button {
    background-color: transparent;
    color: #555;
}

.inner-navigation .home-button:hover {
    color: #fff;
    background-color: #ff7bac;
}

.rainbow-decoration {
    height: 12px;
    background: linear-gradient(to right, #ff9aa2, #ffb7b2, #ffdac1, #e2f0cb, #b5ead7, #c7ceea);
    position: relative;
}


/* 固定アイコングループ */
.fixed-icon-group-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-icon-button {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.fixed-icon-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.fixed-icon-button img {
    width: 40%;
    border-radius: 50%;
    object-fit: contain;
    z-index: 1;
}

.icon-label {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: bold;
    color: black;
    z-index: 2;
    pointer-events: none;
}


/* モバイルメニューボタン */
.mobile-menu-button {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.menu-icon {
    position: relative;
    width: 25px;
    height: 2px;
    background-color: #ff6b8b;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #ff6b8b;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}

.mobile-menu-button.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-button.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-button.active .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* モバイルメニュー表示時のスタイル */
.mobile-menu-active .balloon-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 50px 20px;
}

.mobile-menu-active .balloon {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 10px 0;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}


  
/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu-container {
    padding: 80px 20px 40px;
    max-width: 500px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-menu-list a {
    display: block;
    font-family: 'uzura', sans-serif;
    font-size: 2rem;
    color: #ff6b8b;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffecf0;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
    background-color: #ffecf0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* モバイルメニュー表示時のスタイル */
.mobile-menu-active .balloon-menu {
    display: none !important;
}

.mobile-menu-active .mobile-menu {
    display: block;
}

/* モーダルウインドウのスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
}

.modal h3 {
    margin-top: 0;
    color: var(--balloon-blue);
    font-family: 'uzura', sans-serif;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-body {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-footer {
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.close-button, .agree-button {
    background-color: var(--balloon-blue);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.close-button:hover, .agree-button:hover {
    background-color: #3a6db5;
}

/* むし歯活動ダイアログのスタイル */
.musiba-dialog-image {
    text-align: center;
    margin-bottom: 15px;
}

.musiba-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.musiba-dialog-content {
    font-family: 'uzura', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.musiba-dialog-content a {
    text-decoration: none;
    color: var(--balloon-blue);
}

.musiba-dialog-content a:hover {
    text-decoration: underline;
}

.musiba-detail-link {
    display: inline-block;
    background-color: var(--balloon-green);
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.musiba-detail-link:hover {
    background-color: #3a9f5d;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .musiba-dialog-image {
        flex: 0 0 120px;
        margin-bottom: 0;
    }
    
    .musiba-dialog-content {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }
    
    .modal h3 {
        font-size: 1.5rem;
    }
    
    .musiba-icon {
        width: 80px;
        height: 80px;
    }
    
    .close-button, .agree-button, .musiba-detail-link {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

.sun-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'uzura', sans-serif;
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sun-text-overlay:hover {
    color: #e95464;
    transform: translate(-50%, -50%) scale(1.05);
}


/* ダウンロードアイコン用のスタイル */
.icon-download {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-block;
    background-color: #FF6B6B;
    border-radius: 50%;
}

.icon-download:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-top: 2px solid white;
}

.icon-download:after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background-color: white;
    border-radius: 1px;
}

.icon-download .arrow {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
}

/* 子育て応援室セクション */
.kosodate-section {
    padding: 60px 0;
    background-color: #fff9f9;
    position: relative;
    border-top: 4px dashed #ffcbcb;
    border-bottom: 4px dashed #ffcbcb;
    overflow: hidden;
}

.kosodate-section::before,
.kosodate-section::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 203, 203, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.kosodate-section::before {
    top: -50px;
    left: -50px;
}

.kosodate-section::after {
    bottom: -50px;
    right: -50px;
}

.kosodate-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.1);
    padding: 30px;
    border: 2px solid #ffecec;
}

.kosodate-text {
    flex: 1;
    padding-right: 40px;
    position: relative;
}

.kosodate-text::before {
    content: '✿';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 30px;
    color: #FF6B6B;
    opacity: 0.5;
}

.kosodate-title {
    font-size: 2.8rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: normal;
    font-family: 'uzura', sans-serif;
    position: relative;
    display: inline-block;
}

.kosodate-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #FF6B6B, transparent);
}

.kosodate-subtitle {
    font-size: 2.8rem;
    color: #FF6B6B;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    font-family: 'uzura', sans-serif;
    text-shadow: 2px 2px 0 #fff0f0;
    letter-spacing: 2px;
    text-align: center;
}

.kosodate-subtitle::before,
.kosodate-subtitle::after {
    content: '♪';
    /*position: absolute;*/
    font-size: 1.5rem;
    color: #FF6B6B;
}

.kosodate-subtitle::before {
    left: -30px;
    top: 5px;
    transform: rotate(-20deg);
}

.kosodate-subtitle::after {
    transform: rotate(20deg);
}

.kosodate-description {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
    font-family: 'uzura', sans-serif;
    background-color: #fffdfd;
    padding: 15px;
    border-radius: 15px;
    border-left: 4px solid #ffcbcb;
    position: relative;
}


.kosodate-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.kosodate-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
    transition: all 0.3s ease;
}

.kosodate-img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
}


.kosodate-button-container {
    margin-top: 25px;
    text-align: center;
}

.kosodate-button {
    display: inline-block;
    background-color: #FF6B6B;
    color: white;
    font-family: 'uzura', sans-serif;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
}

.kosodate-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.kosodate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.kosodate-button:hover::before {
    transform: translateX(100%);
}

/* フッター: 可愛い書体を使わない */
.site-footer,
.site-footer * {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
}

