/*
 * レスポンシブ対応用CSS
 * このコードを既存の style.css に追加して、ハンバーガーメニューを実装します。
 */

/* ==================================================================== */
/* 共通スタイル */
/* ==================================================================== */
body {
/*    font-family: 'DM Sans', sans-serif;*/
/*    font-family: 'Noto Sans JP', sans-serif;*/
    /*font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;*/
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック体", YuGothic, sans-serif, -apple-system, BlinkMacSystemFont;
     color: #333;
    line-height: 1.6;
    margin: 0;
    background: #000;
}

main {
    /*padding-top: 70px;*/ /* mainタグに固定ヘッダーの高さ分を確保 */
}


.container {
/*    max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 0px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #FFF;
}
h4{
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #00A99D;
}

.company_adressBox{
    margin: 0 auto;
    width: 780px;
    color: #343D48;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    text-align: left;
}
.company_adress{
    width: 250px;
}
footer{
    text-align: center;
    background: #fff;
    width: 1728px;
    margin: auto;
    height: 65px;
    padding-top: 40px;
    padding-bottom: 50px;
}
.footerInner{
    width: 832px;
    margin: auto;
}
.logo_footer {
    width: 200px;
    float: left;
    position: relative;
    top: -25px;
}
.logo_footer img{
    width: 200px;
}
.copyright{
    width: 100%;
    background: #fff;
    width: 100%;
    color: rgb(52, 61, 72);
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}

/*====================
  共通セクションスタイル
====================*/
.section {
    padding: 0px 0;
    text-align: center;
}
#topspacer{
    height: 0px;
    background: #fff;
    width: 1728px;
    margin: auto;
}
#strengths,#features,#plan,#flow{
    background: #fff;
    width: 1728px;
    margin: auto;
    padding-top: 30px;
}
#strengths{
    padding-top: 70px;
    background: #F9FAFC;
    padding-bottom: 100px;
}
#flow {
    margin: 0 auto;
    background-image: url(./img/back_blue.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 50px;
}

#plan { 
    margin: 0 auto;
    background-image: url(./img/back_plan.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 70px;
    padding-bottom: 140px;

}
#company { 
    background-color: #ffffff; 
    padding-top: 100px;
    width: 1728px;
    margin: auto;
    padding-bottom: 100px;
}

.toiawaseBox{
    position: relative;
    background: #0B9ADB;
    height: 100px;
    width: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    border-radius: 0 0 5px 5px;

}
.toiawaseBox:hover,
a.toiawaseBox:hover {
  color: #fff;
  background: #007BB3;
}

.free_toiawase,
a.free_toiawase {
    color: #fff;
/*    background-color: #00A99D;*/
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    margin-top: 23px;
}
.free_toiawase:hover,
a.free_toiawase:hover {
  color: #fff;
}

.free_arrow{
    color: #fff;
}
.free_arrow::after{
    content: '';/*何も入れない*/
    display: inline-block;
    width: 35px;/*画像の幅*/
    height: 35px;/*画像の高さ*/
    background-image: url(./img/free_arrow.png);
    background-size: contain;
    vertical-align: middle;
    right: -5px;
    position: relative;
    top: -3px;
}

.free_toiawase_green,
a.free_toiawase_green {
    width: 256px;
    height: 50px;
    color: #fff;
    
    background: -moz-linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    background: -webkit-linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    background: linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    

    text-decoration: none;
    padding: 10px;
    border-radius: 50px; 
    padding: 10px 50px 10px 50px;
}
.free_toiawase_green:hover,
a.free_toiawase_green:hover {
  color: #fff;
}

