/*
Theme Name: nano-child
Version: 1.0
Template: nano
*/

a[href*="tel:"] {
	pointer-events: none;
	color: #333 !important;
}
@media screen and (max-width: 1024px){
	a[href*="tel:"] {
	    pointer-events: initial;
	    color: #0053a3 !important;
	}
}

/*ヘッダーロゴ*/
.l-header__logo {
    width: calc(100% - 250px);
    max-width: 550px;
}
.l-header__logo a {
    width: 100%;
}
.l-header__logo img {
    width: 100%;
}
@media screen and (max-width: 1199px) {
	.l-header__logo {
		width: calc(100% - 310px);
		max-width: 420px;
	}
}
@media screen and (max-width: 767px) {
	.l-header__logo {
		width: calc(100% - 100px);
	}
}

/*フッターロゴ*/
.l-footer .c-logo img {
	width: 380px;
	max-width: 100%;
}
@media screen and (max-width: 991px) {
	.l-footer .c-logo img {
		width: 100%;
		max-width: 320px;
	}
}

/*トップスライド調整*/
.p-header-slider .slick-slide {
	height: 700px;
}
@media screen and (max-width: 767px) {
	.p-header-slider .slick-slide {
		height: 100%;
	}
}

/*ページビルダーコンテンツ調整*/
.q_button {
	background-color: #0053a3;
}
.q_button:hover {
	background-color: #4d8ac4;
}
.q_button.sz_l {
	max-width: none;
	min-width: 0;
	width: 100%;
}
.p-works-entry table.pb_simple_table th {
	min-width: 9em;
}

/*サービス・会社案内詳細ページヘッダー調整*/
@media screen and (max-width: 767px){
	.p-list {
		position: static;
		margin-left: -20px;
	}
	.l-page-header {
		padding-bottom: 0;
	}
}

#contact_upper ul {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-ms-flex-align: start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	margin-left: 0;
	margin-bottom: 0;
}
#contact_upper li {
	list-style: none;
	box-sizing: border-box;
	width: 50%;
}
#contact_upper li:first-of-type {
	border-right: 1px solid #d9d9d9;
}
#contact_upper li dl {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-ms-flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
	margin: 0;
}
#contact_upper li dt {
	margin-right: 50px;
}
#contact_upper li dt + dd {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 0;
	margin-left: 0;
}
#contact_upper li dd,
#contact_upper li dd a {
	color: #0053a3 !important;
	letter-spacing: 0.3em;
	font-size: 1.625rem;
	line-height: 1em;
	font-weight: bold;
}
#contact_upper li span {
	display: block;
	line-height: 1em;
	font-weight: bold;
	font-size: 1rem;
}

#contact h2 {
	font-family: "游ゴシック", YuGothic, sans-serif;
	font-size: 26px;
}
#contact table {
	width: 100%;
	margin: 0 auto 70px;
}
#contact th {
	width: 350px;
	line-height: 40px;
	text-align: left;
	font-weight: bold;
	position: relative;
	padding: 10px 15px;
	vertical-align: top;
}
#contact td {
	width: calc(100% - 350px);
	padding: 10px 15px;
}
#contact span.require {
	position: absolute;
	top: 18px;
	right: 15px;
	font-size: 0.75rem;
	background-color: #0053a3;
	padding: 1px 8px;
	color: #fff;
	font-weight: normal;
	line-height: 20px;
	border-radius: 5px;
}
#contact td input[type="text"], 
#contact td input[type="email"],
#contact td textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d4d4d4;
	line-height: 1.7;
	padding: 4px 5px;
	border-radius: 5px;
	background-color: #eff4f7;
}
#contact td span.mwform-zip-field input {
	width: 130px;
}
#contact td span.mwform-tel-field input {
	width: 130px;
}
.policy_container {
	padding: 30px;
	text-align: center;
	margin: 0 0 50px 0;
	border: 1px solid #0053a3;
}
.policy_container p {
	line-height: 1.8;
	margin-bottom: 20px;
}
.policy_container p:last-of-type {
	margin-bottom: 0;
}
.policy_container a {
	color: #0053a3;
	text-decoration: underline;
}
.policy_container a:hover {
	color: #4489c5;
	text-decoration: none;
}
#contact .send {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;	
}
#contact .send input.btn_confirm,
#contact .send input.btn_send,
#contact .send input.btn_back {
	width: 300px;
	color: #fff;
	font-weight: bold;
	background-color: #0053a3;
	border: 1px solid #0053a3;
	line-height: 60px;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	text-align: center;
	letter-spacing: 0.1em;
}
#contact .send input.btn_back{
	margin-right: 40px;
}
#contact .send input.btn_confirm:hover,
#contact .send input.btn_send:hover,
#contact .send input.btn_back:hover {
	background-color: #4D8AC4;
	border: 1px solid #4D8AC4;
}
.mw_wp_form_confirm .hidden,
.mw_wp_form_confirm .require {
	display: none !important;
}
.mw_wp_form_input .hidden02 {
	display: none !important;
}
#contact p.back a {
	color: #3f83a8;
	text-decoration: underline;
}
#contact p.back a:hover {
	color: #333;
	text-decoration: none;
}
#contact hr.form_border {
	display: block;
    height: 1px;
    width: 100%;
	background-color: #dddddd;
    border: 0;
	margin: 40px 0 50px;
}

