/* ==================================================
  【案件ごとの調整パネル（ここだけ触る）】
  - セクション間の余白は section個別の margin-top で調整しない
    → 調整するなら :root の --hp-gap-section を変更する
  - 背景セクションの厚み（上下padding）を変えるなら --hp-pad-bg を変更する
================================================== */

:root {
	--primary: #ED891B; /* メインカラー（濃いオレンジ） */
	--secondary: #46B200; /* サブカラー（ティールグリーン） */
	--third: #359AE5; /* ブルー */
	--bg1: #ED78B8; /* 背景（薄めのオレンジ） */
	--bg2: #FFF7FB; /* 背景（さらに薄めのオレンジ） */
	--bg3: #FFFAF0; /* 背景フッター */
	--bg4: #FAF7F4; /* 背景（クリーム） */
	--bg5: #F0F9FF; /* 背景（クリーム） */
	--text: #3D3D3D; /* 本文テキスト（濃いブラウン） */
	--marker: #F9FF62; /* マーカー（イエロー） */
	--border: #080303; /* 枠線 */
	--shadow: #c8c2be; /* シャドウ */

	--gothic: 'Helvetica Neue', '游ゴシック体', YuGothic, 'メイリオ', Meiryo, sans-serif;
	--mincho: '游明朝体', YuMincho, 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;

  /* 単位辞書 */
	--hp-space__05: 0.5rem;
	--hp-space__10: 1rem;
	--hp-space__15: 1.5rem;
	--hp-space__20: 2rem;
	--hp-space__30: 3rem;
	--hp-space__40: 4rem;
	--hp-space__50: 5rem;
	--hp-space__60: 6rem;

  /* 用途 */
  --hp-gap__section: var(--hp-space__30);
  --hp-gap__stack: var(--hp-space__20);
  --hp-pad__section: var(--hp-space__30);

}

  /* 例）セクション間隔を詰める： 2.5rem / 広げる： 3.5rem など */
  /* --hp-gap-section: 3rem; */

  /* 例）背景セクションの上下padding */
  /* --hp-pad-bg: 3rem; */



/* ◆◆◆ 枠外背景 ◆◆◆ */
@media (min-width: 769px) {
	.l-wrapper {
		background: #fff;
	}
}
/* ◆◆◆ /枠外背景 ◆◆◆ */

body.home .l-main__body {
/* box-shadow: 0 0 4px #e6eae3; */

}
body.home .l-content__body{
	padding-top: 0;
}



img {
	display: block;
}
span.sm-tx {
	display: inline-block;
  font-size: 0.65em; /* 元のサイズの80%の大きさにする */
  line-height: 1.2;
}

/* 通常は contact2 (only-diet) を非表示にする */
.only-diet {
    display: none;
}
/* 1. 通常ページ：contact2 (only-diet) を非表示 */
.only-diet {
    display: none !important;
}

/* 2. diet (428) と sango-diet (1206) ページ：通常ボタンを非表示 */
.page-id-428 .not-diet,
.page-id-1206 .not-diet {
    display: none !important;
}

/* 3. diet (428) と sango-diet (1206) ページ：contact2ボタンを表示 */
.page-id-428 .only-diet,
.page-id-1206 .only-diet {
    display: block !important; /* もし崩れる場合は inline-block に変更してください */
}


/* ◆◆◆ フォントサイズ ◆◆◆ */
/* このサイトに合う設定に調整 */
h2 {
	color: var(--text);
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
	min-height: 0;
	line-height: 1.6;
	padding: 0 0 1em;
}

h3 {
	color: var(--text);
	font-size: clamp(1.1rem, 2.2vw, 1.8rem);
	min-height: 0;
	margin-top: 3rem;
	padding: 0;
}

p, li, a {
	color: var(--text);
	font-size: clamp(1rem, 1.6vw, 1.3rem);
}

p {
	margin-bottom: 1rem;
}
/* ◆◆◆ /フォントサイズ ◆◆◆ */


/* ◆◆◆ 文字色 ◆◆◆ */
.text__orange {
	color: var(--primary);
	font-weight: 600;
}

.text__green {
	color: var(--secondary);
	font-weight: 600;
}

.text__light-orange {
	color: var(--third);
	font-weight: 600;
}

.text__brown {
	color: var(--bold);
	font-weight: 600;
}

.text__yellow {
	color: var(--marker);
	font-weight: 600;
}
.text__pink {
	color: var(--bg1);
	font-weight: 600;
}
/* ◆◆◆ /文字色 ◆◆◆ */


/* ◆◆◆ マーカー ◆◆◆ */
.marker {
	font-weight:bold;
	background: linear-gradient(transparent 60%, var(--marker) 60%);
}

