@charset "UTF-8";
/*
Theme Name: chiimori
Description: 小さな森の保育園オリジナルテーマ
Version: 1.0
Author: Takato Nishiyama
Author URI: https://www.l-art7.com
*/

/* common */
html, body {
  width: 100vw;
  height: 100vh;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  padding:0;
  margin:0;
  overflow-x: hidden;
  position: absolute;
  z-index: 1;
  background-image: url("img/chiimori_bg.png");
  background-size: 100%;
}

a:hover {
  opacity: 0.7;
}

iframe {
  width: 75vw;
  height: 25vh;
  padding-bottom: 2vh;
}

.wf-loading {
  opacity: 0;
}

.bold {
  font-weight: bold;
}

/* Loading */
#splash {
  /*fixedで全面に固定*/
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	background:#FBB03B;
	text-align:center;
	color:#fff;
}

.loading_wrapper {
  position: absolute;
  left:50%;
  top:55%;
  transform: translate(-50%, -50%);
}

.circle{
  width:10px;
  height:10px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left:-10vw;
  transform-origin: 50%;
  animation: circle .5s alternate infinite ease;
}

@media screen and (min-width: 1025px) {
  .circle{
    left:-10.2vw;
  }
}

@keyframes circle{
  0%{
      top:60px;
      height:5px;
      border-radius: 50px 50px 25px 25px;
      transform: scaleX(1.7);
  }
  40%{
      height:20px;
      border-radius: 50%;
      transform: scaleX(1);
  }
  100%{
      top:0%;
  }
}

.circle:nth-child(2){
  left:-1vw;
  animation-delay: .2s;
}

@media screen and (min-width: 1025px) {
  .circle:nth-child(2){
    left:-0.3vw;
  }
}

.circle:nth-child(3){
  left:auto;
  right:-10vw;
  animation-delay: .3s;
}

@media screen and (min-width: 600px) {
  .circle:nth-child(3){
    right:-9vw;
  }
}

.shadow{
  width:15px;
  height:4px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.5);
  position: absolute;
  top:62px;
  transform-origin: 50%;
  z-index: -1;
  left:-10.5vw;
  filter: blur(1px);
  animation: shadow .5s alternate infinite ease;
}

@media screen and (min-width: 600px) {
  .shadow{
    left:-10.3vw;
  }
}

@keyframes shadow{
  0%{
      transform: scaleX(1.5);
  }
  40%{
      transform: scaleX(1);
      opacity: .7;
  }
  100%{
      transform: scaleX(.2);
      opacity: .4;
  }
}

.shadow:nth-child(4){
    left: 7vw;
    animation-delay: .2s
}

@media screen and (min-width: 600px) {
  .shadow:nth-child(4){
      left: 7.5vw;
  }
}

@media screen and (min-width: 1025px) {
  .shadow:nth-child(4){
      left: 8.3vw;
  }
}

.shadow:nth-child(5){
    left:auto;
    right:-2.4vw;
    animation-delay: .3s;
}

@media screen and (min-width: 600px) {
  .shadow:nth-child(5){
      right:-0.4vw;
  }
}

