@charset "UTF-8";

body {
    background-color: #fffdee;
    background-image: url(../image/upper.gif), url(../image/down.gif);
    background-repeat: repeat-x, repeat-x;
    background-position: top, bottom;
    margin: 0px 0;
}
.wrapper {
    max-width: 960px;
    margin: 0 auto 0 auto;
}
html {
    font-family: sans-serif;
    font-size: 90%;
}
img {
    max-width: 100%;
    height: auto;
}
* {
    outline: 0px solid #9c9595;
}
/* ▼ ヘッダー ▼ */
#header {
    display: flex;
    justify-content: space-around;
}
.ensyou {
    margin: 14px 0 0 5px;
    width: 72px; height: 78px;
}
.moji {
    margin: 24px 0 15px 0;
    height: 66px;
}
.picnic {
    display: none;
    margin: 12px 0 0 60px;
    width: 119px; height: 84px;
}
#saiyou {
    margin: 14px 0 0 0;
    width: 115px; height: 82px;
}
.openbtn-1 {
    display: none;
}
#saiyou {
    background: url(../image/title/saiyou-2.gif) no-repeat center;
}
#saiyou a {
    display: inline-block;
}
#saiyou a:hover {
    background-color: transparent;
}
#saiyou a:hover img {
    visibility: hidden;
}

/* 目次（無理やりロールオーバー仕様）*/
.contents {
    text-align: center;
    margin-top: 10px;
    margin-left: 5px;
}
#greeting {
    background: url(../image/contents/goaisatsu-2.gif) no-repeat center;
}
#greeting a {
    display: inline-block;
}
#greeting a:hover {
    background-color: transparent;
}
#greeting a:hover img {
    visibility: hidden;
}
#home {
    background: url(../image/contents/home-2.gif) no-repeat center;
}
#home a {
    display: inline-block;
}
#home a:hover {
    background-color: transparent;
}
#home a:hover img {
    visibility: hidden;
}
#prologue {
    background: url(../image/contents/syoukai-2.gif) no-repeat center;
}
#prologue a {
    display: inline-block;
}
#prologue a:hover {
    background-color: transparent;
}
#prologue a:hover img {
    visibility: hidden;
}
#policy {
    background: url(../image/contents/houshin-2.gif) no-repeat center;
}
#policy a {
    display: inline-block;
}
#policy a:hover {
    background-color: transparent;
}
#policy a:hover img {
    visibility: hidden;
}
#events {
    background: url(../image/contents/nenkan-2.gif) no-repeat center;
}
#events a {
    display: inline-block;
}
#events a:hover {
    background-color: transparent;
}
#events a:hover img {
    visibility: hidden;
}
#information {
    background: url(../image/contents/oshirase-2.gif) no-repeat center;
}
#information a {
    display: inline-block;
}
#information a:hover {
    background-color: transparent;
}
#information a:hover img {
    visibility: hidden;
}
#monthly {
    background: url(../image/contents/gekkan-2.gif) no-repeat center;
}
#monthly a {
    display: inline-block;
}
#monthly a:hover {
    background-color: transparent;
}
#monthly a:hover img {
    visibility: hidden;
}
#guidance {
    background: url(../image/contents/nyuuen-2.gif) no-repeat center;
}
#guidance a {
    display: inline-block;
}
#guidance a:hover {
    background-color: transparent;
}
#guidance a:hover img {
    visibility: hidden;
}
#access {
    background: url(../image/contents/koutsuu-2.gif) no-repeat center;
}
#access a {
    display: inline-block;
}
#access a:hover {
    background-color: transparent;
}
#access a:hover img {
    visibility: hidden;
}
#inquiry {
    background: url(../image/contents/otoiawase-2.gif) no-repeat center;
}
#inquiry a {
    display: inline-block;
}
#inquiry a:hover {
    background-color: transparent;
}
#inquiry a:hover img {
    visibility: hidden;
}
#privacy {
    background: url(../image/contents/kojinhogo-2.gif) no-repeat center;
}
#privacy a {
    display: inline-block;
}
#privacy a:hover {
    background-color: transparent;
}
#privacy a:hover img {
    visibility: hidden;
}
#lives {
    background: url(../image/contents/kinkyou-2.gif) no-repeat center;
}
#lives a {
    display: inline-block;
}
#lives a:hover {
    background-color: transparent;
}
#lives a:hover img {
    visibility: hidden;
}
#cubesnap {
    background: url(../image/contents/cube-snap-2.gif) no-repeat center;
}
#cubesnap a {
    display: inline-block;
}
#cubesnap a:hover {
    background-color: transparent;
}
#cubesnap a:hover img {
    visibility: hidden;
}