.marker__blue {
	font-weight:bold;
	background: linear-gradient(transparent 60%, #C8E0DC 60%);
}
/* ◆◆◆ /マーカー ◆◆◆ */


/* ◆◆◆ 見出し ◆◆◆ */
h2.title__orange, h2.title__green, h2.title__light-orange,h2.title__pink {
	text-align: center;
	line-height: 1.4!important;
	padding-bottom: 0.5em;
}

h2.title__orange {
	border-bottom: solid 0.3rem var(--primary);
}
h2.title__pink {
	border-bottom: solid 0.3rem var(--bg1);
}
h2.title__pink span {
	display: inline-block;}

h2.title__green {
	color: #ffffff;
    background: linear-gradient(to bottom, #6FC1B8 0%, #52AAA0 100%);
    padding-block: 0.8em;
}

h2.title__light-orange {
	border-bottom: solid 0.3rem var(--third);
}

p.sub-title__orange {
	color: white;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	font-weight: 600;
	text-align: center;
	background: var(--third);
	padding: 0.5em;
	margin-top: 1em;
}

p.sub-title__orange span {
	color: #F9FF62;
}

h2.main-title{
	color: var(--bg1)!important;
	text-align: center;
	padding-bottom: 1.3rem;
	border-bottom: solid 0.3rem var(--bg1);
}
/* ◆◆◆ /見出し ◆◆◆ */


/* ◆◆◆ 背景 ◆◆◆ */
.section__inner-ivory {
	background: var(--bg4);
	border-radius: 2rem;
	box-shadow: 0 0 0.5rem var(--shadow);
	padding-block: 3em;
}

.section__inner-light-green {
	background: #FDFDF4;
	border-radius: 2rem;
	box-shadow: 0 0 0.5rem var(--shadow);
	padding-block: 3em;
}
/* ◆◆◆ /背景 ◆◆◆ */


/* ◆◆◆ ヘッダー ◆◆◆ */
.header__h1-item{
	color:#ffffff;
}
.bo-header__right-box-contact-item > div{
	background: var(--primary);
}
.bo-header__right-box-info p { /*診療時間など文字数に合わせて調整*/
	color: var(--text);
	font-size: clamp(0.7rem, 1.4vw, 0.8rem);
}
.bo-header__right-box-contact-item p{
		font-size: clamp(0.7rem, 1.4vw, 0.8rem);
}
/* ◆◆◆ /ヘッダー ◆◆◆ */


/* ◆◆◆ グロナビ ◆◆◆ */
.l-headerUnder {
	background: #fff;
	border-top: solid 1.5px #BFBFBF;
}
.c-gnav li a span.__mainText{
	font-size: clamp(0.8rem, 1.2vw, 1.2rem);
}

.l-headerUnder .c-gnav a {
	font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.c-gnav__li {
    border-right: solid 1px #BFBFBF;
}

.c-gnav__li:first-child {
    border-left: solid 1px #BFBFBF;
}
.l-headerUnder .c-gnav>.menu-item>a{
	color: var(--text);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 16px 24px;
  transition: color 0.3s ease;
  line-height: 1.5;
}

/*副項目のフォントカラー　*/
.sub-menu .__mainText {
	color: white;
}



/* ↓↓1列にする場合は削除↓↓ */
.c-gnavWrap ul.c-gnav li ul.sub-menu {
	width: 500px;
	display: flex;
	flex-wrap: wrap;
}

.c-gnavWrap ul.c-gnav li ul.sub-menu li {
	width: 50%;
}
/* ↑↑1列にする場合は削除↑↑ */
/*
.menu-item-402 a::after {
  position: absolute;
  content: "" !important;
  background: url(https://xs986046.xsrv.jp/daichido/wp-content/uploads/2025/12/header-menu-sankaku.png);
  width: 10px;
  height: 5px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 44%;
  right: 5%;
} */
/* ◆◆◆ /グロナビ ◆◆◆ */


/* ◆◆◆ サイドバー ◆◆◆ */
.c-widget__title.-side, .c-widget h3{
	background:var(--bg1);
	color:#ffffff;
}
/*サイドバー　アクセス*/
h4.side__box-name {
	color: brown;
	font-size: 1.4rem;
	margin-block: 0.5em;
}

.side__box h4 {
	color: var(--black);
	font-size: 1.2rem;
	margin-bottom: 0.3em;
}

.side__box-address {
	font-size:1.1rem;
	margin-bottom: 1rem;
}

p.side__phone {
	position: relative;
	color: var(--third);
	font-size: clamp(1.3rem, 2.2vw, 1.9rem)!important;
	font-weight: 600;
	padding-left: 1em;
}

.side__phone:before {
	position: absolute;
	content: "";
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/08/side-phone-icon.webp);
	background-size: cover;
	width: 1em;
	height: 1em;
	top: 0.25em;
	left: 0;
}

.side__box-reserve {
	color: white;
	display: inline-block;
	background: orange;
	border-radius: 0.4rem;
	padding-inline: 1em;
	margin-block: 0.5em;
}

.side__box dt, .side__box dd, .side__box p {
	font-size: 1rem;
}

.side__box dl:last-of-type dd {
	margin-bottom: 1.2em;
}

.side__contact__btn {
	margin-bottom: 0.2em;
}

.side__contact__btn:last-of-type {
	margin-bottom: 0;
}

.side__contact__btn img:hover {
	opacity: 0.6;
}
/* ◆◆◆ /サイドバー ◆◆◆ */


/* ◆◆◆ こんなにも根本改善 ◆◆◆ */
.fine {

}

.fine__inner {
	border: solid 0.2rem var(--secondary);
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/07/fine-bg.webp);
	background-size: cover;
}

p.fine__sub-title {
	color: var(--bold);
	text-align: center;
	font-size: clamp(1.1rem, 2.2vw, 1.9rem);font-weight: 600;
	margin-bottom: 0;
}

.home .p-fine__sub-title,
.front-page .p-fine__sub-title {
    padding-top: 1em;
}

h2.fine__title {
	position: relative;
	color: var(--secondary);
	text-align: center;
}

h2.fine__title:before, h2.fine__title:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--secondary);
	height: 0.1rem;
	width: 12%;
	top: 30%;
}

h2.fine__title:before {
	left: -0.1rem;
}

h2.fine__title:after {
	right: -0.1rem;
}


p.fine__message {
	font-size: clamp(1.7rem, 2.9vw, 2.7rem);
	text-align: center;
	font-weight: 600;
	line-height: 1.3;
	background: rgba(255,255,255,0.6);
	padding: 0.8em;
}

.fine__message-small {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.fine__img-box {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  gap: 0.5em;
}

.fine__img-box figure {
	width: calc((100% - 1.5em) / 4);
	/* width: calc((100% - 1em) / 3);  ←3列の場合*/
	box-sizing: border-box;
	object-fit: cover;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.fine__img-box figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ◆◆◆ /こんなにも根本改善 ◆◆◆ */


/* ◆◆◆ 推薦 ◆◆◆ */
.recommend {

}

.recommend__list {
	list-style: none;
	padding: 0;
	margin-top: 2em;
}

.recommend__list-item {
	border: solid var(--bg1);
	border-radius: 1em;
	margin-bottom: 1em;
}

.recommend__list .recommend__list-item:last-child {
	margin-bottom: 0;
}
.recommend__list-inner {
  padding: 1em 1.5em;
  overflow: hidden;
}

.recommend__list-text {
	text-align: justify;
}

.recommend__list-title {
	color: var(--bg1);
	text-align: center;
	background: var(--bg2);
	padding-block: 1em;
	margin-top: 1em;
}

.recommend__list-img {
  float: left;
  width: 38%;
  min-width: 160px;
  margin: 0 1.2em 0.5em 0;
}
.recommend__list-img img {
  width: 100%;
  height: auto;
  display: block;
}

.recommend__list-name {
	background: var(--bg2);
	padding: 0.3em 1em;
	line-height: 1.4;
  overflow: hidden;
  display: block;
}

p.recommend__list-name {
	margin-bottom: 0;
}

p.recommend__block-text {
	margin-top:1rem;
	margin-bottom:0;

}
@media (max-width: 600px) {
  .recommend__list-img {
    float: none;
    width: 100%;
    margin: 0 0 1em 0;
  }
}
/* ◆◆◆ /推薦 ◆◆◆ */


/* ◆◆◆ 私たちも推薦します ◆◆◆ */


/* 基本は非表示、トップページのみ表示
.recommend-img {
    display: none;
}
.home .recommend-img {
    display: block;
}*/

.recommend-img {
	/*margin-top: 2.5em;*/
}

.recommend-img__inner {
	border: solid 0.2rem var(--secondary);
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/07/fine-bg.webp);
	background-size: cover;
	margin-bottom: 0.3em;
}

h2.recommend-img__title {
	text-align: center;
	line-height: 1.5;
	background: rgba(255,255,255,0.6);
	padding: 0.8em;
}

.recommend-img__title-small {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.recommend-img__img-box {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  gap: 0.5em;
}

.recommend-img__img-box div {
	width: calc((100% - 1.5em) / 4);
	/* width: calc((100% - 1em) / 3);  ←3列の場合*/
	box-sizing: border-box;
	object-fit: cover;
	display: block;
}

.recommend-img__img-box div figure {
  aspect-ratio: 2 / 2.3;
  overflow: hidden;
}

.recommend-img__img-box div figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommend-img__img-box div p {
	font-size: clamp(0.5rem, 1.2vw, 1rem);
	color: white;
	text-align: center;
	line-height: 1.4;
	background: var(--secondary);
	padding: 0.4em 0.2em;
	margin-bottom: 0;
}

.recommend-img__img-box div p span {
	font-size: 85%;
}
/* ◆◆◆ /私たちも推薦します ◆◆◆ */


/* ◆◆◆ 喜びの声 ◆◆◆ */
.voice {
	background: white;
}

.c-postContent .voice:first-of-type {
	margin-top: 2em;
}

.voice__inner {
	margin-bottom: 3em;
}

p.voice__not-pro {
	position: relative;
	font-size: clamp(1.4rem, 2.8vw, 2.5rem);
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	margin-bottom: 3em;
}

p.voice__not-pro::after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	background: var(--bg1);
	width: 2em;
	height: 1.2em;
	bottom: -2em;
	left: 50%;
	transform: translatex(-50%);
}

p.voice__sub-title {
	color: var(--bold);
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.2rem, 2.2vw, 1.9rem);
	margin-block: 2em 0;
}

