/* ------------------------
    共通リセット
  ------------------------ */
  body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
  }

  body {
    font-family: sans-serif;
    line-height: 1.6;
  }

  .pc-only {
    display: block;
  }
  
  .sp-only {
    display:none;
  }

  html {
    scroll-behavior: smooth;
  }

  #service {
    scroll-margin-top: 95px; /* リンク時に上から120px余白 */
  }

  #zirei {
    scroll-margin-top: 85px;
  }

  #QA{
    scroll-margin-top: 100px;
  }

  /* ------------------------
    ヘッダー全体
  ------------------------ */
  .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; */
  }

  /* ロゴ */
  .logo img {
    height: 50px;
    margin-top: 5px;
  }

  #main-top {
    position: relative; /* 子要素の絶対配置基準にする */
  }

  .FV-btn {
    width: 180px;
    position: absolute;
    top: 50%;                 /* 上下中央 */
    right: 0;                 /* 右端0px */
    transform: translateY(-50%); /* 真ん中揃え */
    object-fit: contain;       /* 画像比率を保つ */
    z-index: 1;              /* FV画像より上に表示 */
  }



  img.fivemini-btn {
    margin-right: 50px; 
  }

  #main-top {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%; /* 横100% × 縦50% */
    padding-top: 76px;
    margin: 0 auto;
  }

  #main-top {
    position: relative;
    width: 100%;
    background: linear-gradient(
      to bottom,
      #A52B29 0%,       /* 上端から */
      #A52B29 95%,      /* 上95%まで赤 */
      transparent 95%,  /* 下5%は透明 */
      transparent 100%
    );
  }

  .fv-image {
    width: 72%;
    display: block;
    margin-bottom: 120px; /* 画像下に余白 */
    margin: 0 auto 50px auto;
  }

  .fv-text-wrapper {
    position: absolute;
    top: 53%; /* 画像の真ん中よりやや下 */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* 画面幅に応じて調整 */
    color: #A52B29;
  }

  .fv-title {
    font-size: 45px;
    margin: 0 0 20px 0;
  }

  .fv-title .highlight {
    color: #A52B29;
    font-size: 65px;
  }

  .fv-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #A52B29;
    background: rgba(255, 255, 255, 0.5); /* 白半透明 */
    display: inline-block; /* 丸みなし */
    padding: 5px 10px;
    margin-bottom: 10px;
  }


  .fv-keypoints {
    font-size: 20px;
    color: #A52B29;
    font-weight: 600;
    background-color: #FFCFCF;
    width: 470px;
    border-radius: 20px;
    text-align: center;
    margin: 0 auto;
    padding: 5px 0;
  }

  .fv-keypoints2 {
    margin-top: 30px;
    color: #000000;
    font-weight: 600;
  }
  
  /* ------------------------
    ナビゲーション共通
  ------------------------ */
  .main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 25px;
  }

  .main-nav {
    display: flex;       /* 横並び */
    flex-direction: row; /* PCは横方向 */
    list-style: none;
    gap: 20px;
  }

  .main-nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    display: block;
    font-size: 15px;
  }

  .main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
  }

  /* ハンバーガーメニューのデザイン */
  .hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-top: 11px;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: #A52B29;
    border-radius: 2px;
  }

  .section-title {
    display: flex;             /* 横並びにして線と文章を整列 */
    align-items: center;       /* 縦中央揃え */
    justify-content: center;   /* 中央寄せ */
    gap: 10px;                 /* 線と文章の間隔 */
    font-size: 28px;
    color: #A52B29;
    margin: 60px 0;
    padding-top: 60px;
    flex-wrap: wrap;           /* 文章が2行になっても中央寄せ */
  }

  .section-title span {
    font-weight: 600;
    display: block;            /* 文章を複数行にできる */
    text-align: center;        /* 中央揃え */
    line-height: 1.4;
  }

    #free-btn a {
      text-decoration: none;
    }

    .free-btn {
      display: block;       /* imgをブロックにする */
      margin: 0 auto;
    }
    
    .free-btn img{
      width: 200px;
      margin-top: 15px;
    }

    #free-btn {
      text-align: center;    /* 親で中央寄せ */
      margin-bottom: 80px;
    }

    .free-btn2 a {
      width: 450px;          /* 画像サイズに合わせる */
      padding: 0;            /* aタグの余白を消す */
    }

    #free-btn a {
      display: inline-block;  /* 画像サイズに合わせる */
      padding: 0;             /* aタグの余白を消す */
    }

    .free-btn2 {
      display: block;        /* 下の余白を消す */
      width: 400px;          /* 画像サイズに合わせる */
      margin: 10px auto;        /* 中央寄せ */
    }

    .free-btn2 a {
      width: 350px;          /* 画像サイズに合わせる */
      padding: 0;            /* aタグの余白を消す */
    }

    /* sec1 */

    #sec1 {
      background-color: #EFECD9;
      padding-bottom: 60px;
    }

    .sec1 {
      text-align: center;
      position: relative;
    }

    .sec1 img{
      width: 70%;
      margin: 0 auto;
    }

    .sec1-2 {
      position: absolute; /* 絶対配置にする */
      bottom: 30px;    /* 上からの距離 */
      right: 12%;  /* 右からの距離 */
    }

    .sec1-2 img {
      display: block;
      width: 350px;
    }

    .sec1-item {
      display: inline-block;
    }

    .sec1-text {
      margin-top: 120px;
    }

    .section1-title .big-text {
      font-size: 1.5em; /* お好みの大きさに調整 */
      font-weight: bold; /* 太字にしたい場合 */
      color: #A52B29;
    }

    .section1-title{
      color: #A52B29;
      text-align: center;
      padding: 50px 0;
    }


    /* sec2 */

    #sec2{
      background-image: url("images/sec2-back.png");
      background-position: center;   /* 中央に配置 */
      background-repeat: no-repeat;  /* 繰り返さない */
      background-size: cover;        /* ブラウザサイズに合わせて拡大縮小 */
      margin-bottom: 100px;
    }
 
    .section2-title{
      display: flex;             /* 横並びにして線と文章を整列 */
      align-items: center;       /* 縦中央揃え */
      justify-content: center;   /* 中央寄せ */
      gap: 10px;                 /* 線と文章の間隔 */
      font-size: 28px;
      color: #fff;
      margin: 0 0 60px 0;
      padding-top: 60px;
      flex-wrap: wrap;
    }

    .sec2-grid {
      width: 60%;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;      /* 折り返しで2段になる */
      gap: 30px;            /* アイテム間の余白 */
      justify-content: center;
      padding-bottom: 60px;
    }

    .sec2-item {
      width: calc(50% - 15px); /* PCでは横2つ */
      text-align: center;
      padding: 15px;
      box-sizing: border-box;
    }

    .sec2-item img {
      width: 420px;
      height: 300px;
      display: block;
      margin: 0 auto;
    }

    /* pタグの背景 */
    .sec2-item .text-top {
      color: #A52B29;
      font-size: 20px;
      font-weight: bold;
      background-color: #E8E6D8; /* 黄色背景 */
      display: inline-block;     /* 背景色がテキスト幅にだけ付く */
      padding: 20px 0;
      margin-bottom: 0;
      width: 420px;
    }

    .sec2-item .text-bottom {
      font-size: 14px;
      line-height: 1.6;
      background-color: #ffffff; /* 薄いグレー背景 */
      display: inline-block;
      padding: 15px 10px;
      width: 400px;
      text-align: left;
    }
    


    /* sec3 */

    #sec3 {
      background-image: url("images/sec3-back.png");
      background-position: center;   /* 中央に配置 */
      background-repeat: no-repeat;  /* 繰り返さない */
      background-size: cover;        /* ブラウザサイズに合わせて拡大縮小 */
      margin-bottom: 0px;
    }

    .sec3 {
      text-align: center;
      padding-bottom: 50px;
    }

    .sec3-title {
      color: #A52B29;
      display: flex;             /* 横並びにして線と文章を整列 */
      align-items: center;       /* 縦中央揃え */
      justify-content: center;   /* 中央寄せ */
      gap: 10px;
      font-style: italic; 
      font-size: 28px;
      margin: 0px 0 40px 0;
      padding-top: 0px;
      flex-wrap: wrap;
    }

    .sec3-text{
      margin-bottom: 50px;
    }

    .sec3-wrapper {
      display: grid;
      grid-template-columns: repeat(3, 334px); /* PCは3列固定 */
      gap: 30px; /* アイテムの間隔 */
      justify-content: center; /* 全体を中央寄せ */
      margin-top: 40px;
      margin-bottom: 60px;
    }

    .sec3-wrapper-item {
      width: 334px;
      height: 309px;
      background: #fff;
      color: #000;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      padding: 20px;
      box-sizing: border-box;
      text-align: center;
    }

    .sec3-wrapper-item p {
      font-size: 14px;
      line-height: 1.4;
      margin-top: 10px;
    }

    .sec3-wrapper-item img {
      max-width: 100%;
      height: auto;
      margin: 10px 0;
    }

    .sec3-2 {
      /* background-color: #E8E6D8; */
      padding-bottom: 80px;
    }

    .sec3-bg1 {
      width: 100%;
      height: 580px; /* 高さは自動調整 */
      background-image: url(./images/sec3-bg.png);
      background-size: cover;       /* 画像全体を表示 */
      background-position: top center;
      background-repeat: no-repeat;
      padding-top: 30px;
    }

    .sec3-bg1 img{
      width: 100%;
    }

    .sec3-3{
      background-color: #fff;
      margin-bottom: 170px;
    }

    .sec3-3 img{
      width: 70%;
    }

    .sec3-3-1 img{
      width: 70%;
      margin: 0 auto;
    }

    .sec3-3-scroll {
      width: 100%;
      margin-bottom: 30px;
    }

    .sec3-title {
      font-size: 28px;
      margin-bottom: 40px;
    }

    .sec3-3 {
      display: flex;
      flex-direction: column;   /* 縦並び */
      align-items: center;      /* 真ん中揃え */
      position: relative;
    }

    .sec3-4column {
      width: 70%;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;             /* 各カラム間の余白 */
      justify-content: center;
      text-align: center;
      margin: 0 auto;
    }

    .sec3-4column-item {
      width: calc(25% - 15px);  /* PCで4列 */
      box-sizing: border-box;
      text-align: center;
      flex: 1;
      width: 230px;
      height: 240px;
      padding: 40px 20px; 
      background-color: rgba(163, 14, 11, 0.8);
    }

    .sec3-item-title {
      font-size: 22px;
      color: #FFE65A; /* 黄色 */
      margin-bottom: 20px;
      font-weight: bold;
    }

    .sec3-item-title span{
      font-size: 14px;
    }

    .sec3-item-text {
      font-size: 16px;
      color: #fff; /* 白文字 */
      line-height: 1.6;
    }

    .sec3-4column {
      display: flex;
      flex-wrap: nowrap; /* 横並び */
      align-items: center;
      justify-content: center;
      gap: 20px; /* ボックスと矢印の間隔 */
    }


    .sec3-arrow {
      font-size: 32px;
      color: #A52B29; /* 赤色の矢印 */
      font-weight: bold;
    }


    /* sec4 */

    #sec4{
      background-color:#E8E6D8;
      padding-bottom: 80px;
    }

    #sec4-bg {
      width: 100%;
      background-image: url('./images/sec4-4bg.png');
      background-size: 100% 90%;  /* 横幅・高さともに100%に伸縮 */
  background-position: center 100px; /* 横は中央、縦は20%下にずらす */
      background-repeat: no-repeat;
    }

    /* sec4_girl画像 */
    .sec4-4-bg {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center; /* 中央配置 */
    }

    .sec4-4-bg {
        width: 100%;       /* 横幅いっぱい */
        height: auto;      /* 高さは自動で縮む */
        margin-top: -180px; /* 背景に半分重なる高さ調整 */
    }

    .sec4-4-bg img {
        width: 250px;
        display: block;    /* ブロックにして margin auto を効かせる */
        margin: 30px auto 0 auto; /* 上下 30px、左右自動で中央 */
    }

    .sec4-main-title {
      margin-bottom: 15px;
      font-size: 28px;
      text-align: center;
      color: #A52B29;
    }

    .sec4-text {
      text-align: center;
      margin-bottom: 50px;
      color: #A52B29;
    }

    .sec4-3column {
      display: flex;
      width: 70%;
      margin: 0 auto;
      justify-content: space-between; /* 左・中央・右に配置 */
      gap: 20px;                      /* カラム間の余白 */
      flex-wrap: wrap;                 /* スマホでは折り返す */
    }

    .sec4-column {
      flex: 1 1 30%;                  /* 3カラムに分割 */
      box-sizing: border-box;
      padding: 20px;
      background-color: #fff;
    }

    .sec4-left { text-align: left; }
    .sec4-center { text-align: left; }
    .sec4-right { text-align: left; }

    .sec4-title {
      color: #A52B29;
      font-size: 24px;
      font-weight: bold;
      padding-bottom: 15px;
      margin-bottom: 15px;
      border-bottom: 1px solid #A52B29;
    }

    .sec4-column-span {
      display: block;
      font-size: 16px;
      font-weight: bold;
      color: #A52B29; /* 任意の色 */
    }

    .sec4-column2 span.sec4-span-item {
      font-weight: bold;
      color:#A52B29;
    }

    .sec4-etc.center { text-align: center; }
    .sec4-etc.right { text-align: right; }

    .sec4-4-1 {
      display: flex;
      flex-direction: column;   /* 縦並び */
      align-items: center;      /* 真ん中揃え */
      position: relative;

    }

    .sec4-4-scroll {
      margin-bottom: 200px;
    }

    .sec4-4-scroll img{
      width: 70%;
      margin: 0 auto;
    }

    .sec4-4-item {
      display: block;
      max-width: 100%;
      height: auto;
      margin-top: 50px;
    }

    /* sec5 */

    #sec5 {
      padding: 60px 0;
      position: relative; /* 相対基準 */
    }

    .section5-title{
      color: #A52B29;
      font-size: 32px;
      text-align: center;
    }

    .section5-price{
      color: #000;
      font-size: 32px;
      font-weight: 600;
      margin-top: 30px;
      text-align: center;
    }

    .section5-text{
      color: #000;
      font-size: 16px;
      font-weight: normal;
      margin-top: 20px;
      text-align: center;
    }

    .section5-text2{
      color: #000;
      font-size: 14px;
      font-weight: normal;
      margin-top: 20px;
      text-align: center;
    }

    .section5-image {
      text-align: center; /* 中の画像を横中央に */
      margin: 30px auto 50px auto;
    }

    .section5-image img {
      display: inline-block; /* text-align: center の対象に */
      width: 15%;
      margin-right: 30px;
      height: auto;
    }

    .sec5-span-item{
      font-size: 24px;
    }

    .sec5-price-span{
      font-size: 20px;
      color: #A52B29;
      font-weight: 600;
    }

    .sec5-img-ue {
      position: absolute;
      top: 5%;       /* 上からの位置 */
      left: 15%;     /* 左から5% */
      width: 16%;
      height: auto;
    }

    .sec5-img-sita {
      position: absolute;
      bottom: 5%;    /* 下からの位置 */
      right: 10%;    /* 右から5% */
      width: 15%;
      height: auto;
    }


   /* sec6 */

  
   /* セクション全体 */
    #sec6 {
      width: 100%;          /* 横幅60% */
      margin: 0 auto;      /* 中央寄せ */
      text-align: center;  /* 保険で中央寄せ */
      background-color: #E8E6D8;
      padding-top: 30px;
      padding-bottom: 60px;
    }

    .sec6-title {
      background-color: #fff;
      color: #A52B29;
      font-weight: 600;
      padding: 8px 60px;
      width: 200px;
      border-radius: 50px;
      margin: 60px auto; /* これを追加 */
    }

    .sec6-Q{
      color: #A52B29;
      font-size: 18px;
      font-weight: 600;
    }

    .sec6-A{
      font-size: 16px;
    }

    .sec6-QA{
      width: 50%;
      margin: 0 auto 50px auto;
      text-align: left;
    }

    .sec6-last{
      margin: 80px auto 0 auto;
      font-size: 28px;
      color: #A52B29;
      font-weight: 600;
    }

    .sec6-vector{
      width: 100%;
    }

    .sec6-vector img{
      width: 100%;
    }

   /* sec7 */

    .section7-title {
      display: flex;             /* 横並びにして線と文章を整列 */
      align-items: center;       /* 縦中央揃え */
      justify-content: center;   /* 中央寄せ */
      gap: 10px;                 /* 線と文章の間隔 */
      font-size: 28px;
      color: #A52B29;
      margin: 60px 0;
      flex-wrap: wrap;           /* 文章が2行になっても中央寄せ */
    }

    .section7-title2 {
      display: flex;
      text-align: center;        /* 横並びにして線と文章を整列 */
      align-items: center;       /* 縦中央揃え */
      justify-content: center;   /* 中央寄せ */
      gap: 10px;                 /* 線と文章の間隔 */
      font-size: 28px;
      color: #A52B29;
      margin: 100px auto 10px auto;
      flex-wrap: wrap;
      line-height: 2em;
    }

    /* 親の横並び用 */
    .sec7-container {
      gap: 20px; /* ブロック間の隙間 */
    }

    /* 各ブロック */
    .sec7 {
      display: flex;
      text-align: left;
      flex: 1; /* 横幅均等 */
      min-width: 200px; /* 最小幅 */
      width: 50%;
      margin: 0 auto 30px auto;
      background-color: #FBEFEF;
      height: 110px;
    }

    /* 画像 */
    .sec7-item {
      width: 100px; /* 適宜調整 */
      height: auto;
      margin-bottom: 0;
    }

    /* タイトル */
    .sec7-title {
      font-size: 24px;
      font-weight: 700; /* 太字 */
      color: #A52B29;
      padding: 15px 12px 8px 12px;
      margin: 0;
    }

    /* テキスト */
    .sec7-text {
      font-size: 16px;
      color: #333;
      margin: 0 auto;
      padding-left: 12px;
      padding-right: 12px;
    }

    .sec7-img {
      width: 100%;
      position: relative; /* 子の絶対配置の基準 */
    }

    .sec7-item-img {
      position: absolute;
      right: 10%;  /* 右から10％の位置 */
      top: -100px;       /* 必要に応じて上下位置を調整 */
      max-width: 350px; /* 画像サイズ調整 */
      height: auto;
    }



    /* footer */

    footer {
      background: #A52B29;
      color: #fff;
      text-align: center;
      padding: 20px 0;
      margin-top: 0px;
      /* height: 186px; */
      font-size: 16px;
      font-weight: 300;
    }

    .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: 70%;
      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;
    }

    /* 1500px以下（タブレット） */
    @media screen and (max-width: 1500px) {

    .sec2-grid{
      width: 100%;
    }

    .sec1-2 img {
      display: block;
      width: 250px;
    }

    
    .sec3-bg1 {
      width: 100%;
      height: 480px; /* 高さは自動調整 */
      background-image: url(./images/sec3-bg.png);
      background-size: cover;       /* 画像全体を表示 */
      background-position: top center;
      background-repeat: no-repeat;
      padding-top: 30px;
    }



  }

    /* 1200px以下（タブレット） */
    @media screen and (max-width: 1200px) {

      .two-column{
        gap:20px;
      }

      .fv-image{
        margin-bottom: 60px;
      }

      .sec3-item {
        width: 80%;
        height: auto; /* アスペクト比を維持 */
      }

          
      .FV-btn {
        position: absolute;
        top: 50%;                 /* 上下中央 */
        right: 0;                 /* 右端0px */
        width: 120px;             /* サイズ指定 */
        transform: translateY(-50%); /* 真ん中揃え */
        object-fit: contain;       /* 画像比率を保つ */
        z-index: 10;              /* FV画像より上に表示 */
      }

      .fv-title {
        font-size: 28px;
        margin: 0 0 10px 0;
      }
      
      .fv-subtitle {
        font-size: 24px;
      }

      #free-btn{
        margin-bottom: 10px;
      }

      .fv-title .highlight{
        font-size: 40px;
      }

      .column{
        padding: 15px 20px;
      }

      .sec2-column img{
        max-width: 300px;
        height: 250px;
      }

      .sec2-column2, .sec2-column2.left, .sec2-column2.right{
        padding: 15px 30px;
      }

      .sec3-wrapper {
        grid-template-columns: repeat(2, 334px); /* 2列 */
        justify-content: center;
      }

      .sec5-img-sita {
        right: 5%;    /* 右から5% */
        width: 13%;
      }

      .sec4-two-column{
        width: 90%;
        gap: 10px;
      }

      .sec4-last{
        width: 80%;
      }

      .sec5-wrapper{
        width: 95%;
      }

      .sec5-wrapper-item > div:nth-child(2){
        flex: 0 0 60%;
      }
      
      .sec4-left .sec4-item{
        max-width: 380px;
      }

      .sec4-right .sec4-item2{
        width: 160px;
        height: 160px;
      }

      .sec4-left {
         text-align: left;
         font-size:14px;
         }
      .sec4-center { text-align: left; }
      .sec4-right { text-align: left; }

      .sec4-column2 span.sec4-span-item{
        font-size: 14px;
      }

      .sec4-main-title {
        margin-bottom: 15px;
        font-size: 20px;
        text-align: center;
        color: #A52B29;
      }

      .sec6-item{
        width: 90%;
        gap: 20px;
      }

      .sec6-2 img{
        width: 370px;
      }

      .sec6 p{
        font-size: 20px;
      }

      .sec6-span{
        font-size: 28px;
      }

          /* タイトル */
      .sec7-title {
        font-size: 18px;
        font-weight: 700; /* 太字 */
        color: #A52B29;
        padding: 10px 12px 5px 12px;
        margin: 0;
      }

        .free-btn2{
        width: 300px;
      }

      .fv-text-wrapper{
        top:55%
      }
      

      .fv-description{
        font-size:18px;
      }
      
      .fv-keypoints{
        font-size: 20px;
      }

      .sec3-4column{
        width: 95%;
      }
      .sec3-4column-item {
        width: 100%;  /* PCで4列 */
        box-sizing: border-box;
        text-align: center;
        flex: 1;
        padding: 20px 10px; 
        background-color: rgba(163, 14, 11, 0.8);
      }

    .sec3-bg1{
      /* height: 400px!important; */
    }

    .sec4-4-bg img{
      width: 200px;
    }

    }

  /* 768px以下（スマホ） */
  @media screen and (max-width: 768px) {
  
    .pc-only {
      display: none;
    }

    .sp-only {
      display: block;
    }

    #zirei {
      scroll-margin-top:60px;
    }

   #QA{
      scroll-margin-top: 80px;
    }

    .FV-btn {
      position: absolute;
      top: 52%;                 /* 上下中央 */
      right: 0;                 /* 右端0px */
      width: 70px;             /* サイズ指定 */
      transform: translateY(-50%); /* 真ん中揃え */
      object-fit: contain;       /* 画像比率を保つ */
      z-index: 1;              /* FV画像より上に表示 */
    }

    .main-nav {
      display: none;         /* 初期非表示 */
      flex-direction: row; /* 縦方向 */
      position: absolute;
      top: 60px;
      right: 0;
      background: #A52B29;
      width: 150px;
      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;
      z-index: 15;
    }

    /* ここが重要：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;
    }

    img.fv-image {
      display: block;   /* imgをブロック要素に変換 */
      margin: 0 auto;   /* 左右中央寄せ */
      width: 100%;       /* サイズ調整 */
    }

    img.seo {
      display: block;   /* imgをブロック要素に変換 */
      margin: 30px auto;   /* 左右中央寄せ */
      width: 95%;      
    }

    img.graph {
      display: block;   /* imgをブロック要素に変換 */
      margin: 30px auto;   /* 左右中央寄せ */
      width: 95%;      
    }

    .free-btn {
      display: none;
    }

    #free-btn {
      text-align: center;    /* 親で中央寄せ */
      margin-bottom: 20px;
      margin-top: 20px;
    }
    
    #free-btn img{
      width: 200px;
    }

    .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: 40px;
    }

    /* 見出しの前後に実線を追加 */
    .section-title::before,
    .section-title::after {
      content: "";
      display: inline-block;
      width: 10px;   
      border-bottom: 2px solid #A52B29; 
      vertical-align: middle;
      margin: 0 5px;      /* 見出しとの間隔 */
    }

    .fv-keypoints{
      width: 230px;
      font-size: 12px;
    }

    /* sec1 */

    .sec1-text {
      margin-top: 0px;
    }

    #sec1{
      padding-bottom: 30px;
    }

    .two-column {
      flex-direction: column;
      gap: 20px;               /* スマホは間隔を狭く */
      align-items: center;
      padding: 0;
      padding-bottom: 15px;
    }

    .column {
      width: 92%;              /* 幅を画面に合わせる */
      height: auto;            /* 高さは自動調整 */
      padding: 10px 15px;
    }

    .column li{
      font-size: 14px;
    }

    .column h2{
      margin-bottom: 5px;
      font-size: 16px;
    }

    .sec1 img{
      width:95%;
      margin: 0 auto;
    }
    
    .sec1 p{
      font-size: 14px;
      width: 95%;
      margin: 12px auto 0 auto;
    }

    .fv-title{
      font-size: 15px;
      margin-bottom: 0;
      line-height: 1.2;
    }

    .fv-subtitle{
      font-size: 13px;
      padding: 5px 8px 0px 8px;
      margin-bottom: 5px;
      line-height: 1.2;
    }

    .fv-keypoints2
    .fv-keypoints{
      font-size: 12px;
      line-height: 1.2;
    }

    .fv-keypoints2{
      font-size: 10px;
      margin-top: 10px;
      line-height: 1.2;
    }

    .fv-title .highlight{
      font-size: 18px;
    }

    .fv-text-wrapper{
      top:55%
    }

    .fv-description{
      font-size: 11px;
      margin-bottom: 0;
    }

    img.fivemini-btn {
      margin-right: 0px; 
    }
    
    #main-top {
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 100%; /* 横100% × 縦50% */
      padding-top: 60px;
      margin: 0 auto 30px auto;
    }

    .section1-title .big-text {
      font-size: 1.2em; /* お好みの大きさに調整 */
      font-weight: bold; /* 太字にしたい場合 */
      color: #A52B29;
    }

    .section1-title{
      color: #A52B29;
      text-align: center;
      padding: 50px 0;
      font-size: 18px;
    }


     /* sec2 */

     #sec2{
      margin-bottom: 30px;
     }

     .sec2-column h2{
      font-size: 15px;
      margin-bottom: 15px;
      margin-top: 15px;
     }

     .sec2-column img{
      width: 90%;
      height: auto;
      margin-bottom: 20px;
     }

    .sec1-2 img {
      display: block;
      width: 100px;
    }


     .sec2-column2, .sec2-column2.left, .sec2-column2.right{
      padding: 10px 20px;
      font-size: 14px;
      margin-bottom: 0px;
     }

     .sec2-last{
      margin-top: 0;
      padding: 10px 15px;
      line-height: 1.5;
      font-size: 15px;
      width: 80%;
     }

     .sec2-span{
      font-size: 16px;
     }

     .sec2-two-column{
      margin-bottom: 0;
     }

    .sec2-item img{
      height: auto;
    }

    .sec2-item {
      width: calc(90% - 0px);
      padding: 0;
    }

    .sec2-grid{
      width: 100%;
    }

    .section2-title{
      display: flex;             /* 横並びにして線と文章を整列 */
      align-items: center;       /* 縦中央揃え */
      justify-content: center;   /* 中央寄せ */
      gap: 10px;                 /* 線と文章の間隔 */
      font-size: 20px;
      color: #fff;
      margin: 0 0 30px 0;
      padding-top: 30px;
      flex-wrap: wrap;
    }

    .sec2-item img {
      /* 明るくして白っぽく */
      filter: brightness(1.2);
    }

    
    .sec2-item img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* pタグの背景 */
    .sec2-item .text-top {
      width: 100%;
    }

    .sec2-item .text-bottom {
      width: 100%;
      padding: 5px;
      box-sizing: border-box;   /* 幅にpaddingを含める */
    }
      
          
     /* sec3 */

     
      #sec3 {
        background-color: #FBEFEF;
        padding: 0; /* 上下70px、左右0 */
        margin-bottom: 0px;
      }

      .sec3-item {
        width: 97%;
        height: auto; /* アスペクト比を維持 */
      }

      .sec3-wrapper {
        grid-template-columns: 1fr;
        gap: 20px; /* アイテムの間隔 */
        margin-bottom: 30px;
      }

      .sec3-wrapper-item {
          margin: 0 auto; /* 念のため */
      }

      .sec3-text{
        font-size: 14px;
        margin-bottom: 30px;
      }

      .sec3-title{
        padding-top: 10px;
      }

      .sec3-4column{
        display: block;
        margin: 0 auto;
        width: 85%;
      }

      .sec3-4column-item {
      width: 100%;  /* PCで4列 */
      box-sizing: border-box;
      text-align: center;
      height: auto;
      flex: 1;
      padding: 20px 10px; 
      background-color: rgba(163, 14, 11, 0.8);
    }

      .sec3-4column {
        flex-direction: column; /* 縦並び */
        gap: 10px;
      }

      .sec3-arrow {
        transform: rotate(90deg); /* 縦並び用に矢印を下向きに回転 */
      }

      .sec3-arrow {
          transform: rotate(90deg);
      }

      .sec3-3 img{
        width: 90%;
      }

      .sec3-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
      }

      .sec3-wrapper-item p {
        font-size: 14px;
        line-height: 1.3;
      }

      .sec3-3-item {
        margin-top: 20px;
        margin-left: 1%;
      }

      .sec3-bg1{
        height: 820px!important;
      }
      
      .sec3-item-title {
        font-size: 15px;
        color: #FFE65A; /* 黄色 */
        margin-bottom: 10px;
        font-weight: bold;
      }

      .sec3-item-title span{
        font-size: 14px;
      }

      .text-bottom{
        padding: 0 5px;
      }

    /* sec4 */

    
    #sec4{
      padding-bottom:20px;
    }

      .sec4-4-scroll {
        width: 100%;           /* 横幅いっぱい */
        overflow-x: auto;      /* 横スクロールを有効 */
        overflow-y: hidden;    /* 縦スクロールは不要 */
      }

      .sec4-4-scroll img {
        width: 200%;        /* 元画像の横幅を保持 */
        max-width: none;       /* 100%制限を解除 */
        display: block;        /* スクロール内で正しく表示 */
      }

      .sec4-main-title {
        font-size: 18px;
      }

      .sec4-4-bg img{
        width: 130px;
      }

      .sec4-two-column {
        grid-template-columns: 1fr;
        gap: 20px 0;
        width: 100%;
        margin-top: 40px;
        margin-bottom: 30px;
      }

      .sec4-left .sec4-item {
        margin: 0 auto;
        width: 90%;
      }

      .sec4-right .sec4-item2{
        width: 100px;
        height: 100px;
      }

      .sec4-right .sec4-etc{
        font-size: 18px;
      }

      .sec4-text {
        text-align: center;
        margin-bottom: 20px;
        color: #A52B29;
      }
              
      .sec4-last{
        padding: 10px 15px;
        margin-top: 0 auto;
        line-height: 1.5;
        font-size: 15px;
        width: 80%;
        margin-top: 0;
        margin-bottom: 30px;
      }

      .sec4-4-bg {
        width: 100%;       /* 横幅いっぱい */
        height: auto;      /* 高さは自動で縮む */
        margin-top: -180px; /* 背景に半分重なる高さ調整 */
      }

      .sec4-span{
        font-size: 16px;
      }

      .sec4-3column {
        display: block;
        width: 90%;
        margin: 30px auto;
        justify-content: space-between; /* 左・中央・右に配置 */
        gap: 20px;                      /* カラム間の余白 */
        flex-wrap: wrap;                 /* スマホでは折り返す */
      }

      .sec4-column{
        margin-bottom: 30px;
      }

      .sec4-left .sec4-title{
        font-size: 15px;
      }

      h2.sec4-title{
        font-size: 18px!important;
      }

      .sec4-column-span {
        font-size: 14px;
      }

      #sec4-bg{
        width: 100%;
        background-image: url(./images/sec4-4bg.png);
        background-size: 100% 85%;
        background-position: center 100px;
        background-repeat: no-repeat;
      }

      .sec4-4-scroll{
        margin-bottom: 100px;
      }

      /* sec5 */

      #sec5{
        padding-top: 10px;
      }

      .sec5-span{
        font-size: 15px;
      }

      .sec5-title{
        font-size: 16px;
      }

      .sec5-wrapper-item p{
        font-size: 14px;
      }

      .sec5-wrapper-item {
        display: block;
      }
      
      .sec5-wrapper{
        width: 90%;
        gap: 40px;
      }

      .sec5-01-item,
      .sec5-02-item,
      .sec5-03-item
      {
        width: 100%;
      }

      .sec5-01-item img,
      .sec5-02-item img,
      .sec5-03-item img
      {
        height: 50px;
      }

      .sec5-01-item3,
      .sec5-02-item3,
      .sec5-03-item3{
        width: 100%;
      }

      .sec5-01-item3 img,
      .sec5-02-item3 img,
      .sec5-03-item3 img {
        width: 100px;       /* 固定サイズ */
        height: 100px;
        margin: 15px auto;
      }

      .sec5-01-item3 p, .sec5-02-item3 p{
        font-size: 20px;
      }

      .sec5-03-item3 p{
        font-weight: 600;
      }

      .sec5-03-item4 img.sec5-img{
        width: 200px;
      }

      .section5-title{
        font-size: 22px;
      }

      .section5-price{
        margin-top: 15px;
        font-size: 24px;
      }

      .section5-text{
        font-size: 14px;
        width: 90%;
        margin: 20px auto;
      }

      .sec5-price-span{
        font-size: 18px;
      }

      .section5-image img{
        width: 35%;
        margin-right: 0;
      }

      .section5-image{
        margin-bottom: 20px;
        margin-top: 10px;
      }

      .sec5-span-item{
        font-size: 18px;
      }

      .sec5-img-ue{
        left: 2%;
        width: 20%;
      }

      .sec5-img-sita{
        right: 2%;
        width: 20%;
        bottom: 1%;
      }

      .section5-text2{
        color: #000;
        font-size: 12px;
        font-weight: normal;
        margin-top: 20px;
        text-align: center;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
      }

   

      /* sec6 */

      .sec6-title{
        margin: 10px auto 40px auto;
        font-size: 20px;
      }

      .sec6-item{
        display: block;
        width: 97%;
        margin-bottom: 0px;
      }

      .sec6-QA{
        width: 92%;
      }

      .sec6-Q{
        font-size: 15px;
      }

      .sec6-A{
        font-size: 14px;
      }

      .sec6-item img{
        width: 90%;
        margin-bottom: 15px;
      }

      .sec6 {
        width: 100%;
        padding-top: 80px;
      }

      .sec6 p{
        font-size: 14px;
        width: 85%;
        line-height: 1.3;
        top: 68%;
        left: 50%;
      }

      .sec6-span{
        font-size: 16px;
      }

      .sec6-text{
        font-size: 15px;
      }

      .sec6-last{
        margin-top: 30px;
        font-size: 20px;
        color: #A52B29;
        font-weight: 600;
      }


      /* sec7 */

      .section7-title{
        font-size: 17px;
        margin: 30px 0;
      }

      .sec7-title{
        font-size: 16px;
        padding: 5px 5px 0px 12px;
      }

      .sec7-item{
        width: 80px;
        height: 80px;
      }

      .sec7-item-img{
        right: 1%;
        max-width: 120px;
        top: -50px;
      }

      .sec7-text{
        font-size: 14px;
      }

      .sec7{
        width: 90%;
        height: 80px;
      }

      .section7-title2 {
        display: flex;             /* 横並びにして線と文章を整列 */
        align-items: center;       /* 縦中央揃え */
        justify-content: center;   /* 中央寄せ */
        gap: 10px;                 /* 線と文章の間隔 */
        font-size: 17px;
        color: #A52B29;
        margin: 80px 0 0 0;
        flex-wrap: wrap;           /* 文章が2行になっても中央寄せ */
      }

      #service {
        scroll-margin-top: 70px;
      }


      /* footer */

      footer{
        padding: 15px 0 10px 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;
      }

      .footer-center .company-address {
        font-size: 12px;
        width: 90%;
        margin: 0 auto;
        text-align: center;
      }

      .footer-center{
        width: 100%;
        text-align: left;
      }

      .footer-copy {
        text-align: center;
        margin-top: 10px;
        font-size: 9px;
        margin-bottom: 0px;
      }

      .sec2-two-column2 {
        flex-direction: column; /* 縦並び */
        gap: 30px;              /* カラム間隔を縮小 */
      }

      .sec2-grid-text .text-bottom {
        box-sizing: border-box;      /* 幅にpaddingを含める */
      }

      .calendar img{
        width: 95%;       /* 好きなサイズに */
        margin: 0 auto;     /* 中央寄せ */
        text-align: center; /* 中身を真ん中 */
        padding-bottom: 50px;
      }


    }