/* リセットCSS */
<link href="css/reset.css" rel="stylesheet">



/* 親要素コンテナのスタイル */
.background{
    position: relative;
    width: 100vw; /* ビューポートの幅に合わせる */
    min-height: 100vh; /* ビューポートの高さに合わせる */
    display: flex; /* フレックスボックスで中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    align-items:flex-start ; /* フレックスアイテムを交差軸に沿って引き伸ばし、コンテナのサイズに合わせます。 */
    overflow-x: hidden;　
    font-family: "fot-klee-pro", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN","Yu Gothic", "游ゴシック体", sans-serif;

}



/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　ヘッター
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

    /* ヘッター全体 */
    .pcheaderbg,
    .logoblack,
    .toppage,
    .service,
    .works,
    .message,
    .aboutus,
    .qa,
    .recruit,
    .insta,
    .line,
    .contactus,
    .supportservices{
    position: fixed; 
    height: auto; 
    z-index: 99; 
    }


        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
            .pcheaderbg {
                display: block; 
                top: 0; 
                left: 0; 
                width: 100vw; 
            }

            /* ヘッダー背景初期状態：薄い（20%） */
            .pcheaderbg {
                opacity: 0.2;
                transition: opacity 0.3s ease; /* ふわっと切り替え */
            }

            /* ヘッダー背景スクロール後：濃い（90%） */
            .pcheaderbg.is-scrolled {
                opacity: 0.9;
            }            

            .logoblack {
                display: block; 
                top: 1.9vw; 
                left: 5vw; 
                width: 6vw; 
            } 

            .toppage {
                display: block; 
                top: 2.2vw; 
                left: 14vw; 
                width: 6vw; 
            }             

            .service {
                display: block; 
                top: 3.1vw;
                left: 23vw; 
                width: 10vw; 
            }               

            .works {
                display: block;
                top: 2.3vw; 
                left: 34vw;
                width: 7.5vw;
            }  

            .supportservices{
                display: block;
                top: 2.8vw; 
                left: 43vw; 
                width: 10.5vw;
            }             

            .message {
                display: block; 
                top: 2.2vw; 
                left: 56vw; 
                width: 5.7vw; 
            }   

            .aboutus {
                display: block; 
                top: 2.2vw; 
                left: 64.5vw; 
                width: 6.3vw; 
            } 

            .qa {
                display: block; 
                top: 2.2vw; 
                left: 72.5vw; 
                width: 5.7vw; 
            } 

            .recruit {
                display: block; 
                top: 2.2vw; 
                left: 80vw; 
                width: 5.7vw; 
            }  

            .insta {
                display: block; 
                top: 3.3vw; 
                left: 88vw; 
                width: 1.6vw; 
            }                       
            .line {
                display: block; 
                top: 3.3vw; 
                left: 91vw; 
                width: 1.6vw; 
            } 

            .contactus {
                display: block; 
                top: 7vw; 
                right: 0vw; 
                width: 20vw; 
            }         
            }         

        

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
            .pcheaderbg,
            .logoblack,
            .toppage,
            .service,
            .works,
            .message,
            .aboutus,
            .qa,
            .recruit,
            .insta,
            .line,
            .contactus,
            .supportservices{
                display: none; 
            }
        }


/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　ヘッター（アニメ)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
           /*＜アニメ＞上からふわっと降りてくる*/ 
            @keyframes headerDrop {
            0% {
                transform: translateY(-2.5vw);
            }
            100% {
                transform: translateY(0);
            }
            }     
            
            /* ヘッダー背景初期状態：薄い */
            .pcheaderbg{
            opacity: 0.2;
            transition: opacity 0.3s ease;
            }

            /* スクロール後：不透明 */
            .pcheaderbg.is-scrolled{
            opacity: 1;
            }

            .logoblack,
            .toppage,
            .service,
            .works,
            .supportservices,
            .message,
            .aboutus,
            .qa,
            .recruit,
            .insta,
            .line{
                animation: headerDrop 700ms ease-out both;
            }

            .toppage, .service, .works, .supportservices, .message, .aboutus, .qa, .recruit{
                animation-delay: 80ms;
            }
            .insta, .line{
                animation-delay: 120ms;
            }


           /*＜アニメ＞右横から出てくる*/            
            @keyframes contactSlideIn {
            0% {
                transform: translateX(4vw);  /* 右から */
                opacity: 0;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
            }

            .contactus{
                animation: contactSlideIn 700ms ease-out both;
                animation-delay: 160ms; 
            }
            }




