@charset "UTF-8";
/* ------------------------------
 入力画面基本
------------------------------ */
#tmp_contents html {
	width: 100%;
	height: 100%;
	font-size: 62.5%;
}
#tmp_contents html,
#tmp_contents body {
	margin: 0 auto;
	font-size: 100%;
	word-wrap: break-word;
	-webkit-text-size-adjust: 100%;
}

.headerBlock .gnav > div > div {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/* ------------------------------
 見出し・テキスト
------------------------------ */
.edit-heading {
	margin-bottom: 20px;
	font-size: 2.4rem;
	font-weight: bold;
	color: #0F61BF;
}

#tmp_contents h2 {
	font-size: 28px;
}

#tmp_contents h3 {
	font-size: 22px;
}

#tmp_contents h4 {
	font-size: 18px;
}

#tmp_contents h5  {
	font-size: 16px;
}

#tmp_contents h6  {
	font-size: 15px;
}

#tmp_contents p:not(:last-child) {
	margin-bottom: 20px;
}
#tmp_contents p + p.tac {
	margin-top: 40px;
}
/* ------------------------------
 見出し・テキスト（SP）
------------------------------ */
@media screen and (max-width: 767px) {

	#tmp_contents h2,
	#tmp_contents .bgrBox h2 {
		font-size: 22px;
	}

	#tmp_contents h3 {
		font-size: 20px;
	}

	#tmp_contents h4 {
		font-size: 17px;
	}

	#tmp_contents h5  {
		font-size: 16px;
	}

	#tmp_contents h6  {
		font-size: 15px;
	}
	#tmp_contents p:not(:last-child) {
		margin-bottom: 10px;
	}
	#tmp_contents p + p.tac {
		margin-top: 20px;
	}
}

/* ------------------------------
 スペース
------------------------------ */
.top-space {
	padding-top: 80px;
}

/* ------------------------------
 入力用テーブル
------------------------------ */
table.edittable {
	width: 100%;
	border: 1px solid #0F61BF;
	outline: none;
	border-radius: 0;
	overflow: auto;
}
table.edittable th {
	width: 15%;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #0F61BF;
	background-color: #D3F0FF;
	padding: 10px 14px;
	color: #121918;
}
table.edittable td {
	border: 1px solid #0F61BF;
	background-color: #fff;
	padding: 10px 14px;
	font-size: 14px;
}
table.edittable p {
	margin-bottom: 0;
	font-size: 14px;
	color: #121918;
}
table.edittable a {
	display: inline-block;
	vertical-align: middle;
}
table.edittable td > span > a + a {
	margin-left: 5px;
}
/* 入力枠内の画像プレビューは小さめに */
table.edittable td img {
	max-width: 160px;
	height: auto;
}
table.edittable.w300img td > span > img {
	max-width: 200px;
	width: auto;
	height: auto;
}

/* ------------------------------
 入力枠
------------------------------ */
.datatable input,
.datatable textarea,
.datatable select {
	border: 1px solid #d1d1d1;
}

.bgrBox ul li > textarea {
	margin-bottom: 15px;
}

/* ------------------------------
 CKEditor
------------------------------ */
.cke_editable {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 100%;
	line-height: 1.75;
	font-weight: 400;
}

/* ------------------------------
 テーブル
------------------------------ */

table.datatable th {
	font-size: 18px;
}
/* ------------------------------
 テーブル（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	table.datatable th {
		font-size: 16px;
	}
}

/* ------------------------------
 リスト
------------------------------ */
#tmp_contents ul:not([class]):not(:last-child),
#tmp_contents ol:not(:last-child) {
	margin-bottom: 20px;
}

#tmp_contents ul:not([class]) > li  {
	position: relative;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
}
#tmp_contents ul:not([class]) > li:only-child {
	margin-bottom: 5px;
}
#tmp_contents ul:not([class]) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.3rem;
	height: 1.3rem;
	background: url("../../../site_saiyou/images/arrow-circle.png") no-repeat center / contain;
}
#tmp_contents ul:not([class]) > li > ul > li {
	padding-left: 0;
}
#tmp_contents ul:not([class]) > li > ul > li::before {
	content: none;
}

#tmp_contents ol > li {
	counter-increment: count 1;
	position: relative;
	padding-left: 30px;
}
#tmp_contents ol > li:before {
	content: counter(count)".";
	position: absolute;
	top: 0;
	left: 0;
	font-weight: bold;
	text-align: center;
}
li.cke_panel_listItem::before {
	content: none !important;
}
/* ------------------------------
 リスト（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	#tmp_contents ul:not([class]):not(:last-child),
	#tmp_contents ol:not(:last-child) {
		margin-bottom: 10px;
	}
}

/* ------------------------------
 ボタン
------------------------------ */
#tmp_contents .btn {
	display: inline-block;
	margin: 0 0 0.8em;
	padding: 12px 48px 12px 24px;
	position: relative;
	font-size: 18px;
	font-weight: 700;
	color: #004C85;
	border: 2px solid #004C85;
	border-radius: 8px;
	background: #FFFFFF;
	transition: background-color .2s;
}
#tmp_contents .btn a {
	display: block;
	margin: -12px -48px -12px -24px;
	padding: 12px 48px 12px 24px;
	color: inherit;
	text-decoration: none;
}
#tmp_contents .btn:hover,
#tmp_contents .btn:focus-within {
	background: #E5F1F8;
}
#tmp_contents .btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 14px;
	height: 14px;
	background: url("../../../site_saiyou/images/arrow-blue.png") no-repeat center / contain;
	transform: translateY(-50%);
	pointer-events: none;
}
#tmp_contents .btn.pdf::after {
	width: 16px;
	height: 18px;
	background-image: url("../../../site_saiyou/images/icon_pdf.png");
}


