@charset "UTF-8";

.pcOnly{ display: block !important; }
.spOnly{ display: none !important; }
@media screen and ( max-width:599px) {
	.pcOnly{ display: none !important; }
	.spOnly{ display: block !important; }
}

/* ------------------------------------------------- ultramansion_page base - */
section {
	padding: 0;
	overflow: visible;
	border: 0;
	margin-bottom: 60px;
	background: var(--co-white);
}
section#secInquiry {
	margin-bottom: 0;
}
h2 {
	padding: 0;
	margin-bottom: 40px;
	font-family: var(--te-Gosick);
}
h2::after {
	display: none;
}

.ultramansion_page section p {
	font-size:18px;
	color:#182f64;
	line-height:2;
	padding-bottom: 0;
}
.ultramansion_page .tit_sec{
	color:#182f64;
	font-size:35px;
}
@media screen and ( max-width:599px) {
	& .ultramansion_page .tit_sec {
		font-size: 20px;
	}
	& .ultramansion_page section p {
		font-size: 14px;
		text-align: left;
	}
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}
@media screen and ( max-width:1024px ) {
	& .container {
		width: calc(100% - 60px);
		max-width: unset;
	}
}
@media screen and ( max-width:599px) {
	& .container {
		width: calc(100% - 30px);
	}
}

.borderLink {
	font-size: inherit;
	line-height: 1.4;
	padding: 0.45em 1.6em 0.45em 0.3em;
	color: var(--co-white);
	position: relative;
	overflow: hidden;
	transition: opacity 0.2s ease-in-out;
	display: block;
	cursor: pointer;

	&::before,
	&::after {
		content: "";
		position: absolute;
		font-size: 1.1em;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		margin: auto;
		transition: transform 0.2s ease-in-out;
	}
	&::before {
		right: 0.3em;
		z-index: 1;
		border: 0.15em solid var(--co-white);
		border-left: transparent;
		border-bottom: transparent;
		transform: rotate(45deg);
		width: 0.4em;
		height: 0.4em;
	}
	&::after {
		border-radius: 2em;
		background: var(--co-white);
		width: 100%;
		height: 2px;
		top: auto;
	}
	&:hover {
		opacity: 0.7;
	}
	&:hover::after {
		transform: translateX(100%);
	}
}





