.service01 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service004.jpg')!important;
}
.service02 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service001.jpg')!important;
}
.service03 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service002.jpg')!important;
}
.service04 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service005.jpg')!important;
}
.service05 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service003.jpg')!important;
}
.service06 {
	background-image:url('http://bafix.jp/wp-content/uploads/2025/02/service006.jpg')!important;
}
#frame1 {
    width:100%;
    position:relative;
    padding-top:6vw;
    padding-bottom:6vw;
}
.fr1titlearea {
    width:85%;
    margin:0 auto;
}
.fr1subtitle {
    color: #4B9CD3;

    font-size:1.2vw;
    font-weight:700;
}
.fr1title {
    font-size:2.5vw;
    margin-bottom:2vw;
    font-weight:700;
}
.fr1sub {
    font-size:1.2vw;
    font-weight:400;
}

#frame2 {
    width:100%;
    position:relative;
    padding-top:6vw;
    padding-bottom:10vw;
    background:#fcfcfc;
}
.fr2titlearea {
    width:85%;
    margin:0 auto;
}
.fr2boxtext a {
	text-decoration:underline;
}

.fr2subtitle {
    color: #4B9CD3;
    font-size:1.2vw;
    font-weight:700;
}

.fr2sub {
    font-size:1.2vw;
    font-weight:400;
}

.fr2title {
    font-size:2.5vw;
    margin-bottom:2vw;
    font-weight:700;
}
.reversefr {
	background:white;
}
/* レイアウトの親要素 */
.fr2box {
    width: 85%;      /* ページ中央寄せにする場合の最大幅 */
    margin: 0 auto;         /* 中央寄せ */
    display: flex;          /* 横並びに */
    flex-wrap: nowrap;      /* 折り返ししない */
    align-items: flex-start;/* 上揃え */
    justify-content: space-between; /* 横方向に隙間を空ける */
    gap: 1rem;              /* 要素間の隙間 */
    
    box-sizing: border-box; /* 余白計算を含める */
  }
.reverse {
	 flex-direction: row-reverse;
}
  
  /* テキスト部分 */
  .fr2boxtext {
    width: 40%;             /* 横幅を50%で固定 */
    box-sizing: border-box; /* 余白計算を含める */
    padding-top:2vw;
	  line-height:2.2vw;
  }
  
  .fr2boxtext p {
    margin: 0;              /* ブラウザデフォルトの余白をリセット */
         /* 行間 */
    font-size: 1.2vw;        /* 文字サイズ(必要に応じて調整) */
  }
  
 
.fr2boximg {
    width: 52%;
    height: 28vw;
    /* box-sizing: border-box; */
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    margin-top: 2vw;
}
  
  .fr2boximg img {
    display: block;         /* 画像をブロック要素にする */
	  width:100%;/* 親要素の幅を超えないように */
    height: 100%;    
	  object-fit:cover;/* アスペクト比を保ったままリサイズ */
    border-radius: 8px;     /* 画像の角を少し丸める（好みで調整） */
  }

  .consultation-section {
    position: relative; /* 擬似要素を絶対配置するため必須 */
    background: url("https://gachicareer.com/wp-content/uploads/2024/06/corinne-kutz-tMI2_-r5Nfo-unsplash-1-scaled.jpg") no-repeat center center;
    background-size: cover;
    padding: 6vw 2vw;
    color: #fff;
  }
  
  /* 薄い紺色の半透明オーバーレイ */
  .consultation-section::before {
    content: "";
    position: absolute;  /* 親要素を基準に絶対配置 */
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0;
    /* RGBAで透過度を調整（例: #223e5c 60%くらい） */
    background: rgba(34, 62, 92, 0.6);
    z-index: 0; /* 背面に敷く */
  }
  
  /* テキストなどをオーバーレイの上に表示するため */
  .consultation-content {
    position: relative; 
    z-index: 1; /* 擬似要素より前面に */
  }
  
  
  /* コンテンツを中央寄せ */
  .consultation-content {
    width:85%;
    margin: 0 auto;
    text-align: center; /* タイトルや説明文を中央寄せ */
  }
  
  /* 見出し */
  .consultation-content h2 {
    font-size: 3vw;
    margin-bottom: 2vw;
    font-weight: 700;
  }
  
  /* 説明文 */
  .consultation-content p {
    font-size: 1.4vw;
    line-height: 1.7;
    margin-bottom: 3vw;
  }
  
  /* 2つの“セット”を横並びにするためのコンテナ */
  .button-row {
    display: flex;
    justify-content: center; /* 中央寄せ */
    gap: 7rem;               /* セット同士の隙間 */
    flex-wrap: wrap;         /* 画面が狭い場合は折り返し */
  }
  
  /* 文字+ボタンのセット */
  .button-item {
    display: flex;
    flex-direction: column; /* 文字の下にボタンを配置 */
   
    gap: 0.5rem;            /* 文字とボタンの隙間 */
    padding-right:3vw;
  }
  
  .btn {
    display: inline-block;
    /* padding: 1rem 4rem; */
    width:27vw;
    height:4.2vw;
    text-decoration: none;
    border-radius: 0.8vw;
    font-weight: 600;
    transition: 0.3s ease;
    display:flex;
    align-items: center;
    justify-content: center;
    
}
  
  /* フォームボタン */
  .btn-contact {
    background-color: #FF9800;
    color: #fff;
  }
  .btn-contact:hover {
    opacity: 0.8;
  }
  
  /* 電話ボタン */
  .btn-phone {
    background-color: #fff;
    color: #333;
  }
  .btn-phone:hover {
    background-color: #f1f1f1;
  }
  
  /* 補足的な文字のサイズ調整など */
  .jp-text {
    font-size: 1.2vw;
    font-weight: 700;
    margin-bottom: 0.5vw;
    display: inline-flex;
    align-items: center;
    color: #fff;
}
  