/* ------------------------------
 調整
------------------------------ */
/* cms-8341-style-start */
#tmp_contents h1:not([class]),
#tmp_contents h2:not([class]),
#tmp_contents h3:not([class]),
#tmp_contents h4:not([class]),
#tmp_contents h5:not([class]),
#tmp_contents h6:not([class]) {
	line-height: 1.4;
	letter-spacing: 2px;
}
#tmp_contents h1:not([class]) {
	margin: 1.43em 0 0.86em;
	font-size: 28px;
	text-align: center;
}
#tmp_contents h1:not([class])::after {
	content: "";
	display: block;
	width: 160px;
	height: 5px;
	margin: 0.4em auto 0;
	background: #00ACFA;
	border-radius: 999px;
}
#tmp_contents h2:not([class]) {
	margin: 1.67em 0 1em;
	padding: 0.57em 0.83em 0.57em 0.67em;
	font-size: 24px;
	background: #81d4fa;
	border-radius: 8px;
	position: relative;
}
#tmp_contents h2:not([class])::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 1.3em;
	background: #004C85;
	border-radius: 999px;
}
#tmp_contents h3:not([class]) {
	margin: 1.82em 0 1.31em;
	padding: 0.62em 0.91em;
	font-size: 22px;
	background: #FF80AB;
	border-radius: 8px;
	position: relative;
}
#tmp_contents h3:not([class])::after {
	content: "";
	position: absolute;
	left: 32px;
	bottom: -11px;
	border-style: solid;
	border-width: 12px 9px 0 9px;
	border-color: #FF80AB transparent transparent transparent;
}
#tmp_contents h4:not([class]) {
	margin: 1.92em 0 1.15em;
	padding: 0 0 0.5em 0.5em;
	font-size: 20.8px;
	border-bottom: 3px solid #00ACFA;
	position: relative;
}
#tmp_contents h4:not([class])::after {
	content: "";
	position: absolute;
	left: 48px;
	bottom: -9px;
	width: 11px;
	height: 11px;
	background: #fff;
	border-right: 3px solid #00ACFA;
	border-bottom: 3px solid #00ACFA;
	transform: rotate(45deg);
}
#tmp_contents h5:not([class]) {
	margin: 2em 0 1.2em;
	padding: 0.56em 0 0.48em 0.5em;
	font-size: 20px;
	border-top: 1.5px solid #333;
	border-bottom: 1.5px solid #333;
}
#tmp_contents h6:not([class]) {
	margin: 2.17em 0 1.04em;
	font-size: 18.4px;
	display: flex;
	align-items: center;
	gap: 0.43em;
}
#tmp_contents h6:not([class])::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 5px solid #00ACFA;
	background: #fff;
}
/* メニューボックスの見出し h2 には上の見出し装飾を付けない（box_menu 側で別定義） */
#tmp_contents .box_menu_ttl h2:not([class]) {
	margin: 0 0 10px;
	padding: 0;
	background: none;
	font-size: 100%;
}
#tmp_contents .box_menu_ttl h2:not([class])::before {
	content: none;
}
@media (min-width: 40em) {
	#tmp_contents h1:not([class]) { font-size: 34px; }
	#tmp_contents h2:not([class]) { font-size: 30px; }
	#tmp_contents h3:not([class]) { font-size: 28px; }
	#tmp_contents h4:not([class]) { font-size: 26px; }
	#tmp_contents h5:not([class]) { font-size: 24px; }
	#tmp_contents h6:not([class]) { font-size: 22px; }
}
/* リセットで消える太字・上付き・下付きを戻す（公開側は default.css と同値） */
#tmp_contents strong,
#tmp_contents b {
	font-weight: bold;
}
#tmp_contents sup,
#tmp_contents sub {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}
#tmp_contents sup {
	top: -0.5em;
}
#tmp_contents sub {
	bottom: -0.25em;
}
/* プレーンな表（datatable クラスなし）にも枠線だけ付けて編集画面で構造を見せる */
#tmp_contents table:not([class]) {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
}
#tmp_contents table:not([class]) th,
#tmp_contents table:not([class]) td {
	border: 1px solid #ccc;
	padding: 8px 12px;
	text-align: left;
	font-size: 14px;
}
#tmp_contents table:not([class]) th {
	background: #EDEEF2;
	font-weight: 700;
}
/* フリーエリアの箇条書き（クラスなし ul）。layout.css の見た目を編集画面へ移植 */
#tmp_contents ul:not([class]) {
	list-style: none;
	margin: 0;
	padding: 0;
}
#tmp_contents ul:not([class]) li {
	position: relative;
	padding-left: 28px;
	margin: 4px 0;
}
#tmp_contents ul:not([class]) li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 20px;
	height: 20px;
	background: url("../../../site_saiyou/images/arrow-circle.png") no-repeat center / contain;
}
#tmp_contents ul:not([class]) li a,
#tmp_contents ul:not([class]) li a:link,
#tmp_contents ul:not([class]) li a:visited,
#tmp_contents ul:not([class]) li a:active {
	color: #004C85;
	font-size: 16px;
	text-decoration: none;
	transition: opacity .2s;
}
#tmp_contents ul:not([class]) li a:hover {
	opacity: .7;
	text-decoration: underline;
}
#tmp_contents ul:not([class]) li a[target="_blank"]::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	vertical-align: -0.1em;
	background: url("../../../site_saiyou/images/icon_blank.png") no-repeat center / contain;
}
@media (min-width: 40em) {
	#tmp_contents ul:not([class]) li::before {
		top: 0.2em;
		width: 20.8px;
		height: 20.8px;
	}
	#tmp_contents ul:not([class]) li {
		padding-left: 32px;
	}
	#tmp_contents ul:not([class]) li a[target="_blank"]::after {
		margin-left: 12px;
	}
}
/* お知らせ（表形式）※ .cke_editable スコープ＝編集画面だけ「普通の表」で表示 */
.cke_editable .o-newsTable {
	display: table;
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
}
.cke_editable .o-newsTable thead { display: table-header-group; }
.cke_editable .o-newsTable tbody { display: table-row-group; }
.cke_editable .o-newsTable tr { display: table-row; }
.cke_editable .o-newsTable th,
.cke_editable .o-newsTable td {
	display: table-cell;
	border: 1px solid #B3D4E6;
	padding: 8px 12px;
	text-align: left;
	vertical-align: middle;
	font-size: 14px;
}
.cke_editable .o-newsTable thead th {
	background: #004C85;
	color: #ffffff;
	font-weight: 700;
	white-space: nowrap;
}
.cke_editable .o-newsTable tbody td:nth-child(1) {
	width: 140px;
	font-weight: bold;
	white-space: nowrap;
}
.cke_editable .o-newsTable tbody td:nth-child(2) {
	width: 140px;
}
.cke_editable .o-newsTable tr::after { content: none; }
.cke_editable .o-newsTable a::before { content: none; }
.cke_editable .o-home-newsList__tag {
	background-color: #4A5568;
	padding: 0.25em 1.25em;
	min-width: 7em;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.7;
	white-space: nowrap;
	text-align: center;
	border-radius: 999px;
	color: #ffffff;
	display: inline-block;
}
.cke_editable .o-home-newsList__tag--saiyou  { background-color: #004C85; }
.cke_editable .o-home-newsList__tag--goukaku { background-color: #1B7A3E; }
.cke_editable .o-home-newsList__tag--shigoto { background-color: #8A4B00; }
.cke_editable .o-home-newsList__tag--event   { background-color: #B3195C; }
.cke_editable .o-home-newsList__tag--sns     { background-color: #5B3A9B; }
.cke_editable .o-home-newsList__tag--chumoku { background-color: #C0392B; }
.cke_editable .o-home-newsList__tag--shinki  { background-color: #00707A; }
.cke_editable .o-home-newsList__tag--news    { background-color: #4A5568; }
#preview-title {
	position: fixed;
	width: 100%;
	z-index: 9999;
}
.cms8341-form .headerBlock,
#cms8341-headareaZero + #tmp_wrapper .headerBlock,
#cms8341-headareaZero + noscript + p + #tmp_wrapper .headerBlock,
#cms8341-contrasttarget .headerBlock,
#cms8341-contentsZero .headerBlock {
	top: auto;
	z-index: 1;
	position: relative !important;
}
.cms8341-form .contentsHome,
.cms8341-form .contents,
#cms8341-headareaZero + #tmp_wrapper .contentsHome,
#cms8341-headareaZero + #tmp_wrapper .contents,
#cms8341-headareaZero + noscript + p + #tmp_wrapper .contentsHome,
#cms8341-headareaZero + noscript + p + #tmp_wrapper .contents,
#cms8341-contrasttarget .contentsHome,
#cms8341-contrasttarget .contents,
#cms8341-contentsZero .cms8341-form .contentsHome,
#cms8341-contentsZero .cms8341-form .contents {
	margin-top: 0 !important;
}
#cms8341-contentsZero input,
#cms8341-contentsZero textarea,
#cms8341-contentsZero select {
	border: 1px solid #d1d1d1;
}
#cms8341-contentsZero input,
#cms8341-contentsZero textarea {
	width: 100%;
}
#cms8341-contentsZero .gnav > div {
	margin: 0 !important;
}
#cms8341-contentsZero .cms8341-library-headerNav {
	display: flex;
}
#cms8341-contentsZero .cms8341-library-headerNav ul {
	display: flex;
	align-items: center;
}
#cms8341-contentsZero .cms8341-library-headerNav ul > li {
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	padding: 0 12px;
	position: relative;
}
#cms8341-contentsZero .cms8341-library-headerNav ul li a {
	display: flex;
	align-items: center;
	position: relative;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	transition: .3s ease-in-out;
}
#cms8341-contentsZero .corner-r img {
	border-radius: 0;
}
#cms8341-contentsZero .relatedLink {
	display: block;
}