/*====================
  導入の流れセクション
====================*/
.stepBoxes {
    display: flex;
    margin-top: 50px;
    max-width: 960px; /* 親要素の最大幅を調整 */
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.stepBox {
    padding: 20px;
    width: 170px;
}

.stepBox h4 {
    margin-bottom: 5px;
}

.stepBox h5 {
    font-size: 1.2rem;
    margin-bottom: 45px;
    text-align: left;
}

.stepBox span {

}
.stepNumBox{
    background: #ffffff;
    width: 30px;
    height: 33px;
    border-radius: 30px;
    padding: 21px;
    margin-bottom: 30px;
}
.stepArrowBox{
    float: left;
}
.stepNum{
    color: #0B9ADB;
    font-size: 30px;
    position: relative;
    text-align: center;
    top: -5px;
    left: -3px;
}
span > .stepBox{
    margin-top: 50px;
}

.stepTopBox{
    display: flex;
    width: 170px;
}
.stepBoxleft{
    width: 70px;
}
.stepBoxright{
    float: left;
    width: 100px;
    margin-left: 10px;
    position: relative;
    top: 20px;
    left: 15px;
}
.stepTitle{
    height: 100px;
}
.stepText{
    height: 200px;
    text-align: left;
    
}

.uppercase-text{
    text-transform: uppercase;
    font-weight: bold;
}

.font15{
    font-size: 15px;
}
.white{
    color: #ffffff;
}

.sectionTitle{
    color: #00A99D;
    text-align: center;
/*    font-family: "DM Sans";*/
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px; /* 307.692% */
    text-transform: uppercase;
}
.subtitle{
    margin: 0;
    color: #0F2137;
    text-align: center;
   /* font-family: "DM Sans";*/
    font-size: 30px;
    font-style: normal;
    font-weight: bold;
    line-height: 50px; /* 166.667% */
    letter-spacing: -0.5px;
}

#service{
    background: #fff;
    overflow: auto;
    width: 1728px;
    margin: auto;
    padding-top: 100px;
/*    background: #A00000;*/
}
.serviceBoxes{
    display: flex;
    align-items: stretch;
}
.service_planleft{
    float: left;
    width: 50%;
    background-image: url(./img/mockup.png);
    background-size: contain; /* 要素内に収まるように拡大・縮小 */
    background-repeat: no-repeat; /* 繰り返しなし */

}
.service_planright{
    float: left;
    width: 50%;
}
.serviceRightInner{
    padding: 10px 0 30px 30px;
}
.service_top{
    text-align: left;
}
.service_read{
    color: #0F2137;
/*    font-family: "DM Sans";*/
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: 65px; /* 144.444% */
    letter-spacing: -1.5px;
}
.service_read_color{
    color: #0B9ADB;
    text-align: left;
}
.service_text{
    padding-top: 0px;
    font-size: 16px;
    width: 423px;
    color: #3F3B3A;
    text-align: justify;
/*    font-family: Roboto;*/
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 210%; /* 37.8px */
    letter-spacing: -0.9px;

}
.textForSP{
    display: none;
}
/*吹き出し*/
.balloons{
    display: flex;
    flex-direction: column;
}
.font-red{
    color: #f00;
}

.balloon1 {
    background-repeat: no-repeat;
    width: 500px; /* 必要に応じて調整 */
    height: 150px; /* 必要に応じて調整 */
    background-image: url(./img/hukidashi1.png);
    background-size: auto; /* 画像の大きさをそのまま */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-position: center; /* 中央に配置 */
    position: relative;
}
.balloon1Text{
    position: relative;
    top: 40px;
    color: #fff;
    font-size: 14px;
}
.balloonTitle{
    font-size: 16px;
}
.balloon1 p {
  margin: 0;
  padding: 0;
}

/*hukidasi2*/
.balloon2 {
    background-repeat: no-repeat;
    width: 500px; /* 必要に応じて調整 */
    height: 170px; /* 必要に応じて調整 */
    background-image: url(./img/hukidashi2.png);
    background-size: auto; /* 画像の大きさをそのまま */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-position: center; /* 中央に配置 */
    position: relative;
    left: -100px;

}
.balloon2Text{
    position: relative;
    top: 47px;
    color: #fff;
    font-size: 14px;
}
.balloon2 p {
  margin: 0;
  padding: 0;
}
.balloon3 {
    background-repeat: no-repeat;
    width: 500px; /* 必要に応じて調整 */
    height: 150px; /* 必要に応じて調整 */
    background-image: url(./img/hukidashi3.png);
    background-size: auto; /* 画像の大きさをそのまま */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-position: center; /* 中央に配置 */
    position: relative;
}
.balloon3Text{
    position: relative;
    top: 40px;
    color: #fff;
    font-size: 14px;
}
.ourService{
    font-size: 16px;
    margin-bottom: 5px;
    color: #00A99D;
}

/* 強みセクション: 2列表示に */
.strengthBoxes {
    display: inline-grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
}

.strengthBox{
    margin-bottom: 30px;
}
.strengthBox > p{
    font-size: 14px;
    text-align: left;
    width: 330px;
}

.strength_upBox{
    text-align: left;
    padding-bottom: 20px;
}
.strength_upBox_pic{
    position: relative;
    top: 0px;
    left: 0px;
}
.strengthTitle{
    text-align: left;
}

#features{
    padding-top: 100px;
    padding-bottom: 120px;
}
.flowTitle{
    color: #FFF;
    text-align: center;
    /*font-family: "DM Sans";*/
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 307.692% */
    letter-spacing: 2.1px;
    text-transform: uppercase;
}
.flowSubTitle{
    color: #FFF;
    text-align: center;
    font-family: "DM Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px; /* 183.333% */
    letter-spacing: -1.5px;
}
/*====================
  機能セクション
====================*/
.functionBoxes {
    display: inline-grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
}

