﻿@charset "utf-8";
* {
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  a{
    cursor: pointer;
    color: black;
    text-decoration: none;
  }
}

p,.zero{
  font-family: "M PLUS Rounded 1c", serif;
  font-weight: 400;
  font-style: normal; }

#wrapper {
  width: 100%;
  background-image: url(../img/bg-img.jpeg);
} 

/* header */
#home{
  background-image: url(../img/bg-img.jpeg);
}
/* ハンバーガーアイコン */
.nav-flex{
  position: relative;
  display: flex;
  justify-content: flex-end;
  img{
    width: 280px;
    margin: 10px auto 10px 10px;
  }
}
.hamburger{
 border:black 3px solid;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 17px;
  right: 10px;
  position: fixed;
  z-index: 1001;
}
.hamburger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 25px;
  align-items: baseline;
  position: absolute;
  top: 30px;
  right: 20px;
  position: fixed;
  z-index: 1001;
}

/* ハンバーガーの線 */
.hamburger-icon span {
  width: 30px;
  height: 3px;
  background:black;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute;
}

/* 1本目（上の線） */
.hamburger-icon span:nth-child(1) {
  top: 0;
}

/* 2本目（中央の線） */
.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

/* 3本目（下の線） */
.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* フルスクリーンメニュー */
.menu {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f4c9e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

/* メニューが開いたとき */
.menu.active {
  opacity: 1;
  visibility: visible;
}

/* メニューのリンク */
.menu img{
    width: 150px;
  }

.menu ul {
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu li {
  margin: 20px 0;
}


.hamburger-menu.active .hamburger-icon span {
  background: black;
}
/* ハンバーガーアイコンが「×」に変形 */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.pc-nav{
  display: none;
}

/* hero slick */

.hero-container {
 img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}
}

 .mySlides {
  display: none;
} 

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
} 

 @keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}  

/* title */
.title{
  text-align: center;
  margin: 0 auto;
  width: 90%;
 .support-top img{
  width: 250px;
  text-align: center;
  margin: 80px 0 50px 0;
}

  .zero{
    font-size: 2rem;
    color: rgb(211, 74, 83);
  }
 } 

 .support-top{
  font-size: 1.2em;
 }

 .Support{
  margin: 100px auto;
  img{
    width: 250px;
  }
  p{
    font-size: 1.2em;
  }

 .hou{
  font-size:2rem ;
 }

 }

 .Text-Span {
  position: relative;
  z-index: 1;
}
.Text-Span:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 0%;
  height: 20px;
  background: #f9d906;
  z-index: -1;
  transition: all 2.5s;
}
.Text-Span.isActive:after {
  width:83%;
}

 /* news */
 #news{
  width: 90%;
  border: 5px dotted #663e19;
  margin: 100px auto 50px auto;
  border-radius: 50px;
  img{
    width: 210px;
  }
  dl:nth-child(4){ border-bottom: none;}

  dl{
    width: 90%;
    padding: 30px 0;
    border-bottom:  5px dotted #663e19;
    margin: 0 auto;
    img{
      width: 80%;
    }
  }

  dd{
    font-family: "M PLUS Rounded 1c", serif;
    font-weight: 400;
    font-style: normal; 
    font-size: 1.4em;
    margin: 0 auto;
  }
 }
 

 .zyouken{
  img{
    width: 100%;
    margin: 70px 0;
  }
 }


/* sien */
.sien{
  padding-top: 30px;
  display: block;
  text-align: center;
  img{
    width: 100%;
  }
}

/* 面会処分 */
.menkai,.hanzai{
  img{
    padding: 10px;
  }
}
.hokennzyo{
  img{
    width:100% ;
    text-align: center;
  }
}

.syobun{
  display: block;
    text-align: center;
  img{
    padding: 20px;
    width:100% ;
  }
}

.syobun {
	transition: all 1.s ease;
	transform: translateY(30px);
	opacity: 0;
}
  
.syobun.is-show {
	transform: translateY(0);
	opacity: 1;
}


/* sotugyou */