.cms8341-layer .cms8341-layerheader + div {
    box-sizing: initial;
}
.cms8341-layer table td input,
#cms8341-searcharea td input,
.cms8341-layer table td textarea {
    padding: 1px 0px;
    border-width: 2px;
    border-style: inset;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    border-image: initial;
    padding-block: 1px;
    padding-inline: 2px;
}
#cms8341-reffer table td input {
	padding: 0;
}
.cms8341-layer table td input[type="radio"],
#cms8341-searcharea table td input[type="radio"] {
	margin-bottom: 3px;
}
.cms8341-layer table td select,
.dialog_body select {
    border-width: 1px;
    border-style: solid;
    border-color: rgb(118, 118, 118);
    border-image: initial;
}
.cms8341-layer table td textarea {
    border-width: 1px;
    border-style: solid;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    border-image: initial;
    padding: 2px;
}
#cms8341-headareaZero td,
.cms8341-layer table td,
#cms8341-property .cms8341-dataTable td a img,
#cms8341-category .cms8341-dataTable td,
#cms8341-searcharea > table > tbody > tr > td,
#cms8341-searcharea table td > table th,
#cms8341-searcharea table td > table td a img,
#cms8341-headareaZero .cms8341-layerheader td,
.dialog_body img {
	vertical-align: middle;
}
.cms8341-layer .cms8341-dataTable th,
.cms8341-layer .cms8341-dataTable td,
#cms8341-template-select .cms8341-noneBorder td,
#cms8341-reffer > table td {
    vertical-align: top;
}
.cms8341-layer .cms8341-dataTable th,
.cms8341-layer .cms8341-dataTable td,
#cms8341-searcharea th,
#cms8341-searcharea td > table td {
	padding: 5px;
}
#cms8341-refferarea > table td {
	padding: 7px;
}
#cms8341-searcharea table td > table th {
	font-weight: bold;
}
#cms8341-searcharea small {
	font-size: 10px;
}
.cms8341-layer a {
	box-sizing: content-box;
}
.cms8341-layer table.cms_calbox td {
	box-sizing: initial;
}
.cms8341-layer img {
	max-width: unset;
}
#tmp_wrapper .contentsHome,
#tmp_wrapper .contents {
	margin-top: 0;
}
.cke_dialog_title,
.dialog_body {
	text-align: left;
}
/* cms-8341-style-end */
.cms8341-form .newsListBlock {
	padding: 0 !important;
	width: 100% !important;
}
/* ------------------------------
 編集画面用ラベル
------------------------------ */
#tmp_contents .c-editLabel {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 8px;
	background-color: #666;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.6;
	white-space: nowrap;
	vertical-align: middle;
}

