/* elegant-fusion-styles.css - 藤塚幼稚園 エレガント融合デザイン (青系統・単色バージョン) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    background-color: #FAFBFC;
    color: #2C3E50;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* 装飾的な形状 */
.decorative-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    top: -200px;
    right: -200px;
    animation: rotate-slow 30s linear infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #85C1E9 0%, #667eea 100%);
    bottom: -150px;
    left: -150px;
    animation: rotate-slow 25s linear infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #aed6f1 0%, #85c1e9 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-slow 8s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #aed6f1 0%, #85c1e9 100%);
    top: 40%;
    right: 5%;
    animation: pulse-slow 10s ease-in-out infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-slow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.08; }
}

/* 浮遊要素 */
.floating-element {
    position: absolute;
    font-size: 24px;
    opacity: 0.3;
    animation: float-gentle 10s ease-in-out infinite;
}

.element-1 { top: 20%; left: 10%; animation-delay: 0s; }
.element-2 { top: 60%; right: 15%; animation-delay: 3s; }
.element-3 { bottom: 30%; left: 20%; animation-delay: 6s; }
.element-4 {top: 80%;left: 50%;animation-delay: 9s; }

@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    75% { transform: translateY(10px) rotate(-5deg); }
}

/* ヘッダーセクション */
.header-section {
    position: relative;
    background: #FFFFFF;
    padding: 15px 0; /* 変更 */
    z-index: 100;
    overflow: hidden;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #3498DB;
}

.header-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F0F2F5, transparent);
}

.logo-address-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
    transform: translateY(-3px);
}

.logo-accent {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #3498DB;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover .logo-accent {
    width: 80px;
}

.elegant-address {
    background: #F0F2F5;
    padding: 15px 25px; /* 変更 */
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.elegant-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #3498DB;
}

.address-badge {
    width: 50px;
    height: 50px;
    background-color: #3498DB;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.address-content {
    flex: 1;
}

.address-title {
    font-weight: 700;
    color: #2980B9;
    margin-bottom: 5px;
    font-size: 14px;
}

