/*
 * レスポンシブ対応用CSS
 * このコードを既存の style.css に追加して、ハンバーガーメニューを実装します。
 */

/* ==================================================================== */
/* 共通スタイル */
/* ==================================================================== */
p{
    margin: 0;
    padding: 0;
}
body {
/*    font-family: 'DM Sans', 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タグに固定ヘッダーの高さ分を確保 */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
/*    max-width: 100%;*/
    height: auto;
/*    width: 100%;*/
    top: -22px;
    position: relative;

}

a {
    text-decoration: none;
    color: inherit;
}
h4{
    font-size: 13px;
    margin-bottom: 5px;
    color: #3A9224;
}

.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;
}
.company_adress > p{
    color: #f00;
    padding: 15px 0;
}
footer{
    text-align: center;
    background: #fff;
    width: 1728px;
    margin: auto;
    height: 65px;
}

.footerInner {
    width: 832px;
    margin: auto;
}
.logo_footer {
    width: 200px;
    float: left;
}
.logo_footer img{
    width: 200px;
}
.copyright{
    width: 100%;
    background: #fff;
}

/*====================
  共通セクションスタイル
====================*/
.logo{
    /*position: relative;
    left: 55px;
    */
    position: relative;
    text-align: left;
    top: 24px;
}
.logo img {
    height: 50px;
}
.section {
    padding: 10px 0;
    text-align: center;
    background: #fff;
    width: 1728px;
    margin: auto;
}
.sectionTitle{
    color: #F64B4B;
    text-align: center;
/*    font-family: "Noto Sans";*/
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.625px;
    text-transform: uppercase;

}
.change-color{
    background: #3A9224;
}
#top {
    margin: 0 auto;
    background-image: url(./img/back_top.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 808px;
    width: 1728px;
    margin-bottom: -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;
}
#merit{
    background-image: url(./img/back_merit.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    width: 1728px;
    margin: auto;
    padding-top: 137px;
    padding-bottom: 100px;
}
#flow {
    margin: 0 auto;
    background-image: url(./img/back_flow.png);
    background-size: cover;
    background-repeat: repeat-y;
    width: 1728px;
    padding-bottom: 180px;
    padding-top: 165px;
}
#strengths{
    padding-bottom: 100px;
}
#plan { 
    margin: 0 auto;
    background-image: url(./img/back_plan.png);
    background-size: cover;
    background-repeat: no-repeat;

}
#company { 
    background-color: #ffffff; 
    padding-bottom: 150px;
    padding-top: 150px;
}
.toiawaseBox{
    position: relative;
    background: #0a9d31;
    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: #68D585;
}


.free_toiawase{
  color: #fff;
/*  background-color: #0B9ADB;*/
  text-decoration: none;
}
a.free_toiawase {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
}
.free_toiawase:hover,
a.free_toiawase:hover {
  color: #fff;
}


.price_top{
    height: 300px;
   /* background: #fb7e09;*/
}

/*====================
  top
====================*/
.color_5C{
    color: #5C5C5C;
}
.green{
    color: #3A9224;
}
.orange{
    color: #F64B4B;
}
.topSquare{
    border: 1px solid #3A9224;
    display: inline-block;
    padding: 5px 10px;
}
.hanbaiki{
    width: 216px;
}

