/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  background: #fff;
  height: 90px;
  box-shadow: 0px 1px 10px rgba(98, 145, 209, 0);
}
/* Fixed */
#top-head.fixed {
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head .logo {
  position: absolute;
  top: 60%;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  left: 30px;
  width: 300px;
  z-index: 3;
  line-height: 65px;
  text-align: left;
  font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
  font-weight: 400;
  font-size: 1.5rem;
}
#top-head .logo a {
  color: #664A26;
}
#top-head .logo img {
  width: 80px;
  margin: 0 5px 0 0;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 70px;
}
.h_nav {
  position: absolute;
  top: 10px;
  right: 30px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-end;
}
.h_nav_tel {
  width: 300px;
  text-align: right;
  padding: 0 10px 0 0;
}
.h_nav_tel div {
  color: #00D1D9;
  font-weight: bold;
  line-height: 1;
}
.h_nav_tel div span {
  display: block;
  font-family: "Gentium Plus", serif;
  font-weight: 400;
  font-size: 4.0rem;
  line-height: 0.9;
}
.h_nav_tel div span img {
  display: inline-block;
  width: 18px;
  padding: 0 10px 3px 0;
}
.h_nav_tel div a {
  color: #00D1D9;
}
.h_nav_tel p {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.h_nav_btn {
  margin: -10px 0 0 10px;
  width: 220px;
  position: relative;
}
.h_nav_btn::before {
  position: absolute;
  top: -59px;
  left: -15px;
  width: 105%;
  height: 80px;
  background: #fff;
  opacity: 0.15;
  content: '';
  z-index: 2;
  transform: rotate(170deg);
}
.h_btn.line {
  background: linear-gradient(180deg, rgba(6, 199, 85, 1) 0%, rgba(0, 183, 75, 1)100%);
}
.h_btn {
  /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(180deg, rgba(172, 45, 90, 1) 0%, rgba(149, 3, 54, 1)100%);
  padding: 15px 0px;
  width: 100%;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/
  transition: ease .2s;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 3px;
  border-radius: 0 0 10px 10px;
}
.h_btn::after {
  position: absolute;
  top: 50%;
  right: 7px;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  z-index: 3;
}
.h_btn img {
  width: 25px;
  padding: 0 10px 2px 0;
  z-index: 3;
}
/*ボタン内spanの形状*/
.h_btn span {
  position: relative;
  z-index: 3; /*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color: #fff;
}
.h_btn span.subtxt {
  display: block;
  font-size: 1.2rem;
  margin: 2px auto 0;
  letter-spacing: 2px;
}
.h_btn:hover span {
  color: #fff;
}
/*== 背景が流れる（上から下） */
.h_btn.bgtop:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background: #664A26;
  width: 100%;
  height: 0;
  /*アニメーション*/
  transition: .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}
/*hoverした際の形状*/
.h_btn.bgtop:hover:before {
  height: 100%;
  background-color: #664A26;
}
.h_nav_sp {
  display: none;
}
/*footer*/
.f-bg {
  background: #ECF6FA;
  padding: 3em 0 1.5em;
}
.f-bg img {
  width: 150px;
  margin: 0 auto 1em;
}
.f-bg div {
  color: #664A26;
  font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
}
.f-bg p {
  margin: 3em auto 0;
  font-size: 1.2rem;
}
/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00D1D9;
  width: 80px;
  height: 80px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  line-height: 1.2;
  border-radius: 50px;
  font-size: 1.8rem;
  font-family: "Gentium Plus", serif;
  font-weight: 400;
}
#page-top a:hover {
  background: #FA8093;
  color: #fff;
}
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 20px;
  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);
  }
}
@media screen and (max-width: 1090px) {
  .h_nav_tel {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
    height: 70px;
  }
  #top-head .logo {
    top: 50%;
    left: 10px;
    width: 300px;
    line-height: 40px;
    font-size: 1.3rem;
  }
  #top-head .logo img {
    width: 50px;
    margin: 0 3px 0 0;
  }
  .h_nav {
    display: none;
  }
  .h_nav_sp {
    position: absolute;
    top: 10px;
    right: 5px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: flex-end;
  }
  .h_nav_sp_tel {
    width: 18px;
    padding: 10px 15px 0 0;
  }
  .h_nav_sp_btn.line {
    background: linear-gradient(180deg, rgba(6, 199, 85, 1) 0%, rgba(0, 183, 75, 1)100%);
  }
  .h_nav_sp_btn {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(172, 45, 90, 1) 0%, rgba(149, 3, 54, 1)100%);
    margin: 0 5px 0 0;
  }
  .h_nav_sp_btn span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 45px;
    text-align: center;
  }
  .h_nav_sp_btn span img {
    width: 25px;
  }
  /*footer*/
  .f-bg {
    padding: 3em 0 1.5em;
  }
  .f-bg img {
    width: 100px;
    margin: 0 auto 1em;
  }
  .f-bg div {
    font-size: 1.5rem;
  }
  .f-bg p {
    margin: 2.5em auto 0;
    font-size: 1.0rem;
  }
}
@media screen and (max-width: 392px) {
  .h_nav_sp_tel {
    display: none;
  }
  @media (max-height: 500px) {
    /* 高さ500px以下の場合 */
  }