/*
 * レスポンシブ対応用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タグに固定ヘッダーの高さ分を確保 */
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container_connect{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.container_connect_sp{
    display: none;
}

img {
/*    max-width: 100%;*/
    height: auto;
    
}

a {
    text-decoration: none;
    color: inherit;*/
    /*color: #fff;*/
}
h4{
    font-size: 16px;
    margin-bottom: 5px;
    color: #8A9DAE;
}
.logo{
    position: relative;
    text-align: left;
    top: -20px;
}

.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;
}
.footerInner{
    width: 878px;
    margin: auto;
}
.logo_footer{
    width: 200px;
    float: left;
}
.copyright{
    width: 500px;
    float: left;
    color: #343D48;
}
/*====================
  共通セクションスタイル
====================*/
.section {
    padding: 30px 0;
    text-align: center;
    background: #fff;
    width: 1728px;
    margin: auto;
/*    padding-top: 55px;*/
}
.sectionTitle{
    color: #8A9DAE;
    text-align: center;
/*    font-family: "DM Sans";*/
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px; /* 307.692% */
    text-transform: capitalize;

}
.change-color{
    background: #465B95;
}
#top {
    margin: 0 auto;
    background-color: #F8F9FF;
    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;
}
#benefit{
    padding-bottom: 20px;
    background-color: #F8F9FF;
    margin-top: 20px;
}
#featuresUp{
    margin: 0 auto;
    background-color: #F8F9FF;
    background-image: url(./img/back_featuresTop.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 160px;
    width: 1728px;
}

#merit{
    background-image: url(./img/back_merit.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    width: 1728px;
    margin: auto;
}
#connect {
    margin: 0 auto;
    background-image: url(./img/back_connect.png);
    background-size: cover;
    background-repeat: repeat-y;
    width: 1728px;
    padding-bottom: 30px;
    padding-top: 110px;
}
#strengths{
    padding-bottom: 100px;
}

#plan { 
    margin: 0 auto;
    background-image: url(./img/back_plan.png);
    background-size: cover;
    background-repeat: no-repeat;
/*    height: 650px;*/
    padding-top: 200px;
    padding-bottom: 144px;

}
#company { 
    background-color: #ffffff; 
    padding-bottom: 150px;
}
.toiawaseBox{
    border-radius: 35px;
    border-radius: 0 0 5px 5px;
    background: #EF2A82;
    width: 290px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 30px;
}
.toiawaseBox:hover,
a.toiawaseBox:hover {
  color: #fff;
  background: #C4296F;
}


.free_toiawase{
  color: #fff;
/*  background-color: #0B9ADB;*/
  text-decoration: none;
}
a.free_toiawase {
  color: #fff;
  text-decoration: none;
/*  font-size: 16px;*/
    position: relative;
    top: 2px;
}
.free_toiawase:hover,
a.free_toiawase:hover {
  color: #fff;
/*  background: #021346;*/
}


.free_toiawase_plan{
    display: inline-flex;
    height: 50px;
    padding: 0px 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 68px;
    background: #EF2A82;
    color: #fff;
    margin-top: 20px;
}
a.free_toiawase_plan {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
}
.free_toiawase_plan:hover,
a.free_toiawase_plan:hover {
  color: #fff;
  background: #EF2A82;
}

.free_toiawase_footer{
    display: none;
}

.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;
}



.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; 
}

.topBox{
    display:flex;
    justify-content: space-between;
    justify-content:center; 
}
.topReadBox{
    width: 460px;
}
.topLeft{
    width: 48%;
    height: 240px;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 163px;
}
.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: 50px;
}
.topLeftText{
    color: #FFF;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 71px;
    letter-spacing: -0.9px;
    text-align: left;
}
.topReadText{
    font-size: 35px;
}
.topRead{
    color: #B5C7FB;
    text-align: left;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%; /* 30.6px */

}
.topText > p{
    font-weight: 600;
}
/*====================
  導入の流れセクション
====================*/
.meritText{
    line-height: 1.7em;
    opacity: 0.65;
    width: 255px;
    margin: auto;
}
.stepBoxes {
    display: flex;
    margin-top: 60px;
    max-width: 1014px; /* 親要素の最大幅を調整 */
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.stepBox {
    width: 210px;
    height: 532px;
/*    border: 1px solid #587E99;*/
    margin: 5px;
    border-radius: 5px;
    background: #fff;
}

.stepBox h4 {
    margin-bottom: 5px;
}

.stepBox h5 {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 15px;
}

.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;
}
.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;
    leading-trim: both;
    text-edge: cap;