/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　ファーストビュー
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


    /* ファーストビュー */
    .fvbackgroundpc,
    .fvtitle,
    .popmessage01,
    .stickergreen {
    position: absolute; 
    height: auto; 
    }

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
            .fvbackgroundpc {
                display: block; 
                top: 0vw; 
                left: 0vw; 
                width: 100vw; 
            }    

            .fvtitle {
                display: block; 
                top: 10vw; 
                left: 11vw; 
                width: 80vw; 
            }     
            
            .popmessage01 {
                display: block; 
                top: 42.5vw; 
                left: 67vw; 
                width: 30vw; 
            }  
             .stickergreen {
                display: block; 
                top: 42.5vw; 
                left: 40vw; 
                width: 20vw; 
            }              
            
        }


        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
                .fvbackgroundpc,
                .fvtitle,
                .popmessage01,
                .stickergreen  {
                display: none; 
            }

        }

     
 /* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　ファーストビュー（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

        /* フェードイン */
        @keyframes fadeInSoft {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
        }

    @media (min-width: 601px) {
        /* 初期状態（見えていない） */
        .fvtitle{
        opacity: 0;
        }

        /* 表示されたら発火 */
        .fvtitle {
        animation: fadeInSoft 1000ms ease-out forwards;
        }
        }      
        

        /* フェードインアップ */
        @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(2vw);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
        /* 初期状態（非表示） */
        .popmessage01{
        opacity: 0;
        }

        /* 見えたら発火 */
        .is-fadeup{
        animation: fadeUp 800ms ease-out forwards;
        }
        }


/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　サービスボタン
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


    /* ファーストビュー */
    .wallpainting,
    .roofpainting,
    .refome,
    .smarthouse,
    .waterarea,
    .exterior {
    position: absolute; 
    height: auto; 
    pointer-events: auto;
    z-index: 30;
    }

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
            .wallpainting {
                display: block; 
                top: 29vw; 
                left: 11vw; 
                width: 10vw; 
            }    

            .roofpainting {
                display: block; 
                top: 29vw; 
                left: 22.5vw; 
                width: 10vw; 
            }   
            
            .refome {
                display: block; 
                top: 33vw; 
                left: 11vw; 
                width: 10vw; 
            } 
            
            .smarthouse {
                display: block; 
                top: 33vw; 
                left: 22.5vw; 
                width: 10vw; 
            } 
            
            .waterarea {
                display: block; 
                top: 37vw; 
                left: 11vw; 
                width: 10vw; 
            }                      
            
            .exterior {
                display: block; 
                top: 37vw; 
                left: 22.5vw; 
                width: 10vw; 
            }

            #exteriorwallpaintingplacepc,
            #roofpaintingplacepc,
            #reformplacepc,
            #smarthouseplacepc,
            #waterproofplacepc,
            #exteriorplacepc{
            scroll-margin-top: 10vw; /* スクロール先の止まる位置 */
            }            
        }


        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
        .wallpainting,
        .roofpainting,
        .refome,
        .smarthouse,
        .waterarea,
        .exterior {
                display: none; /* スマホ版では非表示 */
            }
        } 


