div.main{width: 100%;}

div.title{width: 100%;}

div.slider{display: block;}

.shina{color: #B59558; text-decoration: none;}
.shina:hover{color: #E9D38F;}

#pengy{display: none;margin-top: 3px;}

.white_color{color:#FFFFFF;}

.sub-p{background: #000000;}

.main2{width: 98%; max-width: 1980px; margin-top: 50px; margin-right: auto; margin-left: auto; padding: 10px;}

.pr{margin-top: 0px; padding: 0px; text-align: center;}

.inline{text-align: center;}

.high{line-height: 100px;}

h1{margin: 0px;}

.block{display: block;}

.topp{margin: 0px 20px; font-size: 1.5em;}

.line-b{padding-bottom: 40px;}

.flex{
    min-width: 345px;
	display: -webkit-flex;
	display: flex;
	flex-wrap:wrap;
	justify-content: left;
	list-style:none;
    margin: auto;
}

.cflex{justify-content: center;}

.rowflex{flex-direction: row-reverse;}

img.topimg {
  width: 35%;
  min-width: 345px;
  height:auto;
}

img.topimg2{margin-top: 0px;}

.parts{width: 57%; padding:4%; min-width: 345px;}

.button{width: 100%; text-align: center; padding-top: 20px;}

.link_banner{width: 95%;}

.footer{width: 100%; margin-top: 65px; padding: 0px; padding-bottom: 25px; text-align: center;}

@media screen and (max-width:720px) {
  .mnone {
      display: none;
  }}

/*========= ローディング画面のためのCSS ===============*/
#splash {
  /* position: fixed;*/
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 9999999;
  text-align:center;
  color:#fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
  #splash-logo {
    position: absolute;
    top: 55%;
    left: 47%;
    transform: translate(-50%, -50%);
  }
}


/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

body{
    background: #000000;
    background-image: url(./img-top/top-back-image.jpg);/*遷移アニメーションと同じ色を指定*/
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width:600px) {
  body{
      background: #000000;
      background-image: none;/*遷移アニメーションと同じ色を指定*/
      background-size: cover;
      background-repeat: no-repeat;
  }}

body.appear{
    background:#000000;/*画面を開いた後の背景色を指定*/
}

.splashbg{
  position: fixed;
  top: 0;
  right:0;
  bottom:0;
  left: 0;
  border-width: 0px;/*開始はボーダーの太さは0*/
  border-style:solid;
    border-color: #E9D38F;/*拡大する四角の色*/
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes backBoxAnime{
  99.9% {/*アニメーション終了ぎりぎりまで*/
        z-index: 2;/*最前面に*/
    border-width: 0px;/*開始はボーダーの太さは0*/
  }
    100%{
       z-index: -1; /*最背面に*/
        border-width: 0px;/*終了はボーダーの太さは0*/
    }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
    position: relative;
  opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*==================================================
スライダーのためのcss
===================================*/
#slider {
    width: 100%;
    height: 60vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

@media screen and (max-width:600px) {
  #slider {
      width: 100%;
      height: 85vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  }}



/*==================================================
スライドギミックCSS
===================================*/

/*背景色が伸びて出現 共通*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:3s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:2s;
  animation-delay: 3s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*--------- 左から --------*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:3.2s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color:#E9D38F;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/*--------- 右から --------*/
.bgRLextend::before{
  animation-name:bgRLextendAnime;
  animation-duration:3.2s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #E9D38F;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
  0% {
    transform-origin:right;
    transform:scaleX(0);
  }
  50% {
    transform-origin:right;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:left;
  }
  100% {
    transform-origin:left;
    transform:scaleX(0);
  }
}

/*--------- 下から --------*/
.bgDUextend::before{
  animation-name:bgDUextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgDUextendAnime{
  0% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
  50% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:top;
  }
  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*--------- 上から --------*/
.bgUDextend::before{
  animation-name:bgUDextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}

@keyframes bgUDextendAnime{
  0% {
    transform-origin:top;
    transform:scaleY(0);
  }
  50% {
    transform-origin:top;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:bottom;
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}
/*========================*/
/*==================================================
パーツアニメーション
===================================*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/* アニメーションの回数を決めるCSS*/

.count2{
  animation-iteration-count: 2;/*この数字を必要回数分に変更*/
}

.countinfinite{
  animation-iteration-count: infinite;/*無限ループ*/
}

/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time05{
  animation-delay: 0.5s;
}

.delay-time1{
  animation-delay: 1s;
}

.delay-time15{
  animation-delay: 1.5s;
}

.delay-time2{
  animation-delay: 2s;
}

.delay-time25{
  animation-delay: 2.5s;
}

/* アニメーション自体が変化する時間を決めるCSS*/

.change-time05{
  animation-duration: 0.5s;
}

.change-time1{
  animation-duration: 1s;
}

.change-time15{
  animation-duration: 1.5s;
}

.change-time2{
  animation-duration: 2s;
}

.change-time25{
  animation-duration: 2.5s;
}

/*==================================================*/
/*== 詳細ボタンのCSS */

.btnlinestretches{
    /*線の基点とするためrelativeを指定*/
  position:relative;
    /*ボタンの形状*/
  color:#FFFFFF;
  border:1px solid #FFFFFF;
    padding: 10px 30px;
  display:inline-block;
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

/*hoverした際の背景の形状*/
.btnlinestretches:hover{
  background:#B59558;
  color: #fff;
  border-color:transparent;
}

/*線の設定*/
.btnlinestretches::before,
.btnlinestretches::after {
  content:'';
    /*絶対配置で線の位置を決める*/
  position:absolute;
  border:solid #333;
  width:10px;
  height:10px;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

/*線の位置と形状*/
.btnlinestretches::before{
  top:-6px;
  left:-6px;
  border-width:1px 0 0 1px;
}

/*線の位置と形状*/
.btnlinestretches::after{
  bottom:-6px;
  right:-6px;
  border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
  width:calc(100% + 11px);
  height:calc(100% + 11px);
  border-color:#666;
}
/*==================================================*/

/*=========ハンバーガーメニュー============*/

@media screen and (min-width:601px) {
  .openbtn1 {
    display: none;
  }#g-nav{display: none;}}

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
    left: -120%;
  width:80%;
    height: 100vh;/*ナビの高さ*/
  background:#6B5C39;
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    left: 0;
}


/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width:100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    bottom: 10px;
  left: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
}

/*×に変化*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px;
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*==================================================*/
