/*!
Theme Name: dent
Author: ウミガメ
*/


html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	font-family: "Hiragino Sans";
	background-color: #f1eee7;
/*background-image: url(assets/img/common/body_bg.png);*/
}

main {
	display: block;
}

h1 {
	font-size: 13px;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	font-weight: 400;
	letter-spacing: .05rem;
	line-height: 1.875;
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: initial;
	cursor: pointer;
	transition: .2s;
}


a:hover{
	opacity: .7;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	bottom: 5%;
	left: 0;
	right: 0;
}
.main-navigation > div {
	display: flex;
	align-items: center;
	border-radius: 5px;
	background-color: rgba(90, 90, 90,0.702);
	height: 65px;
	padding: 0 40px;
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul.menu{
	gap:40px;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	display: block;
	visibility: hidden;
	opacity: 0;
	background-color: var(--maincolor);
	border-radius: 8px;
	padding: 10px 20px 10px;
	z-index: 99999;
}
.main-navigation ul li.rows ul {
	left: auto;
}
.main-navigation ul.menu>li:hover>ul {
	visibility: visible;
	opacity: 1;
	transition: all .1s ease-out;
}
.main-navigation ul.sub-menu {
	display: flex;
	flex-wrap: wrap;
	background: white;
	border-radius: 3px;
}
.main-navigation ul.sub-menu a {
	border: none;
	padding: 7px 0;
	font-size: 95%;
	font-weight: 500;
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}
.main-navigation ul ul li:hover>ul, .main-navigation ul ul li.focus>ul {
	display: block;
}
.main-navigation ul li.rows ul li:hover>ul {
	left: auto;
}
.main-navigation ul ul a {
	width: 170px;
	color: rgb(90, 90, 90);
}
.main-navigation li {
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	font-weight: 500;
	letter-spacing: .1rem;
	color: white;
	transition: all .1s ease-out;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
	}
}


@media(max-width: 992px){
	.main-navigation a {
		font-size: 90%;
	}
}
@media(max-width: 892px){
	.main-navigation a {
		font-size: 80%;
	}
}


