@charset "utf-8";

/* ==================================================================
	application.css
	
=================================================================== */

#application #breadcrumbs {
	padding: 28px 0 86px;
}

#application .contents section {
    margin-bottom: 18px;
}

#application .page_title {
	margin-bottom: 42px;
	text-align: center;
	font-size: 2.0625rem;
	font-weight: 500;
    line-height: 1.5;
}

#application .flow {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
	margin-bottom: 60px;
}

#application .flow_item {
	width: 20%;
	padding: 0 10px;
	box-sizing: border-box;
}

#application .flow_anchor {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	min-height: 169px;
	background-color: #eceff2;
}

#application .flow_anchor::before {
	content: "";
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 18px solid #eceff2;
  border-right: 0;
}
#application .flow_item:last-of-type .flow_anchor::before {
	display: none;
}

#application .flow_anchor::after {
	content: "";
	display: block;
	width: 9px;
	height: 9px;
	margin: 12px auto 20px;
	border-right: 2px solid #023793;
	border-bottom: 2px solid #023793;
	transform: rotate(45deg);
}

#application .flow_label {
	position: absolute;
	top: 0;
	left: 50%;
	width: 52px;
	height: 52px;
	transform: translate(-50%, -50%);
}

#application .flow_icon {
	width: 55px;
	height: 50px;
	margin-bottom: 18px;
	object-fit: contain;
	object-position: center;
}

#application .flow_text {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	color: #343434;
}

#application .flow_note {
	display: flex;
	margin: 20px 0 56px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

#application .contents .step {
	position: relative;
	padding: 77px 60px 64px;
	border-top: 1px solid #023793;
	background-color: #fff;
}

#application .contents .step:not(:last-child) {
	margin-bottom: 80px;
}

#application .step:not(:last-of-type)::after {
	content: "";
	position: absolute;
	width: 29px;
	height: 85px;
	bottom: -53px;
	left: 73px;
	background: url("../../images/for-residents/application/step-next.svg") no-repeat center / contain;
	visibility: visible;
}

#application .step_title {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
	padding-bottom: 42px;
	font-size: 1.5625rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
}

#application .step_title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 50px;
	height: 1px;
	background-color: #023793;
}

#application .step_order {
	display: flex;
	align-items: center;
	margin-right: 36px;
	color: #023793;
}

#application .step_number {
	margin-left: 0.1em;
	font-size: 2.375rem;
	letter-spacing: 0.1em;
}

#application .step_heading {
	margin: 25px 0 12px 1rem;
	font-size: 1.0625rem;
    line-height: 1.5;
    text-indent: -1rem;
}

#application .step_description,
#application .step_text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.75;
}

#application .step_text {
	letter-spacing: 0.1em;
}

#application .step_button_list {
	display: flex;
	margin-top: 29px;
	gap: 20px;
}

#application .step_button {
	display: block;
	width: 100%;
	max-width: 338px;
	padding: 23px 0;
	border-radius: 9999px;
	background-color: #023793;
	text-align: center;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.1em;
	color: #fff;
}

#application .caution {
	margin-top: 12px;
}

#application .step_left-box {
	max-width: 60%;
}

#application .step_image {
	display: block;
	width: 50%;
	max-width: 310px;
	height: auto;
	float: right;
}

#application .step_list-title {
	margin: 32px 0 18px;
	font-size: 1.125rem;
	letter-spacing: 0.1em;
	color: #023793;
}

#application .step_contract_type dt {
	background: #023793;
	color: #fff;
	padding: 8px 20px;
	margin-top: 36px;
	font-size: 116%;
}

#application .step ol {
	list-style: decimal;
	padding-left: 1.5em;
	font-size: 1rem;
	line-height: 1.75;
}

#application .step ol li {
	margin-top: 12px;
}

#application .step ol li::marker {
	letter-spacing: 0.1em;
}

#application .step ul li {
	display: flex;
	margin-top: 12px;
	font-size: 1rem;
	line-height: 1.75;
	letter-spacing: 0.1em;
}

#application .step ul li::before {
	content: "・";
	margin-right: 4px;
}

#application .step_note {
	display: flex;
	margin: 0;
	font-size: 0.875rem;
}
#application .step_note::before {
	content: "※";
}
#application #step-05 .step_note {
	margin-top: 5px;
}

#application .step_tel {
	margin: 24px 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
	color: #023793;
}

/* ◆ intro
-------------------------------- */
#application .intro {
    margin-bottom: 80px;
}
#application .intro p.text {
    font-size: 1rem;
    line-height: 1.75;
}
#application .intro a[target="_blank"] {
    text-decoration: underline;
}
#application .intro a[target="_blank"]:after {
    content: "";
    width: 13px;
    height: 13px;
    display: inline-block;
    position: relative;
    top: 0.05em;
    background: url(../../images/real-estate/blank.png) no-repeat center;
    background-size: contain;
    padding-left: 0.5em;
}

/* ◆ step_gray-box
-------------------------------- */
#application .step_gray-box {
    background-color: #F6F6F6;
    border-radius: 8px;
    padding: 26px 28px;
    margin-top: 25px;
}
#application .step_gray-box dt {
    font-size: 0.9375rem;
    font-weight: bold;
    margin-bottom: 10px;
}
#application .step_gray-box dd {
    font-size: 0.875rem;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 2;
}

/* ◆ step_blue-box
-------------------------------- */
#application .step_blue-box {
    border: 2px solid #023793;
    padding: 26px 28px;
    margin-top: 25px;
}
#application .step_blue-box p {
    color: #023793;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
}