/* ==================================================================
   共有パーツ（ID 1〜14）スタイル定義  ※class名は変更不可
   table_type="2" のパーツは公開時に table→div になるため両方定義している
   ================================================================== */

/* ------------------------------------------------------------------
   パーツ共通カラー ※編集画面では var() が効かないので16進で直書きする
------------------------------------------------------------------ */

/* ==================================================================
   ID 1 ── ページの先頭へ戻る  ( p.ptop )
   ================================================================== */
#tmp_contents .ptop {
  margin: 24px 0 0;
  text-align: right;
  clear: both;
}
#tmp_contents .ptop a {
  display: inline-block;
  padding: 8px 16px 8px 30px;
  position: relative;
  font-size: 14px;
  color: #004C85;
  text-decoration: none;
  border: 1px solid #B3D4E6;
  border-radius: 999px;
  background: #FFFFFF;
  transition: background-color .2s, color .2s;
}
#tmp_contents .ptop a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 12px;
  height: 12px;
  background: url("../../../site_saiyou/images/arrow-blue.png") no-repeat center / contain;
  transform: translateY(-50%) rotate(-90deg);
}
#tmp_contents .ptop a:hover,
#tmp_contents .ptop a:focus {
  color: #FFFFFF;
  background: #004C85;
}
#tmp_contents .ptop a:hover::before,
#tmp_contents .ptop a:focus::before {
  background-image: url("../../../site_saiyou/images/arrow-white.png");
}

/* ==================================================================
   ID 2・3 ── データテーブル（table.datatable／両バリエーション共通）
   ================================================================== */

#tmp_contents table.datatable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 2px;
}
#tmp_contents table.datatable th {
  position: relative;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  color: #FFFFFF;
  background-color: #004C85;
}
#tmp_contents table.datatable td {
  padding: 12px 14px;
  vertical-align: middle;
  background-color: #E5F1F8;
}

#tmp_contents table.datatable tr:first-child > *:first-child {
  border-top-left-radius: 8px;
}
#tmp_contents table.datatable tr:first-child > *:last-child {
  border-top-right-radius: 8px;
}
#tmp_contents table.datatable tr:last-child > *:first-child {
  border-bottom-left-radius: 8px;
}
#tmp_contents table.datatable tr:last-child > *:last-child {
  border-bottom-right-radius: 8px;
}