/*    font-family: Roboto;*/
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 177.778% */
}
.stepNum{
    color: #224300;
    leading-trim: both;
    text-edge: cap;
    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;
}
.stepText{
    line-height: 1.3em;
    margin-top: 22px;
}
.step_hr{
    height: 4px; /* 水平線の高さを1pxに設定 */
    border: none; /* デフォルトのボーダーを削除 */
    background-color: #587E99; /* 線の色を黒に設定 */
    width: 70%;
    text-align: left;
    position: relative;
    left: -32px;

}
.stepMidBox{
    text-align: left;
    padding-bottom: 32px;
    padding: 0px 10px;
    height: 140px;
    width: 90%;
}
.stepBtomBox{
    overflow: auto;
}
.stepBoxleft{
    width: 70px;
}
.stepBoxright{
    float: left;
    width: 100px;
    margin-left: 10px;
    position: relative;
    top: 20px;
}
.deepblue{
    color: #587E99;
}
.deepblue2{
    color: #587E99;
}

/*====================
  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{
    color: #172755;
    text-align: center;
/*    font-family: "DM Sans";*/
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px; /* 200% */
    letter-spacing: -0.5px;
}

.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; /* 繰り返しなし */
}

.stepTitle{
    width: 90%;
    display: flex;
    margin: auto;

}
.beneft_img{
    width: 100%;
}
.benefitBoxTopLeft{
    width: 70%;
}
.benefitBoxTopRight{
    width: 30%;
}
.benefitBoxTopRight img{
    position: relative;
    top: 30px;

}
.beneft_img{
    display: block;
}
.beneft_img_sp{
    display: none;
    width: 100%;
}
.strong1_img{
    width: 395px;
}
.strong2_img{
    width: 100%;
}
.strong3_img{
    width: 430px;
}
.keypoint{
    color: #0073A5;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 40px; /* 250% */
    letter-spacing: 3px;
    text-transform: capitalize;
}
.keypoint::before{
    content: url(./img/icon01.png);
    position: relative;
    width: 61px;
    height: 61px;
    display: inline-block;
    top: 0px;
    padding-right: 20px;
}

.keypointNum{
    color: #0073A5;
    font-family: "DM Sans";
    font-size: 25px;
    font-style: italic;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 3px;
}

.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: flex;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 75px;
    max-width: 878px;
    margin-left: auto;
    margin-right: auto;
}


.strength_upBox{
    text-align: left;
}
.strength_upBox_pic{
    position: relative;
    top: -25px;
    left: 15px;
}
.strengthTitle{
    text-align: left;
    color: #0F2137;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; /* 30.6px */

}

.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: 63px;
}
.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: #F7FBFD;*/
}
.strengthBox {
    width: 300px;
}
.strengthBoxLeft{
    width: 350px;
    margin-left: 50px;
}
.strengthBoxRight{
    width: 440px;
    float: left;
}
.featureTextBox{
/*    margin-left: 100px;*/
    width: 640px;
}
.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;
}
.featureText{
    width: 305px;
    height: 54px;
    flex-shrink: 0;
    color: #343D48;
    text-align: justify;
/*    font-family: "Noto Sans";*/
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%; /* 20.4px */
    letter-spacing: -0.6px;
}
.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;
}

.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: 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: 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{
    font-size: 18px;
}
.featureSp{
    margin-top: 0px;
}
/*====================
  Price
====================*/
.hr_plan{
    border: none;
    height: 0.5px;
    background-color: #ddd;
    margin-top: 30px;
    width: 60%;
    margin-bottom: 30px;
}
.planText{
    color: #8794BA;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}
.priceBox{
    display:flex;
    justify-content: space-between;
    justify-content:center; 
}
.price_plan{
    width: 340px;
    height: 440px;
    background: #ffffff;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
}
.price_top{
    height:30px;
}
.payMonth{
    color: #343D48;
    color: #172755;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.onetouchText{
    position: relative;
    top: -249px;
    left: 218px;
    width: 260px;
    font-size: 14px;
    text-align: left;
}
.payMonthPrice{
    color: #8294C9;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 25.5px */

}
.payNum{
    color: var(--text-main, #172755);
    text-align: center;
/*    font-family: Roboto;*/
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.payText:before{
    background-size: contain;
    vertical-align: middle;
    position: relative;
    right: 10px;
    top: 3px;
}    
.payText{
    color: #8294C9;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 23.8px */
}
.plan_otoku{
    position: relative;
    right: -70px;
    top: 10px;
}
.section_text{
    color: #FFF;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.pacificView{
    color: #8794BA;
    text-decoration: underline;
}
.pacificView2{
    color: #000;
    text-decoration: underline;
}
a.pacificView2{
    color: #343D48;
    text-decoration: underline;
}
/*====================
  トップへ戻るボタン
====================*/
#page-top {
    position: fixed;
    bottom: 65px;
    right: 20px;
    background-color: #172755;
    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: rgba(201, 5, 139, 0.75);
}
.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: #ddd;
    margin-top: 30px;
}
/* ==================================================================== */
/* ヘッダーセクション */
/* ==================================================================== */


/* デスクトップ版のナビゲーションを非表示にする */
.navBox {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    margin: auto;
    margin-left: 260px;
    margin-top: 34px;
    background: #85A4B9;
}

.navBox nav ul {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    position: relative;
    top: 2px;
}


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: 0px 0px;
    max-width: 1280px;
    width: 100%; /* 幅100%にすることで、max-widthを超えないようにする */
    margin: 0 auto;
/*    background: #0073A5;*/
}

