/*
Theme Name: Tateuchi_D-D_Clinic
Theme URI: https://takeuchi-118.com/
Description: 明大前たけうち歯科皮ふ科 オリジナルテーマ
Version: 1.0 / 2026.06.5~
Author: デザイン事務所 Chiffote
Author URI: https://chiffote.jp/
*/


body {
	font-family: "Zen Kaku Gothic Antique", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color: #222;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.03em;
	text-align:justify;
	font-weight: 400;
	font-style: normal;
}
a {
	color: var(--color-green);
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color: var(--color-gold);
}

::selection{background-color:var(--color-green); color: #FFF;}
::-moz-selection{background-color:var(--color-green); color: #FFF;}

body , header , footer{
	min-width: 1300px;
	max-width: 1920px;
	margin: auto;
}
@media screen and (max-width:640px) {
	body{font-size: 15px;}
	body,header,footer{min-width: 400px;}
}





/*============================================================================

	設定カラー

============================================================================*/
:root {
	--color-green: #418b7b; /*エメラルドグリーン*/
	--color-green-light: #669d91; /*淡いエメラルドグリーン*/
	--color-gold: #b59463; /*ゴールド*/
	--color-gold-light: #b7a487; /*淡いゴールド*/
}







/*============================================================================

	モーション　＊　wowオリジナル　fadeInUpMin

============================================================================*/
.fadeInUpMin {
    animation-name: fadeInUpMin;
}
@keyframes fadeInUpMin {
    from { opacity: 0; transform: translate3d(0, 10%, 0);}
    to { opacity: 1; transform: none;}
}



#loftloader-wrapper {
	min-width: 400px !important;
}
#loftloader-wrapper .loader-section.section-fade {
	min-width: 400px !important;
}




/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	width: 100%;
	height: 500px;
	margin:auto;
	background: url("images/mv02.jpg") center no-repeat;
  	background-size: cover;
  	z-index: 0;
  	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}
#mainvisual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent, rgba(183, 164, 135, 0.8));
	z-index: 1;
}
#mainvisual h2 {
	position: relative;
	z-index: 1;
}
#mainvisual h2 em {
	margin-top: 90px;
	display: block;
	font-size: 90px;
	font-family: "Cormorant Infant", serif;
	line-height: 1;
	margin-bottom: 10px;
	text-shadow: 0 0 30px rgba(107, 84, 48, 0.8);
	color: #FFF;
}
#mainvisual h2 span {
	display: block;
	font-size: 18px;
	font-family: "Shippori Mincho B1", serif;
	line-height: 1;
	letter-spacing: 2px;
	color: #418b7b;
	background: #FFF;
	border-radius: 40px;
	padding: 7px 30px;
	text-align: center;
}
@media screen and (max-width: 640px) {
	#mainvisual {
		height: 205px;
		background: url("images/mv02-sp.jpg") center bottom no-repeat;
		background-size: cover;
	}
	#mainvisual::before {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, .8));
		z-index: 1;
	}
	#mainvisual h2 em {
		margin-top: 40px;
		font-size: 60px;
		margin-bottom: 3px;
		text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
		color: #222;
		font-weight: 300;
	}
	#mainvisual h2 span {
		font-size: 15px;
		letter-spacing: 1px;
		padding: 5px 30px;
	}
	#mainvisual.mv_small h2 em {
		font-size: 53px;
		padding-top: 10px;
	}
}



/*==================================================================

	main

==================================================================*/
main {
	padding-bottom: 100px;
}
@media screen and (max-width: 640px) {
	main {
		padding-bottom: 70px;
	}
}




