@charset "utf-8";
/* CSS Document */

/* font指定 */

.f_ice{
    font-family: 'IceWatch-Bold';
}

.f_hel{
    font-family: 'helvetica-lt-pro';
}

/* color指定 */

.c_white{
    color: #FFF;
}

.c_orange{
    color: #ffa500;
}

.c_navy{
    color: #112b4c;
}

.c_black{
    color: #000;
}

/* width指定 */
.width_m {
    max-width: 750px;
    margin: auto;
}

@media screen and (min-width:768px)  {

    .width_m {
        width: 85vw;
    }

}

@media screen and (min-width:768px) and (orientation: landscape) {
    
    .width_m {
        width: 60vw;
    }

}

@media screen and (min-width:1200px)  {

    .width_m {
        width: 100%;
    }

}



/* loading */
/* 全体のローディングコンテナ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

/* 共通のレイヤー */
.loading-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transition: transform 0.4s ease;
  overflow: hidden; /* ★ ここがマスクになる */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* オレンジ背景（上層） */
.layer-orange {
  background: #ffa500;
  z-index: 2;
}

/* 白背景（下層） */
.layer-white {
  background: #fff;
  z-index: 1;
}

/* ロゴのフェードインアニメーション */
.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 360px;
  width: 50%;
  pointer-events: none;
  opacity: 0; 
  animation: logoFadeIn 1s ease forwards;
  animation-delay: 0s;
}

@keyframes logoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ローディング完了後、背景を左にスライド */
#loading.loaded .layer-orange {
  transform: translateY(-100%);
  transition-delay: 1.2s;
}

#loading.loaded .layer-white {
  transform: translateY(-100%);
  transition-delay: 1.3s;
}


/* フェードインアニメ */

 .fade_anime {
    opacity: 0;
    transition: opacity 0.5s ease-in , transform 0.5s ease-in ;
  }

  .fade_anime.fade-up {
    transform: translateY(20px);
  }
  .fade_anime.fade-down {
    transform: translateY(-20px);
  }
  .fade_anime.fade-left {
    transform: translateX(20px);
  }
  .fade_anime.fade-right {
    transform: translateX(-20px);
  }
  .fade_anime.fade-center {
  }
  .fade_anime.fade-zoom {
    transform: scale(0.9);
  }

  .fade_anime.fade-mask-up {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.6s ease;
    overflow: hidden;
  }
  .fade_anime.fade-mask-down {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s ease;
    overflow: hidden;
  }
  .fade_anime.fade-mask-left {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.6s ease;
    overflow: hidden;
  }
  .fade_anime.fade-mask-right {
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.6s ease;
    overflow: hidden;
  }

  .fade_anime.fade_active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  .fade_anime.fade_active.fade-mask-up,
  .fade_anime.fade_active.fade-mask-down,
  .fade_anime.fade_active.fade-mask-left,
    .fade_anime.fade_active.fade-mask-right{
    clip-path: inset(0 0 0 0);
    
}

  /* 遅延クラス */

  .delay02 {
    transition-delay: 0.2s;
  }

  .delay05 {
    transition-delay: 0.5s;
  }

/* header */

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    gap: 1rem;
    padding: 2rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    opacity: 0;
}

.header_left_title{
    max-width: 360px;
    flex-basis: 50%;
    opacity: 0;
}


.header_right_logo {
    max-width: 280px;
    flex-basis: 40%;
    opacity: 0;
}

.header_left_title,
.header_right_logo {
  position: relative;
  width: fit-content;
}

.header_left_title img,
.header_right_logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.6s ease;
  opacity: 0;
}

#header-left-w,
#haikyu-o {
  opacity: 1;
}

header.change #header-left-w,
header.change #haikyu-o {
  opacity: 0;
}

header.change #header-left-n,
header.change #haikyu-b {
  opacity: 1;
}


