@charset "utf-8";

:root {
  --font-jp: "Noto Serif JP", "Yu Mincho", serif;
  --font-en: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body,
input,
textarea,
button {
  font-family: var(--font-jp);
}

.FuB,
.Fu,
li.slider_link p,
.fc_f_menu ul li a,
.fc_f_menu ul li span,
.view_all_wrapper p,
.fpfs_c_title p,
.fpch_year,
.fpch_month,
.news_date time,
.ftw_title h2,
.ftw_title p,
.modal__content ul li a,
.modal__content ul li span,
.c_s_b_wrapper .c_s_b_btn p,
.copyright p,
.logo-word,
.logza-open p,
.logza-mark p {
  font-family: var(--font-en);
}

.fv1c_h h2,
.fv3c_text p,
.fv3c_text h3,
.fpfs_title h2,
.fpfs_c_title h3,
.fpfs_c_text p,
.news_text p,
.fpch_text ul li,
.concept-mark,
.contact-contents table th {
  font-family: var(--font-jp);
}

/* リンクなしメニュー */
.slider_links li.slider_link a,
.fc_f_menu ul li a,
.modal__content ul li a,
.view_all_wrapper {
  cursor: default;
  pointer-events: none;
}

.slider_links li.slider_link a:hover {
  opacity: 1;
}

.menu-trigger,
.modal__bg,
.c_s_b_wrapper,
.contact-contents input,
.contact-contents textarea {
  pointer-events: all;
  cursor: pointer;
}

.contact-contents input,
.contact-contents textarea {
  cursor: text;
  font-family: var(--font-jp);
}

/* オープニングロゴ */
.logza-open p {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #111;
  white-space: nowrap;
  animation: fade-in-item 1.5s ease-in-out 0s forwards;
  opacity: 0;
}

@keyframes fade-in-item {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* 透かしロゴ */
.logza-mark p {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e0e0e0;
  opacity: 0.45;
  white-space: nowrap;
  line-height: 1;
}

.fp_logo_fix_wrapper.fp_logo_fix_wrapper_gray.bg_bk_logo .logza-mark p {
  color: #cccccc;
  opacity: 0.55;
}

.fp_logo_fix_wrapper.fp_logo_fix_wrapper_gray.bg_gra_logo,
.fp_logo_fix_wrapper.fp_logo_fix_wrapper_gray.is-fv1 {
  opacity: 0;
}

/* ファーストビュー：文字マスク */
.fv1-logo {
  position: absolute;
  top: 10vh;
  right: 3.6vw;
  width: min(74vw, 980px);
  aspect-ratio: 1000 / 250;
  z-index: 1;
  pointer-events: none;
}

.fv1-logo__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: url("../images/common/logza-mask.svg?v=2");
  mask-image: url("../images/common/logza-mask.svg?v=2");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.fv1-logo__video,
#FpVideo2,
#FpVideo2Sp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ヒーローワードマーク */
.fv1c_title {
  max-width: min(52vw, 900px);
  top: clamp(230px, 30vh, 400px);
  right: 48px;
}

.logo-word,
img.logo-word {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0;
  position: relative;
  transform: translate(-80px, 80px);
  opacity: 0;
  animation: fv1cTitle 0.3s ease-in-out 3.7s forwards;
}

.concept-mark {
  margin: 0;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-align: right;
}

/* ヒーロー動画 */
.bg_video {
  background: #111 url("../images/top/bg.jpg") center / cover no-repeat;
}

.bg_video video {
  position: relative;
  z-index: 1;
  opacity: 0.85;
}

.hero-video-sp {
  display: none;
}

.bg_fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bg_video.has-video .bg_fallback {
  display: none;
}

@media screen and (max-width: 768px) {
  .hero-video-pc {
    display: none;
  }

  .hero-video-sp {
    display: block;
  }
}

/* 小さなロゴアイコン */
.ftw_home a img,
.modal_home img {
  width: 12px;
  height: auto;
  object-fit: contain;
}

.slider_links li.slider_link a img {
  width: auto;
  height: 19px;
  filter: none;
}

/* 白背景ではメニューをグレーに戻す */
.fp_menu:not(.fp_menu_no) .slider_links li.slider_link a {
  color: #aaaaaa;
}

.fp_menu:not(.fp_menu_no) .slider_links li.slider_link a.active,
.fp_menu:not(.fp_menu_no) .slider_links li.slider_link a:hover {
  color: #666666;
}

/* ニュースカードをリンクなしに */
.fp_fn_content .news-card {
  color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
}

.fp_fn_content .news-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.6;
  transition: 0.3s;
  pointer-events: none;
  z-index: 0;
}

/* VIEW ALL 見た目のみ */
.view_all_wrapper {
  cursor: default;
}

.view_all_wrapper:hover {
  opacity: 1;
}

/* フッターメニュー（リンクなし） */
.fc_f_menu ul li span,
.fc_f_menu ul li a {
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.08em;
  color: #fff;
  position: relative;
  display: inline-block;
}

.modal__content ul li span {
  font-weight: 700;
  font-size: 27px;
  line-height: 32px;
  letter-spacing: 0.08em;
  color: #000;
  transform: rotate(-10deg);
  display: block;
  transform-origin: left bottom;
}

.modal__content ul li.modal_home span,
.modal__content ul li.modal_home a {
  display: block;
}

/* サービス画像 */
.fpfs_c_img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fpfne_c_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フォーム注意 */
.form-note {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* CONTACT: フッターを画面下に固定 */
#FpContact .s_contents.fc_contents {
  align-items: stretch;
  justify-content: flex-end;
}

#FpContact .s_contents.fc_contents .inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 1120px;
  max-width: 90%;
  margin: 0 auto;
}

