/*
Theme Name: 解体サイト
Theme URI: https://blog6.crawlace.com/
Author: あなたの名前
Author URI: https://blog6.crawlace.com/
Description: 解体業向けWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaitai-site
*/

@charset "utf-8";

/* マーカー風の装飾 */
.highlight {
	display: inline-block;
	position: relative;
	font-weight: bold;
}
.highlight::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 10px;
	background-color: #FFC107; /* マーカーの色（黄色） */
	z-index: -1;
}

/* 吹き出し（レスポンシブ対応） */
.speechBubble-bottom {
	position: relative;
	display: inline-block;
	width: 40%;
	max-width: 300px; /* 最大幅を設定 */
	min-width: 200px; /* 最小幅を設定 */
	margin-bottom: 20px;
	padding: 16px;
	border: 3px solid #000000;
	border-radius: 100px;
	background-color: #ffffff;
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #000000;
}

.speechBubble-bottom::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 20px 10px 0 10px;
	border-color: #000000 transparent transparent;
	translate: -50% 100%;
}

.speechBubble-bottom::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 13.3px 6.6px 0 6.6px;
	border-color: #ffffff transparent transparent;
	translate: -50% 100%;
}

.message-box {
	position: relative;
	color: white;
	padding: 20px;
	max-width: 350px;
}

/* 左上・右下の角に線を作成 */
.message-box::before, .message-box::after {
	content: "";
	position: absolute;
	border: 1px solid white;
}

/* 左上の線 */
.message-box::before {
	top: -10px;
	left: -10px;
	width: 40px;
	height: 40px;
	border-right: none;
	border-bottom: none;
}

/* 右下の線 */
.message-box::after {
	bottom: -10px;
	right: -10px;
	width: 40px;
	height: 40px;
	border-left: none;
	border-top: none;
}

.img-cropped {
  width: 100%;
  height: 220px; /* 固定の高さを指定するのがポイント */
  object-fit: cover;
  object-position: center;
}

#mainimage{ height:550px; }

/* Start：記事用のCSS */
#articleBody01 .tag-badge {
  background-color: #83412E;
  color: #fff;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: 50rem;
  text-decoration: none;
}

#articleBody01 .article-heading {
  border-bottom: 2px solid #2E7083;
  padding-bottom: 0.5rem;
  margin: 0 auto 1.5rem auto;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  max-width: 100%;
}

#articleBody01 .article-paragraph {
  line-height: 1.8;
  text-align: start;
  margin-bottom: 2rem;
  color: #333;
}

#articleBody01 .toc-box {
  border: 2px solid #2E7083;
  border-radius: 1rem;
  padding: 1.5rem;
}

#articleBody01 .toc-title {
  color: #2E7083;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

#articleBody01 .toc-title i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

#articleBody01 .toc-list {
  padding-left: 1rem;
  margin-bottom: 0;
  color: #6c757d;
  line-height: 1.8;
  text-align: start;
}

#articleBody01 .sub-heading {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

#articleBody01 .sub-heading .line {
  width: 6px;
  height: 1.5rem;
  background-color: #2E7083;
  margin-right: 0.75rem;
}

#articleBody01 .sub-heading p {
  margin: 0;
  color: #212529;
}
/* End：記事用のCSS */


/* SP対応（吹き出し幅を調整） */
@media (max-width: 576px) {

	.speechBubble-bottom {
		width: 80%;
	}

	#mainimage {
		height: 500px;
	}

	.w-xs-50 {
		width: 50% !important;
	}
	.w-xs-75 {
		width: 75% !important;
	}

}
