/* 全画面対応 */

/* 横スクロールチェック用*/
/* * {
    outline: 1px solid magenta;
}
 */

.sp-none{
    display: none;
}

body{
    color: black;
    font-size: 12px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

img{
    vertical-align: bottom;
    }




/* ハンバーガーメニュー */
.btnHamburger{
    position: fixed;
    top: 20px;
    right: 5px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 3;
}

.btnHamburger .line {
    position: absolute;
    top: 0;
    left: -10px;
    display: block;
    width: 30px; 
    height: 1px; 
    color: #000000;
    background:#000000;
    transition: 0.3s;   
}

.btnHamburger .line_01 { top: 0; }
.btnHamburger .line_02 { top: 8px; }
.btnHamburger .line_03 { top: 16px; }

/* ＃coverlayerクリック前 */
#coverlayer{
    position:fixed;
    top:0;
    right:0;
    bottom: 0;
    width:1px;
    background: rgb(189, 189, 189);
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

nav{
    position:fixed;
    width:100%;
    text-align: left;
    top:60px;
    right:-100%;
    opacity:0;
    transition: 0.5s;
    z-index: 3;
}

/* .bubble{
    display: none;
}
 */
nav ul{
    text-align: left;
}

nav ul li a{
    font-weight: bold;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 20px;
}

#nav1{
    line-height: 1;
}

#nav2{
    line-height: 3;
}

#nav3{
    line-height: 0;
}

#nav3 span{
    margin-bottom: 10%;
    font-size: 15px;
    display: block;
    line-height: 0.5;
    color: #fff;
}

#nav4{
    line-height: 0;
}

#nav4 span{
    margin-bottom: 10%;
    font-size: 15px;
    display: block;
    line-height: 0.5;
    color: #fff;
}

#sns{
    display: flex;
    height: auto;
    transform: translateX(-18%);
}

#sns a{
    height: 30px;
    width: 30px;
    margin: 0% 6%;
}

/* ハンバーガーメニュのクリック後 */
.btnHamburger.is-active .line_01 {
top: 8px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
background: #000000;
}

.btnHamburger.is-active .line_02 {
opacity: 0;
}

.btnHamburger.is-active .line_03 {
top: 8px; 
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
background: #000000;
}

/* ＃coverlayerクリック後 */
#coverlayer.is-active{
    width:100%;
    opacity: 0.8;
}

/* navクリック後*/
nav.is-active{
    right:-40%; 
    opacity: 1;
}

.bx-pager.bx-default-pager{
    display: none;
}

.fade_off2 {
    transform: translatex(-100%);
    /* transition: 1s; */
    transition: 4s;
}

.fade_on2 {
    opacity: 1;
    transform: translatex(0);
}


body{
    background:  #69D2FF;
    }

/* SP版 */
#wrapper{
    width:100%;
}


p{
    text-align: left;
}

p span{
    color: #F00;
}

h2{
    text-align: center;
    font-weight: bold;
    font-size:20px;
}

.white{ /* 上部背景を白くする */
    background:#fff;
}

header{
    padding-top: 8%;
   /*  position: relative; */
}
#header-logo{
    transform: translate(0%, -60%);
    position: fixed;
    z-index: 2;
}

header img{
    width: 25%;
}

header h1{
    text-align: center;
    font-weight:bolder;
    font-size: 25px;
}

header h1 span{
    color: #F56D6D;
    font-size: 1.5em;
}

header h2{
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

#sun_1{
    position:absolute;
    left: 70%;
    top: 9%;
}

#sun_1{
    width: 30%;
}

#topmain_pic{
    width: 100%;
    display: block;
    margin-bottom: 20px; /* 画像の下に余白を追加 */
}

footer img{
    width: 30%;
}

#work{
    background-image: url("../images/cloud1.svg");
    background-position: center;
    background-size: cover;
    padding: 14%;
}

#work p{
    text-align: center;
    width: 80%;
    margin: auto;
}

#youtube{
    text-align: center;
    margin: 10% 0;
}

iframe.youtube-16-9 {
    width: 80%;
    height: auto;
    aspect-ratio: 16 / 9;
}


#daycare{
    margin: auto;
    padding: 0 0 5% 0;
    text-align: center;
    width: 80%;
    background-color: #fff;
    border-radius: 10px;
}

#daycare p{
    width: 80%;
    margin: auto;
}

#daycare h2{
    line-height: 4;

}

.daycare-img1{
    margin:0 0 5% 0;
}

.daycare-img2-3{
    margin:5% 0;
}

.img80{
    width:80%;
}

.img60{
    width: 60%;
}

#sun-scope{
    text-align: center;
    margin-bottom: 9%;
}

#sun-scope img{
    width: 40%;
}

#column{
    margin: auto;
    padding: 0 0 5% 0;
    text-align: center;
    width: 60%;
}

.flex{
    display: flex;
}