/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　サービスボタン（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        /* 下からふわっと表示 */
        @keyframes fadeUpSoft {
        0% {
            opacity: 0;
            transform: translateY(1.8vw);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
        }


        @media (min-width: 601px) {

        .wallpainting,
        .roofpainting,
        .refome,
        .smarthouse,
        .waterarea,
        .exterior{
            opacity: 0; 
            animation: fadeUpSoft 700ms ease-out forwards;
        }

        .wallpainting { animation-delay: 0ms; }
        .roofpainting { animation-delay: 120ms; }
        .refome       { animation-delay: 240ms; }
        .smarthouse   { animation-delay: 360ms; }
        .waterarea    { animation-delay: 480ms; }
        .exterior     { animation-delay: 600ms; }       
        
        animation: fadeUpSoft 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;        

        }





/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　各種サービス説明
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/



            /* 吹き出し（親） */
            .afterservice {
            position: absolute; 
            height: auto; 
            }


            /* 全体 */
            .servicesinfo{
            position: relative; 
            width: 100%;
            padding: 58vw 0 0;
            z-index: 20;
            }

            .services__inner{
            width: 80vw;
            margin: 0 auto;
            }

            /* 1ブロック */
            .serviceinfo{
            display: grid;
            grid-template-columns: 1fr 1fr; /* 左：画像 / 右：文章 */
            gap: 4vw;
            align-items: center;
            padding: 3.5vw 0;
            }

            /* 区切り（不要なら消してOK） */
            .serviceinfo + .serviceinfo{
            border-top: 0.2vw solid rgba(0,0,0,0.08);
            }

            /* 左画像 */
            .service__img{
            width: 100%;
            height: auto;
            display: block;
            border-radius: 6px; /* 角丸 */
            }

            /* 右側 */
            .service__titleimg{
            display: block;
            width: 70%;
            height: auto;
            margin: 0 -1.2vw 0;
            }

            /* 説明文：Adobeフォント（Klee） */
            .service__desc{
            margin: 1.5vw 0 0;
            font-family: "fot-klee-pro", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;
            font-size: 1.3vw;
            line-height: 3vw;
            letter-spacing: 0.03em;
            }

            .workjumpbuttonpc{
                display: block; 
                padding: 1.5vw 0 0;
                width: 27vw; 
            }             
            
            .afterservice{
                display: block; 
                top: 157vw; 
                left: 67vw; 
                width: 25vw; 
                z-index: 30;
            } 

            /* SPではPC用サービス説明を非表示 */
            @media (max-width: 600px){
            .servicesinfo,
            .afterservice{
                display: none;
            }
            }



 /* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　各種サービス説明（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        /* フェードインアップ */
        @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(2vw);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
        /* 初期状態（非表示） */
        .serviceinfo,
        .afterservice{
        opacity: 0;
        }

        /* 見えたら発火 */
        .is-fadeup{
        animation: fadeUp 800ms ease-out forwards;
        }
        }




