@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url("cal.css");

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* === 日本語サイト向け軽量リセットCSS === */
html {
  /*-webkit-text-size-adjust: 100%;  iOS文字サイズ調整無効化 */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a[href^="tel:"] {
    pointer-events: none;
}

/* common
------------------------ */
html {
  overflow-y: scroll;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
	height: 100%;
  -webkit-font-smoothing: antialiased; /*フォントのレンダリングを滑らかに Chrome、Safari*/
  -moz-osx-font-smoothing: grayscale; /*Firefox*/
  position: relative;
}
img,
svg {
	max-width: 100%;
	height: auto;
	transition: 0.5s;
}
a {
	outline: none;
	color: #000;
}
a, a:hover, a:hover img {
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	text-decoration: none;
}
.linkbtn a:hover {
	opacity: 0.8;
}
.txtlink {
  text-decoration: underline;
  color: #40210f;
}
/* style */
.justify {
  text-align: justify;
}
.fs90 { font-size: 90%;}
.fs80 { font-size: 80%;}
.fs70 { font-size: 80%;}
strong {
  font-weight: 600;
}
/* color */
.red { color:#c1272d;}

@media (min-width : 900px) {
  .pcno {
    display: none;
  }
}
@media (max-width: 500px) {
  .spno {
    display: none;
  }
}
@media (min-width:500px) and (max-width: 900px) {
  .tbno {
    display: none;
  }
}


/* header
------------------------ */
header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1001;
	background-color: #40210f;
  /*padding: 0 58px;*/
  
}
header > .inner {
	/*height: 120px;*/
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /*padding: 22px 58px 0px 58px;*/
  padding: 0 58px;
}
/*
@media (max-width : 1138px) {
  header {
    position: relative;
  }
  header .inner {
    height: 90px;
  }
}
*/
@media (max-width : 1140px) {
  header > .inner {
    padding: 0 35px;
  }
}
/* グローバルナビ非表示サイズ */
@media (max-width : 1040px) {
  header > .inner {
    height: 80px;
    align-items: center;
    padding: 0 85px 0 35px;
  }
}
@media (max-width : 900px) {
  header > .inner {
    padding: 0 85px 0 25px;
  }
}
@media (max-width : 500px) {
  header {
    position: relative;
  }
  header > .inner {
    height: auto;
    padding: 12px 14px;
  }
}
header .inner h1,
header .inner .logo-wrap {
  color: #fff;
  font-size: 13px;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  /*margin-top: -20px;*/
  margin-top: auto;
  margin-bottom: auto;
}
header .inner h1 span a,
header .inner .logo-wrap span a {
  width: 515px;
  height: 39px;
  display: block;
  text-indent: -9999px;
  background-image: url("../images/med-mmc-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 4px;
}
@media (max-width : 1360px) {
  header .inner h1 span a,
  header .inner .logo-wrap span a {
    width: 450px;
    height: 35px;
  }
}
@media (max-width : 1270px) {
  header .inner h1 span a,
  header .inner .logo-wrap span a {
    width: 400px;
    height: 30px;
  }
}
@media (max-width : 1140px) {
  header .inner h1 span a,
  header .inner .logo-wrap span a {
    width: 360px;
    height: 27px;
  }
}
@media (max-width : 900px) {
  header .inner h1 span a,
  header .inner .logo-wrap span a {
    width: 300px;
    height: 23px;
  }
}
@media (max-width : 500px) {
  header .inner h1,
  header .inner .logo-wrap {
    font-size: 9px;
    margin-top: 0;
  }
  header .inner h1 span a,
  header .inner .logo-wrap span a {
    width: 78vw;
    height: auto;
    aspect-ratio: 275 / 21;
  }
}
/* グローバルナビ非表示サイズ */
@media (max-width : 500px) {
  header .inner .navibox {
    display: none
  }
}

header .inner .navibox nav.acctel ul {
  display: flex;
  justify-content: flex-end;
}
header .inner .navibox nav.acctel ul li:nth-of-type(1) {
  margin-top: 1px;
}
header .inner .navibox nav.acctel ul li:nth-of-type(1) a {
  display: block;
  background-color: #ddc557;
  line-height: 100%;
  padding: 6px 28px 8px 18px;
  border-radius: 50vh;
  font-size: 16px;
  color: #40210f;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
}
header .inner .navibox nav.acctel ul li:nth-of-type(1) a:hover {
  background-color: #ffe67d;
}
header .inner .navibox nav.acctel ul li:nth-of-type(2) {
  margin-left: 24px;
  line-height: 100%;
  font-size: 29px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  position: relative;
}
header .inner .navibox nav.acctel ul li:nth-of-type(2)::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  background: url("../images/icn-tel.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
}
/* グローバルナビ非表示サイズ */
@media (max-width : 1040px) {
  header .inner .navibox nav.acctel ul li:nth-of-type(1) a {
    padding: 6px 28px 8px 18px;
    font-size: 14px;
  }
  header .inner .navibox nav.acctel ul li:nth-of-type(2) {
    margin-left: 14px;
    margin-top: 4px;
    font-size: 22px;
  }
  header .inner .navibox nav.acctel ul li:nth-of-type(2)::before {
    width: 17px;
    height: 17px;
    margin-right: 4px;
  }
}
@media (max-width : 758px) {
  header .inner .navibox nav.acctel {
    display: none;
  }
}

header .inner .navibox nav.menu > ul {
  display: flex;
  margin-top: 10px;
}
header .inner .navibox nav.menu > ul > li {
  margin-left: 35px;
  display: block;
}
header .inner .navibox nav.menu > ul >li > a {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  /*font-size: 19px;*/
  /*font-size: clamp(16px, 1.25vw, 19px);*/
  font-size: clamp(1rem, 0.936rem + 0.27vw, 1.188rem);
  position: relative;
  display: block;
  padding-bottom: 20px;
}
@media (max-width : 1360px) {
  header .inner .navibox nav.menu > ul > li {
    margin-left: 30px;
  }
  header .inner .navibox nav.menu > ul >li > a {
    /*font-size: 18px;*/
    padding-bottom: 23px;
  }
}
@media (max-width : 1270px) {
  header .inner .navibox nav.menu > ul > li {
    margin-left: 25px;
  }
  header .inner .navibox nav.menu > ul >li > a {
    /*font-size: 17px;*/
    padding-bottom: 23px;
  }
}
@media (max-width : 1140px) {
  header .inner .navibox nav.menu > ul {
   margin-left: 20px;
  }
  header .inner .navibox nav.menu > ul >li > a {
    /*font-size: 16px;*/
    padding-bottom: 23px;
  }
}
/* グローバルナビ非表示サイズ */
@media (max-width : 1040px) {
  header .inner .navibox nav.menu {
    display: none;
  }
}
nav.menu > ul >li > a {
  position: relative;
}
nav.menu > ul >li > a::before {
  background: #fff;
  content: '';
  width: 100%;
  height: 1.5px;
  position: absolute;
  left: 0;
  bottom: 14px;
  transform-origin: right top;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
nav.menu > ul >li > a:hover::before {
  transform-origin: left top;
  transform-origin: center top;
  transform: scale(1, 1);
}


 
/* メガメニュー */
.mega-menu {
  background-color: #f4eeed;
  top: 110px;
  left: 0;
  opacity: 0;
  position: absolute;
  /*text-align: center;*/
  transition: opacity .3s, visibility .3s;
  visibility: hidden;
  width: 100%;
  z-index: 1002;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.mega-menu .inner {
  padding: 80px 40px;
  width: 1000px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
/* メニューをhoverした時のスタイル */
.menu li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}
/*
header:hover ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}
*/

.mega-menu.c-info ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.mega-menu.c-info ul li a {
  color: #40210f;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 18px;
  padding-left: 8px;
  position: relative;
}
.mega-menu.c-info ul li a:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #7c0404;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}
.mega-menu.m-info .inner {
  width: 1100px;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mega-menu.m-info .m-subject {
  width: 250px;
}
.mega-menu.m-info .m-subject li:nth-of-type(2) {
  margin-top: 12px;
}
.mega-menu.m-info .m-subject li a {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #40210f;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  border: #000 solid 1px;
  background-color: #fff;
  position: relative;
}
.mega-menu.m-info .m-subject li a::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 9px;
  border-color: transparent transparent transparent #7c0404;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translate(-50%, -50%);
}
.mega-menu.m-info .m-subject li a:hover {
  color: #fff;
  background-color: #40210f;
  border: #40210f solid 1px;
}
.mega-menu.m-info .m-subject li a:hover::before {
  border-color: transparent transparent transparent #fff;
}
.mega-menu.m-info .o-subjects {
  width: 64%;
}
.mega-menu.m-info .o-subjects h2 {
  border-bottom: #000 solid 1px;
}
.mega-menu.m-info .o-subjects h2:nth-child(n+2) {
  margin-top: 25px;
}
.mega-menu.m-info .o-subjects h2 span {
  width: 140px;
  height: 37px;
  padding-bottom: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #40210f;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 0;
  border-top: #000 solid 1px;
  border-left: #000 solid 1px;
  border-right: #000 solid 1px;
  background-color: #fff;
}
.mega-menu.m-info .o-subjects ul {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
}
.mega-menu.m-info .o-subjects ul li {
  width: 50%;
  margin-bottom: 8px;
}
.mega-menu.m-info .o-subjects ul:nth-of-type(1) li:nth-of-type(1),
.mega-menu.m-info .o-subjects ul:nth-of-type(3) li:nth-of-type(3) {
  width: 100%;
}
.mega-menu.m-info .o-subjects ul li a {
  width: 100%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 17px;
  padding-left: 12px;
  display: block;
  position: relative;
}
.mega-menu.m-info .o-subjects ul li a:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #7c0404;
  position: absolute;
  top: 8px;
  left: 0;
}
.c-info ul li a:hover,
.mega-menu.m-info .o-subjects ul li a:hover {
  opacity: 0.5
}

/* SP Menu 
------------------------ */
/* ハンバーガーボタン */
@media(min-width: 1042px)  {
  .menu-btn {
    display: none !important;
  }
}
.menu-btn {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #fff;
  cursor: pointer;
  z-index: 10001;
  
  transition: 0.3s;
}
@media(max-width: 1042px)  {
  .menu-btn {
    top: 18px;
    right: 15px;
  }
}
@media (max-width : 500px) {
  .menu-btn {
    top: 10px;
    right: 10px;
  }
}
.menu-btn span {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #40210f;
  transition: 0.3s;
}
.menu-btn span:nth-child(1) {
  top: 8px;
}
.menu-btn span:nth-child(2) {
  top: 16px;
}
.menu-btn span:nth-child(3) {
  top: 24px;
}
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 17px;
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 17px;
}
/* 疑似要素で Menu 表示 */
.spbtn::after {
  content: "Menu";
  font-size: 9.5px;
  color: #40210f;
  margin-top: 25px;
  font-weight: 500;
  transition: 0.3s;
}
/* スクロール後のスタイル */
@media(max-width: 500px)  {
  .menu-btn.scrolled {
    background-color: #40210f;
  }
  .menu-btn.scrolled span {
    background-color: #fff;
  }
  .menu-btn.scrolled::after {
    color: #fff;
  }
}
/* 開いたとき */
.spmenu.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.spmenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(236, 232, 231, 0.98);*/
  background: rgba(255, 255, 255, 1);
  /*display: flex;
  justify-content: center;*/
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10000;
  overflow-y: scroll;
}
.spmenu-wrap {
  margin-top: 60px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.spmenu > ul {
  /*margin-top: 70px;
  width: 90%;*/
}
.spmenu-wrap li {
  position: relative;
  margin: 0;
  padding: 0;
}
.spmenu-wrap ul li:last-child  a {
  border-bottom: #6e4c40 dotted 1px;
}
.spmenu-wrap ul ul li:last-child  a {
  border-bottom: none;
}
.spmenu-wrap li > a {
  display: block;
  padding: 10px 6px;
  text-decoration: none;
  border-top: #6e4c40 dotted 1px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  position: relative;
}
/* 子メニューは最初非表示 */
.spmenu-wrap li > ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.spmenu-wrap li:nth-of-type(2) > ul li:last-child, .spmenu-wrap li:nth-of-type(3) > ul li:last-child {
  padding-bottom: 10px;
}
.spmenu-wrap li > ul li a {
  border-top: none;
  position: relative;
  padding: 6px 6px 6px 24px;
  font-size: 17px;
  font-weight: 600;
}
.spmenu-wrap li > ul li ul li a {
  border-top: none;
  position: relative;
  padding: 6px 6px 6px 42px;
  font-size: 17px;
  font-weight: 600;
}
.spmenu-wrap li > ul.children-menu > li > a span::before{
  content: "";
  position: absolute;
  top: 53%;
  left: 14px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 6px solid #bd3266;
}
/*
.spmenu-wrap li > ul li ul li a::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 34px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 6px solid #bd3266;
}
*/
/*
.spmenu-wrap li > ul li ul li a::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 33px;
  width: 5px;
  height: 5px;
  border-radius: 50vh;
  background: #bd3266;
}
*/
.spmenu-wrap li > ul li ul li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border: 0;
  border-top: solid 1.5px #bd3266;
  border-right: solid 1.5px #bd3266;
  transform: rotate(45deg);
  position: absolute;
  top: 17px;
  left: 31px;
}
/* 開閉マーク */
.spmenu-wrap li.has-children > a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: #40210f;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}
.spmenu-wrap li.has-children > a::before {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 1.5px;
  height: 16px;
  background: #40210f;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}
/* 開いている時 */
.spmenu-wrap li.open > ul {
  max-height: 500px; /* 十分大きい値 */
}
.spmenu-wrap li.open > a::after {
  transform: translateY(-50%) rotate(55deg);
}
.spmenu-wrap li.open > a::before {
  transform: translateY(-50%) rotate(-145deg);
}
/* 開いている状態 */
.spmenu-wrap li.open > ul {
  max-height: none;
}
/*
.spmenu-wrap li.has-children,
.spmenu-wrap li.has-children > ul > li {
  position: relative;
}
.spmenu-wrap li.has-children::before {
  content: "";
  position: absolute;
  right: 5px;
  top: 11px;
  width: 25px;
  height: 25px;
  border-radius: 50vh;
  background: #40210f;
}
.spmenu-wrap li.has-children > ul > li::before {
  top: 7px !important;
  background: #40210f;
}
*/
.contact-wrap {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8px;
  padding-bottom: 50px;
}
.contact-wrap .telno a {
  font-family: "Noto Serif JP", serif;
  text-align: center;
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  padding-right: 12px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #40210f;
}
.contact-wrap .telno span {
  position: relative;
}
.contact-wrap .telno span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../images/icn-tel.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 4px;
}
.contact-wrap ul {
  display: flex;
  margin-top: 1px;
}
.contact-wrap ul li {
  width: 50%;
}
.contact-wrap ul li:nth-of-type(1) {
  margin-right: 1px;
}
.contact-wrap ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  width: 100%;
  height: 40px;
  position: relative;
  transition: 0.5s;
}
.contact-wrap ul li:nth-of-type(1) a {
  background-color: #993a46;
  padding-left: 30px;
}
.contact-wrap ul li:nth-of-type(2) a {
  padding-left: 20px;
  background-color: #e4702a;
}