/* header */
.site-header {
  width: 100vw;
  height: 10vh;
  background-image: url("img/chiimori_header.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 100;
}

@media screen and (min-width: 600px) {
  .site-header {
    height: 15vh;
  }
}

@media screen and (min-width: 1025px) {
  .site-header {
    height: 25vh;
  }
}

.header-parts {
  width: 100vw;
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "ab-tsurumaru", sans-serif;
  color: #FFFFFF;
}

.site-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-name01 {
  font-size: 3vw;
}

@media screen and (min-width: 1025px) {
  .title-name01 {
    font-size: 2.5vw;
  }
}

.title-name02 {
  font-size: 5vw;
}

@media screen and (min-width: 1025px) {
  .title-name02 {
    font-size: 4vw;
  }
}

.header-right {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.header_icon {
  width: 7vw;
  padding: 0 1vw;
}

/* Menu */
/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
	top: 0;
	width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
	z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #FBB03B;
  /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
  top:50vh;/*50%から円の半径を引いた値*/
  left:calc(50% - 50px);/*50%から円の半径を引いた値*/
  transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none;/*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	opacity: 0;/*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  font-size: 3.5vw;
}

@media screen and (min-width: 600px) {
  #g-nav ul {
    font-size: 3vw;
  }
}

@media screen and (min-width: 1025px) {
  #g-nav ul {
    font-size: 2vw;
  }
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  animation-name:gnaviAnime;
  animation-duration:1s;
  animation-delay:.2s;/*0.2 秒遅らせて出現*/
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*リストのレイアウト設定*/
#g-nav li {
	text-align: center;
	list-style: none;
}

#g-nav li a {
	color: #000;
	text-decoration: none;
  width: 80vw;
	padding:3vh;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*ボタン外側*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: fixed;
	background:#FBB03B;
	cursor: pointer;
  width: 50px;
  height:50px;
	border-radius: 50%;
  right: 3vw;
  z-index: 1000;
}

@media screen and (min-width: 600px) {
  .openbtn{
    width: 75px;
    height:75px;
    right: 5vw;
  }
}

/*ボタン内側*/
.openbtn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
  height: 2px;
	background: #000;
  width: 62%;
  left: 10px;
 }

 @media screen and (min-width: 600px) {
   .openbtn span:nth-of-type(1),
   .openbtn span:nth-of-type(3) {
     height: 2.5px;
     width: 55%;
     left: 16px;
    }
 }

.openbtn span:nth-of-type(1) {
	top:13px;
}

@media screen and (min-width: 600px) {
  .openbtn span:nth-of-type(1) {
   	top:20px;
  }
}

.openbtn span:nth-of-type(2) {
	top:20px;
	left:11px;
	font-size:0.6rem;
	text-transform: uppercase;
	color: #000;
}

@media screen and (min-width: 600px) {
  .openbtn span:nth-of-type(2) {
  	top:30px;
  	left:13px;
  	font-size:1rem;
  }
}

.openbtn span:nth-of-type(3) {
	top:36px;
}

@media screen and (min-width: 600px) {
  .openbtn span:nth-of-type(3) {
  	top:55px;
  }
}

/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

@media screen and (min-width: 600px) {
  .openbtn.active span:nth-of-type(1) {
    top: 30px;
    left: 30px;
    width: 35%;
  }
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

@media screen and (min-width: 600px) {
  .openbtn.active span:nth-of-type(3){
    top: 42px;
    left: 30px;
    width: 35%;
  }
}

/* button */
a.btn {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 25vw;
	margin: 0.5vh 0;
	padding: 0.5vh 0.5vw;
	border: 2px solid #8CC63F;
	background: #8CC63F;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
  font-size: 2.5vw;
}

@media screen and (min-width: 1025px) {
  a.btn {
  	width: 20vw;
  	margin: 1vh 0;
  	padding: 1vh 1vw;
    font-size: 2vw;
  }
}

a.btn:hover {
	color: #8CC63F;
	background: #fff;
}

/* footer */
.site-footer {
  width: 100vw;
  height: 40vh;
  background-image: url("img/chiimori_footer.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (min-width: 600px) {
  .site-footer {
    height: 50vh;
  }
}

@media screen and (min-width: 1025px) {
  .site-footer {
    height: 30vh;
  }
}

.footer-parts {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 1025px) {
  .footer-parts {
    flex-direction: row;
    justify-content: center;
    padding: 0 5vw;
  }
}

a.footer-btn {
	border: 2px solid #8CC63F;
	background: #FFFFFF;
	color: #8CC63F;
}

a.footer-btn:hover {
	color: #FFFFFF;
	background: #8CC63F;
}

.footer_icon {
  width: 7vw;
  padding: 0 1vw;
}

.footer-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "ab-tsurumaru", sans-serif;
  color: #000000;
  padding: 1vh 0;
}

@media screen and (min-width: 1025px) {
  .footer-title {
    width: 30vw;
  }
}

.footer-title01 {
  font-size: 3vw;
}

@media screen and (min-width: 1025px) {
  .footer-title01 {
    font-size: 1.5vw;
  }
}

.footer-title02 {
  font-size: 7vw;
}

@media screen and (min-width: 1025px) {
  .footer-title02 {
    font-size: 3vw;
  }
}

.footer-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  padding: 1vh 0;
}