/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　フッター
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {

        /* フッター全体の基準箱 */
        .site-footer{
            position: relative;   
            width: 100vw;
            margin: 4vw 0 0 0;    /* ← 上のコンテンツからの距離はここで管理 */
        }


            .fotterback{
                display: block; 
                width: 100vw;
                height:auto; 
            }       
            
             .contactform{
                position: absolute;  
                top: 11.5vw; 
                left: 40.8vw; 
                width: 12.5vw; 
            }  
            
            .lineregistration{
                position: absolute; 
                top: 11.5vw; 
                left: 56vw; 
                width: 12.5vw; 
            }  
            
            .estimate{
                position: absolute;  
                top: 11.5vw; 
                left: 70.8vw; 
                width: 7vw; 
            }              

            .telnumber {
            position: absolute;           
            top: 12.8vw;                    
            left: 22vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 1.8vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            } 

            .businesshours03 {
            position: absolute;           
            top: 15vw;                    
            left: 19vw;                   
            z-index: 10;     
            
            font-family: "fot-klee-pro", sans-serif; 
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 0.9vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            } 

            .fotterlogo{
                position: absolute;   
                top: 25vw; 
                left: 7vw; 
                width: 12vw; 
            }  

            .telmark{
                position: absolute;  
                top: 27vw; 
                left: 22vw; 
                width: 1.8vw; 
            }  

            .mapmark{
                position: absolute;   
                top: 31vw; 
                left: 22.3vw; 
                width: 1.2vw; 
            }     
            
            .telnumber02 {
            position: absolute;            
            top: 26.9vw;                    
            left: 25vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif ;
            font-weight: 500;
            font-style: normal;

            color: #000000;             
            font-size: 1.5vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }            

            .businesshours04 {
            position: absolute;           
            top: 29vw;                    
            left: 25vw;                   
            z-index: 10;     
            
            font-family: "fot-klee-pro", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #000000;             
            font-size: 0.8vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            } 

            .adress{
            position: absolute;           
            top: 31vw;                    
            left: 25vw;                   
            z-index: 10;     
            
            font-family: "fot-klee-pro", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #000000;             
            font-size: 1.3vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }     
            
            .instablack{
                position: absolute;   
                top: 27vw; 
                left: 44.1vw; 
                width: 1.8vw; 
            }                

            .lineblack{
                position: absolute; 
                top: 27vw; 
                left: 46.7vw; 
                width: 1.8vw; 
            }    

            .fottoppage{
                position: absolute;  
                top: 23vw; 
                left: 55vw; 
                width: 15vw; 
            }          

            .fotservice{
                position: absolute;  
                top: 26vw; 
                left: 55vw; 
                width: 16.7vw; 
            }               

            .fotworks{
                position: absolute;   
                top: 29.5vw; 
                left: 55vw; 
                width: 14.2vw; 
            } 

            .fotmessage{
                position: absolute;  
                top: 32.5vw; 
                left: 55vw; 
                width: 16.2vw; 
            } 

            .fotsupportservices{
                position: absolute;  
                top: 36vw; 
                left: 55vw; 
                width: 22vw; 
            }             

            .fotaboutus{
                position: absolute;   
                top: 23vw; 
                left: 75vw; 
                width: 13.5vw; 
            }           

            .fotqa{
                position: absolute;   
                top: 26vw; 
                left: 75vw; 
                width: 15vw; 
            }             

            .fotrecruit{
                position: absolute;   
                top: 29.5vw; 
                left: 75vw; 
                width: 13.6vw; 
            } 

            .fotcontact{
                position: absolute;   
                top: 32.5vw; 
                left: 75vw; 
                width: 18.3vw; 
            } 

            .copyright{
            position: absolute;           
            top: 41.5vw;                    
            left: 36.5vw;                   
            z-index: 10;     
            
            font-family: "fot-klee-pro", sans-serif ;
            font-weight: 500;
            font-style: normal;

            color: #FFFFFF;             
            font-size: 1.2vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            } 


        }     


        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
            .fotterback,
            .contactform,
            .lineregistration,
            .estimate,
            .telnumber,
            .businesshours03,
            .fotterlogo,
            .telmark,
            .mapmark,
            .telnumber02,
            .businesshours04,
            .adress,
            .instablack,
            .lineblack,
            .fottoppage,
            .fotservice,
            .fotworks,
            .fotmessage,
            .fotsupportservices,
            .fotaboutus,
            .fotqa,
            .fotrecruit,
            .fotcontact,
            .copyright {
                display: none; 
            }
        }            



        






/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@




  ▼▼▼▼▼ ここからSP　▼▼▼▼▼




   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */








/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ヘッター
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


    .spheaderbg {
    position: fixed; 
    height: auto; 
    z-index: 99; 
    }

    .splogo {
    position: fixed; 
    height: auto; 
    z-index: 101; 
    }    

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {

            .splogo{
                display: block; 
                top: 13vw; 
                left: 7vw; 
                width: 50vw; 
            }     
            
            .spheaderbg{
                display: block; 
                top: 0vw; 
                left: 0vw; 
                width: 100vw; 
            }                

        }
        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
            .splogo,
            .spheaderbg {
                display: none; 
            }
        } 


/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ヘッター（アニメ)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
           /*＜アニメ＞上からふわっと降りてくる*/ 
            @keyframes headerDrop {
            0% {
                transform: translateY(-2.5vw);
            }
            100% {
                transform: translateY(0);
            }
            }     
            
            /* ヘッダー背景初期状態：薄い */
            .spheaderbg{
            opacity: 0.2;
            transition: opacity 0.3s ease;
            }

            /* スクロール後：不透明 */
            .spheaderbg.is-scrolled{
            opacity: 1;
            }

            .splogo,
            .spmenu{
                animation: headerDrop 700ms ease-out both;
            }
            }
            
            

