/*
Theme Name:nishikyoto-clinic
*/
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}
html.parent {
overflow:hidden;
}
:root {
	--color-pink:#eb668b;
	--color-blue:#5c74b0;
	--color-green:#67a731;
	--color-white:#ffffff;
	--color-bg-gray: #f3f3f3;
	--color-line: #dddddd;
	--color-black: #222222;
	--font-sp-xxx-large:clamp(3.0rem, 8vw, 4.0rem);
	--font-sp-xx-large:clamp(2.2rem, 6vw, 3.0rem);
	--font-sp-x-large:clamp(1.6rem, 5.3vw, 2.0rem);
	--font-sp-large:clamp(1.4rem, 4.8vw, 1.8rem);
	--font-sp-small:clamp(1.2rem, 3.2vw, 1.4rem);
	--font-sp-x-small:clamp(1.1rem, 2.8vw, 1.3rem);
	--font-pc-xx-large:3.0rem;
	--font-pc-x-large:2.4rem;
	--font-pc-large:1.8rem;
	--font-pc-small:1.4rem;
	--font-pc-x-small:1.2rem;
}
body {
	position: relative;
	z-index: 1;
	background-color:var(--color-white);
}
html,body{
	height: 100%;
}
body.drawer-body-on {
	overflow: hidden;
}
body.drawer-body-on:before {
	content:"";
	position: fixed;
	top:0px;
	right:0px;
	z-index: 500;
	background:rgba(0,0,0,0.5);
	width:100%;
	height:100vh;
	height:100dvh;
	-webkit-transition: all 0.8s;
	transition: all 0.8s;
}
body,th,td,li,dt,dd,input,select,a,p,div,span,textarea,h1,h2,h3,h4,h5,h6,label {
	font-family:'Zen Maru Gothic','Yu Gothic','Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
	color:var(--color-black);
}
h1,h2,h3,h4,h5,h6,th,dt,strong,.bold {
	font-weight:700;
}
@media (width < 767px) {
	body,th,td,li,dt,dd,input,select,a,p,div,span,textarea,h1,h2,h3,h4,h5,h6,label,button {
		font-size:clamp(1.3rem, 3.73vw, 1.6rem);
	}
	input[type=text],input[type=tel],input[type=email] ,textarea,select {
		font-size: 1.6rem;
	}
	input {
		appearance: none;
		-webkit-appearance: none;
	}
	p {
		line-height:175%;
		letter-spacing:0.1em;
	}
}
@media (768px <= width) {
	body,th,td,li,dt,dd,input,select,a,p,div,span,textarea,h1,h2,h3,h4,h5,h6,label,button {
		font-size: 1.6rem;
	}
	p {
		line-height:200%;
		letter-spacing:0.1em;
	}
}
a {
	outline: none;
	text-decoration:none;
}
a:hover {
	text-decoration:none;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
p {
	word-wrap:break-word;
}
p.break {
	padding-bottom:1em;
}
hr {
	border: none;
	border-bottom:1px solid var(--color-line);
	margin-top:1em;
	margin-bottom:1em;
}
b,strong {
	color:#da003d;
	font-weight: 700;
}
ol li {
	list-style-type:decimal;
	margin-left:16px;
	padding-left:4px;
	line-height:200%;
}
ul.dot li {
	list-style-type:disc;
	margin-left:16px;
	padding-left:4px;
	line-height:200%;
}
/*-----------------------------------------
wordpress-classiceditor-settings
------------------------------------------*/
.editor p {
	display: block;
	margin: 1em 0;
}
.editor em {font-style: italic;}
.editor blockquote {
	display: block;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 40px;
	-webkit-margin-end: 40px;
}
/* img */
.aligncenter {display: block;margin: 0 auto;}
.alignright {float: right;margin-left: 1em; margin-bottom: 1em;}
.alignleft {float: left;margin-right: 1em; margin-bottom: 1em;}

img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
	max-width: 100%;
}
.text-left {text-align:left;}
.text-center {text-align:center;}
.text-right {text-align:right;}
/*-----------------------------------------
master-layout-control
------------------------------------------*/
.container,
.container-middle,
.container-txt {
	width:100%;
	margin-right: auto;
	margin-left: auto;
}
@media (width < 767px) {
	.container {
	padding-right: 5vw;
	padding-left: 5vw;
	}
	.sp-only {display:block !important;}
	.pc-only {display:none !important;}
	.anchor {
		padding-top:60px;
		margin-top:-60px;
	}
}
@media (768px <= width) {
	.container {
		max-width:1000px;
		padding-left:20px;
		padding-right:20px;
	}
	.container-middle {
		max-width:720px;
	}
	.container-txt {
		max-width:640px;
	}
	.sp-only {display:none !important;}
	.pc-only {display:block !important;}
}
.bg-gray {
	background-color:var(--color-bg-gray);
}
/*-----------------------------------------
header
------------------------------------------*/
header {
	position: relative;
	z-index: 100;
}
header.header-top:before {
	content:"";
	position: absolute;
	z-index: 10;
	top:0;
	left:0;
	width:100%;
	background:linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
	mix-blend-mode: multiply;
}
header.smaller {
	background-color:rgba(255,255,255,0.9);
	box-shadow:0 3px 3px -1px rgba(0,0,0,0.2);
	animation:headup 0.4s forwards;
}
@keyframes headup {
		0% {
		opacity: 0;
		transform: translate3d(0,-50px,0);
		}
		100% {
		opacity: 1;
		transform: translate3d(0,0,0);
		}
}
header.header-top.smaller:before {
	background:rgba(255,255,255,0);
}
.logo,
.logomark,
.pc-menu {
	position: relative;
	z-index: 20;
}
header .logomark {
	display:block;
	background-image:url(images/logo-white.svg);
	background-repeat:no-repeat;
	background-position:center center;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}