#tmp_contents table.datatable th:not(:last-child),
#tmp_contents table.datatable td:not(:last-child) {
  border-right: 2px solid #FFFFFF;
}

#tmp_contents table.datatable th:first-child:has(+ td)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid #004C85;
  z-index: 1;
}

#tmp_contents table.datatable th + td {
  padding-left: 28px;
}

@media (min-width: 40em) {
  #tmp_contents table.datatable th,
  #tmp_contents table.datatable td {
    padding: 16px 20px;
  }
  #tmp_contents table.datatable th + td {
    padding-left: 32px;
  }
  #tmp_contents table.datatable th {
    font-size: 17px;
  }
}

/* ==================================================================
   ID 4 ── 枠  ( table.outline / div.outline )
   ================================================================== */
#tmp_contents .outline {
  margin: 0 0 0.8em;
  clear: both;
  border: 2px solid #B3D4E6;
  border-radius: 10px;
  background-color: #FFFFFF;
}
#tmp_contents table.outline {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#tmp_contents table.outline td {
  padding: 16px 20px;
  color: inherit;
  background-color: transparent;
}
#tmp_contents div.outline {
  padding: 16px 20px;
  margin: 20px auto;
  color: inherit;
}
#tmp_contents .outline > *:last-child,
#tmp_contents .outline td > *:last-child {
  margin-bottom: 0;
}

/* ==================================================================
   段組みグリッド（col2 / col3 / 入れ子col2=4段組）※ID 5・6・7 の土台
   ================================================================== */

#tmp_contents table.col2,
#tmp_contents table.col3,
#tmp_contents div.col2,
#tmp_contents div.col3 {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
  overflow: hidden;
}

#tmp_contents .col2L,
#tmp_contents .col2R,
#tmp_contents .col3L,
#tmp_contents .col3M,
#tmp_contents .col3R {
  display: block;
  width: 100%;
  padding: 0;
  vertical-align: top;
  text-align: left;
}
#tmp_contents .col2L,
#tmp_contents .col3L,
#tmp_contents .col3M {
  margin-bottom: 20px;
}

#tmp_contents .col2L p img,
#tmp_contents .col2R p img,
#tmp_contents .col3L p img,
#tmp_contents .col3M p img,
#tmp_contents .col3R p img {
  border-radius: 12px;
}
#tmp_contents .col2L h4,
#tmp_contents .col2R h4 {
  margin-top: 16px;
  margin-bottom: 8px;
}

@media (min-width: 40em) {
  #tmp_contents table.col2 tbody tr,
  #tmp_contents div.col2 {
    display: flex;
    gap: 40px;
  }
  #tmp_contents table.col3 tbody tr,
  #tmp_contents div.col3 {
    display: flex;
    gap: 24px;
  }
  #tmp_contents div.col2 > .col2L,
  #tmp_contents div.col2 > .col2R,
  #tmp_contents div.col3 > .col3L,
  #tmp_contents div.col3 > .col3M,
  #tmp_contents div.col3 > .col3R,
  #tmp_contents table.col2 tbody tr > .col2L,
  #tmp_contents table.col2 tbody tr > .col2R,
  #tmp_contents table.col3 tbody tr > .col3L,
  #tmp_contents table.col3 tbody tr > .col3M,
  #tmp_contents table.col3 tbody tr > .col3R {
    display: block;
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  #tmp_contents div.col2 div.col2 {
    gap: 16px;
  }
}

/* ==================================================================
   ID 8 ── キャプション付き画像  ( table.img_cap / div.img_cap )
   ================================================================== */
#tmp_contents .img_cap {
  margin: 0 0 0.3em;
}
#tmp_contents table.img_cap {
  border-collapse: collapse;
  border-spacing: 0;
}
#tmp_contents table.img_cap td {
  padding: 0;
  text-align: left;
}

#tmp_contents .img_cap p {
  margin-bottom: 0;
}
#tmp_contents .img_cap img {
  margin: 0 0 4px !important;
  border-radius: 12px;
}
#tmp_contents .img_cap td > p:last-child,
#tmp_contents .img_cap > p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
}

/* ==================================================================
   ID 9 ── お知らせボックス  ( table.box_info / div.box_info )
   ================================================================== */
#tmp_contents .box_info {
  margin: 0 0 0.8em;
  clear: both;
  border: 1px solid #B3D4E6;
  border-radius: 10px;
  overflow: hidden;
}
#tmp_contents table.box_info {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#tmp_contents .box_info .box_info_ttl {
  padding: 12px 20px;
  font-weight: 700;
  color: #FFFFFF;
  background: #004C85;
}
#tmp_contents .box_info .box_info_ttl p {
  margin-bottom: 0;
}
#tmp_contents .box_info .box_info_cnt {
  padding: 16px 20px;
  background: #FFFFFF;
}
#tmp_contents .box_info .box_info_cnt > *:last-child {
  margin-bottom: 0;
}

/* ==================================================================
   ID 10 ── 関連リンクボックス  ( table.box_link / div.box_link )
   ================================================================== */
