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

/* おすすめ吹き出しアイコン */
.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(2) .title p {
	display: flex;
	align-items: center;
}
.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(2) .title p::after {
	content: "";
	display: inline-block;
    width: 60px;
    height: 29px;
	background-image: url(../../../common/img/plan/icon_osusume_weekdays.webp);
	background-size: 100%;
	background-repeat: no-repeat;
	margin-left: 7px;
    padding-bottom: 5px;
	flex-shrink: 0;
}
/* /おすすめ吹き出しアイコン */

/* おすすめプラン背景 */
.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1) {
	border: 4px solid;
	border-image: linear-gradient(to bottom, #E7D07E, #EFDBA8, #CEA63F) 1;
	background-size: contain;
	background-image: url(../../../common/img/plan/background_hp.webp)!important;
	position: relative;
	background-repeat: repeat;
	box-sizing: border-box;
	padding: 100px 40px 60px;
}
.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1)::after {
    position: absolute;
    content: "";
    display: block;
    width: calc(100% - 9px);
    height: calc(100% - 9px);
    border: 1px solid;
    border-image: linear-gradient(to bottom, #E7D07E, #EFDBA8, #CEA63F) 1;
    left: 4px;
    top: 4px;
    pointer-events: none;
}
@media screen and (max-width: 700px) {
	.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1) {
		background-image: url(../../../common/img/plan/background_hp.webp)!important;
		border-left: none;
		border-right: none;
		width: 100vw!important;
		margin: 0 calc(50% - 50vw) 40px !important;
		margin-bottom: 0 !important;
		padding-top: 35%;
	}
	.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1)::after {
		width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid;
        border-image: linear-gradient(to bottom, #E7D07E, #EFDBA8, #CEA63F) 1;
        top: 4px;
        left: 0;
	}
}
/* /おすすめプラン背景 */

/*ベーシックプラン*/
@media screen and (max-width: 700px) {
	.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(2) {
		padding-top: 15%;
	}
}
/* /ベーシックプラン*/

/* 見出し表示 */
.plan .plan_ref_recmm .mod-rcm-item-02::before {
    width: 554px;
    height: 47px;
	color: #FFF;
    font-size: 20px;
    font-weight: 700;
	line-height: 2;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 7%;
    left: -10px;
    z-index: 1;
}

.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1)::before {
    content: "おすすめプラン";
}
.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1)::before {
    background-image: url(../../../common/img/plan/ribbon_pc01.webp);
    padding-left: 44px;
}
@media screen and (max-width: 700px) {
	.plan .plan_ref_recmm .mod-rcm-item-02::before {
		width: 70%!important;
		font-size: 3.7vw;
        left: 0;
		right: 0;
		margin-inline: auto;
        padding-left: 0 !important;
        text-align: center;
        background-size: 100%;
        background-repeat: no-repeat;
    }
	.plan .plan_ref_recmm .mod-rcm-item-02:nth-of-type(1)::before {
		background-image: url(../../../common/img/plan/ribbon_sp01.webp);
	}
}
/* /見出し表示*/