@media screen and (min-width:768px) {

    header {
        padding: 5vw;
    }
    
    .header_left_title {
        flex-basis: 30%;
    }
    .header_right_logo {
        flex-basis: 25%;
    }
    
}


@media screen and (min-width:768px) and (orientation: landscape) {
    header {
        padding: 3vw 0;
        width: 60vw;
        max-width: 750px;
    }
}


/* カラス */
.karasu_fly {
  position: fixed;
  bottom: 10vh;
  right: -60vw;
  z-index: 10;
    width: 60vw;
    z-index: 3;
}

.karasu_hinata {
  transition: transform 1s linear .7s;
}

.karasu_other {
  transition: transform 2.5s linear 0s;
}

/* 飛ぶときに付くクラス */
.karasu_fly.fly {
  transform: translate(-160vw, -35vh);
}


@media screen and (min-width:768px){
 
.karasu_fly {
    right: -45vw;
    width: 45vw;
}
    
/* 飛ぶときに付くクラス */
.karasu_fly.fly {
  transform: translate(-145vw, -35vh);
}    
    
}

@media screen and (min-width:768px) and (orientation: landscape) {

.karasu_fly {
    right: -30vw;
    width:30vw;
}

/* 飛ぶときに付くクラス */
.karasu_fly.fly {
  transform: translate(-130vw, -35vh);
}      
    
}

@media screen and (min-width:1200px) {

    .karasu_fly {
        right: -27vw;
        width:27vw;
    }

    /* 飛ぶときに付くクラス */
    .karasu_fly.fly {
      transform: translate(-127vw, -35vh);
    }   
    
}



.fix_text {
    max-width: calc(50vw - 375px);
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
}


.left_fix_text {
    position: fixed;
    top:0;
    left: 0;
    z-index: 3;
}


.left_fix_text span {
    transform: rotate(-90deg);
    flex: none;
}


.right_fix_text {
    position: fixed;
    top:0;
    right: 0;
    z-index: 3;
}

.right_fix_text span {
    transform: rotate(90deg);
    flex: none;
}

@media screen and (min-width:768px) and (orientation: landscape) {
    
.fix_text {
    display: flex;
}

    
}


@media screen and (min-width:1200px) {

    .fix_text {
        max-width: calc(50vw - 375px);
        width: calc(50vw - 375px);
    }
    
}



header,
header.fadein .header_left_title,
header.fadein .header_right_logo,
.fix_text,
.scroll_down{
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

header.fadein,
header.fadein .header_left_title,
header.fadein .header_right_logo,
.fix_text.fadein,
.scroll_down.fadein {
  opacity: 1;
  visibility: visible;
}





/* footer */
footer {
    background-color: #000;
    color: #FFF;
    text-align: center;
    font-size: 1rem;
    padding: 1rem ;
}





/* トップスクロールアニメーション & セクション */
.section-top {
  background: #112b4c;
    height: 200vh;
}

.overlay-grid {
  position: absolute;
  top: 200vh;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  pointer-events: none;
  z-index: 2;
}

.cell-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: stretch;
  background: #112b4c; /* ← 背景色を統一して白線隠す */
}

.cell-wrapper.transparent {
  background: transparent; /* アニメーション開始後に背景を透明に */
}