.jp-text::before {
    content: "";
    display: inline-block;
    width: 0.3vw;
    height: 1em;
    background-color: #4B9CD3;
    margin-right: 0.6vw;
    margin-left: 0.2vw;
    /* padding-left: 3vw; */
}
  
  .en-text {
    font-size:1.2vw;
    opacity: 0.8;
  }
  .tel-number {
    font-weight: 700;
    font-size:1.2vw;
  }
  
  /* レスポンシブ対応（スマホなど幅が狭い場合） */
  @media (max-width: 768px) {
    .consultation-content h2 {
      font-size: 1.6rem;
    }
    .consultation-content p {
      font-size: 1rem;
    }
    .button-row {
      gap: 1rem;
    }
  }
  @media (max-width: 500px) {

  #frame1 {
    width: 100%;
    position: relative;
    padding-top: 50px;
    padding-bottom: 60px;
}
.fr1subtitle {
    
    font-size: 14px;
    font-weight: 700;
}

.fr1title {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 700;
}

.fr1sub {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
}
#frame2 {
    width: 100%;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background: #fcfcfc;
}
.fr2subtitle {
    /* color:rgba(34, 62, 92); */
    font-size: 14px;
    font-weight: 700;
}
.fr2title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}
.fr2box {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    box-sizing: border-box;
    flex-direction: column-reverse;
}
.fr2boximg {
    width:100%;
	height:260px;
	margin-top:0;
	margin-bottom:15px;
}
.fr2boxtext {
    width: 100%;
    box-sizing: border-box;
    padding-top: 15px;
}
.fr2boxtext p {
    margin: 0;
    font-size: 14px;
    line-height: 30px;
}

.consultation-section {
    padding: 0;
    padding-top: 75px;
    padding-bottom: 55px;
}
.consultation-content h2 {
    font-size: 28px;
    margin-bottom:16px;
    font-weight: 700;
    text-align: left;
}
.consultation-content p {
    font-size: 14px;
    margin-bottom: 55px;
    text-align: left;
}
.button-row {
    display:block;
}
.button-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 0px;
    margin-bottom:45px;
}
.btn {
    width:100%;
    height:60px;
}
.jp-text {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0px;
    display: inline-flex;
    align-items: center;
    color: #fff;
}
.jp-text::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 22px;
    background-color: #4B9CD3;
    margin-right: 10px;
    margin-left: 0px;
    /* padding-left: 3vw; */
}
  
.tel-number {
    font-size:16px;
}
.en-text {
    font-size:16px;
}

  }
div#framex {
	width:100%;
	padding-top:6vw;
	padding-bottom:10vw;
}
  /* 全体コンテナ：3列配置 */
    .pricing-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2vw;
      width: 85%;
      margin: 0 auto;
      justify-content: flex-start;
		margin-top:5vw;
    }
    /* 各料金プランセクション：3列分の幅を計算 */
    .pricing-section {
      flex: 0 0 calc((100% - 4vw) / 3);
/*       background-color: #ccc; */
      padding: 0;
      box-sizing: border-box;
    }
    .section-title {
      font-size: 1.5vw;
      text-align: left;
      margin-bottom: 2vw;
			font-family: "Noto Sans JP", sans-serif;
		font-weight:700;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th, td {
      border: 0.2vw solid #999;
      padding: 1vw;
      text-align: left;
      font-size: 1.5vw;
    }
    th {
      background-color: #ddd;
    }
    th, td {
    border: 0.2vw solid #999;
    padding: 0.5vw;
    text-align: left;
    font-size: 1vw;
}
  @media (max-width: 500px) {
	  .pricing-container {
    display: block;


    width: 85%;
    margin: 0 auto;

    margin-top: 40px;
}
	  .section-title {
    font-size: 20px;
    text-align: left;
    margin-bottom: 15px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}
	  th {
    width: 55%;
}
	  th, td {
    border: 0.2vw solid #999;
    padding: 10px;
    text-align: left;
    font-size: 16px;
}
	  .pricing-section{
		  margin-top:40px;
	  }
	  div#framex {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 100px;
}
}


  