h2.voice__title {
	position: relative;
	color: var(--third);
	text-align: center;
}

h2.voice__title:before, h2.voice__title:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--third);
	height: 0.1rem;
	width: 25%;
	top: 25%;
}

h2.voice__title:before {
	left: -3rem;
}

h2.voice__title:after {
	right: -3rem;
}

ul.voice__items {
	list-style: none;
	padding: 0;
	margin: 0;
}

li.voice__item {
	margin-bottom: 2rem;
}
li .voice__item-content{
	display: flex;
	gap: 1.1rem;
	box-shadow: 0 0 4px #c8c2be;
	background: var(--bg5);
	padding: 2.6rem 2.6rem 0.6rem 2.6rem;
}
li .voice__item-content .voice__item-thumb {
  flex-shrink: 0;
  flex-basis: 260px;
  max-width: 260px;
  min-width: 260px;
}

li .voice__item-content figure {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
}

li .voice__item-content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

li .voice__item-content .voice__item-text {
}

li.voice__item:after {
   content: "";
   display: block;
   clear: both;
}

figure.voice__item-img {
	margin: 0;
}

li.voice__item h3.voice__item-title {
	color: var(--third);
	margin: 0!important;
	font-size:clamp(1.2rem, 1.4vw, 1.35rem);
}

p.voice__item-meta {
	color: var(--text);
	font-size: clamp(0.9rem, 1.4vw, 1.1rem);
	margin: 0;
	font-weight: 600;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #AFAFAF;
}

p.voice__item-text {
	padding-top: 0.6rem;
	line-height: 1.6;
	text-align: justify;
}

p.voice-note {
	font-size: clamp(0.8rem, 1.1vw, 0.9rem);
	text-align: right;
	margin: 0;
	margin-top: 0.8rem;
}

.voice__more-btn {
	text-align: center;
}

.voice__more-btn a {
	position: relative;
	color: var(--primary);
	text-decoration: none;
	display: inline-block;
	background: white;
	border: solid 1px;
	border-radius: 0.6rem;
	padding: 0.5em 2em 0.5em 1.2em;
	margin-bottom: 0.3rem;
	box-shadow: 0 0.3rem var(--primary);
	transition: 0.6s;
}

.voice__more-btn a:hover {
	margin-top: 0.3rem;
	margin-bottom: 0;
	box-shadow: 0 0 var(--primary);
}

.voice__more-btn a:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
	background: var(--primary);
	width: 0.8rem;
	height: 1.3rem;
	top: 50%;
	right: 1em;
	transform: translatey(-50%);
}

.is-lp .voice__item-text-box.lp-stack{
	gap: 0.8rem;
}
/* ◆◆◆ /喜びの声 ◆◆◆ */


/*◆◆◆ 当院との違い ◆◆◆ */
.difference-section {
  --main-green: #46b200;
  --card-bg: #faf7f4;
  padding: 80px 20px;
  background: #fff;
}

.difference-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.difference-section__label {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: bold;
  padding: 6px 20px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.difference-section__title {
  font-size: clamp(2.2rem, 2.5vw, 3rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.4;
  margin: 0 0 48px;
	border-bottom:2px solid var(--secondary);
}

.difference-section__title span {
  font-size: 1.5em;
  margin: 0 2px;
}

.difference-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  text-align: left;
}

.difference-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 32px 1.2rem 28px;
  overflow: hidden;
	box-shadow: 0 0 4px #c8c2be;
}
.difference-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--main-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.difference-card__title {
  font-size: clamp(1.25rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin: 0 0 10px;
}

.difference-card__text {
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  color: #555;
  line-height: 1.8;
  margin: 0;
}


@media (max-width: 900px) {
  .difference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .difference-grid {
    grid-template-columns: 1fr;
  }
  .difference-section__title {
    font-size: 26px;
  }
	.difference-card {
  text-align:center;
}
	.difference-card__text {
		text-align:justify;
	}
}
/*◆◆◆ /当院との違い ◆◆◆ */

.treat-menu {
	--tm-primary: var(--primary, #ED891B);
	--tm-secondary: var(--secondary, #46B200);
	--tm-third: var(--third, #359AE5);
	--tm-bg: var(--bg4, #FAF7F4);
	--tm-text: var(--text, #3D3D3D);
	--tm-shadow: var(--shadow, #c8c2be);
 
	padding-block: 4rem;
}
 
.treat-menu__inner {
	max-width: 68.75rem;
	margin: 0 auto;
	padding-inline: 1.25rem;
}
 
.treat-menu__header {
	text-align: center;
	margin-bottom: 2.5rem;
}
 
.treat-menu__title {
	font-family: var(--mincho, serif);
	color: var(--tm-text);
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.6em;
	padding-bottom: 0.5em;
	border-bottom: solid 0.2rem var(--tm-secondary);
	display: inline-block;
}
 
.treat-menu__lead {
	color: var(--tm-text);
	font-size: clamp(0.9rem, 1.5vw, 1.05rem);
	margin: 0;
}
 
.treat-menu__grid {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
 
.treat-card {
	position: relative;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 0 0.25rem var(--tm-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border:3px solid var(--secondary);
}
 
.treat-card.treat-card--orange { border:3px solid var(--primary); }
.treat-card--green  {border:3px solid var(--secondary);}
.treat-card--blue   {border:3px solid var(--third);}
 
.treat-card__media {
	
}
 .treat-card__media img {
	 aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.treat-card__body {
	padding: 1.6rem 1.6rem 1.8rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
 
.treat-card__title {
	color: var(--tm-text);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 0.9rem;
	padding: 0;
}
 
.treat-card__tag {
	color: #fff;
	background: var(--accent, var(--tm-secondary));
	text-align: center;
	font-size: clamp(0.8rem, 1.4vw, 0.95rem);
	font-weight: 600;
	padding: 0.5rem 0;
	border-radius: 999rem;
	margin-bottom: 1rem;
}
 
.treat-card__list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}
 
.treat-card__list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: clamp(0.85rem, 1.5vw, 1rem);
	line-height: 1.9;
	color: var(--tm-text);
}
 
.treat-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--accent, var(--tm-secondary));
}
 
.treat-card__divider {
	border: none;
	border-top: 0.0625rem dashed #DADADA;
	margin: 0 0 1rem;
}
 
.treat-card__desc {
	margin: 0;
	font-size: clamp(0.85rem, 1.3vw, 1rem);
	line-height: 1.9;
	color: var(--tm-text);
	flex: 1;
}
 
@media (max-width: 48rem) {
	.treat-menu {
		padding-block: 2.5rem;
	}
	.treat-menu__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}


/* ◆◆◆ メリット ◆◆◆ */
h2.merit__title {
	font-size: clamp(1.6rem, 4vw, 3.6rem);
	line-height: 1.3;
	padding-bottom: 0.6em;
}

.merit__title {
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/12/merit-img.webp);
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: right;
	padding-top: 2.6em;
}

.merit__title span {
	color: var(--secondary);
	font-size: 120%;
	padding-right: 0.1em;
}

.merit__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8em;
}

.merit__list p {
	color: white;
	font-weight: 600;
	text-align: center;
	background: var(--secondary);
	flex: 0 0 calc((100% - 0.8em) / 2);
	padding: 0.3em;
	margin-bottom: 0;
}

.merit__list p:nth-of-type(1), .merit__list p:nth-of-type(4) {
	background: #688D88;
}
/* ◆◆◆ /メリット ◆◆◆ */


/* ◆◆◆ BA ◆◆◆ */
.ba {
	/*padding-block: 3rem 0.5em;
	margin-top: 1rem;*/
}

.ba__inner {}

p.ba__sub-title {
	color: var(--bold);
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.2rem, 2.2vw, 1.9rem);
	margin-bottom: 0;
}

h2.ba__title {
	position: relative;
	color: var(--third);
	text-align: center;
}

h2.ba__title:before, h2.ba__title:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--third);
	height: 0.1rem;
	width: 15%;
	top: 30%;
}

h2.ba__title:before {
	left: -3rem;
}

h2.ba__title:after {
	right: -3rem;
}

ul.ba__items {
	list-style: none;
	padding: 0;
	margin: 0;
	display:flex;
	flex-direction:column;
	gap:1rem;
}

li.ba__item {
	background: white;
	
}

.ba__item-img {
	position: relative;
	display: flex;
	gap: 1.5em;
}

figure.ba__img {
	position: relative;
	flex: 0 0 calc((100% - 1.5em) / 2);
	margin: 0;
	border-radius: 1em;
	padding:1rem;
}

p.ba__item-text {
	font-size: 2.2rem;
	color: var(--text);
	text-align: center;
	font-weight: 600;
	padding: 1em;
}

p.ba__item-text span {
	color: var(--bg1);
	font-size:1.3em;animation-direction
}

.ba__item-note {
	text-align: right;
	font-size: 70%;
}

/* ◆◆◆ /BA ◆◆◆ */


/* ◆◆◆ オファー ◆◆◆ */
.offer {
	padding: 0!important;
	/*padding-bottom: 2em;
	margin: 4em 0 2em;*/
}

.offer p {
	font-weight: 600;
}

.offer {
	text-align: center;
}

h2.offer__title {
	color: white;
	background: var(--secondary);
	padding-block: 0.8em;
	margin-bottom: 1em;
}

p.offer__price {
	position: relative;
	font-size: clamp(2.8rem, 5vw, 4.6rem);
	color: var(--primary);
	text-align: center;
	display: inline;
	padding-left: 1em;
	margin-bottom: 0;
}

p.offer__price span {
	font-size: 40%;
	padding-left: 0.3em;
}

p.offer__price:before {
	position: absolute;
	content: "";
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/12/first.webp) no-repeat left top / cover;
	width: 0.4em;
	height:0.8em;
	top: 0.2em;left: 0.4em;
}

p.offer__usually {
	font-weight: 400;
	margin-top: -1em;
}

p.offer__first-come {
	font-size: clamp(1.4rem, 2.8vw, 2.4rem);
}

p.offer__rest {
	font-size: clamp(2rem, 3.4vw, 3rem);
	color: var(--primary);
}
/* ◆◆◆ /オファー ◆◆◆ */


/* ◆◆◆ 支払い方法 ◆◆◆ */
p.payment__sub-title {
	color: var(--bold);
	text-align: center;
	font-size: clamp(1.2rem, 2.2vw, 1.9rem);font-weight: 600;
	margin-bottom: 0;
}

h2.payment__title {
	position: relative;
	color: var(--secondary);
	text-align: center;
}

h2.payment__title:before, h2.payment__title:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--secondary);
	height: 0.1rem;
	width: 8%;
	top: 30%;
}

