@charset "utf-8";

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main-color: #002E4F;
  --main-bg-color: #f0f5f8;
  --main-sb-color: #7cbaec;
}

/*--------------------------------------------------------------
# 全体
--------------------------------------------------------------*/
body {
  /* 明朝フォント  */
  /* font-family: 'Forum', cursive; */
  /* ゴシックフォント
  font-family: 'Josefin Sans', sans-serif;  */
  padding: 0;
  margin: 0;
  color: #333333;
  text-align: justify;
}

a {
  color: #333333;
}

p {
  font-size: 1.1rem;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* Bootstrapトグルやbuttonをクリックした時出るボヤッとした青線を消す */
button:focus {
  outline: 0;
}

/* Bootstrapのbuttonの色変更 */
a.btn.btn-outline-primary {
  color: var(--main-color);
  border-color: var(--main-color);
}

a.btn.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--main-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    padding: 0;
    margin: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
.navbar {
  /* height: 50px; */
  padding: 0 5%;
  z-index: 100;
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'Josefin Sans', sans-serif;
  color: #333;
  padding-right: 20px;
  font-size: 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--main-color);
} 

/* nav　バック色 */
nav {
  background-color: #fff;
  opacity: 0.9;
}

a.navbar-brand {
  margin-right: 50px;
}

/* topメールアイコンの・を取る */
.nav-item {
  list-style: none;
  margin: 0;
}

.icon .nav-item a {
  list-style: none;
  font-size: 2rem;
  height: 1rem;
  text-decoration: none;
  color: var(--main-color);
  padding-right: 10px;
}

.icon .nav-item a:hover {
  color: #f38b4c;

}

/* トグルの囲み枠を消す（buttonにも併用） */
.navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0);
}

/* トグルの囲み枠を消す（buttonにも併用） */
.navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0);
}

/* スクロールしてtopで固定 */
.navbar.navbar-expand-lg.navbar-light {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

/* マウスオーバーで下線がアニメーション */
a.nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

a.nav-link::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: var(--main-color);/* マウスオーバーで下線の */
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

a.nav-link:hover::after {
  transform: scale(1, 1);

}


/*--------------------------------------------------------------
topスライドショー
--------------------------------------------------------------*/
.main_imgBox {
  height: 80vh;
  overflow: hidden;
  position: relative; /* キャッチの親要素  */
}


.main_logo {
  z-index:11;
  position: absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:50%;
  height:auto;
}

.main_img {
  z-index:10;
  opacity: 0;
  width: 100%;
  height: 80vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 30s 0s infinite;
  animation: anime 30s 0s infinite; }

  /* スライドショーの画像に色フィルター
  .main_img::before {
    content: '';
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: linear-gradient(to right, #2f4858 0%, rgba(47, 72, 88, 0) 100%); 
    opacity: 0.8;
    position: absolute;
  } */

  .main_img:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s; }

  .main_img:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s; }

  .main_img:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 18s; }

  .main_img:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s; }

.main_img {
  opacity: 0;
  width:100%;
  height:100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 30s 0s infinite;
  animation: anime 30s 0s infinite; }

  .main_imgM:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s; }

  .main_imgM:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s; }

  .main_imgM:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 18s; }

  .main_imgM:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s; }


@keyframes anime {
  0% {
      opacity: 0;
  }
  10% {
      opacity: 1;
  }
  20% {
      opacity: 1;
  }
  33% {
      opacity: 0;
       transform: scale(1.2);
                  z-index:9;
  }
  100% { opacity: 0 }
}

@-webkit-keyframes anime {
  0% {
      opacity: 0;
  }
  10% {
      opacity: 1;
  }
  20% {
      opacity: 1;
  }
  33% {
      opacity: 0;
       -webkit-transform: scale(1.2);
          z-index:9;
  }
  100% { opacity: 0 }
}

/*------------TOP　スライドショー中の文字---------------------*/
.top {
  position: relative;
}

h1.rogo img {
      z-index: 100;
  width: 400px;
  height: auto;
position: absolute;
    top: 50%;
    /*親要素を起点に上から50%*/
    left: 50%;
    /*親要素を起点に左から10%*/
    transform: translateY(-50%) translateX(-50%);
    /*要素の大きさの半分ずつを戻す*/
    -webkit-transform: translateY(-50%) translateX(-50%);
}

