/*
 * レスポンシブ対応用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;
    padding: 0;
    margin: 0;
    background: #000;
}

main {
    /*padding-top: 70px; /* mainタグに固定ヘッダーの高さ分を確保 */
    background: #fff;
    width: 1728px;
    margin: auto;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px;
}

/*
img {
    max-width: 80%;
    height: auto;
    margin-top: 98px;
}
*/
a {
    text-decoration: none;
    color: inherit;
}
h4{
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #EB5F18;
}
.logo{
    float: left;
    position: relative;
    top: -45px;
    left: 100px;
}

.logo img {
    position: relative;
    left: 0px;
    top: 0px;
    width: 220px;
}

.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: 15px;
    padding-bottom: 50px;
}
.footerInner{
    width: 832px;
    margin: auto;
}
.logo_footer {
    width: 200px;
    float: left;
}
.logo_footer img{
    width: 200px;
}
.copyright{
    width: 100%;
    background: #fff;
    color: #343D48;
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}

.company_info{
    text-align: left;
    width: 785px;
    margin: auto;
}

.companyAdressName{
    width: 250px;
    padding-top: 30px;
}
.company_zip{
    padding-top: 30px;
    height: 80px;
    line-height: 2.5em;
}
.company_tel{
    padding-top: 50px;
    line-height: 2.5em;
}

/*====================
  共通セクションスタイル
====================*/
.sectionTitle{
    color: #EB5F18;
    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;
}
.subtitle{
    color: #412210;
    text-align: center;
    font-family: "DM Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 42px */
    letter-spacing: -0.75px;
}
.section {
    padding: 15px 0 0 0;
    text-align: center;
}
.change-color{
    background: #EB5F18;
}
#top {
    margin: 0 auto;
    background-image: url(./img/back_top.png);
/*    background-size: cover;*/
    background-repeat: no-repeat;
/*    height: 100vh;*/
    height: 770px;
    width: 1728px;
    padding-top: 70px;
}
.top_ball1{
    width: 200px;
    position: relative;
    top: 550px;
    left: 269px;
}
.top_line1{
    height: 12px;
    background-color: #000;
    border: none;
    width: 250px;
    position: relative;
    left: -118px;
}
.top_line2{
    top: -20px;
    height: 12px;
    background-color: #000;
    border: none;
    width: 50px;
    position: relative;
    left: 60px;
}
.topReadBox{
    width: 100%;
}
#Tooener{
    background: #fff;
    width: 1728px;
    margin: auto;
}
#flow {
    margin: 0 auto;
    background-image: url(./img/back_orange.png);
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 95px;
    width: 1728px;
/*    height: 868px;*/
}

#plan { 
    margin: 0 auto;
    background-image: url(./img/back_plan.png);
    background-size: cover;
    background-repeat: no-repeat;

}
#strengths{
    padding-top: 100px;   
    padding-bottom: 100px;
    background: #fff;
    width: 1728px;
    margin: auto;
}

#strengths2{
    padding-top: 100px;   
    background: #fff;
    width: 1728px;
    margin: auto;
}

.strengthPointBoxes{
    width: 928px;
    margin: auto;
    height: 800px;
    margin-bottom: 50px;
/*    background: #0B9ADB;*/
}
.strengthPointBox{
    width: 928px;
    margin: auto;
    min-height: 300px;
/*    background: #0B9ADB;*/
/*    overflow: auto;*/
    display: flex;
    align-items: stretch;
    margin-top: 40px;
}
.strengthPointLeftBox{
    width: 50%;
/*    background: #F36B00;*/
    min-height: 300px;
    float: left;
    height: 630px;
}
.strengthPointRightBox{
    width: 50%;
/*    background: #11d255;*/
    min-height: 300px;
    float: left;
}

#company { 
    background-color: #ffffff;
    width: 1728px;
    margin: auto; 
    padding-top: 100px;
    padding-bottom: 100px;
}

.toiawaseBox{
    position: relative;
    background: #F6C416;
    height: 100px;
    width: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -10px;
    border-radius: 0 0 5px 5px;

}
.toiawaseBox:hover,
a.toiawaseBox:hover {
  color: #fff;
  background: #FFD52C;
}


