@charset "utf-8";

/* Reset CSS （normalize.css v3.0.2） */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
/* 追加 */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}address{font-style:normal}*{margin:0;padding:0}*,:after,:before{background-repeat:no-repeat;box-sizing:border-box}img{vertical-align:bottom;-webkit-backface-visibility:hidden}

/*----------------------------------------------------------------------------------------------------

  Base
  
----------------------------------------------------------------------------------------------------*/
:root {
  --base-width: 1366px;
  --cubic-bezier: cubic-bezier(.23,1,.32,1);
}
@media print, screen and (min-width:1001px) {
  :root {
    --line-height: 1.8;
    --line-height-l: 2.0;
    --line-height-m: 1.6;
    --line-height-s: 1.4;
    --side-space: 40px;
    --block-space-unit: 40px;
    --box-space-unit: 10px;
  }
}
@media print, screen and (min-width:641px) and (max-width:1000px) {
  :root {
    --line-height: 1.6;
    --line-height-l: 2.8;
    --line-height-m: 1.4;
    --line-height-s: 1.2;
    --side-space: 30px;
    --block-space-unit: 30px;
    --box-space-unit: 8px;
  }
}
@media screen and (max-width:640px) {
  :root {
    --line-height: 1.6;
    --line-height-l: 2.8;
    --line-height-m: 1.4;
    --line-height-s: 1.2;
    --side-space: 6%;
    --block-space-unit: max(calc(30 / 640 * 100vw), 15px);
    --box-space-unit: 6px;
  }
}
:root {
  --block-space-max: calc(var(--block-space-unit) * 4);/*160*/
  --block-space-3l: calc(var(--block-space-unit) * 3.5);/*140*/
  --block-space-2l: calc(var(--block-space-unit) * 3);/*120*/
  --block-space-l: calc(var(--block-space-unit) * 2.5);/*100*/
  --block-space-m: calc(var(--block-space-unit) * 2);/*80*/
  --block-space-s: calc(var(--block-space-unit) * 1.75);/*70*/
  --block-space-2s: calc(var(--block-space-unit) * 1.5);/*60*/
  --block-space-3s: calc(var(--block-space-unit) * 1.25);/*50*/
  --block-space-min: calc(var(--block-space-unit) * 1);/*40*/
  
  --box-space-max: calc(var(--box-space-unit) * 5);/*50*/
  --box-space-l: calc(var(--box-space-unit) * 4.5);/*45*/
  --box-space-m: calc(var(--box-space-unit) * 4);/*40*/
  --box-space-s: calc(var(--box-space-unit) * 3.5);/*35*/
  --box-space-2s: calc(var(--box-space-unit) * 3);/*30*/
  --box-space-min: calc(var(--box-space-unit) * 2.5);/*25*/
}
  
html,
body {
  height: 100%;
}
body {
  min-width: 320px;
  background-color: #fff;
  color: #222;
  font-family: 'M PLUS 1p','Noto Sans JP','Helvetica Neue','Arial','Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-weight: 400;
  line-height: var(--line-height);
  word-wrap: break-word;
  text-align: center;
}
.js_rpsTable,
.js_rpsBlock {
  overflow: hidden;
}
.js_linkBox {
  cursor: pointer;
}
.js_iframe iframe {
  pointer-events: none;
  cursor: pointer;
}
.clear:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.t-nowrap { display: inline-block; }
.lineh-l { line-height: var(--line-height-l); }
.lineh-m { line-height: var(--line-height-m); }
.lineh-s { line-height: var(--line-height-s); }

/*--------------------------------------------------------------------------------
  font
--------------------------------------------------------------------------------*/
html {
  font-size: 62.5%;
}
body {
  font-size: 1.8rem;
}
:root {
  --fs-max: 2.6em;
  --fs-5l: 2.3em;
  --fs-4l: 2em;/*36*/
  --fs-3l: 1.7em;/*30*/
  --fs-2l: 1.5em;/*28*/
  --fs-l: 1.3em;/*24*/
  --fs-m: 1.1em;/*20*/
  --fs-s: 0.9em;/*16*/
 --fs-2s: 0.8em;
  --fs-3s: 0.7em;
  --fs-min: 0.6em; 
  
   /* --ff-en: 'Josefin Sans', sans-serif;
  --ff-min: 'Shippori Mincho', serif;; */
}
@media print, screen and (max-width:1200px) {
  :root {
    --fs-max: 2.3em;
    --fs-5l: 2.1em;
    --fs-4l: 1.9em;
    --fs-3l: 1.6em;
  }
}
@media print, screen and (max-width:800px) {
  :root {
    --fs-max: 2.1em;
    --fs-5l: 2em;
    --fs-4l: 1.8em;
    --fs-3l: 1.5em;
    --fs-2l: 1.4em;
    --fs-l: 1.2em;
  }
}
@media print, screen and (max-width:1200px) {
  html {
    font-size: clamp(58%, 0.2em + 0.6vw, 62.5%);
  }
}
@media screen and (max-width:640px) {
  html {
    font-size: clamp(50%, 0.3em + 0.8vw, 58%);
  }
}
.fs-max { font-size: var(--fs-max); }
.fs-5l { font-size: var(--fs-5l); }
.fs-4l { font-size: var(--fs-4l); }
.fs-3l { font-size: var(--fs-3l); }
.fs-2l { font-size: var(--fs-2l); }
.fs-l { font-size: var(--fs-l); }
.fs-m { font-size: var(--fs-m); }
.fs-ms { font-size: var(--fs-ms); }
.fs-s { font-size: var(--fs-s); }
.fs-2s { font-size: var(--fs-2s); }
.fs-3s { font-size: var(--fs-3s); }
.fs-min { font-size: var(--fs-min); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }

