/* NAO Shortcodes — フローリストナオで使っているショートコードの出力に効くルールだけ。
   出力クラス名は DigiPress Ex - Shortcodes と同じ（追加CSS・子テーマがそのクラス名に依存しているため）。
   使っていない機能（accordion／rounded／sortable／highlight／SNS／talk など）のルールは入れていない。 */

/* ---------- 共通（現行 style.css 相当・使う部分だけ） ---------- */
[class*="dp_sc_"] *,
[class^="dp_sc_"] * {
	box-sizing: border-box;
	text-shadow: none;
}
[class*="dp_sc_"] .cover_img,
[class^="dp_sc_"] .cover_img {
	display: block;
	background-position: 50%;
	background-size: cover;
	width: 100%;
	height: 100%;
}
.textwidget [class*="dp_sc_"] ul,
.textwidget [class*="dp_sc_"] ol,
.dp_text_widget [class^="dp_sc_"] ul,
.dp_text_widget [class^="dp_sc_"] ol {
	margin-left: auto;
	padding: 0;
}
.textwidget [class*="dp_sc_"] ul li,
.textwidget [class*="dp_sc_"] ol li,
.dp_text_widget [class^="dp_sc_"] ul li,
.dp_text_widget [class^="dp_sc_"] ol li {
	line-height: 1.6;
}

/* ---------- flexbox / flexitem ---------- */
.dp_sc_fl_box {
	display: flex;
	flex-wrap: wrap;
	gap: var(--des-flex-box-gap, 20px);
	margin-bottom: 50px;
}
.dp_sc_fl_box.flex_children .dp_sc_fl_item {
	flex: 1;
}
@media only screen and (min-width: 0) and (max-width: 620px) {
	.dp_sc_fl_box .dp_sc_fl_item {
		flex: none !important;
		width: calc(50% - var(--des-flex-box-gap-half, 10px));
	}
}
@media only screen and (min-width: 0) and (max-width: 420px) {
	.dp_sc_fl_box {
		flex-direction: column;
	}
	.dp_sc_fl_box .dp_sc_fl_item {
		width: 100%;
	}
}

/* ---------- toggles / toggle ---------- */
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt {
	transition: all 0.3s ease;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt .dt-inner::before,
dl.dp_sc_acdn_dl dd.dp_sc_acdn_dd,
dl.dp_sc_acdn_dl .dd_content {
	transition: all 0.4s ease;
}
dl.dp_sc_acdn_dl {
	position: relative;
	border: none;
	border-bottom: 1px solid rgba(120, 120, 120, 0.44);
	margin-bottom: 50px;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt {
	background-color: rgba(120, 120, 120, 0.16);
	border: 1px solid rgba(120, 120, 120, 0.44);
	border-bottom: none;
	line-height: 1.5;
	padding: 16px 14px;
	font-size: 98%;
	margin-bottom: 0;
	font-weight: normal;
	cursor: pointer;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt .dt-inner::before {
	margin: 0;
	padding: 3px 12px 0;
	float: left;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt:not(.last-of-type) {
	border-bottom: none;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt:hover {
	opacity: .72;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt.in-open {
	border-bottom: 1px solid rgba(120, 120, 120, 0.44);
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt.in-open .dt-inner::before {
	transform: rotate(180deg);
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt.in-open + dd.dp_sc_acdn_dd {
	padding: 16px;
	max-height: 12000px;
}
dl.dp_sc_acdn_dl dt.dp_sc_acdn_dt.in-open + dd.dp_sc_acdn_dd .dd_content {
	opacity: 1;
	transform: none;
}
dl.dp_sc_acdn_dl dd.dp_sc_acdn_dd {
	border: 1px solid rgba(120, 120, 120, 0.44);
	border-width: 0 1px;
	margin: 0;
	padding: 0 16px;
	font-size: 94%;
	overflow: hidden;
	max-height: 0;
}
dl.dp_sc_acdn_dl dd.dp_sc_acdn_dd p:last-of-type,
dl.dp_sc_acdn_dl dd.dp_sc_acdn_dd ol:last-of-type,
dl.dp_sc_acdn_dl dd.dp_sc_acdn_dd ul:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}
dl.dp_sc_acdn_dl .dd_content {
	opacity: 0;
	transform: translateY(40px);
}

/* ---------- profile ---------- */
.dp_sc_prof_img a,
.dp_sc_prof_img a img {
	transition: none !important;
}
.dp_sc_prof_img.zoom-up a:hover {
	transform: scale(1.15);
}
.dp_sc_prof_img.round,
.dp_sc_prof_img.round .cover_img {
	border-radius: 12%;
}
.dp_sc_prof,
.dp_sc_prof_top_area,
.dp_sc_prof_img {
	transform: translateZ(0);
	position: relative;
	overflow: hidden;
}
.dp_sc_prof_img a img:hover {
	-webkit-transform: none;
}
.dp_sc_prof_img {
	margin: 0 auto 10px auto;
}
.dp_sc_prof_img a {
	display: block;
	height: 100%;
}
.dp_sc_prof,
.dp_sc_prof_desc {
	box-sizing: border-box;
}
.dp_sc_prof_top_area {
	min-height: 80px;
}
.dp_sc_prof_top_area.has-bd {
	margin-right: -2px;
}
.dp_sc_prof_top_bgimg {
	position: relative;
	margin: 0 auto;
	max-height: 280px;
	width: 100%;
	transform: translate(50%, 50%);
}
.dp_sc_prof_top_bgimg img {
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	transform: translate(-50%, -50%);
}
.dp_sc_prof {
	text-align: center;
	margin-bottom: 40px;
}
.dp_sc_prof div {
	padding: 0;
}
.dp_sc_prof img {
	padding: 0;
	margin: 0;
}
.dp_sc_prof a,
.dp_sc_prof a:hover {
	text-decoration: none !important;
}
.entry .dp_sc_prof img,
.textwidget .dp_sc_prof img,
.dp_text_widget .dp_sc_prof img {
	padding: 0;
	margin: 0;
}
.dp_sc_prof_name {
	line-height: 1.48;
	margin: 0 auto 15px auto !important;
}
.dp_sc_prof_desc {
	margin-top: 20px;
	padding: 0 10px 15px 10px !important;
	line-height: 1.6;
}

/* ---------- table / tablerow / tablecell ---------- */
.dp_sc_table_wrapper {
	position: relative;
	overflow-x: auto;
	margin-bottom: 40px;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-webkit-overflow-scrolling: touch;
}
.dp_sc_table_wrapper::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
.dp_sc_table_wrapper::-webkit-scrollbar-track {
	background-color: rgba(170, 170, 170, 0.38);
}
.dp_sc_table_wrapper::-webkit-scrollbar-thumb {
	background-color: rgba(170, 170, 170, 0.62);
}
table.dp_sc_table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
	table-layout: fixed;
	border-collapse: collapse;
}
table.dp_sc_table.wnowrap {
	table-layout: auto;
}
table.dp_sc_table.wnowrap th,
table.dp_sc_table.wnowrap td {
	white-space: nowrap;
}
table.dp_sc_table th,
table.dp_sc_table td {
	line-height: 1.68;
	padding: 10px;
}
@media only screen and (min-width: 0) and (max-width: 767px) {
	table.dp_sc_table {
		table-layout: auto;
	}
	table.dp_sc_table th,
	table.dp_sc_table td {
		white-space: nowrap;
	}
}