#contact td.form01-license_num input[type="text"] {
	width:130px;
}
#contact td.form_address input[type="text"] {
	margin-bottom: 10px;
}
#contact td.form_address input[type="text"]:last-of-type {
	margin-bottom: 0;
}
#contact td.form_address input[type="text"].form02-room {
	width: 130px;
}

@media screen and (max-width: 999px) {
	#contact_upper ul {
		display: block;
	}
	#contact_upper li {
		width: 100%;
	}
	#contact_upper li:first-of-type {
		border-bottom: 1px solid #d9d9d9;
		border-right: 0;
		padding: 0 0 30px 0;
		margin: 0 0 30px 0;
	}
	#contact table {
		margin-bottom: 50px;
	}
	#contact th {
		display: block;
		width: 100%;
		line-height: 1.8;
		padding: 15px;
		margin: 0 0 -1px;
	}
	#contact td {
		display: block;
		width: 100%;
		padding: 15px;
		margin: 0 0 -1px;
	}
	#contact span.require {
		top: 17px;
	}
}
@media screen and (max-width: 767px) {
	#contact_upper li:first-of-type {
		padding: 0 0 20px 0;
		margin: 0 0 20px 0;
	}
	#contact h2 {
		font-size: 20px;
	}
	#contact table {
		margin-bottom: 30px;
	}
	.policy_container {
		padding: 20px;
		margin-bottom: 30px;
	}
	.policy_container p {
		margin-bottom: 10px;
	}
	#contact td span.mwform-zip-field input {
		width: 100px;
	}
	#contact td span.mwform-tel-field input {
		width: 100px;
	}
	#contact .send input.btn_back{
		margin-right: 20px;
	}
	#contact hr.form_border {
		margin: 25px 0 30px;
	}
}
@media screen and (max-width: 479px) {
	#contact_upper li:first-of-type {
		padding: 0 0 15px 0;
		margin: 0 0 15px 0;
	}
	#contact_upper li dl {
		-ms-flex-pack: start;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
	}
	#contact_upper li dt {
		margin-right: 20px;
	}
	#contact_upper li dd,
	#contact_upper li dd a {
		font-size: 1.375rem;
	}
	#contact th {
		padding: 10px 0;
		border-bottom: none;
		border-right: none;
		border-left: none;
		border-color: #bfbfbf;
	}
	#contact td {
		padding: 10px 0 15px;
		border-right: none;
		border-left: none;
		border-color: #bfbfbf;
	}
	#contact span.require {
		font-size: 0.625rem;
		line-height: 15px;
		top: 14px;
		right: 5px;
	}
	#contact td span.mwform-radio-field {
		display: block;
	}
	#contact td span.mwform-tel-field input {
		width: calc((100% - 36px) / 3);
	}
	.mw_wp_form .horizontal-item + .horizontal-item {
    	margin-left: 0 !important;
	}
	.policy_container {
		padding: 15px;
		text-align: left;
	}
	#contact .send {
		display: block;
	}
	#contact .send input.btn_confirm,
	#contact .send input.btn_send,
	#contact .send input.btn_back {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		display: block;
	}
	#contact .send input.btn_back{
		margin-bottom: 10px;
	}
}

/*リーシング情報 GoogleMap*/
.p-works-entry .pb-widget-editor iframe {
	width: 100%;
	height: 300px;
}

/*リーシング情報 ボタン横並び*/
.p-works-entry .pb-widget-editor:has(a.q_button) {
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
}
.p-works-entry .pb-widget-editor p:has(a.q_button) {
	width: 45%;
	max-width: 330px;
	margin: 0 2.5%;
}
.p-works-entry .pb-widget-editor a.q_button {
	white-space: nowrap;
	display: block;
	max-width: none;
}
@media screen and (max-width: 1099px) {
	.p-works-entry .pb-widget-editor:has(a.q_button) {
		display: block;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button) {
		width: 100%;
		margin: 0 auto;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button):nth-of-type(2) {
		margin-top: 20px;
	}
}
@media screen and (max-width: 991px) {
	.p-works-entry .pb-widget-editor:has(a.q_button) {
		display: flex;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button) {
		width: 45%;
		margin: 0 2.5%;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button):nth-of-type(2) {
		margin-top: 0;
	}
}
@media screen and (max-width: 649px) {
	.p-works-entry .pb-widget-editor:has(a.q_button) {
		display: block;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button) {
		width: 100%;
		margin: 0 auto;
	}
	.p-works-entry .pb-widget-editor p:has(a.q_button):nth-of-type(2) {
		margin-top: 20px;
	}
}

/*投稿抜粋非表示*/
.p-article01__excerpt {
	display: none;
}