/* ========================================
   転サビ 記事共通スタイル
   tensabi-article.css
======================================== */


/* ========================================
   記事全体
======================================== */

.ts-article {
	max-width: 860px;
	margin: 0 auto;
	color: #333;
	line-height: 1.9;
}

.ts-article p {
	margin: 0 0 1.4em;
}

.ts-article img {
	max-width: 100%;
	height: auto;
}


/* ========================================
   見出し
======================================== */

.ts-heading {
	margin-top: 48px;
	margin-bottom: 24px;
	padding-bottom: 10px;
	border-bottom: 3px solid #e3825d;
	color: #333;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.5;
}


/* ========================================
   基本ボックス
======================================== */

.ts-box {
	margin: 28px 0;
	padding: 22px 26px;
	background: #fff8f5;
	border: 1px solid #ea906f;
	border-radius: 8px;
}

.ts-box > :first-child {
	margin-top: 0;
}

.ts-box > :last-child {
	margin-bottom: 0;
}


/* ========================================
   重要なお知らせ・導入強調
======================================== */

.ts-note {
	margin: 32px 0;
	padding: 22px 24px;
	background: #fff1ec;
	border-left: 5px solid #e3825d;
	border-radius: 6px;
}

.ts-note p {
	margin: 0;
	font-weight: 700;
	color: #a94727;
}


/* ========================================
   中央強調
======================================== */

.ts-emphasis {
	margin: 30px 0;
	padding: 24px;
	text-align: center;
	background: #fff1ec;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1.08em;
	color: #a94727;
}

.ts-emphasis > :last-child {
	margin-bottom: 0;
}


/* ========================================
   注意書き
======================================== */

.ts-caution {
	margin: 28px 0;
	padding: 20px 22px;
	background: #f7f7f7;
	border-radius: 6px;
	font-size: 0.92em;
	color: #555;
}

.ts-caution > :last-child {
	margin-bottom: 0;
}


/* ========================================
   記事末尾ボックス
======================================== */

.ts-footer-box {
	margin-top: 44px;
	padding: 26px 28px;
	background: #fff1ec;
	border-top: 4px solid #e3825d;
	border-radius: 6px;
}

.ts-footer-box > :last-child {
	margin-bottom: 0;
}


/* ========================================
   文字強調
======================================== */

.ts-orange {
	color: #a94727;
	font-weight: 700;
}

.ts-strong {
	font-weight: 700;
}


/* ========================================
   リスト
======================================== */

.ts-article ul,
.ts-article ol {
	margin: 1em 0;
	padding-left: 1.5em;
}

.ts-article li {
	margin-bottom: 0.5em;
}


/* ========================================
   カレンダー
======================================== */

.ts-calendar {
	margin: 32px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ts-calendar table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
	border: 1px solid #eadbd5;
}

.ts-calendar th,
.ts-calendar td {
	border: 1px solid #eadbd5;
	text-align: center;
	vertical-align: middle;
	padding: 13px 5px;
}

.ts-calendar th {
	background: #fff8f5;
	font-weight: 700;
}

.ts-calendar td {
	font-size: 1.05em;
	font-weight: 600;
}

.ts-calendar .is-sunday {
	background: #fff1ec;
	color: #a94727;
}

.ts-calendar .is-saturday {
	background: #fff8f5;
	color: #4571a8;
}

.ts-calendar .is-holiday {
	background: #fff1ec;
	color: #a94727;
}

.ts-calendar .is-special-holiday {
	background: #e3825d;
	color: #fff;
	font-weight: 700;
}

.ts-calendar .is-empty {
	background: #fafafa;
}


/* ========================================
   カレンダー凡例
======================================== */

.ts-calendar-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 12px;
	font-size: 0.9em;
	color: #555;
}

.ts-calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.ts-calendar-legend i {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 3px;
}

.ts-calendar-legend .legend-holiday {
	background: #fff1ec;
	border: 1px solid #ea906f;
}

.ts-calendar-legend .legend-special {
	background: #e3825d;
}


/* ========================================
   区切り線
======================================== */

.ts-divider {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid #eadbd5;
}


/* ========================================
   小見出し
======================================== */

.ts-subheading {
	margin-top: 32px;
	margin-bottom: 16px;
	color: #a94727;
	font-size: 1.15em;
	font-weight: 700;
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 600px) {

	.ts-article {
		font-size: 15px;
	}

	.ts-heading {
		margin-top: 38px;
		margin-bottom: 20px;
		font-size: 1.3em;
	}

	.ts-box,
	.ts-note,
	.ts-emphasis,
	.ts-caution,
	.ts-footer-box {
		padding: 18px;
	}

	/* カレンダーをスマホ画面内に収める */
	.ts-calendar {
		overflow-x: visible;
	}

	.ts-calendar table {
		width: 100%;
		min-width: 0;
		table-layout: fixed;
	}

	.ts-calendar th,
	.ts-calendar td {
		padding: 8px 2px;
		font-size: 0.9em;
	}

	.ts-calendar-legend {
		gap: 10px 16px;
		font-size: 0.85em;
	}

}

/* 記事内の縦長動画 */
.ts-article .ts-video {
  margin: 28px 0;
  text-align: center;
}
.ts-article .ts-video video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  max-height: 70svh;
  margin: 0 auto;
  object-fit: contain;
}
.ts-article .ts-video figcaption {
  margin-top: 12px;
  font-size: 0.9em;
}