#FpContact .fp_page_content.fc_contents {
  width: 567px;
  flex-shrink: 0;
  padding-top: 0;
}

#FpContact .contact-submit-btn {
  margin: 40px 0 0 192px;
}

@media screen and (max-width: 1440px) {
  #FpContact .contact-submit-btn {
    margin-left: 13.333vw;
  }

  #FpContact .fp_page_content.fc_contents {
    width: 39.375vw;
  }
}

#FpContact footer#footer {
  width: 100%;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .logza-open p,
  .logza-mark p {
    font-size: 36px;
  }

  /* マスク文字を画面中央へ */
  #Fv1 .fv1-logo {
    top: 42%;
    left: 50%;
    right: auto;
    width: 94vw;
    transform: translate(-50%, -50%);
  }

  /* 黒ロゴをマスク文字の中央に重ねる */
  #Fv1 .fv1c_title {
    position: absolute;
    top: 42%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 72vw;
    max-width: 72vw;
    margin: 0;
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: 2;
  }

  #Fv1 .logo-word,
  #Fv1 img.logo-word {
    max-width: 100%;
    width: 100%;
  }

  /* キャッチは左下 */
  #Fv1 .s_contents.fv1_contents {
    align-items: flex-start;
    justify-content: flex-end;
  }

  #Fv1 .s_contents.fv1_contents .inner {
    margin-top: 0;
    margin-bottom: 10vh;
    width: 90%;
    max-width: 90%;
  }

  #Fv1 .fv1c_h h2 {
    font-size: 7.5vw;
    line-height: 1.45;
  }

  .concept-mark {
    font-size: 18px;
    text-align: left;
  }

  .fv3c_title {
    width: 100%;
    margin-bottom: 40px;
  }

  #FpContact .s_contents.fc_contents .inner {
    margin-top: 0;
    width: 100%;
    max-width: 90%;
  }

  #FpContact .fp_page_content.fc_contents {
    width: 100%;
  }

  #FpContact .contact-submit-btn {
    margin-left: 23.5vw;
  }
}