/*--------------------------------------------------------------- main_box -- */
.ultramansion_page .main_box{
	background:#cff0fc;
	background: linear-gradient(to bottom, #cff0fc 65%,#ffffff 100%);
	margin-bottom: 0!important;

	& .container {
		padding-top:80px;
		background-image: url(/corporate/image/ultramansion-bg_main01.png);
		background-repeat: repeat-x;
		background-position: bottom center;
		width: 100%;
		max-width: unset;
	}
	& .main_txt{
		width:620px;
		margin:0 auto 60px;
	}
	& .main_illust{
		width: 300px;
		margin: 0 auto;
		& img{
			width: 100%;
		}
	}
	& .copy_ul {
		display: none;
	}
}
@media screen and ( max-width:599px) {
	.ultramansion_page .main_box {
		& .container {
			padding-top: 50px;
			background-size: 125%;
			& .main_txt {
				width: 80%;
				margin: 0 auto 40px;
				& img {
					width: 100%;
				}
			}
			& .main_illust {
				width: 50%;
				margin: 0 auto;
				padding-bottom: 0;
			}
		}
		& .copy_ul {
			width: 100%;
			padding: 6px;
			display: flex;
			justify-content: end;
			& img {
				width: 45%;
			}
		}
	}
}




/*----------------------------------------------------------------- cv_box -- */
.cv_box {
	&.bgRed{
		background-color: #d34727;
		margin-bottom: 0;
	}
	& .ctaArea{
		padding: 1.5em 0;
		margin-bottom: 0;

		& .colIn {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			gap: 2em;
			color: var(--co-white);

			& .ctaArea__Left {
				display: flex;
				align-items: center;
				gap: 1em;

				& .ctaArea__Left__img {
					height: 5em;
					& img {
						height: 100%;
						width: auto;
					}
				}
				& .ctaArea__Left__txt {
					display: flex;
					align-items: center;
					flex-direction: row;
					gap: 1em;

					& h4 {
						margin-bottom: 0;
					}
					& ul {
						display: flex;
						align-items: center;
						gap: 0.25em;
						line-height: 0.7;
						font-weight: bold;

						& li.price {
							font-size: 0.95em;
						}
						& li.unit {
							display: flex;
							flex-direction: column;
							justify-content: flex-start;
							align-items: flex-start;
							font-size: 1.45em;
							gap: 0.25em;

							& span {
								font-size: 0.9em;
								&.fontS {
									font-size: 0.65em;
								}
							}
						}
					}
				}
			}
			& .ctaArea__Right {
				& p{
					color: var(--co-white);
				}
				& a{
					font-size: 1.25em;
					padding: 0.25em 1.5em;
					color: var(--co-white);
				}
				& a:hover{
					color: #182f64;
				}
			}
		}
	}

	& .cv_box_inner{
		background-image: url(/corporate/image/ultramansion-bg_cv01.gif);
		background-repeat: repeat;
		margin-top: 0;
		& .container{
			padding: 25px 0 10px;
	
			& .cv_btn{
				position: absolute;
				right: 110px;
				top: 150px;
				width: 400px;
	
				& img {
					width: 100%;
					transition: 0.5s;
				}
				&:hover img {
					opacity:0.7;
				}
			}
			& > .illust_e{
				display: inline-block;
				width: 200px;
				height: auto;
				position: absolute;
				bottom: 20px;
				left: 0px;
			}
		}
		& .copy_ul {
			display: none;
		}
	}
	& .cv_text_box {
		background-color: var(--co-white);
		text-align: center;
		font-size: 1.5em;
		padding: 1em 0 0;
		& p {
			font-size: inherit;
			& b {
				font-size: 1.5em;
				margin-top: 0.5em;
				display: block;
			}
		}
		& span {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-top: 1em;
			position: relative;
			bottom: -9px;
		}
	}
	&.cv_first {
		max-height: 283px;
		margin:0;
		& .cv_box_inner {
			margin-top: 0;
		}
		& .container {
			top: -60px;
			.cv_btn{
				top: 150px;
			}
		}
	}
}
@media screen and ( max-width:1024px ) {
	.cv_box {
		& .cv_box_inner {
			margin-top: 0;
			& .container {
				& div {
					& img {
						width: 100%;
					}
				}
				& .cv_btn {
					top: 125px;
					width: 340px;
					right: 82px;
				}
			}
		}
		&.cv_first {
			max-height: 222px;
		}
	}
}
@media screen and ( max-width:599px) {
	.cv_box {
		background: transparent;
		margin: 0;

		& .ctaArea {
			& .colIn {
				flex-direction: column;
				gap: 0.5em;

				& .ctaArea__Left {
					& .ctaArea__Left__txt {
						gap: 0.5em;
						flex-direction: column;
					}
				}
			}
		}
		& .cv_box_inner {
			margin-top: -5px;
			padding: 15px 0;
			& .container {
				top: 0;
				padding: 0;
				background-color: #FFF;
				border-radius: 7px;
				padding-bottom: 11px;
				& div {
					margin-bottom: 0;
					margin-left: -10px;
					width: 100%;
					top: -7px;
					position: relative;
					& img {
						width: 100%;
					}
				}
				& .cv_btn {
					position: relative;
					top: 0;
					width: 80%;
					right: 0;
					left: 0;
					margin: auto;
					margin-top: -10px;
				}
				& > img {
					width: 45%;
					text-align: center;
					margin: 20px auto 0;
				}
			}
			& .copy_ul {
				position: absolute;
				height: 8px;
				bottom: 4px;
				right: 15px;
				& img {
					height: 100%;
					width: auto;
				}
			}
		}
		&.cv_first {
			max-height: unset;
			border-bottom: 1px solid #ccc;
			& .container {
				background-color: transparent;
				top: 0;
				margin-top: -16px;
				padding-bottom: 0;
				& .cv_btn {
					position: relative;
					top: 0;
					right: 0;
					left: 0;
					width: 80%;
					margin: auto;
				}
			}
			& .cv_box_inner {
				background: transparent;
				padding: 0;
			}
		}
		& .cv_text_box {
			font-size: 0.875em;
			padding: 3em 0 0;
			margin-left: auto;
			margin-right: auto;
			& p {
				text-align: center;
				& b {
					font-size: 1.1em;
				}
			}
			& span {
				width: 12em;
				margin: 1em auto 0;
				bottom: -5px;
				& img {
					width: 100%;
				}
			}
		}
	}
}


/* ------------------------------------------------------------- about_box -- */
.about_box {
	padding-top: 60px;

	& .container {
		max-width: 920px;

		& h2 {
			margin: 0 auto 30px;
			text-align: center;
			padding: 0;
		}
		& p{
			margin-bottom:30px;
			font-size:17px;
			color:#333;
		}
		& p:last-of-type{
			margin-bottom:0;
		}
	}
}
@media screen and ( max-width:599px) {
	.about_box {
		& .container {
			& h2 {
				& img {
					width: 100%;
				}
			}
			& p{
				font-size:16px;
			}
		}
	}
}


/* ----------------------------------------------------------- details_box -- */
.details_box{
	margin-bottom: 120px;
	padding: 60px 0 0;
	background-image: url(/corporate/image/ultramansion-bg_details01_pc.gif) !important;
	background-repeat: no-repeat !important;
	background-position: bottom center !important;
	background-size: cover !important;
	& .container {
		max-width: 960px;
		text-align: center;
		background-image: url(/corporate/image/ultramansion-img_details02.png);
		background-repeat: no-repeat;
		background-position: top center;
		padding-top: 60px;

		& p {
			margin-bottom:25px;
		}
		& .details_illust {
			width:350px;
			margin:0 auto;
			& img {
				width: 100%;
			}
		}
	}
}

@media screen and ( max-width:599px) {
	.details_box{
		padding-top: 30px;
		margin-bottom: 0;
		& .container {
			background-image: none;
			padding: 0;
			& .tit_sec {
				margin-bottom: 1em;
			}
			& .details_illust {
				& img {
					width: 64%;
				}
			}
		}
	}
}



/*----------------------------------------------------------- .contans_box -- */
.contans_box {
	z-index: 1;

	& .container {
		& .case{
			width:40%;
		
			&.text_box{
				padding: 0 60px 30px;
				border: 2px solid #fddd52;
				position: relative;
				margin-top: 300px;
				width: 55%;
				& p{
					font-size:17px;
					margin-bottom:30px;
					text-align:left;
				}
			}
			&.illust_box{
				position: absolute;
				top: -200px;
				right: 0;
				img {
					width: 100%;
				}
			}
		}

		& .tit_sec {
			top: -30px;
			text-align: center;

			&:before{
				display: block;
				content: url(/corporate/image/ultramansion-img_illust00.png);
				width: 55px;
				height: auto;
				margin: 0 auto;
				position: absolute;
				top: -60px;
				left: 0;
				right: 0;
			}
			&:after{
				display: block;
				content: "";
				width: 2em;
				height: 2px;
				background: #fddd52;
				margin: 0 auto;
				position: relative;
				top: 30px;
			}
			& span{
				display:inline-block;
				background:#fffdf4;
				padding:0 1em 0 1.4em;
			}
		}

		&:after {
			display: block;
			content: "";
			width: calc(100% - 30px);
			height: 115%;
			background: #fffdf4;
			margin: 0 auto;
			position: absolute;
			bottom: 30px;
			z-index: -1;
			left: 30px;
		}
	}

	&:after {
		display: block;
		content: "";
		width: 50%;
		height: 115%;
		background: #fffdf4;
		margin: 0 auto;
		position: absolute;
		bottom: 30px;
		z-index: -1;
		right:0;
	}

	& .illust_a,
	& .illust_b,
	& .illust_c,
	& .illust_d {
		display: inline-block;
		height: auto;
		position: absolute;
	}
	& .illust_a,
	& .illust_c {
		left: 0;
	}
	& .illust_b,
	& .illust_d {
		right: 20px;
	}

	& .illust_a{
		width: 120px;
		top: -240px;
	}
	& .illust_b{
		width: 234px;
		bottom: 0;
	}
	& .illust_c{
		width: 81px;
		top: -45px;
	}
	& .illust_d{
		width: 160px;
		bottom: -70px;
	}
}
@media screen and ( max-width:1024px ) {
	.contans_box {
		& .illust_a,
		& .illust_c {
			left: 30px;
		}
		& .illust_b,
		& .illust_d {
			right: 30px;
		}
	}
}
@media screen and ( max-width:599px) {
	.contans_box {
		margin-bottom: 30px;
		& .container {
			width: calc(100% - 30px);
			padding-top: 120px;
			margin-bottom: 0;
			& .case{
				width: 100%;
				&.text_box{
					width: 100%;
					padding: 0 20px 20px;
					margin-top: 0;
					& img {
						width: 80%;
						margin-bottom: 30px;
						margin-left: auto;
						margin-right: auto;
					}
					& p {
						font-size: 15px;
						margin-bottom: 10px;
					}
				}
			}
			& .tit_sec {
				top: -15px;
			}
			&:after {
				width: 100%;
				height: 98%;
				bottom: 30px;
				top: 0;
				left: -15px;
			}
		}
		&:after {
			display: none;
		}
	}
}


.contans_box.last_contents {
	margin-top: 200px;
	margin-bottom: 190px;
	& .container {
		& .case.text_box{
			margin: 0;
			position: absolute;
			top: 0;
			right: 0;
			border: 2px solid #ff8c3e;
		}
		& .case.illust_box{
			position: relative;
			top: 130px;
		}
		& .tit_sec span{
			background:#fffbf9;
		}
		& .tit_sec:after{
			background:#ff8c3e;
		}
	
		&:after{
			background: #fffbf9;
			bottom: 70px;
			right: 30px;
			left: auto;
		}
	}
	&:after {
		background: #fffbf9;
		bottom: 70px;
		left:0;
		right: auto;
	}
}
@media screen and ( max-width:599px) {
	.contans_box.last_contents {
		margin-top: 0;
		margin-bottom: 0;
		& .container {
			& .case.text_box{
				position: relative;
			}
			& .tit_sec span{
				background: #fffbf9;
			}
			&:after{
				left: auto;
				right: -15px;
			}
		}
	}
}



/* -------------------------------------------------------- .structure_box -- */
.structure_box {
	& .container {
		padding:20px 0 60px;
		width: 820px;
		& h2 {
			margin-bottom:60px;
			& img{
				width:680px;
			}
		}
		& img {
			display:block;
			margin:0 auto;
		}
		& p {
			margin: 0 auto;
			color: #333;
		}
		& p:not(:last-of-type){
			margin-bottom: 20px;
		}
	
		& > img:nth-of-type(1){
			width:139px;
			margin-bottom:30px;
		}
		& > img:nth-of-type(2){
			width:505px;
			margin-bottom:30px;
		}
		& > img:nth-of-type(3){
			width: 100%;
			margin-bottom:45px;
		}
	}

}
@media screen and ( max-width:599px) {
	.structure_box {
		margin-bottom: 0;
		& .container {
			width: calc(100% - 30px);
			padding-bottom: 30px;
			& > img:nth-of-type(1) {
				width: 80px;
				margin-bottom: 20px;
			}
			& > img:nth-of-type(2) {
				width: 90%;
				margin-bottom: 20px;
			}
			& > img.spOnly {
				width: 90%;
				margin-bottom:30px;
			}
			& h2 {
				margin-bottom:30px;
				& img {
					width: 100%;
				}
			}
		}
	}
}



/* ------------------------------------------------------------ .merit_box -- */
.merit_box {
	& .container{
		& .case {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			justify-content: space-evenly;
			gap: 4em;
			margin-top: 4em;
			& img{
				width:25%;
			}
		}
		& h2 {
			& img{
				width:755px;
				display:block;
				margin:0 auto;
			}
		}
	}
}
@media screen and ( max-width:599px) {
	.merit_box {
		& .container {
			width: calc(100% - 30px);
			& h2 {
				& img {
					width: 100%;
				}
			}
			& .case {
				gap: 1em;
				margin-top: 0;
				& img{
					width: 45%;
				}
			}
		}
	}
}


/* ----------------------------------------------------------------- .flow -- */
.bgOrange {
	padding: 5em 0;
	background-color: #fffdf4 !important;
	margin-bottom: 0;

	& .colIn > .fontS {
		font-size: 10px;
	}
}
@media screen and ( max-width:599px) {
	.bgOrange {
		& .colIn > .fontS {
			margin-left: 2em;
			margin-right: 2em;
		}
	}
}

.flow {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.25em;

	& li {
		display: flex;
		flex-direction: column;
		justify-content: stretch;
		align-items: center;
		padding: 1em;
		position: relative;
		background: var(--co-white);
		width: calc(100% / 5);
		flex-grow: 1;
		border-radius: 1em;

		& h6 {
			color: var(--co-white);
			background-color: #d34727;
			height: 2em;
			width: 2em;
			font-size: 2.2em;
			letter-spacing: 0;
			display: flex;
			flex-direction: column;
			border-radius: 5em;
			line-height: 1;
			align-items: center;
			justify-content: center;
			position: relative;
			z-index: 1;

			& span {
				font-size: 0.45em;
			}
		}
		& div {
			height: auto;
			flex-grow: 1;
			display: flex;
			flex-direction: column;
			justify-content: space-around;

			& img {
				width: 90%;
				border-radius: 1.7em;
				margin: auto;
			}
		}
	}

	& li:not(:last-of-type):after {
		content: "";
		position: absolute;
		width: 1.5em;
		height: 1.5em;
		transform: rotate( -45deg );
		top: 0;
		right: -0.5em;
		bottom: -0.5em;
		margin: auto;
		z-index: 1;
		border: 4px solid #d34727;
		border-left: 0;
		border-top: 0;
		background: var(--co-white);
	}

	& h3 {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		margin-bottom: 0.5em;
	}

	& p {
		padding-bottom: 0;
		margin-bottom: auto;
		margin-top: auto;
	}
	& p .ctaBtn {
		font-size: 1.25em;
		margin-top: 0.5em;
	}
}

@media screen and ( max-width:599px) {
	.flow {
		flex-direction: column;
		margin-left: 2em;
		margin-right: 2em;
		& li {
			width: 100%;
		}
		& li:not(:last-of-type):after {
			transform: rotate( 45deg );
			top: auto;
			right: 0;
			bottom: -0.5em;
			left: 0;
		}
	}
}



/* ---------------------------------------------------------------- .popup -- */
.popup {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;

	&.is-show {
		opacity: 1;
		visibility: visible;
	}

	& .popup-inner {
		position: absolute;
		left: 50%;
		top: 50%;
		height: 85vh;
		transform: translate(-50%,-50%);
		width: 85%;
		max-width: 1000px;
		background-color: var(--co-white);
		z-index: 2;
		border-radius: 0.25rem;
		overflow: hidden;
		display: flex;
		flex-direction: column;

		& .popup-head {
			padding: 2em;
			border-bottom: 1px solid var(--co-text-dark-lite);
		}

		& .popup-txt {
			height: 100%;
			overflow: auto;

			& .popup-body {
				padding: 1em 1.5em;
				font-size: 0.875em;

				&:not(:last-of-type) {
					border-bottom: 1px dashed var(--co-text-dark-lite);
				}

				& h4 {
					margin-bottom: 0.5em;
					text-align: left;
				}
				& p {
					padding-bottom: 0.25em;

					&.indent {
						text-indent: -1.4em;
						padding-left: 1.5em;
					}
				}
				& ul:not(:last-child) {
					padding-bottom: 0.25em;
				}

				& ul li {
					list-style: none;
					list-style-position: inside;
					padding-left: 1em;
					position: relative;

					&:not(:last-of-type) {
						margin-bottom: 0.35em;
					}

					&::after {
						content: "";
						position: absolute;
						width: 0.5em;
						height: 0.5em;
						top: 0.5em;
						right: auto;
						bottom: auto;
						left: 0;
						margin: auto;
						background: #d34727;
						border-radius: 1em;
					}
				}
				& ol {
					counter-reset: item;
					list-style-type: none;
					padding-left: 0;

					& li{
						padding-left: 1.5em;
						position: relative;

						&:before {
							counter-increment: item;
							content: counter(item);
							width: 1.6em;
							position: absolute;
							left: 0;
							top: 0;
							bottom: 0;
							margin: auto;
						}
					}
				}
				
				& table {
					border: 0;
					border-spacing: 0;
					margin: 0;

					& tr {
						border: 0;
						display: flex;
						flex-direction: column;
						width: 100%;

						&:not(:last-of-type) {
							padding-bottom: 10px;
							margin-bottom:  10px;
							border-bottom: 1px dashed var(--co-text-dark-lite);
						}

						& th {
							border: 0;
							padding: 0;
							width: 100%;
							text-align: left;
							padding-bottom: 5px;
						}
						& td {
							padding: 0;
							width: 100%;
						}
					}
				}
			}
		}
	}
}

body.over{
	overflow: hidden;
}

.close-btn {
	position: absolute;
	right: 0;
	top: 0;
	width: 1em;
	height: 1em;
	line-height: 1em;
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #d34727;
	z-index: 1;
	font-size: 4em;
	transition: opacity 0.2s ease-in-out;

	& i {
		height: 0.5em;
		width: 1em;
		position: relative;
		display: block;

		&::before,
		&::after {
			content: "";
			position: absolute;
			width: 0.4em;
			height: 1px;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			margin: auto;
			background: var(--co-white);
		}
		&::before { transform: rotate(-45deg); }
		&::after  { transform: rotate( 45deg); }

	}

	& span {
		font-size: 0.15em;
		line-height: 1;
		color: var(--co-white);
	}
	&:hover {
		opacity: 0.6;
	}
}
.black-background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	z-index: 1;
}
@media screen and ( max-width:599px) {
	.popup {
		& .popup-inner {
			& .popup-head {
				padding: 1em 5em 1em 1em;
			}
		}
	}
}