/*スマホメニュー*/
@media(min-width: 768px) {
	.mobile-info, .mob-visual, .mob {
		display: none!important;
	}
}
@media(max-width: 768px) {
	#masthead, .site-header.secondary, .site-header.on {
		display: none!important;
	}
}
@media(max-width: 768px) {
	.mobile-info {
		width: 100%;
		padding: 0 10px;
		height: auto;
		position: relative;
		z-index: 10;
	}
	.mobile-info.secondary{
		background-color: white;
		box-shadow: 0px 0px 6px 0px rgba(89, 89, 89, 0.4);
	}
	.mobile-info.secondary h1{
		margin-top: 0;
		padding-top: 10px;
		font-weight: 600;
	}
	.mobile-info .logo img {
		width: 100%;
	}
	.mobile-info .site-title {
		font-size: 12px;
		position: relative;
		text-align: left;
		color: white;
	}
	.mobile-info.secondary .site-title{
		color: black;
	}
	.mob {
		position: fixed;
		bottom: 0;
		width: 100%;
		z-index: 99999;
		transition: .1s;
	}
	.mob.nav-open {
		height: 100%;
		overflow-y: scroll;
		background: rgba(0, 0, 0, .2);
	}
	.mob::before {
		content: 'mobile';
		display: none;
	}
	.mob::-webkit-scrollbar {
		display: none;
	}
	.mob .nav-trigger {
		position: fixed;
		top: .5rem;
		right: 1rem;
		height: calc(80px / 2);
		width: calc(80px / 2);
		text-indent: 100%;
		white-space: nowrap;
		z-index: 9999;
	}
	.mob a:hover {
		opacity: 1!important;
	}
	.mob .nav-trigger span, .mob .nav-trigger span::after, .mob .nav-trigger span::before {
		position: absolute;
		background-color: white;
		height: 2px;
		width: 27px;
	}
	.mob.nav-open .nav-trigger span, .mob.mob.nav-open .nav-trigger span::after, .mob.mob.nav-open .nav-trigger span::before{
		background-color: black;
	}
	.mob.secondary .nav-trigger span, .mob.secondary .nav-trigger span::after, .mob.secondary .nav-trigger span::before {
		background-color: black;
	}
	.mob .nav-trigger span {
		left: 50%;
		top: 50%;
		bottom: auto;
		right: auto;
		-webkit-transform: translateX(-50%) translateY(-50%);
		-ms-transform: translateX(-50%) translateY(-50%);
		transform: translateX(-50%) translateY(-50%);
		-webkit-transition: background-color .3s;
		transition: background-color .3s;
	}
	.mob .nav-trigger span::after, .mob .nav-trigger span::before {
		content: '';
		left: 0;
		-webkit-transition: -webkit-transform .3s;
		transition: -webkit-transform .3s;
		transition: transform .3s;
		transition: transform .3s, -webkit-transform .3s;
	}
	.mob .nav-trigger span::before {
		-webkit-transform: translateY(-8px);
		-ms-transform: translateY(-8px);
		transform: translateY(-8px);
	}
	.mob .nav-trigger span::after {
		-webkit-transform: translateY(8px);
		-ms-transform: translateY(8px);
		transform: translateY(8px);
	}
	.mob.nav-open .nav-trigger span {
		background-color: transparent;
	}
	.mob.nav-open .nav-trigger span::before {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.mob.nav-open .nav-trigger span::after {
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.mob .main-nav {
		display: none;
	}
	.mob .mob_op {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		width: 480px;
		padding: 1.5rem 0 1.5rem;
		text-align: center;
		background-color: rgb(249, 249, 249);
		box-shadow: 0px 10px 9px 1px rgba(0, 0, 0, 0.1);
	}
	.mob.nav-open .mob_op {
		display: block;
	}
	.dropdown-list ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.dropdown-list ul li {
		text-align: left;
	}
	.dropdown-list ul li a {
		padding: 10px 0 10px 30px;
		display: block;
		font-size: 1rem;
		font-family: var(--ZenMaru);
		font-weight: 500;
		color: black;
		text-decoration: none;
	}
	.dropdown-list ul ul {
		background-color: rgb(245, 245, 245);
	}
	.dropdown-list ul ul li {
		border-bottom: none;
	}
	.dropdown-list ul ul li a {
		font-size: calc(28px / 2);
	}
	.mob.nav-open .menu-item-has-children {
		position: relative;
	}
	.dropdown-list .menu-item-has-children>.sub-menu {
		padding: 10px 2rem;
		margin: 0;
		list-style: none;
		display: none;
	}
	.dropdown-list .menu-item-has-children>.sub-menu a {
		line-height: 1.5;
		padding: 6px 0;
		display: flex;
		align-content: center;
	}
	.dropdown-list .menu-item-has-children>.sub-menu a:before {
		content: '› ';
		display: block;
		margin-right: 3px;
	}
	.mob.nav-open .menu-item-has-children>.sub-menu>li {
		padding: .5rem .5rem;
		display: block;
		width: 100%;
	}
	#menu-footer .menu-item-has-children>.sub-menu>li {
		padding: 0;
	}
/* +-開閉
--------------------------------------------- */
.oac {
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 7px;
	right: 1.5rem;
}
.oac:before, .oac:after {
	content: '';
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: #413a35;
	width: 11px;
	height: 2px;
	transition: all 0.3s;
}
.oac:after {
	transform: rotate(90deg);
}
.oac.active:before {
	transform: rotate(180deg);
}
.oac.active:after {
	transform: rotate(180deg);
	opacity: 0;
}
}
/* media
--------------------------------------------- */

@media(max-width: 576px) {
	.mob .mob_op {
		width: 100%;
	}
	.mobile-info .logo img {
		width: 100%;
		object-fit: contain;
	}
	.mobile-info:after {
		background-size: cover;
	}
}



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*レスポンシブ用
--------------------------------------------- */
.lg_block,
.md_block,
.sm_block{
	display: none;
}
.lg_none,
.md_none,
.sm_none{
	display: block;
}
@media(max-width: 992px){
	.lg_none{
		display: none;
	}
	.lg_block{
		display: block;
	}
}
@media(max-width: 768px){
	.md_none{
		display: none;
	}
	.md_block{
		display: block;
	}
}
@media(max-width: 576px){
	.sm_none{
		display: none;
	}
	.sm_block{
		display: block;
	}
}
/* マージン
--------------------------------------------- */
.m0{margin: 0}
.mt0{margin-top: 0}
.mb0{margin-bottom: 0}


:root {
  --dp-maxw: 1000px;
  --dp-gap: 18px;
  --dp-bg: #ffffff;
  --dp-accent: #a68e53; /* 見出し色やアクセント */
  --dp-border: #e6e9ee;
  --dp-text: #222;
  --dp-muted: #6b6f76;
  --dp-radius: 10px;
  --dp-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

/* ===== テーブル ===== */
.dp-table-wrap {
  max-width: var(--dp-maxw);
  margin: 0 auto;
  box-sizing: border-box;
  color: var(--dp-text);
}

.dp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  table-layout: fixed;
  overflow: hidden;
  box-shadow: var(--dp-shadow);
}

.dp-table thead {
  background: linear-gradient(90deg, rgba(43,108,176,0.06), rgba(43,108,176,0.02));
}
.dp-table thead th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--dp-accent);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--dp-border);
}

