/* 
 sf-budget-banner
 **********************************************************
 */

#sf-budget-banner {
	width: 100%;
	background-color: #FCF8F0;
	padding: 64px 0;
}

#sf-budget-banner-container {
	margin: 0 auto;
    width: 100%;
	max-width: 1290px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#sf-budget-banner-header {
	width: 100%;
    max-width: 401px;
	display: flex;
	flex-flow: column;
	gap: 24px;
}

#sf-budget-banner-header h1 {
	font-size: 32px;
	line-height: 48px;
	letter-spacing: 2px;
	font-weight: bold;
	color: #ff5000;
	margin: 0;
}

#sf-budget-banner-header h2 {
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 2px;
	font-weight: 500;
	color: #4D4D56;
	margin: 0;
}

#sf-budget-banner-header p {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0px;
	font-weight: 400;
	color: #4D4D56;
	margin: 0;
}

#sf-budget-banner-price-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

#sf-budget-banner-price-title {
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #4D4D56;
}

#sf-budget-banner-price-num{
    width: auto;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ff5000;
}

#sf-budget-banner-price-start {
    width: auto;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #4D4D56;
}

.btn-sf-budget-banner-line-link {
	padding: 16px 24px;
	border-radius: 999px;
	background-color: #06c755;
	width: fit-content;
	vertical-align: baseline;
	display: flex;
	align-items: center;
	gap: 4px;
}

.btn-sf-budget-banner-line-link:hover {
	background-color: #15d764;
}

.btn-sf-budget-banner-line-icon {
	aspect-ratio: 1 / 1;
	width: 24px;
	height: 24px;
	fill: #fff;
}

.btn-sf-budget-banner-line-text {
	font-weight: 500;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
}

#sf-budget-banner-img-continer {
	display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    right: -88px;
}

.sf-budget-banner-img {
	width: 100%;
    max-width: 465px;
    height: auto;
    border-radius: 10px;
}

/* 
 section-title
 **********************************************************
 */

.section-title {
	width: 100%;
	max-width: 1290px;
	margin: 0 auto;
	padding-top: 64px;
}

.section-title-text {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 2px;
	font-weight: 500;
	color: #4d4d56;
	display: flex;
	align-items: center;
	gap: 24px;
}

.section-title-text::after {
	content: "";
	width: 100%;
	height: 1px;
	flex: 1;
	background-color: #e7decd;
}

/* 
 sf-budget-plan-content
 **********************************************************
 */

#sf-budget-plan-content-items {
    width: 1290px;
	margin: 0 auto;
	padding-top: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 24px;
}

.sf-budget-plan-content-item {
    aspect-ratio: 1 / 1;
	width: 25%;
	max-width: 302px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#sf-budget-plan-content-item-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0;
    font-weight: 400;
    color: #4D4D56;
}

#sf-budget-plan-content-item-1 p {
    margin-bottom: 16px;
}

#sf-budget-plan-content-item-1 ul {
    padding-left: 24px;
}

#sf-budget-plan-content-item-1 ul li {
    list-style-type: "\00B7";
}

.sf-budget-plan-content-item-label {
    position: absolute;
    bottom: 24px;
    padding: 8px 16px;
    border-radius: 999px;
    background-color: #FBFAF8;
    color: #8D8D94;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    font-weight: 400;
}

#sf-budget-plan-content-item-5 {
    padding: 32px;
    background-color: #FCF8F0;
    color: #FF5000;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 2px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sf-budget-plan-content-item-5 p {
    margin: 0;
}

/* 
 sf-cmf
 **********************************************************
 */

#sf-cmf-container {
	width: 1290px;
	margin: 0 auto;
	padding-top: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

#sf-cmf-header {
	max-width: 401px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

#sf-cmf-header h2 {
	font-size: 32px;
	line-height: 48px;
	letter-spacing: 2px;
	font-weight: bold;
	color: #ff5000;
	margin: 0;
}

#sf-cmf-header p {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0px;
	font-weight: 400;
	color: #4d4d56;
	margin: 0;
}

.btn-sf-cmf-link {
	padding: 16px 24px;
	border-radius: 999px;
	background-color: #ff5000;
	width: fit-content;
	vertical-align: baseline;
	display: flex;
	align-items: center;
	gap: 4px;
}

.btn-sf-cmf-link:hover {
	background-color: #f96826;
}

.btn-sf-cmf-icon {
	aspect-ratio: 1 / 1;
	width: 24px;
	height: 24px;
	fill: #fff;
}

.btn-sf-cmf-text {
	font-weight: 500;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
}

#sf-cmf-img-continer {
	display: grid;
	grid-template-columns: 302px 139px 302px;
	grid-template-rows: 139px 139px;
	gap: 24px;
	grid-template-areas:
		"img01 img02 img04"
		"img01 img03 img04";
}

.sf-cmf-img {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	object-fit: cover;
}

.sf-cmf-img:first-child {
	width: 302px;
	grid-area: img01;
}

.sf-cmf-img:nth-child(2) {
	width: 139px;
	grid-area: img02;
}

.sf-cmf-img:nth-child(3) {
	width: 139px;
	grid-area: img03;
}

.sf-cmf-img:last-child {
	width: 302px;
	grid-area: img04;
}

/* 
 sf-workflow
 **********************************************************
 */

#sf-workflow-container {
	width: 1290px;
	margin: 0 auto;
	padding-top: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 24px;
}

.sf-workflow-item {
	aspect-ratio: 1 / 1;
	width: 25%;
	max-width: 302px;
	background-color: #fbfaf8;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.sf-workflow-item-icon svg {
	aspect-ratio: 1 /1;
	width: 64px;
	height: 64px;
	margin: 16px;
	fill: #34346e;
}