/* ◆ step_red-box
-------------------------------- */
#application .step_red-box {
    border: 1px solid #E24848;
    padding: 26px 28px 26px 110px;
    margin-top: 25px;
    margin-bottom: 25px;
    background: url("../../images/for-residents/application/caution.png") no-repeat left 36px center;
    background-size: 40px 35px;
}
#application .step_red-box p {
    color: #E24848;
    font-size: 0.9375rem;
    font-weight: bold;
}

/* ◆ step-05_flow
-------------------------------- */
#application .step-05_flow {
    counter-reset: step-index;
    margin-top: 40px;
}
#application .step-05_flow dl {
    position: relative;
    counter-increment: step-index;
}
#application .step-05_flow dl:not(:last-child) {
    padding-bottom: 25px;
}
#application .step-05_flow dl:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 26px;
    width: 1px;
    height: 100%;
    background-color: #033793;
}
#application .step-05_flow dl dt.step_heading {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: center;
    font-weight: bold;
    margin: 0;
    text-indent: 0;
}
#application .step-05_flow dl dt.step_heading::before {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #033793;
    font-size: 1.25rem;
    font-weight: bold;
    content: counter(step-index);
    background-color: #fff;
    border: 1px solid #033793;
}
#application .step-05_flow dl dd {
    padding-left: 65px;
}
#application .step-05_flow dl dd.step_text {
    letter-spacing: 0;
}


@media only screen and
(max-width : 767px) {

#application #breadcrumbs {
	padding: 28px 0 10px;
}

#application .contents section {
	margin-bottom: 8px;
}

.contents section.wide{
	margin:auto;
	padding: 7% 3%;
}

#application .page_title {
	margin-bottom: 20px;
	font-size: 1.375rem;
	line-height: 1.75;
}

#application .flow {
	justify-content: center;
	margin: 0 -4px;
	margin-bottom: 32px;
}

#application .flow_item {
	width: calc(100% / 3);
	margin-bottom: 28px;
	padding: 0 4px;
}

#application .flow_anchor {
	box-sizing: border-box;
	justify-content: space-between;
	min-height: 124px;
	padding: 28px 10px 8px;
}

#application .flow_anchor::before {
	right: -8px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 8px solid #eceff2;
}

#application .flow_anchor::after {
	width: 8px;
	height: 8px;
	margin: 4px auto 2px;
}

#application .flow_label {
	width: 40px;
	height: 40px;
}

#application .flow_icon {
	width: 35px;
	height: 30px;
	margin-bottom: 8px;
}

#application .flow_text {
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.25;
}

#application .flow_note {
	margin: 0 0 32px;
	font-size: 0.8125rem;
}


#application .contents .step {
	padding: 28px 16px 36px;
}

#application .contents .step:not(:last-child) {
	margin-bottom: 48px;
}

#application .step:not(:last-of-type)::after {
	width: 19px;
	bottom: -48px;
	left: 36px;
}

#application .step_title {
	margin-bottom: 32px;
	padding-bottom: 24px;
	font-size: 1.125rem;
    letter-spacing: 0.04em;
}

#application .step_order {
	margin-right: 16px;
}

#application .step_number {
	font-size: 1.75rem;
}

#application .step_heading {
	margin: 20px 0 8px 1rem;
	font-size: 0.9375rem;
}

#application .step_description,
#application .step_text {
	font-size: 0.875rem;
}

#application .step_text {
	letter-spacing: 0.1em;
}


#application .step_button_list {
	display: flex;
	margin-top: 20px;
	flex-wrap: wrap;
	gap: 16px 0;
}
#application .step_button {
	margin-right: auto;
	margin-left: auto;
	padding: 18px 0;
	font-size: 0.875rem;
}

#application .step_left-box {
	max-width: 100%;
}

#application .step_image {
	width: 100%;
	max-width: 310px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 28px;
	float: none;
}

#application .step_list-title {
	margin: 26px 0 12px;
	font-size: 1rem;
}

#application .step ol {
	padding-left: 1.5em;
	font-size: 0.875rem;
}

#application .step ol li {
	margin-top: 8px;
}

#application .step ol li::marker {
	letter-spacing: 0.1em;
}

#application .step ul li {
	margin-top: 8px;
	font-size: 0.875rem;
}

#application .step_note {
	font-size: 0.8125rem;
}
#application #step-05 .step_note {
	margin-top: 5px;
}

#application .step_tel {
	margin: 24px 0 0;
	font-size: 1rem;
}

/* ◆ intro
-------------------------------- */
#application .intro {
    margin-bottom: 56px;
}
#application .intro p.text {
    font-size: 0.875rem;
}

/* ◆ step_gray-box
-------------------------------- */
#application .step_gray-box {
    padding: 7% 3%;
}

/* ◆ step_blue-box
-------------------------------- */
#application .step_blue-box {
    padding: 7% 3%;
}
#application .step_blue-box p {
    font-size: 0.9375rem;
    text-align: left;
}

/* ◆ step_red-box
-------------------------------- */
#application .step_red-box {
    padding: 60px 3% 7% 3%;
    background-position: top 10px center;
}
#application .step_red-box p {
    font-size: 0.875rem;
}

/* ◆ step-05_flow
-------------------------------- */
#application .step-05_flow {
    margin-top: 20px;
}
#application .step-05_flow dl:not(:last-child)::before {
    left: 21px;
}
#application .step-05_flow dl dt.step_heading {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    margin-bottom: 8px;
}
#application .step-05_flow dl dt.step_heading::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}
#application .step-05_flow dl dd {
    padding-left: 50px;
    padding-top: 4px;
}

}