.free_toiawase{
    color: #FF4B2B;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    top: 6px;
}
a.free_toiawase {
  color: #FF4B2B;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
}
.free_toiawase:hover,
a.free_toiawase:hover {
  color: #FF4B2B;
}
.free_arrow::after{
    content: '';/*何も入れない*/
    display: inline-block;
    width: 35px;/*画像の幅*/
    height: 35px;/*画像の高さ*/
    background-image: url(./img/free_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    right: -5px;
    position: relative;
    top: -3px;
}



.price_top{
    height: 300px;
   /* background: #fb7e09;*/
}

/*====================
  top
====================*/

.topBox{
    display:flex;
    justify-content: space-between;
    justify-content:center; 
    margin-top: 115px;
    width: 928px;
    margin: auto 0;
}
.topLeft{
    float: left;
    width: 100%;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    overflow: auto;
    position: relative;
    top: 106px;
}
.topRight{
    float: left;
    width: 34%;
   /* height: 306px;*/
   /* background: #fb7e09;*/
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    overflow: auto;
}
.topText{
    text-align: left;
    color: #412210;
/*    font-family: "Noto Sans";*/
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 71px; /* 157.778% */
    letter-spacing: -2px;
}
.topRead{
    text-align: left;
    color: #FFF;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 42px; /* 233.333% */
    letter-spacing: -1px;
}

/*====================
  導入の流れセクション
====================*/
.stepBoxes {
    display: flex;
    margin-top: 65px;
    max-width: 960px; /* 親要素の最大幅を調整 */
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.stepBox {
    padding: 20px;
    width: 170px;
}
.stepTitle{
    height: 100px;
}
.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: #EB5F18;
    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: 25px;
    position: relative;
    top: 20px;
}

.dmsans{
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.uppercase-text{
    text-transform: uppercase;
    font-weight: bold;
}

.font15{
    font-size: 15px;
}
.white{
    color: #ffffff;
}



/*====================
  service
====================*/
#service{
/*    background: #fff;*/
    overflow: auto;
}
.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: 30px;
}
.service_top{
    text-align: left;
}
.service_read{
    font-size: 40px;
    text-align: left;
}
.service_read_color{
    color: #0B9ADB;
    text-align: left;
}
.service_text{
    padding-top: 30px;
    font-size: 16px;
    width: 423px;
}
/*吹き出し*/
.balloons{
    display: flex;
    flex-direction: column;
}
.font-red{
    color: #f00;
}

.balloon1 {
    width: 220px;
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 15px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #fff;
    font-size: 14px;
    background: #000;
    border: solid 3px #000;
    box-sizing: border-box;
    border-radius: 7px;
    left: 180px;
}

.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;
}
.flowTitleJP{
    margin: 0;
    color: #FFF;
    text-align: center;
    font-family: "DM Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 55px; /* 183.333% */
    letter-spacing: -1.5px;   
}
.balloon1:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #000;
  z-index: 2;
}

.balloon1:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 18px solid #000;
  z-index: 1;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}
/*hukidasi2*/
.balloon2 {
    width: 220px;
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 15px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #fff;
    font-size: 14px;
    background: #000;
    border: solid 3px #000;
    box-sizing: border-box;
    border-radius: 7px;
     left: 70px;
}

.balloon2:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #000;
  z-index: 2;
}

.balloon2:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 18px solid #000;
  z-index: 1;
}

.balloon2 p {
  margin: 0;
  padding: 0;
}

