@charset "UTF-8";

/* ==========================================================================
   OKWEBコンテンツ専用CSS
   Prefix: .okw-
   ========================================================================== */

/* --- レイアウト --- */

/* コンテンツ幅制御ラッパー */
.okw-container {
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

.okw-article-wrapper {
	padding: 20px 60px 40px; 
	background: #fff;
	box-sizing: border-box;
	color: #333;
	line-height: 1.8;
}

/* コーナータイトルのフォント調整 (若年層向け) */
.okw-corner-title {
	font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", "Meiryo", sans-serif;
	font-weight: bold;
	color: #126db6;
}

/* --- ヘッダーエリア --- */
.okw-main-visual {
	width: 100%;
	height: auto;
	margin-bottom: 30px;
	display: block;
}

.okw-header {
	margin-bottom: 40px;
}

.okw-date {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
	display: block;
	text-align: right;
}

/* 詳細度を上げて既存CSSの影響を回避 */
.okw-article-wrapper .okw-title-h1 {
	font-size: 28px !important;
	font-weight: bold;
	color: #121212;
	margin-bottom: 30px;
	border-bottom: 2px solid #126db6;
	padding-bottom: 15px;
	line-height: 1.4;
}

/* --- 目次 (TOC) --- */
.okw-toc {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	padding: 20px 30px;
	margin: 30px 0 50px;
	border-radius: 4px;
}

.okw-toc-title {
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 15px;
	text-align: center;
	color: #333;
}

.okw-toc-list,
.okw-toc-list ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 目次親項目 */
.okw-toc-list > li {
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 16px;
}

/* 目次サブ項目ラッパー */
.okw-toc-list ul {
	margin: 5px 0 10px 0 !important; /* 上下マージン */
	padding-left: 20px !important;   /* 親からのインデント */
}

.okw-toc-list ul li {
	font-weight: normal;
	font-size: 14px;
	margin-bottom: 5px;
}

/* リンク共通スタイル（親・子） */
.okw-toc-list a {
	text-decoration: none;
	display: block;
	padding-left: 30px;
	position: relative;
	transition: color 0.2s;
}

/* アイコン共通設定（親・子） */
.okw-toc-list a::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	background-image: url('/navigate/application/okweb/images/ic_bluedown.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* 親リンクの色 */
.okw-toc-list > li > a {
	color: #126db6;
}

/* 子リンクの色 */
.okw-toc-list ul li a {
	color: #555;
}

/* ホバー時の共通スタイル */
.okw-toc-list a:hover {
	text-decoration: underline;
}

/* 子リンクホバー時の色変化 */
.okw-toc-list ul li a:hover {
	color: #126db6;
}


/* --- 本文エリア --- */
.okw-body p {
	margin-bottom: 20px;
	font-size: 16px;
}

.okw-body h2 {
	font-size: 22px;
	font-weight: bold;
	background: #f4f8fb;
	padding: 15px;
	border-left: 6px solid #126db6;
	margin: 60px 0 25px;
	line-height: 1.4;
}

/* H3見出し */
.okw-body h3 {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 40px 0 15px;
	border-bottom: 1px solid #ddd;
	border-left: 5px solid #126db6;
	padding: 5px 0 5px 10px;
	line-height: 1.4;
}

.okw-body img.content-img {
	max-width: 90%;
	height: auto;
	margin: 30px auto;
	display: block;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* 画像サイズ調整用クラス */
.okw-body img.content-img.w-sm {
	max-width: 350px;
}

.okw-body ul {
	margin: 0 0 20px 20px;
	list-style: disc;
}

.okw-body ul li {
	margin-bottom: 5px;
}

/* リンクボックス */
.okw-link-box {
	background-color: #fff;
	border: 2px solid #e5e5e5;
	padding: 20px;
	margin: 25px 0;
	border-radius: 4px;
}

.okw-link-box p {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: bold;
	color: #666;
}

.okw-link-box a {
	color: #126db6;
	text-decoration: underline;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
}

.okw-link-box a:hover {
	text-decoration: none;
}

/* 外部リンクアイコン */
.okw-link-box a::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 5px;
	background-image: url('/navigate/application/okweb/images/ic_arrow_01.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
}

/* --- Zoho Survey --- */
.okw-zoho-wrap {
	margin: 0;
	text-align: center;
}

/* --- ナビゲーションボタン --- */
.okw-nav-area {
	margin-top: 60px;
	text-align: center;
	display: flex;
	justify-content: center;
	gap: 20px;
}

.okw-btn {
	display: inline-block;
	padding: 15px 30px;
	background: #fff;
	border: 1px solid #126db6;
	color: #126db6;
	text-decoration: none;
	font-weight: bold;
	border-radius: 4px;
	transition: all 0.3s;
	min-width: 220px;
	box-sizing: border-box; /* 必須 */
}

.okw-btn:hover {
	background: #126db6;
	color: #fff;
	text-decoration: none;
}

/* --- 追従型 目次へ戻るボタン --- */
#okw-toc-float-btn {
	position: fixed;
	bottom: 100px;
	right: 150px;
	z-index: 999;
	display: none;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.3s;
	display: flex;
	justify-content: flex-end;
	width: auto;
}

#okw-toc-float-btn div {
	background: #555;
	color: #fff;
	padding: 10px 15px;
	border-radius: 30px;
	font-size: 12px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	text-align: center;
	font-weight: bold;
	width: 250px;
	max-width: 250px;
}

#okw-toc-float-btn:hover {
	opacity: 1;
}

