@charset "utf-8";
/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*===========================================================*/
/*機能編  5-1-1 ドロップダウンメニュー（上） */
/*===========================================================*/
/*========= ナビゲーションドロップダウンのためのCSS ===============*/
/*ナビゲーションを横並びに*/
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul {
  display: block;
}
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
  position: relative;
}
/*ナビゲーションのリンク設定*/
nav ul li a {
  display: block;
  text-decoration: none;
  color: #231815;
  padding: 20px 25px;
  transition: all .3s;
  font-size: clamp(0.688rem, 0.613rem + 0.38vw, 1.063rem);
  font-weight: bold;
}
nav ul li li a {
  padding: 10px 35px;
}
.drop-ttl {
  color: #000;
  text-align: left;
  position: relative;
  font-size: 15px;
  padding: 10px 20px;
  line-height: 1.2;
  font-weight: bold;
}
@media screen and (max-width:1200px) {
  nav ul li a {
    padding: 20px;
  }
  nav ul li li a {
    padding: 10px 20px;
  }
}
nav ul li a:hover {
  color: #d22535;
}

@media screen and (max-width:1200px) {
  nav ul li.has-child::before {
    left: 0;
  }
}
/*== 2・3階層目の共通設定 */
/*下の階層を持っているulの指定*/
nav li.has-child ul {
  position: absolute;
  left: 0;
  top: 75px;
  z-index: 4;
  background: rgba(255, 255, 255, 1.0);
  width: 242px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  border: #000 1px solid;
}
nav li.has-child:hover:before {
  content: ""; /*疑似要素の中身を指定*/
  position: absolute; /*絶対位置指定*/
  left: 50%; /*横位置の指定*/
  top: 47px; /*縦位置の指定*/
  background: #000000; /*線の色指定*/
  width: 1px; /*線の幅指定*/
  height: 28px; /*線の高さ指定*/
}
/*hoverしたら表示*/
nav li.has-child:hover > ul, nav li.has-child ul li:hover > ul, nav li.has-child:active > ul, nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #000;
  text-align: left;
  position: relative;
  font-size: 15px;
  padding: 10px 20px;
  line-height: 1.2;
}
nav li.has-child ul li:last-child a {
  border-bottom: none;
}
nav li.has-child ul li a:hover, nav li.has-child ul li a:active {
  background: rgba(255, 255, 255, 1.0);
}
.has-child .nav-icon01, .has-child .nav-icon02, .has-child .nav-icon03, .has-child .nav-icon04, .has-child .nav-icon05, .has-child .nav-icon06 {
  padding-left: 15px;
}
.has-child .nav-icon01 a::before {
  position: absolute;
  top: 15px;
  left: 0px;
  content: "";
  display: block;
  width: 17px;
  height: 14px;
  background: url(../image/car_icon.png) no-repeat center;
  background-size: 17px 14px;
}
.has-child .nav-icon02 a::before {
  position: absolute;
  top: 15px;
  left: 0px;
  content: "";
  display: block;
  width: 19px;
  height: 14px;
  background: url(../image/shop_icon.png) no-repeat center;
  background-size: 19px 14px;
}
.has-child .nav-icon03 a::before {
  position: absolute;
  top: 15px;
  left: 0px;
  content: "";
  display: block;
  width: 15px;
  height: 14px;
  background: url(../image/tel_icon.png) no-repeat center;
  background-size: 15px 14px;
}
.has-child .nav-icon04 a::before {
  position: absolute;
  top: 20px;
  left: 0px;
  content: "";
  display: block;
  width: 12px;
  height: 11px;
  background: url(../image/do-life.png) no-repeat center;
  background-size: 12px 11px;
}
.has-child .nav-icon05 a::before {
  position: absolute;
  top: 20px;
  left: 0px;
  content: "";
  display: block;
  width: 12px;
  height: 9px;
  background: url(../image/youtube.png) no-repeat center;
  background-size: 12px 9px;
}
.has-child .nav-icon06 a::before {
  position: absolute;
  top: 20px;
  left: 0px;
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background: url(../image/instagram.png) no-repeat center;
  background-size: 11px 11px;
}
.has-child .hr-nav {
  border-top: #c9caca 1px solid;
}
.has-child .hr-nav-last {
  border-top: #c9caca 1px solid;
  border-bottom: #c9caca 1px solid;
}
.small {
  font-size: 85%;
}
/*==1100px以下の形状*/
@media screen and (max-width:1100px) {
  nav {
    padding: 0;
  }
  nav ul {
    display: block;
  }
  nav ul li a {
    border-bottom: none;
  }
  /*矢印の位置と向き*/
  nav ul li.has-child::before {
    left: 20px;
  }
  nav ul ul li.has-child::before {
    transform: rotate(135deg);
    left: 20px;
  }
  nav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }
}
/*===========================================================*/
/*機能編  5-1-6 スクロール途中から上部固定 */
/*===========================================================*/
#header {
  position: fixed;
  height: 120px;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* padding: 20px 100px 20px 0; */
  background-color: #e6e6e6;
  border-bottom: #d22535 2px solid;
  margin: 0 auto;
}
/*==ふわっと出現させるためのCSS*/
/*　上に上がる動き　*/
#header.UpMove {
  position: fixed;
  width: 100%;
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
/*　下に下がる動き　*/
#header.DownMove {
  position: fixed;
  width: 100%;
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width:1100px) {
  #header, #header.UpMove, #header.DownMove {
    animation: none;
    height: clamp(2.875rem, 2.267rem + 2.7vw, 4.125rem);
    padding: 0;
    display: block;
	border: none;  
  }
}
/*==================================================
機能編 　5-1-11 クリックしたらナビが上から下に出現
===================================*/
@media screen and (max-width:1100px) {
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -300%;
    left: 0;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(255, 255, 255, 1.0);
    /*動き*/
    transition: all 0.6s;
  }
	