.topBox{
    display:flex;
    justify-content: space-between;
    justify-content:center; 
}
.topLeft{
    width: 48%;
    height: 240px;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 98px;
}
.topRight{
    width: 48%;
    height: 306px;
   /* background: #fb7e09;*/
    margin: 20px;
    border-radius: 10px;
    text-align: center;
}
.topText{
    width: 1000px;
    font-size: 18px;
    text-align: center;
    margin: auto;
    padding-bottom: 70px;
    padding-top: 40px;
    line-height: 200%;
    letter-spacing: -0.9px;
}
.topLeftText{
    color: #FFF;
/*    font-family: "Noto Sans";*/
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 200%;
    letter-spacing: -0.9px;
    text-align: left;
    position: relative;
    left: 96px;
}
#topRead{
    margin-top: 68px;
    padding-top: 80px;
}
.topReadText{
    padding-top: 15px;
    font-size: 35px;
}
.topText > p{
    font-weight: 600;
}
/*====================
  導入の流れセクション
====================*/
.meritText{
    line-height: 1.7em;
    opacity: 0.65;
    width: 255px;
    margin: auto;
}
.stepBoxes {
    display: flex;
    margin-top: 50px;
    max-width: 1014px; /* 親要素の最大幅を調整 */
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.stepBox {
    width: 248px;
    height: 544px;
    border: 1px solid #6FA731;
    margin: 5px;
    border-radius: 5px;
}

.stepBox h4 {
    margin-bottom: 5px;
}

.stepBox h5 {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 20px;
}

.stepBox span {

}
.stepNumBox{
    background: #ffffff;
    width: 30px;
    height: 33px;
    border-radius: 30px;
    padding: 21px;
    margin-bottom: 30px;
}
.stepArrowBox{
    float: left;
}
.stepNum{
    color: #3A9224;
    font-size: 30px;
    position: relative;
    text-align: center;
    top: -4px;
    left: -1px;
}
span > .stepBox{
    margin-top: 50px;
}

.stepTopBox{
    text-align: left;
    padding: 15px;
}
.stepText{
    line-height: 21px;
}
.stepBoxleft{
    width: 70px;
}
.stepBoxright{
    float: left;
    width: 100px;
    margin-left: 10px;
    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;
}
.font12{
    font-size: 12px;
}
.font15{
    font-size: 15px;
}
.white{
    color: #ffffff;
}

.stepTitleText{
    color: #6FA731;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}
.stepNum{
    color: #224300;
/*    font-family: Inter;*/
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    text-transform: capitalize;
}
span > .stepBox{
    margin-top: 50px;
}

.stepTopBox{
    text-align: left;
    padding: 30px 15px;
}
.step_hr{
    height: 4px; /* 水平線の高さを1pxに設定 */
    border: none; /* デフォルトのボーダーを削除 */
    background-color: #6FA731; /* 線の色を黒に設定 */
    width: 70%;
    text-align: left;
    position: relative;
    left: -32px;

}
.stepMidBox{
    text-align: left;
    padding-bottom: 32px;
    padding: 0px 13px;
    height: 90px;
}
.stepBtomBox{
    overflow: auto;
}

.step_img{
    top: 2px;
}
.step_img_sp{
    display: none;
}
.stepBoxleft{
    width: 70px;
}
.stepBoxright{
    float: left;
    width: 100px;
    margin-left: 10px;
    position: relative;
    top: 20px;
}
.green{
    color: #6FA731;
}
.green2{
    color: #224300;
}

/*====================
  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;
}

.subtitle{
    font-size: 25px;
    font-weight: 700;
    color: #161C2D;
    padding-top: 30px;
}
.balloon2 p {
  margin: 0;
  padding: 0;
}

.strengthSection1{
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strengthSection2{
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strengthSection3{
    background-size: auto;
    background-repeat: no-repeat; /* 繰り返しなし */
}

.strong1_img{
    width: 395px;
}
.strong2_img{
    width: 100%;
    margin-left: 25px;
}
.strong3_img{
    width: 430px;
}
.ticket_img1{
    position: relative;
    top: -366px;
    left: 103px;
    z-index: 99;
}
.ticket_img2{
    position: relative;
    top: -405px;
    left: 133px;
    z-index: 99;
}
.ticket_img3{
    position: relative;
    top: -330px;
    left: -125px;
    z-index: 99;
}
.ticket_img4{
    position: relative;
    top: -499px;
    left: 164px;
    z-index: 99;
}

/*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内の画像を絶対配置にする */
.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: -649px;
    left: -95px;
    z-index: 91;
}
.ticket_img7{   
    position: relative;
    top: -874px;
    left: 24px;
    z-index: 92;
}
.ticket_img8{
    position: relative;
    top: -797px;
    left: 125px;
    z-index: 93;
}



/* 強みセクション: 2列表示に */
.strengthBoxes {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 75px;
    max-width: 1280px;
    max-height: 880px;
    margin-left: auto;
    margin-right: auto;
}