.functionBox {
    width: 368px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 50px 0 rgba(91, 132, 193, 0.10);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
}

.functionBox > p {
}

.funcHeader > span{
    font-size: 14px;
    padding-bottom: 20px;
    font-weight: normal;
    padding-top: 15px;
    line-height: 2.5em;
}

.funcHeader{
    height: 35px;
    background: -moz-linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    background: -webkit-linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    background: linear-gradient(left, #3FDBB1 0%, #00ABEE 100%);
    color: #ffffff;
    width: 100%;
    border-radius: 10px 10px 0 0;
    text-align: center;
}
.funcBoxInner{
    padding: 20px;
    margin: 0 auto;
}
.funcBoxInner_up{
    height: 265px;
}
.funcTitle{
    color: #0F2137;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.funcText{
    padding-top: 0px;
    padding-bottom: 30px;
}
.functionText{
    color: #343D48;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 237%; /* 23.8px */
    letter-spacing: -0.7px;

}
.functionText:before{
    content: url(./img/pay_check.png);
    background-size: contain;
    vertical-align: middle;
    position: relative;
    top: 2px;
    padding-right: 6px;
}    

.functionBox > h5 {
    margin: 0 0 10px 0;
}

.functionBox > span {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.functionBox img {
    border-radius: 4px;
}


/*====================
  Price
====================*/
.priceBox{
    display:flex;
    justify-content: space-between;
    justify-content:center; 
}
.price_plan{
    width: 360px;
    height: 306px;
    background: #ffffff;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 47px 0 rgba(38, 78, 118, 0.08);
}
.price_top{
    height:30px;
}
.payMonth{
    color: #343D48;
    padding-top: 0px;
    text-align: center;
/*    font-family: "DM Sans";*/
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.55px;
}
.payNum{
    color: #3FDBB1;
    text-align: right;
    font-family: "DM Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.55px;
}
.payText:before{
    content: url(./img/pay_check.png);
    background-size: contain;
    vertical-align: middle;
    position: relative;
    right: 10px;
    top: 3px;
}    
.payText{
    color: #343D48;
/*    font-family: "DM Sans";*/
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 175% */
    margin-bottom: 30px;
}
.plan_otoku{
    position: relative;
    right: -70px;
    top: 10px;
}
.section_text{
    font-weight: bold;
    font-size: 20px;
}

/*====================
  トップへ戻るボタン
====================*/
#page-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

#page-top.show {
    opacity: 1;
    visibility: visible;
}

#page-top:hover {
    background-color: #0056b3;
}

/* ==================================================================== */
/* ヘッダーセクション */
/* ==================================================================== */

/* デスクトップ版のナビゲーションを非表示にする */
.navBox {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    border-radius: 25px;
    /* background-color: rgba(255, 255, 255, 1.0); */
    background: #9FA5AC;
    margin: auto;
    margin-left: 250px;
    position: relative;
    left: 36px;
    margin-top: 18px;
    justify-content: center;
    width: 595px;
}

.navBox nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    top: 2px;
}

header {
    position: fixed; /* ヘッダーを固定 */
    top: 0; /* 画面上部に配置 */
    left: 0;
    width: 100%; /* 横幅を100%に */
    z-index: 1000; /* 他の要素の上に表示 */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 20px; */
    width: 1280px;
    margin: auto;
/*    background: #fff;*/
    height: 60px;
}

.logo{
    width: 1280px;
    margin: auto;
    height: 60px;
    position: relative;
    z-index: 100;
}
.logo_sp{
    display: none;
}
.logo img {
/*    height: 50px; */
}

/* ハンバーガーメニューボタンのスタイル */
.hamburger-menu {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    right: -20px;
    top: 26px;
    z-index: 1000; /* ナビゲーションの上に配置 */

}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #8794BA;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューがアクティブな時のスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* モバイル用ナビゲーションメニューのスタイル */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%; /* メニューの幅 */
    height: 100vh;
    background-color: #fff;
    padding-top: 80px; /* ヘッダーの高さ分スペースを確保 */
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    z-index: 999;
    transform: translateX(100%); /* 初期位置は画面外 */
}