@media (max-width: 1100px) and (orientation: landscape) {
	
	#g-nav {
        top: -500%;
	}
	
	}
	
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 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 {
    /*ナビゲーション天地中央揃え*/
    width: 100%;
    margin: 20px auto 0 auto;
  }
  #g-nav ul ul {
    width: 100%;
    margin: 0;
  }
  /*プルダウンナビのCSS*/
  #g-nav ul li.has-child ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible; /*JSで制御するため一旦表示*/
    opacity: 1; /*JSで制御するため一旦表示*/
    display: none; /*JSのslidetoggleで表示させるため非表示に*/
    transition: none; /*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
  }
  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
    /*text-align: center; */
  }
  #g-nav li a {
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
  }
  .drop-ttl-sp {
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
  }
  .ham-bg-glay {
    background-color: #ebebec;
  }
  .ham-only {
    display: block;
    background-color: #fff;
  }
  .ham-ttl {
    font-size: 15px;
    font-weight: bold;
    padding-top: 20px;
    padding-left: 20px;
	padding-bottom: 20px;  
    text-align: left;
  }
	
	.ham-ttl a{
		color: #000;
	}	
	
  .has-child {
    display: none;
  }
  .ham-only .nav-icon01, .ham-only .nav-icon02, .ham-only .nav-icon03, .ham-only .nav-icon04, .ham-only .nav-icon05, .ham-only .nav-icon06 {
    padding-left: 15px;
  }
  .ham-only .nav-icon01 a::before {
    position: absolute;
    top: 15px;
    left: 0px;
    content: "";
    display: block;
    width: 17px;
    height: 14px;
    background: url(../image/car_icon.png) no-repeat center;
    background-size: 17px 14px;
  }
  .ham-only .nav-icon02 a::before {
    position: absolute;
    top: 15px;
    left: 0px;
    content: "";
    display: block;
    width: 19px;
    height: 14px;
    background: url(../image/shop_icon.png) no-repeat center;
    background-size: 19px 14px;
  }
  .ham-only .nav-icon03 a::before {
    position: absolute;
    top: 15px;
    left: 0px;
    content: "";
    display: block;
    width: 15px;
    height: 14px;
    background: url(../image/tel_icon.png) no-repeat center;
    background-size: 15px 14px;
  }
  .ham-only .nav-icon04 a::before {
    position: absolute;
    top: 20px;
    left: 0px;
    content: "";
    display: block;
    width: 12px;
    height: 11px;
    background: url(../image/do-life.png) no-repeat center;
    background-size: 12px 11px;
  }
  .ham-only .nav-icon05 a::before {
    position: absolute;
    top: 20px;
    left: 0px;
    content: "";
    display: block;
    width: 12px;
    height: 9px;
    background: url(../image/youtube.png) no-repeat center;
    background-size: 12px 9px;
  }
  .ham-only .nav-icon06 a::before {
    position: absolute;
    top: 20px;
    left: 0px;
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    background: url(../image/instagram.png) no-repeat center;
    background-size: 11px 11px;
  }
  .ham-only .hr-nav {
    border-top: #c9caca 1px solid;
  }
  .ham-only .hr-nav-last {
    border-top: #c9caca 1px solid;
    border-bottom: #c9caca 1px solid;
  }
}
@media screen and (min-width:1101px) {
  .ham-only {
    display: none;
  }
  .ham-ttl {
    display: none;
  }
}
/*==================================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/
.g-nav-openbtn {
  display: none;
}
@media screen and (max-width:1100px) {
  .g-nav-openbtn {
    display: block;
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*ボタン内側*/
  .g-nav-openbtn .openbtn-area {
    transition: all .4s;
  }
  .g-nav-openbtn span {
    display: inline-block;
    transition: all .4s; /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #000;
    width: 45%;
  }
  .g-nav-openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .g-nav-openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .g-nav-openbtn span:nth-of-type(3) {
    top: 31px;
  }
  /*activeクラスが付与されると
線と周りのエリアが回転して×になる*/
  .g-nav-openbtn.active .openbtn-area {
    transform: rotateY(-360deg);
  }
  .g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }
  .g-nav-openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .g-nav-openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
}
@media screen and (max-width:768px) {
  .g-nav-openbtn {
    top: 5px;
  }
}
@media screen and (max-width:560px) {
  .g-nav-openbtn {
    top: 0;
  }
}
/*==================================================
　機能編 5-3-3 左から右に線が伸びる（下部）
===================================*/
.nav01c li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}
.nav01c li.current a, .nav01c li a:hover {
  color: #d22535;
}