.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;*/
    padding: 10px;
    border-radius: 10px;
    overflow: auto;
    width: 454px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.strongPic{
    float: left;
    width: 80px;
    display: flex;
    align-items: center;
    height: 133px;
}
.strongText{
    float: left;
    width: 360px;
    text-align: left;
    font-size: 14px;
}
.strongTextTitle{
    font-weight: bold;
}
.strongPoint{
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    text-align: left;
    color: #6FA731;
    margin-top: 40px;
}
.strongNum{

    color: #6FA731;
    font-family: "Noto Sans";
    font-size: 65px;
    font-style: normal;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0.2px;

}
.strongTitle{
    font-size: 22px;
    text-align: left;
    margin: 0;
    padding: 10px 0 30px 0;
    color: #20262A;
    font-weight: 400;
}
/*====================
  機能セクション
====================*/
#features{
    background: #fff;
    padding-top: 150px;
    padding-bottom: 150px;
}
.strengthBox {
/*    width: 630px;*/
/*    background: #0B9ADB;*/
}
.featureTextBox{
/*    margin-left: 100px;*/
    width: 640px;
    background: #f00;
}
.featureText{
    color: #5C5C5C;
    text-align: justify;
/*    font-family: "Noto Sans";*/
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* 176.923% */
    letter-spacing: -0.65px;
}
.strengthBoxInner{
    width: 507px;
    float: right;
    text-align: left;
}
.featurePicBox{
    width: 640px;
    padding-top: 30px;
}

.feature_Padding_Top1{
    padding-top: 145px;
}
.feature_Padding_Top2{
    padding-top: 47px;
}
.feature_Padding_Top3{
    padding-top: 55px;
}
.feature_Padding_Top4{
    padding-top: 47px;
}

.featureBoxTop{
    width: 100%;
}
.featureTextSquare{
    margin: 0;
    position: relative;
    font-size: 17px;
    text-align: left;
    width: 445px;
    color: #5C5C5C;
    padding: 2px 20px;
}
.featureTextSquare::before{
content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    display: inline-block;
    background-size: cover;
    width: 5px;
    height: 16px;
    background-color: #108B3B;
    margin-right: 8px;
}
.featuresTextBox{
    float: right;
    margin-right: 55px;
    padding-bottom: 50px;
    text-align: left;
    width: 450px;
}
.featureText{
    width: 450px;
    text-align: left;
    color: #5C5C5C;
    font-size: 12px;
    float: right;
    margin-right: 55px;
    
}
.functionBoxes {
    display: inline-grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.strongPointText{
    margin-top: 30px;
}
.functionBox {
    width: 320px;
/*    height: 488px;*/
    background-color: #6FA731;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
}

.functionBox > p {
}

.funcHeader > span{
    font-size: 22px;
    padding-bottom: 20px;
    font-weight: normal;
    padding-top: 15px;
    line-height: 2.5em;
}

.funcHeader{
    margin: auto;
    height: 35px;
/*    background-image: linear-gradient(45deg, #EE791D 0%, #E72C17 100%);*/
    color: #fff;
    width: 217px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    top: -20px;
}
.funcBoxInner{
    padding-top: 20px;
    margin: 0 auto;
    padding-bottom: 55px;
}
.funcBoxInner_up{
    height: auto;
    text-align: center;
}
.funcBoxInner_up img{
    margin-top: 17px;
}
.funcTitle{
    font-size: 18px;
    padding-bottom: 20px;
    font-weight: bold;
    padding-top: 15px;
}
.funcText{
    padding-top: 30px;
}
.functionText{  
    font-size: 17px;
    line-height: 1em;
    color: #fff;
}
/*
.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;
}

.flowText{
    padding-top: 42px;
    color: #5D7483;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 195%; /* 35.1px */
    letter-spacing: -0.9px;
}
/*====================
  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;
    leading-trim: both;
    text-edge: cap;
    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: 70px;
    right: 20px;
    background-color: #6FA731;
    color: rgb(255, 255, 255);
    width: 80px;
    height: 80px;
    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;
/*    background-image: url(./img/link_top.png);*/
    background-repeat: no-repeat;
    background-size: 80px 80px;
}

#page-top.show {
    opacity: 1;
    visibility: visible;
}

#page-top:hover {
    background-color: #457d06;
}
.company_info{
    text-align: left;
    width: 785px;
    margin: auto;
}

.companyAdressName{
    padding-top: 30px;
    width: 250px;
}
.company_zip{
    padding-top: 30px;
    height: 80px;
    line-height: 2.5em;
}
.company_tel{
    padding-top: 50px;
    line-height: 2.5em;
}
.hr_line {
    border: none;
    height: 0.5px;
    background-color: #E5ECF4;
    margin-top: 30px;
    width: 66%;
}
/* ==================================================================== */
/* ヘッダーセクション */
/* ==================================================================== */