/*==================================================================

	 タイトル

==================================================================*/
h3 {
	margin-bottom: 50px;
	text-align: center;
	line-height: 1;
}
h3 em {
	display: block;
	margin-bottom: 25px;
	font-size: 80px;
	color: #418b7b;
	font-family: "Cormorant Infant", serif;
  	font-optical-sizing: auto;
	letter-spacing: 5px;
}
h3 span {
	display: block;
	font-size: 22px;
	color: #3c3c3c;
	font-family: "Shippori Mincho B1", serif;
	letter-spacing: 3px;
}
@media screen and (max-width: 640px) {
	h3 {
		margin-bottom: 30px;
	}
	h3 em {
		font-size: 44px;
		margin-bottom: 14px;
		letter-spacing: 2px;
	}
	h3 span {
		font-size: 17px;
		letter-spacing: 1px;
	}
}



 h4 {
	font-size: 26px;
	font-family: "Shippori Mincho B1", serif;
	color: var(--color-green);
	letter-spacing: 2px;
	margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
	 h4 {
		font-size: 22px;
		letter-spacing: 1px;
	}
}




/*==================================================================

	table

==================================================================*/
.schedule_table {
	width: 100%;
	text-align: center;
	white-space: nowrap;
	font-size: 17px;
	margin-bottom: 50px;
}

.schedule_table thead {
	border-bottom: 1px solid #c7c7c7;
}
.schedule_table thead th , .schedule_table thead td {
	padding-bottom: 10px;
}
.schedule_table thead th {
	text-align: center;
	letter-spacing: 1px;
	width: 160px;
	padding-right: 5px;
}
.schedule_table thead th::before {content: " "}

.schedule_table tbody {
	font-family: "Lato", sans-serif;
}
.schedule_table tbody th {
	text-align: right;
	padding: 10px 0;
	padding-right: 35px;
	border-bottom: 1px solid #c7c7c7;
}
.schedule_table tbody td {
	width: 10%;
	padding: 10px 0;
	border-bottom: 1px solid #c7c7c7;
	color: var(--color-green);
}

.schedule_table tbody td.closed { color: #aeaeae;}
.schedule_table tbody td.partial { color: var(--color-gold);}


.schedule_note {
	margin-top: -20px;
	font-size: 15px;
}
.schedule_note span { font-family: "Lato", sans-serif;}
.schedule_note em { color: var(--color-gold);}

@media screen and (max-width: 640px) {
	.schedule_table {
		font-size: 15px;
		margin-bottom: 30px;
	}
	.schedule_table thead th {
		width: 110px;
		padding-right: 4px;
		font-size: 13px;
	}
	.schedule_table tbody th {
		padding-right: 16px;
	}
	.schedule_note {
		margin-top: -10px;
		line-height: 1.8;
	}
}





/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
	margin-bottom:50px;
}
.text p {
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}





/*==================================================================

	btn

==================================================================*/