h2.payment__title:before {
	left: -0.1rem;
}

h2.payment__title:after {
	right: -0.1rem;
}

.payment__type p {
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	color: white;
	font-weight: 600;
	text-align: center;
	background: #AFA9A9;
	margin-bottom: 0;
}

.payment__type img {
	padding: 2em 4em;
}
/* ◆◆◆ /支払い方法 ◆◆◆ */


/* ◆◆◆ 問合 ◆◆◆ */
.is-hp .c-postContent > .hp-contact{
	margin-top: 0;
}

.hp-contact__btn {
	transition-duration: 0.6S;
	margin-bottom: 1rem;
}

/*基本：上下余白あり*/
.is-hp .hp-contact{
	padding-block: var(--hp-contact-pad);
}
/*上だけ詰める*/
.is-hp .hp-contact.is-top-tight{
	padding-top: var(--hp-contact-tight);
}
/*下だけ詰める*/
.is-hp .hp-contact.is-bottom-tight{
	padding-bottom: var(--hp-contact-tight);
}

.hp-contact__btn:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	transition-property: all;
	transition-duration: 0.6S;
}
.contact-block{
	display: flex;
	gap: 1.5rem;
}
.contact-block a{
		width: 50%;
	}
/* ◆◆◆ /問合 ◆◆◆ */


/* ◆◆◆ アクセス ◆◆◆ */
.access {
	/*margin-top: 2em;*/
}
.access__inner {}

h2.access__title {
	text-align: center;
}

.access figure {
	margin: 2em 0 1.5em;
}

table.access__table {
	margin-bottom: 2em;
}

table.access__table th {
	color: #fff!important;
	background: var(--bg1)!important;
	text-align: center;
	vertical-align:middle;
	width:30%;
}

table.access__table th, table.access__table td {
	color: var(--text);
	font-size: clamp(1rem, 1.8vw, 1.4rem);
	border: solid 1px var(--text);
}

/*アクセスページだけh2を非表示*/
.page-id-124 h2.access__title {
  display: none!important;
}
/* ◆◆◆ /アクセス ◆◆◆ */


/* ◆◆◆ メディア掲載<追加用> ◆◆◆ */
.media {
	/*margin-top: 4em;*/
}

.media__img {
  display: flex;
  flex-wrap: no-wrap;
  gap: 0.5em;
}
/* ◆◆◆ /メディア掲載<追加用> ◆◆◆ */


/* ◆◆◆ 当院について<追加用> ◆◆◆ */
.about {
	/*margin-top: 2em;*/
}

.about figure, .about .iframe-wrapper {
	margin-top: 2em;
}
/* ◆◆◆ 当院について<追加用> ◆◆◆ */


/* ◆◆◆ 流れ ◆◆◆ */
ul.flow__items {
    list-style: none;
	border-left: solid 1.5px var(--secondary);
    padding-left: 2.5em;
}

li.flow__item .flow__content {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-top: 0.5em;
}

li.flow__item h3 {
    font-size: clamp(0.8rem, 2vw, 3rem);
    color: var(--secondary);
    position: relative;
}

li.flow__item figure {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
}

li.flow__item figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

li.flow__item h3::before {
    position: absolute;
    content: "";
    width: 2.2em;
    height: 2.2em;
    left: -2.5em;
    top: 50%;
    transform: translatey(-50%);
	background-size: contain;
    background-repeat: no-repeat;
	background-image: var(--step-img);
}

li.flow__item:nth-child(1) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step1.webp);
}

li.flow__item:nth-child(2) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step2.webp);
}

li.flow__item:nth-child(3) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step3.webp);
}

li.flow__item:nth-child(4) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step4.webp);
}

li.flow__item:nth-child(5) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step5.webp);
}

