@charset "UTF-8";

.top-childrenArea-section {
    background: url('../img/childrenArea_background_sp.png') no-repeat center/cover;
    padding: 0; 
    text-align: center;
    overflow-x: hidden;
}

.top-childrenArea-section .section-inner {
    margin: 0 auto;
    position: relative;
    padding-bottom: 30px;
}

/* 土星画像とコンテナ */
.top-childrenArea-section .top-visuals {
    position: relative;
    height: auto;
}

.top-childrenArea-section .img-saturn-container {
    position: absolute;
    max-width: 300px;
    top: -100px;
    right: -120px;
    z-index: 2;
}

/* タブレット用 */
@media (min-width: 760px) and (max-width: 819px) {
    .top-childrenArea-section .img-saturn-container {
		max-width: 380px;
    }
}

@media (min-width: 820px) and (max-width: 1023px) {
    .top-childrenArea-section .img-saturn-container {
		max-width: 400px;
    }
}

@media (min-width: 1024px) and (max-width: 1400px) {
    .top-childrenArea-section .img-saturn-container {
		max-width: 480px;
    }
}

.top-childrenArea-section .img-saturn {
    width: 100%;
    height: auto;
}

.top-childrenArea-section .logo-global {
    width: 85%;
    max-width: 500px;
    height: auto;
    margin-top: 60px;
}

/* キャッチコピー */
.top-childrenArea-section .catchphrase-wrapper {
    position: relative;
    top: 0;
    left: 0;
    padding: 20px 0 0 0;
    z-index: 10;
}

.top-childrenArea-section .catchphrase {
    line-height: 1.6;
    color: #2B3786;
    border-left: none;
    padding-left: 0;
    border-bottom: 1px solid #B39EFF;
    padding-bottom: 10px;
    font-weight: 700;
}

/* -------------------- SP装飾画像 -------------------- */

/* くるんとした線 (kurunn_sp.png) */
.top-childrenArea-section .section-inner::before {
    content: '';
    background: url('../img/childrenArea_kurunn_sp.png') no-repeat center/contain;
    position: absolute;
    top: 260px;
    left: 10px;
    width: 60px;
    height: 60px;
    z-index: 5;
}

/* ギザギザ線 (gizagiza_sp.png) */
.top-childrenArea-section .section-inner::after {
    content: '';
    background: url('../img/childrenArea_gizagiza_sp.png') no-repeat center/contain;
    position: absolute;
    top: 180px;
    right: 5%;
    width: 60px;
    height: 60px;
    z-index: 5;
}

/* タブレット用 */
@media (min-width: 760px) and (max-width: 819px) {
	.top-childrenArea-section .section-inner::before {
		top: 16%;
		left: 15%;
		width: 80px;
		height: 80px;
	}
	.top-childrenArea-section .section-inner::after {
		top: 14%;
		right: 18%;
		width: 80px;
		height: 80px;
	}
}

@media (min-width: 820px) and (max-width: 1023px) {
	.top-childrenArea-section .section-inner::before {
		top: 18%;
		left: 20%;
		width: 80px;
		height: 80px;
	}
	.top-childrenArea-section .section-inner::after {
		top: 15%;
		right: 20%;
		width: 80px;
		height: 80px;
	}
}

@media (min-width: 1024px) and (max-width: 1400px) {
	.top-childrenArea-section .section-inner::before {
		top: 18%;
		left: 25%;
		width: 80px;
		height: 80px;
	}
	.top-childrenArea-section .section-inner::after {
		top: 15%;
		right: 25%;
		width: 80px;
		height: 80px;
	}
}

/* 矢印と星の装飾 (star_sp.png) */
.top-childrenArea-section .star-decoration {
    background: url('../img/childrenArea_star_sp.png') no-repeat left calc(100% - 80px) / contain;
    z-index: 2;
}

/* タブレット用 */
@media (min-width: 768px) and (max-width: 819px) {
.top-childrenArea-section .star-decoration {
    background-position: left calc(100% - 210px);
    background-size: 80%;
    }
}

@media (min-width: 820px) and (max-width: 1023px) {
.top-childrenArea-section .star-decoration {
    background-position: left calc(100% - 30px);
    background-size: 80%;
    }
}

@media (min-width: 1024px) and (max-width: 1400px) {
.top-childrenArea-section .star-decoration {
    background-position: left calc(100% - 50px);
    background-size: 70%;
    }
}

/* -------------------- メインテキストと画像 -------------------- */

.top-childrenArea-section .content-layout {
    /* スマホでは縦積みにする */
    display: block;
    margin-top: 30px;
    padding: 0 20px;
}

.top-childrenArea-section .intro-content {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #2B3786;
}

/* kids画像 */
.top-childrenArea-section .img-kids1-container {
    width: 90%;
    max-width: 700px;
    position: relative;
    margin: 30px auto;
    border-radius: 20px;
    z-index: 5;
}
.top-childrenArea-section .img-kids,
.top-childrenArea-section .img-kids2 {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.top-childrenArea-section .kids2-visuals {
    position: relative;
    margin-left: auto;
    width: 80%;
    max-width: 680px;
    z-index: 4;
    margin-top: 130px;
}


/* -------------------- PC版のスタイル (タブレット含まない) -------------------- */

@media (min-width: 1025px) {
    /* PC版の背景に戻す */
    .top-childrenArea-section {
    background: url('../img/childrenArea_background_pc.png') no-repeat 50% bottom/cover;
    }

    .top-childrenArea-section .section-inner {
    max-width: 1300px;
    padding-bottom: 400px;
    }

    /* 装飾画像を非表示にする */
    .top-childrenArea-section .section-inner::before, 
    .top-childrenArea-section .section-inner::after {
    display: none;
    }
    .top-childrenArea-section .star-decoration {
    background: none;
    }
    
    /* 縦書きキャッチコピー */
    .top-childrenArea-section .catchphrase-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    border-left: 1px solid #2B3786; 
    padding-left: 10px;
    padding-top: 70px;
    margin-left: 50px;
    }
    
    .top-childrenArea-section .catchphrase {
    line-height: 1.5;
    font-weight: 700;
    writing-mode: vertical-rl; 
    text-align: left;
    white-space: nowrap; 
    border-bottom: none;
    padding-bottom: 0;
    }
    
    /* トップビジュアル配置 */
    .top-childrenArea-section .top-visuals {
    height: 500px;
    }
    
    .top-childrenArea-section .img-saturn-container {
    position: absolute;
    max-width: 700px;
    top: -280px;
    right: -30px;
    left: auto;
    z-index: 2;
    }
    .top-childrenArea-section .img-saturn {
    width: 160%;
    }

    /* kids1画像配置 */
    .top-childrenArea-section .img-kids1-container {
    position: absolute;
    width: 700px;
    top: 100px;
    left: 10%;
    margin: 0;
    z-index: 1;
    }
    
    .top-childrenArea-section .logo-global {
    width: 700px;
    margin-bottom: 3em;
    margin-top: 0;
    }
    
    /* 本文とKids2の配置 */
    .top-childrenArea-section .content-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    }
    
    .top-childrenArea-section .intro-content {
    margin-left: 350px;
    }
    
    .top-childrenArea-section .kids2-visuals {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0 50px 0;
    width: 680px;
    }
}
