/**************************
index.css
**************************/

/* ローディング */
body.is-loading {
  overflow: hidden;
}

.loading-container {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 消すときだけクラスを付ける */
.loading-container.is-hide {
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

/* スクロール禁止 */
body.is-loading {
  overflow: hidden;
}

/* ロゴ演出（JS不要で自動再生） */
.loading-image {
  max-width: 300px;
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: revealImage .7s ease-out forwards;
}

@keyframes revealImage {
  to {
    clip-path: inset(0 0 0 0);
  }
}

#rippleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/*** first view ***/
.contents {
  padding-top: 100vh;
}

.first_v_area {
  position: fixed;
  width: 100%;
  top: 20px;
}

.fv_container {
  width: 100%;
}

.js_mainv_image {
  position: absolute;
  z-index: 5;
}

.img_area {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_area img {
  position: relative;
  width: 94%;
  height: 88vh;
  object-fit: cover;
  z-index: 2;
}

.js_mainv_image {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.8s ease, transform 2.5s cubic-bezier(0.08, 0.68, 0.35, 1);
  -o-object-fit: cover;
  object-fit: cover;
}

.js_mainv_image.is_animate {
  opacity: 1;
  transform: scale(1);
}

.main_copy {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

body.is-loading .catchy {
  opacity: 0 !important;
  transform: translateY(12px) !important;
}

.catchy {
  color: #231815;
  font-size: 40px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 0.25em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 1s ease;
}

.catchy.is-show {
  opacity: 1;
  transform: translateY(0);
}

/**** end first view ****/
section {
  background: #ffffff;
}

.aboutus_area {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: end;
  padding: 180vh 4% 100px;
  background: url("../images/marble-white.jpg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.aboutus_text {
  flex: 1;
  max-width: 600px;
}

.index_title_h2_en {
  font-weight: 500;
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
  display: inline-block;
  border-bottom: solid 1px #aaaaaa;
  padding: 0px 1em 10px 0;
}

.index_title_h2_jp {
  font-size: 16px;
  letter-spacing: .04em;
  margin-bottom: 2em;
}

section.news_area {
  background: #f9f9f9;
}

/*** レスポンシブ対応 ***/
@media (max-width: 1200px) {
  .aboutus_area {
    padding: 240vh 4% 100px;
  }
}

@media (max-width: 960px) {
  .aboutus_area {
    padding: 280vh 4% 100px;
  }
}

@media (max-width: 770px) {
  .loading-image {
    max-width: 200px;
  }

  .main_copy {
    top: 26%;
  }

  .catchy {
    font-size: 24px;
  }

  .index_title_h2_en {
    font-size: 24px;
  }

  .index_title_h2_jp {
    font-size: 16px;
  }

  .aboutus_area {
    padding: 280vh 4% 60px;
  }
}