/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 21 2025 | 09:47:00 */
@media (max-width: 1279px) {
  /* デスクトップ用のスタイル */

.single-post .entry-content {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
}

@media (max-width: 1000px) {
  /* 768px以下の画面サイズに適用されるスタイル */
/* .entry-content, .widget-content,label {font-size: 1.4rem;} h2 {
	font-size: 3rem;
}*/
html {font-size: 48.5%;}
	body {font-size: 1.4rem;}
.tp-about .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
	width: 90% !important;
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}
	.wp-block-columns.beta.tp-work.work-con {margin-top: 0;}
/* ★#lcp_instance_0 li:not(:first-child) {display: none;}★ */
.tp-work #lcp_instance_0 li,.vk_button_link,.wpcf7-form.init,#ub-content-toggle-panel-block- {	width: 100%;}
.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow p, #ub-content-toggle-panel-0-81e56e7d-e9c0-4f51-abb8-1db58f170dde, #ub-content-toggle-panel-block- h4 {font-size: inherit;}
.tp-info .vk_button_link {width: 90%;}

.post-inner.thin:not(#top .post-inner.thin){width: 90%;margin-left: auto;margin-right: auto;}
.pagetitle h1 {
	font-size: 3rem;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	line-height: normal;}
.category-posts a {
	width: calc(33% - 2rem);
	box-sizing: border-box;
	margin-right: 0;
}
	.category-posts a:nth-child(3n) {margin-right: 0;}
	.archive.category .post-thumbnail img {aspect-ratio: 4/3;}
	.pagetitle {padding: 2rem 0 3rem 0;}
	.flowting {font-size: 1.8rem;bottom: 0;top: auto;width: 100%;writing-mode: horizontal-tb;}
	.flowting li {
	right: 0;
	color: #FFF;
	background: #6a6a6a;
	position: relative;
	transition: 0.8s;
	width: 50%;
	text-align: center;
	margin: 0;
}.flowting-li2 a {background: #998771 !important;}
	.tp-mente > div {width: 90% !important;}
	#site-footer {	padding-bottom: 8rem;}
	.category-news .archive-posts.post-inner.thin {width: 90% !important;}
	.category-news .archive-posts.post-inner.thin article .entry-header a {display: block;}
	.category-news .archive-posts.post-inner.thin article .entry-meta {width: 100%;margin-bottom: 0.8rem;}
.category-news .archive-posts.post-inner.thin article h2 {width: 100%;}
.flowting i {margin-right: 1rem;} 
	.site-logo img {max-height: 4rem;}
	.tp-business {padding-bottom: 0 !important;}
}

 @media (max-width:  768px) {
  /* 768px以下の画面サイズに適用されるスタイル */
.alignleft, .alignright {
	max-width: none;
	width: 100%;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
	 .tp-mente .wp-block-image {margin-bottom: 0 !important;}
	 #to_top_scrollup {bottom: 65px;}
	 .tp-info ul {width: 80%;}
.tp-info li a {display: block;padding-left: 0;}	 
#n2-ss-1 {height: 490px !important;}
	 .n2-ss-slider .n2-ss-slide-background-image img {object-position:bottom left;}
	#primary,#site-content:not(#top #site-content) {padding-top: 5rem;}
	 .read-com h2::after {top: -37px;z-index: -10;font-size: 5rem;}
	 #company .wp-block-table td, .wp-block-table th {display: block;width: 100%;}
#company tbody tr:nth-child(2n+1) {background: none;}
#company td:nth-child(2n+1) {background: #f2f2f2;}
#company .wp-block-table td, .wp-block-table th {padding: .5em 1em .5em 1em;}	 
	 #company .vk_button_link.btn.has-background.has-vk-color-primary-background-color.btn-md {margin-bottom: 5rem;}
	 .category-information .archive-posts.post-inner.thin {width: 90% !important;}
	 .category-information .archive-posts.post-inner.thin article .entry-meta,.category-information .archive-posts.post-inner.thin article h2 {width: 100%;}
	 .category-information .archive-posts.post-inner.thin article .entry-header a {display: block;}
	 iframe {height: 80%;}
  .ab-tenken > .wp-block-column:first-child {order: 2; /* 画像が先 */}
  .ab-tenken > .wp-block-column:last-child {order: 1; /* 文章が後 */}
	 .tp-mente img {max-height: 150px;width: auto;margin-left: auto;margin-right: auto;}
	 .tp-mente {padding-bottom: 0 !important;}
	 .tp-info .wp-block-vk-blocks-button.vk_button {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
	 .wp-image-72 {	max-height: 70px;}
	 .widget-content .wp-block-image {margin-bottom: 1rem !important;}
	 .widget.widget_block.widget_text {margin-top: auto;}
}
	 