@charset "UTF-8";

/* 標準SP表示 ~767px */

body {
  /* background-image: url(../images/body-bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom; */
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    height: 200vh !important;
}

img {
  display: block;
  width: 100%; /* 親要素の幅いっぱいに広げる場合 */
  height: auto;
}

.main {
  margin-top:/* グローバルメニューの高さ分のマージンを追加 */
}

/* コンテンツの横幅 */
/* ============================================ */
.o-wrapper {
  width: 100%;
  max-width: 1200px; /*ここでコンテンツの横幅を変更*/
  margin-left: auto;
  margin-right: auto;
}
/* コンテンツの横幅 ここまで */
/* ============================================ */



/* グローバルメニュー（スマホファースト） */
/* ============================================ */
.g-menu {
  padding: 16px;
  background-color: #fff;
  position: fixed; /* 相対位置から固定位置に変更 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* 他の要素より前面に表示 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 影を追加して浮いた感じにする */
}

.g-menu__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.g-menu__logo {
  font-size: 18px;
  font-weight: bold;
  z-index: 1001; /* ロゴをハンバーガーメニュー展開時も前面に */
}

.g-menu__logo a {
  text-decoration: none;
  color: #333;
}

/* ハンバーガーメニュー */
.g-menu__hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001; /* 常に最前面に表示 */
}

.g-menu__hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s;
}

.g-menu__hamburger span:nth-child(1) {
  top: 0;
}

.g-menu__hamburger span:nth-child(2) {
  top: 11px;
}

.g-menu__hamburger span:nth-child(3) {
  bottom: 0;
}

/* スクロール時のスタイル変化 */
.g-menu.scrolled {
  background-color: rgba(255, 255, 255, 0.95); /* 少し透明度を持たせる */
  transition: background-color 0.3s ease;
}

/* ハンバーガーメニューがアクティブ時の状態 */
.g-menu__hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}

.g-menu__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.g-menu__hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(45deg);
}

/* ハンバーガーオープン時にスクロール禁止 */
body.no-scroll {
  overflow: hidden;
}

/* ナビゲーション（スマホ・タブレット） */
.g-menu__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  padding-top: 80px; /* ロゴとハンバーガーの下から表示 */
  z-index: 1000;
  transform: translateX(100%); /* 初期状態は画面外に */
  transition: transform 0.3s;
  overflow-y: auto;
}

.g-menu__nav.active {
  transform: translateX(0); /* メニュー表示時は画面内に */
}

.g-menu__list {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.g-menu__item {
  margin-bottom: 20px;
  text-align: center;
}

.g-menu__item a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: block;
  padding: 10px;
}
/* グローバルメニュー（スマホファースト）ここまで */
/* ============================================ */



/* QA */
/* ============================================ */
.faq {
  /* background-image: url(../images/qa__bg.jpg);
  background-size: cover; */
  padding-bottom: 40px;
  max-width: 800px;
  margin: auto;
}
.faq__title {
  padding-bottom: 20px;
}
.faq__toggle-contents {
  margin-bottom: 3px;
  padding: 0 10px;
}
.faq__toggle-title {
  position: relative;
  cursor: pointer;
  padding: 16px;
  margin-bottom: 10px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 18px;
}
.faq__toggle-btn {
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
  display: block;
  width: 24px;
  height: 24px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 50%;
}
.faq__toggle-btn:before,
.faq__toggle-btn:after {
  display: block;
  content: "";
  background-color: #fff;
  position: absolute;
  width: 10px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq__toggle-btn:before {
  width: 2px;
  height: 10px;
}
.faq__toggle-title.selected .faq__toggle-btn:before {
  content: normal;
}
.faq__toggle-contents dd {
  display: none;
  background: #fff;
  font-size: 14px;
  padding: 10px;
  line-height: 1.8;
  margin-bottom: 20px;
}

@media screen and (min-width: 750px) {
  .faq {
    padding-bottom: 100px;
  }
  .faq__toggle-contents {
    padding: 0 80px;
  }
  .faq__toggle-btn:before {
    height: 15px;
  }
  .faq__toggle-btn:after {
    width: 15px;
  }
  .faq__toggle-contents dd {
    font-size: 16px;
    padding: 20px;
  }
}
/* QA ここまで */
/* ============================================ */

/* video */
/* ============================================ */
.video {
  position: relative;
}
.video__item img {
  width: 86%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}
/* video ここまで */
/* ============================================ */

/* CTAボタン */
/* ============================================ */

/* CTAボタン ここまで */
/* ============================================ */

/* footer */
/* ============================================ */
footer {
  display: block;
  padding-top: 10px;
  border-top: 3px solid #ddd;
  background: #fff;
}
ul {
  list-style: none;
}
.footer_nav {
  text-align: center;
  padding: 16px;
}
.footer_nav li{
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer_nav li a {
  text-decoration: none;
  padding: 0 10px 0 0;
  color: #000;
}
.footer_nav li:last-child {
  border: none;
}

footer .copyright {
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  padding-bottom: 10px;
}
/* footer ここまで */
/* ============================================ */


/* タブレット */
/* ============================================ */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  
}
/* タブレット ここまで */
/* ============================================ */

/* PC */
/* ============================================ */
@media screen and (min-width: 1024px){
  
  /* ハンバーガーメニューを非表示 */
  .g-menu__hamburger {
    display: none;
  }
  
  .g-menu__nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding-top: 0;
    transform: translateX(0);
    overflow-y: visible;
  }
  
  .g-menu__list {
    flex-direction: row;
    padding: 0;
  }
  
  .g-menu__item {
    margin-bottom: 0;
    margin-left: 30px;
    text-align: left;
  }
  
  .g-menu__item:first-child {
    margin-left: 0;
  }

  /* フッターナビゲーション */
  .footer_nav {
    display: flex;
    justify-content: center; /* 中央寄せ */
    text-align: left;
    padding: 16px;
  }
  
  .footer_nav li {
    margin-bottom: 0;
    margin-right: 20px; /* 項目間の間隔 */
  }
  
  .footer_nav li:last-child {
    margin-right: 0;
  }

}
/* PC ここまで */
/* ============================================ */