.address-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.phone-link,
.map-link {
    color: #2C3E50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.phone-link:hover,
.map-link:hover {
    color: #3498DB;
}

.map-link {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 15px;
    background-color: #5DADE2;
    border-radius: 15px;
    font-size: 13px;
    color: #FFFFFF;
}

/* ナビゲーション */
.nav-section {
    background: #FFFFFF !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.uk-navbar-container { background: transparent !important; }

.uk-navbar-nav > li > a {
    color: #2C3E50 !important;
    padding: 0 25px;
    height: 60px; /* 変更 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-text {
    font-weight: 600;
    font-size: 16px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-subtitle {
    font-size: 11px;
    color: #6C757D;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uk-navbar-nav > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #3498DB;
    transform: translateY(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uk-navbar-nav > li:hover > a::before,
.uk-navbar-nav > li.uk-active > a::before {
    transform: translateY(0);
}

.uk-navbar-nav > li:hover > a .nav-text,
.uk-navbar-nav > li.uk-active > a .nav-text {
    color: #3498DB !important;
    transform: translateY(-2px);
}

.uk-navbar-nav > li:hover > a .nav-subtitle,
.uk-navbar-nav > li.uk-active > a .nav-subtitle {
    opacity: 1;
}

/* ドロップダウン */
.elegant-dropdown {
    background: #FFFFFF !important;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid #F0F2F5;
    padding: 10px;
    margin-top: 10px;
}

.elegant-dropdown .uk-nav-dropdown-nav > li > a {
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C3E50;
}

.elegant-dropdown .uk-nav-dropdown-nav > li > a:hover {
    background-color: #F0F2F5;
    transform: translateX(5px);
}

.dropdown-icon { font-size: 16px; }

/* メインコンテナ */
.main-container {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

/* コンテンツカード */
.elegant-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.elegant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #3498DB;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.elegant-card:hover::before {
    transform: scaleX(1);
}

/* セクションタイトル */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 14px;
    color: #6C757D;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* ボタンスタイル */
.elegant-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #3498DB;
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.elegant-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.elegant-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background-color: #2980B9;
}

.elegant-button:hover::before {
    width: 300px;
    height: 300px;
}

/* info card - 情報カード */
.info-card-elegant {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.info-card-elegant::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-color: #3498DB;
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.info-card-elegant:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.info-card-elegant:hover::after {
    opacity: 0.05;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #3498DB;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2C3E50;
    position: relative;
    z-index: 1;
}

.card-description {
    color: #6C757D;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* モバイルメニュー */
.mobile-menu-toggle {
    margin-right: 20px;
}

.mobile-menu-toggle .uk-navbar-toggle {
    background-color: #3498DB;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle .uk-navbar-toggle:hover {
    transform: rotate(90deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* オフキャンバス */
.elegant-offcanvas .uk-offcanvas-bar {
    background: #2C3E50;
    width: 320px;
    padding: 0;
}

.mobile-header {
    background-color: #3498DB;
    padding: 30px;
    text-align: center;
}

.mobile-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.mobile-header h3 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0;
}

.uk-nav-default > li > a {
    color: #FFFFFF !important;
    padding: 20px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.uk-nav-default > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #3498DB;
    transform: translateX(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uk-nav-default > li > a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 40px;
}

.uk-nav-default > li > a:hover::before {
    transform: translateX(0);
}

.mobile-nav-text {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-subtitle {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.mobile-sub-item {
    padding-left: 20px;
}

.mobile-sub-item a {
    font-size: 14px !important;
    opacity: 0.8;
}

.uk-nav-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.mobile-address {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    margin: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-address p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.mobile-address a {
    color: #f7dc6f !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-address a:hover {
    text-decoration: underline;
}

/* フッター */
.footer-section {
    background: #5DADE2;
    color: #FFFFFF;
    position: relative;
    margin-top: 60px; /* 変更 */
    padding-top: 40px; /* 変更 */
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    color: #5DADE2;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; /* 変更 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.footer-info p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #FFFFFF;
    transform: scaleX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-links span {
    opacity: 0.5;
}

.footer-bottom {
    padding: 20px 0; /* 変更 */
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}


/* パーティクル効果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #3498DB;
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* アニメーション要素 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* スライドショー */
.elegant-slideshow {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    margin-bottom: 40px;
}

.elegant-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.uk-slideshow-items li {
    background-color: #F0F2F5;
}

.uk-slideshow-items li img {
    object-fit: contain;
    width: 100%;
    max-height: 80vh; /* 画面からはみ出さないように最大の高さを設定 */
}

/* ニュースセクション */
.news-section-elegant {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.news-section-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #3498DB;
}

.news-title-custom {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2C3E50;
}

.news-list-item {
    padding: 0;
}
.news-list-item > a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}
.news-list-item > a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}
.news-list-item .news-date {
    color: #2980B9;
    font-weight: 600;
}
.news-list-item .news-title {
    color: #2C3E50;
    font-weight: 500;
}
.news-list-item > a:hover .news-title {
    color: #3498DB;
}

/* レスポンシブ */
@media (max-width: 960px) {
    .logo-address-container {
        flex-direction: column;
        gap: 30px;
    }
    .elegant-address { width: 100%; }
    .nav-text { font-size: 14px; }
    .nav-subtitle { display: none; }
    .uk-navbar-nav > li > a {
        padding: 0 15px;
        height: 60px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* ユーティリティクラス */
.text-gradient {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-elegant { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); }

.border-gradient {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3px;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    border-radius: 20px;
    z-index: -1;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* フォーム要素 */
.elegant-input,
.elegant-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #F0F2F5;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
}

.elegant-input:focus,
.elegant-textarea:focus {
    outline: none;
    border-color: #3498DB;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.elegant-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

/* News マークのスタイル */
.new-mark-style {
    background-color: #f6062a;
    color: #FFFFFF !important;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
}