#tmp_contents .box_link {
  margin: 0 0 0.8em;
  clear: both;
  border: 1px solid #B3D4E6;
  border-radius: 10px;
  overflow: hidden;
}
#tmp_contents table.box_link {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#tmp_contents .box_link .box_link_ttl {
  padding: 12px 20px;
  font-weight: 700;
  color: #FFFFFF;
  /* 白文字とのコントラスト AA 確保 */
  background: #0071B8;
  overflow: hidden;
}
#tmp_contents .box_link .box_link_ttl p {
  margin-bottom: 0;
}
#tmp_contents .box_link .box_link_cnt {
  padding: 16px 20px;
  background: #FFFFFF;
}
#tmp_contents .box_link .box_link_cnt > *:last-child {
  margin-bottom: 0;
}

/* ==================================================================
   ID 11 ── メニューボックス（.box_menu を col2 内に配置）※ID 14 とも共通
   ================================================================== */
#tmp_contents .box_menu {
  margin: 0 0 0.8em;
  clear: both;
}
#tmp_contents table.box_menu {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#tmp_contents table.box_menu td,
#tmp_contents div.box_menu {
  padding: 8px 0 0;
}

#tmp_contents .box_menu_ttl h2,
#tmp_contents .box_menu_ttl p {
  font-size: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: none;

  background: none;
}
#tmp_contents .box_menu_ttl h2::before {
  content: none;
}
#tmp_contents .box_menu_ttl p,
#tmp_contents .box_menu_ttl h2 a {
  display: block;
  padding: 16px 20px;
  border: 2px solid #B3D4E6;
  border-top: 8px solid #00ACFA;
  border-radius: 8px 8px 0 0;
  background: #E5F1F8;
  text-decoration: none;
  font-weight: 700;
  color: #004C85;
  transition: background-color .2s;
}
#tmp_contents .box_menu_ttl h2 a:hover,
#tmp_contents .box_menu_ttl h2 a:focus {
  background: #FFFFFF;
}

#tmp_contents .box_menu_cnt {
  padding: 8px 0 0;
}
#tmp_contents .box_menu ul,
#tmp_contents .box_menu ol {
  margin-bottom: 0.8em;
  margin-left: 0;
}

/* ==================================================================
   ID 12・13 ── ボタンボックス（ul.box_btn を col2 / col3 内に配置）
   ================================================================== */
#tmp_contents ul.box_btn {
  margin: 0 0 0.8em;
  padding: 0;
  list-style: none;
  list-style-image: none;
}
#tmp_contents .box_btn li {
  margin: 0 0 14px;
  padding: 0;
  display: block;
  border: 2px solid #004C85;
  border-radius: 8px;
  background: #FFFFFF;
  transition: background-color .2s;
}
#tmp_contents .box_btn li::before {
  content: none;
}
#tmp_contents .box_btn li:hover,
#tmp_contents .box_btn li:focus-within {
  background: #E5F1F8;
}
#tmp_contents .box_btn a {
  display: block;
  padding: 16px 40px 16px 20px;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: #004C85;
  text-decoration: none;
}
#tmp_contents .box_btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 14px;
  height: 14px;
  background: url("../../../site_saiyou/images/arrow-blue.png") no-repeat center / contain;
  transform: translateY(-50%);
}
#tmp_contents .box_btn a:hover,
#tmp_contents .box_btn a:focus {
  text-decoration: underline;
}

/* ==================================================================
   ID 14 ── キャプション付画像（3段組）※見出しは ID11 の .box_menu_ttl を流用
   ================================================================== */
#tmp_contents .col3 .box_menu .box_menu_cnt img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 8px 8px;
}
#tmp_contents .col3 .box_menu_ttl p,
#tmp_contents .col3 .box_menu_ttl h2 a {
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

/* ==================================================================
   ビフォーアフターボックス（事業成果紹介）※共有パーツ「2段組」と併用
   ================================================================== */

/* ------------------------------------------------------------------
   外枠
------------------------------------------------------------------ */
#tmp_contents .before_afterBox {
  margin: 0 0 24px;
  padding: 16px;
  clear: both;
  border-radius: 14px;
  background: #E5F1F8;
}

/* ------------------------------------------------------------------
   Before / After のカード ※.col2L / .col2R は共有パーツ「2段組」の class
------------------------------------------------------------------ */
#tmp_contents .before_afterBox .col2L,
#tmp_contents .before_afterBox .col2R {
  position: relative;
  border-radius: 10px;
  background: #FFFFFF;
}

#tmp_contents .before_afterBox .col2L {
  margin-bottom: 48px;
}

#tmp_contents .before_afterBox .col2L p img,
#tmp_contents .before_afterBox .col2R p img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0 0 10px 10px;
}
#tmp_contents .before_afterBox .col2L > p,
#tmp_contents .before_afterBox .col2R > p {
  margin: 0;
}