.flex h3{
    font-size: 1.2em;
    font-weight: bold;
}

#column img{
    width: 13%;
}

#column h3{
    margin: 6%;
}

#column p{
    width: 80%;
    margin:0 auto;
}

/* ↓吹き出しの設定↓ */

.arrow_box {
	position: relative;
    border-radius: 40px;
	background: #fff;
	border: 4px solid #fff;
}
.arrow_box:after, .arrow_box:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 30px;
	margin-left: -30px;
}
.arrow_box:before {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 36px;
	margin-left: -36px;
}

/* ↑吹き出しの設定↑ */

#cloud{
    margin: 5%;
    text-align: end;
}

#cloud img{
    width: 40%;
}

#sponsor{
    margin: auto;
    padding: 0 0 5% 0;
    text-align: center;
    width: 80%;
    background-color: #fff;
    border-radius: 10px;
}

#sponsor figure{
    margin: 0 0 5% 0;
}

#sponsor p{
    width: 80%;
    margin: auto;
}

#sponsor h2{
    line-height: 4;
}

#sun-hiro {
    margin: 3%;
}
#sun-hiro img{
    width: 20%;
}

#feeding{
    margin: auto;
    padding-bottom: 5%;
    text-align: center;
    width: 80%;
    background-color: #fff;
    border-radius: 10px;
}
#feeding h2{
    line-height: 4;
}

#feeding figure{
    margin:0 0 5% 0;
}

#feeding p{
    width: 80%;
    margin: auto;
}

footer{
    margin-top: 9%;
    text-align: center;
    background-color: #fff;
}

footer small{
    display: block;
}

/* 追加した記事 */
.added-article{
    margin: 10% auto;
    padding: 0 0 5% 0;
    text-align: center;
    width: 80%;
    background-color: #fff;
    border-radius: 10px;
}

.added-article p{
    width: 80%;
    margin: auto;
}

.added-article figure{
    margin:0 0 5% 0;
}



/* TB以上のサイズ*/
@media screen and (min-width:600px){

    p{
        font-size: 17px;
        line-height: 2;
    }

    .sp-none{
        display: flex;
    }
    #wrapper{
        width: 70%;
        margin-left: auto;
    }

    nav ul li a{
        position: relative;
    }

    #sns a{
        position: relative;
    }


    a:after {
        content: "";
        position: absolute;
        top: 0em;
        left: -37px;
        display: inline;
        pointer-events: none;
        width: 40px;
        height: 30px;
    } 

    a:hover:after{
        background: url(../images/bubble1_s.png); /* 表示する画像 */
        background-size: contain; 
        background-repeat: no-repeat;
        background-position: center top;
    }       
    
    
    .bubble:hover {
        display: flex;
    }
    
    
    .btnHamburger{
        display: none;
    }
    
    header {
        margin-bottom: -20%;
        padding-bottom: 0px;
    }

    #header-logo {
        transform: translate(-36%, -20%);
    }

    #h1-pic img{
        width: 160%;
    }
    
    header h1{
        display:none;
    }
    
    header h2{
        display:none;
    }

    #sun_1{
        display:none;
    }

    h1 img {
        width: 30%;
    }

    #h1-pic{
        width: 70%;
        transform: translate(-14%, -48%);
    }
    
    nav{
        width: 30%;
        text-align: center;
        top: 20%;
        right: 63%;
        opacity: 1;
    }

    nav ul{
        margin-top: 20%;
    }
    
    nav ul li {
        line-height: 2.5;
    }

    nav ul li a{
        font-size: 25px;
    }
    
    #sns{
        transform: translate(-6%, 30%);
    }

    #sns a{
        margin: 0% 4%;
    }
    
    #work {
        padding: 15%;
        width: 60%;
        transform: translateX(8%);
        background-size: contain;
        background-repeat: no-repeat;
    }

    #work h2{
        font-size: 40px;
    }


    #work p {
        font-size: 17px;
        text-align: left;
    }

    iframe.youtube-16-9 {
        width: 60%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    #daycare h2 {
        line-height: 4;
        font-size: 30px;
    }

    #sun-scope {
        margin-bottom: 4%;
    }

    #sun-scope img {
        width: 30%;
    }

    .flex h3 {
        font-size: 25px;
    }

    .flex{
        transform: translateX(5%);
    }

    #column p{
        font-size: 15px;
    }

    #column img {
        width: 10%;
    }

    #sponsor h2 {
        line-height: 4;
        font-size: 30px;
    }

    #feeding h2 {
        line-height: 4;
        font-size: 30px;
    }

    footer small{
    font-size: 15px;
    line-height: 2;
    }

    /* 追加記事用 */
    .added-article h2{
        line-height: 4;
        font-size: 30px;
    }


}     

@media screen and (min-width:1400px){
    .flex {
        transform: translateX(15%);
    }
}