h2.glamping {
    color: #fff;
    letter-spacing: 0.3rem;
    padding-top: 150px;
    /* margin: 5%; */
    line-height: 1.2;
    font-size: 2rem;
    text-align: justify;
    position: absolute;
    top: 50%;
    /*親要素を起点に上から50%*/
    left: 50%;
    /*親要素を起点に左から10%*/
    transform: translateY(-50%) translateX(-50%);
    /*要素の大きさの半分ずつを戻す*/
    -webkit-transform: translateY(-50%) translateX(-50%);
}

/*------------Sections yousikankon---------------------*/


h3.catchcopy {
  font-size: 1.7rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding-top: 50px;
  margin-bottom: 50px;
  color: var(--main-color);
}

.position-center {
  text-align: justify;
  line-height: 2.5rem;
  padding-left: 50px;
    position: absolute;/*---画像の縦中央配置----*/
    top: 50%;
    transform: translateY(-50%);
}


/*-----------Sections グランピング------------------------*/

section {
  margin: 200px 0 15px 0;
}

h2.sectiontitle {
  font-size: 3rem;
   font-weight: 500;
  padding-bottom: 70px;
  position: relative;
  text-align: center;
  letter-spacing: 0.5rem;
}

h2.sectiontitle span {
  display: block;
  font-size: 1rem;
 line-height: 1;
 letter-spacing: 0.2em;
 padding-top: 10px;
}

.tento_yoru img {
  width: 100vw;
  height: auto;
  object-fit: cover;
  margin-bottom: 50px;
}

p.text {
  line-height: 2em;
  margin-bottom: 150px;
}

/*---------------parallax--------------------------*/
.parallax {
  /* background: linear-gradient(rgba(1, 41, 42, 0.5), rgba(7, 56, 57, 0.5)), url("../images/green2.jpg") fixed center center; */
  background: url("../images/tento_hiru.jpg") fixed center center;
  background-size: cover;
  height: 300px;
  margin-top: 150px;
}


/*---------------テント・室内--------------------------*/

.kyakusitu {
  background-color:#F6FAFB;
    padding: 130px 0;
    margin-top: 50px;
}

h4.setubi {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  line-height: 2em;
  padding: 30px 0 10px 0;
}

p.tento_text {
  line-height: 2em;
  padding: 0 50px;
}

.d-demo {
  margin-top: 70px;
}

.col-lg-6.mx-auto img {
  width: 100%;
  padding: 0 20px;
}

/*---------------テント・室内　横に流れるスライドショー--------------------------*/

ul.d-demo__list.d-demo__list--left {
  padding-left: 0;
}

/*右から左へ----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.d-demo {
  display: -ms-grid;
  overflow: hidden;
}
/*----------------------------*/

.d-demo__wrap {
  display: flex;
  overflow: hidden;
}

.d-demo__list {
  display: flex;
  list-style: none;
}

.d-demo__list--left{
animation :infinity-scroll-left 95s infinite linear 0.5s both;
}

.d-demo__item {
  width: calc(100vw / 4);/*-----写真の数----*/
}
.d-demo__item > img{
   width: 100%;
}

/*----------------左から右へ---------------------*/
@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

.d-demo__list--right{
animation :infinity-scroll-right 95s infinite linear 0.5s both;
}


/*---------------設備--------------------------*/

p.setubi_text {
  line-height: 2em;
  padding: 0 50px 100px 50px;
}



/*---------------食事--------------------------*/

.syokuji {
  background: url("../images/meal.jpg") center center;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
  height: auto;
  padding: 130px 0;
  margin-top: 80px;
opacity: 0.8;
}

.syokuji_inner {
  padding: 100px;
  background-color: rgba(255, 255, 255, .9);
  box-sizing: border-box;
}

p.mealtext {
  line-height: 2em;
}

/*---------------アクセスmap--------------------------*/

.access {
  padding: 70px 0;
}

.map iframe {
  width: 100%;
  height: 700px;
  padding: 50PX 0 150px 0;
}


/*--------------ページ全体のバックに画像--------------------*/

.bodyback {

/* 画像ファイルの指定 */
  background-image: url(../images/tento_hiru.jpg);
   
  /* 画像を常に天地左右の中央に配置 */
  background-position: center center;
   
  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
   
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
  background-attachment: fixed;
   
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: cover;
   
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #464646;

  z-index: 100;
}

.toumei {
  /* 背景画像の上にrgbaを置いて背景画像のみを透過させる */
    background: rgba(255,255,255,0.5);
}


