  /* ------------------------
    共通リセット
  ------------------------ */
  body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
  }

  body {
    font-family: sans-serif;
    line-height: 1.6;
    min-width: 350px;
  }

  .pc-only {
    display: block!important;
  }
  
  .sp-only {
    display:none!important;
  }

  /* デフォルト：PC表示 */
  .pc-btns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 300px;
    margin-left: 20px;
  }

  /* デフォルト：PC表示 */
  .pc-btns-sita {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    margin-bottom: 60px;
  }



  .sp-btns {
    display: none;
  }


  /* ------------------------
    ヘッダー全体
  ------------------------ */
  .site-header {
    background-color: #fff;
    height: 76px;
    display: flex;
    align-items: center;
    width: 100%;
    color: #000000;
    position: fixed;
    z-index: 10;
  }

  .header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 76px; */
  }

  .header-contact {
    display: flex;
    gap: 20px;         /* ボタン同士の間隔（調整可） */
    align-items: center;
  }

  .header-contact .free-btn img {
    display: block;
  }

  /* ロゴ */
  .logo img {
    height: 50px;
    margin-top: 5px;
  }

  .header_text{
    color: #A52B29;
    font-weight: 600;
  }

  #main-top {
    position: relative;
    width: 100%;
    height: 35vw;
    background: url("./images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding-top: 72px;
    z-index: 1;
  }