.sf-workflow-item-text {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 2px;
	font-weight: 500;
	color: #4d4d56;
}

.sf-workflow-slogan-container {
	width: 100%;
	max-width: 1290px;
	margin: 0 auto;
	padding-top: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.sf-workflow-slogan-icon {
	aspect-ratio: 1 / 1;
	width: 64px;
	height: 64px;
	fill: #e7decd;
}

.sf-workflow-slogan-icon:first-child {
	transform: rotate(180deg);
}

.sf-workflow-slogan-text {
	font-size: 32px;
	line-height: 48px;
	letter-spacing: 2px;
	font-weight: bold;
	color: #ff5000;
	margin: 0;
}

/* 
 sf-ending
 **********************************************************
 */

#sf-ending {
	width: 100%;
	background-color: #fcf8f0;
    margin-top: 64px;
	padding-top: 64px;
	padding-bottom: 120px;
}

#sf-ending-img-container {
	width: 1290px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
    justify-content: space-evenly;
	gap: 24px;
}

.sf-ending-img {
    height: 465px;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}

.sf-ending-img:first-child {
    aspect-ratio: 1 / 1;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-ending-img:first-child h2 {
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #ff5000;
    margin-bottom: 24px;
}

.sf-ending-img:first-child p {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0;
    font-weight: 400;
    color: #4d4d56;
    margin-bottom: 16px;
}

.sf-ending-img:nth-child(2) {
    aspect-ratio: 1.7 / 1;
}

.sf-ending-img:nth-child(3) {
    aspect-ratio: 0.65 / 1;
}

.sf-ending-img:nth-child(4) {
    aspect-ratio: 1 / 1;
}

.sf-ending-img:last-child {
    aspect-ratio: 1 / 1;
}

#sf-ending-slogan {
    text-align: center;
    margin-top: 64px;
}

#sf-ending-slogan h2 {
	font-size: 32px;
	line-height: 48px;
	letter-spacing: 2px;
	font-weight: bold;
	color: #ff5000;
	margin: 0;
}

.btn-sf-ending-line-link {
	padding: 16px 24px;
	border-radius: 999px;
	background-color: #06c755;
	width: fit-content;
	vertical-align: baseline;
	display: flex;
	align-items: center;
	gap: 4px;
    margin: 24px auto 0;
}

.btn-sf-ending-line-link:hover {
	background-color: #15d764;
}

.btn-sf-ending-line-icon {
	aspect-ratio: 1 / 1;
	width: 24px;
	height: 24px;
	fill: #fff;
}

.btn-sf-ending-line-text {
	font-weight: 500;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
}

/* 
 for mobile
 **********************************************************
 */

@media (max-width: 768px) {

    /* 
 sf-budget-banner
 **********************************************************
 */

 #sf-budget-banner {
    padding: 48px 24px;
 }

 #sf-budget-banner-container {
    flex-direction: column;
 }

 #sf-budget-banner-img-continer{
    width: 100%;
    margin-top: 48px;
    position: static;
    flex-direction: column;
 }

 .sf-budget-banner-img {
    max-width: 100%;
 }

 /* 
 sf-budget-plan-content
 **********************************************************
 */

 #sf-budget-plan-content-items {
    padding: 32px 24px 0;
    margin: 0;
    flex-direction: column;
    width: 100%;
 }

 .sf-budget-plan-content-item {
    width: 100%;
    max-width: 100%;
 }

 #sf-budget-plan-content-item-1 {
    aspect-ratio: auto;
    align-items: start;
    margin-bottom: 8px;
 }

 #sf-budget-plan-content-item-5 {
    order: 1;
 }

/* 
 section-title
 **********************************************************
 */

 .section-title {
    padding: 48px 24px 0;
 }

 /* 
 sf-workflow
 **********************************************************
 */

 #sf-workflow-container {
    width: 100%;
    padding: 32px 24px 0;
 }

 .sf-workflow-item {
    width: calc( 50% - 12px);
    max-width: 100%;
 }

 .sf-workflow-slogan-container {
    padding: 48px 24px 0;
    flex-direction: column;
    gap: 0;
    text-align: center;
 }

 .sf-workflow-slogan-icon:first-child {
    align-self: start;
 }

 .sf-workflow-slogan-icon:last-child {
    align-self: end;
 }

 /* 
 sf-cmf
 **********************************************************
 */

 #sf-cmf-container {
    width: 100%;
    padding: 32px 24px 48px;
    flex-direction: column;
    gap: 48px;
 }

 #sf-cmf-header {
    max-width: 100%;
 }

 #sf-cmf-img-continer {
    grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
	grid-template-areas:
		"img01 img01"
        "img01 img01"
		"img02 img03"
        "img04 img04"
        "img04 img04";
 }

 .sf-cmf-img:first-child {
	width: 100%;
	grid-area: img01;
}

.sf-cmf-img:nth-child(2) {
	width: 100%;
	grid-area: img02;
}

.sf-cmf-img:nth-child(3) {
	width: 100%;
	grid-area: img03;
}

.sf-cmf-img:last-child {
	width: 100%;
	grid-area: img04;
}

/* 
 sf-ending
 **********************************************************
 */

#sf-ending {
    padding: 48px 24px 120px;
}

#sf-ending-img-container {
    width: 100%;
    flex-direction: column;
}

.sf-ending-img {
    width: 100%;
    height: auto;
}

.sf-ending-img:first-child {
    aspect-ratio: auto;
    padding: 0;
}

#sf-ending-slogan {
    margin-top: 48px;
}

}