/* ------------------------------------------------------------------
   Before / After の見出し帯 ※白文字とのコントラスト AA 確保
------------------------------------------------------------------ */
#tmp_contents .beforeBox_headline,
#tmp_contents .afterBox_headline {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #FFFFFF;
  border-radius: 10px 10px 0 0;
}
#tmp_contents .beforeBox_headline {
  background: #5A666F;
}
#tmp_contents .afterBox_headline {
  background: linear-gradient(90deg, #004C85, #0071B8);
}

/* ------------------------------------------------------------------
   Before → After をつなぐ矢印（SP：下向き／PC：右向き）
------------------------------------------------------------------ */
#tmp_contents .before_afterBox .col2L::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -37px;
  width: 26px;
  height: 26px;
  background: url("../../../site_saiyou/images/arrow-blue.png") no-repeat center / contain;
  transform: translateX(-50%) rotate(90deg);   /* 右向き画像を下向きに（SP） */
}

/* ------------------------------------------------------------------
   ボックス内の本文（タイトル・担当者コメント・注釈）
------------------------------------------------------------------ */
#tmp_contents .before_afterBox > h3,
#tmp_contents .before_afterBox > h4,
#tmp_contents .before_afterBox > h5 {
  margin: 20px 0 8px;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  color: #004C85;
  background: none;
  border: none;
}

#tmp_contents .before_afterBox > h3::after,
#tmp_contents .before_afterBox > h4::after,
#tmp_contents .before_afterBox > h5::after {
  content: none;
}
#tmp_contents .before_afterBox > p {
  margin: 0 0 8px;
  padding: 0 4px;
}
#tmp_contents .before_afterBox > *:last-child {
  margin-bottom: 0;
}

/* ==================================================================
   PC（40em〜）
   ================================================================== */
@media (min-width: 40em) {
  #tmp_contents .before_afterBox {
    padding: 24px;
  }

  #tmp_contents .before_afterBox table.col2 tbody tr,
  #tmp_contents .before_afterBox div.col2 {
    display: flex;
    align-items: stretch;
    gap: 56px;
  }
  #tmp_contents .before_afterBox table.col2 td.col2L,
  #tmp_contents .before_afterBox table.col2 td.col2R,
  #tmp_contents .before_afterBox div.col2 div.col2L,
  #tmp_contents .before_afterBox div.col2 div.col2R {
    display: block;
    width: auto;
    flex: 1 1 0;
    float: none;
    margin: 0;
    padding: 0;
  }

  #tmp_contents .before_afterBox .col2L::after {
    left: auto;
    right: -41px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  #tmp_contents .beforeBox_headline,
  #tmp_contents .afterBox_headline {
    padding: 14px 16px;
    font-size: 19px;
  }
}

/* ==================================================================
   ID 16 ── プロフィール（丸写真＋枠）  ( div.box_profile )
   1つ目の段落が名前、2つ目以降が紹介文（位置で当てるので class 不要）
   ================================================================== */
#tmp_contents .box_profile {
  position: relative;
  margin: 72px 0 24px;
  padding: 68px 20px 20px;
  border: 2px solid #00ACFA;
  border-radius: 16px;
  background: #FFFFFF;
}
#tmp_contents .box_profile .box_profile_img {
  position: absolute;
  top: -56px;
  left: 50%;
  width: 112px;
  transform: translateX(-50%);
}
#tmp_contents .box_profile .box_profile_img p,
#tmp_contents .box_career .box_career_img p {
  margin: 0;
}
#tmp_contents .box_profile .box_profile_img img,
#tmp_contents .box_career .box_career_img img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  object-fit: cover;
  border: 3px solid #00ACFA;
  border-radius: 50%;
  background: #FFFFFF;
}
#tmp_contents .box_profile .box_profile_cnt > p {
  margin: 0 0 0.8em;
  font-size: 15px;
  line-height: 1.8;
}
#tmp_contents .box_profile .box_profile_cnt > p:first-child {
  margin-bottom: 12px;
  color: #0071B8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
#tmp_contents .box_profile .box_profile_cnt > *:last-child {
  margin-bottom: 0;
}
@media (min-width: 40em) {
  #tmp_contents .box_profile {
    margin-top: 56px;
    padding: 28px 32px 24px;
  }
  #tmp_contents .box_profile .box_profile_img {
    top: -48px;
    right: 32px;
    left: auto;
    width: 136px;
    transform: none;
  }
  #tmp_contents .box_profile .box_profile_cnt > p:first-child {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding-right: 152px;
    font-size: 20px;
    text-align: left;
  }
}

/* ==================================================================
   ID 17 ── キャリアパス（顔写真付きカードを三角でつなぐ）  ( div.box_career )
   帯と背景の色はカードの順番で決まる。SP：縦積み・下向き三角／PC：横並び・右向き三角
   下の白い枠がボタン。中のリンクでカード全体がクリックできる（リンクが無いカードは反応しない）
   ================================================================== */
