/*
Theme Name: The7 Child
Theme URI: https://the7.io/
Template: dt-the7
Author: Hello Insana
Author URI:
Description: The7 の子テーマ。カスタマイズは本子テーマに集約し、親テーマ更新時の消失を防ぐ。
Version: 1.0.0
Requires at least: 6.6.0
Requires PHP: 7.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dt-the7-child
*/
/* フッターロゴ */
#branding-bottom {
	>a {
		>img {
			width: 220px;
			height: auto;
		}
	}
}
/* slide  */
@media only screen and (min-width:990px) {
	.home #page #main-slideshow.empty-slider .tp-thumb-title {
		word-break: break-all;
		padding: 5px 35px 5px 10px;
		display: flex;
		align-items: center;
		justify-content: center
	}
}

@media only screen and (max-width:767px) {
	.home #page #main-slideshow.empty-slider .rs-parallax-wrap {
		margin-left: auto !important;
		max-width: none !important;
		min-width: auto !important;
		width: 90%;
		text-align: center
	}

	.home #page #main-slideshow.empty-slider .dreamtheme-beauty-studio-title {
		font-size: 30px !important;
		width: 100% !important;
		line-height: 1.1 !important
	}

	.home #page #main-slideshow.empty-slider .dreamtheme-beauty-studio-subtitle {
		font-size: 20px !important;
		width: 100% !important;
		line-height: 1.1 !important
	}
}

/* Snow monkey forms */
/* 768px以上（タブレット・PCなど） */
@media only screen and (min-width:768px) {
	.smf-txtbox {}

	.smf-ttl {
		display: flex;
		align-items: center;
	}

	.smf-ttl.-policy {}

	.smf-item__col--label {
		min-width: 180px;
	}

	.smf-textarea-ttl .smf-item__label {
		margin-top: 20px;
		margin-bottom: 10px;
	}

	/* ヘッダーロゴ */
	.header-bar {
		.branding {
			>a {
				>img {
					width: 220px;
				}
			}
		}
	}

	/* フッターロゴ */
	#branding-bottom {
		>a {
			>img {
				width: 160px;
				height: auto;
			}
		}
	}
}
.mobile-mini-widgets-in-menu {
	& .near-logo-first-switch {
		flex-direction: column;
	}
}
.smf-ttl {
	font-size: 20px;
}

.smf-ttl.-policy {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	font-size: 16px;
}

.smf-checkbox-control {
	min-width: 80px;
}

/* サイドバー widget */
.sidebar .widget.widget_block {
	padding: 0 !important;
}

.widget-ttl-box {
	padding-bottom: 0;
}

/* サイドバーの最新ニュースブロック */
#custom-post-type-recent-posts-3 {
	padding: 0;

	& .widget-title {
		display: none;
	}
}

/* サイドバーの最新記事ブロック */
.side-post-items {
	& li {
		display: flex;
	}

	.wp-block-latest-posts__featured-image {
		vertical-align: bottom;

		& img {
			border-radius: 4px;
		}
	}

	.wp-block-latest-posts__post-title {
		flex: 1;
		padding: 10px;
	}
}

/* snow monkey */
.smf-form {
	max-width: 700px;
	margin: 0 auto;
}

.smf-action {
	margin-bottom: 30px;
	text-align: center;
}

.snow-monkey-forms-turnstile {
	max-width: 700px;
	margin: 0 auto;
}

.smf-action {
	& .smf-button-control {
		& button {
			padding: 10px 30px;
			font-size: 24px;
			font-weight: 700;
		}
	}
}

.message-ttl {
	text-align: center;
	font-size: 20px;
}

.form-contact-ttl {
	justify-content: flex-start;

	& .smf-item__col--controls {
		flex: 1;
	}
}

.smf-form {
	& .smf-text-control {
		& .form-contact-input {
			width: 100%;
		}
	}
}


/* 990px以下 */
@media only screen and (max-width:990px) {
	.mobile-branding {
		>a {
			>img {
				width: 220px;
			}
		}
	}
}

/* 767px以下 */
@media only screen and (max-width:767px) {
	.sticky-mobile-logo-second-switch {
		& img {
			width: 50px;
		}
	}

	.mobile-branding {
		>a {
			>img {
				width: 160px;
			}
		}
	}
}

.soc-ico {
	& .facebook,
	& .twitter,
	& .linkedin,
	& .instagram {
		display: none;
	}
}