@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

/*
.wrapper,
.main,
header,
nav,
nav.topnav,
nav.global {
    border: solid red;
}
*/

body {
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  background-color: #F9F9F9;
}

.wrapper {
  width: 1350px;
  height: auto;
  margin: 0 auto;
}

.header {
  width: 1350px;
  height: 640px;
  position: relative;
}

h1 {
  margin: 90px 0 0 95px;
}

.nav {
  width: 270px;
  height: 640px;
  background-color: #BEBE02;
  float: left;
}

.movie {
  float: right;
}

h1 {
  font-size: 1.5em;
}

/*★ナビゲーション①*/
nav ul {
  clear: both;
  text-decoration: none;
  list-style-type: none;
}


nav.topnav {
  padding-top: 20px;
  padding-bottom: 110px;
  padding-left: 20px;
}

nav.topnav ul li {
  margin: 20px 0;
}

/*
nav.topnav ul li a {
  transition: 0.2s;
  color: #F4F409;
}

nav.topnav ul li a:hover {
  border-bottom: 3px #F4F409 solid;
  transition: 0.3s;
  transition-delay: 0.2s;
}
*/

nav.topnav ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #F4F409;
}

nav.topnav ul li a::after {
  position: absolute;
  bottom: -0.5px;
  left: 0;
  content: '';
  width: 100%;
  height: 5px;
  background: #F4F409;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

nav.topnav ul li a:hover::after {
  transform: scale(1, 1);
}

/*★ナビゲーション②*/
nav.global {
  width: 1350px;
  /*    border: 1px solid lime;*/
  height: 60px;
  /*  display: flex;*/
  /*  bottom: 0;*/
  /*  position: absolute;*/
  /*
  box-shadow: 0px 4px 4px -5px rgba(0, 0, 0, 0.5);
  background-color: rgba(1, 1, 1, 0.8);
*/
}

nav.global ul li {
  float: left;
  width: 20%;
  text-align: center;
}

nav.global ul li a {
  padding-top: 20px;
  line-height: 40px;
  display: block;
  border-right: 1px solid #BEBE02;
  transition: 1s;
}

nav.global ul li:last-child a {
  border-right: none;
}

nav.global ul li:hover a {
  background-color: rgba(190, 190, 2, 0.2);
  /*    transition: 1s;*/
}

.global img {
  /*  display: block;*/
  transition-duration: 0.5s;
}

.global img:hover {
  transform: scale(1.2, 1.2);
  transition-duration: 0.2s;
}

.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: 0px 4px 4px -5px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.8);
}


/*共通設定*/

p {
  font-size: 1em;
  font-style: "VDL ヨタＧ";
  line-height: 1.8em;
}

.main {
  padding: 50px 0;
  text-align: center;
}

.midashi {
  margin: 40px 0;
}

/*★コンテナ★*/
.container {
  margin-top: 20px;
  background-image: url(../images/decoration/aboutback.png);
  background-repeat: no-repeat;
  background-position: center 850px;
  height: 1900px;
}

.container img {
  padding: 30px 15px;
}

.container h3 img {
  margin-top: 90px;
}

.container .topfont {
  margin: 10px auto;
  font-family: "FOT-筑紫A丸ゴシック Std";
  font-size: 1.275em;
  color: white;
  background-color: #474709;
  width: 1000px;
  /*  height: 100px;*/
  padding: 40px;
}

/*★サービス*/
article ul li {
  font-style: "FOT-筑紫A丸ゴシック Std";
  font-size: 1.275em;
  line-height: 1.8;
  /*  border-bottom: #F4F2CE 1px solid;*/
}

.top {
  padding: 80px;
}

.top2 {
  padding-left: 55px;
}


/*★サンプルムービー*/

.sample {
  width: 1300px;
  margin: 0 auto;
}

.sample img {
  float: left;
  margin: 5px;
}

.baby,
.pet,
.friend,
.travel,
.memory {
  float: left;
}

.money {
  width: 800px;
  margin: 0 auto;
  font-size: 2em;
  padding: 20px;
}

.forever {
  margin: 150px auto;
}

/*★★ホバー時の動き★★*/