/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ハンバーガーメニュー
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

        /* 開くボタン（ハンバーガー）だけは単独で固定表示 */
        .spmenu {
        position: fixed;
        height: auto;
        z-index: 99;
        }

        /* メニューパネル全体（オーバーレイ） */
        .spnav-panel {
        position: fixed;
        inset: 0;                
        z-index: 100;
        display: none;            /* 初期は非表示 */
        background-color: #FFFFFF; 
        overflow-y: auto;         
        padding-top: 35vw;        /* 上にロゴ＋余白ぶんのスペース */
        box-sizing: border-box;
        }


        /* 閉じるボタン */
        .spmenuclose {
        position: fixed;
        top: 15vw;
        right: 9vw;
        width: 10vw;
        height: auto;
        z-index: 100 ; 
        }

        .sptoppage,
        .spservice,
        .spworks,
        .spsupportservices,        
        .spmessage,
        .spaboutus,
        .spqa,
        .sprecruit,
        .spcontact,
        .spinsta,
        .spline {
        display: block;
        position: static;       
        width: 90vw;
        margin: 6vw auto 6vw;  
        height: auto;
        }


        /* SNSエリアを中央寄せ（インスタ＋LINE） */
        .spnav-sns {
        text-align: center;
        margin-top: 4vw;
        }

        /* 子SNSエリア横並び＆少し余白 */
        .spnav-sns img {
        width: 12vw;
        max-width: 60px;
        margin: 4vw 4vw 8vw;
        display: inline-block;
        }


        /* ▼ ハンバーガーアイコンの位置（SPだけ表示） */
        @media (max-width: 600px) {

        .spmenu {
            display: block;
            top: 13vw;
            left: 76vw;
            width: 15vw;
        }

        /* body に nav-open が付いているときだけメニューパネルを表示 */
        body.nav-open .spnav-panel {
            display: block;
        }

        /* メニューを開いているときは、ハンバーガーアイコンを非表示にする */
        body.nav-open .spmenu {
            display: none;
        }
        }

        /* PC版ではSPメニューを非表示 */
        @media (min-width: 601px) {
        .spmenu,
        .spnav-panel {
            display: none;
        }
        }


/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ハンバーガーメニュー（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        @keyframes fadeUpMenu {
        from { opacity: 0; transform: translateY(3vw); }
        to   { opacity: 1; transform: translateY(0); }
        }


        /* メニュー項目まとめて初期は見えない */
        .sptoppage,
        .spservice,
        .spworks,
        .spsupportservices,        
        .spmessage,
        .spaboutus,
        .spqa,
        .sprecruit,
        .spcontact,
        .spinsta,
        .spline{
        opacity: 0;
        transform: translateY(3vw);
        }

        /* メニュー開いたら順番にフェードインアップ */
        body.nav-open .sptoppage { animation: fadeUpMenu 500ms ease-out both; animation-delay: 0ms; }
        body.nav-open .spservice { animation: fadeUpMenu 500ms ease-out both; animation-delay: 70ms; }
        body.nav-open .spworks   { animation: fadeUpMenu 500ms ease-out both; animation-delay: 140ms; }
        body.nav-open .spsupportservices { animation: fadeUpMenu 500ms ease-out both; animation-delay: 210ms; }
        body.nav-open .spmessage { animation: fadeUpMenu 500ms ease-out both; animation-delay: 280ms; }
        body.nav-open .spaboutus      { animation: fadeUpMenu 500ms ease-out both; animation-delay: 350ms; }
        body.nav-open .spqa  { animation: fadeUpMenu 500ms ease-out both; animation-delay: 420ms; }
        body.nav-open .sprecruit { animation: fadeUpMenu 500ms ease-out both; animation-delay: 490ms; }
        body.nav-open .spcontact   { animation: fadeUpMenu 500ms ease-out both; animation-delay: 560ms; }
        body.nav-open .spinsta    { animation: fadeUpMenu 500ms ease-out both; animation-delay: 630ms; }
        body.nav-open .spline    { animation: fadeUpMenu 500ms ease-out both; animation-delay: 630ms; }