@media screen and (min-width: 1025px) {
  .footer-address {
    width: 25vw;
  }
}

.footer-address01 {
  font-size: 3vw;
}

@media screen and (min-width: 1025px) {
  .footer-address01 {
    font-size: 1.5vw;
  }
}

.footer-address02 {
  font-size: 3vw;
}

@media screen and (min-width: 1025px) {
  .footer-address02 {
    font-size: 1.5vw;
  }
}

.footer-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  padding: 1vh 0;
}

@media screen and (min-width: 1025px) {
  .footer-tel {
    width: 30vw;
  }
}

.tel-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60vw;
}

@media screen and (min-width: 1025px) {
  .tel-number {
    width: 30vw;
    padding: 1vh 0;
  }
}

.tel-number img {
  width: 5vw;
}

@media screen and (min-width: 1025px) {
  .tel-number img {
    width: 2vw;
  }
}

.footer-number {
  font-size: 5vw;
  margin: 0 2vw;
}

@media screen and (min-width: 1025px) {
  .footer-number {
    font-size: 2vw;
    margin: 0;
  }
}

.insta_icon {
  width: 7vw;
}

@media screen and (min-width: 1025px) {
  .insta_icon {
    width: 5vw;
  }
}

.copyrights {
  padding: 1vh 0;
}

.copyrights-text {
  text-align: center;
  font-size: 2vw;
}

@media screen and (min-width: 1025px) {
  .copyrights-text {
    font-size: 1vw;
  }
}

/* 404 */
.page404-area {
  height: auto;
}

.page404-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15vh 0 5vh 0;
}

@media screen and (min-width: 600px) {
  .page404-item {
    padding: 20vh 0 10vh 0;
  }
}

@media screen and (min-width: 1025px) {
  .page404-item {
    padding: 30vh 0 10vh 0;
  }
}

.page404-text {
  width: 100vw;
  height: auto;
  background-color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1vh 5vw;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
  z-index: 1;
}

@media screen and (min-width: 1025px) {
  .page404-text {
    width: 60vw;
  }
}

.page404-title {
  font-size: 5vw;
  color: #8CC63F;
  padding: 2vh 0;
}

@media screen and (min-width: 1025px) {
  .page404-title {
    font-size: 4vw;
    padding: 3vh 0;
  }
}

.page404-ex {
  font-size: 3vw;
  text-align: center;
  padding-bottom: 2vh;
}

@media screen and (min-width: 1025px) {
  .page404-ex {
    font-size: 2vw;
  }
}

/* reCAPTCHA */
.grecaptcha-badge {
  visibility: hidden;
}

/* Cookie
------------------------------------- */
.cookie-consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.7vw;
    color: #fff;
    background: rgba(0,0,0,.7);
    padding: 1.2em;
    box-sizing: border-box;
    visibility: hidden;
    z-index: 10000;
}

@media screen and (max-width: 1024px) {
  .cookie-consent {
    font-size: 1.5vw;
  }
}

.cookie-consent.is-show {
  visibility: visible;
}

.cookie-consent a {
  color: #8CC63F !important;
}

.cookie-agree {
  color: #fff;
  background: #8CC63F;
  padding: .5em 1.5em;
}

.cookie-agree:hover {
  cursor: pointer;
}

/* パッと消える */
.cc-hide1 {
  display: none;
}

/* ゆっくり消える */
.cc-hide2 {
  animation: hide 1s linear 0s;
  animation-fill-mode: forwards;
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