.dp-table th[scope="row"] {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--dp-accent);
  border-bottom: 1px solid var(--dp-border);
  vertical-align: top;
  text-align: left; 
}

.dp-table th[scope="row"]:has(img) {
  text-align: center;
}

.dp-table th[scope="row"] figure {
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央（高さがあるとき） */
  margin: 10px 0 0 0; /* 上下に少し余白を取る */
}

.dp-table th[scope="row"] img {
  display: block;
  margin: 0 auto; /* ブロック要素として中央寄せ */
  height: auto;
  max-width: 100%; /* 横幅のはみ出し防止 */
  border-radius: 6px; /* デザイン調整：角丸 */
}

.dp-table tbody tr {
  background: var(--dp-bg);
  transition: background .18s ease;
}
.dp-table tbody tr:nth-child(odd) {
  background: #fbfcfe;
}
.dp-table tbody tr:hover {
  background: #f3f7ff;
}

.dp-table td {
  padding: 14px 18px;
  vertical-align: top;
  font-size: 0.95rem;
  color: var(--dp-text);
  border-bottom: 1px solid var(--dp-border);
  word-break: break-word;
}

.dp-table td:first-child {
  font-weight: 700;
  color: var(--dp-accent);
  width: 72px;
}

.dp-table td {
  white-space: normal;
  line-height: 1.6;
}

/* ===== テーブルスマホ ===== */
@media (max-width: 767px) {
  .dp-table thead {
    display: none;
  }

  .dp-table,
  .dp-table tbody,
  .dp-table tr,
  .dp-table td,
  .dp-table th[scope="row"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .dp-table tr {
    margin-bottom: var(--dp-gap);
    border-radius: var(--dp-radius);
    overflow: hidden;
    box-shadow: var(--dp-shadow);
    border: 1px solid var(--dp-border);
  }

  .dp-table td,
  .dp-table th[scope="row"] {
    padding: 12px 14px;
    border: none;
    position: relative;
  }

  /* data-labelの表示 */
  .dp-table td::before {
    content: attr(data-label);
    display: block;
    min-width: 110px;
    margin-right: 12px;
    font-weight: 700;
    color: var(--dp-accent);
    vertical-align: top;
  }

  /* 最初のセル（種類など）は全幅で表示 */
  .dp-table td:first-child,
  .dp-table th[scope="row"] {
    width: 100%;
  }

  .dp-table td:first-child::before {
    min-width: 68px;
  }

  /* th[scope="row"]専用：画像と余白の最適化 */
  .dp-table th[scope="row"] {
    text-align: center;
  }

  .dp-table th[scope="row"] figure {
    width: 100%;
    margin: 10px 0 0;
  }

  .dp-table th[scope="row"] img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
  }
	
  .dp-table tr:last-child {
    margin-bottom: 0; /* ← 最後のカードだけ余白を消す */
  }
}

ul.symptom-list {
  background-color: rgba(212, 181, 114, 0.1);
  border-radius: 10px;
  padding: 25px 30px;
  list-style: none;
  border: 1px solid #e7d9b9;
  margin-bottom: 30px;
  margin-left: 0;
  clear: both;
}
ul.symptom-list li {
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.8;
}
ul.symptom-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #d4b572;
  font-weight: bold;
}
ul.symptom-list li:last-child {
  margin-bottom: 0;
}

/* ===== textfloatのfloat解除 ===== */
.textfloat-section::after {
  content: "";
  display: block;
  clear: both;
}

.textfloat-inner {
  margin: 0 auto 1rem;
  line-height: 1.8;
  font-size: 1rem;
}
.textfloat-title {
  margin-top: 0;
}
.textfloat-image {
  float: right;
  width: 40%;
  max-width: 280px;
  margin: 0 0 15px 25px;
  object-fit: cover;
}
.textfloat-text {
  text-align: justify;
}
.textfloat-text:last-of-type {
  margin-bottom: 0;
}
.textfloat-section h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

/* ===== textfloat内の見出しリセット ===== */
.textfloat-section .midashi {
  background: none !important;
  color: #333 !important;
  padding: 0 !important;
  margin: 0 0 0.6em 0 !important;
  display: block !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
clear: none;
}