li.flow__item:nth-child(6) {
	--step-img:url(https://umenoki-seikotsuin.com/wp-content/uploads/2026/03/step6.webp);
}


li.flow__item figure.flow__img {
    width: 40%;
    flex-shrink: 1;
}

li.flow__item p {
    width: 60%;
    text-align: justify;
    line-height: 1.6;
    color: var(--text);
}
/* ◆◆◆ /流れ ◆◆◆ */


/* ◆◆◆ 院長メッセージ<追加用> ◆◆◆ */
.message h2 {
	margin: 0 0 1.5em;
}

figure.message__img {
	float: left;
	width: 40%;
	margin: 0.3em 1.3em 1em 0;
	position: relative;
	aspect-ratio: 2 / 2.6;
	overflow: hidden;
}

figure.message__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

figure.message__img figcaption {
	position: absolute;
	font-size: clamp(1rem, 1.8vw, 1.6rem);
	width: 100%;
	background:#fff;
	bottom: 0;
	padding: 0.4em;
	margin-top: 0;
}

.message p:last-child {
	margin-bottom: 0;
}
/* ◆◆◆ /院長メッセージ<追加用> ◆◆◆ */


/* ◆◆◆ cf7（必要な場合は使用） ◆◆◆ */
.contact__form {
	background: ivory;
	padding: 3em 5em;
	width: 100%;
}

.contact__form p {
	margin-bottom: 0!important;
}

.contact__form-item {
	margin-bottom: 2em;
}

.contact__label-required, .contact__label-any  {
	font-size: 75%;
	color: white;
	padding: 3px 6px 2px;
	border-radius: 1rem;
	margin-right: 0.5em;
}

/*必須ラベル*/
.contact__label-required {
	background: brown;
}

/*任意ラベル*/
.contact__label-any {
	background:gray;
}

.contact__consent {
	margin: 3em 0;
}

.contact__consent ul {
	line-height: 1.6;
}

.contact__consent ul li {
	font-size: clamp(0.7rem, 1.2vw, 1rem);
}

.contact__consent p {
	font-size: 94%;
}

.contact__personal-info {
	margin: 0;
	padding: 0;
	border: solid 2px #e9e9e9;
	border-radius: 0.5rem;
	padding: 1em;
	line-height: 1.3;
	overflow: auto;
	text-align: left;
	height: 10rem;
}

.wpcf7-submit {
	background: orange;
	border-radius: 0.5rem;
	padding: 1em 2em;
	margin-top: 3em;
	transition: 0.6s;
}

.wpcf7-submit:hover {
	opacity: 0.7;
	box-shadow: 2px 2px 2px gray;
}

textarea, input {
	background: white;
	width: 100%;
	box-shadow: 0 0 2px #c8c2c6;
}

span.wpcf7-list-item-label {
	font-size: clamp(0.9rem, 1.4vw, 1.2rem);
}

.contact__consent-check input {
	width: 2rem;
}
/* ◆◆◆ /cf7（必要な場合は使用） ◆◆◆ */


/* ◆◆◆ フッターボタン ◆◆◆ */

/*PCでも表示させる場合は下記を削除*/
.footer__contact .pc {
	display: none;
}
/*PCでも表示させる場合は上記を削除*/

.footer__contact {
	position: fixed;
	bottom: 0.5em;
	right: 1em;
	width: 400px;
	z-index: 10;
}

/*1つの場合*/
.footer__contact-btn1 {
	transition: 0.6s;
}

.footer__contact-btn1:hover {
	transform: scale(1.05,1.05);
}

/*2つの場合*/
.footer__contact-btn2 {}
.footer__btn2-item img {
	display:block;
}

.footer__btn2-item {
	transition: 0.6s;
	margin-bottom: 1.6em;
}

.footer__btn2-item:hover {
	transform: scale(1.05,1.05);
}
/* ◆◆◆ /フッターボタン ◆◆◆ */


/* ◆◆◆ フッター ◆◆◆ */
.c-postContent {
    padding-bottom: 4em;
}

.bo-footer {
	background: var(--bg3);
}

.bo-footer__title h2 {
	color: var(--bold);
}

.bo-footer__list li a {
	color: var(--text);
}

.l-footer__foot {
	background: var(--bg3);
}

p.c-copyright {
	color: var(--text);
}
/* ◆◆◆ /フッター ◆◆◆ */


/* ◆◆◆ 下層ページ ◆◆◆ */
body.page:not(.home) .l-content__body {
	margin-top: 1em;
}

/* FV */
.fv figure {
	margin: 0;
}

/* ページタイトル */
.p-archive__title p.c-pageTitle__main, p.bo-page-title {
	font-size: clamp(1.8rem, 2.8vw, 2.3rem);
	font-weight: 600;
	padding: 0.7em 0 0!important;
	border-bottom: solid 3px var(--third);
}

p.bo-page-title {
	margin-inline: 5%;
	margin-bottom: 2em;
}

.p-archive__title p.c-pageTitle__main:first-letter, p.bo-page-title:first-letter {
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	color: var(--third);
}
/* ◆◆◆ /下層ページ ◆◆◆ */


/* ◆◆◆ 症状ページ ◆◆◆ */
/* ◆◆◆ なぜこんなにも ◆◆◆ */
.shojo-why {
	/*margin-top: 4em;*/
}

/* ◆◆◆ お悩み ◆◆◆ */
.problem {
	position:relative;
}

.problem__inner {
	position:relative;
}

h2.problem__title {
	position: relative;
	color: var(--text);
	text-align: center;
}

h2.problem__title span {
	color: var(--bg1);
}

h2.problem__title:before, h2.problem__title:after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--bg1);
	height: 0.1rem;
	width: 17%;
	top: 30%;
}

h2.problem__title:before {
	left: 0;
}

h2.problem__title:after {
	right: 0;
}

ul.problem__items {
	padding: 1.5em 3em 1.5em 3.5em;
	background:#F8F8F8;
	box-shadow: 2px 2px 4px #c8c2be;
	position:relative;
}

.problem__img {
	position: absolute;
	width: 22%;
	height: auto;
	aspect-ratio: 3 / 4;
	bottom: -1em;
	right: 2em;
	z-index: 1;
}

.problem__img::before {
    content: "";
    position: absolute;
    /* top/left/right/bottomをすべて0にすると、親のサイズにピッタリ重なります */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #00acc1;
    /* translateで「自分のサイズの数％分」ずらす指定がズレにくくてオススメ */
    translate: -0.5em 0.5em;
    z-index: -1;
}

.problem__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* 下の隙間防止 */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}


@media (max-width: 1280px){

.problem__img {
		position: absolute;
		width: 20%;
		right: 2%;
	}

	ul.problem__items {
		padding: 1.5em 2em 1.5em 2.5em;
	}
}

@media (max-width: 1150px){
	.problem__img {
		position: absolute;
		width: 18%;
		right: 1.5%;
	}
}


@media (max-width: 1120px){
	.problem__img {
		display: none;
	}
}



.problem__items li {
	position: relative;
	font-size: clamp(1.1rem, 1.8vw, 1.2rem);
	list-style: none;
	padding-left: 2em;
	margin: 0.5em 0;
}

.problem__items li:before {
	position: absolute;
	top: 5px;
	left: 0;
	content: "";
	background: url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/12/check.webp);
	background-size: cover;
	width: 1.5rem;
	height: 1.5rem;
}

p.problem__message {
	position: relative;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	text-align: center;
	font-weight: 600;
	line-height: 1.6;
	margin-top: 2em;
}

