.hamburger-fade__wrapper{
    background-color: var(--orange) !important;
    box-shadow: 0 0 10px 2px var(--bgwhite) !important;
}


/* 全体 */
.fv {
  position: relative;
  height: 100svh; /* スマホ全画面 */
  overflow: hidden;
  text-align: center;
  font-family: "Shippori Mincho", serif;
}

/* メイン部分 */
.fv-main {
  margin-top: 20svh;
}


.fv-title img {
  width: 69%;
}


.garapon-all-wrapper {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;    /* 左右中央揃え */
  justify-content: center;/* 上下中央揃え（必要なら） */
  text-align: center;     /* テキストも中央寄せ */
}

.garapon-wrapper {
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: center; /* 横方向も中央に */
  gap: 1rem; /* pとimgの間に少し余白を */
  margin-top: 30px;
  margin-bottom: 5px;
  margin-left: 30px;

}


.fv-to-detail {
  margin: 0;                  /* <p>のデフォルト余白を消す */
}

.fv-arrow {
  width: 1em;                 /* アイコンのサイズ調整（文字とバランス） */
  height: auto;
}


.img_garapon{
  width: 30%;
}

.fv-to-detail{
  color: var(--themered);
}





.fv-sub {
  color: var(--themered);
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;    /* 中央寄せ */
  text-align: center;
  font-weight: 700;
}

.fv-line {
  display: block;
}

.line1 {
  line-height: 1.2; /* 上の行 */
  margin-bottom: 0.2em; /* 下の余白（調整） */
  color: var(--orange);
}

.line2 {
  line-height: 1.0; /* 真ん中の「ガラポン」 */
  margin-bottom: 0.1em; /* 下の余白（詰め気味） */
}

.line3 {
  line-height: 1.0; /* 「＋1回！」の行 */
}


.garapon-line {
  display: block;
  line-height: 1.0; /* ← 2行目（ガラポン）の下の間を狭く */
}

.plus-line {
  display: block;
  margin-top: -0.2em; /* ← 3行目をさらに近づけたいとき */
}

.sub_large3{
  font-size: 34px;
}

.sub_kai{
  font-size: 20px;
}

.sub_tohyo{
  font-size: 25px;
}

.sub_garapon{
  font-size: 30px;
}

.sub_plus{
  font-size: 28px;
}

.sub_1{
  font-size: 35px;
}

.sub_ex{
  font-size: 35px;
  font-weight: 600;
}



.fv-btn {
  display: inline-block;
  margin-top: 5%;
  border: 1.5px solid var(--themered);
  color: var(--themered);
  text-decoration: none;
  padding: 8px 18px;
  align-items: center;        /* 上下中央揃え */

}


.fv-btn p{
  display: inline;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}


/* スクロール案内 */
.fv-scroll {
  display: none;
  position: absolute;
  bottom: 17%;
  right: 0px;
  transform: rotate(90deg);
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 1px;
  z-index: 200;
}

.fv-scroll::before {
  content: "";
  position: absolute;
  top: -3px;   /* 上に8px広げる */
  left: -10px; /* 左に16px広げる */
  right: -30px;/* 右に16px広げる */
  bottom: -8px;/* 下に8px広げる */
  background-color:var(--bgwhite);
  opacity: 1;
  z-index: -1;
}


.fv-scroll-arrow {
  display: none;
  position: absolute;
  right: 26px; /*fv-scrollと30px差*/
  bottom: calc(17% - 48px); /*fv-scrollと10px差*/
  width: 20px;
  height: auto;
  z-index: 299;
}


section.fv {
  position: relative; /* 子の絶対配置の基準にする */
}

.img_mih-wrapper {
  position: absolute;
  left: 1%;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  height: 90%;
}