.FV1 {
  display: block;
  width: 100%!important;
  height: auto;
}

  /* ▼表示切り替え */
  .pc-fv {
    display: block;
  }
  .sp-fv {
    display: none;
  }

  .btn_box{
    margin: 0 auto;
    width: 690px;
    text-align: center;
    z-index: 3;
  }

  /* 全体リセット */
  .sp-btns,
  .sp-btns div,
  .sp-btns img,
  .sp-btns .btn {
    box-sizing: border-box; /* padding/borderを幅に含める */
    margin: 0;
    padding: 0;
  }

  .btn_box img{
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }


  .fv-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
  }


  .fv-image {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 60%;
  }


  #free-btn a {
    text-decoration: none;
  }

  .free-btn {
    display: block;       /* imgをブロックにする */
    margin: 0 auto;
  }
  
  .free-btn img{
    width: 180px;
    margin-top: 0px;
  }

  #free-btn {
    text-align: center;    /* 親で中央寄せ */
    margin-bottom: 120px;
  }

  .free-btn2 {
    display: block;        /* 下の余白を消す */
    width: 450px;          /* 画像サイズに合わせる */
    margin: 0;             /* 上下の余白は親で調整 */
  }

  .free-btn2 a {
    width: 450px;          /* 画像サイズに合わせる */
    padding: 0;            /* aタグの余白を消す */
  }

  #free-btn a {
    display: inline-block;  /* 画像サイズに合わせる */
    padding: 0;             /* aタグの余白を消す */
  }

  .free-btn2 {
    display: block;        /* 下の余白を消す */
    width: 350px;          /* 画像サイズに合わせる */
    margin: 10px auto;        /* 中央寄せ */
  }

  .free-btn2 a {
    width: 350px;          /* 画像サイズに合わせる */
    padding: 0;            /* aタグの余白を消す */
  }

  /* sec1 */

  #sec1 {
    padding: 60px 0;
  }

  .sec1 {
    text-align: center;
    position: relative;
  }

  .sec1 img{
    width: 320px;
    margin: 200px auto 20px auto;
    z-index: 2;
  }

  .sec1-item {
      position: absolute;
      left: 17%;
  }

  .sec1-2 {
    width: 100%;
    margin: 70px auto 0 auto;
    text-align: center;
    background-image: url("./images/bg.png"); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    padding: 80px 0; 
  }

  .sec1-2 img{
    width: 60%;
    margin-left: 5%;
    margin-top: 50px;
  }

  #sec1-1{
    margin-top: 100px;
  }


  /* sec2 */

  #sec2 {
    background: linear-gradient(
      to bottom,
      rgba(215, 219, 228, 0),
      #D7DBE4
    );
    padding: 60px 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* 上下に要素があっても中央揃え */
    width: 100%;
  }

  /* 子要素のラッパー */
  .sec2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* 画像サイズ調整 */
  .sec2 img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-left: 5%;
  }

  /* sec3 */

  #sec3{
    background-color: #FDF7F7;
    padding: 40px 0 30px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec3 {
    /* margin-left:5%; */
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    width: 100%;         /* セクション全体を高さ100%にしたい場合 */
  }

  .sec3 img {
    width: 60%;              /* 画像の幅を50%に指定 */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #sec3 {
    /* 背景画像を指定 */
    background-image: url('./images/sec3_bg.png');

    /* 背景の繰り返しを防ぐ */
    background-repeat: no-repeat;

    /* 背景画像を中央に配置 */
    background-position: center;

    /* 背景画像を要素いっぱいに拡大縮小 */
    background-size: cover;

    /* 高さを指定（必要に応じて調整） */
    height: 100%;
  }


  /* sec4 */

  #sec4{
    padding:0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec4 {
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;            /* セクション全体を高さ100%にしたい場合 */
  }

  .sec4 img {
    width: 60%;              /* 画像の幅を50%に指定 */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .sec4 {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-image: url("./images/bg.png"); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    padding: 20px 0 80px 0; 
  }

  .sec4 img{
    width: 60%;
    margin-top: 50px;
  }

  .sec5 {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-image: url("./images/sec5_bg.png"); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    padding: 20px 0 60px 0; 
  }

  .sec5 img{
    width: 70%;
    margin-top: 50px;
  }


  /* セクション全体 */

  #sec6-1{
    padding:0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec6-1 {
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;            /* セクション全体を高さ100%にしたい場合 */
  }

  .sec6-1 img {
    width: 70%;              /* 画像の幅を50%に指定 */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #sec6 {
    padding:0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec6 {
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;               /* セクション全体を高さ100%にしたい場合 */
  }

  .sec6 img {
    width: 70%;              /* 画像の幅を50%に指定 */
    height: auto;
    display: block;
    margin: 0 auto;        /* 不要な余白を消す */
  }

  
  .sec6 {
    /* 高さを指定して背景を見えるように */
    height: 100%;

    /* 上から下のグラデーション */
    background: linear-gradient(
      to bottom,
      rgba(215, 219, 228, 0), /* 上は透明 */
      #D7DBE4                 /* 下は不透明 */
    );
  }

  /* sec7 */

  #sec7{
    padding:0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F4F4F4;
    margin-bottom: 0px;
  }

  .sec7 {
    /* 高さを指定して背景を見えるように */
    height: 100%;

    /* 上から下のグラデーション */
    background: linear-gradient(
      to bottom,
      rgba(215, 219, 228, 0), /* 上は透明 */
      #FFF8D9                /* 下は不透明 */
    );
  }

  .sec7 {
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;            /* セクション全体を高さ100%にしたい場合 */
  }

  .sec7 img {
    margin: 0 auto;        /* 不要な余白を消す */
    width: 70%;              /* 画像の幅を50%に指定 */
    height: auto;            /* アスペクト比を維持 */
    display: block;          /* 不要な余白を消す */
  }

  .sec7-1 {
    font-size: 15px;
    color: #184FC4;
    font-weight: 600;
    padding: 30px 0;
    text-align: center;
    background-color: #FFD235;
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;            /* セクション全体を高さ100%にしたい場合 */
  }
  

 
    /* footer */

    footer {
      background: #A52B29;
      color: #fff;
      text-align: center;
      padding: 20px 0;
      margin-top: 0px;
      /* height: 186px; */
      font-size: 16px;
      font-weight: 300;
      /* margin-bottom: 69px; */
    }

    .site-footer {
      background-color: #A52B29;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      font-family: sans-serif;
    }

    .footer-inner {
      align-items: center;
      width: 100%;
      margin: 0 auto;
      padding: 0;
    }

    .footer-left .footer-logo {
      max-height: 80px; /* ロゴサイズ調整 */
    }

    .footer-center{
      width: 95%;
      margin: 0 auto;
      text-align: center;
    }

    .footer-center .company-address {
      font-size: 16px;
      margin: 4px 0 0 0;
      line-height: 1.5;
      text-align: center;
    }

    .footer-copy {
      text-align: center;
      margin-top: 12px;
      font-size: 12px;
      margin-bottom: 0px;
      width: 60%;
      margin-left: auto;
      margin-right: auto;
    } 

    .footer-copy {
      display: flex;
      justify-content: space-between; /* 左右に配置 */
      align-items: center; /* 縦位置を中央揃え */
      font-size: 12px;
      color: #ffffff;
      padding: 10px 0;
    }

    .footer-copy a {
      color: inherit;
      text-decoration: underline;
    }

    .footer-copy a:hover {
      opacity: 0.8;
    }


      @media screen and (max-width: 1800px) {

      .sec1 img{
        width: 300px;
        margin: 150px auto 20px auto;
        z-index: 2;
      }

      .pc-btns{
        margin-top: 220px;
      }

      .sec1-item {
          position: absolute;
          left: 12%;
      }


    }


    @media screen and (max-width: 1500px) {

      .sec1 img{
        width: 270px;
        margin: 100px auto 20px auto;
        z-index: 2;
      }

      .pc-btns-sita{
        margin-top: 20px;
      }

      .pc-btns{
        margin-top: 160px;
      }

      .sec1-item {
          position: absolute;
          left: 5%;
      }
    }

    /* 1200px以下（タブレット） */
    @media screen and (max-width: 1200px) {


      #free-btn{
        margin-bottom: 10px;
      }

      .free-btn2{
        width: 300px;
      }

      .fv-4column {
        gap: 15px; /* PCでの間隔 */
      }

      .sec1 img{
        display: none;
      }

      .sec1-item {
          position: absolute;
          left: 0%;
      }

      .pc-btns{
        margin-top: 120px;
      }


      /* footer */
      
      .footer-center{
        width: 50%;
        text-align: left;
      }

      .footer-right .company-tel {
        font-size: 18px;
      }

      .footer-center .company-name {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
      }

      .footer-center .company-address {
        font-size: 15px;
        margin: 4px 0 0 0;
        line-height: 1.5;
      }

      .footer-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 97%;
        margin: 0 auto;
        padding: 0 20px;
        height: 100%;
      }

     .fv-text-wrapper{
        top: 85%;
        font-size: 16px;
      }

      .fv-description{
        font-size:18px;
      }
      
      .fv-keypoints{
        font-size: 20px;
      }

    }



  /* 768px以下（スマホ） */
  @media screen and (max-width: 768px) {
  
    .pc-only {
      display: none!important;
    }

    .sp-only {
      display: block!important;
    }

    .main-nav {
      display: none;         /* 初期非表示 */
      flex-direction: row; /* 縦方向 */
      position: absolute;
      top: 60px;
      right: 0;
      background: #A52B29;
      width: 210px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      z-index: 1000;
    }
    
    .main-nav a {
      color: #ffffff;
      text-decoration: none;
      font-weight: bold;
      padding: 8px 10px;
      font-size: 14px;
    }

    .main-nav a:hover {
      color: #FFD700; /* ホバー時にゴールド色に変更 */
      transition: 0.3s;
    }

    .site-header {
      height: 60px;
    }

    .main-nav.active {
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 15px;       
      padding: 20px;
      margin: 0 auto;
    }

    .header_text{
      font-size: 10px;
    }

    /* ここが重要：ulを横並びに */
    .main-nav ul {
      display: block;
      gap: 25px;           /* メニュー間の間隔 */
      margin: 0;
      padding: 0;
    }

    .main-nav li {
      list-style: none;
    }

    .hamburger {
      display: flex;
      z-index: 1100;
      margin: 0;
    }

    .free-btn {
      display: none;
    }

    #free-btn {
      text-align: center;    /* 親で中央寄せ */
      margin-bottom: 20px;
      margin-top: 20px;
    }
    
    #free-btn img{
      width: 200px;
    }

    .btn_box{
      margin: 20px auto;
      width: 350px;
      text-align: center;
    }

    .free-btn2 {
      display: block;        /* 下の余白を消す */
      width: 230px;          /* 画像サイズに合わせる */
      margin: 0px auto 0 auto;        /* 中央寄せ */
    }

    .section-title {
      position: relative;
      text-align: center;
      font-size: 17px; /* お好みで調整 */
      margin: 0px 0 30px 0;  /* 上下余白 */
      color: #A52B29;
      gap: 0px;
      padding-top: 30px;
    }

    /* 見出しの前後に実線を追加 */
    .section-title::before,
    .section-title::after {
      content: "";
      display: inline-block;
      width: 10px;   
      border-bottom: 2px solid #A52B29; 
      vertical-align: middle;
      margin: 0 5px;      /* 見出しとの間隔 */
    }

    #main-top {
      padding-top: 60px;
    }

    .sec_text{
      width: 90%;
      margin-top: 10px;
      font-size: 12px;
      font-weight: bold;
      text-align: left;
      margin-bottom: 20px;
      margin: 0px auto 10px auto;
    }

    .pc-btns{
      margin-top: 10px;
      width: 350px;
    }

    .pc-btns-sita{
      gap: 30px;
      margin-top: 0px;
      margin-bottom: 0px;
      margin: 0 20px;
    }

    #sec1-1{
      margin-top: 60px;
    }

    /* footer */

    footer{
      padding: 15px 0 80px 0;
    }
    
    .site-footer{
      height: auto;
    }

    .footer-inner {
      display: block;
      align-items: center;
      text-align: center;
      margin: 0 auto;
      padding: 0;
      height: 100%;
    }

    .footer-left .footer-logo {
      max-height: 50px; /* ロゴサイズ調整 */
    }

    .footer-center {
      text-align: center;
      width: 90%;
      margin: 0 auto;
    }

    .footer-center .company-name {
      font-size: 14px;
      margin-bottom: 7px;
    }

    .footer-center .company-address {
      font-size: 13px;
      margin: 4px 0 10px 0;
      line-height: 1.5;
    }

    .footer-right .company-tel {
      font-size: 13px;
      margin: 0;
    }

    .footer-copy {
      text-align: center;
      margin-top: 10px;
      font-size: 9px;
      margin-bottom: 0px;
      width: 80%;
    }

    #sec1 {
      padding-bottom: 20px;
    }

    .sec1 img{
      width: 90%;
      margin: 0 auto;
    }

    .sec2 {
        margin: 30px 0 0 0;
    }

    #sec2{
      padding: 10px 0 20px 0;
    }

    #sec3 {
      padding: 30px 0;
    }

    .sec3 img {
      padding: 10px 0;
      width: 100%;              /* 画像の幅を50%に指定 */
      height: auto;            /* アスペクト比を維持 */
      display: block;          /* 不要な余白を消す */
    }

    #sec4{
      padding: 0;
    }

    .sec4{
      padding: 20px 0;
    }

    .sec4 img {
      margin-top: 0;
      width: 100%;              /* 画像の幅を50%に指定 */
      height: auto;            /* アスペクト比を維持 */
      display: block;          /* 不要な余白を消す */
    }

    .sec5-item,.sec5-item2{
      width: 95%;   /* 画像の幅を50%に */
      height: auto; /* アスペクト比を維持 */
      display: block;
      margin: 0 auto 20px auto;
    }

    .sec5{
      padding: 0;
    }

    .sec5 img{
      width: 100%;
      margin-top: 0px;
    }
    
    .section5-title{
      font-size: 17px;
    }

    #sec6{
      padding-top: 0;
    }

    .sec6{
      margin-bottom: 0;
    }

    .sec6 img {
      width: 100%;              /* 画像の幅を50%に指定 */
      max-width: 100%;            /* はみ出さないように */
      height: auto;            /* アスペクト比を維持 */
      display: block;          /* 不要な余白を消す */
    }

    .sec6_text{
      margin-top: 10px;
      font-size: 15px;
      font-weight: bold;
      text-align: left;
      width: 90%;
      margin: 10px auto 40px auto;
    }

    .sec6_text2{
      width: 90%;
      margin-top: 10px;
      font-size: 12px;
      font-weight: bold;
      text-align: left;
      margin-bottom: 20px;
      margin: 0px auto 10px auto;
    }

    .sec7-text{
      margin-top: 10px;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      padding: 20px 0;
      line-height: 2.3rem;
    }

    #sec7{
      margin-bottom: 00px;
    }

    .sec7 img {
      width: 100%;              /* 画像の幅を50%に指定 */
      height: auto;            /* アスペクト比を維持 */
      display: block;          /* 不要な余白を消す */
    }

    .sec1-2 {
      width: 100%;
      margin: 0 auto;
      text-align: center;
      background-image: url("./images/bg.png"); 
      background-size: cover; 
      background-position: center center; 
      background-repeat: no-repeat; 
      padding: 80px 0 30px 0; 
    }

    .sec1-2 img{
      width: 100%;
      margin-left: 0;
      padding: 0;
      /* margin-top: 0; */
    }

    .pc-btns {
      margin-left: 0px;
      gap:30px;
    }

    .sec2 img{
      width: 100%;
      margin-left: 0;
      padding: 0;
    }

    .sec7-item_sp{
      padding-bottom: 50px;
    }
    
    .sec6-1 img {
      width: 100%;              /* 画像の幅を50%に指定 */
      height: auto;
      display: block;
      margin: 0 auto;
    }
        

  }

