@charset "utf-8";
/* CSS Document */


.business {
	width: 100%;
	margin: 0 auto;
		padding-bottom: 50px;
}

/* 各セクション */
.business-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0px;
	margin: 0;
	position: relative;
	z-index: 1;
	padding-top: 0px;
	padding-right: 0;
	padding-left: 0;

}

/* 01の下が欠けないように、2つ目以降だけ重ねる */
.business-item + .business-item {
  margin-top: 0px;
}
.business-item:first-child {
  margin-top: 0; /* ← これを追加 */
}

/* 画像を少し下にずらす */
.business-item .image {
  position: relative;
  z-index: 0;
  margin-top: 0px;
}

.business-item:nth-child(even) .image {
  margin-top: 0px;
}
.business-item .image2{
	position: relative; 
	float: right;
	display: block;
	margin-top: -150px;
	margin-left: 160px;
	order: 0;

}
/* 画像 */
.business-item .image img {
	width: 100%;
	display: block;

}
.kadom01 img{
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;	
}
.kadom02 img{
	border-bottom-right-radius: 50px;
	border-top-right-radius: 50px;
}
/* テキスト配置 */

.business-item.right .text {
	order: 2;
	background-color: #FFFFFF;
	margin-top: 70px;
	padding-bottom: 70px;
}

.business-item.right .image {
  order: 3;
}

.business-item.left .text {
  order: 4;
  text-align: left;
  background-color: #FFFFFF;
		margin-top:30px;

}

.business-item.left .image {
  order: 1;
}

.business-item .text {
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;

}

.business-item .text h3 {
	font-size: 2.4rem;
	color: #0071bc;
	margin-bottom: 20px;
	padding-left: 50px;
	padding-right: 50px;
}
.business-item .text h3 span {
	color: #B6C3E7;
	font-size: 2em;
	font-style: italic;
	margin-right: 20px;
}
.business-item .text p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #555;
	padding-left: 80px;
	padding-right: 80px;
}

/* 個人相談セクション */
.personal-consult {
  text-align: center;
  margin: 120px 0;
}

.personal-consult .text-center {
  display: inline-block;
  max-width: 600px;
  padding: 60px 20px;
  background-color: #0071bc;
  color: #fff;
  border-radius: 10px;
}

.personal-consult .text-center h3 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.personal-consult .text-center p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.personal-consult .btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #fff;
  color: #0071bc;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.personal-consult .btn:hover {
  background-color: #e0f0ff;
}


/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
  .business-item .image2{
    float: none;        /* ← float解除はここ！ */
    display: block;
    margin: 0px auto;  /* ← 上下40px、左右autoで中央寄せ */
    width: 70%;         /* ← 幅を90%に縮小 */
  }
	.business-item{
	margin: 0px;
	padding: 0pt;
	}	
.business-item .text h3 {
	font-size: 1.8em;
	color: #0071bc;
	margin-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 0px;text-align: center;
}
.business-item .text h3 span {
	color: #B6C3E7;
	font-size: 2em;
	font-style: italic;
	display: block;
	margin-left: auto;
	margin-right: auto;
	float: none;
	
}
	.business-item .text p {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	padding-left: 20px;
	padding-right: 20px;
}
  .business-item .image2 img {
	width: 100%;        /* 画像は親要素にフィットさせる */
	height: auto;
	display: block;
	margin-top: 0px;
	padding-top: 0px;
  }
  .business-item .image img {
	width: 100%;        /* 画像は親要素にフィットさせる */
	height: auto;
	display: block;
	margin-top: 0px;
	padding-top: 0px;
	float: none;
  }
  .business-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  .business-item + .business-item {
    margin-top: -60px;
  }

  .business-item:first-child {
    margin-top: 0;
  }

  .business-item .text,
  .business-item .image {
    width: 100%;
    max-width: none;
  }

  .business-item .text {
	margin-top: 20px;
	text-align: left;
	margin-bottom: 0px;
  }

  .business-item.left .text {
	text-align: left;
  }

  .business {
    padding: 40px 0;
  }

  .business-item:nth-child(even) {
    background-color: transparent;
    padding: 0;
  }
.kadom01 img{
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;	
}
.kadom02 img{
	border-bottom-right-radius: 0px;
	border-top-right-radius: 0px;
}	
@media screen and (max-width: 768px) {

  /* すべて一度リセット */
  .business-item {
    display: flex !important;
    flex-direction: column !important;
  }

  .business-item .image,
  .business-item .image2,
  .business-item .text {
    width: 100% !important;
    order: initial !important;
  }

  /* 画像 → テキストの順番に並べる */
  .business-item .image,
  .business-item .image2 {
    order: 1 !important;
  }

  .business-item .text {
    order: 2 !important;
  }

  /* right/left の指定を完全に無効化 */
  .business-item.right,
  .business-item.left {
    flex-direction: column !important;
  }

}