.contact-wrap ul li:nth-of-type(1) a::before {
	content: "";
	display: inline-block;
	width: 24px;
  height: 18.5px;
	background-image: url("../images/icn-pc.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 50%;
	left: 38px;
  transform: translate(-50%, -50%);
}
.contact-wrap ul li:nth-of-type(2) a::before {
	content: "";
	display: inline-block;
	width: 17px;
  height: 23.3px;
	background-image: url("../images/icn-monshin.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 50%;
	left: 35px;
  transform: translate(-50%, -50%);
}

/* main
------------------------ */
main {
  margin-top: 110px;
  font-size: 18px;
  /*font-size: clamp(16px, 2.5vw, 18px);*/
	font-weight: 400;
	line-height: 1.8em;
}
main.low-content {
  padding-bottom: 100px;
}
@media (max-width : 1040px) {
  main {
    margin-top: 80px;
    font-size: 16px;
    line-height: 1.7em;
  }
}
@media (max-width : 500px) {
  main {
    margin-top: 0px;
    /*font-size: 16px;*/
    font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 375px) / (430 - 375))), 18px);
    /*font-size: clamp(20px, calc(20px + (22 - 20) * ((100vw - 375px) / (430 - 375))), 22px);*/
    line-height: 1.7em;
  }
  main.low-content {
    padding-bottom: 50px;
  }
}
.title-wrap {
  width: 100%;
  height: 300px;
  background-image: url("../images/headimg_pc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.title-wrap.medical {
  background-image: url("../images/headimg-medical_pc.jpg");
}
@media (max-width : 500px) {
  .title-wrap {
    height: 145px;
    background-image: url("../images/headimg_sp.jpg");
  }
  .title-wrap.medical {
    height: 145px;
    background-image: url("../images/headimg-medical_sp.jpg");
  }
}
.title-wrap .bgc {
  background: linear-gradient(90deg,rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 80%);
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 60px;
  padding-right: 60px;
}
@media (max-width : 500px) {
  .title-wrap .bgc {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.title-wrap .bgc .inner {
  width: 1200px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.title-wrap .bgc .inner h1 {
  font-size: 200%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #40210f;
  line-height: 100%;
}
@media (max-width : 500px) {
  .title-wrap .bgc .inner h1 {
    font-size: 137%;
  }
}
.title-wrap .bgc .inner h1 span {
  /*border-bottom: #40210f solid 1.5px;*/
  
}
.title-wrap .bgc .inner .en {
  font-size: 80%;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  color: #7c0404;
  padding-top: 10px;
  letter-spacing: 0.04em;
}
@media (max-width : 500px) {
  .title-wrap .bgc .inner .en {
    font-size: 65%;
    font-weight: 500;
    padding-top: 0px;
  }
}



/* 下層共通 */
.title-wrap + section {
  margin-top: 60px;
}
.low-common {
  padding: 0 40px;
}
@media (max-width : 500px) {
  .title-wrap + section {
    margin-top: 30px;
  }
  .low-common {
    padding: 0 20px;
  }
}

.md-common {
  font-size: 160%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  z-index: 10;
}
.d-red {
  color: #7c0404;
}
.d-brown {
  color: #40210f;
}
.tx-position-c {
  text-align: center;
}
span.square,
span.rod {
  position: relative;
}
span.square::before {
	content: "";
	display: inline-block;
	width: 37px;
	height: 37px;
	position: absolute;
	top: -10px;
	left: -20px;
  z-index: -1;
}
span.rod {
  padding-left: 18px;
}
span.rod::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 23px;
	position: absolute;
	top: 6px;
	left: 0px;
  background-color: #40210f;
}
@media (max-width : 500px) {
  span.rod {
    padding-left: 14px;
  }
  span.rod::before {
    width: 7px;
	  height: 18px;
  }
}
.d-red span.square::before,
span.square.d-red::before {
  background-color: #e2c8c8;
}
.d-brown span.square::before,
span.square.d-brown::before {
  background-color: #d7d0cc;
}
@media (max-width : 900px) {
  .md-common {
    font-size: 145%;
  }
  span.square::before {
    width: 30px;
	  height: 30px;
    top: -7px;
	  left: -17px;
  }
}
@media (max-width : 500px) {
  .md-common {
    font-size: 130%;
    text-align: center;
    /*border-bottom: solid 1.5px;*/
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-color: #40210f;
  }
  span.square::before {
    width: 22px;
	  height: 22px;
    top: -4px;
	  left: -10px;
  }
}


.b-line {
    border-bottom: solid 1px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-color: #40210f;
  }
@media (max-width : 500px) {
  .b-line {
    border-bottom: solid 1px;
    padding-bottom: 10px;
    margin-bottom: 8px;
  }
}




.maxwide-pc {
    margin: 0 calc(50% - 50vw) !important;
    width: 100vw !important;
  }

/* SP時親要素無視 */
@media (max-width : 500px) {
  .maxwide {
    margin: 0 calc(50% - 50vw) !important;
    width: 100vw !important;
  }
}

/* foot
------------------------ */
footer {
  
}
.foot-common {
  padding: 60px 40px 100px 40px;
  background-color: #f9f8f7;
  font-size: 18px;
  font-weight: 400;
}
@media (max-width : 1024px) {
  .foot-common {
    padding: 40px 30px 80px 30px;
    font-size: 16px;
  }
}
@media (max-width : 500px) {
  .foot-common {
    padding: 30px 20px 70px 20px;
    font-size: 16px;
  }
}
.foot-common h2 {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width : 1024px) {
  .foot-common h2 {
    max-width: 400px;
  }
}
@media (max-width : 500px) {
  .foot-common h2 {
    width: 90%;
  }
}
.foot-common .addbox {
  text-align: center;
}
.foot-common .addbox address {
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width : 500px) {
  .foot-common .addbox address {
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
.foot-common .addbox p:nth-of-type(1) {
  margin-left: 24px;
  padding-right: 24px;
  line-height: 100%;
  font-size: 40px;
  color: #333333;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  position: relative;
}
.foot-common .addbox p:nth-of-type(1)::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url("../images/icn-tel-brown.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
}
@media (max-width : 1024px) {
  .foot-common .addbox p:nth-of-type(1) {
    font-size: 32px;
  }
  .foot-common .addbox p:nth-of-type(1)::before {
    width: 26px;
    height: 26px;
    margin-right: 7px;
  }
}
@media (max-width : 500px) {
  .foot-common .addbox p:nth-of-type(1) {
    font-size: 28px;
  }
  .foot-common .addbox p:nth-of-type(1)::before {
    width: 22px;
    height: 22px;
    margin-right: 5px;
  }
}
.foot-common .addbox p:nth-of-type(2) {
  margin-top: 24px;
  display: table;
  margin-left: auto;
  margin-right: auto;
  color: #40210f;
  border: #40210f solid 2px;
  background-color: #fff;
  padding: 4px 15px 6px 22px;
}
@media (max-width : 1024px) {
  .foot-common .addbox p:nth-of-type(2) {
    margin-top: 14px;
  }
}
@media (max-width : 500px) {
  .foot-common .addbox p:nth-of-type(2) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.2em;
    padding: 5px 15px 7px 22px;
  }
}
.foot-common .addbox p:nth-of-type(3) {
  font-size: 88%;
  padding-top: 20px;
}
@media (max-width : 1024px) {
  .foot-common .addbox p:nth-of-type(3) {
    font-size: 78%;
    padding-top: 15px;
  }
}
@media (max-width : 500px) {
  .foot-common .addbox p:nth-of-type(3) {
    padding-top: 10px;
  }
}
.foot-common .inner {
  max-width: 980px;
  padding-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width : 500px) {
  .foot-common .inner {
    display: block;
    padding-top: 20px;
  }
}
.foot-common .inner h3 {
  text-align: center;
  font-size: 120%;
  font-weight: 500;
  padding-bottom: 10px;
}
.foot-common .inner .times {
  width: 57%;
}
@media (max-width : 500px) {
  .foot-common .inner .times {
    width: 100%;
  }
}
.times table {
	width: 100%;
	border-collapse: collapse;
	border-left: #000 solid 1px;
  font-size: 88%;
}
.times table th,
.times table td {
	padding: 9px;
	text-align: center;
	border-bottom: #000 solid 1px;
	border-top: #000 solid 1px;
	border-right: #000 solid 1px;
	vertical-align: middle;
}
@media (max-width : 500px) {
  .times table th,
  .times table td {
    padding: 6px;
  }
}
.times table th {
	font-weight: 400;
  background-color: #bca79d;
  color: #40210f;
}
.times table td {
  background-color: #fff;
}
.times p {
  font-size: 84%;
  padding: 7px 0 14px 0;
}
.times dl {
	display: flex;
  flex-wrap: wrap;
  font-size: 88%;
  border-bottom: #000 dotted 1px;
}
.times dl dt {
	width: 17.5%;
  border-top: #000 dotted 1px;
  padding: 10px 0;
  color: #40210f;
  font-weight: 500;
}
.times dl dd {
	width: 82.5%;
  border-top: #000 dotted 1px;
  padding: 10px 0;
}
@media (max-width : 500px) {
  .times dl dt {
    width: 23%;
    padding: 6px 0;
  }
  .times dl dd {
    width: 77%;
    padding: 6px 0;
  }
}
.times dl dd ul li {
  display: flex;
  flex-wrap: wrap;
}
.times dl dd ul li span {
  width: 90px;
  display: block;
}
.times ul.footbtn {
  margin-top: 20px;
  display: flex;
}
.times ul.footbtn li:nth-of-type(2) {
  margin-left: 12px;
}
.times ul.footbtn li a {
  display: block;
  background-color: #40210f;
  color: #fff;
  font-size: 82%;
  padding: 4px 36px 6px 32px;
  border-radius: 50vh;
  position: relative;
}
@media (max-width : 900px) {
  .times ul.footbtn li a {
    padding: 4px 30px 6px 22px;
  }
}
@media (max-width : 500px) {
  .times ul.footbtn {
    margin-top: 15px;
    justify-content: space-between;
  }
  .times ul.footbtn li:nth-of-type(1) {
    width: 41%;
  }
  .times ul.footbtn li:nth-of-type(2) {
    width: 57%;
    margin-left: 0;
  }
  .times ul.footbtn li a {
    width: 100%;
    font-size: 77%;
    text-align: center;
    padding: 4px 20px 6px 12px;
  }
}
.times ul.footbtn li a:before {
  content: '';
  width: 7px;
  height: 7px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 18px;
  bottom: 0;
  margin: auto;
}
@media (max-width : 500px) {
  .times ul.footbtn li a:before {
    width: 5px;
    height: 5px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    right: 12px;
  }
}
.foot-common .inner .calendar {
  width: 37%;
}
@media (max-width : 500px) {
  .foot-common .inner .calendar {
    width: 100%;
    margin-top: 25px;
  }
}
.calendar ul {
  margin-top: 15px;
  display: flex;
  font-size: 15px;
}
.calendar ul li:nth-of-type(n+2) {
  margin-left: 16px;
}
@media (max-width : 900px) {
  .calendar ul {
    margin-top: 10px;
    font-size: 13px;
  }
  .calendar ul li:nth-of-type(n+2) {
    margin-left: 10px;
  }
}
@media (max-width : 500px) {
  .calendar ul {
    margin-top: 6px;
    font-size: 13px;
    justify-content: center;
  }
  .calendar ul li:nth-of-type(n+2) {
    margin-left: 16px;
  }
}
footer .copy {
  background-color: #40210f;
  color: #fff;
  text-align: center;
  font-size: 14px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .copy a {
  display: block;
  color: #fff;
  margin-left: 50px;
  text-decoration: underline
}
@media (max-width : 500px) {
  footer .copy {
    font-size: 12px;
    height: 60px;
    line-height: 1.3em;
  }
}
.txc-orange {
  color: #ff931e;
}
.txc-pink {
  color: #ff931e;
}
.txc-blue {
  color: #c2d4ee;
}
.txc-green {
  color: #bde4a8;
}

.footmap {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}
.footmap iframe {
    position: absolute;
    inset: -150px;
    width: calc(100% + 300px);
    height: calc(100% + 300px);
}
@media (max-width : 500px) {
  .footmap {
    height: 250px;
  }
}
/*
.footmap iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}
@media (max-width : 500px) {
  .footmap iframe {
    height: 250px;
  }
}
*/

/* footボタン固定
------------------------ */
.foot-btn {
  width: 100%;
  position: fixed;
  right: 95px;
  bottom: 15px;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  transition: transform 0.01s linear;
}
@media (max-width : 500px) {
  .foot-btn {
    right: 0;
    bottom: 0;
  }
}
.foot-btn li:nth-of-type(1) {
  display: none;
}
.foot-btn li a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  width: 185px;
  height: 77px;
  position: relative;
  transition: 0.5s;
}
.foot-btn li:nth-of-type(1) a {
  background-color: #40210f;
}
.foot-btn li:nth-of-type(2) a {
  background-color: #993a46;
  padding-left: 30px;
}
.foot-btn li:nth-of-type(2) a:hover {
  background-color: #ad616b;
  transform: scale(1.04);
  z-index: 10;
}
.foot-btn li:nth-of-type(3) a {
  padding-left: 24px;
  background-color: #e4702a;
}
.foot-btn li:nth-of-type(3) a:hover {
  background-color: #e98d55;
  transform: scale(1.04)
}
@media (max-width : 1024px) {
  .foot-btn li a {
    font-size: 20px;
    height: 54px;
  }
}
@media (max-width : 500px) {
  .foot-btn li:nth-of-type(1) {
    display: block;
  }
  .foot-btn li a {
    align-items: flex-end;
    height: 60px;
    width: 100%;
    padding-left: 0 !important;
    font-size: 16px;
    padding-bottom: 5px;
    position: relative;
    transform: none !important;
  }
  .foot-btn li:nth-of-type(1) a {
    font-size: 14px;
  }
  .foot-btn li:nth-of-type(1) {
    width: 28%;
  }
  .foot-btn li:nth-of-type(2) {
    width: 36%;
  }
  .foot-btn li:nth-of-type(3) {
    width: 36%;
  }
}
.foot-btn li:nth-of-type(1) a::before {
  content: "";
	display: inline-block;
	width: 22px;
	height: 21px;
	background-image: url("../images/icn-tel.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 22px;
	left: 50%;
  transform: translate(-50%, -50%);
}
.foot-btn li:nth-of-type(2) a::before {
	content: "";
	display: inline-block;
	width: 31px;
	height: 24px;
	background-image: url("../images/icn-pc.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 35%;
	left: 20px;
}
@media (max-width : 1024px) {
  .foot-btn li:nth-of-type(2) a::before {
    width: 24px;
	  height: 18px;
    left: 32px;
  } 
}
@media (max-width : 500px) {
  .foot-btn li:nth-of-type(2) a::before {
    width: 24px;
	  height: 18.5px;
    top: 20px;
	  left: 50%;
    transform: translate(-50%, -50%);
  }
}
.foot-btn li:nth-of-type(3) a::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 31px;
	background-image: url("../images/icn-monshin.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 29%;
	left: 24px;
}
@media (max-width : 1024px) {
  .foot-btn li:nth-of-type(3) a::before {
    width: 18px;
	  height: 25px;
    left: 36px;
  }
}
@media (max-width : 500px) {
  .foot-btn li:nth-of-type(3) a::before {
    width: 17px;
	  height: 23.3px;
    top: 20px;
	  left: 50%;
    transform: translate(-50%, -50%);
  }
}
/*
@media (max-width : 500px) {

}
@media (max-width : 500px) {
  .foot-btn li a {
    align-items: flex-end;
    padding-bottom: 5px;
    height: 50px;
  }
  .foot-btn li:nth-of-type(1) a {
    display: block;
    width: 28%;
  }
  .foot-btn li:nth-of-type(2) a,
  .foot-btn li:nth-of-type(3) a {
    width: 36%;
  }
  
  .foot-btn li:nth-of-type(n+2) a {
    font-size: 16px;
    padding-left: 0;
  }
}
*/

/*
.foot-btn li:nth-of-type(1) a {
  content: "";
	display: inline-block;
	width: 18px;
	height: 17.5px;
	background-image: url("../images/icn-tel.svg");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	top: 5px;
	left: 50%;
  transform: translate(-50%, -50%);
}
*/

/* ページトップボタン 
------------------------ */
#pagetop {
  position: fixed;
  right: 20px;
  /*bottom: 25px;*/
  width: 63px;
  height: 58px;
  border: none;
  background-color: #40210f;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.3s, bottom 0.2s linear;
  transition: 0.5s;
}
#pagetop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -30%) rotate(135deg);
}
#pagetop:hover {
  background-color: #6e4c40;
}
@media (max-width : 1024px) {
  #pagetop {
    width: 54px;
    height: 54px;
  }
}
@media (max-width : 500px) {
  #pagetop {
    right: 8px;
    /*bottom: 55px;*/
    width: 40px;
    height: 40px;
    background: #bca79d;
  }
  #pagetop::before {
    width: 12px;
    height: 12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
}
#pagetop.show {
  opacity: 1;
}