/*------------------------------ btn01 ------------------------------*/
.btn01 {
	position: relative;
	overflow: hidden;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(to bottom, #d7c1a0, #b59463, #9d7a46);
	background-size: 100% 200%;
	background-position: 0% 0%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background-position 0.4s ease;
}
.btn01::before , .btn01::after {
	position: absolute;
	content: "";
	background: #fff;
}
.btn01::before {
	width: 14px;
	height: 2px;
	right: 17px;
	top: 50%;
	transform: translateY(-50%);
}
.btn01::after {
	width: 7px;
	height: 7px;
	background: transparent;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	right: 17px;
	top: 50%;
	transform: translateY(-50%) translateX(0) rotate(45deg);
}

/* ---------- hover ---------- */
.btn01:hover { background-position: 0% 100%;}
.btn01:hover::before { animation: btn-line 0.45s ease forwards;}
.btn01:hover::after  { animation: btn-head 0.45s ease forwards;}
@keyframes btn-line {
	0%   { transform: translateY(-50%) translateX(0); opacity: 1; }
	44%  { transform: translateY(-50%) translateX(55px); opacity: 0; }
	45%  { transform: translateY(-50%) translateX(-55px); opacity: 0; }
	100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}
@keyframes btn-head {
	0%   { transform: translateY(-50%) translateX(0) rotate(45deg); opacity: 1; }
	44%  { transform: translateY(-50%) translateX(55px) rotate(45deg); opacity: 0; }
	45%  { transform: translateY(-50%) translateX(-55px) rotate(45deg); opacity: 0; }
	100% { transform: translateY(-50%) translateX(0) rotate(45deg); opacity: 1; }
}



/*------------------------------ btn02　＊　緑 ------------------------------*/
.btn02 , .btn03 {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 380px;
	height: 60px;
	border-radius: 30px;
	border: 1px solid #FFF;
	background: rgba(102,157,145,1);
	font-size: 17px;
	font-family: "Shippori Mincho B1", serif;
	letter-spacing: 2px;
	color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease;
}
.btn02::before , .btn02::after , .btn03::before , .btn03::after {
	position: absolute;
	content: "";
	background: #fff;
}
.btn02::before , .btn03::before {
	width: 14px;
	height: 2px;
	right: 27px;
	top: 50%;
	transform: translateY(-50%);
}
.btn02::after , .btn03::after {
	width: 7px;
	height: 7px;
	background: transparent;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	right: 27px;
	top: 50%;
	transform: translateY(-50%) translateX(0) rotate(45deg);
}
@media screen and (max-width: 640px) {
	.btn02 , .btn03 {
		height: 50px;
		font-size: 15px;
		letter-spacing: 1px;
		max-width: 100%;
	}
	.btn02::before , .btn03::before {
		right: 20px;
	}
	.btn02::after , .btn03::after {
		right: 20px;
	}
}

/* ---------- hover ---------- */
.btn02:hover , .btn03:hover { background: rgba(102,157,145,.8); color: #FFF; letter-spacing: 3px;}
.btn02:hover::before , .btn03:hover::before { animation: btn-line 0.45s ease forwards;}
.btn02:hover::after  , .btn03:hover::after  { animation: btn-head 0.45s ease forwards;}



/*------------------------------ btn03　＊　ゴールド ------------------------------*/
.btn03 {
	background: rgba(181,148,99,1);
}
/* ---------- hover ---------- */
.btn03:hover { background: rgba(181,148,99,0.8);}





/*============================================================================

		#toc　＊　目次

============================================================================*/
#toc {
	padding: 30px 0;
	background: url("images/bg_04.jpg");
	background-size: cover;
}
#toc ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
#toc ul li {
    position: relative;
}
#toc ul li a {
	display: block;
	padding: 10px 36px 10px 28px;
	background: #fff;
	border-radius: 5px;
	font-size: 14px;
	color: #333;
	letter-spacing: 0.05em;
	transition: 0.2s;
}
#toc ul li a::after {
    position: absolute; content: "";
    top: 50%;
    right: 15px;
    width: 5px;
    height: 5px;
    border-right: 1px solid #418b7b;
    border-bottom: 1px solid #418b7b;
    transform: translateY(-50%) rotate(45deg);
    transition: 0.2s;
}

/*hover*/
#toc ul li a:hover {
	background: var(--color-green-light);
	color: #fff;
	box-shadow: 0 4px 12px rgba(65,139,123,0.3);
}
#toc ul li a:hover::after {
	border-color: #fff;
}

@media screen and (max-width: 640px) {
	#toc ul {
		gap: 10px;
	}
	#toc ul li {
		width: 100%;
	}
	#toc ul li a {
		text-align: center;
		padding: 5px 20px;
		font-size: 13px;
	}
}









/*==================================================================

		$お知らせページ(news.php)

==================================================================*/
#news , #blog {
	position: relative;
	padding: 80px 0 80px;
}
#news::before , #blog::before {
	position: absolute; content: "";
	width: 500px; height: 100%;
	top: 0; right: 0;
	background: url("images/bg_03.jpg") center;
}
#news .inner , #blog .inner {
	position: relative;
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
	z-index: 1;
}
@media screen and (max-width: 640px) {
	#news , #blog {
		padding: 50px 0 70px;
	}
	#news::before , #blog::before {
		width: 30%;
		background-size: cover;
	}
}