/* デスクトップ版のナビゲーションを非表示にする */
.navBox {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    border-radius: 25px;
    background: #6DC74C;
    margin: auto;
    margin-left: 260px;
    position: relative;
    left: 140px;
    top: -10px;
}

.navBox nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    line-height: 16px;
}

header {
    position: fixed; /* ヘッダーを固定 */
    top: 0; /* 画面上部に配置 */
    left: 0;
    width: 100%; /* 横幅を100%に */
    z-index: 1000; /* 他の要素の上に表示 */
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.headMenu {

}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    max-width: 1280px;
    width: 100%; /* 幅100%にすることで、max-widthを超えないようにする */
    margin: 0 auto;
}

.logo img {
    height: 50px; /* ロゴのサイズを調整 */
}

/* ハンバーガーメニューボタンのスタイル */
/*
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 29px;
    cursor: pointer;
    position: relative;
    right: -12px;
    top: 29px;
    z-index: 1000;

}
*/


.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;
}
.footer_toiawase{
    display: none;
}

.strongTextForPC{
    display: block;
}
.strongTextForSP{
    display: none;
}

.featureBox{
    display: flex;
    margin-bottom: 20px;
    margin-top: 30px;
}
.featureBoxLeft{
/*    background: #0f0;*/
    width: 50%;
    padding-top: 100px;
}
.featureBoxLeft2{
    width: 46%;
    padding-top: 100px;
}
.featureBoxRight{
/*    background:#0a9d31;*/
    width: 50%;
}

.featureBox_2_padding{
    margin-left: 0px;
}

.strengthPointBoxes_order{
    display: flex;
}
.order_1{
  order: 1;
}
.order_2{
  order: 2;
}
.feature_order_1{
    order: 1;
}
.feature_order_2{
    order: 2;
}
.densoText{
    font-size: 12px;
}
.strong2_img_adjust{
    width: 100%;
    position: relative;
    left: -46px;
    top: 45px;
}
.strong3_img{
    width: 100%;
    position: relative;
    left: 35px;
    top: 45px;
}

.menuPotision{
    display: none;
}

.text_sp{
    display: block;
}
.hanbaiki_img{
    display: block;
    position: relative;
    margin: auto;
}
.hanbaiki_img_sp{
    display: none;
}
/* ==================================================================== */
/* レスポンシブデザイン
/* ==================================================================== */
/*
 * --------------------------------
 * タブレット (768px〜1024px)
 * --------------------------------
 */
