@charset "UTF8";

/* =========================
common
========================= */
:root {
    --primary-black: #262626;
    --primary-blue: #7F97AC;
    --primary-beige: #CCB798;
    --primary-orange: #E9A85B;
    /* widthが343/375　常にキープ */
    /* --content-width: 91.4%;
    --content-padding: 4.2%; */
}

html {
    font-size: 62.5%;
}

html, body {
    overflow-x: hidden;
}

/* デフォルト（最小画面幅のスマホ向け）の body 背景 */
body {
    font-family:
         "Zen Kaku Gothic New",
         "shippori-mincho",
        sans-serif;
    font-style: normal;
    color: var(--primary-black, #262626);
    line-height: 27px;
    margin: 0;
    /* ↓↓ スマホ向けの背景スタイル ↓↓ */
    background-image: url(../images/background.webp); /* ご自身の画像パスに合わせてください */
    background-repeat: repeat;
    background-size: 600px 600px;  /* 600px幅で繰り返し */
    background-attachment: scroll;
    min-height: 100vh;
    background-position: left top; 
}

/* 少し大きめのスマホやタブレット縦持ち向け */
@media screen and (min-width: 601px) {
    body {
        background-size: 700px 700px;
    }
}

/* さらに大きいタブレットやPC向け（PCは別スタイルで上書きされるが、中間サイズ対策として）*/
/* PC版のスタイルが始まる769pxより手前までをカバー */
@media screen and (min-width: 701px) and (max-width: 768px) {
  /* この指定は実質768pxのみだが、もう少し幅を持たせても良い */
  /* 例えば (min-width: 700px) and (max-width: 768px) など */
    body {
        background-size: 768px 768px;
    }
}

/* PC表示用のスタイル (例: 画面幅が769px以上の場合) */
@media screen and (min-width: 769px) {
    body {
        background-image: url(../images/background.webp); 
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100vw 100vh;
        background-attachment: fixed;
        /* min-height: 100vh; はPCでfixedの場合、必須ではないことが多いです */
    }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/background.webp) no-repeat center center;
    background-size: 100% 100vh;  /* ← GIF画像のサイズ調整 */
    z-index: 9999;
    opacity: 1;
    transition: opacity 2s ease;
    pointer-events: none; /* 誤クリック防止 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading.hide {
    opacity: 1;
}

.loading_logo {
    width: 185px;
    height: 62px;
    position: absolute;
    top: 30%;
}

.loading_gif {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 35%;
}

img {
    max-width: 100%;
    height: auto;
}

/* topics */
.topics {
    font-family: 
         "shippori-mincho",
        sans-serif;
    width: 350px;
    font-size: 3.2rem;
    position: relative;
}

.topics::after {
    content: '';
    width: 110px;
    height: 0.8px;
    display: inline-block;
    background-color: var(--primary-black,#262626);
    position: absolute;
    right: 36%;
    
    /* ↓↓↓ アニメーションのために追加 ↓↓↓ */
    transform-origin: left center; /* 変化の基点を左端中央に設定 */
    transform: translateY(17px) scaleX(0); /* アニメーション開始前の初期状態 */
    animation: reveal-underline-mobile 0.8s ease-out forwards;
    animation-delay: 0.5s; /* テキストアニメーションより少し遅れて開始 */
}

/* ===================================
   .topics 共通アニメーション 
   =================================== */

/* 下からテキストがせり上がるアニメーション */
@keyframes showTextFromBottom {
    0% {
        transform: translateY(120%);
    }
    100% {
        transform: translateY(0);
    }
}

/* 外側のspan: 文字を隠すマスクの役割 */
.topics > span {
    display: inline-block;
    overflow: hidden;
    /* ↓↓↓ 文字切れ防止のため、下に少し余白を追加 ↓↓↓ */
    padding-bottom: 6px;
}

/* 内側のspan: 実際に動く文字 */
.topics > span > span {
    display: inline-block;
    /* アニメーションを適用。1秒かけて動く設定。*/
    animation: showTextFromBottom 1s backwards; 
}

/* ===================================
   .topics::after のアニメーション定義
   =================================== */

/* スマホ用：下線の表示アニメーション */
@keyframes reveal-underline-mobile {
  from {
    /* 開始時：Y軸の位置を保ちつつ、横幅を0にする */
    transform: translateY(17px) scaleX(0);
  }
  to {
    /* 終了時：Y軸の位置を保ちつつ、横幅を100%にする */
    transform: translateY(17px) scaleX(1);
  }
}

/* PC用：下線の表示アニメーション */
@keyframes reveal-underline-pc {
  from {
    /* 開始時：Y軸の位置を保ちつつ、横幅を0にする */
    transform: translateY(26px) scaleX(0);
  }
  to {
    /* 終了時：Y軸の位置を保ちつつ、横幅を100%にする */
    transform: translateY(26px) scaleX(1);
  }
}

.btn {
    display: inline-flex; /* アイコンとテキストを横並び・中央揃えにするため */
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid #575757; 
    background-color: transparent;
    width: auto; /* 内容に合わせて幅を自動調整 */
    /* height: 48px; */ /* padding で高さが決まるので、必須でなければ削除検討 */
    padding: 10px 64px 10px 54px;
    text-align: center; /* 基本的に justify-content:center で中央揃えされる */
    font-size: 1.6rem;
    color: var(--primary-black, #262626); 
    text-decoration: none; /* aタグなので下線を消す */
    transition: color 0.3s ease, border-color 0.3s ease; /* 色とボーダー色の変化を滑らかに */
    cursor: pointer; /* クリック可能であることを示す */
}

/* アイコンとテキストの間の余白など */
.btn--icon-link .btn__icon-wrapper {
    margin-right: 6px; 
    display: inline-flex; /* SVGが正しく配置されるように */
    align-items: center;
    transform: translateY(0);  
}

.btn--icon-link .footer-svg-icon { 
    width: 22px;  
    height: auto; 
    /* vertical-align: middle; display:inline-flex の親の中では不要なことが多い */
}

.btn--icon-link .btn__text {
    transform: translateY(-3px);
    letter-spacing: 0.1em;
}

/* view moreボタン */
.btnMore {
    color: #262626;
    font-size: 1.6rem;
    line-height: 12px; /* 66.667% */
    width: 300px;
    height: 50px;
    margin: 20px auto;
    position: relative;
}
  
  .btnMore:before,
  .btnMore:after {
    position: absolute;
    top: 118%;
    right: -16px;
    height: 1px;
    background: #262626;
    content: '';
}
  
  .btnMore:before {
    width: 95px;
    transform: translateY(-50%);
}
  
  .btnMore:after {
    width: 10px;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: right center;
}


/* =========================
common PC
========================= */
@media screen and (min-width: 769px){
    .topics {
        font-size: 4.2rem;
        line-height: normal;
    }

    .topics::after {
        width: 150px;
        right: 12%;

        /* ↓↓↓ アニメーションのために追加 ↓↓↓ */
        transform: translateY(26px) scaleX(0); /* PC用の初期状態 */
        animation-name: reveal-underline-pc; /* PC用のアニメーションを適用 */
        /* animation-durationやdelayはスマホ用の設定が引き継がれます */
    }

    main {
        padding-top: 162px; /* PC通常時のヘッダー高さ */
    }

    body.page-top main { /* ← body.page-top の指定もPC内に */
       padding-top: 0;
    }

    body.scrolled main:not(body.page-top main) { /* ← page-top以外のスクロール後 */
        padding-top: 80px; /* PCスクロール後のヘッダー高さ */
    }
    /* ↑↑↑ PC専用にする ↑↑↑ */

    .btnMore {
        margin: 50px auto;
    }

    .btn:hover {
    border-color: #D1BF9D; /* border を直接指定するより border-color の方が良い */
    color: #D1BF9D;
    }


} /* PC 769px


/* =========================
header
========================= */
.menuTxtBox {
    display: flex;
    gap: 10px; /* アイコンとテキストの間の余白 */
    justify-content: center;
    align-items: center;
}

.menuTxtBox.menuTxtBox--shop { 
    gap: 9px; 
}

.nav__list li:nth-child(n+3) {
    padding-left: 7px; /* 右にずらす量を調整 */
}

/* sp画面topLogo */
.nav__logoTopSpBox {
    margin: 0 auto;
}

.nav__logoTopSp {
    display: block;
    width: 217px;
    height: 74px;
}

.header {
    display: flex;
    width: 100%;
    /* height: 114px; */
    padding: 10px 7.6% 20px 7.6%;
    text-align: center;
    position: fixed; 
    background-color: transparent;
    z-index: 600;
}

/* scroll後header SP */
header.headerScroll {
    background-color: transparent;
    height: 100px;
}

header.headerScroll .nav__logoTopSpBox {
    display: none;
}

.nav {
    background-image: url(../images/background.webp);
    background-size: contain;
    width: 100%;
    /* height: 100vh; */
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    /* 初期状態を透明で、少しだけ小さい状態にする */
    opacity: 0;
    transform: scale(1); /* 95%のサイズから始めると自然な動きになります */
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav__header {
    display: flex;
    width: 100%;
    padding: 10px 7.6% 20px 7.6%;
    text-align: center;
}

.nav__itemLogo {
    display: block;
    width: 217px;
    height: 74px;
}

.nav__itemLogoBox {
    margin: 0 auto;
}

.navBox {
    padding: 40px 9.7% 40px 3.7%;
}

.nav__item {
    margin-top: 32px;
}

.nav__item,.nav__item01 {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.nav__item:hover {
    color: #D1BF9D;
}

.nav__item01:hover {
    color: #D1BF9D;
}

.nav__link--shop:hover {
    color: #D1BF9D; /* ← ★★★ホバー色変更はこちら★★★ */
    background-color: transparent;
}

/* =========================
    Shop リンク固有スタイル
========================= */
.nav__link--shop {
    /* display: inline-block; */ /* aタグは元々インラインなので不要な場合が多い */
    position: relative;    /* アイコンの位置調整や背景のために念のため */
    /* padding: 3px 8px; */
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease; /* トランジション項目を追加 */
    /* ★ vertical-align を追加して他のメニュー項目と高さを合わせる */
    /* vertical-align: middle; */
    display: inline-flex;     /* テキストとSVGアイコンを横並びにして揃えるため */
    align-items: center;      /* テキストとSVGアイコンを垂直方向中央に揃えるため */
    color: #262626;  
}

/* Shopリンク内のアイコン */
.nav__shop-icon { /* HTMLで <svg class="nav__shop-icon" ...> としたSVG要素自体を指します */
    width: 12px;
    /* height: auto; */    /* ← ★★★ これを具体的な高さに変更 ★★★ */
    height: 12px;         /* ← ★★★ viewBox="0 0 17 17" なので、widthと同じ値で正方形を維持 ★★★ */
    margin-left: 4px;
    /* margin-bottom: 23%; */ /* ← ★★★ この指定は意図を確認。通常はpxやemで調整。不要なら削除 ★★★ */
                              /* 例: もし下に少し余白が欲しいなら margin-bottom: 2px; など */
    vertical-align: middle; /* 親要素が display:inline-flex で align-items:center の場合、効果が薄いか不要なことがあります。様子を見て調整。 */
    /* transition: transform 0.3s ease; */ /* ← transformアニメーションがあれば残します。色のアニメーションは親(.nav__link--shop)が担当 */
    /* ★★★ stroke や fill の指定はここでは不要です ★★★ */
    /* SVG内の path stroke="currentColor" が .nav__link--shop の color を継承します */
}

/* cookie icon */
.menuIcon01 {
    width: 40px;
    height: 37px;
}

.menuIcon02 {
    width: 40px;
    height: 40px;
    margin-top: 4px;
}

.menuIcon03 {
    width: 36px;
    height: 34px;
}

.menuIcon04 {
    width: 38px;
    height: 38px;
}

.button.roll{
    -webkit-animation: roll 3s ease-in-out infinite alternate;
            animation: roll 3s ease-in-out infinite alternate;
  }
   
  @-webkit-keyframes roll {
    0% {
      -webkit-transform: rotateZ(-10deg);
              transform: rotateZ(-10deg);
    }
    50% {
      -webkit-transform: rotateZ(20deg);
              transform: rotateZ(20deg);
    }
    100% {
      -webkit-transform: rotateZ(-10deg);
              transform: rotateZ(-10deg);
    }
  }
  @keyframes roll {
    0% {
      -webkit-transform: rotateZ(-10deg);
              transform: rotateZ(-10deg);
    }
    50% {
      -webkit-transform: rotateZ(20deg);
              transform: rotateZ(20deg);
    }
    100% {
      -webkit-transform: rotateZ(-10deg);
              transform: rotateZ(-10deg);
    }
  }

.shopBox {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
}

.shopLink {
    margin-bottom: 4px;
}

.shopLink img {
    width: 15px;
    height: 15px;
}

.spmenuLine {
    margin-top: -10px;
    padding: 0 0 10px 0;
}

/* menuSnsBtn */
.nav_btnSnsIcon {
    margin: auto;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;    
} 

.nav_MailIcon {
    width: 26px;
    position: absolute;
    left: 13%;
    top: 23%;
}

.nav_InstaIcon {
    width: 30px;
    position: absolute;
    left: 12%;
}

.btn p{
    font-size: 1.4rem;
}

.nav_btnSns:last-child {
    margin-top: 24px;
}

.btn--nav_Contact {
    width: 200px;
    padding: 10px 10% 12px 22%;
    border-color: var(--primary-blue, #7F97AC) ;
}

.btn--nav_Insta {
    width: 200px;
    padding: 6px 20px 8px 49px;
}

/* SPmenuアイコンサイズ */
.nav__btnMailIcon img {
    width: 36.73px;
    height: 36.73px;
}

.nav__btnInstaIcon img {
    width: 38px;
    height: 38px;
}

/* navの付け外し */
.nav.active {
    /* transform: translateX(0); を削除し、以下に変更 */
    /* 表示状態を不透明で、元のサイズ(100%)にする */
    opacity: 1;
    transform: scale(1);
    
    /* クリックできるようにする */
    pointer-events: auto;
}

.header__btn {
    width: 45px;
    height: 45px;
    position: absolute;
    transform: translateY(-2%);

    /* ↓↓↓ ここから下がアニメーションのために追加された部分 ↓↓↓ */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px; /* 2本線の間の余白 */
    background-color: transparent;
    border: none;
    cursor: pointer;

    /* ★★★ ここを追加・修正 ★★★ */
    position: fixed; /* 画面に固定 */
    top: 20px; 
    right: 6%; 
    z-index: 999; 
}

.header__btn-line {
    display: block;
    width: 30px; /* 線の幅 */
    height: 1.5px; /* 線の太さ */
    background-color: var(--primary-black, #262626); 
    transition: transform 0.4s ease, top 0.4s ease; /* アニメーションの設定 */
}

/* クリック後のスタイル */
/* .activeになったら、線を中央でクロスさせる準備として隙間をなくす */
.header__btn.active {
    gap: 0;
}

/* 上の線（1本目）を45度回転させる */
.header__btn.active .header__btn-line:nth-child(1) {
    transform: translateY(1px) rotate(45deg);
}

/* 下の線（2本目）を-45度回転させる */
.header__btn.active .header__btn-line:nth-child(2) {
    transform: translateY(-1px) rotate(-45deg);
}

.pcSnsIconBox {
    display: none;
}

.spSnsIcon {
    margin-top: 32px;
}

.btn:active,
.btnMore:active,
.shopLink:active {
    opacity: 0.7;           /* 70%の透明度に */
}

/* =========================
header PC
========================= */
@media screen and (min-width: 769px) {
    .nav__list {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
        margin-top: 28px;
        padding: 0;
    }

    .loading_logo {
        width: 306px;
        height: 102px;
    }
    
    .loading_gif {
        width: 250px;
        height: 250px;
        position: absolute;
        top: 38%;
    }    

    .nav__logoTopSp {
        margin-top: 8px;
        width: 220px;
        height: auto;
    }

    .nav__logoTopSpBox {
        display: inline-block;
    }

    .header {
        padding: 0 22% 0 22%;
        height: 162px;
        display: block;
    }

    /* SP用のメニュー関連要素を非表示に */
    .header__btn, /* ハンバーガーボタンを非表示に */
    .nav__header,
    .spmenuLine,
    .humBox,
    .spMenu-cookieBox,
    .nav_btnSnsBox,
    .nav__itemLogoBox,
    .menuIcon01,
    .menuIcon02,
    .menuIcon03,
    .menuIcon04,
    .spSnsIcon {
        display: none;
    }

    /* PC用のnavスタイル */
    .nav {
        /* スマホ用のスタイルを上書きして、常に表示させる */
        position: relative;      /* 位置を固定から通常配置へ */
        width: auto;           /* 幅を自動へ */
        height: auto;          /* 高さを自動へ */
        background: none;      /* 背景を削除 */
        
        opacity: 1;            /* 透明を解除し、常に表示 */
        pointer-events: auto;  /* クリックできるようにする */
        transform: none;       /* transformをリセット */
        transition: none;      /* PCではアニメーション不要 */
    }

    .navBox {
        width: auto;
        height: auto;
        padding: 0;
    }

    .nav__item {
        margin-top: 0;
    }

    .nav__item, .nav__item01 {
        font-size: 2rem;
        font-weight: 400;
        transition-duration: 0.5s;
    }

    .shopBox {
        align-items: center;
    }

    .shopLink {
        margin-bottom: 5px;
    }

    .menuTxtBox:first-of-type { gap: 0; margin-right: 0; }
    .menuTxtBox:last-of-type { gap: 0; }
    .menuTxtBox { gap: 0; margin-right: 0; }
    .menuTxtBox:nth-of-type(n+3) { margin-right: 0; }

    .pcSnsIconBox {
        display: flex;
        gap: 8px;
        position: absolute;
        right: 3%;
        top: -16%;
        z-index: 700;
    }

    .pcSns_InstaIcon:hover,
    .pcSns_MailIcon:hover {
        opacity: 0.5;
        transition-duration: 0.5s;
    }

    /* スクロール後のヘッダー */
    header.headerScroll {
        background-color: transparent;
        height: 60px;
        transition: 0.5s;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 600;
        padding: 0 1.3%;              
    }

    header.headerScroll .nav__logoTopSpBox {
        display: block;
        position: static;
        flex-shrink: 0;
        margin: 0;
    }

    header.headerScroll .nav__logoTopSp {
        width: 191px;
        height: 64px;
        display: block;
        margin-top: 0;
    }

    header.headerScroll .nav {
        position: static;
        width: auto;
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }

    header.headerScroll .nav__list {
       display: flex;
       align-items: center;
       gap: 30px;
       margin: 0;
       padding: 0;
   }
    
    header.headerScroll .nav__item,
    header.headerScroll .nav__item01 {
        font-size: 1.6rem;
        margin: 0;
    }

    header.headerScroll .pcSnsIconBox {
        position: static;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: auto;
    }

    header.headerScroll .navBox {
        display: flex;
        align-items: center;
        gap: 40px;
        padding: 0;
        width: auto;
    }

    header.headerScroll .shopLink img {
        width: 15px;                             
        height: 15px;
        margin-bottom: 2px;
    }

    header.headerScroll .pcSnsIcon {
        width: 30px;                             
        height: auto;
    }

    .nav__list li:nth-child(n+3) {
        padding-left: 0; 
    }
}
/* PC 769px */

/* =========================
footer
========================= */
.footer__btnGroup {
    padding:44px 7.6%;
}

.footerAnime {
    height: 83px;
}

.iconBox {
    margin: auto; /* これは contactBox 内で .iconBox を中央にするためですが、親のレイアウトによっては不要な場合もあります */
    width: 228px; /* 幅は現在の指定を維持 */
    text-align: center; /* ★変更：子要素を中央揃えにする */
    position: relative; 
} 

.mailIcon {
    position: absolute;
    left: 23%;
}

.shopIcon {
    width: 28px;
    position: absolute;
    left: 18%;
    transform: translateY(48%);
}

.btn--webstore {
    padding: 10px 34px 10px 36px;
    margin-top: 30px;   /* このマージンはSP表示時のみにしたい場合はこのまま */
    /* 注意：上記のpadding指定は、基本の.btnのpaddingを上書きします */
}

.btn--icon-link .footer-svg-icon--external-link {
    width: 12px;  /* 例：小さめのサイズに調整 (元のimgの指定などを参考に) */
    height: auto;
    /* vertical-align: middle; や transform: translateY(); で微調整が必要な場合あり */
}

/* 外部リンクアイコンとテキストの間のマージン調整 */
.btn--icon-link .btn__external-link-icon-wrapper { /* HTMLでこのクラスのspanで囲んでいる場合 */
    margin-left: 5px; /* 例：テキストと外部リンクアイコンの間隔 */
    display: inline-flex;
    align-items: center;
    transform: translateY(-4px);
}

.contactBox {
    text-align: center;
}

.contactTxt {
    text-align: center;
    font-size: 1.4rem;
    margin-top: 4px;
}

.contactTxt__shop {
    font-size: 1.5rem;
}

.spFooter-snsIcon {
    display: flex;
    justify-content: center;
    gap: 24px;
    /* margin-bottom: 40px; */
}

.spFooter-Insta {
    width: 45px;
    height: 45px;
}

.spFooter-Shop {
    display: none;
}

.spFooter-snsIcon {
    display: none;
}

.wani {
    width: 150px;
    height: 83px;
}

.scroll-infinity__wrap {
    margin-top: 30px;
}

.shopIcon-Link {
    width: 12px;
    position: absolute;
    right: 14%;
    transform: translateY(75%);
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(-100%);
    }
      to {
        transform: translateX(0%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding-right: 35vw;
    }
    .scroll-infinity__list--left {
        animation :infinity-scroll-left 25s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 1);
    }
    .scroll-infinity__item>img {
      width: 40%;
    }

/* pagetop btn */
.footerTopBtn {
    animation: rotateAnimation 14s linear infinite;
}

/* 回転 */
@keyframes rotateAnimation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .topBackbtn {
    position: relative;
    bottom: 110%;    /* 画面下から20px */
    right: -70%;     /* 画面右から20px */
    width: 96px;     /* デザインに合わせる */
    height: 94px;    /* デザインに合わせる */
    z-index: 500;    /* 他の要素より手前に表示 */
    display: flex;   /* Flexboxで子要素を配置 */
    flex-direction: column; /* 縦並びにする */
    justify-content: center; /* 垂直方向中央揃え */
    align-items: center; /* 水平方向中央揃え */
    cursor: pointer; /* マウスカーソルをポインターにする */
}

.topbackTxt {
    color: #FFF;
    font-size: 1.6rem;
    position: relative; /* 子要素の配置基準に (既存を維持) */
    text-align: center; /* 中央揃え (既存を維持) */
    line-height: 130%; /* (既存を維持) */
    z-index: 1; /* 画像の上に表示 */
    pointer-events: none; /* テキスト上でのクリックイベントを透過させ、下の画像をクリック可能にする */
}

.topbackTxtBox {
    position: relative;
    right: 2%;
    transform: translateY(-186%);
    /* ここから下を修正/追加 */
    display: flex; /* Flexboxで子要素を配置 */
    flex-direction: column; /* 矢印とテキストを縦並びにする */
    align-items: center; /* 水平方向中央揃え */
    justify-content: center; /* 垂直方向中央揃え */
    height: 100%; /* 親要素 (topbackTxt) の高さを利用 */
    width: 100%; /* 親要素 (topbackTxt) の幅を利用 */
}

.topbackTxtBox span {
    margin-top: -15px; /* 矢印と"top"テキストの間の間隔を調整 */
    display: block; /* spanをブロック要素にすることで、矢印の下に改行される */
}

.topbackTxtBox img {
    width: 30px;
    height: 35px;
}

.copy {
    width: 100%;
    padding: 0 0 20px 0;
    text-align: center;
    font-size: 1.4rem;
}


/* =========================
footer PC
========================= */
@media screen and (min-width: 769px) {
    .footerTopBtn {
    animation: none; /* PCでは常時回転を停止 */
    }

    .footerTopBtn:hover {
        animation: rotateAnimation 14s linear infinite; /* PCではホバーした時だけ回転させる */
    }

    .iconBox--shop {
        display: block;
        position: relative;
    }

    .contactTxt__cont {
        font-size: 1.5rem;
    }

    .contactTxt__shop {
        font-size: 1.6rem;
    }

    .footer__btnGroup {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 80px;
        padding: 80px 0 0 0;
    }

    .btn {
        width: 220px;
        padding: 8px 64px 10px 56px;
        font-size: 1.8rem;
    }

    .mailIcon {
        width: 27px;
        left: 24%;
    }

    .shopIcon-Link {
        width: 12px;
        position: absolute;
        right: 16%;
        transform: translateY(-293%);
    }

    .wani {
        width: 180px;
        height: 70px;
    }
    

    @keyframes infinity-scroll-left {
        from {
            transform: translateX(-100%);
        }
          to {
            transform: translateX(0%);
        }
        }
        .scroll-infinity__wrap {
          display: flex;
          overflow: hidden;
        }
        .scroll-infinity__list {
          display: flex;
          list-style: none;
          padding-right: 20vw;
        }
        .scroll-infinity__list--left {
            animation :infinity-scroll-left 50s infinite linear 0.5s both;
        }
        .scroll-infinity__item {
          width: calc(100vw / 1);
        }
        .scroll-infinity__item>img {
          width: 40%;
        }
    
        .scroll-infinity__wrap {
            margin-top: 16px;
        }
    
    .copy {
        width: 100%;
        padding: 20px 0 20px 0;
        text-align: center;
        font-size: 1.4rem;
    }

    /* トップページ（.page-top）だけに適用する .copy のスタイル */
    body.page-top .copy {
        /* トップページの時だけ padding-top を上書きして狭める */
        padding: 0;
        margin-top: -12px;
    }


    /* footer */
    .contactBox {
        margin: 0;
    }

    .spBr {
        display: none;
    }

    /* フッターのボタン Online Shop (PC表示時) */
    .btn--webstore {
        padding: 8px 30px 10px 30px; /* ← ★PC時のOnline Shopボタンの希望padding (例として上下12px, 左右28px) */
        margin-top: 0; /* PC表示ではSP用のmargin-topをリセット */
        /* 注意：上記のpadding指定は、このメディアクエリ内の共通.btnのpaddingを上書きします */
    }

    .shopIcon {
        width: 26px;
        position: absolute;
        left: 17%;
        transform: translateY(32%);
    }

    .footerAnime {
        margin-top: 40px;
    }

    .topBackbtn {
        right: -86%;
        transform: translateY(20%);
        position: relative;
    }
    
}
/* 769px PC */

/* top sns icon */
@media screen and (min-width: 770px) and (max-width: 849px) {
    .pcSnsIconBox {
        right: -20%; 
    }
}

@media screen and (min-width: 850px) and (max-width: 929px) {
    .pcSnsIconBox {
        right: -14%; 
    }
}

@media screen and (min-width: 930px) and (max-width: 999px) {
    .pcSnsIconBox {
        right: -8%; 
    }
}

@media screen and (min-width: 1000px) and (max-width: 1097px) {
    .pcSnsIconBox {
        right: -5%; 
    }
}

@media screen and (min-width: 1494px) {
    .pcSnsIconBox{
        right: 12%;
    }
}