.logo img {
    height: 50px; /* ロゴのサイズを調整 */
}

/* ハンバーガーメニューボタンのスタイル */
.hamburger-menu {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    right: -10px;
    top: 33px;
    z-index: 1000; /* ナビゲーションの上に配置 */
}

.hamburger-menu span {
    display: block;
    width: 80%;
    height: 3px;
    background-color: #8794BA;
    transition: all 0.3s ease;
    left: 5px;
    position: relative;
}

/* ハンバーガーメニューがアクティブな時のスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイル用ナビゲーションメニューのスタイル */
.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;
}

a.free_toiawase_plan_Link{
    color: #fff;
}

/* ==================================================================== */
/* レスポンシブデザイン
/* ==================================================================== */
/*
 * --------------------------------
 * タブレット (768px〜1024px)
 * --------------------------------
 */
@media screen and (max-width: 1024px) {
  /* ここにタブレット用のスタイルを記述します */
  body {
    font-size: 16px;
  }
  #top {
    margin: 0 auto;
    background-repeat: no-repeat;
    width: 100%;
    }

    
  .functionBox {
    width: 200px;
    background-color: #6FA731;
    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;
  }
  .strong3_img{
    
  }

  .ticket_img5{
    top: -310px;
    left: -11px;
    width: 190px;
  }
  .ticket_img6{
    top: -455px;
    left: -83px;
    width: 130px;
  }
  .stepBox {
    padding: 20px;
    width: 130px;
    margin: 0;
   }
    .company_adressBox{
        width: 100%;
    }

    .planText{
        font-size: 14px;
    }

}

/*
 * --------------------------------
 * スマホ (〜767px)
 * --------------------------------
 */
 @media (max-width: 1024px) {
    main{
        width: 490px;
        margin: auto;
    }
    .headMenu {
        height: 36px;
        padding-top: 10px;
/*        background: #f00;*/
        width: 50px;
        float: right;
        position: relative;
    }

    /* ハンバーガーメニューを表示 */
    .menuPotision{
        position: fixed;
        width: 50px;
        height: 65px;
        background: #172755;
        box-shadow: 0 4px 4px 0 #172755;
        right: 0;
        
    }
    .hamburger-menu {
        display: flex;
    }
    .section{
       /* padding: 10px 0;*/
        width: 100%;
        padding-top: 5px;
    }
    
    /* デスクトップナビゲーションと「今すぐ無料ではじめる」ボタンを非表示 */
    .navBox,
    .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;*/
    }
    .topLeft{

    }
    #plan{
        padding-top: 200px;
        margin: 0 auto;
        background-image: url(./img/back_plan_sp.png);