.img_mih {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* 画面全体に広がる二重線 */
.img_doubleline {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100vw;   /* 画面の横幅いっぱい */
  height: auto;
  z-index: 5;
}

.link-circle-wrapper {
  position: fixed;
  top: calc(83%);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

.link-circle-button {
  display: block;
  width: 30vw;
  height: 30vw;
  position: relative;
}

.link-circle-button img {
  width: 100%;
  height: 100%;
  display: block;
}

@media screen and (min-width: 1024px) {
/* hoverでキラッと光るエフェクト */
.link-circle-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 1;
}

.link-circle-button:hover::before {
  animation: shine 0.8s ease;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* hover時の軽い浮き上がり効果 */
.link-circle-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

}

.footer_wrapper{
  padding-bottom: 190px;
}

/* ファーストビュー背景 和柄イメージ */
.background-wagara {
  position: absolute;
  top: 0;
  left: -8vw;
  width: 108vw;
  height: calc(90% + 4vw);
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.background-wagara-pc{
  display: none;
}

.background-gradation-pc{
  display: none;
}

.img_doubleline-pc{
  display: none;
}



.img_wrapper {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding-top: 10px;
  z-index: 3;
}


.img_wrapper img{
  width: 80px;
  object-fit: contain;
}


img.goldsgym {
    margin-top: 15px;
}

.prize_wrapper {
  display: grid;
  row-gap: 20px;
  padding: 0 10%;
}

.h3_no_padding{
  margin-left: 0px!important;
}

.prize{
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr 80px;
}

.prize {
    background: #FAEEA3;
    border-radius: 10px;
    padding: 8px 13px 13px 13px;
    column-gap: 8px;
}

.mark {
  color: var(--themered);
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.2;
}

.company{
  padding-top: 3px;
}

img.maxell {
  margin-top: 15px;
}

.btn a{
  padding: 0.6em 0;
  min-width: 240px;
}

.garapon-intro-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
      margin-top: 30px;
}
.corner-cross {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: var(--themered);
  text-align: center;
}

/* 左上のクロス */
.corner-cross::before,
.corner-cross::after {
  content: "";
  position: absolute;
  background-color: var(--themered);
}

/* 左上の縦線 */
.corner-cross::before {
  top: 0;
  left: 0;
  width: 1.5px;   /* 線の太さ */
  height: 30px;
  transform: translate(-2px, -12px);
}

/* 左上の横線 */
.corner-cross::after {
  top: 0;
  left: 0;
  width: 60px;  /* 横線の長さ */
  height: 1.5px;
  transform: translate(-12px, -2px);
}

/* 右下のクロス（追加の擬似要素を重ねる） */
.corner-cross span::before,
.corner-cross span::after {
  content: "";
  position: absolute;
  background-color: var(--themered);
}

/* 右下の縦線 */
.corner-cross span::before {
  bottom: 0;
  right: 0;
  width: 1.5px;
  height: 30px;
  transform: translate(2px, 12px);
}

/* 右下の横線 */
.corner-cross span::after {
  bottom: 0;
  right: 0;
  width: 60px;
  height: 1.5px;
  transform: translate(12px, 2px);
}



#type01 p {
  animation: text-blink 1.5s ease-in-out infinite;
}


.scroll_down p {
    position: relative;
    padding-bottom: calc(6svh + 10px);
    color: var(--orange);
    font-size: 1.1em;
    line-height: 1;
    writing-mode: vertical-lr;
    transition: color .5s;
    margin: auto;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    padding: 5px;
    padding-bottom: 45px;
}


#type01 p:after {
    animation: sdl-flow 1.5s 
ease-in-out infinite;
}


/* 背景の四角は ::before に分離 */
.scroll_down p::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bgwhite);
    z-index: -1;

    
  /* 🔽 白い四角自体をぼかす */
  filter: blur(4px);
  opacity: 0.8;
    border-radius: 6px; /* お好みで角丸 */

}

.scroll_down p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 6px;
    width: 1px;
    height: 6svh;
    background: var(--orange);
    /* margin-bottom: 10px; */
}

.scroll_down {
    position: absolute;
    right: 20px;
    bottom: 3%;
    z-index: 50;
    width: 25px;
    padding: 0 10px;
}

#type01 p:after {
    animation: sdl-flow 1.5s 
ease-in-out infinite;
}

#pagetop{
  display: none !important;
}

#garapon{
    border-bottom: solid 2.5px var(--themered);
    color: var(--themered);
}

#garapon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 80%;
    height: 1.2px;
    background: linear-gradient(90deg, var(--themered), var(--bgwhite));
    z-index: -1;
}

#garapon::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 18px;
    background-image: url(../img/kn_red.svg);
    color: var(--themered);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6px;
    top: 52%;
    transform: translateY(-50%);
}

.fv-btn .cls-1 {
  fill: var(--themered); /* 通常時 */
  transition: fill 0.3s ease;
}

.fv-btn{
  transition: 0.3s ease;
}

.fv-btn p{
  transition: 0.3s ease;
}


span.kome{
  padding-top: 1em;
  font-size: 0.8em;
}

img{
      pointer-events: none;
  user-select: none;
    -webkit-user-drag: none;    /* Safari対応 */

}


#header_bot{
  display: none;
}