.strengthSection1{
   /* background-image: url(./img/pattern_STRONGPOINT01.png);*/
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strengthSection2{
/*    background-image: url(./img/pattern_STRONGPOINT02.png);*/
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strengthSection3{
/*    background-image: url(./img/pattern_STRONGPOINT03.png);*/
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strong1_img{
/*    width: 395px;*/
    width: 353px;
    margin-top: 0px;
}
.strong2_img{
    width: 353px;
    margin-top: 0px;
}
.strong3_img{
    width: 353px;
    margin-top: 0px;
}
.ticket_img1{   
    position: relative;
    top: -300px;
    left: 177px;
    z-index: 99;
    width: 190px;
}
.ticket_img2{
    position: relative;
    top: -227px;
    left: -21px;
    z-index: 99;
    width: 190px;
}
.ticket_img3{
    position: relative;
    top: -251px;
    left: -122px;
    z-index: 99;
    width: 250px;
}
.ticket_img4{
    position: relative;
    top: -390px;
    left: 115px;
    z-index: 99;
     width: 250px;
}

/*ticket Anime*/
.swing1 {
    animation: swing 1.5s infinite ease-in-out;
    animation-duration: 5s;
}

@keyframes swing {
    0%, 100% {
    transform: rotate(-5deg);
    }
    50% {
    transform: rotate(5deg);
    }
}

.swing2 {
    animation: swing 1.0s infinite ease-in-out;
    animation-duration: 7s;
}

@keyframes swing {
    0%, 100% {
    transform: rotate(5deg);
    }
    50% {
    transform: rotate(-5deg);
    }
}

/* 画像のアニメーション */
.strengthBox.scroll-animation.is-visible .slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.strengthBox.scroll-animation.is-visible .slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.strengthBox.scroll-animation.is-visible .slide-in-down {
  animation: slideInDown 1s ease-out forwards;
}

@keyframes slideInDown {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.strengthBox.scroll-animation.is-visible .slide-in-down2 {
  animation: slideInDown2 1.5s ease-out forwards;
}

@keyframes slideInDown2 {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* strengthBox内の画像を絶対配置にする */
.strengthBox.scroll-animation {
    position: relative;
    /* アニメーションの対象となる画像以外のコンテンツを隠さないように高さを設定 */
    min-height: 200px; /* 画像の高さに合わせて調整してください */
}

/* 画像を重ねて配置し、初期状態を非表示にする */
.ticket_img5,.ticket_img6,.ticket_img7,.ticket_img8 {
    opacity: 0;
    /* アニメーション中はvisibilityをhiddenにして非表示に */
    visibility: hidden; 
    transition: opacity 1s ease-in-out;
}

/* キーフレームアニメーションを定義 */
@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

/* 各画像にアニメーションを適用 */
.strong3_img {
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0s;
}

.strengthBox.scroll-animation.is-visible .ticket_img5 {
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.5s; /* 2秒遅れて開始 */
}

.strengthBox.scroll-animation.is-visible .ticket_img6 {
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 1s; /* 4秒遅れて開始 */
}

.strengthBox.scroll-animation.is-visible .ticket_img7 {
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 1.5s; /* 6秒遅れて開始 */
}

/* .ticket_img8がある場合は、ここにアニメーションを追加してください */
.strengthBox.scroll-animation.is-visible .ticket_img8 {
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 2s; /* 8秒遅れて開始 */
}



.ticket_img5{
    position: relative;
    top: -444px;
    left: -15px;
    z-index: 91;
}
.ticket_img6{
    position: relative;
    top: -257px;
    left: -28px;
    z-index: 91;
    width: 170px;
}
.ticket_img7{   
    position: relative;
    top: -365px;
    left: 20px;
    z-index: 92;
}
.ticket_img8{
    position: relative;
    top: -377px;
    left: 99px;
    z-index: 93;
    width: 160px;
}



/* 強みセクション: 2列表示に */
.strengthBoxes {
    display: inline-grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
/*    max-width: 960px;*/
    /*max-height: 770px;*/
    margin-left: auto;
    margin-right: auto;
    width: 928px;
    height: 100vh;
}

.strength_upBox{
    text-align: left;
    padding-bottom: 20px;
}
.strength_upBox_pic{
    position: relative;
    top: -25px;
    left: 15px;
}
.strengthTitle{
    text-align: left;
}

.strongPointBox{
    border: 1px solid #E8EBF1;
    border-radius: 10px;
    overflow: auto;
    width: 454px;
    margin-bottom: 20px;
    margin-top: 10px;
    height: 140px;
}
.strongPic{
    float: left;
    width: 80px;
    display: flex;
    align-items: center;
    height: 45px;
    position: relative;
    top: 50px;
    left: 10px;
}
.strongText{
    float: left;
    width: 360px;
    text-align: left;
    color: #3F3B3A;
    text-align: justify;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%; /* 23.8px */
    letter-spacing: -0.7px;
}
.strongTextTitle{
    color: #3F3B3A;
    /*font-family: "Noto Sans";*/
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.4px;
}
.strongPoint{
    margin: 0;
    text-align: center;
    margin-left: 10px;
    color: #412210;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 166.667% */
}
.strongNum{
    color: #E83928;
    font-family: "DM Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;

}
.strongTitle{
    font-size: 20px;
    text-align: left;
    margin: 0;
    padding: 10px 0;
}

.strengthPointBoxes_order{
    display: flex;
}
.order_1{
  order: 1;
}
.order_2{
  order: 2;
}
.order_3{
  order: 3;
}
.itemReverse{

    display: flex;
    flex-direction: column-reverse;
}
/*====================
  機能セクション
====================*/
#features{
    background: #F2F2F2;
    padding-top: 50px;
    padding-bottom: 80px;
    width: 1728px;
    margin: auto;
}
.functionBoxes {
    display: inline-grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.functionBox {
    width: 269px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    box-shadow: 0 4px 15px 0 rgba(69, 88, 157, 0.05);
}

.functionBox > p {
}

.funcHeader > span{
    font-size: 14px;
    padding-bottom: 20px;
    font-weight: bold;
    padding-top: 15px;
    line-height: 2.5em;
}

.funcHeader{
    margin: auto;
    height: 35px;
/*    background-image: linear-gradient(45deg, #EE791D 0%, #E72C17 100%);*/
    background: #939393;
    color: #ffffff;
    width: 184px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    top: -20px;
}
.funcBoxInner{
    padding: 20px;
    margin: 0 auto;
}
.funcBoxInner_up{
    height: auto;
    text-align: center;
}
.funcTitle{
    font-size: 18px;
    padding-bottom: 20px;
    font-weight: bold;
    padding-top: 15px;
}
.funcText{
    padding-top: 30px;
}
.functionText{
    font-size: 14px;
    color: #3F3B3A;
    text-align: justify;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%; /* 23.8px */
    letter-spacing: -0.7px;
}
/*
.functionText:before{
    content: url(./img/pay_check.png);
    background-size: contain;
    vertical-align: middle;
    position: relative;
    top: 4px;
    padding-right: 15px;
}    
*/
.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;
}
.price_top{
    height:30px;
}
.payMonth{
    color: #343D48;
    padding-top: 20px;
    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: #EB5F18;
    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;
}

.line_Pic{
    display: block;
    margin-top: 20px;
}
.line_Pic_sp{
    display: none;
}
.to_oener_pic{
    margin-top: 52px;
}
.ToOwenerBox{
    width: 832px;
    height: 322px;
    border-radius: 30px;
    background: #FFFCF0;
    margin: auto;
    filter: drop-shadow(0 10px 40px rgba(69, 88, 157, 0.10));
}
.ToOwenerBoxTitle{
    margin: 0;
    color: #412210;
    text-align: center;
/*    font-family: "Noto Sans";*/
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 65px; /* 295.455% */
    letter-spacing: 0.2px;
    position: relative;
    margin-top: -20px;
}
.ToOwenerBoxText{
    width: 574px;
    height: 88px;
    color: #5C5C5C;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 195%; /* 35.1px */
    letter-spacing: -0.9px;
    margin: auto;
}

/*====================
  トップへ戻るボタン
====================*/
#page-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #FF5858;
    color: white;
    width: 50px;
    height: 50px;
    border-radius:25%;
    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: #ea3110;
}

.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: 20px;
    line-height: 2.5em;
}


.hr_line {
    border: none;
    height: 0.5px;
    background-color: #E5ECF4;
    margin-top: 30px;
    width: 66%;
}
.text_sp{
    display: block;
}
.stepBox h5 {
    font-size: 1.2rem;
    margin-bottom: 45px;
    text-align: left;
}
.stepBox h5 {
    margin: 0;
    font-size: 1.2rem;
    margin-bottom: 45px;
    text-align: left;
}
.stepText{
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
}
.flowStepTitle{
    font-size: 22px;
    color: #fff;
 }
 .qrcode{
    font-size: 12px;
    width: 860px;
    margin: auto;
    text-align: left;
 }
/* ==================================================================== */
/* ヘッダーセクション */
/* ==================================================================== */

.navBox {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    border-radius: 25px;
    /* background-color: rgba(255, 255, 255, 1.0); */
    margin: auto;
    margin-left: 260px;
    position: relative;
    left: 140px;
    background: #8d8683;
}

.navBox nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 33px; /* 206.25% */

}

header {
    position: fixed; /* ヘッダーを固定 */
    top: 0; /* 画面上部に配置 */
    left: 0;
    width: 100%; /* 横幅を100%に */
    z-index: 1000; /* 他の要素の上に表示 */
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.text_sp_block{
    display: none;
}

.toiawaseFooterBox{
    display: none;
}
/* ハンバーガーメニューボタンのスタイル */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 23px;
    cursor: pointer;
    position: relative;
    right: -24px;
    top: 23px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 70%;
    height: 3px;
    background-color: #A71900;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューがアクティブな時のスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイル用ナビゲーションメニューのスタイル */
.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;
}

/*====================
  スクロールアニメーションのスタイル
====================*/
/* アニメーション要素の初期状態 */
.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;
}

