/*
 * 要素の土台。本番（ewebot テーマの base.css と Elementor の frontend.css、テーマ設定の追加 CSS）のうち、
 * 本文の見た目に効いているものだけを再現する。色・フォント・見出しの大きさは theme.json にある。
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

/* ewebot は body を縦並びの flex にしている（子の外余白が body と相殺されない） */
body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

p {
	margin: 0 0 18px;
	padding: 0;
	line-height: 1.5;
}

p:last-child {
	margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	overflow-wrap: break-word;
}

ul,
ol {
	margin: 8px 0 18px;
	padding: 0;
}

ul li,
ol li {
	margin: 0;
	padding: 0 0 8px;
	font-size: 16px;
}

ul li:last-child,
ol li:last-child {
	padding-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	user-select: none;
}

table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	vertical-align: middle;
}

a {
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

hr {
	margin: 30px 0;
	border: none;
	border-bottom: 1px solid #e0e1dc;
}

::selection {
	background: #0082e4;
	color: #f0f6f8;
}

/* Font Awesome 4.7（本文のリストの丸印に使う。本番の ewebot と同じフォント） */
@font-face {
	font-family: FontAwesome;
	src: url("../../vendor/font-awesome/fonts/fontawesome-webfont.woff2") format("woff2"), url("../../vendor/font-awesome/fonts/fontawesome-webfont.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* 本番の本文の枠（ewebot の .span12）は min-height: 1px。本文が空のページ（/project/ai-ocr-system/）で 1px 残る */
.cl-main {
	min-height: 1px;
}
