@charset "utf-8";


.ib	{
	display: inline-block;
}
.ft-down	{
	font-size: 0.9em;
}


/*----------------------
	p-mini-header / header
----------------------*/
.p-mini-header	{
	background-image: url("../images/mini-logo_base.webp");
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
.p-mini-header__title	{
	text-align:center;
	padding:20px 0;
}
.p-mini-header__title img	{
	width:30%;
	height: auto;
}

@media screen and (max-width: 750px) {
	.p-mini-header__title	{
		padding:0;
	}
	.p-mini-header__title img	{
		width:60%;
	}
}



/*----------------------
	p-recipe / resipi
----------------------*/
.p-recipe	{
	padding:60px 0 80px 0;
	background-image:url("../images/partner_bk.webp");
	background-repeat:repeat;
	background-position:center top;
}
@media screen and (max-width: 896px) {
	.p-recipe	{
		padding:30px 0 80px 0;
	}
}

/*===== title =====*/
.p-recipe__title	{
	max-width: 450px;
	width: 70%;
	margin: 0 auto;
}
.p-recipe__title img	{
	width: 100%;
	height: auto;
}

/*===== lead =====*/
.p-recipe__lead	{
	max-width: 700px;
	width: 90%;
	margin: 0 auto;
	padding: 1.5em 0 2.5em;
}
.p-recipe__lead img	{
	width: 100%;
	height: auto;
}
@media screen and (max-width: 896px) {

}

/*===== main-image =====*/
.p-recipe__main	{
	max-width: 800px;
	width: 90%;
	margin: 0 auto 40px auto;
	border: solid 8px #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.p-recipe__main img	{
	width: 100%;
	height: auto;

}
/*===== sub-image =====*/
.p-recipe__sub-image {
    flex: 0 0 calc(50% - 40px);
}
.p-recipe__sub-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}


/*===== body =====*/
.p-recipe__body	{
	max-width: 800px;
	width: 90%;
	margin: 0 auto;
	font-size: 1.2em;
    padding: 2em 1em;
	line-height: 1.8;
}

/*===== section =====*/
.p-recipe__section	{
	padding-bottom: 40px;
}
@media screen and (max-width: 768px) {
	.p-recipe__section	{
		padding-bottom: 20px;
	}
}

/*===== sub-title =====*/
.p-recipe__sub-title	{
	display: inline-block;
    background-color: #2d0000;
    color: #fff;
    padding: 0 6px;
    margin-bottom: 10px;
	font-weight: 500;
    font-size: 0.9em;
    letter-spacing: 2px;
}

/*===== flex-container =====*/
.p-recipe__flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}
@media screen and (max-width: 750px) {
	.p-recipe__flex-container {
        flex-direction: column; /* 縦並びに変更 */
        gap: 20px;              /* スマホでは間隔を少し狭める */
        width: 100%;            /* 横幅いっぱい */
    }

    .p-recipe__list,
    .p-recipe__sub-image {
        flex: 0 0 100%;         /* 幅を100%にする */
        width: 100%;
    }

    /* 画像を下に表示させたい場合は、orderプロパティで順番を制御できます */
    .p-recipe__sub-image {
        order: 2; /* リストの後に表示 */
    }
    .p-recipe__list {
        order: 1; /* リストを先に表示 */
    }
}

/*===== list / steps =====*/
.p-recipe__list ,.p-recipe__steps {
    flex: 0 0 50%;
    list-style: none;
    padding: 1.2em;
    background-color: rgb(255, 255, 255, 0.8);
}

/*===== item / step-item =====*/
.p-recipe__item ,.p-recipe__step-item {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc; /* 下の区切り線 */
    color: #333;
    font-feature-settings: "palt"; /* 文字詰めをするときれいに見えます */
}


@media screen and (max-width: 750px) {
	.p-recipe__flex-container {
        flex-direction: column; /* 縦並びに変更 */
        gap: 20px;              /* スマホでは間隔を少し狭める */
        width: 100%;            /* 横幅いっぱい */
    }

    .p-recipe__list,
    .p-recipe__sub-image {
        flex: 0 0 100%;         /* 幅を100%にする */
        width: 100%;
    }

    /* 画像を下に表示させたい場合は、orderプロパティで順番を制御できます */
    .p-recipe__sub-image {
        order: 2; /* リストの後に表示 */
    }
    .p-recipe__list {
        order: 1; /* リストを先に表示 */
    }
}





/*===== steps =====*/
.p-recipe__steps {
    list-style: none;     /* デフォルトの数字を消す */
    counter-reset: recipe-count; /* カウンターをリセット（名前は任意） */
    padding: 0;
    margin: 0;
}
.p-recipe__step-item {
    position: relative;
    padding: 16px 24px 24px 54px; /* 数字を表示するために左側に余白を空ける */
    min-height: 32px;
}
.p-recipe__step-item::before {
    counter-increment: recipe-count; /* 数字を1増やす */
    content: counter(recipe-count);  /* 数字を表示 */
    
    /* 見た目の装飾 */
    position: absolute;
    left: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    background-color: #2d0000; /* お好みのテーマカラー（例：オレンジ） */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
}
.p-recipe__step-text {
    line-height: 1.6;
    display: block;
}
@media screen and (max-width: 750px) {
	.p-recipe__step-item	{
		padding: 12px 24px 12px 45px;
	}
	.p-recipe__step-item::before {
		left: 14px;
		top: 12px;
		width: 24px;
		height: 24px;
	}
}






/*----------------------
	p-recipe__foot / footer
----------------------*/
.p-recipe__tver-info	{
	max-width: 680px;
	width: 100%;
	margin: 0 auto;
}
.p-recipe__tver-info img	{
	width: 100%;
	height: auto;
}
@media screen and (max-width: 750px) {
	.p-recipe__tver-info	{
		width: 83%;
	}
}