/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ファーストビュー
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


    /* ファーストビュー */
    .fvbackgroundsp,
    .popmessage01sp,
    .stickergreensp {
    position: absolute; 
    height: auto; 
    }


        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
            .fvbackgroundsp {
                display: block; 
                top: 35vw; 
                left: 5.5vw; 
                width: 90vw; 
            }      
            
            .popmessage01sp {
                display: block; 
                top: 130vw; 
                left: 25vw; 
                width: 75vw; 
            }      
            
             .stickergreensp  {
                display: block; 
                top: 103vw; 
                left: 27vw; 
                width: 45vw; 
            }             

        }


            /* PC版（601px以上の画面サイズ） */
            @media (min-width: 601px) {
                .fvbackgroundsp,
                .popmessage01sp,
                .stickergreensp {
                display: none; 
            }

        }



 /* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　ファーストビュー（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/

        /* フェードイン */
        @keyframes fadeInSoft {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
        }

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
        /* 初期状態（見えていない） */
        .fvbackgroundsp,
        .stickergreensp{
        opacity: 0;
        }

        /* 表示されたら発火 */
        .fvbackgroundsp,
        .stickergreensp {
        animation: fadeInSoft 1000ms ease-out forwards;
        }
        }      
        

        /* フェードインアップ */
        @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(2vw);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
        /* 初期状態（非表示） */
        .popmessage01sp{
        opacity: 0;
        }

        /* 見えたら発火 */
        .is-fadeup{
        animation: fadeUp 800ms ease-out forwards;
        }
        }
        

/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　サービスボタン
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


    /* ファーストビュー */
    .wallpaintingsp,
    .roofpaintingsp,
    .refomesp,
    .smarthousesp,
    .waterareasp,
    .exteriorsp {
    position: absolute; 
    height: auto; 
    pointer-events: auto;
    z-index: 30;
    }


        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {            
            .wallpaintingsp {
                display: block; 
                top: 160vw; 
                left: 8vw; 
                width: 40vw; 
            }    

            .roofpaintingsp {
                display: block; 
                top: 160vw; 
                left: 51vw; 
                width: 40vw; 
            }   
            
            .refomesp {
                display: block; 
                top: 175vw; 
                left: 8vw; 
                width: 40vw; 
            } 
            
            .smarthousesp {
                display: block; 
                top: 175vw; 
                left: 51vw; 
                width: 40vw; 
            } 
            
            .waterareasp {
                display: block; 
                top: 190vw; 
                left: 8vw; 
                width: 40vw; 
            }                      
            
            .exteriorsp {
                display: block; 
                top: 190vw; 
                left: 51vw; 
                width: 40vw; 
            }

            #exteriorwallpaintingplacesp,
            #roofpaintingplacesp,
            #reformplacesp,
            #smarthouseplacesp,
            #waterproofplacesp,
            #exteriorplacesp{
            scroll-margin-top: 40vw; /* スクロール先の止まる位置 */
            }            
        }


        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
        .wallpaintingsp,
        .roofpaintingsp,
        .refomesp,
        .smarthousesp,
        .waterareasp,
        .exteriorsp {
                display: none; /* スマホ版では非表示 */
            }
        } 
       


