/*
Theme Name: ATLS DRONE WORKS様 専用 2026
Description: 2026年リニューアル版テーマ（adw2024ベース）
Version: 2026.10
Author: Salita Mare
Author URI: http://salitamare.com/
*/

/* テーブルブロック（デフォルト）のスタイル */

.wp-block-table th,
.wp-block-table td {
	padding: 0.5em;
}

.wp-block-table.is-style-regular th,
.wp-block-table.is-style-regular td {
	border: solid 1px gray;
}

/* addtoany */

.addtoany_content {
    padding: 2em 0 0 0;
}
.addtoany_shortcode {
    padding: 2em 0 0 0;
}

/* 404ページ */

.message404 {
	text-align: center;
	padding: 100px 0;
	line-height: 2;
}

/* reCAPTCHA バッジを非表示 */

.grecaptcha-badge { visibility: hidden; }

/* お問い合わせフォーム */

#contact .info ul {
	color: rgba(207, 0, 20, 1.00);
	margin: 0 0 0 -2em;
}

/* News&Blog New!表示 */

.post_new {
	padding: 0 0.5em 0 0;
	font-size: 1.3em !important;
	color: red;
}

/* 実績紹介ビジュアルエディタ向けcss */

#main_js img { margin: 0; max-width:100% !important;height:auto !important; }
#main_js .attachment img { max-width: 900px; }
#main_js .alignleft,
#main_js img.alignleft { display: inline; float: left; margin-right: 20px; margin-top: 4px; }
#main_js .alignright,
#main_js img.alignright { display: inline; float: right; margin-left: 20px; margin-top: 4px; }
#main_js .aligncenter,
#main_js img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
#main_js img.alignleft,
#main_js img.alignright,
#main_js img.aligncenter { margin-bottom: 12px; }
#main_js .wp-caption { background: #f1f1f1; line-height: 18px; margin-bottom: 20px; padding: 0 0 5px; text-align: center;border:1px solid #e5e5e5;max-width:100% !important; }
#main_js .wp-caption img { margin:5px 0 2px;max-width:95% !important;height:auto !important; }
#main_js .wp-caption p.wp-caption-text { color: #888; font-size: 12px; margin: 5px; }
#main_js .wp-smiley { margin: 0; }
#main_js .gallery { margin: 0 auto 18px; }
#main_js .gallery .gallery-item { float: left; margin-top: 0; text-align: center; width: 33%; }
#main_js .gallery img { border: 2px solid #cfcfcf; }
#main_js .gallery .gallery-caption { color: #888; font-size: 12px; margin: 0 0 12px; }
#main_js .gallery dl { margin: 0; }
#main_js .gallery img { border: 10px solid #f1f1f1; }
#main_js .gallery br+br { display: none; }
#main_js .attachment img { /* single attachment images should be centered */ display: block; margin: 0 auto; }


/* ローディング画面（セッション初回のみ表示） */

#loading {
	display: none;
	top: 0;
	left: 0;
}
html.is-loading #loading {
	display: block;
}
/* ローディング中はヘッダーを隠し、フェードアウト開始時に表示（ロゴは同位置で重なるため表示が途切れない） */
html.is-loading:not(.is-loading-out) #header {
	visibility: hidden;
}
html.is-loading body {
	overflow: hidden;
}