/* 480px以下ではスマホ用を表示 */
@media screen and (max-width: 480px) {

  .pc-fv {
    display: none;
  }
  .sp-fv {
    display: block;
    width: 100%!important;
  }

  .sec2{
    margin: 0;
    padding: 10px 0;
  }
  
  .sec2 img{
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  #sec3 {
    padding: 0;
  }

  .sp-fv .fv-image {
    position: static;
    width: 100%!important;
    max-width: none;
    height: auto;
    transform: none;
    margin: 0 0 100px 0;
    min-width: 350px;
  }
  
  #sec1-1{
    margin-top: 400px;
  }

  .pc-btns {
    display: none;
  }

  .btn_box{
    width: 100%;
  }

  .header-inner{
    padding:0;
    position: fixed;
    top:0;
  }

  .sec1-2 img{
    margin-left: 0;
    margin-top: 160px;
  }


  .btn_box_sp{
    display: none;
  }


  .sp-btns {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;              /* 横幅100% */
    display: flex;            /* 横並び */
    justify-content: space-between;
    z-index: 9999;
    background: #fff;         /* 背景（任意） */
  }

  .sp-btns > div {
    width: 50%;               /* 2つで50%ずつ */
  }

  .sp-btns a {
    display: block;
    width: 100%;
  }

  .sp-btns img {
    width: 100%;              /* ボタン画像をボックスにフィット */
    height: auto;
    display: block;
  }


  .sec7-1 {
    font-size: 12px;
    color: #184FC4;
    font-weight: 600;
    padding: 20px 0;
    background-color: #FFD235;
    display: flex;           /* フレックスボックスで中央揃え */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央（高さが必要な場合） */
    height: 100%;            /* セクション全体を高さ100%にしたい場合 */
  }
  
  .logo img{
    margin-left: 5px;
  }
  
}  


@media screen and (max-width:436px) {

.sec1-2 img{
    margin-left: 0;
    margin-top: 100px;
  }
}

@media screen and (max-width:400px) {

.sec1-2 img{
    margin-left: 0;
    margin-top: 60px;
  }

}