/*        background-size: auto;*/
        background-repeat: no-repeat;
        height: auto;
        padding-top: 110px;
        padding-bottom: 70px;
    }

    #features{

    }
    #featuresUp{
        width: 100%;
        height: 0;
    }
    .featureSp{
        margin-top: -45px;
    }
    .topBox{
        height: auto;
        padding-top: 300px;
        
    }
    .topLeft{
        margin: inherit;
        margin-left: 0px;
        height: 184px;
        width: 100%;
        padding-top: 165px;
    }
    .topRight{
        display: none;
    }
    .topLeftText{
        font-size: 24px;
        color: #fff;
        line-height: 1.5em;
        margin-top: 0px;
    }

    .topReadText {
        font-size: 25px;
    }
    .logo{
        position: relative;
        top: -50px;
        
    }
    .container {
        width: 82%;
        padding: 0;
        
    }
    .container_connect{
        display: none;
    }
    .container_connect_sp{
        display: block;
        width: 85%;
        margin: auto;
    }
    .connect_img_sp{
        width: 89%;
        margin-top: 25px;
    }
    .connectImgBox1{
        width: 100%;
        background: #D5D9DE;
        margin-bottom: 20px;
    }

    .connectImgBox2{
        width: 100%;
        background: #D0D9E4;
        margin-bottom: 20px;
    }
    .connectImgTtlForSP{
        float: left;
        padding: 15px 0 10px 20px;
    }
    .connectText{
        font-size: 12px;
        margin-bottom: 40px;
    }


    #merit{
        width: 100%;
    }
    #flow{
        width: 100%;
    }
    .topText {
        width: 90%;
    }
    .topRead {
        font-size: 14px;
        text-align: left;
        line-height: 1.7em;
    }
    .subtitle{
        font-size: 16px;
        font-weight: bold;
    }
    .strengthBoxes {
/*        max-height:fit-content;*/
        display: block;
        margin-top:auto;
    }

    .beneft_img{
        display: none;
    }
    .beneft_img_sp{
        display: block;
        width: 100%;
    }
    .featureText{
        width: 100%;
    }
    .featureTextSquare {
        width: 100%;
        padding: 0px;
        padding-left: 15px;
    }

    .featureBoxTop {
        margin: auto;
    }
    .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;
    }
    .strongPointBox{
        width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .strengthBoxRight{
        width: 100%;
    }
    .keyPointPic{
        width: 100%;
    }
    .strongPointBox{
        padding: 0;
    }
    .strengthBoxInner{
        width: 100%;
    }
    .strengthBoxLeft{
        width: 100%;
    }
    .itemReverse{
        display: flex;
        flex-direction: column-reverse;
    }
    .featureTextBox{
        width: 100%;
    }
    .strengthBox {
        width: 100%;
    }
    .strengthBoxLeft{
        width: 100%;
    }
     .featurePicBox{
        width: 100%;
    }
    .strengthBoxes{
        display: block;
        padding-top: 20px;
        margin-bottom: 40px;
        overflow: auto;
        overflow-x: hidden;
    }
    .strengthBox {
        height: 170px;
        padding-bottom: 100px;
    }
    .strengthBoxLeft{
        margin-left: 0;
        padding-bottom: 30px;
    }
    .strengthBoxRight{
        float: none;
    }
    .boxLast{
        padding-bottom: 0px;
    }
    .functionBoxes{
        display: block;
    }
    .functionBox{
        width: 100%;
        margin: auto;
        margin-bottom: 40px;
    }
    .stepBoxes{
        display: block;
    }
    .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%;
    }
    .stepBoxes{
        display: block;
        width: 100%;
        margin-top: 30px;
    }
    .stepBox {
        padding-bottom: 50px;
        padding: 0;
        width: 100%;
        height: auto;
        margin-bottom: 60px;
        box-shadow: 0 15px 50px 0 rgba(91, 132, 193, 0.10);
    }
    .stepNumBox{
        position: relative;
        left: 20px;
    }
    .stepTitle {
        height: 30px;
        padding: 0 0 0 20px;
    }
    .stepText {
        height: 100px;
        text-align: left;
        padding: 0px 15px;
        margin-top: 18px;
    }
    .stepBoxright{
        display: none;
    }

    .step_hr {
        width: 90%;
        left: 4px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .stepMidBox{
        padding-top: 50px;
        height: auto;
    }
    .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;
    }
    .topReadBox{
        width: 100%;
    }
    .connect_img{
        width: 100%;
    }
    #connect {
        width: 100%;
        padding-top: 30px;
    }
    #company {
        background-color: #ffffff;
        padding-bottom: 50px;
    }
    .onetouchText{
        position: relative;
        top: 0px;
        left: 0px;
        width: 90%;
        font-size: 17px;
        text-align: left;
        margin: auto;
        padding-top: 35px;
    }
    footer{
        width: 100%;
        padding-bottom: 100px;
    }
    .footerInner {
        width: 100%;
    }
    .copyright{
        width: 100%;
        background: #fff;
        font-size: 12px;
    }

    .free_toiawase_plan{
        font-size: 12px;
    }
    .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: 100%;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

    .free_toiawase_footer{
        margin: auto;
        text-align: center;
        width: 90%;
        display: block;
        background: #EF2A82;
/*        background: #172755;*/
        color: #fff;
        border-radius: 25px;
        padding: 5px 0 5px 0;
    }
        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: #EF2A82;
    }

    .toiawaseBtn {
        width: 490px;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }

}
@media (max-width: 769px) {

    main{
        width: 100%;
    }

    #top{
        width: 100%;
        margin: 0 auto;
        background-image: url(./img/sp_top.png);
        background-size: cover;
        background-repeat: no-repeat;
        /*height: 100vh;*/
    }
    .topLeft{
        padding-top: 70px;
    }

    .toiawaseBtn {
        width: 100%;
        position: fixed;
        bottom: 5px;
        height: 50px;
    }
    #benefit{
        padding-bottom: 30px;
        margin-top: 0px;
    }
    #connect {
        padding-bottom: 30px;
    }
    .company_zip{
        padding-top: 10px;
    }

}

/* 動画のレスポンシブ対応 */
#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;
}
