@charset "UTF-8";

/* =============================================
	mobile menu settings
=============================================　*/
/* Mobile Menu Button */
#menu-button{
	visibility:hidden;
	opacity:0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 900;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	background-color: #63271d;
}
#menu-button.nav-on {
	visibility:visible;
	opacity:1;
}
#menu-button .ham-lines {
	position: relative;
	margin: 0 auto;
	width: 32px;
	height: 32px;
}
#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
	position: absolute;
	display: block;
	right: 0;
	left: 0;
	margin: 0 auto;
	width: 28px;
	height: 2px;
	background-color: #fff;
	border-radius: 1px;
}
#menu-button .ham-lines span {
	bottom: 15px;
	transition: all .25s .25s;
	opacity: 1;
}
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
	content: "";
}
#menu-button .ham-lines::before{
	bottom: 24px;
	animation: menu-bar01 .75s forwards;
}
#menu-button .ham-lines::after {
	bottom: 6px;
	animation: menu-bar03 .75s forwards;
}
#menu-button .ham-text {
	font-size: 12px;
	line-height: 1;
	color: #fff;
}
#menu-button.is-active .ham-lines span {
	opacity: 0;
}
#menu-button.is-active .ham-lines::before {
	animation: active-menu-bar01 .5s forwards;
}
#menu-button.is-active .ham-lines::after {
	animation: active-menu-bar03 .5s forwards;
}
@keyframes menu-bar01 {
	0% {
		transform: translateY(9px) rotate(45deg);
	}
	50% {
		transform: translateY(9px) rotate(0);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}
@keyframes menu-bar03 {
	0% {
		transform: translateY(-9px) rotate(-45deg);
	}
	50% {
		transform: translateY(-9px) rotate(0);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}
@keyframes active-menu-bar01 {
	0% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(9px) rotate(0);
	}
	100% {
		transform: translateY(9px) rotate(45deg);
	}
}
@keyframes active-menu-bar03 {
	0% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(-9px) rotate(0);
	}
	100% {
		transform: translateY(-9px) rotate(-45deg);
	}
}
/* Mobile Menu Button end */

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

	Common settings

============================================= */
/* table border and paddings */
table th,
table td{
	border: 1px solid #424242;
	padding: 10px;
}

#main-menu-container.is-active {
	padding: 50px 0;
	box-sizing: border-box;
}

#main-menu-container.is-active #main-menu {
	flex-direction: column;
}
#main-menu-container.is-active #main-menu li ul.sub-menu {
	display: block;
    position: static;
    margin: 0 0 0 25px;
    transform: none;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}
#main-menu-container.is-active #main-menu li ul.sub-menu li a {
	padding: 0;
	background: none;
	text-align: left;
	padding: 10px 20px;
    background: none;
    text-align: left;
    border-left: 1px solid;
}

body .site {
	color:#333;
  	font-size:14px;
  	font-family: "ヒラギノ角ゴ ProN W3″", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	background: white;
	line-height: 1.7;
}
body .site a {
	color: #000;
	text-decoration: underline;
}
body .site a:hover{
		color:#333;
  	text-decoration:none;
}
body .pagewidth {
	width: 100%;
	max-width: 1000px;
}
body .row_inner {
	width: 100%;
	max-width: 100%;
}

/* =========== HEADER ========== */
#headerwrap #header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0;
	margin-bottom: 10px;
}
#header .h-right {
	display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#header .header-contact {
	display: flex;
	align-items: center;
	gap: 12px;
}
#header .header-addr {
	background: url(../../uploads/header-addr-bg.png) no-repeat left;
	padding-left: 14px;
}


/* =========== MENU ========== */
#main-menu-container {
	
}
#main-menu-container #main-menu {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
#main-menu-container #main-menu li {
  	padding: 0px;
	position: relative;
	display: block;
	margin: 0;
}
#main-menu-container #main-menu > li:last-child {
  	display: none;
}
#main-menu-container #main-menu li a {
    width: 100%;
    height: 100%;
    text-align:left;
    padding: 20px 0px;
    margin: 0;
	display: block;
  	font-size: 16px;
  	font-family: 'Noto Sans', sans-serif;	
  	color:#333;
	text-decoration: none;
}
#main-menu-container #main-menu li a:hover {
    opacity:0.7;
}
#main-menu-container #main-menu li ul.sub-menu {
	display: none;
	position: absolute;
	width: 100px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    border: none;
    margin: 0 auto; 
    background: #f1e6de;
    border-bottom: 1px solid #63271d;
  	padding:0px;
	z-index: 1;
}
#main-menu-container #main-menu li:hover ul.sub-menu {
	display: block;
}
#main-menu-container #main-menu li ul li a {
    text-align:center;
  	display:block;
  	border-radius:0;
  	width: auto;
  	padding:10px 0px;
}