.nav01c li li a::after {
  display: none;
}
/*現在地とhoverの設定*/
.nav01c li.current a::after, .nav01c li a:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}
@media screen and (max-width:1100px) {
  .nav01c li a::after {
    display: none;
  }
}
/*==================================================
　機能編 9-1-1	縦線が動いてスクロールを促す
===================================*/
/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  right: 40px;
  bottom: 3%;
  /*全体の高さ*/
  height: 50px;
}
/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*==================================================
　機能編 7-1-34	少し出ていた線が伸びる
===================================*/
.btnlinestretches2 {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  color: #eee;
  padding: 5px 40px;
  display: inline-block;
  text-decoration: none;
  outline: none;
}
/*線の設定*/
.btnlinestretches2::before, .btnlinestretches2::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*事前に出現させる線の形状*/
  border: solid #eee;
  width: 10px;
  height: 10px;
  /*アニメーションの指定*/
  transition: all 0.3s ease-in-out;
}
.btnlinestretches2::before {
  /*事前に出現させる線の位置*/
  top: 0;
  left: 0;
  /*事前に出現させる線の形状*/
  border-width: 1px 0 0 1px;
}
.btnlinestretches2::after {
  /*事前に出現させる線の位置*/
  bottom: 0;
  right: 0;
  /*事前に出現させる線の形状*/
  border-width: 0 1px 1px 0;
}
/*hoverした際の線の形状*/
.btnlinestretches2:hover::before, .btnlinestretches2:hover::after {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-color: #eee;
}
/*==================================================
機能編 8-1-4 ページの指定の範囲内で出現（下から上)
===================================*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #e6e6e6;
  color: #e6e6e6;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}
#page-top a:hover {
  background: #777;
}
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}
#page-top span {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  transform: rotate(45deg);
  margin: 8px 0 0 0;
}
/*　左の動き　*/
#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}
@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/*　右の動き　*/
#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}

/*=======　閉じるための×ボタン　========*/
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  cursor: pointer;
  width: 60px;
  height: 60px;
}
.close-btn span {
  display: inline-block;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
}
/*×マーク*/
.close-btn span:nth-of-type(1) {
  top: 21px;
  left: 16px;
  transform: translateY(6px) rotate(-135deg);
  width: 50%;
}
.close-btn span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(135deg);
  width: 50%;
}

