@charset "UTF-8";
/*==================================================
機能編　4-2-5　背景色が伸びる（中央から外）
===================================*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #F97B22;
  z-index: 9999999;
  text-align: center;
  color: #ffffff;
}

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

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2 {
  display: none;
}

#wrapper {
  opacity: 0;
}

body.appear .splashbg1,
body.appear .splashbg2 {
  display: block;
}
body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: #F97B22;
}
body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: #F97B22;
  /*伸びる背景色の設定*/
}
body.appear #wrapper {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.mainblur {
  filter: blur(8px);
}

/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #F97B22;
  transition: all 0.3s;
}
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}
#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav.panelactive ul {
  display: block;
}
#g-nav ul {
  display: none;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav ul li {
  list-style: none;
  text-align: center;
}
#g-nav ul li a {
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*==================================================
機能編　5-2-2 ボタン：2本線が×に
===================================*/
/*ボタン外側*/
.openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 13px;
  height: 3px;
  background-color: #F97B22;
}
.openbtn span:nth-of-type(1) {
  top: 22px;
  width: 50%;
}
.openbtn span:nth-of-type(2) {
  top: 29px;
  width: 30%;
}
.openbtn.active span {
  background-color: #ffffff;
}
.openbtn.active span:nth-of-type(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
.openbtn.active span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

/*==================================================
機能編　9-1-2 丸が動いてスクロールを促す
===================================*/
/*スクロールダウン全体の場所*/
.scrolldown2 {
  /*描画位置※位置は適宜調整してください*/
  position: fixed;
  bottom: 10px;
  left: 50%;
  z-index: 2;
}
.scrolldown2 span {
  /*描画位置*/
  position: absolute;
  left: 10px;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  writing-mode: vertical-rl;
}
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: -4px;
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eee;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}
.scrolldown2:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 50px;
  background: #eee;
}

@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/*==================================================
機能編　　7-1-21	線から塗に変化（上から下）
===================================*/
/* ボタン共通設定 */
.btn04 {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  display: inline-block;
  padding: 10px 30px;
  color: #333;
  border: 1px solid #ccc;
  text-decoration: none;
  outline: none;
  /*はみ出す背景色を隠す*/
  overflow: hidden;
}
.btn04:hover {
  color: #ffffff;
  border-color: transparent;
  /*色の変化を遅らせる*/
  transition-delay: 0.6s;
}
.btn04 span {
  display: block;
  z-index: 2;
}

#contact .btn04 {
  padding: 0;
  border: 1px solid #a18f84;
}

/*hoverした際のボタンの形状*/
#contact .btn04:hover {
  color: #ffffff;
  border-color: transparent;
  /*色の変化を遅らせる*/
  transition-delay: 0.6s;
}

#contact .btn04:hover h3 {
  color: #ffffff;
  transition-delay: 0.6s;
}

#contact .btn04:hover .arrow {
  border-color: transparent transparent #ffffff #ffffff;
  transition-delay: 0.6s;
}

/*== 線から塗に変化（上から下） */
/*線の設定*/
.bordertop span::before,
.bordertop span::after,
.bordertop .contact-brock::before,
.bordertop .contact-brock::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  width: 1px;
  height: 0;
  /*線の形状*/
  background: #F97B22;
  /*アニメーションの設定*/
  transition: all 0.3s;
}

/*左線*/
.bordertop span::before,
.bordertop .contact-brock::before {
  left: 0;
  top: 0;
}

/*右線*/
.bordertop span::after,
.bordertop .contact-brock::after {
  right: 0;
  top: 0;
}

/*hoverをすると線が伸びる*/
.bordertop:hover span::before,
.bordertop:hover span::after,
.bordertop:hover .contact-brock::before,
.bordertop:hover .contact-brock::after {
  height: 100%;
}

/*背景の設定*/
.bordertop::before {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  /*背景の形状*/
  width: 100%;
  height: 0;
  background: #F97B22;
  /*アニメーションの設定*/
  transition: all 0.3s;
}

#contact .bordertop::before {
  z-index: 0;
}

/*hoverをすると背景が伸びる*/
.bordertop:hover::before {
  height: 100%;
  /*0.4秒遅れてアニメーション*/
  transition-delay: 0.4s;
}

/*==================================================
機能編　8-1-4	ページ内にある指定の範囲内で下から出現
===================================*/
#page-top {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}
#page-top span {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 4px solid #ffffff;
  border-left: 4px solid #ffffff;
  transform: rotate(45deg);
}
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F97B22;
  width: 60px;
  height: 60px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}
#page-top a:hover {
  color: #F97B22;
  background: #FEE8B0;
}