/* =========== FOOTER ========== */
#footerwrap {
	background: #63271d;
	color: white;
}
#footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#footerwrap #footer:after {
	display: none;
}
#footerwrap .copyright-container {
	font-size: 14px;
	display: flex;
    align-items: center;
    gap: 10px;
}
#footerwrap .copyright-container a, #footerwrap .copyright-container img {
	display: block;
}
#pagewrap #footerwrap #footer-nav {
  	padding: 15px 0px;
	margin: 0;
}

#pagewrap #footerwrap #footer-nav li a {
	display: block;
    color:#fff;
  	font-family: 'Noto Sans', sans-serif;
  	font-size: 13px;
	text-decoration: underline;
}

#pagewrap #footerwrap #footer-nav li{
    border-left: 1px solid #fff;
  	line-height: 0.8;
	padding: 0 10px;
	margin: 0;
}
#pagewrap #footerwrap #footer-nav li:first-child {
    border-left: none;
}

body #pc-backtop {
    bottom: 60px;
    right: 20px;
    width: 83px;
    height: 43px;
}

/* =========== POST ========== */
.home-post .list-post {
    min-height: 307px;
    overflow: auto;
    border-top: none;
    background: #fff;
    border-top: 1px solid #63271d;
    border-bottom: 1px solid #63271d;
}
.home-post .list-post .post {
	padding: 20px 0px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0px;
}
.home-post.module .post-date {
    margin: 0px;
    float: left;
    padding-right: 15px;
    color: #333;
    font-weight: bold;
}
#body .home-post.module .post-title {
    font-size: 14px;
    margin-bottom: 7px;
	line-height: 1.6;
}


/* =========== TABLE ========== */
body table {
	width: 100%;
	border-collapse: collapse;
}
.table1.module p{
		margin-bottom:2px;
}
.table1 td{
		border:1px solid #514d4c;
  	padding:7px 7px 5px 7px;
  	vertical-align:top;
  	line-height:2;
}
.table1 td:first-child{
		font-weight:bold;
  	background:#e8c7b9;
  	width:21%;
}
.delegate-table.module .module-title {
		font-size:26px;
  	color:#63271d;
  	font-weight:normal;
  	margin-bottom:20px;
}
.delegate-table td{
		padding:15px 0px 13px 0px;
	border: none;
  	border-top:1px solid #acacac;
  	border-bottom:1px solid #acacac;
}

.delegate-table td:first-child{
		color:#63271d;
  	font-weight:bold;
  	width:17%;
  	font-family: "ヒラギノ角ゴ ProN W6",HiraKakuProN-W6, "メイリオ", Meiryo, sans-serif;
}

.company-table td{
	padding:22px 0px 19px 0px;
	border: none;
  	border-bottom:1px solid #acacac;
}

.company-table td:first-child{
		color:#63271d;
  	font-weight:bold;
  	width:30%;
  	font-family: "ヒラギノ角ゴ ProN W6",HiraKakuProN-W6, "メイリオ", Meiryo, sans-serif;
}

input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="month"],input[type="week"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],input[type="color"],textarea {
    -webkit-appearance: none;
    border-radius: 0;
    background-color: #fff;
    font-family: inherit;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.75);
    display: block;
    font-size: .875rem;
    margin: 0 0 1rem 0;
    padding: .5rem;
    height: 2.3125rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow .45s,border-color .45s ease-in-out
}

input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,input[type="color"]:focus,textarea:focus {
    box-shadow: 0 0 5px #999;
    border-color: #999
}

input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,input[type="color"]:focus,textarea:focus {
    background: #fafafa;
    border-color: #999;
    outline: 0
}

#layout #content .wpcf7-form table tr th span{
	color:black;
	font-size: 0.625rem;
}

#layout #content .wpcf7-form table tr th,
#layout #content .wpcf7-form table tr td{
  border:none;
  display:block;
  color:#63271d;
  font-family:Arial, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3″", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	padding: 5px 7px;
	box-sizing: border-box;
}
#body #layout .module .wpcf7 input, #body #layout .module .wpcf7 textarea {
	background: white;
	border-radius: 0;
	margin: 0 0 5px;
	box-sizing: border-box;
}
#body #layout .module .wpcf7 textarea {
	height: auto;
}
#body #layout .module .wpcf7 input[type=submit]{
  background:#63271d;
  opacity:1;
  border:1px solid #cfcfcf;
  transition:1s;
	
}
#body #layout .module .wpcf7 input[type=submit]:hover{
  background:#63271d;
  opacity:0.5;
  transition:0.5s;
}
.submit_btn {
	margin-top: 10px;
	margin-bottom: 0;
}