.mobile-nav.active {
    transform: translateX(0); /* アクティブ時にスライドイン */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav li a {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
}
.company_info {
    text-align: left;
    width: 785px;
    margin: auto;
}

.companyAdressName{
    padding-top: 30px;
}
.company_zip{
    padding-top: 30px;
    height: 80px;
    line-height: 2.5em;
}
.company_tel{
    padding-top: 50px;
    line-height: 2.5em;
}
.company_link{ 
    color: #000; 
}

.hr_line{
    border: none;
    height: 0.5px;
    background-color: #E5ECF4;
    margin-top: 30px;
    width: 45%;
}
.sp_br{
    display: block;
}
.footer_toiawase{
    display: none;
}

/* 動画のレスポンシブ対応 */
#hero {
    position: relative;
    width: 1728px;
    height: 810px;
    margin: auto;
    /* 動画の縦横比を維持するために高さを調整 */
/*    height: 56.25vw;*/
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-video_sp {
    display: none
}

.hero-video video {
    width: 100%; /* 横幅を常に100%にする */
    height: 100%; /* 親要素に合わせて高さを調整 */
    object-fit: cover; /* 画面全体に動画をフィットさせる */
}

.toiawaseFooterBox{
    display: none;
}
/* ==================================================================== */
/* レスポンシブデザイン
/* ==================================================================== */
/*
 * --------------------------------
 * タブレット (768px〜1024px)
 * --------------------------------
 */
@media screen and (max-width: 1024px) {
  /* ここにタブレット用のスタイルを記述します */
  body {
    font-size: 16px;
  }
    main{
        width: 490px;
        margin: auto;
    }
  
    
        /* ハンバーガーメニューを表示 */
    .menuPotision{
        position: fixed;
        width: 70px;
        height: 70px;
        background: #172755;
        box-shadow: 0 4px 4px 0 #172755;
        right: 0;        
    }

    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }
    
    .logo{
        display: none;
    }
    .logo_sp{
        display: block;
        width: 100%;
        margin: auto;
        height: 60px;
        position: relative;
        z-index: 100;
    }

    .section{
        padding: 40px 0;
    }

    #hero {
        position: relative;
        width: 100%;
        height: 790px;
        margin: auto;
    }

    .hero-video {
        display: none;
    }
    .hero-video_sp {   
        
        display: block;
        background: #fff;
        width: 100%;
        height: 100%;
    }

    .hero-video_sp video {
        width: 100%; /* 横幅を常に100%にする */
        height: 100%; /* 親要素に合わせて高さを調整 */
        object-fit: cover; /* 画面全体に動画をフィットさせる */
    }

    /* デスクトップナビゲーションと「今すぐ無料ではじめる」ボタンを非表示 */
    .navBox,
    .toiawaseBox {
        display: none;
    }
    .sectionTitle{
        font-size: 10px;
    }
    .subtitle{
        font-size: 16px;
    }
    .container {
        width: 82%;
        padding: 0;
    }
    #topspacer,#service,#strengths,#plan,#flow,#features,#company,footer{
        width: 100%;
    }
    #service{
        padding-top: 0;
    }
    .logo{
        width: 100%;
    }
    .footerInner{
        width: 100%;
    }
    .balloons {
        padding-bottom: 80px;
    }

    .ourService{
        font-size: 10px;
        margin-bottom: 5px;
        text-align: center;
        padding-bottom: 35px;
    }

    .serviceBoxes{
        flex-direction: column-reverse;
    }
    .service_text{
        width: 100%;
    }
    .service_planleft{
        width: 100%;
        height: 300px;
    }
    .service_planright{
        width: 100%;
    }
    .serviceRightInner{
        padding: 0 30px;
    }
    .service_readBox{
        text-align: center;
        line-height: 24px;
    }
    .service_read{
        font-size: 16px;
        text-align: center;
        line-height: 10px;
        font-weight: 400;
    }
    .balloon1{
        left: 0;
        width: 100%;
    }
    .balloon2{
        left: 0;
        width: 100%;
    }
    .balloon3{
        left: 0;
        width: 100%;
    }
    #strengths{
        padding-bottom: 30px;
    }
    .strengthBoxes{
        display: flex;
        flex-direction: column;
        margin: auto 10px;
        padding-top: 40px;

    }
    .strengthBox > p{
        width: 100%;
        margin-bottom: -8px;
    }
    .strength_upBox{
        padding-top: 20px;
        padding-bottom: 0;
    }
    .strengthTitle{
        margin: 0;
        margin-top: 10px;
    }
    .strengthBox {
        margin-bottom: 0;
    }
    /*
    .functionBoxes{
        display: block;
        margin: auto 10px;
    }
        */
    .textForSP{
        display: block;
        font-size: 15px;
    }
    #features{
        padding-top: 50px;
        padding-bottom: 80px;
    }
    .functionBox{
        width: 100%;
        margin-bottom: 40px;
    }
    .functionText{
        font-size: 12px;
    }
    .stepBoxes{
        display: block;
    }
    .child_1{
        order: 1;
    }
    .child_2{
        order: 2;
    }
    .child_3{
        order: 3;
    }
    .child_4{
        order: 4;
    }
    .child_5{
        order: 5;
    }
    .child_6{
        order: 6;
    }

    .functionBoxes{
        display: block;
        margin-top: 0px;
    }
    .stepBox {
        padding-bottom: 50px;
    }
    .stepNumBox{
        position: relative;
        left: 20px;
    }
    .stepTitle {
        height: 30px;
        padding: 0 0 0 20px;
    }
    .stepText {
        height: 100px;
        text-align: left;
        padding: 20px;
    }
    #plan{
        padding-top: 30px;
        padding-bottom: 70px;
    }
    .plan_otoku{
        right: 0px;
        top: 10px;
    }
    #flow{
        padding-top: 50px;
    }
    .company_adressBox{
        display: block;
        width: 100%;
        font-size: 14px;
        text-align: left;
    }
    .company_adress{
        width: 100%;
    }
    .hr_line{
        width: 100%;
    }
    .stepBox h5 {
        margin: 0;
    }
    .stepBox{
        padding: 0px;
        width: 100%;
    }
    .priceBox{
        display: block;
    }
    .price_plan{
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .stepBoxright{
        display: none;
    }
    .company_info {
        width: 100%;
        font-size: 12px;
    }
    .flowTitle{
        font-size: 10px;
    }
    .flowSubTitle{
        font-size: 16px;
    }
    .sp_br{
        display: none;
    }
    #company {
        margin: auto 0px;
        padding-top: 50px;
    }
     .company_adressBox{
        display: block;
        width: 100%;
        font-size: 14px;
        text-align: left;
    }
    .company_adress{
        width: 100%;
    }
    .company_tel{
        line-height: 2.5em;
        padding-top: 20px;
    }
    .copyright{
        font-size: 12px;
    }
    .footer_toiawase {
        display: block;
        text-align: center;
        padding: 10px 0 10px 0;
        background: #108b3b;
        bottom: 0;
        z-index: 99;
        border-radius: 25px;
        margin: auto;
        width: 80%;
    }

    footer {
        padding-bottom: 150px;
    }
    .toiawaseBtn{
        width: 490px;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

    .free_toiawase_footer{
        margin: auto;
        text-align: center;
        width: 90%;
        display: block;
        background: #0B9ADB;
        color: #fff;
        border-radius: 25px;
        padding: 5px 0 5px 0;
    }
    a.free_toiawase_footer {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        border-radius: 25px;
        width: 80%;
    }
    .free_toiawase_footer:hover,
        a.free_toiawase_footer:hover {
        color: #fff;
        background: #EF2A82;
    }
    
    .logo_footer{
        width: 100%;
    }
    .toiawaseFooterBox{
        display: block;
        width: 100%;
    }


}

