@charset "UTF-8";


/*=======================================================*/
/*					セクション毎のCSS					  */
/*======================================================*/

/*============ 共通 =========== */

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}
@media print {
	.full {
		margin: 0;
		width: 100%;
	}
}
/*パンくず*/
.sec_pankuzu{
	padding: 0 0 15px 0;
	background-color: var(--base-color);
	position: relative;
	z-index: 1;
}
/**/
.habatel{
	margin: 50px 9% 0 9%;
	padding: 0;
}
@media (max-width: 599px) {
	.habatel{
		margin: 50px 1% 0 1%;
		padding: 0;
	}
}

/* お問い合わせバナー */
.common_end {
	padding: var(--v-space3) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/*背景（各ページで変えることも可）*/
.combg-01{
	background-image: url(../img/bg_03.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.common_end p {
	font-size: clamp(15px,1.5vw,16px);
	line-height: 1.5;
	color: #151515;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.bgfit{
	background-color: #fff9;
	/*max-width: 970px;*/
	padding: 40px 20px 20px 20px;
	margin: 0 auto;
	background-image: url(../img/bg_stitch.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}
/**/
.spot__heading03 {
	position: relative; /* 親要素を相対位置に設定 */
}
.spot__heading03 h3 {
	font-size: clamp(14px,1.5vw,17px);
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	margin-bottom: 15px;
	font-weight: 400;
	text-align: center;
	color: #151515;
	padding-top: 35px;
}
.spot__heading03 span.subsh03 {
	position: absolute;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	font-size: clamp(30px,3vw,40px);
	text-align: center;
	top: -0.65em; /* 調整が必要かもしれません */
	left: 50%;
	transform: translateX(-50%);
	/*transform-origin: left top;*/
	pointer-events: none;
	/*white-space: nowrap;*/
	/*text-transform: lowercase;*/
	font-weight: normal;
	color: #8f7f6a;
	opacity: 0.8;
	z-index: 2;
}
@media only screen and (max-width: 868px) {
	.spot__heading03 h3 {
		text-align: justify;
	}
}
/*印刷用*/
@media print{
	.spot__heading03 h3 {
		font-size: clamp(14px,1.5vw,17px);
		text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
		line-height: 1.5;
		margin-bottom: 15px;
		font-weight: 400;
		text-align: center;
		color: #151515;
		padding-top: 35px;
	}
}

/*テキストcenter→justify*/
.tx-ctj2 {
	margin: 0px auto;
	text-align: center;
}
@media (max-width: 968px) {
	.tx-ctj2 {
		text-align: justify;
	}
}
/*印刷時*/
@media print{
	.tx-ctj2 {
		margin: 0px auto;
		text-align: center;
	}
}






/*======= TOPページ ======*/
/*ご挨拶*/
.greeting {
	padding: var(--v-space3) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
	background-image: url(../img/bg_05.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}
/**/
.greeting-haba {
	margin: 20px 10% 40px 10%;
	padding: 0;
}
@media (max-width: 599px) {
	.greeting-haba {
		margin: 20px 1% 40px 1%;
		padding: 0;
	}
}
/*冒頭一文*/
p.grp{
	font-size: clamp(13px, 1.3vw, 14px);
	line-height: 1.3;
	margin: 0 auto 10px auto;
	width: fit-content;
	color: #756d53;
}

/**/
.each-page__heading01 {
	position: relative; /* 親要素を相対位置に設定 */
	margin-top: 65px;
}

.each-page__heading01 h2 {
	/*width: fit-content;*/
	color: var(--main-color);
	font-size: clamp(21px,2.7vw,27px);
	text-align: center;
	line-height: 1.3;
	font-weight: 500;
	position: relative;
	z-index: 1;
	opacity: 0.9;
	margin-bottom: 15px;
	font-feature-settings: 'palt' 1;
	-webkit-font-smoothing: antialiased;
}
.each-page__heading01 h2::after {
	content: "";
	width: 3em;
	height: .2em;
	border-radius: .1em;
	background-color: #425c82;
	position: absolute;
	bottom: -15px;
	left: calc(50% - 3em / 2);
}
.each-page__heading01 h2.disno::after{
	display: none;/*下線無くしたい場合*/
}
.each-page__heading01 span.subhed {
	position: absolute;
	font-family: "Montserrat", sans-serif;
	margin: 0 auto;
	font-size: clamp(23px,2.5vw,33px);
	text-align: center;
	top: -1.5em;
	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	/*text-transform: lowercase;*/
	font-weight: normal;
	color: var(--accent-color3);
	opacity: 0.3;

	left: 50%;/*中央配置*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

/**/
p.grp2{
	font-size: clamp(15px, 1.4vw, 16px);
	line-height: 1.7;
	font-weight: 400;
	text-align: justify;
}
/*外観写真*/
.greeting-photo {
	margin: 28px auto 0;
	max-width: 650px;
	background: #f7f5f2;
	padding: 16px;
	border-radius: 24px;
}
.greeting-photo img {
	width: 100%;
	border-radius: 16px;
}
.greeting-photo figcaption {
	font-size: 13px;
	color: #666;
	margin-top: 8px;
	text-align: center;
}


/*concept*/
.top_sec1{
	/*padding: clamp(20px, 4vw, 40px) 0;*/
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
/* spot: フルブリード画像 × テキストカード */
.full_imgtext {
	position: relative;
	padding:  clamp(35px, 5vw, 60px) 0;
	overflow-x: clip;
	overflow-x: hidden;
}
/* レイアウト：PCは画像＋カードの2エリア／SPは縦積み */
.full_imgtext .full_imgtext__grid{
	display: grid;
	grid-template-areas:
		"media"
		"card";
}
/* 画像：フルブリード（ビューポートいっぱいに突き抜け） */
.full_imgtext .full_imgtext__media{
	grid-area: media;
	position: relative;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	height: clamp(260px, 60vh, 600px);
	overflow: hidden;
	z-index: 0;
}
/* 横幅は svw で安定化（対応ブラウザのみ） */
@supports (width: 100svw){
	.full_imgtext .full_imgtext__media{
		margin: 0 calc(50% - 50svw);
		width: 100svw;
	}
}
/* 高さは svh で安定化（対応ブラウザのみ） */
@supports (height: 1svh){
	.full_imgtext .full_imgtext__media{
		height: clamp(260px, 40svh, 800px);
	}
}
/* スマホ幅（～767px）は高さを aspect-ratio で固定 */
@media only screen and (max-width: 767px){
	.full_imgtext .full_imgtext__media {
		height: auto !important;       /* vh依存をやめる */
		/*aspect-ratio: 4 / 3;*/          /* 好みで 4/3 や 21/9 に変更可 */
		aspect-ratio: 21 / 9;
	}
}
.full_imgtext .full_imgtext__media img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
/* 画像上の装飾テキスト（任意） */
/* === 文字オーバーレイ（親基準）。画像に切られない === */
.full_imgtext .full_imgtext__deco{
	position: absolute;
	/* フルブリード幅に合わせる：左右をビューポートいっぱいへ */
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	/* 下寄せ（SPほど少し上げる） */

	/* レイヤリング */
	z-index: 1;
	pointer-events: none;

	/* タイポ */
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(22px, 4vw, 56px);
	line-height: 1.1;
	letter-spacing: .06em;
	color: #FFF;
	text-shadow: 0 2px 22px rgba(0,0,0,.65);

	/* 折返し挙動（スマホで細切れにならない設定） */
	white-space: normal;
	word-break: keep-all;
	overflow-wrap: normal;
	text-wrap: pretty; /* 対応ブラウザで自然な改行 */
}
@supports (width: 100svw){
	.full_imgtext .full_imgtext__deco{
		left: calc(50% - 50svw);
		right: calc(50% - 50svw);
	}
}
/* デスクトップ：カード重ねの手前で文字が埋もれないように */
@media print, screen and  (min-width: 992px){
	.full_imgtext .full_imgtext__deco{
		bottom: clamp(20px, 10vw, 100px);
	}
}
/* タブレット幅（568px$301C991px）のとき */
@media print, screen and  (min-width: 568px) and (max-width: 991px){
	.full_imgtext .full_imgtext__deco{
		bottom: 45%; /* 好きな値に調整 */
		font-size: clamp(20px, 4.5vw, 40px); /* 中間サイズ */
	}
}
/* スマホ：見切れ対策で少し上げ、文字サイズを微調整 */
@media only screen and (max-width: 567px){
	.full_imgtext .full_imgtext__deco{
		top:clamp(260px, 35vh, 800px);
		font-size: clamp(20px, 5.6vw, 32px);
		letter-spacing: .02em;
	}
}

/* カード：白・影・角丸。PCでは画像にオーバーラップ */
.full_imgtext .full_imgtext__card{
	grid-area: card;
	max-width: min(900px, 95%);
	/*margin-inline: auto;*/
	background: #ffffffd9;
	box-shadow: 0 10px 28px rgba(0,0,0,.12);
	padding: clamp(20px, 3.6vw, 36px) clamp(20px, 3.6vw, 40px);
}
.full_imgtext .full_imgtext__title{
	font-size: clamp(23px, 2vw, 30px);
	line-height: 1.4;
	margin: 0 0 7px;
	font-weight: 400;
	border-bottom: 1px dotted #999;
	font-family: Arial, Helvetica, sans-serif;
	font-family: "Montserrat", sans-serif;
	color: var(--accent-color2);
}
.full_imgtext .full_imgtext__lead{
	font-size: clamp(14px, 1.4vw, 15px);
	line-height: 1.4;
	text-align: justify;
	margin: 0;
}
/*追加装飾*/
.full_imgtext h3 {
	font-size: clamp(17px, 1.9vw, 20px);
	line-height: 1.4;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--main-color);
}
.full_imgtext .full_imgtext_p{
	font-size: clamp(16px, 1.7vw, 17px);
	line-height: 1.4;
	text-align: right;
	margin: 7px 0 0 0;
	color: #555;
}

/* ====== PC配置：画像とカードを2カラムに。カードは右寄せで重ねる ====== */
@media print, screen and  (min-width: 992px){
	.full_imgtext .full_imgtext__media{
		height: clamp(260px, 60vh, 600px);
	}
	.full_imgtext .full_imgtext__grid{
		grid-template-columns: 1fr min(50%, 800px);
		grid-template-areas: "media card";
		align-items: center;
	}
	/* カードをやや上に重ねる（オーバーラップ感） */
	.full_imgtext .full_imgtext__card{
		margin-right: clamp(20px, 5vw, 72px);
		margin-left: 0;
		/*transform: translateY(-15%);*//*少し上に*/
		transform: translateY(0%);/*真横*/
		background: #ffffff;
	}
	/* 反転レイアウト */
	.full_imgtext .full_imgtext__grid.is-reverse{
		grid-template-columns: min(50%, 800px) 1fr;
		grid-template-areas: "card media";
	}
	.full_imgtext .full_imgtext__grid.is-reverse .full_imgtext__card{
		margin-left: clamp(20px, 5vw, 72px);
		margin-right: 0;
	}
}
@media print{
	.full_imgtext .full_imgtext__media{
		height: 500px;
	}
	.full_imgtext .full_imgtext__deco {
		bottom: 15%;
	}
}



/*確かな技術と最新の設備で美しい歯に！*/
.top_sec2{
	padding: clamp(25px, 4vw, 50px) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
.b-rad16 {
	border-radius: 16px;
}


/*当院の特長*/
.top_sec3{
	padding: var(--v-space3) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
	background-image: url(../img/bg_04.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
}
/* --- カード全体 --- */
.top_message_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
/* --- 各カード --- */
.message_card {
	position: relative;
	aspect-ratio: 1 / 1; /* 正方形 */
	background-size: cover;
	background-position: center;
	overflow: hidden;
	color: #fff;
	border-radius: 99%;
}
/* 半透明オーバーレイ */
.message_card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}
/* 1つ目 */
.message_card:nth-child(1)::before {
	background: rgba(14, 57, 39, 0.55);
}
/* 2つ目 */
.message_card:nth-child(2)::before {
	background: rgba(57, 26, 14, 0.55);
}
/* 3つ目 */
.message_card:nth-child(3)::before {
	background: rgba(11, 34, 70, 0.5);
}
/* --- テキストエリア --- */
.card_inner {
	position: relative;
	z-index: 2;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/*justify-content: end;*/
	align-items: center;       /* ★横方向も中央 */
	outline: 2px solid #ffffff69;
	outline-offset: -10px;
	box-sizing: border-box;
	border-radius: 99%;
}
.card_inner h4 {
	font-size: clamp(17px, 1.7vw, 20px);
	margin-bottom: 10px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;        /* ★文字中央 */
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.99);
}
.card_inner p {
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.6;
	max-width: 90%;   /* ★横幅を少し絞る */
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.99);
	text-align: justify;
}

/* --- 背景画像指定（差し替えてください） --- */
.card_01 {
	background-image: url("../img/cardbg_01.jpg");
}
.card_02 {
	background-image: url("../img/cardbg_02.jpg");
}
.card_03 {
	background-image: url("../img/cardbg_03.jpg");
}
/* --- レスポンシブ --- */
@media (max-width: 868px) {
  .top_message_cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 最後のカードを中央に */
  .top_message_cards .message_card:last-child {
    grid-column: 1 / -1;   /* 2列分使う */
    justify-self: center; /* 中央寄せ */
    max-width: 50%;       /* 横幅を1カード分に見せる */
  }
}

@media (max-width: 568px) {
  .top_message_cards {
    grid-template-columns: 1fr;
  }

  /* ★3つ目カードを通常サイズに戻す */
  .top_message_cards .message_card:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}





/*診療内容のご案内*/
.top_sec4 {
	padding: clamp(25px, 4vw, 50px) 0 var(--v-space2) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/**/
.strength-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 70px 20px;
	margin-top: 50px;
}
/* 各カード */
.strength-details {
	background-color: #fff; /* デフォルト */
	padding: 1.8rem;
	border-radius: 8px;
	box-sizing: border-box;
	box-shadow: 0 2px 6px rgba(0,0,0,0.09);
	/*display: flex;
	flex-direction: column;*/
}
.strength-details figure {
	margin-bottom: 1.2rem;
	/*margin-top: -17%;*/
}
.strength-details img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}
.strength-details h3 {
	font-size: clamp(16px,1.6vw,19px);
	text-align: center;
	margin-bottom: 0.6rem;
	line-height: 1.5;
	font-feature-settings: 'palt' 1;
	-webkit-font-smoothing: antialiased;
}
.strength-details p {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-top: auto;
	text-align: justify;
}
@media screen and (max-width: 1024px) {
	.strength-list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 767px) {
	.strength-list {
		grid-template-columns: 1fr;
	}
	.strength-details {
		padding: 1.4rem;
	}
}

/* CTA*/
.service_cta {
	margin: 20px auto 10px auto !important;
	text-align: center;
}

/*ボタン*/
.detail-link {
	margin-top: 10px;;
}
.detail-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;

	padding: 0.5em 1.5em 0.7em 1.5em;
	min-width: 180px;
	box-sizing: border-box;

	font-size: clamp(11px,1.2vw,14px);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;

	color: #fff;
	background-color: var(--main-color);
	border-radius: 9999px;

	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* 矢印アイコン（CSSのみ） */
.detail-link a::after {
	content: "→";
	font-size: 0.9em;
	transition: transform 0.2s ease;
}
.detail-link a:hover {
	background-color: var(--accent-color1);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.detail-link a:hover::after {
	transform: translateX(4px);
}

/* スマホ対応 */
@media (max-width: 768px) {
	.detail-link a {
		width: 100%;
		min-width: unset;
		justify-content: center;
	}
}




/* 患者各位 */
.notice-patient {
	padding: var(--v-space3) 0;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */
	background-color: #fff;
	background-image:  linear-gradient(#e5f4f1 1px, transparent 1px), linear-gradient(to right, #e5f4f1 1px, #fff 1px);
	background-size: 20px 20px;
}
.notice-box {
	background: #ffffffb0;           /* 背景色 */
	border: 1px solid #dfdfdf;    /* 枠線 */
	padding: 40px 30px 20px;            /* 内側余白 */
	margin: 0 auto 0;           /* 上余白＋中央寄せ */
	max-width: 980px;              /* 最大幅指定 */
	box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* 軽い影 */
}
.notice-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	letter-spacing: 0.05em;
}
.notice-patient p {
	font-size: 14px;
	line-height: 1.9;
	color: #333;
	margin-bottom: 16px;
}
.notice-sign {
	margin-top: 24px;
	font-size: 14px;
	text-align: right;
	line-height: 1.7;
}
/* SP調整 */
@media (max-width: 768px) {
	.notice-box {
		padding: 30px 20px 10px;
	}
	.notice-title {
		font-size: 16px;
	}
	.notice-patient p {
		font-size: 13px;
	}
}






/*======= 院長ごあいさつページ ======*/
.message_sec1 {
	padding: var(--v-space3) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
.mt20 {
	margin-top: 20px;
}

/* 院長メッセージ */
.director-message {
	background-color: var(--sub-color1);
	padding: 60px 40px;
	margin: 60px 0 80px;
}
@media (max-width: 768px) {
	.director-message {
		background-color: var(--sub-color1);
		padding: 40px 20px;
		margin: 40px 0 60px;
	}
}


.director-message__inner {
	display: flex;
	gap: 50px;
	align-items: flex-start;
}
@media (max-width: 768px) {
	.director-message__inner {
		display: flex;
		gap: 30px;
		align-items: flex-start;
	}
}
.director-message__image {
	width: 25%;
	margin: 0 auto;
	text-align: center;
}
.director-message__image img {
	width: 100%;
	border-radius: 50%;
}
.director-name {
	margin-top: 15px;
	line-height: 1.5;
	font-weight: 600;
	color: var(--accent-color1);
}
.director-name span {
	font-size: 1.3rem;
}
.director-message__text {
	width: 65%;
}
.director-message__text h3 {
	font-size: clamp(18px,2.1vw,25px);
	color: var(--accent-color1);
	margin-bottom: 25px;
	line-height: 1.5;
}
.director-message__strong {
	margin-top: 25px;
	font-weight: 600;
	color: var(--accent-color1);
}

/* レスポンシブ */
@media (max-width: 768px) {
	.director-message__inner {
		flex-direction: column;
	}
	.director-message__image {
		width: 60%;
		margin: 0 auto;
	}
	.director-message__text {
		width: 100%;
	}
/*
	.director-message__image,
	.director-message__text {
		width: 100%;
	}
*/
}
@media (max-width: 568px) {
	.director-message__image {
		width: 80%;
		margin: 0 auto;
	}
}

/* 経歴 */
.director-career {
	max-width: 900px;
	margin: 0 auto 80px;
	padding: 0 24px;
}

.career-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.career-list li {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 10px;
	padding: 14px 0;
	border-bottom: 1px solid #eaeaea;
}
.career-list span {
	font-weight: 600;
	color: #455b54;
}
@media (max-width: 600px) {
	.career-list li {
		grid-template-columns: 1fr;
	}
}

/* サティフィケート全体 */
.director-certificate {
	background-color: var(--sub-color1);
	padding: 60px 30px;
}
@media (max-width: 586px) {
	.director-certificate {
		background-color: var(--sub-color1);
		padding: 40px 15px;
	}
}
/* 左（情報）＋右（画像） */
.certificate-layout {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 30px;
	align-items: start;
	margin-top: 30px;
}
/* 左：必ず1列×縦並び */
.certificate-list.certificate-single-column {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 760px; /* 旧3列分相当 */
}
/* 各カード */
.certificate-item {
	background-color: #fff;
	padding: 18px 22px;
	border-left: 4px solid var(--accent-color2);
}
/* 年号 */
.certificate-item .year {
	display: block;
	font-weight: 600;
	color: var(--accent-color2);
	margin-bottom: 6px;
	font-size: clamp(16px, 1.6vw, 17px);
}
/* 本文 */
.certificate-item p {
	margin: 0;
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.6;
}

/* 画像 */
.certificate-image img {
	width: 100%;
	max-width: 520px;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	border: 1px solid #e3e3e3;
	margin: 0 auto;
}
/* 注釈 */
.certificate-note {
	margin-top: 24px;
	font-size: 0.9rem;
	color: #666;
}
/* レスポンシブ */
@media (max-width: 900px) {
	.certificate-layout {
		grid-template-columns: 1fr;
	}

	.certificate-list.certificate-single-column {
		max-width: none;
	}

	.certificate-image {
		margin-top: 20px;
	}
}






/*======= 歯科口腔外科ページ ======*/
.oral-surgery_sec1 {
	padding: var(--v-space3) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/* カードデザイン */
.services-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 50px 10px 20px 10px;
}
@media (max-width: 1024px) {
	.services-content {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 668px) {
	.services-content {
		grid-template-columns: 1fr; /* 1カラム表示 */
	}
}
/*印刷用*/
@media print{
	.services-content {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		margin: 50px 10px 20px 10px;
	}
}
.services-item {
	background: #ffffffe0;
	padding: 35px 30px 35px 35px;
	border-radius: 40px 10px 10px 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
	overflow: hidden;
	/*border-left: 5px solid #3498db;*/ /* 左側のラインでアクセント */
}
.services-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
}

/*見出し*/
.services-title {
	font-size: clamp(18px, 1.8vw, 23px);
	line-height: 1.4;
	font-weight: 700;
	color: #369576;
}
/*文章*/
.services-item p {
	font-size: clamp(13px, 1.4vw, 15px);
	line-height: 1.5;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: justify;
	min-height: calc(1.5em * 5.5); /* 7行または height: 10.5em; */
}

/* 丸 */
.services-icon {
	position: absolute;
	top: -40px;
	left: -40px;
	width: 80px;
	height: 80px;
	background: linear-gradient(45deg, #ccc0b4, #2bbf9b);
	border-radius: 50%;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 共通の背景画像設定 */
.services-item.bgsub {
	background-size: contain;
	background-position: right bottom;
	background-repeat: no-repeat;
}

/* 画像ごとの個別設定 */
.bgsub1 { background-image: url(../img/bgsub1.png); }
/*
.bgsub2 { background-image: url(../img/bgsub2.png); }
.bgsub3 { background-image: url(../img/bgsub3.png); }
*/
/* 印刷用 */
@media print {

}

/*歯科口腔外科の手術について*/
.oral-surgery_sec2 {
	padding: var(--v-space2) 0;
	background-color: #f7f7f7;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/* 各ポイント */
.oral-surgery-point {
	background-color: #ffffff;
	padding: 30px 32px;
	margin-bottom: 30px;
	border-radius: 8px;
	border-left: 5px solid var(--accent-color2);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
/* 小見出し */
.oral-surgery-point h3 {
	font-size: clamp(18px, 1.8vw, 20px);
	font-weight: 600;
	margin-bottom: 10px;
	color: #1f2d3d;
	line-height: 1.4;
	padding: 5px 2px;
	border-bottom: 1px dashed #ccc;
}
.oral-surgery-point p {
	font-size: clamp(14px, 1.4vw, 15px);
}
/* 症例画像エリア（後で画像を入れやすく） */
.oral-surgery-point:last-child {
	margin-bottom: 0;
}

/**/
@media screen and (max-width: 768px) {
	.oral-surgery-point {
		padding: 24px 20px;
	}
}

/* 画像並び */
.case-images {
	display: flex;
	gap: 20px;
}
/* 1画像単位 */
.case-image {
	position: relative;
	width: 100%;
}
.case-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}
/* 被せ文字 */
.case-label {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 6px 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 14px;
	text-align: center;
	letter-spacing: 0.05em;
	border-radius: 0 0 6px 6px;
}

/* =========================
   症例ブロックのみ2カラム
========================= */
.oral-surgery-point:has(.case-images) {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.oral-surgery-point:has(.case-images) h3,
.oral-surgery-point:has(.case-images) p {
	grid-column: 1 / 2;
}

.oral-surgery-point:has(.case-images) .case-images {
	grid-column: 2 / 3;
}

/**/
@media screen and (max-width: 768px) {
	.oral-surgery-point:has(.case-images) {
		display: block;
	}

	.case-images {
		display: flex;
		flex-direction: row; /* ← 画像は横並び */
		gap: 16px;
		margin-top: 16px;
	}
}
@media screen and (max-width: 568px) {
	.case-images {
		flex-direction: column;
	}
}


/*よくある質問（口腔外科関連）*/
.oral-surgery_sec3 {
	padding: var(--v-space3) 0;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/**/
div.faq-in{
	padding: 0;
}
/*枠付きデザイン*/
.onecours{
	background-color: #f2f2f26e;
	padding: 15px 25px 15px 20px;
	margin: 0 0 17px 0;
	font-size: clamp(15px, 1.5vw, 16px);
	/*border: 1px #f0efdd solid;*/
}
.faq-item {
	display: grid;
	grid-template-columns: 1.5em 1fr;
	column-gap: 13px;
	row-gap: 13px;
}
.faq-label {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 100%;
	line-height: 1.6;
	border-radius: 3px;
	width: 1.5em;
	text-align: center;
	align-self: start;	/* lavelを上揃えに */
	padding: 1px 1px 1px 2px;
}
.faq-label.q {
	background-color: #2bbf9b59;
	color: #2a715a;
	font-family: serif;
}
.faq-label.a {
	background-color: #d3b4577d;
	color: #a28120;
	font-family: serif;
}
.faq-question,
.faq-answer {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}
.faq-question {
	font-weight: bold;
	font-size: 1.1em;
	color: var(--accent-color1);
}
.faq-answer {
	color: #555;
}
hr.faqHr{
	height: 0px;
	border-bottom: 1px dotted #7b7b7b;
	margin: 10px auto;
}






/*======= インプラント治療ページ ======*/
.implant_sec1 {
	padding: var(--v-space3) 0 0 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}


/*基本情報*/
.implant_sec2 {
	padding: var(--v-space3) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
.kage{
	box-shadow: 10px 10px 0 0 #bdbdbd42;
}
/**/
.implant-price {
	display: inline-block;
	margin: 16px 0;
	padding: 10px 16px;
	border-radius: 8px;
	background-color: #4fa48f2e;
	font-size: 14px;
	line-height: 1.4;
}
.implant-price strong {
	font-size: 18px;
	font-weight: 700;
}


/* カード */
.implant-info-cards {
	padding: 40px clamp(20px, 3vw, 50px);
	background-color: #ecf9f478;
}
.implant-info-cards .cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}
.implant-info-cards .card {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.implant-info-cards .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* 見出し*/
.implant-info-cards .card h3 {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: var(--main-color);
	padding: 10px 24px;
	border-radius: 8px 8px 0 0;
	margin: 0;
	text-align: center;
}
/* 文章 */
.implant-info-cards .card div {
	padding: 24px;
}
.implant-info-cards .card p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 10px;
}
/* レスポンシブ */
@media screen and (max-width: 1024px) {
	.implant-info-cards .cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 568px) {
	.implant-info-cards .cards {
		grid-template-columns: 1fr;
	}
	.implant-info-cards .card h3 {
		font-size: 16px;
	}
	.implant-info-cards .card p {
		font-size: 14px;
	}
}


/*治療の特長・設備*/
.implant_sec3 {
	padding: var(--v-space2) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
	background-image: url(../img/bg_02.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: cover;
}
@media screen and (max-width: 568px) {
	.implant_sec3 {
		padding: var(--v-space2) 0 100px 0;
		background-color: #fff;
		position: relative; /* sectionの位置を相対的にする*/
		z-index: 1; /* 背景画像より上に表示 */
		background-image: url(../img/bg_02sp.jpg);
		background-repeat: no-repeat;
		background-position: right bottom;
		background-size: cover;
	}
}


.implant-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.feature {
	background: #ffffffc7;
	padding: 24px 22px;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.feature h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	border-left: 4px solid var(--accent-color2);
	padding-left: 10px;
}

.feature p {
	font-size: 14px;
	line-height: 1.6;
}
/* レスポンシブ */
@media (max-width: 1024px) {
	.implant-features {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 568px) {
	.implant-features {
		grid-template-columns: 1fr;
	}
}
/*印刷時*/
@media print{
	.implant-features {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		margin-top: 40px;
	}
}
/*リスト　通常*/
ul.usuallyul{
	list-style: disc;
	margin: 5px 1px 5px 25px;
}
ul.usuallyul li{
	font-size: clamp(14px, 1.5vw, 15px);
	line-height: 1.3;
	margin-bottom: 5px;
	color: #555;
}
ul.usuallyul li:last-child{
	margin-bottom: 0px;
}



/*診療の流れ*/
.implant_sec4 {
	padding: var(--v-space2) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}




/* 事前診療ステップ */
.implant-preflow {
	margin: 40px 0 50px;
}
.implant-preflow-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
/* ふわふわな枠線 */
.implant-preflow-card {
	background: #fff;
	border-radius: 20px;
	padding: 2em;   /* 内側余白 */
	box-shadow: 0 0 6px 1px #b2dfd2, 0 0 6px 1px #b2dfd2 inset; /*ふわりとした影*/
	position: relative;
}

/* 金額・無料表示 */
.preflow-sub {
	font-weight: 600;
	color: var(--accent-color1);
	font-size: 14px;
}
/* 注釈 */
.preflow-note {
	font-size: 13px;
	color: #555;
	margin-top: 6px;
}

/**/
@media (max-width: 768px) {
	.implant-preflow-cards {
		grid-template-columns: 1fr;
	}
}


/* 治療工程フロー */
.implant-flow-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	max-width: 1100px;
	margin: 40px auto 20px;
	align-items: flex-start;
	padding: 0 5px;
}
.implant-flow-main h4{
	font-size: clamp(17px, 1.7vw, 18px);
}
.implant-flow-visual img {
	width: 100%;
	max-width: 300px;
	margin: 10px auto;
}

@media (max-width: 768px) {
	.implant-flow-layout {
		grid-template-columns: 1fr;
	}
	.implant-flow-visual {
		text-align: center;
	}
	.implant-flow-visual img {
		width: 70%;
		max-width: 300px;
		margin: 10px auto;
	}
}
.implant-flow-list {
	padding-left: 0;
}
.implant-flow-list li {
	list-style: none;
	padding-left: 4rem;
	position: relative;
	font-size: 14px;
	line-height: 1.7;
}
.implant-flow-list li:not(:last-of-type) {
	padding-bottom: 3.5rem;
}
/* 縦ライン */
.implant-flow-list li:not(:last-of-type)::before {
	content: "";
	position: absolute;
	left: 0.75rem;
	top: calc(1.5rem + 0.4em);
	width: 2px;
	height: calc(100% - 1.2rem);
	background-color: #ccc;
}
/* 丸 */
.implant-flow-list li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 1.6rem;
	height: 1.6rem;
	background-color: var(--accent-color2);
	/*border: 2px solid var(--accent-color2);*/
	border-radius: 50%;
}
/* SP調整 */
@media (max-width: 568px) {
	.implant-flow-list li {
		padding-left: 3.2rem;
	}
	.implant-flow-list li:not(:last-of-type) {
		padding-bottom: 2.8rem;
	}
}

/* 見出し行 */
.implant-flow-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 6px;
}
/* 番号 */
.implant-flow-num {
	flex-shrink: 0;
	font-weight: 700;
	font-size: clamp(17px, 1.8vw, 19px);
	color: var(--accent-color2);
	display: flex;
	align-items: center;
	justify-content: center;
}
/* タイトル＋補足 */
.implant-flow-head-text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 1px 6px;
}
.implant-flow-title {
	font-weight: 700;
	font-size: clamp(17px, 1.8vw, 19px);
	color: var(--accent-color1);
	margin: 0;
	line-height: 1.4;
}
/* （無料）など */
.implant-flow-sub {
	font-size: 13px;
	color: #666;
	white-space: nowrap;
}

/*症例・検査画像*/
.implant-case {
	padding: var(--v-space3) 0;
	background-color: #fffef6;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
.case-row-3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}
@media (max-width: 768px) {
	.case-row-3col {
	grid-template-columns: 1fr;
	}
}


/*手術について*/
.implant_sec5 {
	padding: var(--v-space2) 0;
	background-color: #f7f7f7;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/* 各ポイント */
.implant-point {
	background-color: #ffffff;
	padding: 30px 32px;
	margin-bottom: 30px;
	border-radius: 8px;
	border-left: 5px solid var(--accent-color2);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
/* 小見出し */
.implant-point h3 {
	font-size: clamp(17px, 1.8vw, 20px);
	font-weight: 600;
	margin-bottom: 10px;
	color: #1f2d3d;
	line-height: 1.4;
	padding: 5px 2px;
	border-bottom: 1px dashed #ccc;
}
.implant-point p {
	font-size: clamp(14px, 1.4vw, 15px);
}
/**/
@media screen and (max-width: 768px) {
	.implant-point {
		padding: 24px 20px;
	}
}

/* 画像全体レイアウト（PC） */
.implant-surgery-images {
	display: flex;
	gap: 24px;
	margin-top: 40px;
}
/* 左右レイアウト比率（PC） */
.implant-surgery-images .img-left {
	width: 60%;
}
.implant-surgery-images .img-right {
	width: 40%;
}
/* 画像共通 */
.implant-surgery-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}
/* 右側大画像 */
.implant-surgery-images .img-right img {
	height: 100%;
	object-fit: cover;
}
/* 768px以下：左右を縦並び */
@media screen and (max-width: 768px) {
	.implant-surgery-images {
		flex-direction: column;
	}

	.implant-surgery-images .img-left,
	.implant-surgery-images .img-right {
		width: 100%;
	}

	.implant-surgery-images .img-right img {
		height: auto;
	}
}
/* 左4枚画像（PC-タブレット） */
.surgery-images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
/* 1画像単位 */
.surgery-image {
	position: relative;
	width: 100%;
}
/* 被せ文字 */
.surgery-label {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 6px 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 14px;
	text-align: center;
	letter-spacing: 0.05em;
	border-radius: 0 0 6px 6px;
}
/* 768px以下：余白のみ調整（2列維持） */
@media screen and (max-width: 768px) {
	.surgery-images {
		gap: 10px;
	}
}
/* 568px以下：4枚を縦並び */
@media screen and (max-width: 568px) {
	.surgery-images {
		grid-template-columns: 1fr;
	}
}

/* 関連診療（歯科口腔外科誘導） */
.implant-related {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
	text-align: center;
}
.implant-related-text {
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 12px;
}
.implant-related-link a {
	font-size: 15px;
	font-weight: 500;
	color: #005bac;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative; /* ←重要 */
}
/* 下線（文字の下に表示） */
.implant-related-link a::after {
	content: "";
	position: absolute;      /* ←relative aに対して絶対位置 */
	bottom: 0;
	left: 0;
	height: 1px;
	width: 0;
	background-color: currentColor;
	transition: width 0.2s ease;
}
/* 矢印 */
.implant-related-link a .arrow {
	transition: transform 0.2s ease;
}
/* hover時 */
.implant-related-link a:hover::after {
	width: 100%; /* aタグの文字幅に合わせて伸びる */
}
.implant-related-link a:hover .arrow {
	transform: translateX(4px);
}
/* SP微調整 */
@media screen and (max-width: 568px) {
	.implant-related-text {
		font-size: 14px;
	}
}




/*よくある質問*/
.implant_faq {
	padding: var(--v-space3) 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}



/*まとめ*/
.implant_end {
	padding: clamp(20px, 10vw, 180px) 0 180px 0;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}
/**/
.gr-sub1 {
	background-image: url(../img/bg_grsub1.jpg);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}
@media (max-width: 568px) {
	.gr-sub1 {
		background-image: url(../img/bg_grsub1.jpg);
		background-size: cover;
		background-position: 70% bottom;
		background-repeat: no-repeat;
	}
}
.bgfit2 p{
	font-size: clamp(15px, 1.7vw, 20px);
}
@media only screen and (max-width: 768px) {
	.bgfit2 {
		/*background-color: rgb(255, 255, 255, 0.3);*/
		width: fit-content;
		padding: 15px 15px;
	}
}







/*======= 医院概要ページ ======*/
.about_sec1 {
	padding: var(--v-space3) 0 50px 0;
	background-color: #fff;
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

/* 全体コンテナ */
.about_haba {
	max-width: 980px;
	margin: 50px auto 0 auto;
	background-color: #ffffffb5;
	padding: 15px 25px;
	/*border: 1px #d8e6e4 solid;*/
	box-shadow: 0 4px 10px rgba(132, 132, 132, 0.1);
}
@media screen and (max-width: 568px) {
	.about_haba {
		padding: 15px 15px;
	}
}
/* テーブルデザイン */
.about_container {
	display: grid;
	grid-template-columns: 1fr;
}
.about_container .item {
	border-bottom: 1px solid #cad5d3;
	/*background-color: #ffffff85;*/
	padding: 13px 5px;
	display: grid;
	grid-template-columns: 12.5em 1fr;
	align-items: stretch;
	gap: 20px;
}
.about_container .label {
	display: flex;
	align-items: center;
	font-weight: bold;
	color: #353535;
	white-space: nowrap;
	padding: 5px;
	font-size: clamp(15px, 1.6vw, 16px);
	line-height: 1.5;
}

.label-square {
	gap: 12px; /* 文字との間隔調整 */
	position: relative;
	/*margin-top: 10px;*/
}

/* 左の4つの■（2×2の正方形） */
.label-square::before {
	content: "";
	width: 14px;   /* 全体の大きさ */
	height: 14px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 2px; /* 四角同士の隙間 */
}

/* 4つの小さな■を作る */
.label-square::before {
	background:
		linear-gradient(#2bbf9b 0 0) left top,
		linear-gradient(#9be3d1 0 0) right top,
		linear-gradient(#9be3d1 0 0) left bottom,
		linear-gradient(#2bbf9b 0 0) right bottom;
	background-size: 6px 6px; /* 小さい■のサイズ */
	background-repeat: no-repeat;
}

.about_container .content {
	display: flex;
	align-items: center;
	color: #333;
	padding: 5px;
	font-size: clamp(14px, 1.6vw, 16px);
	line-height: 1.5;
}
@media screen and (max-width: 568px) {
	.about_container .item {
		grid-template-columns: 1fr;
		padding: 8px 1px;
		gap: 0;
	}
	.about_container .label {
		line-height: 1.6;
		background-color: #f7f7f7fc;
	}
	.about_container .content {
		display: block;
		font-size: 15px;
		line-height: 1.4;
		padding: 10px 5px 5px 5px;
		text-align: justify;
	}
}

/* 複数行テキスト用 */
.about_container .content-multiline {
	display: block;          /* flexを解除 */
	line-height: 1.8;
}
@media screen and (max-width: 568px) {
	.about_container .content {
		display: block;
	}
}


/** 院内のご案内 */
.our-clinic_sec{
	padding: var(--v-space2) 0;
	background-color: #fff;
	position: relative;
	z-index: 1;
}
/* グリッド全体 */
.our-clinic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 15px;
	margin: 30px auto 0 auto;
	box-sizing: border-box;
	/*max-width: 1030px;*/
}
/* 各カード */
.oc-card {
	overflow: hidden;
	display: flex;
	flex-direction: column; /* 縦方向に並べる */
}
/* 画像 */
.oc-image {
	width: 100%;
	overflow: hidden;
}
.oc-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}
/* ホバー時の画像拡大（枠内で拡大） */
.oc-image:hover img {
	transform: scale(1.05);
}
/* テキスト：画像の下に配置 */
.oc-text {
	padding: 5px 4px 16px 4px;
}
/* タイトル */
.oc-title {
	font-size: clamp(15px, 1.5vw, 16px);
	/*margin-bottom: 8px;*//*下に説明文などがある場合*/
	line-height: 1.4;
	text-align: center;
}
/* レスポンシブ対応 */
@media (max-width: 550px) {
	.our-clinic-grid {
		grid-template-columns: 1fr;
	}
}






/*==========================================================*/
/*      	　　　個人よく使う指定CSS  		  	  */
/*=========================================================*/
/*------------------------------------------------*/
/*セクションの間イメージ画像*/
.sec-adimg{
	padding: 0px;
	background-color: var(--base-color);
	position: relative;
	z-index: 1;
}
.sec-adimg-container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
}
.sec-adimg-container-item1 { grid-area: 1 / 1 / 2 / 2; }
.sec-adimg-container-item2 { grid-area: 1 / 2 / 2 / 3; }
.sec-adimg-container-item3 { grid-area: 1 / 3 / 2 / 4; }
.sec-adimg-container-item4 { grid-area: 1 / 4 / 2 / 5; }
.sec-adimg-container-item5 { grid-area: 1 / 5 / 2 / 6; }

@media (max-width: 968px) {
	.sec-adimg-container {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 1fr;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}
	
	.sec-adimg-container-item1 { display: none; }
	.sec-adimg-container-item2 { grid-area: 1 / 1 / 2 / 2; }
	.sec-adimg-container-item3 { grid-area: 1 / 2 / 2 / 3; }
	.sec-adimg-container-item4 { grid-area: 1 / 3 / 2 / 4; }
	.sec-adimg-container-item5 { display: none; }
}

@media (max-width: 568px) {
	.sec-adimg-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 1fr;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}
	
	.sec-adimg-container-item1 { display: none; }
	.sec-adimg-container-item2 { grid-area: 1 / 1 / 2 / 2; }
	.sec-adimg-container-item3 { grid-area: 1 / 2 / 2 / 3; }
	.sec-adimg-container-item4 { display: none; }
	.sec-adimg-container-item5 { display: none; }
}

/*------------------------------------------------*/

/*印刷には表示されない*/
@media print{
	.print_none{
		display: none;
	}
}
/*調整*/
.adjus{
	padding-top: 10px;
	padding-bottom: 30px;
}
/*テキストcenter→justify*/
.tx-ctj {
	margin: 0px auto;
	text-align: center;
}
@media (max-width: 968px) {
	.tx-ctj {
		text-align: justify;
	}
}
/*印刷時*/
@media print{
	.tx-ctj {
		margin: 0px auto;
		text-align: center;
	}
}
/*文字シャドウ*/
.tx-sha {
	text-shadow: #000 1px 0 10px;
}
/**/
.kukuri{
	border: 1px solid var(--accent-color1);
	padding: 20px 25px 25px 25px;
	margin: 5px auto;
	box-sizing: border-box;
	outline: 1px solid var(--accent-color2);
	outline-offset: -0.4rem;
	/*width: fit-content;*/
	background-color: #ffffffc2;
}
.kukuri p{
	font-size: clamp(15px, 1.5vw, 15px);
	text-align: justify;
}

/* タグ */
.kakomi01{
	margin-top: 10px;
}
.kakomi01 span {
	padding: 3px 7px 3px 7px;
	margin: 0px 0px 5px;
	background-color: var(--sub-color1);
	border: 1px solid var(--main-color);
	border-radius: 5px;
	text-align: center;
	display: inline-block;
	font-size: clamp(11px, 1.3vw, 12px);
}
/*任意のみ表示*/
@media only screen and (max-width: 869px) {
	.nini-869 {
		display: none;
	}
}
/*印刷時*/
@media print{
	.nini-869 {
		display: inline;
	}
}

/*画像角丸*/
img.borad {
	border-radius: 7px;
	/*border: 1px solid #e1e1e1;*/
}
img.borad2 {
	border-radius: 11px;
}
/* コンテンツ幅 */
div.haba{
	margin: 0 8%;
	padding: 0;
}
@media only screen and (max-width: 968px)  {
	div.haba{
		margin: 0;
		padding: 0;
	}
}
/*印刷時*/
@media print{
	div.haba{
		margin: 0 8%;
		padding: 0;
	}
}
/*pcとspで画像のサイズ変えたいときの指定*/
.pcspwid{
	width: 450px;
	margin: 0 auto;
}
@media only screen and (max-width: 568px) {
	.pcspwid{
		width: 100%;
	}
}

/**/
.fniyori {
	font-feature-settings: 'palt' 1;
	-webkit-font-smoothing: antialiased;
}
/*四角デザイン*/
.head-square {
	color: #a7ccad;
	font-size: clamp(16px, 1.8vw, 19px);
	display: flex;
	align-items: center;
	gap: 12px; /* 文字との間隔調整 */
	position: relative;
	margin-top: 10px;
}

/* 左の4つの■（2×2の正方形） */
.head-square::before {
	content: "";
	width: 14px;   /* 全体の大きさ */
	height: 14px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 2px; /* 四角同士の隙間 */
}

/* 4つの小さな■を作る */
.head-square::before {
	background:
		linear-gradient(#9acaa2 0 0) left top,
		linear-gradient(#fff 0 0) right top,
		linear-gradient(#fff 0 0) left bottom,
		linear-gradient(#9acaa2 0 0) right bottom;
	background-size: 6px 6px; /* 小さい■のサイズ */
	background-repeat: no-repeat;
}
/*□装飾*/
.cp_h4title {
	position: relative;
	font-size: clamp(18px, 1.8vw, 20px);
	padding: 2px 2px 2px 32px;
	border-bottom: 1px dotted #999;
	/*font-family: 'Noto Serif JP', serif;*/
	font-family: "Zen Kaku Gothic New", sans-serif;
	margin: 0 0 10px 0;
}
.cp_h4title::before,
.cp_h4title::after {
	position: absolute;
	content: '';
	width: 10px;
	height: 10px;
	/*border: 2px solid var(--accent-color1);*/
}
.cp_h4title::before {
	top: 6px;
	left: 5px;
	border: 2px solid var(--accent-color2);
}
.cp_h4title::after {
	top: 10px;
	left: 10px;
	border: 2px solid var(--main-color);
}
/*リスト　大きめディスク*/
ul.nor{
	list-style: disc;
	margin: 5px 5px 5px 25px;
	line-height: 1.4;
}
ul.nor li::marker{
	font-size: 150%;
	font-weight: bold;
	line-height: 0.7;
	color: #d3b457;
	left: 10px;
}
ul.nor li{
	/*border-bottom: 1px dashed #b9b9b9;*/
	padding: 0.2em 0;
	font-size: clamp(14px, 1.5vw, 15px);
}
ul.nor li.noli::marker{
	font-size: 150%;
	font-weight: bold;
	line-height: 0.7;
	color: rgba(255,255,255,0);
}
ul.nor li.noli{
	margin-left: -25px;
}

/*4つの枠で3つ*/
/*flexで*/
.general-item-circle3 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	box-sizing: border-box;
	margin: 30px auto;
	max-width: 1100px;
}
.circle-item3 {
	width: calc((100% - 60px) / 4); /* gap分引いた上で4分割 */
	/*min-width: 250px;*/ /* スマホで潰れすぎ防止 */
	box-sizing: border-box;
}
/* タブレット対応：2カラム */
@media only screen and (max-width: 868px) {
	.general-item-circle3 {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px 15px;
		margin: 30px 0;
		box-sizing: border-box;
	}
	.circle-item3 {
		width: calc((100% - 30px) / 3);
	}
}
/* スマホ対応：2カラム */
@media only screen and (max-width: 468px) {
	.circle-item3 {
		width: calc((100% - 15px) / 2);
	}
}

/* 印刷用 */
@media print {

}

.circle-item3 img{
	/*outline: 10px solid #ffffff69;*/
	outline: 2px solid #ffffff69;
	outline-offset: -10px;
}


/*円*/
.circle {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
}

/* ゆらゆらアニメーション */
@keyframes float-updown {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px); /* 上に10px動く */
	}
}

/* 適用クラス */
.float-anim {
	animation: float-updown 3s ease-in-out infinite;
}

/* 遅延付きバリエーション */
.float-delay1 {
	animation-delay: 0s;
}
.float-delay2 {
	animation-delay: 1s;
}
.float-delay3 {
	animation-delay: 2s;
}
/* 印刷用 */
@media print {
	/* アニメーションを無効にする */
	.float-anim {
		animation: none !important;
	}
}