/* @@@@@@@@@@@@@@@@@@@@@@@@@
PC　サービスボタン（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        /* 下からふわっと表示 */
        @keyframes fadeUpSoft {
        from {
            opacity: 0;
            transform: translateY(1.8vw);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        /* SP */
        @media (max-width: 600px) {

        .wallpaintingsp,
        .roofpaintingsp,
        .refomesp,
        .smarthousesp,
        .waterareasp,
        .exteriorsp {
            opacity: 0;           /* 初期は止める */
        }

        .is-fadeup-sp {
            animation: fadeUpSoft 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
        }





/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　各種サービス説明
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/  


        @media (max-width: 600px){
        .servicesinfo-sp{
            display: block;
            padding: 260vw 6vw 0;
            background: transparent;
        }

        .service-sp{
            margin-bottom: 18vw;
        }

        .service-sp__title{
            width: 80vw;
            height: auto;
            margin-bottom: 4vw;
        }

        .service-sp__image{
            width: 100%;
            height: auto;
            display: block;
            margin-bottom: 6vw;
        }

        .service-sp__text{
            font-family: "fot-klee-pro", sans-serif;
            font-weight: 500;
            font-style: normal;
            font-size: 4.5vw;
            line-height: 7.4vw;
            letter-spacing: 0.04em;
            color: #193359;
            margin: 0 1vw 0;
        }

        .workjumpbuttonsp{
                display: block; 
                padding: 5vw 4vw 0;
                width: 80vw; 
            } 
            
            .afterservicesp{
                display: block; 
                padding: 0 18vw 0;
                width: 70vw; 
            }            
        }

        /* PC版ではSPメニューを非表示 */
        @media (min-width: 601px) {
        .servicesinfo-sp {
            display: none;
        }
        }




 /* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　各種サービス説明（アニメ）
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/


        /* フェードインアップ */
        @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(2vw);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        @media (max-width: 600px){
        /* 初期状態（非表示） */
        .service-sp{
        opacity: 0;
        }

        /* 見えたら発火 */
        .is-fadeup{
        animation: fadeUp 800ms ease-out forwards;
        }
        }





/* @@@@@@@@@@@@@@@@@@@@@@@@@
SP　フッター
@@@@@@@@@@@@@@@@@@@@@@@@@@@@　*/        



        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {


        /* フッター全体の基準箱 */
        .spfooter{
            position: relative;   
            width: 100vw;
            margin: 5vw 0 0 0;    /* ← 上のコンテンツからの距離はここで管理 */
        }

            /* 背景画像は箱の中で通常配置に */
            .spfotterback{
                display:block;
                width:100vw;
                height:auto;
            }


            .spcontactform {
                position:absolute; 
                top: 96vw; 
                left: 3.8vw;  
                width:30vw; 
            }

            .splineregistration {
                position:absolute; 
                top: 96vw; 
                left: 34.5vw; 
                width: 31vw; 
            }

            .spestimate {
                position:absolute; 
                top: 96vw; 
                left: 66vw; 
                width: 30vw; 
            }

            .sptelnumber {
            position: absolute;           
            top: 67vw;                    
            left: 23vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 7vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            } 

        
            .spbusinesshours01 {
            position: absolute;           
            top: 78vw;                    
            left: 12vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 3.5vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }

            .spfotterlogo {
                position: absolute;   
                top: 155vw; 
                left: 26vw; 
                width: 45vw; 
            }            

            .sptelnumber02 {
            position: absolute;           
            top: 174.2vw;                    
            left: 24vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 5vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }


            .spbusinesshours02 {
            position: absolute;           
            top: 180vw;                    
            left: 23vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 3.2vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }

            .spadress {
            position: absolute;           
            top: 187.3vw;                    
            left: 24vw;                   
            z-index: 10;     
            
            font-family: "fot-udkakugo-large-pr6n", sans-serif;
            font-weight: 500;
            font-style: normal;

            color: #193359;             
            font-size: 3.4vw;              /* 文字サイズ*/
            line-height: 2vw;         /* 行送り*/
            font-kerning: normal;         /* カーニング（メトリクス） */
            font-feature-settings: "kern";/* カーニング有効化 */
            max-width: 800px;
            margin: 0;
            padding: 0;
            background: transparent;      /* 透明指定 */
            }

            .spinstablack {
                position: absolute; 
                top: 198vw; 
                left: 39vw; 
                width: 8vw; 
            } 

            .splineblack {
                position: absolute; 
                top: 198vw; 
                left: 53vw; 
                width: 8vw; 
            }            

        }            

        /* PC版（601px以上の画面サイズ） */
        @media (min-width: 601px) {
            .spfotterback,
            .spcontactform,
            .splineregistration,
            .spestimate,
            .sptelnumber,
            .spbusinesshours01,
            .spfotterlogo,
            .sptelnumber02,
            .spbusinesshours02,
            .spadress,
            .spinstablack,
            .splineblack{
             display: none; 
                        }
                    }                