#okw-toc-float-btn:hover div {
	background: #333;
}

/* --- テーブル (共通) --- */
.okw-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 16px;
}

.okw-table th, .okw-table td {
	border: 1px solid #ccc;
	padding: 10px;
	text-align: left;
}

.okw-table th {
	background-color: #f4f8fb;
	font-weight: bold;
	color: #126db6;
}

.okw-table th:first-child {
	width: 25%;
}
.okw-table th:last-child,
.okw-table td:last-child {
	width: 75%;
}

.okw-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

/* --- レスポンシブ対応 (SP) --- */
@media screen and (max-width: 750px) {
	.okw-article-wrapper {
		padding: 20px;
	}

	.okw-article-wrapper .okw-title-h1 {
		font-size: 20px !important;
	}

	.okw-body h2 {
		font-size: 18px;
		padding: 10px;
		border-left-width: 4px;
		margin: 40px 0 20px;
	}

	.okw-body h3 {
		font-size: 16px;
		margin: 30px 0 15px;
		border-left-width: 4px;
	}
	
	.okw-toc {
		padding: 15px;
	}
	
	.okw-toc-title {
		font-size: 16px;
	}
	
	.okw-toc-list > li {
		font-size: 14px;
	}

	.okw-toc-list a {
		padding-left: 25px;
	}

	.okw-toc-list a::before {
		width: 18px;
		height: 18px;
		top: 2px;
	}

	.okw-nav-area {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}
	
	.okw-btn {
		display: block;
		width: 100%; 
		max-width: 100%;
		min-width: 0; /* min-widthリセット */
		box-sizing: border-box; /* 念押し */
		padding: 15px 10px; /* 横パディングを少し減らす */
	}
	
	.okw-body img.content-img {
		max-width: 100%;
	}

	#okw-toc-float-btn {
		right: 10px;
		bottom: 90px;
		justify-content: flex-end; 
	}
	
	#okw-toc-float-btn div {
		padding: 10px 15px;
		font-size: 12px;
		width: auto;
	}
}

/* ==========================================================================
   [追加修正] 配下ページタイトル位置調整
   ========================================================================== */
.okw-page-title {
	padding-left: 70px !important;
	padding-right: 70px !important; 
	box-sizing: border-box;
	margin-bottom: 0px !important;
}

@media screen and (max-width: 750px) {
	.okw-page-title {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* ==========================================================================
   [追加修正] 共通レイアウト調整
   ========================================================================== */
.liquidArea {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ==========================================================================
   [追加修正] 出典元リンク用スタイル
   ========================================================================== */
.okw-source-link {
	font-size: 12px;
	color: #666;
	text-align: right;
	margin-top: 0;
	margin-bottom: 5px; /* タイトルとの間隔調整 */
	line-height: 1.4;
}

.okw-source-link a {
	color: #005eb0;
	text-decoration: underline;
}

.okw-source-link a:hover {
	text-decoration: none;
}