/*!
Theme Name: gatewing-vr18
Text Domain: gatewing-vr18
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400..900&family=Noto+Serif+JP:wght@400..900&display=swap");

html {
  height: 100%;
  overflow-y: scroll !important;
  overflow-x: hidden;
}

body {
  /*    font-family: "Noto Serif JP", serif;*/
  font-family: "NewGrecoStdN-DB", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6em;
  color: rgb(0, 0, 0);
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.6em;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "HGGyoshotai", serif;
}

.pc_only {
  display: block !important;
}
.sp_only {
  display: none !important;
}
.tb_only {
  display: none !important;
}

@media screen and (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ヘッダーの透過（フロントページのみ）
--------------------------------------------- */
body.home .header_bg {
  opacity: 0;
  transition: opacity 0.5s ease-out !important;
  will-change: opacity;
}

body.home .header_bg.scrolled {
  opacity: 1;
}

/* ローディング（フロントページのみ）
--------------------------------------------- */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  /*    background: rgb(160, 160, 160);*/
  background: rgb(0, 0, 0);
  z-index: 999;
  text-align: center;
  color: rgb(255, 255, 255);
}

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

#splash-logo img {
  width: 240px;
  height: auto;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@media (max-width: 767px) {
  #splash-logo img {
    width: 160px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.splashbg {
  display: none;
  z-index: 99998;
}

body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleY(0);
  background: rgb(0, 0, 0);
  /*    background: rgb(160, 160, 160);*/
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  50% {
    transform-origin: top;
    transform: scaleY(1);
  }

  50.001% {
    transform-origin: bottom;
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

#container {
  opacity: 0;
}

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;
  }
}

/* MVが画像の場合▼▼▼▼▼動画の場合はコメントアウトする */
body.home::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../../uploads/2025/09/slider_01.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards 2s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body.home.scroll-delay::before {
  background-image: none;
}
/* MVが画像の場合▲▲▲▲▲▲▲ */

/* MVが動画の場合▼▼▼▼▼ */
body.home #mv-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
/* MVが動画の場合▲▲▲▲▲▲▲ */

/* PCの場合 縦書き（フロントページ用）
--------------------------------------------- */

.vertical-text {
  writing-mode: vertical-rl;
  color: #fff;
  line-height: 1.8em;
  font-size: 16px;
  /* filter: drop-shadow(1px -2px 1px black) drop-shadow(1px 1px 1px black)
    drop-shadow(-2px 1px 1px black); */
}

@media (min-width: 768px) {
  .vertical-text {
    writing-mode: vertical-rl;
    color: #fff;
    line-height: 1.8em;
    font-size: 18px;
  }
}

/* パンくずリスト
--------------------------------------------- */

.topic_path {
  font-size: 14px;
  line-height: 1.2em;
}

.topic_path a,
.topic_path a:hover {
  color: #333 !important;
}

.topic_path a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .topic_path {
    font-size: 12px;
    line-height: 1.4em;
  }
}

/* Footer ナビとPageTopをフェードイン
--------------------------------------------- */
.footer_fix {
  opacity: 0;
  transition: opacity 0.5s ease !important;
}

.footer_fix.fade-in {
  opacity: 1;
}

.page_top {
  opacity: 0;
  transition: opacity 0.5s ease !important;
}

.page_top.fade-in {
  opacity: 1;
}

/* WEB FONTS
--------------------------------------------- */

.noto-sans-jp-400 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp-500 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.noto-sans-jp-600 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.noto-sans-jp-700 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.noto-sans-jp-800 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.noto-sans-jp-900 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.noto-serif-jp-400 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.noto-serif-jp-500 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.noto-serif-jp-600 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.noto-serif-jp-700 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.noto-serif-jp-800 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.noto-serif-jp-900 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* indexのボタンリンク
-----------------------------------------------*/
.button {
  width: 300px;
}

.button-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333 !important;
  transition: 0.3s;
}

.button-text {
  font-size: 18px;
}

.arrow-extend {
  padding: 20px;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.arrow-extend::before {
  content: "";
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 100px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.4s;
  z-index: -1;
}

.arrow-extend::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.button-link:hover {
  color: #fff !important;
}

.arrow-extend:hover::before {
  width: 100%;
}

.arrow-extend[data-color="white"] {
  color: #fff !important;
}
.arrow-extend[data-color="white"]::before {
  background-color: #fff;
}
.arrow-extend[data-color="white"]::after {
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}
.button-link[data-color="white"]:hover {
  color: #000 !important;
}

/* ポップアップのボタン調整
-----------------------------------------------*/
:focus {
  outline: none;
}

.dialog-close-button.dialog-lightbox-close-button {
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .button {
    width: 250px;
  }
  .button-text {
    font-size: 14px;
  }
  .arrow-extend {
    padding: 16px;
  }
  .arrow-extend::before {
    content: "";
    width: 50px;
    height: 50px;
  }

  .arrow-extend::after {
    left: 20px;
    top: 50%;
  }
}

.menu-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1em;
  color: var(--e-global-color-text);
  line-height: 1.4em;
}
.menu-height {
  line-height: 1.4em;
  margin: 0;
}
.desc {
  font-size: 85%;
  line-height: 1.5em;
  margin: -5px 0 0 0;
  color: #7d7d7d;
  clear: both;
}

/*TB表示調整*/
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .pc_only {
    display: none !important;
  }
  .sp_only {
    display: none !important;
  }
  .tb_only {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .pc_only {
    display: none !important;
  }
  .sp_only {
    display: block !important;
  }
  .tb_only {
    display: none !important;
  }

  .menu-box,
  .menu_item {
    font-size: 14px;
  }
  .desc {
    margin: 0 0 0;
  }
}

/* MVが画像の場合▼▼▼▼▼動画の場合はコメントアウトする */
/* body.home::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url("../../uploads/2025/02/test_00.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards 3s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
body.home.scroll-delay::before {
    background-image: none;
} */
/* MVが画像の場合▲▲▲▲▲▲▲ */