/*　中間部 ="mid"　*/
.mid {
    display: flex;
}
/*　目次　*/
.contents {
    width: 15%;
    height: 200px;
}
/*　▼ ページトップ ▼　*/
.top {
    width: 80%;
}
.strap {
    text-align: center;
    margin: 10px 0 0 0;
}
.text {
    margin: 0 auto;
    width: 98%;
    text-align: justify;
    line-height: 1.7;
}
/* ホーム　*/
.chara {
    text-align: center;
    margin: 60px 0 40px;
}
.genki {
    text-align: center;
}
/*　ごあいさつ　*/
.overview {
    text-align: center;
}
/* 園の紹介*/
.ensya {
    text-align: center;
}
.symbol {
    display: flex;
    width: 98%;
    margin: 0 auto;
}
.symbol-badge {
    margin-top: 18px;
    width: 100%;
}
.symbol-text {
    margin-left: 5px;
    text-align: justify;
    line-height: 1.7;
}
.gassou {
    text-align: center;
}
.enka {
    text-align: center;
    margin: 10px 0;
}
.entei {
    text-align: center;
}
/*　教育方針　*/
.enkun {
    text-align: center;
}
.mokuhyou {
    text-align: center;
}
.life-item {
    display: flex;
    margin: 0 auto;
    width: 98%;
}
.life-text {
    text-align: justify;
    width: 65%;
}
.life-photo {
    margin-left: 10px;
}
/*　年間行事　*/
.nenkan-item {
    display: flex;
    justify-content: space-between;
    width: 98%;
    margin: 0 auto;
}
.nenkan-title {
    width: 31%;
}
.nenkan-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 34%;
}
.egao-text {
    width: 98%;
    margin: 0 auto;
}
/*　月間予定　*/
.month-text {
    line-height: 1.2;
}
.month {
    border-collapse: collapse;
    border-color: #acacac;
}
/*　入園案内　*/
.guidance-item {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 98%;
}
.egao {
    text-align: center;
}
.guidance-text {
    text-align: justify;
}
.guidance-image {
    margin-top: 20px;
}
/*　交通案内　*/
.chizu {
    margin-top: 25px;
    text-align: center;
}

/*　お知らせ　*/
.himawari-photo {
    text-align: center;
}


/*　▼ フッター ▼　*/
.footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.footer-1 {
    min-width: 50%;
}

.bottom {
    font-family: serif; color: #ffffff;
    font-size: 12px;
    margin: 0 0 7px 0;
    text-align: center;
}

/*========　▼ モバイル用 ▼　========*/
@media (max-width: 767px) {
    /*　▼ ヘッダー ▼　*/
    .openbtn-1 {
        display: inline;
    }
    .ensyou {
        display: none;
    }    
    .picnic {
        display: none;
    }
    #saiyou {
        display: none;
    }
    /*　中間部　*/
    .mid {
        display: block;
    }
    .contents, .top {
        margin: 0 auto;
    } 
    .contents {
        width: 100%;
        display: none;
    }
    .top {
        width: 98%;
    }
    /*　ホーム　*/
    .chara {
        margin: 10px auto;
        width: 80%;
    }
    /*　▼ フッター ▼　*/
    .footer-1 {
        display: none;
    }
}
    /*========= 6/26.追加　グローバルナビ用 ==========*/
    #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-130%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#fffdee;
    /*動き*/
	transition: all 0.5s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        top: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: 100vh;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top:50%;
        left:47%;
        transform: translate(-50%,-50%);
    }

    /*リストのレイアウト設定*/

    #g-nav li{
        list-style: none;
        text-align: center;
        border-width: 0 0 1px 0;
        border-style: dotted;
        color: #616161;
    }

    #g-nav li a{
        color: #333;
        text-decoration: none;
        padding:2px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-weight: bold;
    }

    /*===　ボタンのためのCCS (ボタン5-2-4との合作) ===*/
    .openbtn-1{
        /*ボタン内側の基点となるためrelativeを指定。
    追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
        position: relative;
        background:#57a2c7;
        top: 28px;
        right: 5px;
        z-index: 9999;/*ボタンを最前面に*/
        cursor: pointer;
        width: 50px;
        height:50px;
        border-radius: 5px;
    }

    /*ボタン内側*/
    .openbtn-1 span{
        display: inline-block;
        transition: all .4s;/*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 45%;
    }

    .openbtn-1 span:nth-of-type(1) {
        top:13px;	
    }

    .openbtn-1 span:nth-of-type(2) {
        top:19px;
    }

    .openbtn-1 span:nth-of-type(3) {
        top:25px;
    }

    .openbtn-1 span:nth-of-type(3)::after {
        content:"index";/*3つ目の要素のafterにINDEX表示を指定*/
        position: absolute;
        top:5px;
        left:-5px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    /*activeクラスが付与されると線が回転して×になり、INDEX⇒CLOSEに変更*/

    .openbtn-1.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn-1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn-1.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn-1.active span:nth-of-type(3)::after {
        content:"close";/*3つ目の要素のafterにCLOSE表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left: 4px;
    }

/*===2021.7.29追加===*/
/*ページトップリンク-ページの指定の高さを超えたら下から出現-*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#f385cd;
	border-radius: 5px;
	width: 55px;
	height: 55px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #a2b8e9;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:14px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}    