.step-title img.wp-smiley, .step-title img.emoji{
	font-size:1.3em;
	margin-right:10px!important;
}
.flowchart-step-box {
    margin-top: 5px;
    display: flex;
    align-items: flex-start; /* 上揃え */
    padding: 0;
    position: relative;
	margin-bottom:0;
}
.step-image-caption{
	margin:0;
	text-align:center;
	font-weight:bold;
	font-size:0.9em;
	line-height:1.3;
	margin-top:3px;
}

.step-left {
	justify-content: flex-start; /* より正確に上揃えにする */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
	width:100px;
}

.step-number {
	width:100%;
	background-color:#555;
    color:#fff;
    font-weight: bold;
    text-align: center;
	font-size:1em;
	padding:3px 15px;
	border-radius:999px;
	margin-bottom:10px;
}

.step-image {
    width: 80%;
    height: auto;
	margin:0 auto;
	display:block;
}
.step-dot-line {
    width: 3px;
    min-height: 5px;  /* 最低限の高さを確保 */
    max-height: 500px; /* 極端に長くなりすぎないよう制限 */
    border-left: 2px dotted #004999;
	margin-top: 5px;
    transition: height 0.2s ease;
}




.step-right {
    flex: 1;
	overflow: hidden;
}

.step-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 5px;
    color: #333;
    border: none;
}

.step-description {
    width: 100%;
    max-width: 100%;
    display: inline-block;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 1.2em;  /* 余白を調整 */
    margin: 0 !important; /* 余計な余白を完全に削除 */
    box-shadow: 0 2px 3px rgba(125, 55, 4, 0.15);
    overflow: hidden !important;
    word-wrap: break-word;
}

/* Gutenbergエディター内での見切れ防止 */
.editor-styles-wrapper .step-description {
    display: inline-block; /* インラインブロックを維持 */
    width: 100%; /* 親要素いっぱいに広げる */
    max-width: 100% !important; /* 余計なはみ出しを防ぐ */
    box-sizing: border-box; /* パディングを含めた幅計算にする */
    white-space: normal; /* テキストが折り返されるようにする */
}