/* =========== TITLE ========== */
.module.module-image .image-title {
	font-size: 18px;
}
.module .module-title {
	font-size: 18px;
	margin-bottom: 15px;
}
.title-mb0 .module-title {
	margin-bottom: 0;
}
.head-one-line .fancy-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: normal;
}
.head-one-line .fancy-heading .main-head {
	font-size: 24px;
    color: #333;
    background: url(../../uploads/b-title1-bg.png) no-repeat left center;
    padding-left: 18px;
}
.head-one-line .fancy-heading .sub-head {
	font-size: 16px;
    color: #63271d;
    font-family: 'Noto Sans', sans-serif;
}
.title-38.module .module-title {
	font-size: 38px;
	color: #63271d;
	font-weight: normal;
	margin-bottom: 10px;
}
.title-36.module .module-title {
	font-size: 36px;
	color: #000;
	font-weight: normal;
}
.title-28.module .module-title {
	font-size: 28px;
    color: #63271d;
    font-weight: normal;
    font-family: 'Noto Sans', sans-serif;
}
.dentist-title1.module .module-title {
		font-size:26px;
  	color:#333;
  	text-align:center;
  	font-weight: normal;
  	padding:0px 0px 25px 0px;
  	background:url(../../uploads/dentist-title1-bg.jpg) no-repeat bottom center;
}

.b-title6.module .module-title{
		font-size:24px;
  	color:#333;
  	border-left:3px solid #63271d;
  	font-weight: normal;
  	padding: 3px 0px 1px 21px;
  	margin-bottom:20px;
  	
}

.b-title7.module .module-title, .b-title7.module .image-title {
		color:#333;
  	font-family: "ヒラギノ角ゴ ProN W6",HiraKakuProN-W6, "メイリオ", Meiryo, sans-serif;
  	border-bottom:3px solid #63271d;  	
  	padding: 3px 0px 10px 0px;
  	margin-bottom:20px;  	
}

.b-title7.module .module-title font{
		color:#63271d;
}
.title-bd.module .module-title {
	font-size: 20px;
    color: #333;
    border-bottom: 1px solid #535353;
    padding: 0px 0px 10px 0px;
}
/* =========== OTHER ========== */
.module {
	margin-bottom: 30px;
}
.module p:last-child {
	margin-bottom: 0;
}
#pagewrap .btn-brown a {
	border: 1px solid #63271d;
    padding: 10px;
    color: #63271d;
    font-size: 15px;
	min-width: 190px;
	box-sizing: border-box;
	text-align: center;
	background: none;
}
#pagewrap .top-row1 .row_inner {
	padding: 100px 20px 70px;
	background: url(../../uploads/top-row1-bg.jpg) no-repeat center;
	background-size: cover;
	max-width: 1280px;
	margin: 0 auto;
}
#pagewrap .top-row2 .row_inner {
	padding: 100px 20px 70px;
	background: url(../../uploads/top-row2-bg.jpg) no-repeat center;
	background-size: cover;
	max-width: 1280px;
	margin: 0 auto;
}
#pagewrap .contact-layout .row_inner {
	max-width: 660px;
    margin: 0 auto 70px;
    padding: 15px 20px 15px 20px;
    border: 1px solid #818181;
}
#pagewrap .contact-layout .row_inner .subrow_inner .tb-column-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
#pagewrap .contact-layout .module-image {
	margin: 0 0 15px;
}
.patient-text.module{
		padding:25px 30px;
  	border:2px solid #7c7c7c;
  	background:#f8f5f2;
  	margin-bottom:40px;
}
.patient-text.module .module-title {
		font-size:16px;
  	text-align:center;
  	color:#333;
  	margin-bottom:20px;
}
#body .tech-ga.gallery .gallery-caption {
	font-size: 100%;
    text-align: left;
    margin: 15px 0 0;
    font-family: "ヒラギノ角ゴ ProN W6", HiraKakuProN-W6, "メイリオ", Meiryo, sans-serif;
    line-height: 1.7;
}
.equip-img.module-image .image-title {
    font-size:14px;
  	font-family: "ヒラギノ角ゴ ProN W6",HiraKakuProN-W6, "メイリオ", Meiryo, sans-serif;
	margin: 0.7em 0;
}
.contact-text.module {
    background: #fff;
    max-height: 300px;
    overflow: auto;
    padding: 50px;
}