header a.logomark {
	background-image:url(images/logo-color.svg);
}
header.smaller .logomark {
	background-image:url(images/logo-color.svg);
}
@media (width < 767px) {
	header {
		width:100%;
		display: flex;
		justify-content: space-between;
		position: fixed;
		z-index: 100;
		padding-top:5px;
		padding-bottom:5px;
	}
	header:before {
		height:60px;
	}
	header.smaller {
		background-color:var(--color-white);
	}
	.logo {
		width:50vw;
		height:50px;
		line-height:50px;
		padding-left:5vw;
	}
	.pc-menu {
		display: none;
	}
}
@media (768px <= width) {
	header {
		width:100%;
		display: flex;
		justify-content: space-between;
		position: fixed;
		z-index: 100;
		padding-top:20px;
		padding-bottom:20px;
	}
	header:before {
		height:80px;
	}
	header.smaller {
		padding-top:0px;
		padding-bottom:0px;
	}
	.logo {
		padding-top:15px;
		padding-left:2.2vw;
	}
	.logomark {
		width:calc(22vw);
		height:50px;
	}
	.pc-menu {
		background:rgba(255,255,255,0.9);
		border-radius:8px 0 0 8px;
		padding-left:3.5vw;
		box-shadow:0 2px 3px -1px rgba(0,0,0,0.1);
		display:grid;
		grid-template-columns: 1fr 80px;
	}
	header.smaller .pc-menu {
		background:transparent;
		box-shadow:0 2px 3px -1px rgba(0,0,0,0);
	}
	.pc-menu ul {
		display:flex;
		align-items: flex-end;
		justify-content: center;
	}
	.pc-menu li a {
		display: block;
		position: relative;
		height:80px;
		line-height:80px;
		padding-left:1vw;
		padding-right:1vw;
		white-space: nowrap;
	}
	.pc-menu li a:after {
		content:"";
		background-image:url(images/bg-dotline.svg);
		background-repeat: repeat-x;
		position: absolute;
		width:calc(100% - 2vw);
		height:3px;
		bottom:18px;
		left:1vw;
	}
	.pc-menu a:hover {
		color:var(--color-white);
		background-color:var(--color-pink);
	}
	.pc-menu a.header-tel {
		padding:15px;
		background-color:var(--color-pink);
	}
	.pc-menu a.header-tel:hover {
		background-color:var(--color-blue);
	}
}
/*-----------------------------------------
mainvisual and topslider
------------------------------------------*/
.mainvisual-cover,
.mainvisual-normal,
.mainvisual-single {
	position: relative;
	z-index: 2;
}
.mainvisual {
	position: relative;
	z-index: 2;
}
.mainvisual .splide__slide {
	background-size:cover;
	background-position: center center;
}
.topslide-1 {
	background-image:url(images/naiso-01.webp);
}
.topslide-2 {
	background-image:url(images/naiso-03.webp);
}
.topslide-3 {
	background-image:url(images/shinsatsu-01.webp);
}
.pager-line {
	position: absolute;
	left:50%;
	transform: translateX(-50%);
}
.pager-line:after {
	content:"";
	height:1px;
	background-color:var(--color-black);
	position: absolute;
	z-index: 2;
	top:8px;
	left:30px;
}
.pager-line li {
	position: relative;
}
.pager-dot {
	position: relative;
	z-index: 10;
	display: block;
	border:none;
	width:16px;
	height:16px;
	border-radius:16px;
	aspect-ratio: 1 / 1;
	background-color:var(--color-black);
	cursor: pointer;
	margin-left:auto;
	margin-right:auto;
	padding:0;
}
.pager-dot.is-active {
	background-color:var(--color-pink);
}
.mainvisual-cover h2 {
	z-index: 10;
}
.mainvisual-cover h2 span {
	font-weight:700;
	color:var(--color-white);
	background:linear-gradient(transparent 30%, rgba(235, 102,139,1) 30%);
	background-repeat: no-repeat;
	transition:background-size 1s;
	background-size: 0% 100%;
	font-feature-settings:"palt";
	line-height:150%;
}
.mainvisual-cover h2.putactionon span {
	background-size: 100% 100%;
}
.mainvisual-cover .special {
	background:rgba(223,52,99,0.9);
	position: absolute;
	z-index: 30;
	color:var(--color-white);
	font-weight:700;
}
.mainvisual-cover .special * {
	color:var(--color-white);
	font-weight:700;
}
.mainvisual-normal {
	background-size:cover;
	background-repeat:no-repeat;
	background-position: center center;
	overflow: hidden;
}
.mainvisual-normal:before {
	content:"";
	position: absolute;
	z-index: 5;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 50%);
}
.mainvisual-doctor {
	background-image:url(images/mainvisual-doctor.webp);
}
.mainvisual-gallery {
	background-image:url(images/mainvisual-gallery.webp);
}
.mainvisual-contact {
	background-image:url(images/mainvisual-contact.webp);
}
.mainvisual-archive {
	background-image:url(images/mainvisual-archive.webp);
}
.mainvisual-normal h1 {
	position: absolute;
	top:50%;
	transform: translateY(-50%);
	z-index: 10;
}
.mainvisual-normal h1 span {
	font-weight: 400;
	background:linear-gradient(transparent 75%, rgba(235, 102,139,1) 75%);
	background-repeat: no-repeat;
	transition:background-size 1s;
	background-size: 0% 100%;
	font-feature-settings:"palt";
	line-height:150%;
}
.mainvisual-normal h1.putactionon span {
	background-size: 100% 100%;
}
.mainvisual-en {
	color:var(--color-white);
	position: absolute;
	bottom:-0.1em;
	right:0;
	width:100%;
	z-index: 5;
	text-align: right;
	font-weight: 300;
}
.mainvisual-single {
	display:flex;
	align-items: center;
	justify-content: center;
}
.mainvisual-single h1 {
	font-weight: 400;
	line-height: 150%;
}
@media (width < 767px) {
	.mainvisual-cover,
	.mainvisual .splide__slide {
		aspect-ratio: 3 / 4;
	}
	.mainvisual-normal {
		aspect-ratio: 16 / 9;
	}
	.mainvisual-single {
		aspect-ratio: 16 / 9;
		padding-top:50px;
		padding-left:10vw;
		padding-right:10vw;
	}
	.mainvisual-cover h2 {
		position: absolute;
		top:50vw;
		left:10vw;
		width:80vw;
		text-align: center;
	}
	.mainvisual-cover h2:has(+.special) {
		top:25vw;
	}
	.mainvisual-cover h2 span {
		font-size:4.8vw;
	}
	.pager-line {
		width:45vw;
		bottom:15vw;
	}
	.pager-line:after {
		width:28vw;
	}
	.pager-line li {
		width:15vw;
	}
	.mainvisual-cover .special {
		top:55vw;
		left:10vw;
		width:80vw;
		height:40vw;
		border-radius:5vw;
		padding:5vw;
	}
	.mainvisual-normal h1 {
		left:10vw;
		width:80vw;
		text-align: center;
	}
	.mainvisual-normal h1 span {
		font-size:var(--font-sp-xx-large);
	}
	.mainvisual-en {
		font-size:var(--font-sp-xxx-large);
	}
	.mainvisual-single h1 {
		font-size:var(--font-sp-xx-large);
	}
}
@media (768px <= width) {
	.mainvisual-cover,
	.mainvisual .splide__slide {
		aspect-ratio: 16 / 9;
	}
	.mainvisual-normal {
		aspect-ratio: 126 / 44;
	}
	.mainvisual-single {
		aspect-ratio: 3.2 / 1;
		padding-top:80px;
	}
	.mainvisual-cover h2 {
		position: absolute;
		top:50%;
		transform: translateY(-50%);
		left:5%;
	}
	.mainvisual-cover h2 span {
		font-size:2.85vw;
	}
	.pager-line {
		bottom:100px;
	}
	.pager-line:after {
		width:160px;
	}
	.pager-line li {
		padding:0 30px;
	}
	.mainvisual-cover .special {
		width:clamp(310px,40%,465px);
		top:50%;
		right:0;
		transform: translateY(-50%);
		padding:15px 30px;
		border-radius:20px 0 0 20px;
	}
	.mainvisual-normal h1 {
		left:5%;
	}
	.mainvisual-normal h1 span {
		font-size:4.8rem;
	}
	.mainvisual-en {
		font-size:10.0rem;
	}
	.mainvisual-single h1 {
		font-size:4.8rem;
	}
}
/*-----------------------------------------
top-center-nav
------------------------------------------*/
.infoarea {
	position: relative;
	background-color:var(--color-white);
	z-index: 20;
}
.genre-anchor {
	position: absolute;
	z-index: 20;
	left:50%;
	transform: translateX(-50%);
	background-color:var(--color-white);
	display:grid;
	grid-template-columns: 1fr 1fr;
}
.genre-anchor:before,
.genre-anchor:after {
	content:"";
	position: absolute;
	background-repeat: no-repeat;
	background-size:100% auto;
	z-index: 10;
}
.genre-anchor:before {
	background-image:url(images/bg-round-l.svg);
}
.genre-anchor:after {
	background-image:url(images/bg-round-r.svg);
}
.genre-anchor a {
	display: block;
	position: relative;
	text-align: center;
}
.genre-anchor a:hover {
	transform: translateY(-3px);
}
.genre-anchor a span {
	display: block;
	font-weight:700;
}
@media (width < 767px) {
	.genre-anchor {
		width:70vw;
		height:20vw;
		border-radius:3vw;
		top:-10vw;
	}
	.genre-anchor:before,
	.genre-anchor:after {
		width:3vw;
		height:3vw;
		top:7vw;
	}
	.genre-anchor:before {
		left:-2.7vw;
	}
	.genre-anchor:after {
		right:-2.7vw;
	}
	.genre-anchor a {
		padding-top:3vw;
	}
	.genre-anchor a img {
		width:8vw;
	}
	.genre-anchor a span {
		padding-top: 2vw;
	}
}
@media (768px <= width) {
	.genre-anchor {
		width:600px;
		height:120px;
		border-radius:20px;
		top:-60px;
	}
	.genre-anchor:before,
	.genre-anchor:after {
		width:20px;
		height:20px;
		top:40px;
	}
	.genre-anchor:before {
		left:-20px;
	}
	.genre-anchor:after {
		right:-20px;
	}
	.genre-anchor a {
		padding-top:24px;
	}
	.genre-anchor a img {
		width:40px;
	}
	.genre-anchor a span {
		padding-top: 12px;
	}
}
/*-----------------------------------------
btn
------------------------------------------*/
.btn {
	position: relative;
	margin-left:auto;
	margin-right:auto;
	display:flex;
	align-items: center;
	justify-content: center;
}
.btn-readmore,
.btn-back {
	color:var(--color-pink);
	font-weight: 700;
}
.btn-readmore:before,
.btn-back:before {
	content:"";
	font-weight: 400;
	background-image:url(images/arrow.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 20px auto;
	background-color:var(--color-pink);
	border-radius:50%;
	position: relative;
	display: inline-block;
	width:30px;
	height:30px;
	margin-right:0.5em;
}
.btn-back:before {
	transform: rotate(180deg);
}
.btn-readmore:hover,
.btn-back:hover {
	color:var(--color-blue);
}
.btn-readmore:hover:before,
.btn-back:hover:before {
	background-color:var(--color-blue);
}
.normal-btn {
	display:block;
	position: relative;
	color:var(--color-white);
	background-color:var(--color-pink);
	text-align: center;
	width:240px;
	height:48px;
	line-height:48px;
	border-radius:48px;
	font-size:16px;
}
.normal-btn:hover {
	background-color:var(--color-blue);
}
.normal-btn:after {
	content:"";
	position: absolute;
	width:20px;
	height:20px;
	top:14px;
	right:14px;
	background-image:url(images/arrow.svg);
	background-repeat: no-repeat;
	background-position:center center;
}
@media (width < 767px) {
	.btn-readmore {
		margin-top: 5vw;
		margin-bottom:5vw;
	}
	.single-contents .btn-back, .maincontents .btn-back {
		margin-top: 10vw;
		margin-bottom:10vw;
	}
}
@media (768px <= width) {
	.btn-readmore {
		margin-top: 20px;
		margin-bottom:20px;
	}
	.single-contents .btn-back, .maincontents .btn-back {
		margin-top: 60px;
		margin-bottom:60px;
	}
}
/*-----------------------------------------
title
------------------------------------------*/
.page-tt,
.single-date {
	position: relative;
	font-weight:700;
	text-align: center;
}
.page-tt:after,
.single-date:after {
	content:"";
	width:50px;
	height:3px;
	background-color:var(--color-pink);
	position: absolute;
	bottom:-15px;
	left:50%;
	transform: translateX(-50%);
}
.page-tt-wrap {
	padding-top:1px;
	padding-bottom:1px;
}
@media (width < 767px) {
	.page-tt {
		font-size:var(--font-sp-x-large);
		margin:10vw auto;
	}
}
@media (768px <= width) {
	.page-tt {
		font-size:24px;
		margin:60px auto;
	}
}
/*-----------------------------------------
top-lead-area
------------------------------------------*/
.news-list li {
	display: grid;
}
.news-list li span {
	border-radius:4px;
	text-align: center;
	color:var(--color-white);
	font-weight:700;
}
.news-list li a {
	line-height:150%;
}
.category-change,
.category-vaccin,
.category-kyushin,
.category-event {
	background-color:var(--color-pink);
}
.category-important {
	background-color:var(--color-green);
}
.week-table {
	table-layout: fixed;
}
.week-table,
.time-table {
	width:100%;
	border-collapse: separate;
	border-spacing: 4px;
}
.week-table th,
.week-table td {
	text-align: center;
	padding-top:0.75em;
	padding-bottom:0.75em;
}
.week-table th {
	color:var(--color-white);
	font-weight:700;
}
.week-table.naika-table th {
	background-color:var(--color-pink);
}
.week-table.geka-table th {
	background-color:var(--color-blue);
}
.week-table.naika-table .week-open,
.week-table.naika-table td:has(.cl-open) {
	color:var(--color-pink);
	background-color:#ffe7ee;
	font-weight:700;
}
.week-table.geka-table .week-open,
.week-table.geka-table td:has(.cl-open) {
	color:var(--color-blue);
	background-color:#ecf1ff;
	font-weight:700;
}
.week-table.naika-table .week-open a {
	color:var(--color-pink);
}
.week-table.geka-table .week-open a {
	color:var(--color-blue);
}
.week-table td {
	color:#999999;
	background-color:var(--color-line);
	font-weight:700;
}
.week-table thead tr th:first-child {
	border-radius:8px 0 0 0;
}
.week-table thead tr th:last-child {
	border-radius:0 8px 0 0;
}
.week-table tbody tr:last-child td:first-child {
	border-radius:0 0 0 8px;
}
.week-table.naika-table tbody tr td:first-child {
	color:var(--color-white);
	background-color:var(--color-pink);
}
.week-table.geka-table tbody tr td:first-child {
	color:var(--color-white);
	background-color:var(--color-blue);
}
.week-table tbody tr:last-child td:last-child {
	border-radius:0 0 8px 0;
}
.time-table tbody tr td:first-child  {
	color:var(--color-white);
	font-weight:700;
	background-color:var(--color-green);
	border-radius:8px 0 0 8px;
}
.time-table th,
.time-table td {
	padding:0.5em;
	line-height: 150%;
}
.time-table td {
	background-color:var(--color-bg-gray);
}
.time-table tbody tr td:last-child {
	border-radius:0 8px 8px 0;
}
.banner-sougei {
	display: block;
	border-radius: 6px;
	overflow: hidden;
	box-shadow:0 2px 4px -1px rgba(0,0,0,0.2);
}
.banner-sougei:hover {
	transform: translateY(2px);
	box-shadow:0 2px 4px -1px rgba(0,0,0,0);
}
@media (width < 767px) {
	.lead-area {
		padding-top:15vw;
		padding-bottom:10vw;
	}
	.news-list li {
		padding:4vw 0;
		border-bottom:1px solid var(--color-line);
	}
	.news-list li span {
		width:33vw;
		height:20px;
		line-height:20px;
		font-size:1.4rem;
		margin-bottom: 3vw;
	}
	.calendar-box .week-table {
		margin-bottom:4vw;
	}
	.calendar-box .time-table {
		margin-bottom:4vw;
	}
	.banner-sougei {
		padding-right:2.5vw;
		margin-top:8vw;
	}
}
@media (768px <= width) {
	.lead-area {
		padding-top:128px;
		padding-bottom:100px;
		display:grid;
		grid-template-columns: 50fr 41fr;
		grid-column-gap: 50px;
	}
	.lead-area .page-tt {
		margin:0px auto;
	}
	.news-box .news-list {
		padding-top:54px;
	}
	.news-list li {
		grid-template-columns: 110px 1fr;
		grid-column-gap: 16px;
		padding:15px 0;
		border-bottom:1px solid var(--color-line);
	}
	.news-list li span {
		height:24px;
		line-height:24px;
		font-size:var(--font-pc-small);
	}
	.calendar-box .week-table {
		padding-top:54px;
		margin-bottom:32px;
	}
	.calendar-box .week-table.geka-table {
		margin-bottom:16px;
	}
	.calendar-box .week-table a {
		font-size:var(--font-pc-small);
	}
	.calendar-box .time-table {
		margin-bottom:16px;
	}
	.banner-sougei {
		margin-top:35px;
	}
}
/*-----------------------------------------
top-department
------------------------------------------*/
.department-area {
	position: relative;
	background-color:var(--color-white);
	transition: all 1.5s;
	z-index:1;
}
.department-area.show {
	background-color:var(--color-bg-gray);
}
.department-area:before {
	content:"";
	background-color:var(--color-white);
	position: absolute;
	left:0;
	width:100%;
	z-index: 5;
}
.blob {
	position: fixed;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	z-index: 3;
	opacity: 0;
	transition: all 0.5s;
}
.department-area.show .blob {
	opacity: 1;
}
.department-area section {
	position: relative;
	z-index: 10;
}
.department-tt-box {
	position: relative;
	z-index: 10;
}
.department-tt-box * {
	color:var(--color-white);
	font-weight: 400;
}
.department-tt-box:after {
	content:"";
	position: absolute;
	z-index: 20;
	border-radius:50%;
	background-color:var(--color-white);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:60px auto;
	top:50%;
	transform: translateY(-50%);
}
.tt-naika:after {
	background-image:url(images/icon-naika.svg);
}
.tt-geka:after {
	background-image:url(images/icon-geka.svg);
}
.department-left .department-tt-box {
	background-color:var(--color-pink);
}
.department-right .department-tt-box {
	background-color:var(--color-blue);
}
.tt-tantou {
	background-image: url(images/bg-dotline-white.svg);
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size:6px 3px;
	padding-bottom: 1em;
	margin-bottom:1em;
}
.staff a {
	display: block;
	color:var(--color-white);
	padding-bottom:0.25em;
}
.department-left .department-en {
	color:var(--color-pink);
	letter-spacing: 0.2em;
}
.department-right .department-en {
	color:var(--color-blue);
	letter-spacing: 0.2em;
}
#waveCanvas {
	position: absolute;
	z-index: 20;
	width:100%;
	left:0;
	bottom:-2px;
}
@media (width < 767px) {
	.department-area {
		padding-bottom:20vw;
	}
	.department-area:before {
		top:-12.5vw;
		height:25vw;
	}
	.department-tt-box {
		width:80vw;
	}
	.department-left .department-tt-box {
		margin-right:auto;
		border-radius:0 5vw 5vw 0;
		padding:5vw 15vw 5vw 5vw;
	}
	.department-right .department-tt-box {
		margin-left:auto;
		border-radius:5vw 0 0 5vw;
		padding:5vw 5vw 5vw 15vw;
	}
	.department-tt-box h2 {
		font-size:var(--font-sp-xxx-large);
		padding-bottom:4vw;
	}
	.tantou-grid {
		display:grid;
		grid-template-columns: 3em 3fr;
		grid-column-gap: 5vw;
	}
	.department-left .department-tt-box:after {
		width:20vw;
		height:20vw;
		right:-10vw;
	}
	.department-right .department-tt-box:after {
		width:20vw;
		height:20vw;
		left:-10vw;
	}
	.department-word {
		padding:5vw;
	}
	.department-en {
		display:none;
	}
	.blob {
		width:60vw;
		height:60vw;
	}
	#waveCanvas {
		height:30vw;
	}
}
@media (768px <= width) {
	.department-area {
		padding-bottom:68px;
	}
	.department-area:before {
		top:-50px;
		height:100px;
	}
	.department-area section {
		display:grid;
		grid-column-gap: 75px;
		padding-bottom:80px;
	}
	.department-area .department-left {
		grid-template-columns: 35vw 1fr;
	}
	.department-area .department-right {
		grid-template-columns: 1fr 35vw;
	}
	.department-tt-box {
		height:320px;
	}
	.department-left .department-tt-box {
		border-radius:0 40px 40px 0;
		padding-left:25px;
		padding-right:75px;
		text-align: right;
	}
	.department-right .department-tt-box {
		border-radius:40px 0px 0px 40px;
		padding-left:75px;
		padding-right:25px;
		text-align: left;
		grid-area: 1 / 2 / 2 / 3;
	}
	.department-left .department-tt-box:after {
		width:100px;
		height:100px;
		right:-50px;
	}
	.department-right .department-tt-box:after {
		width:100px;
		height:100px;
		left:-50px;
	}
	.department-tt-box h2 {
		font-size:clamp(48px,6vw,60px);
		padding-top:44px;
		padding-bottom: 44px;
	}
	.tt-tantou {
		width:144px;
		font-size:20px;
	}
	.department-left .tt-tantou {
		margin-left:auto;
	}
	.staff,
	.staff a {
		font-size:20px;
	}
	.department-left .department-word {
		max-width:720px;
	}
	.department-right .department-word {
		max-width:720px;
		margin-left:auto;
	}
	.department-left .department-word {
		padding-right:20px;
	}
	.department-right .department-word {
		padding-left:20px;
		grid-area: 1 / 1 / 2 / 2;
	}
	.department-en {
		font-size:30px;
		padding-bottom:30px;
	}
	.blob {
		width:360px;
		height:360px;
	}
	#waveCanvas {
		height:128px;
	}
}
/*-----------------------------------------
top-about
------------------------------------------*/
.about-area {
	position: relative;
	z-index: 20;
	background-color:var(--color-white);
}
.about-pic img {
	display: block;
}
@media (width < 767px) {
	.about-txt {
		padding-bottom:10vw;
	}
	.about-pic {
		width:50vw;
		margin-left:auto;
		margin-right:auto;
		margin-bottom:5vw;
	}
	.about-pic img {
		border-radius:10vw;
	}
	.about-profile {
		width:60vw;
		text-align: center;
		margin-left:auto;
		margin-right:auto;
		margin-bottom:10vw;
	}
	.about-profile .normal-btn {
		margin-top:5vw;
		margin-left:auto;
	}
}
@media (768px <= width) {
	.about-grid {
		display:grid;
		grid-template-columns: 2fr 1fr;
		padding-top:75px;
		padding-bottom: 75px;
	}
	.about-txt {
		grid-area: 1 / 1 / 2 / 2;
		padding-right:60px;
	}
	.about-txt2 {
		grid-area: 1 / 1 / 2 / 3;
		padding-right:60px;
	}
	.about-pic {
		grid-area: 1 / 2 / 3 / 3;
	}
	.about-pic img {
		border-radius:20px;
	}
	.about-profile {
		grid-area: 2 / 1 / 3 / 2;
		padding-right:60px;
		text-align: right;
	}
	.about-profile .normal-btn {
		margin-top:40px;
		margin-left:auto;
	}
}
/*-----------------------------------------
footer
------------------------------------------*/
.access {
	background-color:var(--color-blue);
}
.access * {
	color:var(--color-white);
	font-weight: 700;
}
address {
	padding-right:2em;
	line-height: 150%;
}
.access h2 {
	position: relative;
	z-index: 10;
}
.access h2:after {
	position: absolute;
	content:"";
	width:50px;
	height:3px;
	background-color:var(--color-white);
	left:0;
}
.footer-tel,
.footer-fax {
	display: block;
	position: relative;
	z-index: 10;
}
.footer-tel:before,
.footer-fax:before {
	content:"";
	background-size:contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	top:0;
	left:0;
}
.footer-tel:before {
	background-image:url(images/icon-tel.svg);
}
.footer-fax:before {
	background-image:url(images/icon-fax.svg);
}
.footer-pdf {
	position: relative;
	z-index: 3;
	display: block;
	padding-top:1.5em;
	padding-left:clamp(80px,12vw,160px);
}
.footer-pdf:after {
	content:"PDF";
	font-size:12px;
	display: inline-block;
	color:var(--color-white);
	background-color:var(--color-pink);
	border-radius:50%;
	width:30px;
	height:30px;
	line-height: 30px;
	text-align: center;
	margin-left:0.5em;
}
.credit {
	text-align: center;
	padding:1.5em;
	font-weight: 700;
}
.footer-group {
	background-image:url(images/bg-group.webp);
	background-size:cover;
	background-position: center center;
}
.group-btn {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 16px;
	align-items: center;
	min-height:60px;
	margin-left:auto;
	margin-right:auto;
	background-color:var(--color-white);
	border-radius:6px;
}
.group-btn span {
	font-size:12px;
	line-height: 150%;
	font-weight: 700;
}
@media (width < 767px) {
	.access {
		padding:5vw;
	}
	.access-grid {
		display: grid;
		grid-template-columns: 1fr 3fr;
		align-items: center;
	}
	.access h2 {
		transform: translateY(-4vw);
	}
	.access h2:after {
		bottom:-4vw;
	}
	.access address {
		font-size:var(--font-sp-small);
	}
	.footer-tel,
	.footer-fax {
		margin-top:4vw;
		font-size:var(--font-sp-xx-large);
		letter-spacing: 0.1em;
		padding-left:10vw;
	}
	.footer-tel:before,
	.footer-fax:before {
		width:7vw;
		height:7vw;
	}
	.footer-map {
		height:400px;
	}
	.footer-group {
		padding:5vw;
	}
	.group-btn {
		padding:2.5vw;
	}
	.footer-mail-float,
	.footer-tel-float {
		display: block;
		position: fixed;
		z-index: 98;
		width: 60px;
		height: 60px;
		bottom:0;
		overflow: hidden;
	}
	.footer-mail-float {
		background:rgba(92,116,176,0.8);
		padding:15px;
		border-radius: 0 5vw 0 0;
		left:0;
	}
	.footer-tel-float {
		background:rgba(237,121,153,0.8);
		padding:10px;
		border-radius: 5vw 0 0 0;
		right:0;
	}
}
@media (768px <= width) {
	footer {
		display:grid;
		grid-template-columns: 1fr 1fr;
	}
	.access {
		padding-top:40px;
		padding-left:7.8vw;
	}
	.access h2 {
		margin-bottom:60px;
		font-size:30px;
	}
	.access h2:after {
		bottom:-28px;
	}
	.access address {
		letter-spacing: 0.1em;
	}
	.footer-tel-float,
	.footer-mail-float {
		display:none;
	}
	.footer-tel,
	.footer-fax {
		margin-top:30px;
		font-size:clamp(29px,3.8vw,48px);
		letter-spacing: 0.1em;
		padding-left:clamp(36px,4.7vw,60px);
	}
	.footer-tel:before,
	.footer-fax:before {
		width:clamp(29px,3.8vw,48px);
		height:clamp(29px,3.8vw,48px);
	}
	.footer-group {
		padding:16px;
	}
	.group-btn {
		width:350px;
		padding:8px;
	}
}
/*-----------------------------------------
drawr SP-mode-menu
------------------------------------------*/
@media (width < 767px) {
	.drawer-btn {
		position: fixed;
		z-index: 1001;
		width:60px;
		height:60px;
		top:0;
		right:0;
		background-image:url(images/burger.svg);
		background-color:rgba(255,255,255,0.5);
		background-size:5vw auto;
		background-repeat: no-repeat;
		background-position: center center;
		border-radius:0 0 0 5vw;
	}
	header.smaller+.drawer-btn {
		background-image:url(images/burger.svg);
	}
	.drawer-btn.drawer-btn-peke,
	header.smaller+.drawer-btn.drawer-btn-peke {
		background-color:transparent;
		background-image:url(images/close.svg);
	}
	.drawer {
		display: none;
		background:var(--color-pink);
		position: fixed;
		top:0px;
		right:0;
		width:70vw;
		height:110vw;
		overflow-y:auto;
		overflow-x:hidden;
		z-index: 1000;
		padding-top:calc(60px + 2vw);
		border-radius:0 0 0 8vw;
	}
	.drawer * {
		color:var(--color-white);
		font-weight: 700;
	}
	.drawer ul {
		width:60vw;
		margin-left:auto;
		margin-right: auto;
		margin-bottom:8vw;
	}
	.drawer li a {
		display:block;
		background:rgba(0,0,0,0.2);
		padding:1em 1em;
		border-radius:5px;
		margin-bottom:4vw;
	}
	.drawer-contact {
		width:56vw;
		margin-left:auto;
		margin-right: auto;
	}
}
@media (768px <= width) {
	.drawer-btn,
	.drawer {
		display: none;
	}
}
/*-----------------------------------------
doctor-profile
------------------------------------------*/
.doctor-box {
	position: relative;
	z-index: 10;
	background-color:var(--color-bg-gray);
	overflow: hidden;
}
.doctor-box:before {
	content:"";
	background-color:var(--color-pink);
	position: absolute;
	z-index: 5;
	top:0;
	left:0;
	clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.doctor-grid {
	display: grid;
}
.doctor-pic {
	position: relative;
	z-index: 10;
}
.doctor-pic img {
	display: block;
}
.doctor-name {
	font-weight:400;
}
.doctor-name small {
	font-size:14px;
	font-weight:400;
}
.doctor-profile dl {
	display:grid;
	border-bottom:1px solid var(--color-line);
	padding:1em 0;
}
.doctor-profile dl:last-child {
	border-bottom:none;
}
.doctor-profile dt h3 {
	color:var(--color-white);
	font-size:14px;
	background-color:var(--color-pink);
	border-radius:5px;
	padding:5px;
	text-align: center;
}
.doctor-profile dd {
	line-height:150%;
}
.doctor-content {
	border-top:1px solid var(--color-line);
	padding-top:1em;
}
@media (width < 767px) {
	.doctor-box {
		margin-top:5vw;
		border-radius: 5vw;
		padding:5vw;
	}
	.doctor-box:before {
		width:40vw;
		height:40vw;
	}
	.doctor-grid {
		grid-template-columns: 30vw 3fr;
		grid-column-gap: 5vw;
		grid-row-gap: 5vw;
	}
	.doctor-pic {
		grid-area: 1 / 1 / 2 / 2;
	}
	.doctor-pic img {
		border-radius: 4vw;
	}
	.doctor-name {
		grid-area: 1 / 2 / 2 / 3;
		font-size:var(--font-sp-x-large);
		padding-top:11vw;
	}
	.doctor-name small {
		display: block;
	}
	.doctor-profile {
		grid-area: 2 / 1 / 3 / 3;
	}
	.doctor-profile dl {
		grid-template-columns: 30vw 1fr;
		grid-column-gap: 5vw;
	}
	.doctor-content {
		line-height:200%;
	}
}
@media (768px <= width) {
	.doctor-box {
		margin-top:60px;
		border-radius: 16px;
		padding:30px;
	}
	.doctor-box:before {
	width:280px;
	height:280px;
	}
	.doctor-grid {
		grid-template-columns: 30fr 54fr;
		grid-column-gap: clamp(30px,4vw,50px);
		grid-template-rows: 60px 1fr;
	}
	.doctor-pic {
		grid-area: 1 / 1 / 3 / 2;
	}
	.doctor-pic img {
		border-radius: 16px;
	}
	.doctor-name {
		grid-area: 1 / 2 / 2 / 3;
		font-size:var(--font-pc-xx-large);
	}
	.doctor-profile {
		grid-area: 2 / 2 / 3 / 3;
	}
	.doctor-profile dl {
		grid-template-columns: 92px 1fr;
		grid-column-gap: 36px;
	}
	.doctor-content {
		line-height:200%;
	}
}
/*-----------------------------------------
gallery
------------------------------------------*/
.gallery-slide li {
	aspect-ratio:16 / 9;
	background-size:cover;
}
.thumbnails {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
}
@media (width < 767px) {
	.gallery-slide li {
		border-radius:2.5vw;
	}
	.thumbnails {
		margin-top:2.5vw;
		grid-column-gap: 2.5vw;
	}
	.gallery-contents {
		line-height:175%;
		padding-top:5vw;
	}
}
@media (768px <= width) {
	.gallery-grid {
		display:grid;
		grid-template-columns: 1fr 1fr;
	}
	.gallery-slide li {
		border-radius:16px;
	}
	.thumbnails {
		margin-top:30px;
		grid-column-gap: 30px;
	}
	.gallery-contents {
		line-height:200%;
		padding-top:45px;
	}
	.gallery-grid-right .gallery-slide {
		grid-area: 1 / 2 / 2 / 3;
	}
	.gallery-grid-left .gallery-contents {
		padding-left:50px;
	}
	.gallery-grid-right .gallery-contents {
		padding-right:50px;
		grid-area: 1 / 1 / 2 / 2;
	}
}
/*-----------------------------------------
contact
------------------------------------------*/
.telbox {
	background-color:var(--color-pink);
	text-align: center;
	margin-left:auto;
	margin-right:auto;
	overflow: hidden;
}
.telbox * {
	color:var(--color-white);
	font-weight:700;
}
.telbox span {
	display: block;
	padding:1em;
}
.telbox .footer-tel {
	text-align: left;
	margin-top:0;
	margin-left:auto;
	margin-right:auto;
}
.tel-time {
	background:#d93c67;
	padding:1em;
}
.formtype,
.formtype-single {
	overflow: hidden;
}
.formtype-single {
	margin:1em auto;
}
.formtype dt {
	color:var(--color-white);
	font-weight:700;
	background-color:var(--color-pink);
}
.formtype dd {
	padding:0.5em;
}
.formtype dd,
.formtype-single dd {
	background-color:var(--color-white);
}
input[type=text],
input[type=tel],
input[type=email],
select,
textarea {
	width:100%;
	border:none;
	padding:0.75em 1em;
	line-height: 150%;
	resize: none;
}
input:placeholder {
	color:var(--color-line);
}
.form-policy-before {
	margin-top:2em;
	margin-bottom:1em;
}
.form-policy {
	width:100%;
	height:10em;
	overflow-y: scroll;
	background-color:var(--color-white);
	padding:0.5em;
	margin-bottom:2em;
}
.formtype-single input {
	margin-right:1em;
}
.formtype-single label {
	color:var(--color-pink);
	font-weight:700;
}
.btn-submit {
	border:none;
	color:var(--color-white);
	background-color:var(--color-pink);
	background-image:url(images/arrow.svg);
	background-size:20px auto;
	background-repeat: no-repeat;
	background-position: 200px center;
	text-align: center;
	width:240px;
	height:48px;
	line-height:48px;
	border-radius:48px;
	font-size:16px;
	cursor: pointer;
	font-weight:700;
}
.btn-submit:hover {
	background-color:var(--color-blue);
}
@media (width < 767px) {
	.telbox {
		border-radius:5vw;
		margin-bottom:10vw;
	}
	.telbox .footer-tel {
		width:55vw;
		margin-bottom:5vw;
	}
	.formarea {
		padding-bottom:60px;
	}
	.formtype dt {
		padding:1em;
		line-height: 150%;
	}
	.formtype {
		border-radius:5vw;
		margin-top:5vw;
	}
	.formtype-single {
		border-radius:5vw;
	}
	.formtype-single dd {
		padding:1em;
	}
	.btn-submit {
		margin-top:10vw;
	}
}
@media (768px <= width) {
	.telbox {
		border-radius:16px;
		margin-bottom:60px;
	}
	.telbox .footer-tel {
		width:400px;
		margin-bottom:20px;
	}
	.formarea {
		padding-bottom:60px;
	}
	.formtype dt {
		padding:1.25em 1em;
		line-height: 150%;
	}
	.formtype {
		display:grid;
		grid-template-columns: 1fr 3fr;
		border-radius:16px;
		margin-top:16px;
	}
	.formtype-single {
		border-radius:16px;
	}
	.formtype-single dd {
		padding:1em;
	}
	.btn-submit {
		margin-top:40px;
	}
}
.policy p,
.policy ul,
.policy ol li {
	margin-bottom:1em;
}
/*-----------------------------------------
archive
------------------------------------------*/
.archive-category ul {
	border-top:1px solid var(--color-line);
}
.archive-category li {
	border-bottom:1px solid var(--color-line);
}
.archive-category a {
	position: relative;
	display:block;
	color:var(--color-pink);
	font-weight:700;
}
.archive-category a:after {
	content:"";
	font-weight: 400;
	background-image:url(images/arrow.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-color:var(--color-pink);
	border-radius:50%;
	position: absolute;
	top:50%;
	transform: translateY(-50%);
}
.archive-category a:hover {
	color:var(--color-blue);
	padding-left:1em;
}
.archive-category a:hover:after {
	background-color:var(--color-blue);
}
.wp-pagenavi {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
	color:var(--color-white);
	font-weight:700;
}
.wp-pagenavi a {
	background-color:var(--color-pink);
}
.wp-pagenavi span.current {
	display:block;
	background-color:var(--color-blue);
}
@media (width < 767px) {
	.archive-category ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding-bottom:8vw;
	}
	.archive-category a {
		padding:4vw 8vw 4vw 2vw;
	}
	.archive-category a:after {
		background-size: 4vw auto;
		width:6vw;
		height:6vw;
		right:2vw;
	}
	.wp-pagenavi {
		margin:8vw auto;
		column-gap: 3vw;
	}
	.wp-pagenavi a,
	.wp-pagenavi span {
		height:10vw;
		min-width:10vw;
		line-height:10vw;
		border-radius:5vw;
	}
}
@media (768px <= width) {
	.archive-grid {
		display:grid;
		grid-template-columns: 2fr 1fr;
		padding-top:60px;
		padding-bottom:60px;
	}
	.archive-category {
		padding-left:clamp(70px,9vw,120px);
	}
	.archive-category a {
		padding:24px 48px 24px 0px;
	}
	.archive-category a:after {
		background-size: 20px auto;
		width:30px;
		height:30px;
		right:0;
	}
	.wp-pagenavi {
		margin:48px auto 0px auto;
		column-gap: 16px;
	}
	.wp-pagenavi a,
	.wp-pagenavi span {
		height:40px;
		min-width:40px;
		line-height:40px;
		border-radius:20px;
	}
}
/*-----------------------------------------
single
------------------------------------------*/
.single-contents * {
	margin:1em auto;
}
.single-contents a {
	text-decoration: underline;
	color:var(--color-pink);
}
.single-contents ul li {
	margin-left:16px;
	padding-left:4px;
	line-height:200%;
}
@media (width < 767px) {
	.single-date {
		font-size:var(--font-sp-x-large);
		margin:0 auto 10vw auto;
	}
	.single-contents {
		line-height:175%;
	}
	.single-contents img {
		border-radius:5vw;
	}
}
@media (768px <= width) {
	.single-date {
		font-size:24px;
		margin:0 auto 60px auto;
	}
	.single-contents {
		line-height:200%;
	}
	.single-contents img {
		border-radius:20px;
	}
}
/*-----------------------------------------
top-mordal
------------------------------------------*/
body.open-popup {
	overflow: hidden;
}

.bg-onetime-popup {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 9999;
	width: 100vw;
	height: 100dvh;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: 0.5s;
}

body.open-popup .bg-onetime-popup {
	opacity: 1;
	visibility: visible;
}

.onetime-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	background-color: #fff;
}
.onetime-popup-title {
	position: relative;
	padding: 0.5em 32px 0.5em 0.5em;
	color:var(--color-white);
	background-color:var(--color-pink);
}
.onetime-popup-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	transform: translate(24px,-20px);
	cursor: pointer;
	border-radius:50%;
	background-color:var(--color-pink);
	text-indent:100%;
	white-space: nowrap;
	overflow: hidden;
}
.onetime-popup-close:before,
.onetime-popup-close:after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 60%;
	height: 3px;
	background-color: #fff;
	content: "";
}
.onetime-popup-close:before {
	transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.onetime-popup-close:after {
	transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
.onetime-popup-content {
	overflow-y: scroll;
}
.onetime-popup-content h2 {
	font-size:larger;
	padding:1em 0;
	color:var(--color-pink);
}
@media (width < 767px) {
	.onetime-popup {
		width: 80vw;
		height:106vw;
	}
	.onetime-popup-content {
		max-height:96vw;
		padding:5vw;
	}
}
@media (768px <= width) {
	.onetime-popup {
		width: 700px;
		max-height:525px;

	}
	.onetime-popup-content {
		max-height:450px;
		padding:30px;
	}
}