/*------------------------------ post-list ------------------------------*/
.post-list {
	margin-bottom: 60px;
}
.post-list li {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 36px 0;
	border-bottom: 1px solid #e0ddd8;
}
.post-list li:first-child {
	border-top: 1px solid #e0ddd8;
}
@media screen and (max-width: 640px) {
	.post-list {
		margin-bottom: 40px;
	}
	.post-list li {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 24px 0;
	}
}

/* ---------- 日付 ---------- */
.post-list time {
	flex-shrink: 0;
	width: 80px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-family: "Lato", sans-serif;
	color: var(--color-green);
	line-height: 1;
}
.post_year {
	font-size: 15px;
}
.post_day {
	font-size: 28px;
	font-weight: 500;
}
@media screen and (max-width: 640px) {
	.post-list time {
		flex-direction: revert;
		align-items: end;
		gap: 0;
		width: 100%;
		color: var(--color-gold);
	}
	.post_year {
		font-size: 15px;
	}
	.post_year::after {
		content: ".";
	}
	.post_day {
		font-size: 15px;
	}
}

/* ---------- テキスト ---------- */
.post-list li > div {
	flex: 1;
}
.post_title {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 8px;
	line-height: 1.6;
	color: var(--color-green);
}
@media screen and (max-width: 640px) {
	.post_title {
		font-size: 17px;
	}
}

.page-id-24 .post_body strong {
	color: #418b7b;	
}



  

/*==================================================================

		$投稿一覧ページ(column.php)

==================================================================*/

/*------------------------------ サムネあり post-list ------------------------------*/
.post-list.has-thumb li a {
	display: flex;
	gap: 36px;
	color: inherit;
	transition: opacity 0.2s;
}
.post-list.has-thumb li a:hover {
	opacity: 0.75;
}
@media screen and (max-width: 640px) {
	.post-list.has-thumb li a {
		gap: 16px;
	}
}

/* ---------- サムネ ---------- */
.post-list.has-thumb figure {
	flex-shrink: 0;
	width: 260px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 40px 10px 10px 10px;
}
.post-list.has-thumb figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.4s;
}
.post-list.has-thumb li a:hover figure img {
	transform: scale(1.05);
}
@media screen and (max-width: 640px) {
	.post-list.has-thumb figure {
		width: 140px;
		border-radius: 25px 5px 5px 5px;
	}
}

/* ---------- テキストエリア ---------- */
.post-list.has-thumb li a > div {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media screen and (max-width: 640px) {
}

/* ---------- メタ（カテゴリー・日付） ---------- */
.post_meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}
.post_meta time {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 0;
	width: auto;
	padding-top: 5px;
	font-family: "Lato", sans-serif;
	color: var(--color-green);
	line-height: 1;
}
.post_meta .post_year {
	font-size: 14px;
}
.post_meta .post_year::after {
	content: ".";
}
.post_meta .post_day {
	font-size: 14px;
}
.post_cat {
	font-size: 13px;
	color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 3px 12px;
	border-radius: 20px;
	white-space: nowrap;
	letter-spacing: 0.05em;
}
@media screen and (max-width: 640px) {
	.post_meta {
		gap: 10px;
		margin-bottom: 5px;
		flex-wrap: wrap;
	}
	.post_meta time {
		padding-top: 4px;
	}
	.post_meta .post_year {
		font-size: 12px;
	}
	.post_meta .post_day {
		font-size: 12px;
	}
	.post_cat {
		font-size: 12px;
		padding: 2px 8px;
	}
}