#tmp_contents .box_career {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 0 24px;
}
#tmp_contents .box_career .box_career_item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas:
    "ttl ttl"
    "img cnt"
    "txt txt";
  column-gap: 16px;
  row-gap: 12px;
  padding: 0 12px 12px;
  border: 1px solid #D5DCE3;
  border-radius: 8px;
  background: #DCEBF7;
}
#tmp_contents .box_career .box_career_item:nth-child(2) {
  background: #DDEFE3;
}
#tmp_contents .box_career .box_career_item:nth-child(3) {
  background: #FBEBD6;
}
#tmp_contents .box_career .box_career_item:nth-child(4) {
  background: #DEE5F2;
}
#tmp_contents .box_career .box_career_item:nth-child(5) {
  background: #F8E2E3;
}
#tmp_contents .box_career .box_career_ttl {
  grid-area: ttl;
  margin: 0 -13px;
}
#tmp_contents .box_career .box_career_ttl p {
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px 8px 0 0;
  background: #2A75B5;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
#tmp_contents .box_career .box_career_item:nth-child(2) .box_career_ttl p {
  background: #2E7F52;
}
#tmp_contents .box_career .box_career_item:nth-child(3) .box_career_ttl p {
  background: #B05E00;
}
#tmp_contents .box_career .box_career_item:nth-child(4) .box_career_ttl p {
  background: #2E5FA8;
}
#tmp_contents .box_career .box_career_item:nth-child(5) .box_career_ttl p {
  background: #C23A48;
}
#tmp_contents .box_career .box_career_img {
  grid-area: img;
  align-self: center;
}
#tmp_contents .box_career .box_career_img img {
  border: 0;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.7);
}
#tmp_contents .box_career .box_career_cnt {
  grid-area: cnt;
  align-self: center;
}
#tmp_contents .box_career .box_career_cnt > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
#tmp_contents .box_career .box_career_cnt > p:first-child {
  font-size: 18px;
  font-weight: 700;
}
#tmp_contents .box_career .box_career_txt {
  grid-area: txt;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #D5DCE3;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 2px 0 #D5DCE3;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
#tmp_contents .box_career .box_career_txt p {
  margin: 0;
}
#tmp_contents .box_career .box_career_item a,
#tmp_contents .box_career .box_career_item a:link,
#tmp_contents .box_career .box_career_item a:visited {
  color: inherit;
  text-decoration: none;
}
.box_career .box_career_item a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
#tmp_contents .box_career .box_career_item:has(a) {
  cursor: pointer;
  transition: box-shadow 0.2s;
}
#tmp_contents .box_career .box_career_item:has(a):hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#tmp_contents .box_career .box_career_item:has(a):hover .box_career_txt {
  border-color: #2A75B5;
  color: #2A75B5;
}
#tmp_contents .box_career .box_career_item:focus-within {
  outline: 3px solid #00ACFA;
  outline-offset: 2px;
}
#tmp_contents .box_career .box_career_item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -23px;
  left: 50%;
  border-style: solid;
  border-width: 14px 11px 0 11px;
  border-color: #8C959D transparent transparent transparent;
  transform: translateX(-50%);
}
@media (min-width: 40em) {
  #tmp_contents .box_career {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
  }
  #tmp_contents .box_career .box_career_item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    padding: 0 10px 10px;
    text-align: center;
  }
  #tmp_contents .box_career .box_career_ttl {
    margin: 0 -11px 14px;
  }
  #tmp_contents .box_career .box_career_ttl p {
    margin-right: -12px;
    padding: 6px 24px 6px 12px;
    border-radius: 8px 0 0 0;
    font-size: 17px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  }
  #tmp_contents .box_career .box_career_img {
    width: 104px;
    margin: 0 auto 12px;
  }
  #tmp_contents .box_career .box_career_cnt {
    align-self: auto;
    margin-bottom: 12px;
  }
  #tmp_contents .box_career .box_career_cnt > p {
    font-size: 15px;
  }
  #tmp_contents .box_career .box_career_cnt > p:first-child {
    font-size: 20px;
  }
  #tmp_contents .box_career .box_career_txt {
    min-height: 58px;
    margin-top: auto;
    font-size: 16px;
  }
  #tmp_contents .box_career .box_career_item:not(:last-child)::after {
    top: 50%;
    right: -21px;
    bottom: auto;
    left: auto;
    border-width: 11px 0 11px 14px;
    border-color: transparent transparent transparent #8C959D;
    transform: translateY(-50%);
  }
}

/* ------------------------------------------------------------------
   ID 17 の編集画面（CKEditor）用 ── 見た目は公開と同じ。リンク部分だけ分かりやすくする
   .cke_editable は編集エリアにだけ付くので公開ページには効かない。
   公開用の #tmp_contents 付き指定に勝つため !important を使う
------------------------------------------------------------------ */
.cke_editable .box_career .box_career_item a::before {
  content: none !important;
}
.cke_editable .box_career .box_career_item {
  box-shadow: none !important;
  cursor: auto !important;
}
.cke_editable .box_career .box_career_txt {
  flex-direction: column !important;
}
.cke_editable .box_career .box_career_txt a {
  color: #0071B8 !important;
  text-decoration: underline !important;
}
.cke_editable .box_career .box_career_txt::after {
  display: block;
  margin: 4px 0 0;
  color: #C00000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.cke_editable .box_career .box_career_txt:not(:has(a))::after {
  content: "※ リンク未設定";
}
.cke_editable .box_career .box_career_txt:has(a[href="#"])::after {
  content: "※ リンク先が仮（#）のまま";
}
