.jokin-section {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ヘッダー：ロゴ + ATP検査 + バンブーくん */
.jokin-header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}


.atp{
	font-size:30px !important;
	width: 120px;
}


/* ロゴ + ATP検査 + 緑ライン */
.jokin-title-line-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 10px;
}

.jokin-title-inner {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  z-index: 1;
}
.jokinflex{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
}
.jokinset{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items:center;
	flex-wrap: nowrap;
	width: 40%;
}
.jokin-photo{
	width: 22vw;
	height: auto;
}

.jokin-photo2{
	width: 80%;
	height: auto;
	background-image: url("../img/jokin_img02.png");
	background-size: contain;
	background-repeat: no-repeat;
}

.photo-group{
	display: flex;
	width: 100%;
	flex-direction: row;
	flex-wrap: nowrap;
	background: red;
}

.logo-img {
  width: 280px;
  height: auto;
  vertical-align: bottom;
}

.atp-label {
  font-size: 38px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  line-height: 1;
  padding-bottom: 4px;
}

.atptexcon2{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 14px;
	
}
.atptitle{
	width: auto;
	font-size: 16px;
}
.atptex{
	word-break: break-word;
	margin: 0 auto;
	text-align: left;
}

/* バンブーくん */
.bamboo-kun-inline {
  width: 190px;
  height: auto;
}

/* ビフォーアフター */
.jokin-before-after {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.jokin-image {
  text-align: center;
}

.jokin-image p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 28px;
}

.jokin-image img {
  width: 440px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.description{
	text-align: left;
	width: 90%;
	font-weight: bold;
}

/* ベージュ矩形（説明＋動画 横並び） */
.jokin-info-box {
  background: #fdf5e6;
  border-radius: 12px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: left;
}

.h3haba{
	width: 340px;
	margin:0 auto;
}

.jokin-info-text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 280px;
}

.jokin-info-text span{
	  font-size: 17px;
  font-weight: bold;
  line-height: 1.8;
  color: #333;
  margin: 0;
}
	


.jokin-info-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.jokin-video {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.jokin-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}