/************************************************
***************** Media Query *******************
*************************************************/
@media screen and (max-width: 1180px) { /* for tablet landscapes */

	#pagewrap {
		position: relative;
	}

	#header.header {
		padding-top: 0;
	}

	/* module menu button visible */
	#menu-button{
		visibility:visible;
		opacity:1;
	}
	
	/* Mobile Menu Container ここを調整すると、メニューボタンクリック後の動作を調整できる */
	#main-menu-container {
		position: fixed;
		z-index: 700;
		top: 0;
		left: -100vw;
		right: auto;
		bottom: auto;
		overflow-y: auto;
		background-color: #63271d;
		display:block;
		width: 100vw;
		height: 100vh;
		transition: .3s linear;
	}
	#main-menu-container.is-active{
		left: 0;	
	}
	/* Mobile Menu Container ここを調整すると、メニューボタンクリック後の動作を調整できる */
	
	#main-menu-container #main-menu li a {
		color: #fff;
        border-bottom: 1px solid;
        padding: 10px 20px;
	}
	#main-menu-container #main-menu {
		flex-direction: column;
	}
	#main-menu-container #main-menu > li:last-child {
		display: block;
	}
	#main-menu-container #main-menu li ul.sub-menu {
		display: block;
		position: static;
		margin: 0 0 0 25px;
		transform: none;
		width: 100%;
		background: none;
		border: none;
		text-align: left;
	}
	#main-menu-container #main-menu li ul li a {
		text-align: left;
		padding: 10px 20px;
		border-left: 1px solid;
	}

}
@media screen and (max-width: 1024px) {
	body .pagewidth {
		max-width: 94%;
	}
	/* style for contact forms, if do not use to delete please
	コンタクフォームのテーブル調整　不要なら消す*/
	.wpcf7 table tr th,
	.wpcf7 table tr td{
		width:100%;
		display:block;
		padding: 10px 0px;
	}
	.wpcf7 table tr th{
		padding-bottom:0;
	}
	/* style for contact forms, if do not use to delete please
	コンタクフォームのテーブル調整　不要なら消す*/
	
	#headerwrap #header {
		padding-right: 30px;
	}
}

@media screen and (max-width: 980px) { /* for mobile landscape */
	#pagewrap {
		padding-bottom: 50px;
	}
	body #pc-backtop {
		display: none;
	}
	body #footer .sp-footer-icons-container {
		display: flex;
	}
	body #footer .sp-footer-icons-container a {
		color: #fff;
		border-color: #62261c;
		background: #63271d;
	}
	body #footer .sp-footer-icons-container a.sp-footer-map {
		background: #35140f;
	}
	body #footer .sp-footer-icons-container a svg {
		fill: #62261c;
	}
	footer#footer .sp-footer-icons-container a {
		padding: 15px 0 8px;
	}
}

@media screen and (max-width: 768px) {
	#headerwrap #header {
		flex-direction: column;
		padding: 10px 45px !important;
		align-items: center;
		gap: 10px;
	}
	
	.table1 td {
		display: block;
	}
	.table1 td:first-child {
		width: auto;
		display: block;
	}
	
	#footer {
    	flex-direction: column;
    	padding-bottom: 10px !important;
	}
	.head-one-line .fancy-heading .main-head {
		font-size: 20px;
	}
	.title-38.module .module-title {
/*     	font-size: 28px;  */
	}
	.title-36.module .module-title {
/* 		font-size: 26px; */
	}
	.title-28.module .module-title, .dentist-title1.module .module-title {
/* 		font-size: 22px; */
	}
	.title-bd.module .module-title {
    	font-size: 18px;
	}
	#layout #content .wpcf7-form table tr th, #layout #content .wpcf7-form table tr td {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
}
@media screen and (max-width: 680px) {
	
	.home-post .list-post {
		min-height: unset;
	}
	.module.module-image {
		text-align: center;
	}
	#pagewrap .module-image.image-left .image-wrap {
		float: none;
	}
	.contact-text.module {
		padding: 20px;
	}
	
	
	
/* 	SP_20251027 */
	#header .h-right {
		padding-top: 30px;
	}
	#pagewrap #footerwrap #footer-nav {
		text-align: center;
	}
	#pagewrap .contact-layout .row_inner .subrow_inner .tb-column-inner {
    	display: block;
	}
	.delegate-table td {
		display: block;
		width: auto !important;
	}
	.equip-img.module.module-image .image-content {
		text-align: left;
	}
	.company-table td:first-child {
    	width: auto;
	}
	.company-table td {
		display: block;
	}
}