.sotugyou{
  margin: 100px 0;
 img{
  width: 250px;
 }
}
.slider{
img {
  width: 100%;
  object-fit: cover;
}
}


/* 里親募集 */
#satooya{
  padding-top: 50px;
  .sato-title{
    text-align: center;
    img{
      width: 230px;
    }
  }
  
  .box{
    display: flex;

    img{
      width: 45%;
      padding: 5px;
      margin-left: 5px;
      text-align: center;
    }
  }
}

.ichiran {
  text-align: right;
  overflow: hidden;

img{
  width: 200px;
  padding-right: 40px;
}
}

.c-bnr.zoom {
  display: block;
  transition-duration: .5s;
}
.c-bnr.zoom:hover {
  transform: scale(1.04);
}

/* kyousan */

.pc-left{
  display: none;
}

.kyousan2{
  margin-top: 100px;
 text-align: center;
  .kyousan-box img{
    width:45%;
    padding: 5px;
    object-fit:cover;
  }
  .kyousan-title{
    img{
      width: 230px;
    }
  }
}

.banner{
  img{
  width:48% ;
  padding: 3px;
}
}

/* footer */
footer{
  margin-top: 100px;
}
footer img{
  width: 100%;
  padding: 5px;
}

.adress img{
  width: 90%;
}

.copy {
  text-align: center;
  background:white;
}



/* PC */
 @media (min-width: 767px){
  .nav-flex img{
   display: none;
  }

  .hero-container{
    margin: 0;
  } 

.hamburger-icon{
  display: none;
}

.pc-nav{
  display: block;
  display: flex;
  position: absolute;
  z-index: 1000;
  img{
    width: 550px;
    margin: 10px 25px;
  }
}

.nav-flex2{
  display: flex;
  ul{
    display: flex;
    margin:20px 0 0 150px;
  }
  img{
    width: 150px;
  }
}
.hamburger{
  display: none;
}

   .hero-container img {
    margin-top: 0;
    width: 100%;
    height: 725px;
    object-fit: cover;
  } 

  /* title */
  .sien{
    display: none;
  }

  .pc-left{
    display: block;
    width: 48%;
    margin: 100px 0 0 0;
    img{
      width: 100%;
      padding: 10px;
    }

    .hanzai{
      margin-bottom: 60px;
    }

    .banner{
      display: block;
    }
    .banner img{
      padding: 10px;
    }
  }

  .flex-container{
    display: flex;
    flex-direction: row-reverse;
    .zero{
      font-size: 3.3rem;
    }
  }

  .Support{
    width: 80%;
    margin-top: 90px;
  }

  .Text-Span:after {
    left: 0;
    bottom: 3px;
  }
  .Text-Span.isActive:after {
    width:100%;
  }

  .kyousan1 {
    h2{
    width: 210px;
    margin: 50px auto  0 auto;
  }
    img{
    padding: 10px;
  }
}

.flex-box{
  margin: 180px auto;
  .hokennzyo img{
    width: 85%;
  }
  .syobun img{
    width: 650px;
    /* margin:  50px 0px 0 0;  */
  }
}

#news{
  margin-top: 150px;
    dl{
      display: flex; 
      position: relative;
    }
    dt  img{
      width: 300px;
      margin: 20px;
    }
    dd{
      font-size: 1.5rem;
      text-align: center;
      position:absolute;
      top: 50%;
      left: 60%;
      transform: translateY(-50%);
      margin: 0 auto;
      
    }
   
  }

.zyouken {
  margin-top: 157px;
  img{
  width: 90%;
  margin: 0 auto;
}
}

  .pc-box{
    display: flex;
    margin: 0 auto;
  }

  .ichiran{
    img{
      width: 300px;
      margin: 10px 30px;
    }
  }

  .sotugyou{
   img{
    width: 400px;
    margin:0 0 30px 30px;
   }
  }

  .kyousan2{
    display: none;
  }

  .banner{
    display: none;
  }

  footer img{
    width: 50%;
  }

  .adress img{
    width: 80%;
    margin-left: 80px;
    margin-top: 50px;
  }
.footer-box{
  display: flex;
}
} 