/* ---------- テキスト ---------- */
.post-list.has-thumb .post_body {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
@media screen and (max-width: 640px) {
	.post-list.has-thumb .post_title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		margin-bottom: 2px;
		font-size: 15px;
	}
	.post-list.has-thumb .post_body {
		-webkit-line-clamp: 2;
		line-height: 1.8;
		font-size: 14px;
	}
}





/*==================================================================

		#ページャー

==================================================================*/
.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.pager > ul {
	display: flex;
	gap: 10px;
}
.pager > ul li {
	display: block;
}
.pager > ul li a,
.pager > ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 16px;
	font-family: "Lato", sans-serif;
	transition: 0.2s;
}
.pager > ul li a {
	border: 1px solid #c7c7c7;
	color: #555;
}
.pager > ul li a:hover {
	background: var(--color-green);
	border-color: var(--color-green);
	color: #fff;
}
.pager > ul li span.current {
	background: var(--color-green);
	border: 1px solid var(--color-green);
	color: #fff;
}
@media screen and (max-width: 640px) {
}





/*==================================================================

	$コラム記事ページ　＊　article

==================================================================*/
#article {
	padding-bottom: 0;
}

/*------------------------------ 記事ヘッダー ------------------------------*/
#article-header {
	width: 90%;
	max-width: 900px;
	margin: 60px auto 0;
}
#article-header figure {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 40px;
}
#article-header figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#article-header .post_meta {
	margin-bottom: 16px;
}
#article-header h2 {
	font-size: 32px;
	font-family: "Shippori Mincho B1", serif;
	color: #222;
	line-height: 1.7;
	letter-spacing: 1px;
}

/*------------------------------ 記事本文 ------------------------------*/
#article-body {
	width: 90%;
	max-width: 900px;
	margin: 60px auto;
}

/* ---------- 見出し ---------- */
#article-body h2 {
	font-size: 26px;
	font-family: "Shippori Mincho B1", serif;
	color: var(--color-green);
	letter-spacing: 1px;
	margin: 50px 0 20px;
	padding: 15px 10px;
	border-top: 1px solid rgba(102, 157, 145, 0.7);
	border-bottom: 1px solid rgba(102, 157, 145, 0.7);
	text-align: center;
	line-height: 1.7;
}
#article-body h3 {
	font-size: 22px;
	font-family: "Shippori Mincho B1", serif;
	color: var(--color-gold);
	letter-spacing: 1px;
	margin: 30px 0 10px;
	line-height: 1.7;
	text-align: left;
}

/* ---------- テキスト ---------- */
#article-body p {
	margin-bottom: 20px;
}
#article-body p strong {
	color: var(--color-green);
	font-weight: 500;
}

/* ---------- 画像 ---------- */
#article-body figure {
	margin: 40px 0;
	overflow: hidden;
	border-radius: 10px;
}
#article-body figure img {
	width: 100%;
	height: auto;
}

/* ---------- リスト ---------- */
#article-body ul {
	margin: 20px 0 30px 1em;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
#article-body ul li {
	position: relative;
	padding-left: 18px;
}
#article-body ul li::before {
	position: absolute; content: "";
	top: 13px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-gold-light);
}



/*------------------------------ 記事フッター ------------------------------*/
#article-footer {
	width: 90%;
	max-width: 900px;
	margin: 0 auto 80px;
	text-align: center;
}

/*------------------------------ SP ------------------------------*/
@media screen and (max-width: 640px) {
	#article-header {
		margin-top: 40px;
	}
	#article-header figure {
		margin-bottom: 24px;
	}
	#article-header h2 {
		font-size: 22px;
	}
	#article-body {
		margin: 40px auto;
	}
	#article-body h2 {
		font-size: 20px;
		margin: 40px 0 16px;
	}
	#article-body h3 {
		font-size: 17px;
		margin: 28px 0 10px;
	}
	#article-body figure {
		margin: 28px 0;
	}
	#article-footer {
		margin-bottom: 60px;
	}
	#article-footer .btn03 {
		width: 100%;
		max-width: 100%;
	}
}