p.problem__message::after {
    position: absolute;
    content: "";
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: var(--secondary);
    width: 2em;
    height: 1.2em;
    bottom: -2em;
    left: 50%;
    transform: translatex(-50%);
}

p.problem__message span {
	color: var(--secondary);
}
/* ◆◆◆ /お悩み ◆◆◆ */


/*症状の説明*/
.shojo-contents {
	/*margin-block: 5em 6em;*/
	counter-reset: shojocontent;
}

p.shojo-contents__sub-title {
	color: var(--text);
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.2rem, 2.2vw, 1.9rem);
	margin-block: 0;
}

h2.shojo-contents__title {
	position: relative;
	color: var(--text);
	text-align: center;
	padding-bottom: 0;
}
h2.shojo-contents__title span {
	color: var(--third);
}

h2.shojo-contents__title::before, h2.shojo-contents__title::after {
	position: absolute;
	content: "";
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	background: var(--third);
	height: 0.1rem;
	width: 20%;
	top: 20%;
}

h2.shojo-contents__title::before {
	left: -3rem;
}

h2.shojo-contents__title::after {
	right: -3rem;
}

.shojo-contents__item {}

h3.shojo-contents__item-title {
	position: relative;
	color: white;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	background: var(--third);
	padding: 0.8em 1em 0.8em 3em;
	margin-top: 1.6em;
}

.shojo-contents__item h3.shojo-contents__item-title::before {
	position: absolute;
	content:counter(shojocontent, decimal-leading-zero);
	counter-increment:shojocontent;
	top: 50%;
	left: 1.2em;
	transform: translatey(-50%);
}

figure.shojo-contents__item-img {
	aspect-ratio: 2 / 1;
	overflow: hidden;
	margin-top: 1.6em;
}

figure.shojo-contents__item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shojo-contents__item-text {
	text-align: justify;
	margin-top: 1em;
}



/* ◆◆◆ /症状ページ ◆◆◆ */


/* ◆◆◆ 対応症状リスト ◆◆◆ */
.shojo {}

ul.shojo__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	list-style: none;
	gap: 1.5em;
	width: 100%;
	padding: 0 0 3em 0;
	margin: 0;
}

ul.shojo__list li{
	text-align: center;
	flex: 1 1 calc(33.333% - 1.5em);
	max-width: calc(33.333% - 1em);
	margin-bottom: 0;
}

