@charset "utf-8";
/**************************

TOP用CSS

**************************/
/**************************
projectsはprojectsページと共通の別ファイル。
************/
@import url("projects.css");
@import url("news.css");
/***********/
.start {
  background: #fcfef1;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}
.start p {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  width: 200px;
  max-width: 30%;
}
#wrapper {
  position: relative;
}
#top {
  /*background: #000;*/
  background: #fff;
}
#top section h1 {
  color: #000000;
  padding-top: 2.4em;
  margin-bottom: 2.4em;
}
#top header {
  background: none;
  border-bottom: none;
}
#top header h1 img {
  filter: brightness(100%);
}
#top header img {
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.5));
}
#top header a {
  color: var(--reverse-txt-color) !important;
  /*color: #e8e8e8 !important;*/
}
/* .scrolled(mv分スクロールしたら) */
body header.scrolled {
  background-color: #FFFFFF !important;
  z-index: 5;
  /*box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.14);*/
  border-bottom: #d5d5d5 1px solid !important;
}
body#top header.scrolled a {
  color: #000 !important;
  /*font-weight: 400;*/
}
body#top header.scrolled nav ul li a:hover, body#top header.scrolled nav ul li .active {
  border-bottom: 1px rgba(0, 0, 0, 0.4) solid;
}
#top header.scrolled h1 img {
  filter: brightness(0%);
}
#top header.scrolled .menu-trigger span {
  background-color: #000;
}
body header.scrolled.is-hidden {
  /*fotterが見えたら隠す…
  opacity: 0;
  transition: 0.3s;*/
}
/*大サイズのみ（開閉メニュー外）*/
@media screen and (min-width: 781px) {
  #top header a {
    border-color: rgba(256, 256, 256, 0.4);
  }
}
/*小サイズのみ（開閉メニュー内）*/
@media screen and (max-width: 780px) {
  #top header.scrolled.active h1 img {
    filter: brightness(100%) !important;
  }
  body#top header.scrolled.active nav a {
    color: var(--reverse-txt-color) !important;
  }
  #top header.scrolled.active .menu-trigger span {
    background-color: #fff;
  }
  body#top header.scrolled.active nav ul li a:hover, body#top header.scrolled.active nav ul li .active {
    border-bottom: 1px rgba(256, 256, 256, 0.4) solid;
    border-bottom: none;
  }
}
#top .mv {
  width: 100vw;
  position: relative;
  margin-bottom: 0 !important;
  background: #282828;
  /*height: 100vh;*/
  height: calc(var(--vh, 1vh) * 100);
  /*height: 100vh; 100vhとしたときの問題点とは？
    https://web-camp.io/magazine/archives/91511 */
  transition: height 1.3s ease 0.0s /*ウインドウサイズ変更でガクっとなるの対応（イマイチ?）*/ ;
}
#top #wrapper .main-visual .vegas-wrapper {
  background-size: cover !important;
}
/*小サイズ*/
@media screen and (max-width: 780px) {
  #top .mv {}
  #top .pc {
    display: none;
  }
  #top .sp {
    display: inherit;
  }
  .menu-trigger span {
    background-color: #fff;
  }
}
/*スマートフォン https://caroa.jp/design/article/IuBFNKUn */
@media screen and (max-width: 414px) {
  #top section h1 {
    text-align: center;
    margin-bottom: 1.6em;
  }
}