@media screen and (max-width: 1024px) {
  /* ここにタブレット用のスタイルを記述します */
    main{
    width: 490px;
    margin: auto;
    background: #fff;
/*    border: 3px #f00 solid;*/
  }

    .topLeftText{
        font-size: 31px;
        color: #fff;
        line-height: 1.5em;
        position: relative;
        top: 200px;
        width: 300px;
        left: -23px;
    }

  .strengthPointBoxes_order{
    display: flex;
    }
    .order_1{
        order: 2;
    }
    .order_2{
        order: 1;
    }
    .feature_order_1{
        order: 1;
    }
    .feature_order_2{
        order: 2;
    }

    .featureBox{
        display: flex;
        flex-direction:column
    }
    .featureBoxLeft{
/*        background: #0f0;*/
        width: 100%;
        padding-top: 30px;
        
    }
    .featureBoxRight{
        width: 100%;
    }

    .featuresTextBox{
        width: 100%;
        margin-right: 0;
        padding-bottom: 10px;
    }
    .featureText{
        width: 100%;
        margin-right: 0;
    }

    .featureBoxLeft2 {
        width: 100%;
    }
    .strong2_img_adjust{
        width: 100%;
    }

    body {
        font-size: 16px;
        background: #6fa731;
    }
    .headMenu {
        height: 36px;
        padding-top: 10px;
        width: 50px;
        float: right;
        position: relative;
    }
    .logo{
        display: none;
    }

    .menuPotision {
        display: block;
        position: fixed;
        width: 65px;
        height: 65px;
        background: #06702B;
        box-shadow: 0 4px 4px 0 rgba(34, 67, 0, 0.30);
        right: 0;
        z-index: 100;
    }

    /* ハンバーガーメニューを表示 */
    .menuPotision{
        position: fixed;
        width: 50px;
        height: 65px;
        background: #06702B;
        box-shadow: 0 4px 4px 0 rgba(34, 67, 0, 0.30);

    }
    .hamburger-menu {
        display: flex;
    }

        /* ハンバーガーメニューを表示 */
    .menuPotision{
        position: fixed;
        width: 65px;
        height: 65px;
        background: #06702B;
        box-shadow: 0 4px 4px 0 rgba(34, 67, 0, 0.30);
        right: 0;
        top: 0;
        z-index: 100;
    }
    .hamburger-menu {
        display: flex;
    }
    .hamburger-menu {
        /*display: none;*/
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 29px;
        cursor: pointer;
        position: relative;
        right: -19px;
        top: 19px;
        z-index: 1000;
    }
    .hamburger-menu span {
        display: block;
        width: 80%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
        margin: auto 0;
    }

    /* ハンバーガーメニューがアクティブな時のスタイル */
    .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: #6fa731;
        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;
    }



    .section{
       /* padding: 10px 0;*/
        width: 100%;
    }
    
    footer{
        background: #ffffff;
        height: 100px;
        width: 100%;
        padding-bottom: 100px;
    }
    /* デスクトップナビゲーションと「今すぐ無料ではじめる」ボタンを非表示 */
    .navBox,
    .toiawaseBox {
        display: none;
    }
    #top {

        width: 100%;
        margin: 0 auto;
        background-image: url(./img/sp_top.png);
        background-size: cover;
        background-repeat: no-repeat;
        /*height: 110vh;*/
    }
    .topBox{
        height: auto;
    }
    .topLeft{
        margin: inherit;
        margin-left: 49px;
        height: 184px;
        width: 100%;
    }
    .topRight{
        display: none;
    }
    .topReadText {
        font-size: 25px;
    }
    .container {
        width: 90%;
        padding: 0;
        
    }
    #merit{
        width: 100%;
        padding-top: 70px;
    }
    #features{
        padding-top: 50px;
        padding-bottom: 40px;

    }
    #flow{
        width: 100%;
        padding-bottom: 50px;
        padding-top: 50px;
    }
    #company{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    .topText {
        width: 90%;
        font-size: 16px;
    }
    .topRead {
        font-size: 14px;
        text-align: left;
        line-height: 1.7em;
    }
    .subtitle{
        font-size: 16px;
    }
    .strengthBoxes {
/*        max-height:fit-content;*/
        display: block;
        margin-top:auto;
    }
    .strongTextForPC{
        display: none;
    }
    .strongTextForSP{
        display: block;
    }

    .featureText{
        width: 100%;
    }
    .featureTextSquare {
        width: 100%;
        padding: 0px;
        padding-left: 15px;
    }

    .featureBoxTop {
        margin: auto;
        background: #f00;
    }
    .featureTextSquare{

    }
    .featureTextSquare::before {
        content: "";
        position: absolute;
        left: 4px;
        top: 8px;
        display: inline-block;
        background-size: cover;
        width: 5px;
        height: 16px;
        background-color: #108B3B;
        margin-right: 8px;
    }
    .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;
    }
    .strongText{
        width: 70%;
    }
    .strongTitle{
        font-size: 17px;
        margin-left: 10px;
        padding: 0;
        padding-bottom: 15px;
        font-weight: bold;
    }
    .strongPointBox{
        width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .strongPointBox{
        padding: 0;
    }
    .strengthBoxInner{
        width: 100%;
    }
    .itemReverse{
        display: flex;
        flex-direction: column-reverse;
    }
    .featureTextBox{
        width: 100%;
    }
    .strengthBox {
        width: 100%;
    }
     .featurePicBox{
        width: 100%;
    }
    .feature_Padding_Top1{
        padding-top: 30px;
    }
    .strengthBoxes{
        /*display: block;*/
    }
    .strengthBox {
        height: auto;
        padding-bottom: 50px;
    }
    .functionBoxes{
        display: block;
    }
    .functionBox{
        width: 100%;
        margin: auto;
        margin-bottom: 40px;
    }
    .stepBoxes{
        display: block;
    }
    .stepBox{
        height: auto;
    }
    .step_img{
        display: none;
        border-radius: 8px;
    }
    .step_img_sp{
        display: block;
        width: 100%;
        position: relative;
        top: 0px;
    }
    .hanbaiki_img{
        display: none;
    }
    .hanbaiki_img_sp{
        display: block;
        position: relative;
        top: 0px;
        margin: auto;
    }

    .plan_otoku{
        right: 0px;
        top: 10px;
    }
    .company_info{
        width: 100%;
    }
    .company_adressBox{
        display: block;
        width: 100%;
        font-size: 14px;
        text-align: left;
    }
    .company_adress{
        width: 100%;
    }
    .step_hr{
        left: -46px;
    }
    .stepBoxes{
        display: block;
        margin-top: 70px;
    }
    .stepBox {
        padding-bottom: 50px;
        padding: 0;
        width: 100%;
        margin: 0px;
        margin-bottom: 30px;
    }
    .stepNum{
        padding-left: 20px;
    }
    .stepNumBox{
        position: relative;
        left: 20px;
    }
    .stepTitle {
        height: 30px;
        padding: 0 0 0 20px;
    }
    .stepText {
        height: 100px;
        text-align: left;
        padding: 20px;
    }
    .stepMidBox{
        padding-top: 30px;
    }
    .stepBoxright{
        display: none;
    }

    .priceBox{
        display: block;
    }
    .price_plan{
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .strong1_img{
        width: 90%;
    }
    .strong2_img{
        width: 100%;
    }
    .strong3_img{
        width: 90%;
    }
    #page-top {
        width: 40px;
        height: 40px;
        background-size: 40px 40px;
    }

    .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%;
    }
    .toiawaseBtn{
        width: 490px;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }
    .footerInner{
        width: 100%;
    }
    .logo_footer{
        width: 100%;
    }
    .text_sp{
        display: none;
    }
    .company_tel{
        padding-top: 20px;
    }

}