.notice_sp{
    display: none;
}
.notice_pc{
    display: block;
}
/* ==================================================================== */
/* レスポンシブデザイン
/* ==================================================================== */
/*
 * --------------------------------
 * タブレット (768px〜1024px)
 * --------------------------------
 */
 /*
@media screen and (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  #top {
       width: 100%;
        margin: 0 auto;
        background-image: url(./img/back_top_sp.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 100vh;
    }
    #Tooener{
        width: 100%;
    }
    #strengths2{
        width: 100%;
    }
    #flow{
        margin: 0 auto;
        background-image: url(./img/back_orange.png);
        background-repeat: repeat-y;
        padding-top: 80px;
    }
        #strengths,#features,#flow,#company{
        width: 100%;
    }
    #flow{
        padding-bottom: 30px;
    }
    #company{
        padding-top: 50px;
    }

    .strengthPointBoxes{
        width: 100%;
    }
    .strengthBoxes{
        width: 100%;
    }
    .strengthPointBox{
        width: 100%;
        margin: auto;
        min-height: 300px;
        background: #0B9ADB;
        display: block;
    }
    .strengthPointLeftBox{
        width: 100%;
        background: #F36B00;
        min-height: 300px;
        float: none;
    }
    .strengthPointRightBox{
        width: 100%;
        background: #11d255;
        min-height: 300px;
        float: none;
    }

    .topBox{
        display:block;
        justify-content: space-between;
        justify-content:center; 
        width: 100%;
    }
    .line_Pic{
        display: none;
    }
    .mockup_Pic{
        width: 70%;
    }
    .functionBox {
        width: 200px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
    }

    .strongTextTitle{
        text-align: center;
        height: 60px;
    }
    .strengthBox{

    }
    .strongPic{
        position: relative;
        top: 16px;
        left: 10px;
    }
    .strongTextDetail{
        width: 123%;
        position: relative;
        left: -59px;
    }
    .ticket_img5{
        top: -310px;
        left: -11px;
        width: 190px;
    }
    .ticket_img6{
        top: -455px;
        left: -83px;
        width: 130px;
    }
    .stepBox {
        padding: 20px;
        width: 130px;
    }
    .company_adressBox{
        width: 100%;
    }

    #features{
        padding-bottom: 100px;
    }
}
*/