.fc-blue { color: #305884; }
.fc-dblue { color: #1C3C5E; }
.fc-gold { color: #917D5F; }
.fc-red { color: #C34141; }

/* .ff-en { font-family: var(--ff-en); }
.ff-min { font-family: var(--ff-min); } */

/*-----------------------------------------------------------------------------------
  img
-----------------------------------------------------------------------------------*/
img {
  max-width: 100%;
  height: auto;
}
img[src$=".svg"] {
  width: 100%;
  height: auto;
}
@media (hover: hover) {
  img.img-hv,
  a.img-hv img {
    transition: opacity 0.3s ease-out;
  }
  img.img-hv:hover,
  a.img-hv:hover img,
  .js_linkBox:hover img.img-hv {
    opacity: 0.6;
  }
}

/*-----------------------------------------------------------------------------------
  link
-----------------------------------------------------------------------------------*/
a {
  outline: none;
}
a,
a:visited,
a:hover {
  color: #fe95a1;
  text-decoration: underline;
}
@media (hover: hover) {
  a,
  .js_linkBox {
    transition: color 0.15s ease-out, opacity 0.15s ease-out, background 0.3s ease-out, border 0.15s ease-out;
  }
  a:hover,
  .js_linkBox:hover a {
    color: #9BBC97;
    text-decoration: none;
  }
}
@media (hover: hover) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    color: inherit;
  }
}
a[href^="tel:"],
a[href^="tel:"]:visited,
a[href^="tel:"]:hover {
  color: inherit;
  text-decoration: none;
}



/*----------------------------------------------------------------------------------------------------

  
----------------------------------------------------------------------------------------------------*/

.pc {
}
.sp {
	display: none;
}

@media screen and (max-width: 750px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}

.flex{
    display: flex;
}

.between{
    justify-content: space-between;
}

.j-center{
    justify-content: center;
}

.align-center{
    align-items: center;
}



/*----------------
enttl
----------------*/
.enttl{
  line-height: var(--line-height-s);
  font-size:var(--fs-3l);
  font-weight: 700;
}

.enttl span{
  display: block;
  color: #A4A184;
  font-size: 12px;
}

.enttl[enposi="left"]{
  text-align: left;
}
@media screen and (max-width: 750px) {
  .enttl[enposi="left"]{
    text-align: center;
  }
}

.enttl[enposi="center"]{
  text-align: center;
}

/*----------------
naname
----------------*/

.naname {
  align-items: center; /* 線を上下中央 */
  display: flex; /* 文字と線を横並び */
  justify-content: center; /* 文字を中央寄せ */
}
.naname::before,
.naname::after {
  background-color: #F4C8CD; /* 線の色 */
  border-radius: 5px; /* 線の両端を丸く */
  content: "";
  height: 5px; /* 線の高さ */
  width: 40px; /* 線の長さ */
}
.naname::before {
  margin-right: 10px; /* 文字との余白 */
  transform: rotate(60deg); /* 傾ける */
}
.naname::after {
  margin-left: 10px; /* 文字との余白 */
  transform: rotate(-60deg); /* 傾ける */
}


/*----------------
link-button
----------------*/

.link-button{
  background-color: #6F6D5A;
  border-radius: 4px;
  box-sizing: border-box;
  width: 180px;
  height: 60px;
  margin: auto;
}

.link-button a{
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  height: 100%;
  border-radius: 4px;
}

.link-button a:hover{
  background-color: #484637;
}

.link-button a > span{
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.link-button a::after{
  content: url(../image/common/arrow-white-button.svg);
  position: absolute;
  padding-top: 2px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.link-button a:hover::after{
  right: 10px;
  transition: .3s;
}

.link-button.tel-button,
.link-button.web-button{
  max-width: 400px;
  width: 100%;
  height: 120px;
  border-radius: 8px;
}


.link-button.tel-button a,
.link-button.web-button a{
  border-radius: 8px;
}

.link-button.tel-button a > span,
.link-button.web-button a > span{
  left: 50%;
  transform: translate(-50%,-50%);
  padding-left: 56px;
  white-space: nowrap;
}

.link-button.tel-button a > span::before,
.link-button.web-button a > span::before{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  content: "";
  display: block;
  width: 36px;
  height: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: #fff; */
}

.link-button.tel-button a > span::before{
  background-image: url(../image/common/phone.svg);
}

.link-button.web-button a > span::before{
  background-image: url(../image/common/smart_phone.svg);
}

.link-button.tel-button:hover,
.link-button.web-button:hover{
  animation: yureru-j 1s infinite;
}

@keyframes yureru-j {
  0% {
      transform: translate(0px, 2px);
  }
  5% {
      transform: translate(0px, -2px);
  }
  10% {
      transform: translate(0px, 2px);
  }
  15% {
      transform: translate(0px, -2px);
  }
  20% {
      transform: translate(0px, 2px);
  }
  25% {
      transform: translate(0px, -2px);
  }
  30% {
      transform: translate(0px, 0px);
  }
}


.link-button.tel-button a::after,
.link-button.web-button a::after{
  content: none;
}

.link-button.tel-button{
  background-color: #F4C8CD;
}

.link-button.tel-button a > span{
  display: flex;
  flex-direction: column;
}

.link-button.tel-button a > span >span{
  white-space: nowrap;
}

.link-button.tel-button a > span >span:nth-child(2){
  background-color: #fff;
  color:#F4C8CD ;
}

.link-button.tel-button a:hover{
  background-color: #fe95a1;
}

.link-button.tel-button a:hover > span >span:nth-child(2){
  color: #fe95a1;
  transition: .3s;
}



.link-button.web-button{
  background-color:#9BBC97;
}

.link-button.web-button span{
  font-size: var(--fs-l);
}

.link-button.web-button a:hover{
  background-color: #629a5c;
}

/*----------------
header
----------------*/
header{
  background-color: #FBFAED;
  height: 90px;
}

.header-primary{
  padding:22px 40px;
}


.header-wrap{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-box .box-inner{
  display: flex;
  align-items: center;
}

.header-menu{
  margin-right: 50px;
}

.header-menu ul{
  display: flex;
}

.header-menu ul li{
  list-style: none;
}

.header-menu ul li:nth-last-child(n+3){
  margin-right: 20px;
}

.header-menu ul li:nth-last-child(2){
  margin-right: 40px;
}

.header-menu ul li a:not(.insta){
  text-decoration: none;
  padding:10px;
}

@media print, screen and (max-width:1200px) {
  .header-primary{
    padding:22px 30px;
  }

  .header-menu{
    margin-right: 25px;
  }

  .header-menu ul li:nth-last-child(n+3){
    margin-right: 10px;
  }
  
  .header-menu ul li:nth-last-child(2){
    margin-right: 15px;
  }
  .header-menu ul li a:not(.insta){
    padding:0px;
  }
}

.hedder-tel{
  border-radius: 4px;
  width: 190px;
  height: 46px;
  background-color: #F4C8CD;
}

.hedder-tel a{
  position: relative;
  border-radius: 4px;
  height: 100%;
  color: #fff;
  display: block;
  font-size: var(--fs-m);
}

.hedder-tel a span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding-left: 24px;
  white-space: nowrap;
}

.hedder-tel a span::before{
  position: absolute;
  content: "";
  display: block;
  top: 2px;
  left: 0%;
  width: 15px;
  height: 24px;
  background-image: url(../image/common/phone.svg);
  background-size: cover;
}

/* .logo{
    transition: all 0.3s;
} */

@media print, screen and (min-width:961px) {
  .menu-trigger-button{
    display: none;
  }
}

@media print, screen and (max-width:960px) {

/*========= ナビゲーションのためのCSS ===============*/
.header-box{
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position:fixed;
z-index: -1;
opacity: 0;/*はじめは透過0*/
  /*ナビの位置と形状*/
top:0;
left: 0;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#FBFAED;
  /*動き*/
transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/.header-box.panelactive{
opacity: 1;
z-index:999;
}

.logo.active{
  position: fixed;
  top:22px;
  left:30px;
  z-index:1000;
}

/*ナビゲーションの縦スクロール*/.header-box.panelactive.header-box-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/.box-inner {
  flex-direction: column;
  /* display: none; */
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
.header-box.panelactive ul {
  display: block;
}

/*リストのレイアウト設定*/
.header-box li{
list-style: none;
  text-align: center; 
}
.header-box li a{
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
}

.header-menu ul li a{
  font-size: var(--fs-m);
}

/*========= ボタンのためのCSS ===============*/
.menu-trigger{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:18px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.menu-trigger span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.menu-trigger span:nth-of-type(1) {
	top:15px;	
}

.menu-trigger span:nth-of-type(2) {
	top:23px;
}

.menu-trigger span:nth-of-type(3) {
	top:31px;
}

.menu-trigger.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}

.menu-trigger.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}



  .header-menu ul li a.insta img{
    width: 40px;
  }

  .header-menu {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  
  .header-menu ul li:nth-last-child(n+3) {
    margin-right: 0px;
    margin-bottom: 10px;
  }
  
  .header-menu ul li:nth-last-child(2) {
    margin-right: 0;
    margin-bottom: 15px;
  }

}

/*----------------
top-news
----------------*/

.splide__slide img {
  height: auto;
  width: 100%;
}

/*----------------
top-news
----------------*/
.top-news{
  position: relative;
  overflow: hidden;
  padding: 40px;
  margin-bottom: 100px;
  background-color: #FBFAED;
}

.top-news h2{
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.top-news .inner{
  max-width: 1286px;
  margin: 0 auto;
}

@media print, screen and (max-width:640px) {
  .top-news{
    padding-left: 20px;
    padding-right: 20px;
  }
}

.r_infoback,
.l_infoback{
  position: absolute;
  content: "";
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
.r_infoback{
  width: 520px;
  height: 324px;
  top: 0;
  right: -200px;
  background-image: url(../image/top/r_infoback.png);
}
.l_infoback{
  width: 544px;
  height: 192px;
  bottom: 0;
  left: -100px;
  background-image: url(../image/top/l_infoback.png);
}

.top-news-list{
  position: relative;
  z-index: 1;
  list-style: none;
  background-color: #fff;
  padding: 40px;
  margin-bottom: 40px;
}
@media print, screen and (max-width:640px) {
  .top-news-list{
    padding-left: 20px;
    padding-right: 20px;
  }
}

.top-news-list li{
  text-align: left;
  display: flex;
}

.top-news-list li .date{
  color: #6F6D5A;
  margin-right: 20px;
}

.top-news-list li .title{
  display: block;
}

.top-news-list li:not(:last-child){
  margin-bottom: 20px;
}

@media print, screen and (max-width:640px) {
  .top-news-list li{
    flex-direction: column;
  }
  .top-news-list li .date{
    margin-right: 0px;
    margin-bottom: 4px;
  }
  .top-news-list li:not(:last-child){
    margin-bottom: 24px;
  }
  
}


.top-news .link-button{
  position: relative;
  z-index: 2;
}

/*----------------
greeting
----------------*/

.greeting .inner .box .contents{
  max-width: 1380px;
  margin: auto;
  padding-left:40px;
  padding-right: 40px;
}

.greeting .inner .box:nth-child(1){
  margin-bottom: 50px;
}

.greeting .box .contents{
  display: flex;
  justify-content: space-between;
}

.greeting .box .txt-box{
  text-align: left;
  box-sizing: border-box;
  /* max-width: 483px; */
  max-width: 683px;
  padding: 40px;
}

.greeting .box .txt-box h2{
  margin-bottom: 30px;
}

.greeting .box .img-box{
  position: relative;
  max-width: 572px;
  width: 100%;
  height: 641px;
}

.greeting .box .img-box span{
  position: absolute;
  display: block;
  /* width: calc(100% - 58px); */
  width: 90%;
  height: 90%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}
.greeting .inner .box:nth-child(1) .img-box span:nth-child(1){
  bottom: 0;
  right: 0;
  background-color: #FBFAED;
}

.greeting .inner .box:nth-child(1) .img-box span:nth-child(2){
  top: 0;
  left: 0;
  background-image: url(../image/top/chairman.jpg?v=2);
}

.greeting .inner .box:nth-child(2){
  padding-top: 50px;
  background-color: #FBFAED;
}

.greeting .inner .box:nth-child(2) .img-box span:nth-child(1){
  bottom: 0;
  left: 0;
  background-color: #fff;
}

.greeting .inner .box:nth-child(2) .img-box span:nth-child(2){
  top: 0;
  right: 0;
  background-image: url(../image/top/director.jpg?v=2);
}


.greeting .txt-box .name{
  margin-top: 30px;
  font-size: var(--fs-l);
  font-weight: 700;  
}

.greeting .txt-box .name span{
  font-size: 18px;
  display: inline-block;
  margin-right:1em ;
}

.greeting .txt-box .name::before{
  content: "医療法人貴成会山口歯科医院";
  display: block;
  font-size: 16px;
}

@media print, screen and (max-width:960px) {
  .greeting .box .contents{
    flex-direction: column;
    align-items: center;
  }

  .greeting .inner .box:nth-child(2) .contents{
    flex-direction: column-reverse;
  }

  .greeting .box .txt-box{
    max-width: 960px;
  }

  .greeting .box .txt-box{
    margin: auto;
  }
}
@media print, screen and (max-width:640px) {
  .greeting .box .contents .txt-box{
    padding-left: 0;
    padding-right: 0;
  }

  .greeting .box .img-box{
    height: 400px;
  }
}
@media print, screen and (max-width:480px) {
  .greeting .inner .box .contents{
    padding-left: 20px;
    padding-right: 20px;
  }
  .greeting .box .img-box{
    height: 300px;
  }
}

/*----------------
credo
----------------*/

.credo{
  position: relative;
  padding-top: 140px;
  margin-bottom: 120px;
}

@media print, screen and (max-width:640px) {
  .credo{
    padding-top: 70px;
    margin-bottom: 60px;
  }
}

.credo::before{
  position: absolute;
  content: "";
  display: block;
  top: 0;
  width: 100%;
  height: 260px;
  background-color: #FBFAED;
  z-index: -1;
}

.credo .lead{
  max-width: 1100px;
  padding-top: 60px;
  margin: auto;
  background-color: #fff;
  padding-bottom: 40px;
}

.credo .lead h2{
  margin-bottom: 30px;
}

.credo-box{
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.credo-box .box-item{
  padding: 50px 42px 42px;
}

.credo-box .box-item p{
  margin-top: 30px;
}

.credo-box .box-item:nth-child(odd){
  background-color: #F3EFC4;
}

.credo-box .box-item:nth-child(even){
  background-color: #D9D4AF;
}

@media print, screen and (max-width:900px) {
  .credo-box{
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: repeat(2,1fr);
  }
  .credo-box .box-item:nth-child(1),
  .credo-box .box-item:nth-child(4){
    background-color: #F3EFC4;
  }
  
  .credo-box .box-item:nth-child(2),
  .credo-box .box-item:nth-child(3){
    background-color: #D9D4AF;
  }
}

@media print, screen and (max-width:480px) {
  .credo-box{
    grid-template-columns: repeat(1,1fr);
  }
  .credo-box .box-item:nth-child(odd){
    background-color: #F3EFC4;
  }
  
  .credo-box .box-item:nth-child(even){
    background-color: #D9D4AF;
  }
}

/*----------------
first_visit
----------------*/
.first_visit{
  position: relative;
  overflow: hidden;
}

.l_firstback,
.r_firstback{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.l_firstback{
  left: -100px;
  width: 405px;
  height: 343px;
  background-image: url(../image/top/l_firstback.png);
}

.r_firstback{
  right: -100px;
  width:509px;
  height: 498px;
  background-image: url(../image/top/r_firstback.png);
}

@media print, screen and (max-width:860px) {
  .l_firstback,
  .r_firstback{
    transform: translateY(-50%) scale(0.6,0.6);
  }
}

@media print, screen and (max-width:640px) {
  .l_firstback,
  .r_firstback{
    top: 30%;
    transform: translateY(-50%);
    transform: translateY(-50%) scale(0.4,0.4);
  }
}

.first_visit h2{
  margin-bottom: 40px;
}

.first_visit .inner{
  position: relative;
  z-index: 2;
  margin: auto;
  max-width: 920px;
  padding-left: 40px;
  padding-right: 40px;
}

.first_visit h2 + p{
  margin-bottom: 60px;
}

@media print, screen and (max-width:640px) {
  .first_visit h2 + p{
   text-align: left;
  }

  .first_visit .link-button{
    max-width: 640px;
  }
}

@media print, screen and (max-width:480px) {
  .first_visit .inner{
    padding-left: 20px;
    padding-right: 20px;
  }
}

.first_visit .box{
  display: flex;
}

@media print, screen and (max-width:920px) {
  .first_visit .box{
    flex-direction: column;
  }

  .first_visit .box .link-button:nth-child(1){
    margin-bottom: 30px;
  }
}


/*----------------
treatment
----------------*/
.treatment{
  position: relative;
  padding-top: var(--block-space-3l);
  /* padding-bottom: calc(100px + var(--block-space-l)); */
  padding-bottom: 50px;
  background-color: #FBFAED;
}

@media print, screen and (max-width:860px) {
  .treatment{
    padding-bottom: 80px;
  }  
}

.treatment::before{
  position: absolute;
  top:0;
  content: "";
  display: block;
  width: 100%;
  height: 252px;
  background-color: #fff;
  z-index:0;
}

.treatment .inner{
  text-align: left;
  position: relative;
  /* padding-top: var(--block-space-min);
  padding-right: var(--box-space-l); */
  max-width: 1046px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}

@media print, screen and (max-width:900px) {
  .treatment .inner{
      padding-top: var(--block-space-l);
      padding-right: 0;
  }
}

.treatment .contents{
  position: relative;
  display: flex;
  justify-content: space-between;
  /* padding-bottom: var(--block-space-l); */
  padding: var(--block-space-min);
}


/* .treatment .contents::after{
  position: absolute;
  content: "TREATMENT";
  font-size: 100px;
  font-family: var(--ff-en);
  color: #ededed;
  right:0;
  bottom: -100px;
  line-height: 1;
  z-index: 1;
} */

@media print, screen and (max-width:900px) {
  .treatment{
      /* padding-top: var(--block-space-3l); */
      padding-top: 0;
  }

  .treatment .contents{
      flex-wrap: wrap;
      justify-content: center;
  }
  /* .treatment .contents::after{
      font-size: 78px;
  } */
}

.treatment h2{
  font-size: var(--fs-3l);
  margin-left:var(--box-space-m);
  margin-bottom: var(--block-space-min);
}

.treatment .contents .txt-box{
  text-align: left;
  box-sizing: border-box;
  width: 50%;
  padding: var(--box-space-s) var(--box-space-l) 0;
}

.treatment .list-box{
  padding-top :var(--box-space-s);
  width: 50%;
}

@media print, screen and (max-width:900px) {   
  .treatment .contents .txt-box{
      width: 100%;
      padding: var(--box-space-s) var(--box-space-l) 0;
  }

  .treatment .list-box{
      padding-top :var(--box-space-s);
      width: 100%;
  }
}

.treatment-list{
  list-style: none;
}

.treatment-list li{
  text-align: left;
  border-top: 1px solid #E3E3E3;
}

.treatment-list li:last-of-type{
  border-bottom: 1px solid #E3E3E3;
}

.treatment-list li a{
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 26px 20px;
  font-size: 20px;
  color:#6F6D5A ;
  font-weight: 700;
}

.treatment-list li a:hover{
  color:#90B48C ;
}

@media print, screen and (max-width:900px) {   
  .treatment-list li a{
      padding: 30px 24px;
  }
}

.treatment-list li a span {
  position: relative;
  display: block;
  width: 38px;
  height: 12px;
  background-image: url(../image/common/arrow-green.svg);
  background-position: center;
  background-size: cover;
  margin-right: 20px;
}



.treatment-list li a:hover span{
  margin-right: 0px;
  transition: .3s;
}

/*----------------
banner_area
----------------*/
.banner_area{
  background-color: #FBFAED;
  padding-top: 100px;
  padding-bottom: 100px;
}

.banner_area .inner{
  margin: auto;
  max-width: 920px;
  padding-left: 40px;
  padding-right: 40px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}




.banner_area .banner-item{
  max-width: 400px;
  width: 100%;
  height: 140px;
  background-color:#D9D4AF ;
  border-radius: 8px;
  transition: .3s;
}

@media print, screen and (max-width:860px) {
  .banner_area{
    padding-bottom: 80px;
  }

  .banner_area .banner-item{
    max-width: 800px;
  }

  .banner_area .inner{
    grid-template-columns: repeat(1,1fr);
  }
}

.banner_area .banner-item:hover{
  background-color:#6F6D5A ;
}

.banner_area .banner-item[b-color="green"]{
  background-color: #9BBC97;
}

.banner_area .banner-item[b-color="green"]:hover{
  background-color: #629a5c;
}

.banner_area .banner-item a{
  position: relative;
  display: block;
  height: 100%;
  color: #fff;
}

.banner_area .banner-item a span{
  position:absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding-left: 30px;
  font-size: 26px;
}

.banner_area .banner-item a span::before{
  position:absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 50px;
  height: 60px;
  background-position: center;
  background-size: contain;
  background-position: no-repeat;
}

.banner_area .banner-item:nth-child(1) a span::before{
  background-image: url(../image/top/bullhorn.svg);
}

.banner_area .banner-item:nth-child(2) a span::before{
  background-image: url(../image/top/memo.svg);
}

.banner_area .banner-item:nth-child(3) a span::before{
  background-image: url(../image/top/tooth.svg);
}

.banner_area .banner-item:nth-child(4) a span::before{
  background-image: url(../image/top/person.svg);
}


/*----------------
style
----------------*/

.style{
  padding: 40px 40px 80px;
  background-image: url(../image/top/style_back.jpg?v=2);
  background-size: cover;
  margin-bottom: 100px;
}

.style .inner{
  max-width: 1086px;
  margin: auto;
}

.style .inner .box{
  background-color: rgba(255, 255, 255, 0.5);
  text-align: left;
  padding: 40px;
  max-width: 396px;
}

.style .inner .box h2{
  margin-bottom: 30px;
}

.style .inner .box h2 + p{
  margin-bottom: 30px;
}

@media print, screen and (max-width:750px) {
  .style{
    background-position: right;
  }
  .style .inner .box{
    max-width: 900px;
  }
}

/*----------------
  outline
----------------*/

.outline{
  /* background-color: #fff; */
  max-width: 1286px;
  margin: auto;
  padding-bottom: 100px;
}

.outline .inner{
  padding-right: var(--box-space-m);
  padding-left: var(--box-space-m);
}

.outline h2{
  /* font-size: var(--fs-5l); */
  margin-bottom: var(--block-space-s);
}

.outline .img-box{
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--block-space-3s);
}


.outline .img-box .img-box-item{
  max-width: 740px;
  width: 100%;
  height: 460px;
  background-color: #ededed;
}

.outline .img-box .img-box-item.gmap {
  max-width: 424px;
}

.outline .img-box .img-box-item.exterior {
  margin-right: 40px;
}

@media print, screen and (max-width:900px) {
  .outline .img-box{
      flex-wrap: wrap;
      justify-content: space-between;
  }
  .outline .img-box .img-box-item {
      max-width: 900px;
  }

  .outline .img-box .img-box-item.gmap {
      max-width: 900px;
  }
  
  .outline .img-box .img-box-item.exterior {
      margin-right: 0px;
      margin-bottom: 40px;
  }
}
.outline .img-box .img-box-item iframe{
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}

.outline .txt-box{
  font-size: var(--fs-m);
  display: flex;
  justify-content: space-between;
}

.outline .txt-box .txt-box-item{
  text-align: left;
  max-width: 564px;
  width: 100%;
}


/* .outline .txt-box .txt-box-item .tel{
  margin-top: var(--block-space-s);
} */

.outline .txt-box .txt-box-item .tel-button{
  margin-left: 0;
}

.outline .txt-box .txt-box-item:nth-of-type(1){
  margin-right: var(--block-space-s);
}

.outline .txt-box .txt-box-item dl{
  margin-bottom:var(--block-space-s) ;
}

@media print, screen and (max-width:900px) {
  .outline .txt-box{
      flex-wrap: wrap;
      justify-content: center;
  }

  .outline .txt-box .txt-box-item:nth-of-type(1){
      margin-right: 0;
      margin-bottom: var(--block-space-s);
  }

  .outline .txt-box .txt-box-item{
      max-width: 900px;
  }

  .outline .txt-box .txt-box-item .tel-button{
    margin-left: auto;
  }
}

.outline .txt-box .txt-box-item dt{
  font-weight: 700;
  border-bottom:1px solid #EDEDED;
  padding-bottom: 10px;
  margin-bottom:10px ;
}

.outline .txt-box .txt-box-item dd a{
  color: #9BBC97;
  font-weight: 700;
}

.outline .txt-box .txt-box-item dd p span{
  min-width: 84px;
  margin-right: 20px;
  display: inline-block;
}

/*-------
診療時間table
-------*/

.open-hours {
  font-weight: 700;
  display: grid;
  grid-template-areas:/*スマホ並び*/
  "th-we th-am th-pm"
  "week1 am1 pm1"
  "week2 am2 pm2"
  "week3 am3 pm3"
  "week4 am4 pm4"
  "week5 am5 pm5"
  "week6 am6 pm6"
  "week7 am7 pm7";
}

.open-hours div span.opn{
  display: block;
  width: var(--fs-m);
  height: var(--fs-m);
  background-color: #222222;
  border-radius: 50%;
}

.open-hours div span.cls{
  display: block;
  width: var(--fs-m);
  height: 2px;
  background-color: #222222;
}

/* .th-week,.week1,.week2,.week3,.week4,.week5,.week6,.week7,
.th-am,.am1,.am2,.am3,.am4,.am5,.am6,.am7,.th-pm,.pm1,.pm2,
.pm3,.pm4,.pm5,.pm6,.pm7 含む*/
.open-hours div[class*="week"],
.open-hours div[class*="am"],
.open-hours div[class*="pm"]{
 display: grid;
 place-items: center;
 padding-top: 15px;
 padding-bottom: 15px;
 border-top: 1px solid #EDEDED;
 text-align: center;
}
.th-week,.th-am,.th-pm{
  padding-left: var(--box-space-s);
  padding-right: var(--box-space-s);
  min-width: 100px;
}

/* 始まる */
.open-hours div[class^="week"],
.open-hours div[class^="am"],
.open-hours div[class^="pm"]{
padding: 0 5px;
}

.th-week {
grid-area: th-we;
}
.week1 {
grid-area:week1;
}
.week2 {
grid-area:week2;
}
.week3 {
grid-area:week3;
}
.week4 {
grid-area:week4;
}
.week5 {
grid-area:week5;
}
.week6 {
grid-area:week6;
color: #2E5C6A;
}
.week7 {
grid-area:week7;
color: #E63D66;
padding-right: var(--box-space-min);
}

.week7 small{
  font-size: var(--fs-s);
  line-height: 2.2;
}

.th-am {
grid-area:th-am;
}
.am1 {
grid-area:am1;
}
.am2 {
grid-area:am2;
}.am3 {
grid-area:am3;
}
.am4 {
grid-area:am4;
}.am5 {
grid-area:am5;
}
.am6 {
grid-area:am6;
}
.am7 {
grid-area:am7;
padding-right: var(--box-space-min);
}
.th-pm {
grid-area:th-pm;
}
.pm1 {
grid-area:pm1;
}
.pm2 {
grid-area:pm2;
}
.pm3 {
grid-area:pm3;
}
.pm4 {
grid-area:pm4;
}
.pm5 {
grid-area:pm5;
}
.pm6 {
grid-area:pm6;
}
.pm7 {
grid-area:pm7;
padding-right: var(--box-space-min);
}

@media screen and (min-width: 500px) {
  .open-hours {
  display: grid;
  grid-template-areas:/*pc並び*/
  "th-we week1 week2 week3 week4 week5 week6 week7"
  "th-am am1 am2 am3 am4 am5 am6 am7"
  "th-pm pm1 pm2 pm3 pm4 pm5 pm6 pm7";
  grid-template-columns:auto repeat(7, 1fr);
  /* grid-template-rows: 100px 100px 100px; */
  }
 
}

/*----------------
  calendar
----------------*/

.calendar{
  position: relative;
  background-color: #FBFAED;
}

.calendar::before,
.calendar::after{
  position: absolute;
  content: "";
  display: block;
  width: 584px;
  height: 292px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url(../image/top/calback.png);
  z-index: 0;
}

.calendar::before{
  top: 0;
  right: 0;
  transform: rotate(180deg);
}

.calendar::after{
  bottom: 0;
  left: 0;
}

.calendar .inner{
  padding: var(--block-space-s) var(--block-space-unit);
}

.calendar h2{
  position: relative;
  z-index: 2;
  /* font-size: var(--fs-5l); */
  margin-bottom: var(--block-space-3s);
}

.calendar-box{
  position:relative;
  max-width: 800px;
  width:100%;
  height:600px;
  padding-top:0%;
  margin:auto;
  z-index: 2;
}

.calendar-box iframe{ 
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

@media print, screen and (max-width:800px) {
  .calendar-box{
      height:0px;
      padding-top:80%;
  }
.calendar::before,
.calendar::after{
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 150px;
}
}

@media print, screen and (max-width:480px) {
  .calendar-box{
      padding-top:100%;
  }
}


/*----------------
  footer
----------------*/
footer{
  padding-top: 100px;
  /* border-top: 1px solid #ededed; */
}

.ft-logo{
  width: 300px;
  height: auto;
  margin: 0 auto 30px;

}

footer nav{
  margin-bottom: 40px;
}

@media print, screen and (max-width:640px) {
  footer{
    padding-top: 60px;
  }

  .ft-logo{
    margin: 0 auto 60px;
  }

  footer nav{
    display: none;
  }
}

footer nav ul{
  display: flex;
  /* justify-content: space-between;
  width: 554px; */
  justify-content: center;
  margin: auto;
}

footer nav ul li{
  list-style: none;
  margin: 10px;
}

footer nav ul li a{
  text-decoration: none;
}

footer nav ul li a:not(.insta){
  padding: 10px;
}


footer nav ul li a.insta img{
  width:32px;
  height:32px;
}

#page_top{
  width: 70px;
  height: 70px;
  position: fixed;
  right: 20px;
  bottom: 0;
  background: #6F6D5A;
  opacity: 0.8;
  border-radius: 8px;
  z-index: 3;
}

#page_top:hover{
  opacity: 1;
}
#page_top a{
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  text-decoration: none;
  background: url(../image/common/arrow-white.svg) center no-repeat;  
}

@media print, screen and (max-width:640px) {
  #page_top{
    width: 50px;
    height: 50px;
  }

  #page_top a{
    width: 50px;
    height: 50px;
    background-size: 20px;
  } 
}
/* #page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106'; 
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
} */

footer .copy{
  padding: 5px  var(--box-space-s);
  background-color: #A4A184;
  color: #fff;
}

/*----------------
  subpape mainvisual
----------------*/

.subpape #mainvisual{
  background-image: url(../image/common/sky.jpg);
  background-size: cover;
  background-position: 10%;
  margin-bottom: 60px;
}

.subpape #mainvisual .inner{
  padding: 40px;
}

.subpape #mainvisual .inner h2.enttl{
  font-size: var(--fs-5l);
  color: #fff;
}

.subpape .inner:not(.outline .inner,.calendar .inner){
max-width: 960px;
margin: auto;
box-sizing: border-box;
padding-left: 20px;
padding-right: 20px;
}
.intro .inner p:not(:last-of-type){
  margin-bottom: 20px;
}

.subpape section:not(.outline,.calendar) {
  margin-bottom: 100px;
}

@media print, screen and (max-width:750px) {
  .intro .inner p{
    text-align: left;
  }
}


/*----------------
 recruit
----------------*/

.contents-box{
  margin-bottom: 60px;


  /* width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */


}

.contents-box h2{
  padding-top: 40px;
  padding-bottom: 30px;
  background-color: #FBFAED;
}

.guideline-table{
  text-align: left;
  background-color: #FBFAED;
  padding: 0 50px 50px;
  box-sizing: border-box;
  margin:auto;
  display:flex;
  flex-wrap: wrap;
}

.guideline-table dt{
  color: #6F6D5A;
  font-weight: 500;
  max-width: 220px;
  padding: 20px 30px;
  width: 100%;
  border-top: 1px solid #707070;
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
}

.guideline-table dd{
  width: calc(100% - 220px);
  padding: 20px 30px;
  border-top: 1px solid #707070;
  border-right: 1px solid #707070;
}

.guideline-table dt:last-of-type{
  border-bottom: 1px solid #707070;
}

.guideline-table dd:last-of-type{
  border-bottom: 1px solid #707070;
}

.caution{
  display: inline-block;
  text-indent: -1.1em;
  padding-left: 1.1em;
}

.caution::before {
  content: "\0274b";/*\025ce※ */
  margin-right: 0.1em;
}


.cir-list li{
  list-style: none;
  text-indent: -1.1em;
  padding-left: 1.1em;
}

.cir-list li::before {
  content: "\025cf";
  margin-right: 0.1em;
}

@media screen and ( max-width:750px) {
.guideline-table{
  padding: 20px;
  flex-wrap: wrap;
}

.guideline-table dt{
  font-size: var(--fs-m);
  /* text-align: center; */
  max-width: 750px;
  padding: 20px 30px 5px;
  width: 100%;
  border-top: 1px solid #707070;
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
}

.guideline-table dd{
  max-width: 750px;
  width: 100%;
  padding: 0px 30px 20px;
  border-top: 0;
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
}

.guideline-table dt:last-of-type{
  border-bottom: 0;
}

}


.welfare h2{
  margin-bottom: 40px;
}

.welfare-box{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap:20px;
  margin-bottom: 50px;

  width: calc(100% + 200px);
  margin-left: -100px;
  margin-right: -100px;
}

@media print, screen and (max-width:1160px) {
  .welfare-box{
    grid-template-columns: repeat(2,1fr);
    grid-row-gap:20px;
  
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media print, screen and (max-width:750px) {
  .welfare-box{
    grid-template-columns: repeat(1,1fr);
    grid-row-gap:30px;
  }
}

.welfare-box .box-item{
  background-color: #FBFAED;
  border-radius: 4px;
  padding: 30px;
}

.welfare-box .box-item img{
  margin-bottom: 20px;
  /* border-radius: 4px; */
}

.welfare-box .box-item p{
  font-size: var(--fs-m);
}


.welfare-list{
  max-width: 750px;
  margin:auto ;
  border: 15px solid #F4C8CD;
  /* background-color: #FBFAED; */
  padding: 30px;
  border-radius: 4px;
}

@media print, screen and (max-width:900px) {
  .welfare-list{
    padding: 30px 20px;
  }
}

.welfare-list li{
  position: relative;
  list-style: none;
  text-align: left;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.8;
  padding-left: 2em;
}

.welfare-list li::after {
  position: absolute;
  content: '';
  display: block;
  top: .5em;
  left: 0em;
  width: 21px;
  height: 12px;
  border-left: 6px solid #fe95a1;
  border-bottom: 6px solid #fe95a1;
  transform: rotate(-45deg);
}

.welfare-list li:not(:last-child){
  padding-bottom: 10px;
  border-bottom: dashed 2px #EDEDED;
  margin-bottom: 10px;
}

.welfare-box + p{
  margin-bottom: 10px;
  font-weight: 700;
}

.from_chairman h2{
  margin-bottom: 60px;
}

.from_chairman .greeting-box{
  margin-bottom: 60px;
}


.from_chairman .box{
  display: flex;
}



@media print, screen and (max-width:900px) {
  .from_chairman .box{
   flex-direction: column;
  }
}

.from_chairman .greeting-box .txt-box{
  text-align: left;
  max-width: 460px;
  margin-right: 60px;
}

.from_chairman.recruit-page .greeting-box .txt-box{
  max-width: 920px;
  margin-right: 0px;
}

@media print, screen and (max-width:900px) {
  .from_chairman .greeting-box .txt-box{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
}



.from_chairman .greeting-box .img-box img{
  max-width:600px ;
  width: 100%;
  height: 100%;
}

.from_chairman .contact-box p{
  margin-bottom: 20px;
  font-weight: 700;
}

@media print, screen and (max-width:900px) {
  .from_chairman .contact-box{
    background-color: #FBFAED;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .from_chairman .contact-box .box .link-button:nth-child(1){
    margin-bottom: 30px;
  }

  .from_chairman .greeting-box .img-box{
    height: 300px;
  }
  
}

/*----------------
 first_visit
----------------*/

.thinking h2{
  margin-bottom: 40px;
}

.thinking .box{
  text-align: left;
  background-color: #FBFAED;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 40px;
}

@media print, screen and (max-width:750px) {
  .thinking .box{
    padding: 40px 20px;
  }
}

.thinking .box h3{
  font-size: var(--fs-l);
  color: #fe95a1;
  margin-bottom: 5px;
}

.thinking .inner .box:not(:last-of-type){
  margin-bottom: 30px;
}

.dentist h2{
  margin-bottom: 40px;
}

.dentist .inner .box:not(:last-of-type){
  margin-bottom: 60px;
}

.dentist .inner .box{
  display: flex;
}

.dentist .inner .box .txt-box{
  text-align: left;
  margin-right: 60px;
}

.dentist .inner .box .txt-box h3{
  font-size: var(--fs-l);
}

.dentist .inner .box .txt-box .personal dt{
  font-size: var(--fs-m);
}

@media print, screen and (max-width:750px) {
  .dentist .inner .box{
    flex-direction: column-reverse;
  }
  .dentist .inner .box .txt-box{
    margin-right: 0px;
  }
  .dentist .inner .box .img-box{
    margin-bottom: 20px;
  }
}

/*----------------
 treatment
----------------*/

.symptoms .box h2{
  font-size: var(--fs-l);
  color: #fe95a1;
  margin-bottom: 5px;
}

.symptoms .inner {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

.symptoms .box{
  text-align: left;
  background-color: #FBFAED;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 40px;
}

/* .symptoms .inner .box:not(:last-of-type){
  margin-bottom: 40px;
} */

@media print, screen and (max-width:750px) {
  .symptoms .box{
    padding: 40px 20px;
  }

  .symptoms .inner {
    grid-template-columns: repeat(1,1fr);
    grid-column-gap: 0px;
    grid-row-gap: 30px;
  }

  /* .symptoms .inner .box:not(:last-of-type){
    margin-bottom: 30px;
  } */
}

/*----------------
preventive
----------------*/

.about h2{
  margin-bottom: 40px;
}

.about p{
  text-align: left;
}

.importance {
  background-color: #FBFAED;
  padding-top: 40px;
  padding-bottom: 40px;
}
.importance h2{
  margin-bottom: 10px;
}

.importance p{
  text-align: left;
}

.merit h2{
  font-size: var(--fs-m);
  color: #fe95a1;
  margin-bottom:5px;
}

.merit .inner{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap: 30px;
}

.merit .box p:not(.result){
  text-align: left;
}

.merit .box p.result{
  color: #629a5c;
  font-weight: 700;
}

.merit .box img{
margin-bottom: 10px;
}

@media print, screen and (max-width:900px) {
  .merit .inner{
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
  }
}

@media print, screen and (max-width:640px) {
  .merit .inner{
    grid-template-columns: repeat(1,1fr);
    grid-row-gap: 30px;
  }
}

.flow{
  text-align: left;
}

.flow h2{
  margin-bottom: 40px;
}

.flow-list{
  list-style: none;
  counter-reset: num_a;
}

.flow-list li{
  position: relative;
  list-style: none;
  background-color: #FBFAED;
  /* border: solid 15px #FBFAED; */
  padding: 30px 20px;
}

.flow-list li:not(:last-child):after{
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  display: block;
  width: 5px;
  height: 20px;
  background-color: #9BBC97;
}

.flow-list li:not(:last-child){
  margin-bottom:20px ;
}

.flow-list li h3{
  color: #629a5c;
  font-size: var(--fs-l);
  margin-bottom: 5px;
}

.flow-list li h3:before{
  content: counter(num_a,decimal-leading-zero);
  counter-increment: num_a;
  margin-right: 0.5em;
  color: #9BBC97;
}

.btn--blue,
a.btn--blue {
  color: #fff;
  background-color: #5DA9E9;
  text-decoration: none;
  padding: 10px 20px;
}
.btn--blue:hover,
a.btn--blue:hover {
  color: #fff;
  background: #01BAEF;
  text-decoration:underline;
}