/* リセット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,
    .estimatebutton,
    .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; 
            } 

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

        

        /* スマホ版（600px以下の画面サイズ） */
        @media (max-width: 600px) {
            .pcheaderbg,
            .logoblack,
            .toppage,
            .service,
            .works,
            .message,
            .aboutus,
            .qa,
            .recruit,
            .insta,
            .line,
            .estimatebutton,
            .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;
            }
            }

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




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


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

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

            .fvtitle {
                display: block; 
                top: 12vw; 
                left: 35vw; 
                width: 25vw; 
            }               
        }


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

            .fvtitle { /* スマホ版タイトル */
                display: block; 
                top: 38vw; 
                left: 19vw; 
                width: 60vw; 
            }
        }

     
        





/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
   お問い合わせフォーム（PCデザイン）
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

            .contact-section {
            width: 100vw;
            display: flex;
            justify-content: center;
            }

            /* PC：fvtitle の少し下に固定配置 */
            @media (min-width: 601px) {
            .contact-section {
                position: absolute;
                top: 20vw; 
                left: 0;
            }
            .contact-inner {
            width: 72vw;
            background-color: #f4f4f4;
            border: 0.5vw solid #cfcfcf;
            padding: 4vw 2vw 4vw;
            box-sizing: border-box;
            }


            /* 入力エリアと確認エリア切り替え用 */
            .contact-form-area {
            margin-top: 1vw;
            }

            .contact-confirm-area {
            display: none;
            margin-top: 2vw;
            border-top: 0.1vw solid #b0b0b0;
            padding-top: 2vw;
            }

            /* JS でこのクラスを付ける */
            .contact-inner.is-confirm .contact-form-area {
            display: none;
            }

            .contact-inner.is-confirm .contact-confirm-area {
            display: block;
            }

            /* 1行分：左から「必須/任意」「ラベル」「入力欄」 */
            .contact-row {
            display: flex;
            align-items: center;
            padding: 2vw ;
            border-top: 0.1vw solid #d5d5d5;
            }

            .contact-row:last-of-type {
            border-bottom: 1vw solid #d5d5d5;
            }

            /* テキストエリア行だけ上揃えにする */
            .contact-row--textarea {
            align-items: flex-start;
            }

            /* 必須/任意ラベル */
            .contact-status {
            width: 4vw;
            display: flex;
            align-items: center;
            justify-content: center;
            }

            .contact-status span {
            display: inline-block;
            padding: 0.5vw 0.5vw;
            border-radius: 0.1vw;
            font-size: 1vw ;
            color: #fff;
            }

            .contact-status--required span {
            background-color: #f0522f;
            }

            .contact-status--optional span {
            background-color: #999999;
            }

            /* ラベル（日本語＋英語） */
            .contact-label {
            width: 20vw;                
            padding-left: 2vw;
            box-sizing: border-box;
            }

            .label-jp {
            display: block;
            font-size: 1.2vw;
            }

            .label-en {
            display: block;
            font-size: 1vw;
            color: #0060aa;
            }

            /* 入力欄 */
            .contact-input {
            flex: 1;
            padding-left: 1vw;
            box-sizing: border-box;
            }

            .contact-input input[type="text"],
            .contact-input input[type="email"],
            .contact-input textarea {
            width: 100%;
            padding: 1vw 1vw;
            border: 0.1vw solid #c9dfe4;
            background-color: #e9fdff;
            font-size: 1.2vw;
            box-sizing: border-box;
            }

            .contact-input textarea {
            height: 12vw;
            resize: vertical;
            }

            /* ボタン共通 */
            .contact-buttons {
            text-align: center;
            margin-top: 12vw;
            }

            .contact-buttons--center {
            margin-top: 4vw;
            }

            .btn {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1vw 5vw;
            border-radius: 0.1vw;
            border: none;
            cursor: pointer;
            font-family: "hiragino-kaku-gothic-pron", sans-serif;
            font-weight: 600;
            font-style: normal;
            }

            .btn-confirm {
            background-color: #f28c38;
            color: #ffffff;
            text-align: center;
            line-height: 1.1; 
            }

            /* 日本語　確認画面へ */
            .btn-confirm .jp {
            font-size: 1.4vw;
            margin-top: 0.5vw;  
            }

            /* 英語　go to confirmation screen */
            .btn-confirm .en {
            font-size: 1vw;
            margin-top: 0vw; 
            opacity: 0.7;
            line-height: 0.7; 
            }

            /* 戻るボタン */
            .btn-back {
            background-color: #cccccc;
            color: #333333;
            margin-right: 8px;
            }

            /* 送信ボタン（ダミー送信） */
            .btn-submit {
            background-color: #e95527;
            color: #ffffff;
            }

            /* 確認テーブル */
            .confirm-heading {
            font-size: clamp(15px, 1vw + 10px, 20px);
            margin: 0 0 14px;
            }

            .confirm-table {
            width: 100%;
            border-collapse: collapse;
            font-size: clamp(12px, 0.8vw + 7px, 16px);
            }

            .confirm-table th,
            .confirm-table td {
            padding: 8px 0;
            border-top: 1px solid #dddddd;
            vertical-align: top;
            }

            .confirm-table th {
            width: 180px;
            padding-right: 16px;
            font-weight: 600;
            }   
            }     




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


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

        /* フッター全体の基準箱 */
        .site-footer{
            position: relative;   
            width: 100vw;
            margin: 115vw 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デザイン）
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

        @media (max-width: 600px) {

        /* セクション全体：中央寄せ＋上に少し余白 */
        .contact-section {
            width: 100vw;
            display: flex;
            justify-content: center;
            position: relative;
            margin: 60vw 0 40vw;  /* 上40px・下60px（お好みで調整OK） */
        }

        /* フォーム枠本体 */
        .contact-inner {
            width: 92vw;
            background-color: #f4f4f4;
            border: 1vw solid #cfcfcf;
            padding: 6vw 5vw 6vw;
            box-sizing: border-box;
        }

        /* 入力エリアと確認エリア切り替え用 */
        .contact-form-area {
            margin-top: 2vw;
        }

        .contact-confirm-area {
            display: none;
            margin-top: 5vw;
            border-top: 0.1vw solid #b0b0b0;
            padding-top: 5vw;
        }

        /* JS でこのクラスを付ける（PCと同じ挙動） */
        .contact-inner.is-confirm .contact-form-area {
            display: none;
        }

        .contact-inner.is-confirm .contact-confirm-area {
            display: block;
        }

        /* 1行分：SPは「縦並び」に変更 */
        .contact-row {
            display: flex;
            flex-direction: column;   /* ← ラベルの下に入力欄 */
            align-items: flex-start;
            padding: 2vw 0;
            border-top: 0.1vw solid #d5d5d5;
        }

        .contact-row:last-of-type {
            border-bottom: 0.1vw solid #d5d5d5;
        }

        /* テキストエリア行だけ上揃えにする（縦並びでも一応残しておく） */
        .contact-row--textarea {
            align-items: flex-start;
        }

        /* 必須/任意ラベル（SPでは上に乗る） */
        .contact-status {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 2vw;
        }

        .contact-status span {
            display: inline-block;
            padding: 1vw 2vw;
            border-radius: 0.1vw;
            font-size: 3.8vw;   
            color: #fff;
        }

        .contact-status--required span {
            background-color: #f0522f;
        }

        .contact-status--optional span {
            background-color: #999999;
        }

        /* ラベル（日本語＋英語） */
        .contact-label {
            width: 100%;
            padding-left: 0;
            margin-bottom: 3vw;
            box-sizing: border-box;
        }

        .label-jp {
            display: block;
            font-size: 4.5vw;   
        }

        .label-en {
            display: block;
            font-size: 3.5vw;
            color: #0060aa;
        }

        /* 入力欄（常に100%幅） */
        .contact-input {
            width: 100%;
            padding-left: 0;
            box-sizing: border-box;
        }

        .contact-input input[type="text"],
        .contact-input input[type="email"],
        .contact-input textarea {
            width: 100%;
            padding: 3vw 6vw;
            border: 1px solid #c9dfe4;
            background-color: #e9fdff;
            font-size: 4.5vw;  
            box-sizing: border-box;
        }

        .contact-input textarea {
            height: 50vw;
            resize: vertical;
        }

        /* ボタン共通（PCとほぼ同じにしつつSP用サイズ） */
        .contact-buttons {
            text-align: center;
            margin-top: 12vw;
        }

        .contact-buttons--center {
            margin-top: 12vw;
        }

        .btn {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2vw 5vw;
            border-radius: 1vw;
            border: none;
            cursor: pointer;
            font-family: "hiragino-kaku-gothic-pron", sans-serif;
            font-weight: 600;
            font-style: normal;
        }

        .btn-confirm {
            background-color: #f28c38;
            color: #ffffff;
            text-align: center;
            line-height: 1.2;
        }

        /* 日本語　確認画面へ */
        .btn-confirm .jp {
            font-size: 4.5vw;
            margin-top: 1vw;
        }

        /* 英語　go to confirmation screen */
        .btn-confirm .en {
            font-size: 3vw;
            margin-top: 0;
            opacity: 0.7;
            line-height: 1;
        }

        /* 戻るボタン */
        .btn-back {
            background-color: #cccccc;
            color: #333333;
            margin-right: 1vw;
        }

        /* 送信ボタン（ダミー送信） */
        .btn-submit {
            background-color: #e95527;
            color: #ffffff;
        }

        /* 確認テーブル（見た目PCに近づける） */
        .confirm-heading {
            font-size: 5vw;
            margin: 2vw 0 1vw;
        }

        .confirm-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 4vw;
        }

        .confirm-table th,
        .confirm-table td {
            padding: 3vw 0;
            border-top: 0.1vw solid #dddddd;
            vertical-align: top;
        }

        .confirm-table th {
            width: 40vw;
            padding-right: 1.5vw;
            font-weight: 600;
        }
        }        




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

   .spfotterback,
   .spcontactform,
   .splineregistration,
   .spestimate,
   .sptelnumber,
   .spbusinesshours01,
   .spfotterlogo,
   .sptelnumber02,
   .spbusinesshours02,
   .spadress,
   .spinstablack,
   .splineblack {
    position: absolute; 
    height: auto; 
    }

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

            .spcontactform {
                display: block; 
                top: 531.8vw; 
                left: 3.8vw; 
                width: 30vw; 
            }

            .splineregistration {
                display: block; 
                top: 532vw; 
                left: 34.5vw; 
                width: 31vw; 
            }

            .spestimate {
                display: block; 
                top: 531.5vw; 
                left: 66vw; 
                width: 30vw; 
            }

            .sptelnumber {
            position: absolute;           
            top: 502.5vw;                    
            left: 24vw;                   
            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: 514vw;                    
            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 {
                display: block; 
                top: 591vw; 
                left: 26vw; 
                width: 45vw; 
            }            

            .sptelnumber02 {
            position: absolute;           
            top: 609vw;                    
            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: 615vw;                    
            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: 623vw;                    
            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 {
                display: block; 
                top: 631vw; 
                left: 39vw; 
                width: 8vw; 
            } 

            .splineblack {
                display: block; 
                top: 631vw; 
                left: 53vw; 
                width: 8vw; 
            }            

        }            

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