/*!
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'); */
@import url('https://fonts.googleapis.com/css2?family=Kosugi&family=Noto+Serif+JP:wght@700&display=swap');

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

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

body {
  font-family: "Kosugi", sans-serif,
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-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,
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif JP",serif,
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: 700;
}

.single-post .elementor .elementor-widget-theme-post-content a {
  text-decoration: underline;
  color: var(--e-global-color-accent);
}


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

/* popup */

:focus {
outline: none;
}

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



/* アコーディオン全体 */
.custom-details {
  border: 1px solid #C2B499;
  border-radius: 0;
  background-color: #ffffff;
  margin-bottom: 12px;
  box-shadow: none;
}

/* 質問エリア (Summary) */
.custom-details summary {
  padding: 16px 20px;
  font-weight: bold;
  color: #ffffff;
  background-color: #C2B499;
  cursor: pointer;
  transition: opacity 0.2s ease;
  list-style: none;
  
  /* --- 2行化対応のための修正 --- */
  display: flex;
  justify-content: space-between; /* テキストとアイコンを両端に配置 */
  align-items: center;            /* 上下中央揃え */
  gap: 16px;                      /* テキストとアイコンの間隔を確保 */
}

/* デフォルトの矢印を非表示 (Safari用) */
.custom-details summary::-webkit-details-marker {
  display: none;
}

/* ホバー時の不透明度 */
.custom-details summary:hover {
  opacity: 0.9;
}

/* 右側にプラス(+)アイコンを作成 */
.custom-details summary::after {
  content: "+";
  font-weight: normal;
  font-size: 1.2rem;
  color: #ffffff;
  flex-shrink: 0; /* 行数が変わってもアイコンが潰れないように設定 */
  line-height: 1; /* 行高による縦位置のズレを防止 */
}

/* 開いた状態のアイコンをマイナス(-)にする */
.custom-details[open] summary::after {
  content: "−";
}

/* 回答エリア (Answer) */
.custom-details .answer {
  padding: 16px 20px;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}
</style>


/*本文中のリスト　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: var(--e-global-color-text);
}

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

.pankuzu a:hover {
  color: #888 !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: var(--e-global-color-text);
  font-size: 14px;
  line-height: 1.6em;

}

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

}

/* 縦書き　
--------------------------------------------- */
.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: var(--e-global-color-text);
  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;
  }
}

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

/* 縦書き（英字用）白線ライン付き */

.vertical-text2-eng2 {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

  .vertical-text2-eng2::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: #000;
  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: #000;
  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: #000;
}

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


/*メニュー*/
.menu-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
    color: var(--e-global-color-text);
    text-align: right;
    font-size: 16px;
}
.menu-height {
    line-height: 1.4em;
    margin: 0;
    text-align: left;
}
.desc {
    font-size: 85%;
    line-height: 1.5em;
    margin: 0 0 0;
    color: var(--e-global-color-50475e4);
    clear: both;
}

@media screen and (max-width: 767px) {
    .menu-box {
        font-size: 15px;
    }
}


/*デバイス改行*/
.pc_only {
  display: block;
}
.sp_only {
  display: none;
}

@media (max-width: 767px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
  #party_faq {
  scroll-margin-top: 40px;
}
}