@media screen and (min-width: 1024px) {
    .fv {
        padding-top: max(110px, 18vh);
    }

      /* 画面が縦長すぎるとき（下が切れやすいとき） */
  @media (max-aspect-ratio: 4/5) {
    .background-wagara-pc {
      object-fit: contain;
      height: auto;        /* ← contain のときは高さを自動に戻す */
      width: 100vw;
      top: 0;
    }
  }



main{
  margin-top: 0px!important;
}

  .background-wagara{
  display: none;
}

.img_doubleline-pc{
  display: none;
  top: 90%;
}

.img_doubleline-sp{
  display: none;
}



.fv-main {
  margin-top: 4%; /* PC時は上の余白を少し減らすなど調整 */
  display: flex;
  align-items: center;     /* 上下中央揃え */
  justify-content: center; /* 全体を中央に寄せる */
}

    h1 {
        font-size: 33px;
        margin-left: 100px;
    }
    
    .garapon-all-wrapper{
        margin-right: 200px;
    }

.fv-title img {
        width: min(42vw, calc(45vw - 100px));
}

.img_mih-wrapper{
  display: none;
}


.line1 {
  line-height: 1.2; /* 上の行 */
  margin-bottom: 0.5em; /* 下の余白（調整） */
  color: var(--orange);
}

.line2 {
  line-height: 1.0; /* 真ん中の「ガラポン」 */
  margin-bottom: 0.5em; /* 下の余白（詰め気味） */
}

.line3 {
  line-height: 1.0; /* 「＋1回！」の行 */
}


.garapon-line {
  display: block;
  line-height: 1.0; /* ← 2行目（ガラポン）の下の間を狭く */
}

.plus-line {
  display: block;
  margin-top: -0.2em; /* ← 3行目をさらに近づけたいとき */
}

.sub_large3{
  font-size: 64px;
}

.sub_kai{
  font-size: 38px;
}

.sub_tohyo{
  font-size: 48px;
}

.sub_garapon{
  font-size: 57px;
}

.sub_plus{
  font-size: 56px;
}

.sub_1{
  font-size: 66px;
  padding-right: 5px;
}

.sub_ex{
  font-size: 66px;
}

.img_garapon{
  width: 40%;
}

.scroll_down{
  display: none;
}

.fv-scroll{
  display: none;
}

.fv-scroll-arrow{
  display: none;
}

    .link-circle-wrapper {
        top: calc(50% + 30px);
        gap: 50px;
        flex-direction: column;
        transform: translateY(-50%);
        left: max(85vw,calc(100vw - 240px));
    }


.link-circle-button {
  display: block;
  width: 13vw;
  height: 13vw;
  border-radius: 50%;   /* 丸くする！ */
  overflow: hidden;
}




.background-wagara-pc{
  display: block;
}

.background-gradation-pc{
  display: block;
}

/* ファーストビュー背景 和柄イメージ */
.background-wagara-pc {
  position: absolute;
  top: -10px;
  /* left: 0vw; */
  width: 100vw;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.background-gradation-pc {
  position: absolute;  /* ← static以外ならOK */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}


.fv-btn:hover {
  border: 1.5px solid var(--themered);
  background-color: var(--themered);
}


.fv-btn:hover p{
  color: var(--bgwhite);
}

.fv-btn:hover .cls-1{
        fill:var(--bgwhite);
}
.fv-btn p {
    font-size: 20px;
}


.prize_wrapper {
  display: grid;
  column-gap: 20px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.prize_wrapper {
  row-gap: 40px;
  padding: 0 15%;
  padding-left: 10%;
  padding-right: 20%;
}





.mark {
  margin-bottom: 8px;
  font-size: 18px;
}



.h3_no_padding{
  margin-top: 5px;
}


.prize {
  padding: 5px 20px 10px 20px;
}

.img_wrapper{
  padding-top: 25px;
}
.img_wrapper img{
  width: 100px;
  transition: transform 0.2s ease;
}

.img_wrapper a:hover img {
  transform: scale(1.05);
}

.prize {
  grid-template-columns: 1fr 120px;
}

.btn a{
    min-width: 300px;
}
  
br.for_sp{
  display: none;
}


.garapon-intro-wrapper{
 margin-right: 10%;
}

    .padding_true {
        padding-left: 10%;
        padding-right: 20%;
    }

    h2{
      margin-left: 10%;
    }

    .h3_wrapper{
      margin-left: 10%;
    }
.padding-left-15 {
        padding-left: calc(10% + 20px);
    }

    .btn{
      padding-left: 10%;
      padding-right: 20%;
    }

    










}


@keyframes text-blink {
  0%, 100% {
    color: #f7b183;
  }
  50% {
    color: var(--orange);
  }
}


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

45% {
    transform: scaleY(1);
    transform-origin: top;
}
55% {
    transform: scaleY(1);
    transform-origin: bottom;
}
100% {
    transform: scaleY(0);
    transform-origin: bottom;
}
}

@media screen and (min-width: 1024px) {
span.for-sp{
  display: none;
}
}

@media screen and (max-width: 1023px) {
span.for-pc{
  display: none;
}
}