/*
 * --------------------------------
 * スマホ (〜767px)
 * --------------------------------
 */
@media (max-width: 767px) {
    main{
        width: 100%;
    }
    body{
        background: #fff;
    }
    .headMenu {
        height: 36px;
        padding-top: 10px;
        width: 50px;
        float: right;
        position: relative;
    }
    .logo{
        display: none;
    }

    /* ハンバーガーメニューを表示 */
    .menuPotision{
        position: fixed;
        width: 65px;
        height: 65px;
        background: #06702B;
        box-shadow: 0 4px 4px 0 rgba(34, 67, 0, 0.30);
        right: 0;
        top: 0px;
        z-index: 100;
    }
    .hamburger-menu {
        display: flex;
    }
    .hamburger-menu {
        /*display: none;*/
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 29px;
        cursor: pointer;
        position: relative;
        right: -19px;
        top: 19px;
        z-index: 1000;
    }
    .hamburger-menu span {
        display: block;
        width: 80%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
        margin: auto 0;
    }

    /* ハンバーガーメニューがアクティブな時のスタイル */
    .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: #6fa731;
        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;
    }

    .section{
       /* padding: 10px 0;*/
        width: 100%;
    }
    
    footer{
        background: #ffffff;
        height: 100px;
        width: 100%;
        padding-bottom: 100px;
    }
    /* デスクトップナビゲーションと「今すぐ無料ではじめる」ボタンを非表示 */
    .navBox{
        display: none;
    }
    .toiawaseBox {
        display: none;
    }
    #top {
        /*
        background-image: url(./img/sp_top.png);
        width: 100vw;
        height: 100vh;
        */

        /*
        width: 100%;
        margin: 0 auto;
        background-image: url(./img/sp_top.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 100vh;
        */

    }
    .topBox{
        height: auto;
    }
    .topLeft{
        margin: inherit;
        margin-left: 49px;
        height: 184px;
        width: 100%;
    }
    .topRight{
        display: none;
    }
    .topLeftText{
        font-size: 6vw;
        color: #fff;
        line-height: 1.5em;
        position: relative;
        top: 150px;
        width: 300px;
        left: -23px;
    }
    .topReadText {
        font-size: 18px;
        margin-top: 35px;
    }

    #topRead {
        padding-top: 0px;
    }
    .container {
        width: 85%;
        padding: 0;
        
    }
    #merit{
        width: 100%;
        padding-top: 70px;
        padding-bottom: 50px;

    }
    .funcHeader > span{
        font-size: 20px;
    }
    .meritText{
        font-size: 16px;
    }
    #features{
        padding-top: 50px;
        padding-bottom: 40px;

    }
    #flow{
        width: 100%;
        padding-bottom: 50px;
        padding-top: 50px;
    }
    #company{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    .topText {
        width: 90%;
        font-size: 13px;
    }
    .topRead {
        font-size: 14px;
        text-align: left;
        line-height: 1.7em;
    }
    .subtitle{
        font-size: 16px;
    }
    .strengthBoxes {
/*        max-height:fit-content;*/
        display: block;
        margin-top:auto;
    }

    .featureText{
        width: 100%;
    }
    .featureTextSquare {
        width: 100%;
        padding: 0px;
        padding-left: 15px;
    }

    .featureBoxTop {
        margin: auto;
    }
    .featureTextSquare{

    }
    .featureTextSquare::before {
        content: "";
        position: absolute;
        left: 4px;
        top: 3px;
        display: inline-block;
        background-size: cover;
        width: 5px;
        height: 16px;
        background-color: #108B3B;
        margin-right: 8px;
    }
    .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;
    }
    .strongText{
        width: 70%;
    }
    .strongTitle{
        font-size: 17px;
        margin-left: 10px;
        padding: 0;
        padding-bottom: 15px;
        font-weight: bold;
    }
    .strongPointBox{
        width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .strongPointBox{
        padding: 0;
    }
    .strengthBoxInner{
        width: 100%;
    }
    .itemReverse{
        display: flex;
        flex-direction: column-reverse;
    }
    .featureTextBox{
        width: 100%;
    }
    .strengthBox {
        width: 100%;
    }
     .featurePicBox{
        width: 100%;
    }
    .feature_Padding_Top1{
        padding-top: 30px;
    }
    .strengthBoxes{
        /*display: block;*/
    }
    .strengthBox {
        height: auto;
        padding-bottom: 50px;
    }
    .functionBoxes{
        display: block;
    }
    .functionBox{
        width: 100%;
        margin: auto;
        margin-bottom: 40px;
    }
    .stepBoxes{
        display: block;
    }
    .step_img{
        border-radius: 8px;
        width: 100%;
    }
    .plan_otoku{
        right: 0px;
        top: 10px;
    }
    .company_info{
        width: 100%;
        font-size: 12px;
    }
    .company_adressBox{
        display: block;
        width: 100%;
        font-size: 14px;
        text-align: left;
    }
    .company_adress{
        width: 100%;
    }
    .step_hr{
        left: -46px;
    }
    .stepBoxes{
        display: block;
        margin-top: 70px;
    }
    .stepBox {
        padding-bottom: 50px;
        padding: 0;
        width: 90%;
        margin: 0px;
        margin: auto;
        margin-bottom: 70px;


    }
    .stepNum{
        padding-left: 20px;
    }
    .stepNumBox{
        position: relative;
        left: 20px;
    }
    .stepTitle {
        height: 30px;
        padding: 0 0 0 20px;
    }
    .stepText {
        height: 100px;
        text-align: left;
        padding: 20px;
    }
    .stepMidBox{
        padding-top: 30px;
        height: 105px;
    }
    .stepBoxright{
        display: none;
    }

    .stepBtomBox{
        overflow: initial;
    }
    .funcBoxInner_up img {
        margin-top: -20px;
    }
    .featureTextSquare{
        font-size: 13px;
    }
    .priceBox{
        display: block;
    }
    .price_plan{
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .featureBoxLeft2{
        padding-top: 30px;
    }
    .strong1_img{
        width: 90%;
    }
    .strong2_img{
        width: 100%;
        margin-left: 0px;
    }
    .strong2_img_adjust{
        left: 0;
        top: -5px;
    }
    .strong3_img{
        width: 90%;
        left: 0;
        top: -20px;
    }
    .flowText{
        font-size: 13px;
    }
    #page-top {
        width: 40px;
        height: 40px;
        background-size: 40px 40px;
    }

    .funcBoxInner_up img {
        margin-top: 28px;
    }
    .footer_toiawase{
        display: block;
        text-align: center;
        padding: 10px 0 10px 0;
        background: #108b3b;
        bottom: 0;
        z-index: 99;
        border-radius: 25px;
        margin: auto;
    }
    .toiawaseBtn{
        width: 100%;
        position: fixed;
        bottom: 15px;
    }
    .footerInner{
        width: 100%;
    }
    .logo_footer{
        width: 100%;
    }
    .hr_line {
        width: 100%;
    }
    .copyright{
        font-size: 12px;
    }
    .company_zip {
        padding-top: 20px;
    }

}

/* 動画のレスポンシブ対応 */
#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; /* 画面全体に動画をフィットさせる */
}

/*====================
  スクロールアニメーションのスタイル
====================*/
/* アニメーション要素の初期状態 */
.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;
}