/* モーダル
------------------------ */
/* モーダル全体 */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.modal.show {
  opacity: 1;
  pointer-events: auto;
}
/* モーダルコンテンツ */
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 6px;
  max-width: 90%;
  width: 900px;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.3);
}
/* 開閉アニメーション */
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}
.modal-content-inner {
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px 40px;
}
@media (max-width : 500px) {
  .modal-content-inner {
    padding: 30px 20px;
  }
}
.modal-content-inner h3 {
  font-size: 120%;
  font-weight: 600;
  line-height: 1.3em;
  color: #40210f;
  border-bottom: #40210f solid 1px;
  padding-bottom: 10px;
}
.content-wrap h4 {
  font-size: 108%;
  font-weight: 600;
  line-height: 1.3em;
  border-bottom: #40210f dotted 1px;
  padding-bottom: 4px;
}
.content-wrap * + h4 {
  margin-top: 25px;
}
.content-wrap * + p {
  margin-top: 4px;
}
.modal-content-inner .content-wrap {
  padding-top: 10px;
  font-size: 18px;
}
@media (max-width : 500px) {
  .modal-content-inner .content-wrap {
    padding-top: 10px;
    font-size: 16px;
  }
}
.modal-content-inner .content-wrap .txtline {
  text-decoration: underline;
}
.modal-content-inner .content-wrap .breaks {
  padding-top: 15px;
}
.modal-content-inner .content-wrap a {
  color: #542f1c;
  text-decoration: underline;
}
.modal-content-inner .content-wrap a:hover {
  text-decoration: none;
  color: #bd3266;
}
/* 閉じるボタン固定 */
.modal-content .close-btn {
  position: fixed;
  top: -25px;
  right: -10px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
  color: #40210f;
  user-select: none;
  /*background-color: #ead371;*/
  background-color: #9b7537;
  border: #fff solid 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50vh;
  z-index: 99999;
}
.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 20px;
  /*background: #40210f;*/
  background-color: #fff;
}
.close-btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.close-btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* アイコン共通 
----------------------------------------------------- */
.arrow-icn {
  position: relative;
  display: inline-block;
}
.type1::before {
  content: '';
  width: 11px;
  height: 11px;
  background: #40210f;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}
.type1::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 0 2px 3px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  margin: auto;
}
.type2::before,
.type2::after{
	position: absolute;
  content: "";
  top: 0;
  bottom: 0;
	left: 0;
  margin: auto;
}
.type2::before {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #7c0404;
  left: 21px;
}
.type2::after{
	left: 25px;
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
@media (max-width : 500px) {
  .type2::before {
    
  }
}

/* アイコン共通2 */
.triangle {
  position: relative;
  padding-left: 10px;
}
.triangle:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #7c0404;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -4px);
}

/* 診察費用table
----------------------------------------------------- */
table.costs {
	min-width: 500px;
  border-collapse: collapse;
	border-left: #000 solid 1px;
  font-size: 90%;
}
@media (max-width : 500px) {
  table.costs {
    min-width: inherit;
  }
}
table.costs th,
table.costs td {
	padding: 11px 14px;
	text-align: center;
	border-bottom: #000 solid 1px;
	border-top: #000 solid 1px;
	border-right: #000 solid 1px;
	vertical-align: middle;
  line-height: 1.5em;
}
table.costs th {
  background-color: #f5ebeb;
  text-align: left;
}
table.costs td {
  width: 100px;
  padding-left: 20px;
  white-space: nowrap;
}

/* ページ内リンク ##
----------------------------------------------------- */
a.anchor {
    display: block;
    padding-top: 10px;
    margin-top: -10px;
}
@media(max-width: 500px) {
	a.anchor {
		display: table;
		padding-top: 0px;
    margin-top: -0px;
	}

}