ul.shojo__list li a {
	color: white;
	font-size: clamp(1rem, 1.6vw, 1.3rem);
	text-decoration: none;
	border-radius: 0.5rem;
	background: -moz-linear-gradient(bottom, #E05F2F, #F5AE66);
	background: -webkit-linear-gradient(bottom, #E05F2F, #F5AE66);
	background: linear-gradient(to top, #E05F2F, #F5AE66);
	display: block;
	padding: 0.6em;
	transition: 0.6s;
}

ul.shojo__list li a:hover {
	opacity: 0.6;
}
/* ◆◆◆ /対応症状リスト ◆◆◆ */


/* ◆◆◆　はじめての方へ ◆◆◆ */
/*院内紹介*/
.clinic-img {
}
.clinic-img__box {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-top: 2em;
}

.clinic-img__box > figure {
	flex: 0 0 calc((100% - 1em) / 3);
	box-sizing: border-box;
}

.clinic-img__box img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}
/* ◆◆◆　/はじめての方へ ◆◆◆ */


/* ◆◆◆ 料金ページ ◆◆◆ */
table.price__list {
	margin-block: 2em;
}

ul.price__items {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.price__items li.price__item {
	margin: 3em 0 5em;
}

ul.price__items li.price__item:last-child {
	margin: 3em 0 0;
}

table.price__list th, table.price__list td {
	border: solid 1px #BFBFBF!important;
	text-align: center;
	vertical-align:middle;
}

table.price__list th {
	background: var(--bg3);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.price__list td {
	font-size: clamp(1.3rem, 2vw, 1.5rem);
}
/* ◆◆◆ /料金ページ ◆◆◆ */


/* ◆◆◆ 執筆者情報 ◆◆◆ */
.writer {
	background-color: var(--bg3);
	border: 1px solid var(--primary);
}
/* ◆◆◆ /執筆者情報 ◆◆◆ */


/* ◆◆◆ よくある質問 ◆◆◆ */
.qa-list dt, .qa-list dd {
	position: relative;
	font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}

.qa-list dt {
	margin-bottom: 1rem;
	padding: 0 0 1rem 4rem;
}

.qa-list dd {
	padding: 0 0 3rem 4rem;
}

.qa-list dt:before, .qa-list dd:before {
	position: absolute;
	font-size: clamp(1.1rem, 1.8vw, 1.6rem);
	color: white;
	top: 0;
	left: 0;
	width: 2.9rem;
	padding-block: 1em;
	vertical-align: middle;
	text-align: center;
}

.qa-list dt:before {
	content: "Q";
	background: var(--secondary);
	border-radius: 0.5rem;
}

.qa-list dd:before {
	content: "A";
	border: solid 1px var(--secondary);
	background-color: #ffffff;
	color: var(--secondary);
	border-radius: 0.5rem;
}
/* ◆◆◆ よくある質問 ◆◆◆ */


/* ◆◆◆ 投稿 ◆◆◆ */
body.single .c-postContent p {
    margin-bottom: 1.3rem;
}

.news-col figure {
	margin-block: 2em;
}

.bo-credit {
	margin-top: 6em;
}

.bo-credit p, .bo-credit a {
	font-size: 0.7rem;
	color: #d4dcda;
}

.post__cta .inner {
	padding: 0;
}
/* ◆◆◆ 投稿 ◆◆◆ */


/* ◆◆◆ 投稿記事下CTA ◆◆◆ */
.post__cta {
	padding-bottom: 2em;
	margin: 0 0 2em;
}
/* ◆◆◆ /投稿記事下CTA ◆◆◆ */


/* ◆◆◆ パンくず ◆◆◆ */
li.p-breadcrumb__item {
	margin-bottom: 0;
}
/* ◆◆◆ /パンくず ◆◆◆ */


/* ◆◆◆ アーカイブ ◆◆◆ */
/* ◆◆◆ /アーカイブ ◆◆◆ */







/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ TB ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */

@media (max-width: 1024px) {
	/* ◆◆◆ ハンバーガーメニュー ◆◆◆ */
	/*ボタン背景色*/
	.l-header__drawerBtn {
		background: var(--bg1);
		border-radius: 3px;
	}

	/*ボタン３本線*/
	.c-iconBtn__icon {
		color: white;
	}
	/* ◆◆◆ ハンバーガーメニュー ◆◆◆ */

	/* ◆◆◆ ドロワーメニュー ◆◆◆ */
	.p-drawer {
        background: var(--bg1);
		  padding:1.2rem 0;
    }
	/*メニューの文字*/
	.c-drawerNav__a {
		color: #fff;
	}
	/*メニュードロップダウンの文字*/
	.c-drawerNav__a .__mainText {
        color: #fff;
    }
	/*お悩み*/
	ul.problem__items {
    padding: 1.5em 3em 1.5em 2.5em;
   }

ul.problem__items:after {
	background:none;
}
}


/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ SP ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */

@media (max-width: 768px) {
	body.home .l-main__body {
		margin-top: 0!important;
	}
	p.ba__item-text{
		font-size:1.4rem;
	}
	.c-postContent {
		padding-bottom: 0;
	}
	span.sm-tx{
		font-size: 0.85em;
	}

	h2 {
		line-height: 1.4;
	}

	/* ◆◆◆ 背景 ◆◆◆ */
	.section__inner-ivory {
		padding-block: 1.5em;
	}

	.section__inner-light-green {
		padding-block: 1.5em;
	}
	/* ◆◆◆ /背景 ◆◆◆ */




	/* ◆◆◆ こんなにも根本改善 ◆◆◆ */
	.fine {}

	h2.fine__title {
		line-height: 1.3;
		padding: 0.6em;
		padding-top: 0;
	}

	h2.fine__title:before, h2.fine__title:after {
		display: none;
	}

	.fine__img-box {
		padding: 0.5em;
	}

	.fine__img-box figure {
		margin-bottom: 0.2em;
	}
	/* ◆◆◆ /こんなにも根本改善 ◆◆◆ */


	/* ◆◆◆ 喜びの声 ◆◆◆ */
	.voice {
		/*padding-bottom: 0;
		margin-top: 1em;*/
	}

	.voice__inner {
		margin-bottom: 1.5em;
	}

	p.voice__sub-title {
		margin-block: 3em 0;
	}

	h2.voice__title:before, h2.voice__title:after {
		display: none;
	}

	li.voice__item {
		margin-bottom: 1em;
	}
	li .voice__item-content{
		flex-direction: column;
	}
	li .voice__item-content .voice__item-thumb{
		flex-basis: 100%;
  max-width: 100%;
  min-width: 100%;
	}

	figure.voice__item-img {
		width: 100%;
		padding: 0 0 0.5em 0;
	}

	p.voice-note {
		text-align: left;
	}
	/* ◆◆◆ /喜びの声 ◆◆◆ */


	/* ◆◆◆ 推薦 ◆◆◆ */
	.recommend {
		/*margin-top: 0;*/
	}

	.recommend__list {
		margin-top: 1.2em;
	}

	.recommend__list-inner {
		padding: 1em 1.5em;
		display: block;
	}

	.recommend__list-text {
		width: 100%;
	}

	.recommend__list-img {
		float: left;
		padding: 0.3em 1em 0.2em 0;
	}

	.recommend__list-name {
		text-align: center;

	}

	.recommend-img {
		/*margin-bottom: 2em;*/
	}
	/* ◆◆◆ /推薦 ◆◆◆ */


	/*◆◆◆ 当院との違い ◆◆◆ */
	.difference {
	/*margin-block: 1em 2em;*/
	}

	.difference__title-box {
		text-align: center;
		padding-right: 4%;
	}

	.difference__title-box p {
		padding: 0.2em 1.5em;
		margin-block: 1em 1em;font-size: 80%;
	}

	/*比較表*/
	li.difference__item h3 {
		margin-top: 1em;
	}

	.difference__item-box {
		display: block;
	}

	.difference__item-box-item {
	margin-bottom: 0.5em;
	}

	.difference__item-box-item p {
		padding: 1em 0.5em;
	}
	/*◆◆◆ /当院との違い ◆◆◆ */


	/* ◆◆◆ メリット ◆◆◆ */
	.merit__list {
		gap: 0.4em;
	}

	.merit__list p {
		flex: 0 0 calc((100% - 0.4em) / 2);
	}
	/* ◆◆◆ /メリット ◆◆◆ */


	/* ◆◆◆ BA ◆◆◆ */
	.ba {
	/*padding-block: 0rem 0.5em;*/
	}

	li.ba__item {
		padding: 0;
		margin-bottom: 1em;
	}

	h2.ba__title:before, h2.ba__title:after {
		width: 25%;
	}

	.ba__item-img {
		gap: 0.8em;margin-bottom: 1em;
	}

	figure.ba__img {
		flex: 0 0 calc((100% - 0.8em) / 2);
	}

	p.ba__item-text {
		padding:0;
	}
	/* ◆◆◆ /BA ◆◆◆ */


	/* ◆◆◆ オファー ◆◆◆ */
	.offer {
		/*padding-bottom: 1em;
		margin: 1em 0 0;*/
	}

	.offer figure {
		margin-top: 1em;
	}

	.offer__text {
		margin-top: 0.6em;
	}
	/* ◆◆◆ /オファー ◆◆◆ */


	/* ◆◆◆ 支払い方法 ◆◆◆ */
	.payment__type img {
		padding: 1em;
	}
	/* ◆◆◆ /支払い方法 ◆◆◆ */


	/* ◆◆◆ 問合 ◆◆◆ */
	.contact {
		/*margin-top: 1em;*/
	}

	.contact__btn {
		display: block;
		padding-inline: 10%;
		margin-bottom: 0.3em;
	}

	.contact__btn-item {
		width: 100%;
	}
	.contact-block{
		flex-direction: column;
		gap: 0rem;
	}
	.contact-block img{
		width: 100%;
	}
	/* ◆◆◆ /問合 ◆◆◆ */


	/* ◆◆◆ アクセス ◆◆◆ */
	body.home .access,　body.front-page .access {
		margin-block: 1em;
	}

	.access figure {
		margin: 1.3em 0 0;
	}

	table.access__table {
		margin: 0.5em 0 1em;
	}

	table.access__table th {
		border: none;
	}

	table.access__table td {
		border: none;
		border-bottom: solid 1px var(--text);
	}

	table.access__table tr:last-child td {
		border-bottom: none;
	}

	table.access__table th, table.access__table td {
		text-align: center;
		display: block;
		width: 100%;
	}

	table.access__table {
		border: none;
		border: solid 1px var(--text);
	}
	/* ◆◆◆ /アクセス ◆◆◆ */


	/* ◆◆◆ お悩み ◆◆◆ */
	.problem {
		/*margin-block: 3em 5em;*/
	}

	.problem img {
		width: 75%;
        margin: 0 auto 2rem auto;
	}

	.problem__inner {
		padding-block: 0;
		margin-bottom:0;
	}
	h2.problem__title:before, h2.problem__title:after {
		display: none;
	}
	ul.problem__items {
		padding: 1.5em;
	}
	ul.problem__items li {
		padding-left: 2em;
	}
	.problem__items li:before {
		width: 1.2rem;
		height: 1.2rem;
		top: 0.3rem;
		left: 0.2rem;
	}
	/* ◆◆◆ /お悩み ◆◆◆ */

	/* ◆◆◆ 当院について<追加用> ◆◆◆ */
	.about figure, .about .iframe-wrapper {
		margin-top: 1em;
	}
	/* ◆◆◆ 当院について<追加用> ◆◆◆ */

	/* ◆◆◆ 流れ ◆◆◆ */
    ul.flow__items {
        padding-left: 1.5em;
		margin-left: 0.5em;
    }

	li.flow__item {
		padding-right: 0.5em;
	}

	li.flow__item .flow__content {
        flex-direction: column;
        gap: 1em;
        margin-top: 0.5em;
    }

	li.flow__item h3 {
        font-size: clamp(1.4rem, 2vw, 3rem);
        padding-left: 1em;
		margin-top: 1em;
    }

	 li.flow__item h3::before {
        width: 2em;
        height: 2em;
        left: -2em;
    }

    li.flow__item figure.flow__img {
        width: 100%;
        margin-top: 0.5em;
    }

    li.flow__item p {
        width: 100%;
        text-align: justify;
        line-height: 1.6;
        color: var(--text);
    }
	/* ◆◆◆ /流れ ◆◆◆ */


	/* ◆◆◆ 院長メッセージ<追加用> ◆◆◆ */
	.message h2 {
		margin: 0 0 1em;
	}
	/* ◆◆◆ /院長メッセージ<追加用> ◆◆◆ */


	/* ◆◆◆ フッターボタン ◆◆◆ */
	.footer__contact {
		bottom: 0;
		right: 0;
		width: 100%;
	}

	/*1つの場合*/
	.footer__contact-btn1 {
		transition: 0.6s;
	}

	/*2つの場合*/
	.footer__contact-btn2 {
		display: flex;
		align-items: flex-end;
		}

	.footer__btn2-item {
		width: 50%;
		margin-bottom: 0;
	}
	/* ◆◆◆ フッターボタン ◆◆◆ */

	.entry_title {
		padding-inline: 5%;
	}


	/* ◆◆◆ 下層ページタイトル ◆◆◆ */
	p.bo-page-title {
		margin-bottom: 1em;
	}

	.p-archive__title p.c-pageTitle__main, p.bo-page-title {
		padding: 0!important;
	}
	/* ◆◆◆ /下層ページタイトル ◆◆◆ */


	/* ◆◆◆ 対応症状リスト ◆◆◆ */
	ul.shojo__list {
		gap: 1em;
	}

	ul.shojo__list li{
		text-align: center;
		flex: 1 1 calc(50% - 0.5em);
		max-width: calc(50% - 0.5em);
	}

	ul.shojo__list li a {
		padding: 0.5em;
	}
	/* ◆◆◆ /対応症状リスト ◆◆◆ */


	/* ◆◆◆　はじめての方へ ◆◆◆ */
	.clinic-img__box > figure {
		flex: 0 0 calc((100% - 0.5em) / 2);
	}
	/* ◆◆◆　/はじめての方へ ◆◆◆ */


	/* ◆◆◆　料金P ◆◆◆ */
	ul.price__items li.price__item {
		margin: 3em 0;
	}
	/* ◆◆◆　/料金P ◆◆◆ */


	/* ◆◆◆ 症状ページ ◆◆◆ */
	.why {
		/*margin-top: 1.2em;*/
	}

	.why__sub-title {
		line-height: 1.4;
		padding: 0.5em;
	}

	h3.why__title {
		line-height: 1.2;
		padding: 0.6em 1em;
	}

	.why__text {
			background:linear-gradient(to right, rgb(255 255 255 / 100%), rgb(255 255 255 / 50%)),url(https://umenoki-seikotsuin.com/wp-content/uploads/2025/08/why-bg.webp);
		background-size: cover;
		background-position: right;
		padding: 1em 1em;
	}

	.why__text p {
		text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF,  0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
	}

	.shojo-why {
		margin-top: 2em;
	}

	.shojo-contents {
		/*margin-block: 3em 4em;*/
	}

	p.shojo-contents__sub-title {
		margin-block: 0;
	}
	/* ◆◆◆ /症状ページ ◆◆◆ */


	/* ◆◆◆ Q&A ◆◆◆ */
	.qa-list dt:before, .qa-list dd:before {
		width: 2rem;
	}
	/* ◆◆◆ /Q&A ◆◆◆ */

	/* ◆◆◆ cf7（必要な場合は使用） ◆◆◆ */
	.contact__form {
		padding: 2em 5%;
	}

	.contact__form-item {
		margin-bottom: 1em;
	}

	.contact__consent {
		margin: 2em 0;
	}

	.wpcf7-submit {
		margin-top: 2em;
	}

	.contact__consent-check input {
		width: 1.2em;
	}
	/* ◆◆◆ /cf7（必要な場合は使用） ◆◆◆ */


	/* ◆◆◆ BA（必要な場合は使用）◆◆◆ */
	.ba {
		/*margin-top: 3em;*/
	}

	li.ba__item {
		margin-bottom: 2em;
	}
	/* ◆◆◆ /BA（必要な場合は使用） ◆◆◆ */


	/* ◆◆◆ 流れ-01 文章あり縦並び（必要な場合は使用）◆◆◆ */
	.flow__01 {
		/*margin-top: 3em;*/
	}

	.flow__01 li.flow__item {
		padding: 1.5em 1.5em 0.4em;
		margin-bottom: 2em;
	}

	.flow__01 li.flow__item figure {
		width: 100%;
		float: none;
		padding-left: 0;
		margin-top: 0.9em;
	}
	/* ◆◆◆ /流れ-01 文章あり縦並び（必要な場合は使用） ◆◆◆ */

}
/* ◆◆◆ BA 1枚画像バージョン（追記） ◆◆◆ */
figure.ba__img--single {
	margin: 0;
	border:solid var(--third) 2px;
	border-radius:1em;
}

figure.ba__img--single img {
	width: 100%;
	height: auto;
	display: block;
}

p.ba__item-comment {
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.8;
	text-align: justify;
	margin-block: 0 0.5em;
}

/* 260907追加 */
.symptom-detail {
  margin: 0 auto;
  font-family: "Helvetica Neue","Arial","Hiragino Kaku Gothic ProN","Hiragino Sans","Meiryo",sans-serif;
  color: #3D3D3D;
  line-height: 1.8;
  box-sizing: border-box;
}
.symptom-detail *{ box-sizing: border-box; }
.symptom-detail__title{
  position: relative;
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 1.6em;
}
.symptom-detail__title::before,.symptom-detail__title::after{
  content:"";
  position:absolute;
  top:50%;
  width:15%;
  height:1px;
  background:var(--primary);
}
.symptom-detail__title::before{ left:0; }
.symptom-detail__title::after{ right:0; }
@media (max-width:600px){
  .symptom-detail__title::before,.symptom-detail__title::after{ display:none; }
}
.symptom-detail__block{ margin-bottom:2.4em; }
.symptom-detail__block:last-child{ margin-bottom:0; }
.symptom-detail__heading{
  display:flex;
  align-items:center;
  font-size:clamp(1.3rem,2.2vw,1.5rem);
  font-weight:700;
  color:#3D3D3D;
  border-left:5px solid var(--primary);
  padding-left:.6em;
  margin:0 0 1em;
}
.symptom-detail__list{
  list-style:none;
  margin:0;
  padding:1.3em 1.6em;
  background:rgba(253, 221, 196,0.2);
	box-shadow: 2px 2px 4px #c8c2be;
  border-radius:8px;
}
.symptom-detail__list li{
  position:relative;
  padding-left:1.9em;
  margin:.65em 0;
  font-size:clamp(1rem,1.7vw,1.05rem);
}
.symptom-detail__list li:first-child{ margin-top:0; }
.symptom-detail__list li:last-child{ margin-bottom:0; }
.symptom-detail__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.3em;
  width:1.15rem;
  height:1.15rem;
  background:url("https://umenoki-seikotsuin.com/wp-content/uploads/2025/12/check.webp") center/cover no-repeat;
}
.symptom-detail__text{
  margin:0;
font-size: clamp(1rem, 1.6vw, 1.3rem);
  text-align:justify;
}




/* treat-card: sync icon/button/dot color with border color */
.treat-card--orange { --accent: var(--primary); }
.treat-card--blue { --accent: var(--third); }
.treat-card--green { --accent: var(--secondary); }
.treat-card--pink { border: 3px solid var(--bg1); --accent: var(--bg1); }