/*　上に上がる動き　*/
#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);
  }
}
/*==================================================
   印象編 4 最低限おぼえておきたい動き
===================================*/
/* 4-1 ふわっ（その場で） */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 2s;
  /*ゆっくり出現するため数値変更*/
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 4-4 ボンッ（拡大） */
.zoomOut {
  animation-name: zoomOutAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes zoomOutAnime {
  from {
    transform: scale(1.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.zoomOutTrigger {
  opacity: 0;
}

/*===========================================================*/
/* 印象編　8 テキストの動き　/
/*===========================================================*/
/*========= 8-2 テキストが流れるように出現（左から右） ===============*/
/*全共通*/
.slide-in {
  overflow: hidden;
  display: inline-block;
  padding: 0 10px;
  /*英語がはみ出るので見えるように余白追記*/
}

.slide-in_inner {
  display: inline-block;
}

/*左右のアニメーション*/
.leftAnime,
.rightAnime {
  opacity: 0;
  /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name: slideText-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideText-100 {
  from {
    transform: translateX(-100%);
    /*要素を左の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0);
    /*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft {
  animation-name: slideText100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideText100 {
  from {
    transform: translateX(100%);
    /*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0);
    /*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*========= 8-17　テキストがほのかに光りながら出現 ===============*/
.glowAnime span {
  opacity: 0;
}

.glowAnime.glow span {
  animation: glow_anime_on 1s ease-out forwards;
}

@keyframes glow_anime_on {
  0% {
    opacity: 0;
    text-shadow: 0 0 0 #fff, 0 0 0 #ffffff;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 15px #ffffff;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 0 #fff, 0 0 0 #ffffff;
  }
}
/*==================================================
   7 画像リンクの動き
===================================*/
span.mask {
  display: block;
  /*画像をくくるspanタグをブロック要素にする*/
  overflow: hidden;
  /*はみ出ているものを隠す*/
}

/*　7-9 波紋　*/
.circle span.mask {
  position: relative;
  /*波紋の基点となる位置を定義*/
}

.circle span.mask::before {
  position: absolute;
  content: "";
  transform: scale(0);
  /*円の大きさ初期値は0*/
  opacity: 0;
  /*透過0*/
  width: 100%;
  /*円のサイズ指定*/
  height: 100%;
  /*円のサイズ指定*/
  border-radius: 50%;
  /*円の角丸指定*/
  background: rgba(255, 255, 255, 0.2);
  /*円の背景色*/
}

.circle span.mask:hover::before {
  /*hoverした時の変化*/
  animation: circle 0.75s;
  /*アニメーションの名前と速度を定義*/
}

@keyframes circle {
  0% {
    transform: scale(0);
    opacity: 1;
    /*透過なし*/
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(2);
    /*アニメーションで大きくなった2倍の円の指定*/
  }
}
/* 7-11 背景が出現＋テキスト（上から） */
.bgDU {
  display: block;
  position: relative;
  /*背景色とテキストの基点となる位置を定義*/
  overflow: hidden;
}

.bgDU .cap {
  position: absolute;
  transition: 0.5s ease-in-out;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 85%;
  height: 85%;
  background-color: rgba(255, 255, 255, 0.65);
}

.bgDU:hover .cap {
  /*hoverした時の変化*/
  opacity: 1;
  /*透過なしに変化*/
}

.bgDU .cap h3 {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #7c5d4b;
  text-shadow: 0px 0px 10px #ffffff;
}

/*==================================================
    印象編　6-7 スクロールするとヘッダー背景画像が拡大（エリアの動き）
===================================*/
#top-header {
  position: relative;
  /*背景を設定するdivの基点とするためrelativeをかける*/
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#header-img {
  position: fixed;
  /*背景を固定するためfixedをかける*/
  z-index: 1;
  /*#container,#footerよりも下に配置するために数値を小さくする*/
  top: 0;
  /*topの位置がJSで変化*/
  /*以下画面で背景画像を表示させるための指定*/
  width: 100%;
  height: 100vh;
  background: url("../img/main.webp") no-repeat;
  background-position: 50% 50%;
  /*背景画像の設定*/
  background-size: cover;
  transform-origin: center;
  /*変化する基点を中心からに設定*/
}

@media screen and (max-width: 576px) {
  #header-img {
    background-position: 0% 50% !important;
  }
}
#container,
#footer {
  position: relative;
  /*#header-imgよりも配置を上にするためにrelativeをつける*/
  z-index: 3;
  /*#header-imgよりもz-indexの値を大きな数値にして上に表示*/
  background: #f8f9fa;
}/*# sourceMappingURL=parts.css.map */