@charset "utf-8";

/* =====================================================
--------------------------------------------------------
マイボックス
--------------------------------------------------------
===================================================== */

/* メインビジュアル */
.mainvisual {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mainvisual p {
	margin: 16px auto;
	max-width: 880px;
}

.mainvisual iframe {
	display: block;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

@media screen and (min-width:1024px) {
	.mainvisual p {
		margin: 32px auto;
	}
}



/* ご利用方法（共通） */
.howto {
	position: relative;
	margin-bottom: 32px;
}

.howto h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	color: var(--color-housecom-blue);
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

.howto h2::before {
	display: inline-block;
	width: 32px;
	height: 32px;
	background: url(/img/support/mybox/system_icon02.png) no-repeat center / contain;
	content: '';
}

.howto dl {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.howto dt {
	margin-bottom: 8px;
	padding: 8px 12px;
	background: var(--color-housecom-blue);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
}

.step01 dd img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 600px;
}

.step02 dd {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	gap: 8px;
}

.step02 dd span {
	display: block;
	width: calc((100% - 8px) / 5 * 3);
}

.step02 dd img {
	display: block;
	width: calc((100% - 8px) / 5 * 2);
}

.step03.use-line dd {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.step03.use-line dd img {
	display: block;
	margin: auto;
	width: 250px;
}

.step03.use-line dd span {
	font-size: 12px;
	text-align: center;
}

@media screen and (min-width:1024px) {
	.howto h2 {
		margin-bottom: 20px;
		font-size: 32px;
	}
	.howto h2::before {
		width: 40px;
		height: 40px;
	}
	.howto dl {
		gap: 20px;
	}
	.howto dt {
		margin-bottom: 20px;
		padding: 8px 24px;
		font-size: 24px;
	}
	.step01 dd img {
		margin-left: 0;
	}
	.step02 {
		margin-bottom: 28px;
	}
	.step02 dd img {
		position: absolute;
		right: 0;
		bottom: 0;
		width: auto;
	}
	.step03:not(.use-line) {
		margin-bottom: 54px;
	}
	.step03 dd {
		width: 600px;
	}
	.step03.use-line dd img {
		margin-left: 0;
		width: auto;
	}
	.step03.use-line dd span {
		font-size: 14px;
		text-align: left;
	}
}



/* 各種説明 */
.system {
	padding: 24px 0;
	border-top: 1px solid var(--color-housecom-blue);
}

.system h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-bottom: 12px;
	color: var(--color-housecom-blue);
	font-weight: bold;
}

.system h2 img {
	width: 30px;
}

.system p {
	margin-bottom: 12px;
}

.system picture {
	display: block;
	margin: 0 auto;
	width: fit-content;
}

@media screen and (min-width:1024px) {
	.system {
		padding: 24px 0 56px;
	}
	.system h2 {
		margin-bottom: 16px;
		font-size: 26px;
		font-weight: normal;
	}

	.system h2 img {
		width: 80px;
	}

	.system p {
		margin-bottom: 40px;
	}
}



/* LINE公式アカウントについて */
div:has(.line-start) {
	background: var(--color-housecom-blue);
}

div:has(.line-topic) {
	background: #f1fafe;
}

.line-topic,
.line-start {
	padding-top: 24px;
	padding-bottom: 24px;
}

.line-topic div,
.line-start div {
	padding: 16px 12px 8px;
	border-radius: 6px;
	background: #fff;
	text-align: center;
}

.line-topic h3,
.line-start h3 {
	margin-bottom: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-housecom-blue);
	color: var(--color-housecom-blue);
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

.line-topic p {
	margin-bottom: 12px;
	text-align: left;
}

.line-start ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.line-start li {
	position: relative;
}

.line-start li:not(:last-of-type)::after {
	position: absolute;
	bottom: -24px;
	left: 0;
	right: 0;
	width: 0;
	height: 0;
	margin: auto;
	border-style: solid;
	border-color: var(--color-housecom-blue) transparent transparent transparent;
	border-width: 10px 10px 0 10px;
	content: '';
}

.line-start img {
	display: none;
}

@media screen and (min-width:1024px) {
	.line-topic,
	.line-start {
		padding: 48px 0;
	}
	.line-topic div,
	.line-start div {
		padding: 24px 32px 0;
	}
	.line-topic h3,
	.line-start h3 {
		padding-bottom: 16px;
		font-size: 32px;
	}
	.line-topic p {
		margin-bottom: 32px;
	}
	.line-start ul {
		gap: 56px;
		margin-bottom: 16px;
	}
	.line-topic li:not(:last-of-type)::after {
		bottom: -28px;
	}
	.line-start img {
		display: block;
		margin: 0 auto;
	}
}



/* 検索（共通）mybox用の差分 */
main:has(.line-topic) .lp--search {
	display: flex;
	border-top: none;
}

.lp--search {
	padding-top: 16px;
	border-top: 1px solid var(--color-housecom-blue);
}

.lp--search div:has(.c--flex-1-3) h2 {
	display: none;
}

.lp--search div:has(.c--flex-1-3) p {
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

@media screen and (min-width:1024px) {
	main:has(.line-topic) .lp--search {
		display: none;
	}
	.lp--search {
		padding-top: 48px;
	}
	.lp--search div:has(.c--flex-1-3) h2 {
		display: block;
	}

	.lp--search div:has(.c--flex-1-3) p {
		display: none;
	}
}



/* 物件検索 */
.lp--search .c--flex-1-3 a {
	padding: 60px 8px 16px 8px;
}

.lp--search .c--flex-1-3 a::before,
.lp--search .c--flex-1-3 a::after {
	top: 12px;
	left: 50%;
	translate: -50% 0;
	font-size: 32px;
	pointer-events: none;
}



/* 問い合わせ */
.lp--search .c--flex-1-2 .c--link-sub span {
	padding-left: 32px;
	font-size: initial;
}

.lp--search .c--flex-1-2 .c--link-sub span::before,
.lp--search .c--flex-1-2 .c--link-sub span::after {
	font-size: 24px;
}