.cell {
  background: #112b4c;
  width: 100%;
  height: 100%;
  transform-origin: center;
  opacity: 1;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.section-bottom {
    background: #fff;
    padding-top: 100vw;
}




@media screen and (min-width:768px){
 
.section-bottom {
    padding-top: 50vw;
}

    
}

/* トップタイトル */

.collaboration_title,
.school_logo {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ios .collaboration_title {
    height: calc(100vh - 80px) !important;
}

.collaboration_title{
    position: relative;
}

.collaboration_title h1{
    font-size: 8vw;
    font-weight: 900;
}

.school_logo img{
    max-width: 360px;
    width: 70%;
    position: relative;
    z-index: 2;
}

.scroll_down {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #FFF;
    height: 5rem;
    width: 5rem;
    opacity: 1;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll_down.fadeout {
  opacity: 0;
  pointer-events: none;
}


.scroll-text {
    display: inline-block;
    position: absolute;
    color: #fff;
    font-size: 1rem;
    font-family: 'helvetica-lt-pro';
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.1em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation:blink 1s ease-in infinite alternate;
}

@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

.scrollball {
    width: 4rem;
    height: 4rem;
    background: url(../images/scroll_ball.svg);
    background-size: contain;
    background-repeat: no-repeat;
    animation: scroll_ball 3s linear infinite;
    transform-origin:center;
    opacity: 0.2;
}


@keyframes scroll_ball{
    0%{transform: rotate(0);}
    100%{transform: rotate(360deg);}
}



@media screen and (min-width:768px){

    .collaboration_title h1{
        font-size: 6vw;
    } 

}


@media screen and (min-width:768px) and (orientation: landscape) {
 
    .collaboration_title h1{
        font-size: 3.6rem;
    }
    
}


/* section title */
.section_title {
    padding: 15vw 0 0;
}

.section_title img{
    height: 8vw;
    width: auto;
}


@media screen and (min-width:768px){
    .section_title img {
        height: 6vw;
        width: auto;
    }
}

@media screen and (min-width:768px) and (orientation: landscape) {

    .section_title {
        padding: 10vw 0 0;
    }
    
    .section_title img {
        height: 5vw;
        width: auto;
    }
    
}

@media screen and (min-width:1200px) {
    
    
    .section_title {
        padding: 15rem 0 0;
    }
    
    
    .section_title img {
        height: 6rem;
    }
    
}


/* product */

.product,
.product_info,
.case,
.spec,
.shop_list{
    padding: 15vw 5vw;
}


@media screen and (min-width:768px){
    
    .product,
    .product_info,
    .case,
    .spec,
    .shop_list {
        padding: 15vw 0;
    }
    
}


@media screen and (min-width:768px) and (orientation: landscape) {
    
    .product,
    .product_info,
    .case,
    .spec,
    .shop_list {
        padding: 10vw 0;
    }
    
}

@media screen and (min-width:1200px) {
    
    .product,
    .product_info,
    .case,
    .spec,
    .shop_list {
        padding: 15rem 0;
    }
    
}

.collaboration_bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.up_bar{
    padding-bottom: 4vw;
}

.bottom_bar{
    padding-top: 4vw;
}


.product_img{
    text-align: center;
}

.product_img img {
    width: 55vw;
    margin-top: -2vw;
    filter: drop-shadow(4vw 4vw 5vw rgba(0, 0, 0, 0.4));
}






.product_info {
    display: grid;
    grid-gap: 15vw;
}


.product_color_title h3 {
    font-size: 8vw;
    font-weight: 900;
    line-height: 1;
}

.product_color_title h4 {
    font-size: 6.5vw;
    line-height: 1.5;
    font-weight: 900;
    display: flex;
    align-items: center;
}

.product_color_title h4 span:nth-child(2){
    font-size: 0.75em;
}


.product_color_img {
    text-align: center;
}


.product_color_img img {
    width: 60vw;
    margin-top: -6vw;
    margin-bottom: 5vw;
    filter: drop-shadow(2vw 1vw 2vw rgba(0, 0, 0, 0.4));
}



@media screen and (min-width:768px){

    
    .up_bar {
        padding-bottom: 6vw;
        font-size: 2.5vw;
    }
    .bottom_bar {
        padding-top: 6vw;
        font-size: 2.5vw;
    }
   
    
    .product_img img {
        width: 45vw;
    } 

    
    .product_color {
        position: relative;
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto 1fr;
        grid-gap: 2vw 0;
    }
    
    .product_color_title {
        grid-row: 1 / 2;
    }
    
    .product_color_title h3 {
        font-size: 6vw;
        white-space: nowrap;
    }
    
    .product_color_title h4 {
        font-size: 4.5vw;
    }
    
    .product_color_img{
        text-align: right;
        grid-row: 1 / 3;
    }    
    
    .product_color_img img {
        width: 90%;
        margin-top: 0;
    }

    .product_color_text {
        grid-row: 2 / 3;
    }

}


@media screen and (min-width:768px) and (orientation: landscape) {
    
    .product_info {
        grid-gap: 10vw;
    }
    
    .up_bar{
        font-size: 2vw;
        padding-bottom: 4vw;
    }
    
    .bottom_bar{
        font-size: 2vw;
        padding-top: 4vw;
    }
    
    .product_img img {
        width: 30vw;
    }
    
    
    .product_color {
        grid-template-columns: 55% 45%;
        grid-gap: 1vw 0;
    }
    
    .product_color_title h3 {
        font-size: 4.5vw;
    }
    
    .product_color_title h4 {
        font-size: 3.5vw;
    }
    
    .product_color_img img {
        margin-top: 1vw;
        margin-bottom: 0;
    }
    
}

@media screen and (min-width:1200px) {
    
    .product_info {
        grid-gap: 15rem;
    }

    .up_bar{
        font-size: 2.5rem;
        padding-bottom: 5rem;
    }
    
    .bottom_bar{
        font-size: 2.5rem;
        padding-top: 5rem;
    }
    
    .product_img img {
        width: 40%;
        margin-top: -2rem;
    }
    
    .product_color {
        grid-gap: 2rem 0;
    }
    
    .product_color_title h3 {
        font-size: 5rem;
    }
    
    .product_color_title h4 {
        font-size: 3.5rem;
    }
    
    .product_color_img img {
        margin-top: 0;
        margin-bottom: 0;
    }
    
}




.model_img {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10vw;
}

.model_img div:first-child{
    text-align: right;
}

.model_img img {
    width: 80%;
}


@media screen and (min-width:768px) {
    
    .model_img {
        grid-template-columns: 1fr 1fr;
        gap: 5vw;
    }
    
    .model_img img {
        width: 100%;
    }
    
    .model_img > div:first-child{
        padding-top: 10vw;
    }    
}

@media screen and (min-width:768px) and (orientation: landscape) {
    
    .model_img {
        gap: 3vw;
    }
    
}


@media screen and (min-width:1200px){
    
    .model_img {
        gap: 3rem;
    }
    
    .model_img > div:first-child {
        padding-top: 15rem;
    }
    
}

.product_detail {
    display: grid;
    grid-gap: 15vw;
}


.detail {
    display: grid;
    grid-gap: 8vw;
}

.detail_img{
    order: 2;
}
.detail_text{
    order: 1;
}

.detail_text > div {
    display: grid;
    grid-gap: 4vw;
}

.detail_text h3 {
    font-size: 8vw;
    line-height: 1;
    font-weight: 900;
}

@media screen and (min-width:768px){

    .detail {
        grid-template-columns: 1.5fr 1fr;
        gap: 5vw;
    }
    
    .detail:last-child {
        grid-template-columns: 1fr 1.5fr;
        gap: 5vw;
    }
    
    .detail:first-child .detail_img{
        order: 1;
    }

    .detail:first-child .detail_text{
        order: 2;
    }

    .detail_text > div {
        grid-gap: 2vw;
    }

    
    .detail_text h3 {
        font-size: 6vw;
        line-height: 1.2;
    }

    .detail_text h3 span{
        display: block;

    }    
    
    
}



@media screen and (min-width:768px) and (orientation: landscape) {
    
    .detail {
        gap: 2.5vw;
    }
    
    .detail:last-child {
        gap: 2.5vw;
    }
    
    .product_detail {
        grid-gap: 10vw;
    }
    
    .detail_text h3 {
        font-size: 4.5vw;
    }
    
}

@media screen and (min-width:1200px) {
    
    .detail {
        gap: 2.5rem;
    }
    
    .detail_text > div {
        grid-gap: 1rem;
    }
    
     .detail_text h3 {
        font-size: 5rem;
    }   
    
}




.case > div {
    display: grid;
    grid-gap: 10vw;
}

.case_title h3 {
    font-size: 8vw;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.case_img{
    text-align: center;
}

.case_img img{
    filter: drop-shadow(2vw 1vw 2vw rgba(0, 0, 0, 0.4));
}


@media screen and (min-width:768px){

    .case_img img {
        width: 90%;
    }
    
    .case_text {
        width: 75%;
        margin: auto;
    }
    
}


@media screen and (min-width:768px) and (orientation: landscape) {
    
    .case > div {
        grid-gap: 5vw;
    }
    
    .case_title h3 {
        font-size: 4.5vw;
    }    
    
}

@media screen and (min-width:1200px){
    
    .case > div {
        grid-gap: 10rem;
    }
    
    .case_title h3 {
        font-size: 5rem;
    }

}

.spec {
    display: grid;
    grid-gap: 10vw;
}

.spec_product {
    display: grid;
    grid-gap: 10vw;
}

.spec_product_img{
    text-align: center;
}

.spec_product_img img {
    width: 60%;
}

.spec_text {
    display: grid;
    grid-gap: 10vw;
}

.spec_title {
    display: grid;
    grid-gap: 2vw;
}

.spec_title h3 {
    font-size: 6.5vw;
    font-weight: 900;
    line-height: 1.2;
    text-align: justify;
}



.price,
.term {
    font-size: 5vw;
    font-weight: 900;
    line-height: 1;
}
.price .f_hel,
.term .f_hel{
    font-size: 1.2em;
}

.yen{
    font-size: 0.8em;
}

@media screen and (min-width:768px){
    
    .spec_product {
        grid-template-columns: 1fr 1.5fr;
        grid-gap: 5vw;
    }    
    
    .spec_product_img img {
        width: 100%;
    }  
    
    .spec_text {
        grid-gap: 3vw;
    }

    .spec_title {
        grid-gap: 1vw;
    }
    
    .spec_title h3 {
        font-size: 3.5vw
    }    

    .spec_title h3 span{
        display: block;
    }    

    .price, .term {
        font-size: 3.5vw;
    }
    

}


@media screen and (min-width:768px) and (orientation: landscape) {

    .spec_product {
        grid-gap: 2.5vw;
    }
    
    .spec_title {
        grid-gap: 0.5vw;
    }
    
    .spec_title h3 {
        font-size: 2.5vw;
    }
    
    .spec_product_img img {
        width: 100%;
    }

    .price, .term {
        font-size: 2.5vw;
    }
        
    .spec_text {
        grid-gap: 2vw;
    }

}

@media screen and (min-width:1200px) {
    .spec {
        grid-gap: 10rem;
    }
    
    .spec_text {
        grid-gap: 3rem;
        grid-template-rows: auto 1fr;
    }
    
    .spec_title {
        grid-gap: 1rem;
    }
    
    .spec_title h3 {
        font-size: 3.2rem;
    }
    
    .price, .term {
        font-size: 2.5rem;
    }
}

.online_store {
    font-size: 6vw;
    text-align: center;
}

.online_store a {
    width: 90%;
    display: flex;
    line-height: 1;
    border: 3px solid #000;
    border-radius: 1vw;
    box-shadow: 1vw 1vw 0 #000;
    margin: auto;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.online_store a img{
    height: 3vw;
    width: auto;
    display: inline-block;
    animation:rotate-X 2s infinite;
}

@keyframes rotate-X{
  0%{transform:rotateX(0deg);}
  100%{transform:rotateX(360deg);}
}



@media screen and (min-width:768px){
    
    .online_store {
        font-size: 4vw;
    }
    .online_store a{
        width: 70%;
    }    
    
    .attention p {
        width: 70%;
        margin: auto;
    }
    
}

@media screen and (min-width:768px) and (orientation: landscape) {

    .online_store {
        font-size: 2.5vw;
    }
    
    .online_store a img {
        height: 1.5vw;
    }

}




@media screen and (min-width:1200px){
    
    .online_store {
        font-size: 3.5rem;
    }
    
    .online_store a {
        border-radius: 1.5rem;
        box-shadow: 1rem 1rem 0 #000;
    }
}


@media (hover: hover) and (pointer: fine) {
    
    .online_store a {
      gap: 1rem;
      padding: 2rem 0;
      color: #000;
      background: #fff;
      position: relative;
      overflow: hidden;
      transition: color 0.3s ease;
      z-index: 1;
    }

    .online_store a::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: #000;
      z-index: 0;
      transition: left 0.4s ease;
    }

    .online_store a img {
      width: auto;
      display: inline-block;
      animation: rotate-X 2s infinite;
      transition: filter 0.3s ease;
      z-index: 1;
    }

    .online_store a:hover img {
      filter: invert(100%) brightness(1.2);
    }

    /* 確実にテキストと画像が前面に */
    .online_store a > * {
      position: relative;
      z-index: 1;
    }    
      .online_store a:hover::before {
        left: 0;
      }
      .online_store a:hover {
        color: #fff;
      }
      .online_store a:hover img {
        filter: invert(100%) brightness(1.2);
      }
}

.shop_list_title h3 {
    font-size: 5vw;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10vw;
}

.shop_list dl > * {
    border-bottom: 1px solid #e7e7e7;
    padding: 1rem 0.5rem;
    line-height: 1.5;
}

.shop_list dt {
    background: #e7e7e7;
    font-weight: 900;
    font-size: 0.9em;
}

.shop_name{
    font-size: 0.9em;
}
.shop_add{
    font-size: 0.7em;
    font-weight: 400;
}



@media screen and (min-width:768px){

    
    .shop_list dl > * {
        padding: 1rem;
    }
    
    .shop_list_title h3 {
        font-size: 3.5vw;
    }
    .shop_list dt {
        font-size: 1em;
    }

    .shop_name{
        font-size: 1em;
    }
    .shop_add{
        font-size: 0.8em;
    }
    
}



@media screen and (min-width:768px) and (orientation: landscape) {
    
    .shop_list_title h3 {
        font-size: 2.5vw;
        margin-bottom: 5vw;
    }
    
    
}



@media screen and (min-width:1200px){
    
    
    .shop_list_title h3 {
        font-size: 3.5rem;
        margin-bottom: 5rem;
    }
    
    
    
}






  .scroll-top {
    position: fixed;
    bottom: 3rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1000;
  }

  .scroll-top img {
    width: 5rem;
    height: 5rem;
    transition: transform 0.5s ease;
  }

    .scroll-top span {
        font-size: 1.4rem;
        line-height: 1.2;
        color: #ffa500;
    }

  .scroll-top.show {
    opacity: 1;
    visibility: visible;
  }

  /* ホバーで回転（PCのみ） */
  @media (hover: hover) and (pointer: fine) {
    .scroll-top:hover img {
      transform: rotate(360deg);
    }
  }


@media screen and (min-width:768px){
    
  .scroll-top {
    right: 2rem;
    }
    
}


@media screen and (min-width:768px) and (orientation: landscape) {
    
  .scroll-top {
    max-width: calc(50vw - 375px);
    width: calc(50vw - 375px);
    right: 0;
      text-align: center;
   }
    
    .scroll-top img {
        width: 5rem;
        height: 5rem;
    }
    
}


 
  #scrollTopCurtain {
    position: fixed;
    left: 0;
    top: 100%;
    width: 100%;
    height: 100%;
    background: #ffa500;
    z-index: 9999;
    pointer-events: none;
    transition: top 0.3s ease;
    opacity:0;
      background-image: url("../images/maku_img_bg.png");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
  }

  #scrollTopCurtain.show {
    top: 0;
    opacity:1;
  }

  #scrollTopCurtain.hide {
    top: -100%;
    opacity:1;
  }