/*-------------Footer--------------------*/
footer {
  background-color: #f4f4f8;
  padding: 80px 0;
}

.contact {
  margin: 0 7%;
  /* background-color: #f2f9f8; */
}

h4.footer_rogo img {
  width: 250px;
  padding-bottom: 100px;
}

h3.yosimuta {
  color: var(--main-color);
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 30px;
  margin-top: 0;
}


.icofont-phone {
  padding-top: 7px;
}

.tel {
  font-size: 1.5rem;
}

.footericon {
  display: flex;
}

.footericon i {
  padding-right: 10px;
  padding-top: 8px;
  color: var(--main-color);
  font-size: 1.5rem;
}

.contact .social-links a {
  font-size: 18px;
  display: inline-block;
  /* background: #fff; */
  color: var(--main-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid var(--main-color);
}

.contact .social-links a:hover {
  background: var(--main-color);
  color: #fff;
}

h6 {
  margin-bottom: 3px;
}

h6 a {
  font-size: 0.8rem;
  padding-left: 10px;
  color: var(--main-color);
}

li {
  list-style: none;
}

li a {
  font-size: 0.8rem;
}

hr {
  margin: 0 0 10px 0;
}

.copyright {
  text-align: center;
  font-size: 1rem;
  background: var(--main-color);
  color: #fff;
  padding: 30px 0;
}

/*------ footer------*/
.footer {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 15px;
}


/*------ topへ戻る　固定位置指定 ------*/
.back {
  position: fixed;
  right: 3%;
  bottom: 3%;
  transition: 1s;
  opacity: 0.5;
  z-index: 500;
}

.back:hover {
  opacity: 1;

}

/*--------------------------------------------------------------
スマホ対応
--------------------------------------------------------------*/

@media only screen and (max-width: 991px)  {


h1.rogo img {
  width: 300px;
}

.navbar-brand img {
  padding: 5px 0;
  width: 150px;
}

p.position-center {
  position: sticky;/*---画像の縦中央配置解除----*/
  padding: 20px;
    top: 0;
    transform: translateY(0%);
}

img.img-fluid {
margin: 0;
}

p.text{
 padding: 20px; 
}
section {
  margin-top: 50px 0;
}

h6.jump_point {/*---ページ内リンクで止まる位置調整----*/
 padding-top: 200px;
  margin-top:-200px;
}

.glamping {
  margin-bottom: 100px;
}

h2.sectiontitle {
  padding-bottom: 30px;
}

p.tento_text {
  padding-bottom: 70px;
}

.container {
  padding: o;
}

.kyakusitu {
    margin-top: 0;
  }

.back img {
  width: 40px;
}

}


@media only screen and (max-width: 767px) {

 /*---スマホの横ブレを防ぐ
  html,
  body {
 overflow-x: hidden;
 -webkit-overflow-scrolling: touch;
  }----*/


  .main_imgBox {/* top画像の高さ調整  */
  height: 65vh;
}

h6.jump_point {/*---ページ内リンクで止まる位置調整----*/
 padding-top: 270px;
  margin-top:-270px;
}


  h3.catchcopy {/*---星降る高原・・・心に星を----*/
    font-size: 1.2rem;
    padding-top: 20px;
    letter-spacing: 0.1em;
  }

.yousikankon {
  margin-top: 150px;
}
  section.glamping {
  margin-top: 100px;
  }

  .kyakusitu {
    padding: 80px 0 30px 0;
  }

  .sauna {
    margin-top: 100px;
  }

  .syokuji {
    margin: 0;
    padding: 90px 0;
  }

  .syokuji_inner {
    padding: 40px;
  }

    h2.sectiontitle {/*---セクションごとのタイトル----*/
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
  }

  .yousikankon,
  .text,
  {
    padding: 0 30px;
  }

.d-demo {/*---横並びの室内スライドショー 非表示----*/
  display: none !important;
 } 

 p.text {
  margin-bottom: 0;
 }

 p.tento_text,
 p.setubi_text {
  padding-left: 20px;
  padding-right: 20px;
 }

section.map {
  margin-top: 100px;
}
  .access {
    padding: 0 30px 50px 30px;
  }


 .map iframe {
  width: 100%;
  height: 400px;
  padding: 0 20px 50px 20px;
  margin-top: 0;
}

 h4.footer_rogo img {
  width: 200px;
  padding-bottom: 50px;
}

.copyright {
  font-size: 0.8rem;

}
}