.video-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px; /* PCでの初期サイズ */
  height: auto;
  z-index: 1000;
}

@media (max-width: 768px) {
  .video-container {
    width: 150px; /* スマホでのサイズ */
    bottom: 60px;
    right: 10px;
  }
}

video {
  width: 100%;
  height: auto;
  display: block;
}
.notice_pc{
    font-size: 12px;
}
/*
 * --------------------------------
 * スマホ (〜1024px)
 * --------------------------------
 */
@media (max-width: 1024px) {
    .headerMenuBox{
        width: 490px;
        margin: auto;
    }

  body {
    font-size: 16px;
    background: #f6c416;
/*    background-image: url(./img/back_tbl.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
  }
  main{
    width: 490px;
    margin: auto;
    background: #fff;
  }
  #top {
       width: 490px;
        margin: 0 auto;
        background-image: url(./img/back_top_490.png);
        background-size: cover;
        background-repeat: no-repeat;
        
    }
    #Tooener{
        width: 100%;
        padding-top: 50px;
    }
    #strengths2{
        width: 100%;
        overflow: auto;
        overflow-x: hidden;
    }
    #flow{
        margin: 0 auto;
        background-image: url(./img/back_orange_sp.png);
        background-size: cover;
        background-repeat: repeat-y;
        padding-top: 65px;
    }
        #strengths,#features,#flow,#company{
        width: 100%;
    }
    #flow{
        padding-bottom: 30px;
    }
    #company{
        padding-top: 50px;
    }

    .strengthPointBoxes{
        width: 100%;
        display: contents;
    }
    .strengthBoxes{
        width: 100%;
    }
    .strengthPointBox{
        width: 100%;
        margin: auto;
        min-height: 300px;
/*        background: #0B9ADB;*/
        display: block;
    }
    .strengthPointLeftBox{
        width: 100%;
/*        background: #F36B00;*/
        min-height: 300px;
        height: 870px;
        clear: left;
    }
    .strengthPointRightBox{
        width: 100%;
/*        background: #11d255;*/
        min-height: 300px;
    }

    .topBox{
        display:block;
        justify-content: space-between;
        justify-content:center; 
        width: 100%;
    }
    .line_Pic{
        display: none;
    }
    .line_Pic_sp{
        display: block;
        margin-top: 30px;
    }
    .mockup_Pic{
        width: 70%;
    }
    .functionBox {
        width: 200px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
    }

    .strongTextTitle{
        text-align: left;
        height: 60px;
    }

    .strongPic{
        position: relative;
        top: 16px;
        left: 10px;
    }
    .strongTextDetail{
        width: 123%;
        position: relative;
        left: -59px;
    }
    .ticket_img5{
        top: -310px;
        left: -11px;
        width: 190px;
    }
    .ticket_img6{
        top: -455px;
        left: -83px;
        width: 130px;
    }
    .stepBox {
        padding: 20px;
        width: 130px;
    }
    .company_adressBox{
        width: 100%;
    }

    #features{
        padding-bottom: 50px;
    }

    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }
    .menuPotision{
        /*
        position: fixed;
        width: 46px;
        height: 70px;
        background: #E83928;
        box-shadow: 0 4px 4px 0 rgba(65, 34, 16, 0.40);     
        */
        
        position: fixed;
        width: 65px;
        height: 65px;
        box-shadow: rgba(34, 67, 0, 0.3) 0px 4px 4px 0px;
        right: 0px;
        top: 0px;
        z-index: 100;
        background: #E83928;
    }

    .stepBox h5 {
        font-size: 16px;
    }
    .headMenu {
        height: 36px;
        padding-top: 10px;
        /* background: #f00; */
        width: 50px;
        float: right;
        position: relative;
    }

    .logo{
        left: 0px;
    }
    .section{
        padding: 10px 0;
    }
    /* デスクトップナビゲーションと「今すぐ無料ではじめる」ボタンを非表示 */
    .navBox,
    .toiawaseBox {
        display: none;
    }
    .container {
        width: 85%;
        padding: 0;
    }
    .topLeft
    {
        margin: 0;
        width: 100%;
        top: 65px;
    }

    .topText {
/*        width: 85%;*/
        font-size: 20px;
        text-align: left;
        margin: auto;
        color: #412210;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%; /* 33.6px */
        letter-spacing: -0.72px;
    }
    .topRead {
        font-size: 18px;
        text-align: left;
        line-height: 1.7em;
        margin-top: 30px;
/*        padding: 0 30px;*/
    }
    .topReadBox{
        width: 60%;
    }
    .topRight{
        width: auto;
    }
    .text_sp{
        display: none;
    }
    .text_sp_block{
        display: block;
    }
    .paddinTop50{
        padding-top: 50px;
    }
    .strengthBoxes {
/*        max-height:fit-content;*/
        display: block;
        margin-top: 10px;
    }
    .serviceBoxes{
        flex-direction: column-reverse;
    }
    .service_text{
        width: 100%;
    }
    .service_planleft{
        width: 100%;
        height: 300px;
    }
    .service_planright{
        width: 100%;
    }
    .serviceRightInner{
        padding: 0 30px;
    }
    .service_read{
        font-size: 20px;
    }
    .balloon1{
        left: 0;
    }
    .ToOwenerBoxTitle{
        font-size: 18px;
    }
    .ToOwenerBoxText{
        font-size: 15px;
        width: 90%;
        margin: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    .subtitle{
        font-size: 16px;
    }
    footer{
        width: 100%;
    }
    .ToOwenerBox{
        width: 100%;
        padding-bottom: 50px;
    }
    .footerInner{
        width: 100%;
    }
    .strongText{
        width: 70%;
    }
    .strongTitle{
        font-size: 17px;
        margin-left: 10px;
    }
    .strongPoint{
        padding-top: 30px;
    }
    .strongPointBox{
        padding: 0;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 15px;
        min-height: 205px;

    }
    .flowTitle{
        font-weight: 500;
    }
    .flowStepTitle{
        font-size: 16px;
        color: #fff;
    }
    .strengthBox {
        padding-top: 0px;
    }
    .functionBoxes{
        display: block;
    }
    .functionBox{
        width: 90%;
        margin: auto;
        margin-bottom: 70px;
    }
    .stepBoxes{
        display: block;
    }
    .plan_otoku{
        right: 0px;
        top: 10px;
    }
    .company_info{
        width: 90%;
        font-size: 12px;
    }
    .company_adressBox{
        display: block;
        width: 90%;
        font-size: 14px;
        text-align: left;
    }
    .company_adress{
        width: 100%;
    }
    .stepBoxes{
        display: block;
        margin-top: 55px;
    }
    .flowTitleJP{
        font-size: 16px;
    }
    .stepBox {
        padding-bottom: 50px;
        padding: 0;
        width: 100%;
        margin-bottom: 30px;

    }
    .stepNumBox{
        position: relative;
        left: 20px;
    }
    .stepTitle {
        height: 30px;
        padding: 0 0 0 20px;
    }
    .stepText {
        height: 100px;
        text-align: left;
        padding: 20px;
    }
    .stepBoxright{
        display: none;
    }

    .priceBox{
        display: block;
    }
    .price_plan{
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .strong1_img{
        width: 110%;
        margin-top: 0;
        position: relative;
        left: -93px;
    }
    .strong2_img{
        width: 100%;
        position: relative;
        left: 83px;
    }
    .strong3_img{
        width: 100%;
        position: relative;
        left: -85px;
    }
    .ticket_img1{
        position: relative;
        top: -283px;
        left: 137px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img2{
        position: relative;
        top: -366px;
        left: -17px;
        z-index: 99;
        width: 200px;
    
    }
    .ticket_img3{
        position: relative;
        top: -289px;
        left: 25px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img4{
        position: relative;
        top: -290px;
        left: 20px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img5{
        position: relative;
        top: -350px;
        left: -12px;
        z-index: 90;
        width: 160px;
    }
    .ticket_img6{
        position: relative;
        top: -247px;
        left: 201px;
        z-index: 99;
        width: 145px;
    }
    .ticket_img7{
        position: relative;
        top: -424px;
        left: 81px;
        z-index: 99;
        width: 110px;
    }
    .ticket_img8 {
        position: relative;
        top: -488px;
        left: -25px;
        z-index: 99;
        width: 140px;
    }
    .free_toiawase_plan{
        font-size: 12px;
    }
    footer{
        height: 150px;
    }
    .logo_footer {
        width: 100%;
        float: left;
    }
    .footer_toiawase{
        display: block;
        text-align: center;
        padding: 10px 0 10px 0;
        background: #172755;
        bottom: 0;
        z-index: 99;
        border-radius: 25px;
        margin: 10px;
    }
    .toiawaseBtn{
        width: 490px;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

    .free_toiawase_footer{
        margin: auto;
        text-align: center;
        display: block;
        color: #fff;
        border-radius: 25px;
        padding: 5px 0 5px 0;
        background: linear-gradient(90deg, #F6C416 0%, #F36B00 100%);
        width: 90%;
    }
    a.free_toiawase_footer {
        color: #fff;
        text-decoration: none;
        border-radius: 25px;
        width: 80%;
    }
        .free_toiawase_footer:hover,
        a.free_toiawase_footer:hover {
        color: #fff;
        background: #F36B00;
    }
    .toiawaseFooterBox{
        display: block;
        width: 100%;
    }
    .company_zip{
        padding-top: 0px;
    }
    .companyAdressName{
        padding-top: 15px;
    }
    .hr_line{
        width: 100%;
    }
    .qrcode{
        width: 100%;
        font-size: 10px;
    }
    .noticeBox{
        position: relative;
        top: -332px;
    }
    .notice_pc{
        display: none;
    }
    .notice_sp{
        display: block;
        font-size: 10px;
    }
}

@media (max-width: 769px) {
    main{
        width: 100%;
        border: none;
    }
     .headerMenuBox {
        width: 100%;
    }
    #top {
        /*
       width: 100%;
        margin: 0 auto;
        background-image: url(./img/back_top_sp.png);
        background-size: contain;
        background-repeat: no-repeat;
        height: 100vh;
        */
        background-image: url(./img/back_top_sp.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%; /* 親要素の幅いっぱいに広げる */
        /*padding-top: 56.25%; *//* 16:9のアスペクト比を維持 */;
        padding-top: 25.25%
    }
    #flow{
        margin: 0 auto;
        background-image: url(./img/back_orange_sp.png);
        background-repeat: repeat-y;
        padding-top: 65px;
    }

    .strengthPointLeftBox {
        width: 100%;
        min-height: 300px;
        height: 700px;
        clear: left;
    }
    #strengths2{
        padding-bottom: 100px;
    }

    .lastStrongBox{
        margin-bottom: 100px;
    }

    .toiawaseBtn {
        width: 100%;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

    .footer_toiawase,.free_toiawase_footer{
        width: 100%;
    }
    footer{
        width: 100%;
    }
    
    .toiawaseBtnBox{
        background: #00f;
    }
    .toiawaseFooterBox{
        display: block;
        width: 100%;
    }
    .button{
        background:gold;
        padding:1em 1em;
        border:black 2px solid;
        text-decoration:none;
        color:black;
        font-size:1.5em;
        font-family:sans-serif;
    }
    .ticket_img1{
        position: relative;
        top: -300px;
        left: 54px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img2{
        position: relative;
        top: -338px;
        left: 55px;
        z-index: 99;
        width: 200px;
    
    }
    .ticket_img3{
        position: relative;
        top: -225px;
        left: -90px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img4{
        position: relative;
        top: -337px;
        left: 90px;
        z-index: 99;
        width: 200px;
    }
    .ticket_img5{
        position: relative;
        top: -350px;
        left: -12px;
        z-index: 90;
        width: 160px;
    }
    .ticket_img6{
        position: relative;
        top: -206px;
        left: 123px;
        z-index: 99;
        width: 145px;
    }
    .ticket_img7{
        position: relative;
        top: -382px;
        left: 0px;
        z-index: 99;
        width: 110px;
    }
    .ticket_img8 {
        position: relative;
        top: -563px;
        left: 95px;
        z-index: 99;
        width: 140px;
    }

}
/*レスポンシブ対応ここまで*/

/* 動画のレスポンシブ対応 */
#hero {
    position: relative;
    width: 100%;
    /* 動画の縦横比を維持するために高さを調整 */
    height: 56.25vw; /* 16:9の比率を維持 (9 / 16 * 100 = 56.25) */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%; /* 横幅を常に100%にする */
    height: 100%; /* 親要素に合わせて高さを調整 */
    object-fit: cover; /* 画面全体に動画をフィットさせる */
}