/* font-sizeを明示的に再定義 */
.textfloat-section .midashi[style] {
  font-size: 1.3rem !important;
}

/* ===== textfloat内のリスト崩れ防止 ===== */
.textfloat-section ul,
.textfloat-section .symptom-list {
  display: block;
  width: 100%;
  margin-top: 10px;
  clear: none; /* ← 常時解除しない */
}

/* リストが画像直後に続く場合のみclear適用 */
.textfloat-section img + ul,
.textfloat-section img + .symptom-list {
  clear: both;
}
/* symptom-listがtextfloat内にあるときは背景を薄く */
.textfloat-section .symptom-list {
  background-color: rgba(255, 248, 230, 0.8);
  border: 1px solid #e7d9b9;
  border-radius: 10px;
  padding: 20px 24px;
  box-sizing: border-box;
}

.textfloat-section strong {
  color: rgb(166, 142, 83);
}
@media (max-width: 767px) {
  .textfloat-image {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }
}

/* ===== 通常の説明付きdl ===== */
.content dl {
  background: rgba(212, 181, 114, 0.1);
  border-left: 4px solid #d4b572;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}

.content dl dt {
  color: #7a6333;
  font-weight: 600;
  margin-bottom: .6rem;
  line-height: 1.5;
  font-size: 1.1rem; /* 基準サイズ */
}

/* dtの階層バリエーション（任意でclass付与） */
.content dl dt.lv2 { font-size: 1.25rem; font-weight: 650; }
.content dl dt.lv3 { font-size: 1.15rem; font-weight: 600; }
.content dl dt.lv4 { font-size: 1rem; font-weight: 500; color: #555; }

.content dl dd {
  margin: 0 0 10px 0;
  padding: 0;
  color: #333;
  line-height: 1.8;
}

/* ===== チェックリストとして使うdl ===== */
.content dl.checklist {
  background: none;
  border: none;
  padding: 0;
  margin: 20px 0;
}

.content dl.checklist dt {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
  line-height: 1.7;
  font-size: 1.05rem;
}

.content dl.checklist dt::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #d4b572;
  font-weight: bold;
}

.content dl.checklist dd {
  margin: 0 0 12px 1.8em;
  padding: 0;
  color: #444;
  line-height: 1.7;
}

/* ===== dl内にhタグを使う場合（補助調整） ===== */
.content dl h2,
.content dl h3,
.content dl h4,
.content dl h5 {
  margin: 0 0 8px;
  color: #7a6333;
  font-weight: 600;
  line-height: 1.4;
	font-size: 16px!important;

}

/* ===== dl内のsymptom-listは装飾を解除 ===== */
.content dl .symptom-list {
  background: none;
  border: none;
  padding: 0;
  margin: 10px 0;
  border-radius: 0;
}

.content dl .symptom-list li {
  padding-left: 1.6em;
  margin-bottom: 8px;
  line-height: 1.7;
}

.content dl .symptom-list li::before {
  color: #d4b572; /* ✔ は残す */
  opacity: 0.8;   /* 少し控えめに */
}

.content dl .symptom-list li:last-child {
  margin-bottom: 0;
}

/* ===== 治療の流れ専用 feature-list 修正版 ===== */

/* midashiを付けないためのデザインリセット */
.feature-list h4 {
  all: unset;
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

/* WordPress側の装飾リセット */
body.single-medical .single-content .feature-list h4 {
  background: none !important;
  color: #7a6333 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  display: block !important;
  line-height: 1.5 !important;
}

/* 全体構造 */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* カードブロック */
.feature-card {
  background: rgba(247, 237, 216, 0.5);
  border: 1px solid #f1e7cd;
  border-left: 6px solid #d4b572;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* 番号＋タイトル行 */
.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* 番号丸 */
.feature-num {
  background: rgb(166, 142, 83);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 説明文 */
.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
}

/* ===== feature-card内に画像がある場合 ===== */
.feature-card .textfloat-section {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.feature-card .textfloat-inner {
  margin: 0;
  font-size: 0.95rem;
}

.feature-card .textfloat-image {
  float: right;
  width: 45%;
  max-width: 280px;
  margin: 0 0 12px 18px;
  border-radius: 6px;
}

.feature-card .textfloat-text p {
  margin: 0;
  line-height: 1.8;
  color: #333;
}

/* モバイル調整 */
@media (max-width: 767px) {
  .feature-card {
    padding: 16px 18px;
  }
  .feature-num {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .feature-list h4 {
    font-size: 1.1rem;
  }
  .feature-card .textfloat-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
  }
}