/*!
Theme Name: gwvr22
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* COMMON STYLES
--------------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }
}

body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6em;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

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

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

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

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

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




/* ヘッダーの背景設定
--------------------------------------------- */

/* --ヘッダー背景基本 */
body .header_bg.header_bg.header_bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  isolation: isolate !important;
  background-color: transparent !important;
  transition: border-bottom-color 0.5s ease;
}

/* --フロントページのborder */
body.home .header_bg.header_bg.header_bg {
  border-bottom-color: transparent;
}

/* --スクロール後フロントページのborderを元に戻す */
body.home .header_bg.header_bg.header_bg.is-scrolled {
  border-bottom-color: rgba(161, 161, 161, 1);
}

/* -- 背景画像設定  */
body .header_bg.header_bg.header_bg::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  z-index: -1 !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://preview.sugai-design.com/gw_custom_vr22/wp-content/uploads/2025/10/bg.jpg') repeat center center !important;
/*  background-size: cover !important;*/
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* --フロントページのみ初期状態は背景を透明 */
body.home .header_bg.header_bg.header_bg:not(.is-scrolled)::before {
  opacity: 0;
}


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



/*本文中のリスト　ul li*/
.txt_normal ul {
  padding: 0;
  margin-top: 1em;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 1em;
}

.txt_normal ul li {
  padding: 0;
  margin: 0;
}

.txt_normal ul li {
  list-style-type: disc;
  padding-left: 0px;
  margin-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/*topicpath*/
.pankuzu {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2em;
  color: #888888;
}

.pankuzu a:link,
.pankuzu a:visited {
  color: #333333 !important;
}

.pankuzu a:hover {
  color: #888888 !important;
}


/*topicpath*/

.side_nav ul {
  padding: 0;
  margin: 0;
}

.side_nav ul li {
  list-style: none;
  padding: 0;
  margin: 0;

}

.side_nav ul li a {
  border-bottom: 1px solid #ddd;
  font-family: "Noto Serif JP", serif;
  padding: 0.8em 0;
  display: block;
  color: #000000;
  font-size: 14px;
  line-height: 1.6em;

}

.side_nav ul li a:hover {
  color: #444;

}

/* 縦書き
--------------------------------------------- */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* 縦書き（英字用）ライン付き */
.vertical-text-eng {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vertical-text-eng::after {
  content: "";
  width: 1px;
  height: 30px;
  background-color: #333;
  margin-top: 0.5em;
  align-self: center;
  margin-right: 3px;
}

/* 1024px以下で縦書きを解除 */
@media (max-width: 1024px) {
  .vertical-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .vertical-text-eng {
    writing-mode: horizontal-tb;
    flex-direction: row;
    align-items: baseline;
  }

  .vertical-text-eng::after {
    width: 30px;
    height: 1px;
    margin-top: 0;
    margin-left: 0.5em;
    margin-right: 0;
  }
}

/* トップページのMVの対策（主にsafari）
--------------------------------------------- */
.full-height {
  height: calc(100vh - 110px) !important;
  height: calc(100dvh - 110px) !important;
  height: -webkit-fill-available;
}

@media (max-width: 1024px) {
  .full-height {
    height: calc(100vh - 80px) !important;
    height: calc(100dvh - 80px) !important;
  }
}

@media (max-width: 768px) {
  .full-height {
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
  }
}

/* スクロールダウンアニメーション
--------------------------------------------- */
.scrolldown {
  position: absolute;
  bottom: 10px;
  left: 50%;
}

.scrolldown span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #000000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.scrolldown:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000000;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 45px;
  }

  100% {
    bottom: -5px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

.scrolldown:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 50px;
  background: #000000;
}

/* ALIGN STYLES
--------------------------------------------- */
.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;
}