/*----------------------------------------------*/
/* ------------------ 共通設定 ----------------- */
/*----------------------------------------------*/
:root {
  --font-color: #111111;
  --bg-color: #f9f9f9;
  --btn-bg-color: #075700;
  --btn-text-color: #ffffff;
  --indicator-color: #ffffff;
  --indicator-bg: transparent;
  --guide-color: #ffffff;
  --guide-bg: transparent;
}

html {
  font-size: 62.5%;
  touch-action: manipulation;
  background-color: var(--bg-color);
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "YuGothic", sans-serif;
}


body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
dl,
dt,
dd,
ol,
ul,
li,
thead,
tr,
th,
td,
button,
.h1,
.h2,
.h3,
.h4,
.h5 {
  color: var(--font-color);
  letter-spacing: 0.09rem;
  font-size: 1.5rem;
}

a {
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  opacity: 0.7;
}

body.fixed {
  overflow: hidden;
}

/*------------------------------------------*/
/* ------------- ヘッダー ------------ */
/*------------------------------------------*/

header.add-header {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 500px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 1000;
}

/* SPメニュー */

.sp-nav-wrap {
  width: 50px;
  height: 50px;
  background-color: #000;
  position: relative;
  z-index: 10;
}

.openbtn {
  position: relative;
  z-index: 10;
  cursor: pointer;
  width: 40px;
  height: 50px;
  top: -2px;
  right: -3px;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 7px;
  height: 2px;
  background: #fff;
  width: 75%;
  border-radius: 5px;
}

.openbtn span:nth-of-type(1) {
  top: 13px;
}

.openbtn span:nth-of-type(2) {
  top: 21px;
  width: 55%;
}

.openbtn span:nth-of-type(3) {
  top: 29px;
  width: 33%;
}

.openbtn.active span:nth-of-type(1) {
  top: 16px;
  left: 8px;
  transform: translateY(6px) rotate(-35deg);
  width: 75%;
  border-radius: 5px;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 28px;
  left: 8px;
  transform: translateY(-6px) rotate(35deg);
  width: 75%;
  border-radius: 5px;
}

.openbtn::after {
  content: "MENU";
  color: #fff;
  position: absolute;
  bottom: 0px;
  right: 1px;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

.openbtn.active:after {
  content: "CLOSE";
  color: #fff;
  position: absolute;
  bottom: 0px;
  right: 1px;
  font-size: 1rem;
  letter-spacing: 0.02rem;
}

.sp-menu-drawer {
  position: absolute;
  z-index: 9;
  right: 0;
  width: 100%;
  min-width: 260px;
  transition: 0.5s cubic-bezier(0.55, 0.05, 0.22, 0.99);
  visibility: hidden;
  opacity: 0;
  max-width: 100%;
  top: 0;
  overflow: auto;
  background-color: #ffffff;
  padding-top: 60px;
  
}

.sp-menu-drawer.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.sp-menu-drawer {
  max-width: 500px;
}

.sp-menu-drawer .open-menu__wrap {
  overflow-y: auto;
  padding: 0px 20px 240px;
  height: calc(100vh - 180px);
  min-height: calc(var(--vh, 1vh) * 100 - 60px);
}

.sp-nav-list.main {
  margin-top: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-nav-list.main li {
  display: block;
  border-top: 1px solid #999;
}

.sp-nav-list.main li:last-child {
  border-bottom: 1px solid #999;
}

.sp-nav-list.main li span.main-ttl {
  font-size: 1.5rem;
  line-height: 1.6;
}

.sp-nav-list.main li a {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  padding: 15px 35px 15px 0px;
  color: var(--font-color);
}

.bg-black {
  position: fixed;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  display: initial;
  background-color: #00000080;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  transition: all 0.3s;
}

.bg-black.active {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
}

@media screen and (max-width: 500px) {
  .sp-menu-drawer {
    max-width: initial;
  }
}

/*------------------------------------------*/
/* ------------- スライドスタイル ------------ */
/*------------------------------------------*/

.scroll-lp__wrap {
  position: relative;
}

.scroll-lp__wrap .img__wrap,
.scroll-lp__wrap .video__wrap {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: auto;
  height: 100vh;
  height: 100svh;
  background-color: #000;
}
.scroll-lp__wrap img {
  object-fit: contain;
  margin: auto;
  max-height: 100vh;
  max-height: 100svh;
  pointer-events: none;
  user-select: none;
  width: 100%;
  max-width: 500px;
}

.scroll-lp__wrap video {
  height: 100vh;
  height: 100svh;
  margin: auto;
  max-width: 500px;
  width: 100%;
  object-fit: contain;
}

/* iOS Safariの再生ボタン/コントロール非表示 */
.scroll-lp__wrap video::-webkit-media-controls {
  display: none !important;
}
.scroll-lp__wrap video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.scroll-lp__wrap video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* リンクがある場合のスタイル */
/* fullPage.jsのデフォルトスタイル調整 */
#fullpage {
  z-index: 1;
}

/*------------------------------------------*/
/* ------------- 追加UI要素 -------------- */
/*------------------------------------------*/

/* スライド位置インジケーター（動画エリア内に収める） */
.slide-indicator {
  position: fixed;
  top: 12px;
  left: calc(50% - 250px + 12px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--indicator-color);
  background: var(--indicator-bg);
  padding: 12px 4px;
  font-size: 1.2rem;
  line-height: 1;
  pointer-events: none;
  background-color: #FFF;
  border-radius: 45px;
}

.slide-indicator__current,
.slide-indicator__total {
  letter-spacing: 0.02rem;
}

.slide-indicator__divider {
  display: block;
  width: 12px;
  height: 1px;
  background: currentColor;
}

/* UIレイヤー（動画エリア内に収める） */
.slide-ui-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.slide-btn {
  pointer-events: auto;
  border: none;
  cursor: pointer;
  background: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-size: 1.4rem;
  letter-spacing: 0.08rem;
  padding: 10px 16px;
  border-radius: 5px;
  line-height: 1.2;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "YuGothic", sans-serif;
}

.slide-btn--small {
  position: absolute;
  right: 16px;
  bottom: 8%;
}

.slide-btn--large {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 460px;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: center;
}

/* SP対応（画面幅500px以下） */
@media screen and (max-width: 500px) {
  .slide-indicator {
    left: 12px;
  }
  .slide-btn--small{
    bottom: 7%;
  }
  .slide-btn--large{
    bottom: 16px;
  }
}