/*
 * --------------------------------
 * スマホ (〜767px)
 * --------------------------------
 */
@media (max-width: 767px) {
/*
    .toiawaseBtn{
        width: 100%;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }
        */
    main{
        width: 100%;
    }
    .service_text{
        font-size: 12px;
    }
    .service_planleft{
        width: 100%;
        background-image: url(./img/mockup_sp.png);
        background-size: contain; /* 要素内に収まるように拡大・縮小 */
        background-repeat: no-repeat; /* 繰り返しなし */
        height: 235px;

    }
    .balloon2 p ,.balloon1 p{
       padding: 10px;
    }
    .balloonTitle{
        font-size:12px;
    }
    .balloon2 p {
    margin: 0;
    padding: 0;
    }
    .balloon1Text,.balloon2Text,.balloon3Text{
        font-size: 10px;
    }
    
    .toiawaseBtn {
        width: 100%;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

}



/*====================
  スクロールアニメーションのスタイル
====================*/
/* アニメーション要素の初期状態 */
.scroll-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 画面内に入ったときの状態 */
.scroll-animation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* STEPボックスにアニメーション遅延を適用 */
.stepBoxes .stepBox:nth-child(1).is-visible {
    transition-delay: 0s;
}
.stepBoxes .stepBox:nth-child(2).is-visible {
    transition-delay: 0.5s;
}
.stepBoxes .stepBox:nth-child(3).is-visible {
    transition-delay: 0.8s;
}
.stepBoxes .stepBox:nth-child(4).is-visible {
    transition-delay: 1.2s;
}