/*★baby*/
.baby {
  width: 230px;
  height: 378px;
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.baby .caption {
  font-size: 1em;
  color: gray;
  font-family: "VDL ヨタＧ";
  padding: 20px 0 0 14px;
  text-align: left;
}

.baby .mask {
  width: 230px;
  height: 335px;
  position: absolute;
  top: -100%;
  /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.6s ease;
  transition: all 0.3s ease;
}

.baby:hover .mask {
  top: 0;
  /* 下に降りてくるように見せる */
}

/*ペット*/
.pet {
  width: 230px;
  height: 378px;
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.pet .caption {
  font-size: 1em;
  color: gray;
  padding: 20px 0 0 14px;
  text-align: left;
  font-family: "VDL ヨタＧ";
}

.pet .mask {
  width: 230px;
  height: 335px;
  position: absolute;
  top: -100%;
  /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.6s ease;
  transition: all 0.3s ease;
}

.pet:hover .mask {
  top: 0;
  /* 下に降りてくるように見せる */
}

/*friend*/

.friend {
  width: 230px;
  height: 378px;
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.friend .caption {
  font-size: 1em;
  color: gray;
  padding: 20px 0 0 14px;
  text-align: left;
  font-family: "VDL ヨタＧ";

}

.friend .mask {
  width: 230px;
  height: 336px;
  position: absolute;
  top: -100%;
  /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.6s ease;
  transition: all 0.3s ease;
}

.friend:hover .mask {
  top: 0;
  /* 下に降りてくるように見せる */
}

p.friend {
  margin: 0;
}

/*travel*/
.travel {
  width: 230px;
  height: 378px;
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.travel .caption {
  font-size: 1em;
  color: gray;
  padding: 20px 0 0 14px;
  text-align: left;
  font-family: "VDL ヨタＧ";

}

.travel .mask {
  width: 230px;
  height: 335px;
  position: absolute;
  top: -100%;
  /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.6s ease;
  transition: all 0.3s ease;
}

.travel:hover .mask {
  top: 0;
  /* 下に降りてくるように見せる */
}

img {
  margin: 0;
}

p.travel {
  margin: 0;
}

/*memory*/
.memory {
  width: 230px;
  height: 378px;
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.memory .caption {
  font-size: 1em;
  color: gray;
  padding: 20px 0 0 14px;
  text-align: left;
  font-family: "VDL ヨタＧ";

}

.memory .mask {
  width: 230px;
  height: 335px;
  position: absolute;
  top: -100%;
  /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.6s ease;
  transition: all 0.3s ease;
}

.memory:hover .mask {
  top: 0;
  /* 下に降りてくるように見せる */
}


/*★料金*/

#price {
  height: 700px;
}

#price a {
  text-decoration: none;
  font-size: 1.5em;
  font-family: "FOT-筑紫A丸ゴシック Std";
  color: black;
  transition-duration: 0.3s;
  margin-top: 30px;
}

#price a:hover {
  background-color: rgba(135, 135, 69, 0.2);
}

/*メッセージ*/
.message {
  height: 750px;
  background-image: url(../images/decoration/waveback.png);
  background-repeat: no-repeat;
  background-position: center 250px;
  position: relative;
}

.message p {
  padding-top: 120px;
}

/*お申し込み*/


.apliimg {
  height: 600px;
  background-image: url(../images/toiawase/apliback.png);
  background-repeat: no-repeat;
  background-position: center;
  /*  position: absolute;*/
}

.tel {
  padding: 150px 0 30px 0;
  font-size: 2.8em;
  padding-left: 80px;
}

.aplication h2 {
  padding-bottom: 20px;
}

/*★footer*/

footer {
  background-color: #707070;
  color: white;
  height: 120px;
}

.footernav ul li {
  float: left;
  padding: 20px 15px;
}

.footernav ul li a {
  list-style-type: none;
  text-decoration: none;
  color: white;
}

.footernav ul li a:hover {
  border-bottom: 1px dotted white;
}

footer small {
  padding: 30px 0px 30px 1100px;
}


/*★★ーーーーーーーーここから1stビューーーーーーーーー★★*/

.first {
  width: 100%;
  height: 640px;
  margin: 0 0;
  background-color: #BEBE02;
  position: relative;
  border: 1px solid red;
}

/*
h1 img {
  position: absolute;
  top: 140px;
  left: 35%;
}*/

.first h2 {
  font-size: 1.4em;
  text-align: center;
}

.woman {
  position: absolute;
  top: 250px;
  left: 120px;
}

.man {
  position: absolute;
  top: 250px;
  right: 120px;
}

.pekopeko {
  position: absolute;
  top: 300px;
  left: 580px;
}

/*★clickボタンの動き★*/

.pekopeko a img {
  animation: pekopeko 2s infinite;
  box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
}

@keyframes pekopeko {
  0% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }

  10% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
  }

  20% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }

  30% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
  }

  40% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }
}
