@charset "UTF-8";

.pc-hide {
  display: none;
}

.sp-hide {
  display: inherit;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5em;
}
.pd0 {
  padding-top: 0!important;
}

.co4 {
  padding: 0;
}
.co4 iframe {
  width: 100%;
  height: 410px;
  filter: grayscale(.5);
}
@media screen and (max-width: 768px) {
  .co4 iframe {
    height: 40vh;
  }
}

.mincho {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.zen {
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.noto {
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.eng {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 200;
}

.h-reserve {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: block;
  width: 120px;
  height: 120px;
  background-color: #023531;
  z-index: 999;
  border-radius: 50%;
  box-shadow: 1px 3px 15px -5px #c1c1c1;
  color: #fff;
  transition: 0.2s ease;
}

.h-reserve:hover {
  opacity: 0.8;
}

.h-reserve .menu-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5em;
  width: 100%;
}

.tran-opa {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tran-opa:hover {
  opacity: 0.7;
}

.mgb-20 {
  margin-bottom: 20px!important;
}

.mgb-60 {
  margin-bottom: 60px!important;
}

.mgb-100 {
  margin-bottom: 100px!important;
}

@media screen and (max-width: 768px) {
  .pc-hide {
    display: inherit;
  }

  .sp-hide {
    display: none;
  }
}

header nav.nav {
  position: fixed;
  width: 450px;
  height: 100px;
  border-radius: 15px;
  left: 30px;
  top: 30px;
  background-color: white;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.15);
  display: flex;
  z-index: 99;
}

header nav.nav a {
  width: 250px;
  text-align: center;
}

#menu-wrap {
  position: fixed;
  width: 0;
  height: 90vh;
  right: 5vh;
  top: 5vh;
  z-index: 98;
  background-color: white;
  border-radius: 20px;
  transition: width 0.5s ease;
  overflow-x: hidden;
}

#menu-wrap.open {
  width: 300px;

}

#menu-wrap .close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor : pointer;
}

#menu-wrap ul {
  margin-top: 80px;
  width: 300px;
  padding: 40px;
}

#menu-wrap li {
  font-size: 24px;
  color: #023531;
  margin-bottom: 1.5em;
  opacity: 1;
  transition: all 0.3s ease;
}

#menu-wrap li:hover {
  color: #445d5b;
  opacity: 0.8;
}

#reserve-wrap {
  position: fixed;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  z-index: 98;
  backdrop-filter: blur(0);
  background-color: rgba(255, 255, 255, 0.4);
  transition: backdrop-filter 0.5s ease, opacity 0.5s ease, height 0.5s;
  overflow-x: hidden;
  opacity: 0;
}

#reserve-wrap.open {
  height: 100vh;
  opacity: 1;
  backdrop-filter: blur(5px);
}

#reserve-wrap h3 {
  text-align: center;
  font-size: 20px;
  border-bottom: 1px solid rgba(2,53,49,0.5);
  padding-bottom: 0.5em;
  letter-spacing: 0.2em;
  color: #023531;
}

#reserve-wrap .reserve-close {
  position: fixed;
  top: 160px;
  right: 50%;
  margin-right: -370px;
  cursor : pointer;
}

#reserve-wrap .reserve-contents {
  width: 800px;
  margin: 200px auto 0;
}

#reserve-wrap .tab-menu {
  width: 95%;
  margin: 0 auto;
}

#reserve-wrap .re {
  width: 95%;
  display: block;
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
  background-color: #e6f2f1;
  color: #333;
  transition: background-color 0.5s, color 0.5s;
}

#reserve-wrap .re:hover {
  background-color: #023531;
  color: white;
}

#reserve-wrap .re p {
  line-height: 80px;
  height: 80px;
  font-size: 18px;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  #reserve-wrap {
    position: fixed;
    width: 100%;
    height: 0;
    left: 0;
    top: 0;
    z-index: 98;
    backdrop-filter: blur(0);
    background-color: rgba(255, 255, 255, 0.4);
    transition: backdrop-filter 0.5s ease, opacity 0.5s ease, height 0.5s;
    overflow-x: hidden;
    opacity: 0;
  }

  #reserve-wrap.open {
    height: 100vh;
    opacity: 1;
    backdrop-filter: blur(5px);
  }

  #reserve-wrap h3 {
    text-align: center;
    font-size: 20px;
    border-bottom: 1px solid rgba(2,53,49,0.5);
    padding-bottom: 0.5em;
    letter-spacing: 0.2em;
    color: #023531;
  }

  #reserve-wrap .reserve-close {
    display: none;
  }

  #reserve-wrap .reserve-contents {
    width: 80vw;
    margin: 35vw auto 0;
  }

  #reserve-wrap .tab-menu {
    width: 100%;
    margin: 0 auto;
  }
  
  #reserve-wrap .tab-content {
    width: 100%;
    overflow-x: scroll;
  }

  #reserve-wrap .re {
    width: 95%;
    display: block;
    text-align: center;
    border-radius: 10px;
    margin: 0 auto;
    background-color: #e6f2f1;
    color: #333;
    transition: background-color 0.5s, color 0.5s;
  }

  #reserve-wrap .re:hover {
    background-color: #023531;
    color: white;
  }

  #reserve-wrap .re p {
    line-height: 80px;
    height: 80px;
    font-size: 14px;
    letter-spacing: 0.05em;
  }
}

.name {
  color: #333;
  font-size: 20px;
  letter-spacing: 0.2em;
  line-height: 100px;
}

.menu {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  background-color: #445d5b;
  color: white;
  letter-spacing: 1em;
  text-align: center;
  line-height: 1.8em;
  padding-left: 0.8em;
  cursor : pointer;
  opacity: 1;
}



.reservation {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  background-color: #023531;
  color: white;
  letter-spacing: 1em;
  text-align: center;
  line-height: 1.8em;
  padding-left: 0.8em;
  border-radius: 0 15px 15px 0;
}

#hero div.wrapper {
  width: 100%;
  height: 100vh;
  background: url("../img/mv.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

.tsumugu {
  writing-mode: vertical-rl; 
  font-size: 14vh;
  letter-spacing: 0.8em;
  position: absolute;
  height: auto;
  width: 1em;
  left: 0;
  right: 0;
  top: 50%;
  margin: -2.25em auto 0;
}

.words {
  font-size: 14vh;
  letter-spacing: 0.8em;
  text-align: center;
  color: white;
  line-height: 100vh;
  margin-left: 0.8em;
  pointer-events: none;
}

.scroll {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
}
.scroll-text {
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.scroll-border {
  position: relative;
  top: 10px;
  width: 100%;
  height: 60px;
  overflow: hidden;
}
.scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}
@keyframes scrollbar {
  0% {
    height: 0;
    top: 0;
  }
  30% {
    height: 100%;
  }
  100% {
    top: 100%;
  }
}

#philosophy {
  position: relative;
}

#philosophy div.container {
  position: relative;
  height: 100vh;
  max-height: 800px;
  width: 100%;
  display: flex;
  padding: 0 120px 30vh;
  align-items: flex-end;
  justify-content: space-between;
}


#philosophy .scroll, .credo .scroll, .doctor .scroll, .info-wrap .scroll, .others .scroll, #treat-menu .scroll {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  margin: auto;
}
#philosophy .scroll-text, .info-wrap .scroll-text, #treat-menu .scroll-text {
  color: #333;
  font-size: 14px;
  text-align: center;
}
#philosophy .scroll-border {
  position: relative;
  top: 10px;
  width: 100%;
  height: 60px;
  overflow: hidden;
}
#philosophy .scroll-border::before, .info-wrap .scroll-border::before, #treat-menu .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  background: #333;
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}


.catch {
  font-size: 36px;
  line-height: 2.5em;
  letter-spacing: 0.15em;
  margin-bottom: -0.75em;
  color: #023531;
}

.right p {
  line-height: 2em;
  margin-bottom: -0.5em;
  width: 500px;
}

.right a {
  position: absolute;
  right: 120px;
  top: 150px;
  padding-right: 24px;
  letter-spacing: 0.2em;
}

.right a::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  right: 5px;
  margin-top: -6px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
}

.right a:hover::after {
  right: -5px;
}

#treat-menu div.wrapper {
  display: flex;
  background: url("../img/background.gif") repeat center center;
  background-size: 125px;
}

#treat-menu div.left {
  display: grid;
  place-items: center;
  position: relative;
  width: calc(100vw - 900px);
  border-right: 1px solid white;
}

#treat-menu h2 {
  font-size: 36px;
  letter-spacing: 0.8em;
  line-height: 1.8em;
  text-align: center;
  color: #023531;
  margin-right: -0.8em;
}

#treat-menu ul {
  display: flex;
  flex-wrap: wrap;
  width: 900px;
}

#treat-menu li {
  width: 300px;
  height: 250px;
  color: #023531;
  position: relative;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}

#treat-menu li:nth-child(3n) {
  border-right: none;
}

#treat-menu li:nth-child(n+7) {
  border-bottom: none;
}

#treat-menu h3 {
  font-size: 20px;
  letter-spacing: 0.1em;
  position: absolute;
  top: 20px;
  left: 20px;
}

#treat-menu h4 {
  font-size: 16px;
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 20px;
  right: 55px;
}

#treat-menu h4::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  right: -30px;
  margin-top: -9px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
  
}

#treat-menu a:hover h4::after {
  right: -40px;
}


#treat-menu img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transition: transform .3s ease;
}

#treat-menu a:hover img {
  transform: scale(1.2);
}

@media screen and (max-width:768px) {
  #treat-menu div.wrapper {
    display: block;
    background: url("../img/background.gif") repeat center center;
    background-size: 125px;
  }

  #treat-menu div.left {
    display: grid;
    place-items: center;
    position: relative;
    width: 100%;
    padding: 160px 0 50px;
    border-right: none;
    border-bottom: 1px solid white;
  }

  #treat-menu h2 {
    font-size: 28px;
    letter-spacing: 0.4em;
    line-height: 1.8em;
    color: #023531;
    margin-right: 0;
    text-align: center;
  }

  #treat-menu ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  #treat-menu li {
    width: 50vw;
    height: 45vw;
    color: #023531;
    position: relative;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
  }

  #treat-menu li:nth-child(3n) {
    border-right: 1px solid white;
  }

  #treat-menu li:nth-child(n+7) {
    border-bottom: 1px solid white;
  }
  
  #treat-menu li:nth-child(2n) {
    border-right: none;
  }

  #treat-menu li:nth-child(9) {
    border-bottom: none;
  }

  #treat-menu h3 {
    font-size: 16px;
    letter-spacing: 0.02em;
    position: absolute;
    top: 5vw;
    left: 5vw;
  }

  #treat-menu h4 {
    font-size: 13px;
    letter-spacing: 0.1em;
    position: absolute;
    bottom: 5vw;
    right: 30px;
  }

  #treat-menu h4::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: -15px;
    margin-top: -6px;
    background: url("../img/arrow.png") no-repeat center center;
    background-size: cover;
    transition: right 0.3s ease;

  }

  #treat-menu a:hover h4::after {
    right: -25px;
  }


  #treat-menu img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: transform .3s ease;
  }

  #treat-menu a:hover img {
    transform: scale(1.2);
  }

}



div.divide {
  display: flex;
}

.credo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  background: url("../img/credo-img.jpg") no-repeat center center;
  background-size: cover;
  border: 2px solid white;
  transition: opacity 0.3s ease;
}

.credo:hover {
  opacity: 0.8;
}

.credo h2 {
  text-align: center;      
  font-size: 36px;
  letter-spacing: 0.2em;
  color: white;
  text-shadow:  0 0 15px #666;
  
}

.credo h2 small {
  font-size: 16px;
  letter-spacing: 0.2em;
}

.doctor {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  background: url("../img/doctor.jpg") no-repeat center center;
  background-size: cover;
  border: 2px solid white;
  transition: opacity 0.3s ease;
}

.doctor:hover {
  opacity: 0.8;
}

.doctor h2 {
  text-align: center;
  font-size: 36px;
  letter-spacing: 0.2em;
  color: white;
  text-shadow:  0 0 15px #666;
  
}

.doctor h2 small {
  font-size: 16px;
  letter-spacing: 0.2em;
}

.info-wrap {
  position: relative;
  background: url("../img/background.gif") repeat center center;
  background-size: 125px;
}

#information {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 600px;
  width: 1100px;
  margin: 0 auto;
  padding-bottom: 80px;
}

#information .list .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#information h2 {
  font-size: 36px;
  color: #023531;
  letter-spacing: 0.2em;
}

#information a.more {
  position: relative;
  padding-right: 24px;
  letter-spacing: 0.2em;
}

#information a.more::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  right: 5px;
  margin-top: -6px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
  
}

#information a.more:hover::after {
  right: -5px;
}


#information img {
  width: 400px;
}

#information .list ul {
  width: 600px;
}

#information .list ul li {
  border-bottom: 1px solid #ccc;
  height: 80px;
  position: relative;
  transition: opacity 0.3s ease;
}

#information .list ul li:hover {
  opacity: 0.6;
}

#information .list ul li time {
  position: absolute;
  bottom: 15px;
  left: 10px;
  color: #023531;
  font-size: 14px;
}

#information .list ul li h3 {
  position: absolute;
  letter-spacing: 0.1em;
  bottom: 15px;
  left: 100px;
}

#information .list ul li::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 15px;
  right: 5px;
  margin-top: -6px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
  
}

#information .list ul li:hover::after {
  right: -5px;
}


#information .calendar {
  width: 400px;
  position: relative;
}

#information .calendar::before {
  white-space: pre-wrap;
  content: '●休診日';
  position: absolute;
  right: 0;
  top: -1.5em;
  color: #445d5b;
  font-size: 14px;
}

#information .calendar::after {
  white-space: pre-wrap;
  content: '診療時間：9:00〜12:30 14:00〜18:30（土曜 〜18:00）';
  position: absolute;
  left: 0;
  bottom: -2em;
  color: #445d5b;
  font-size: 14px;
}

#information .slick-next {
  top: 30px;
  right: 20px;
}

#information .slick-prev {
  top: 30px;
  left: 20px;
  z-index: 10;
}

.others {
  background: url("../img/background.jpg") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 33vw;
  position: relative;
  overflow: hidden;
}

.others canvas {
  position: absolute;
  mix-blend-mode: screen;
  opacity: 0.8;
}

.others canvas:nth-child(2){
  left: 960px;
}

.others ul {
  display: flex;
}

.others ul li {
  width: 100%;
}

.others ul li a {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 33vw;
  border: 5px solid #fff;
}
.others div.viewmore {
  position: absolute;
  text-align: center;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  color: white;
  font-size: 14px;
}

.others div.viewmore::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  right: 50%;
  margin-right: -4em;
  margin-top: -6px;
  background: url("../img/arrow-white.png") no-repeat center center;
  background-size: cover;
  transition: margin-right 0.3s ease;
}

.others li:hover div.viewmore::after {
  margin-right: -4.5em;
}

.others h3 {
  font-size: 28px;
  letter-spacing: 0.2em;
  color: white;
  z-index: 10;
}

.others li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #0eb46c;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.others li a:hover::before {
  opacity: 0.5;
}

footer {
  width: 100%;
  background-color: #444d4c;
}

#footer {

  color: white;
  display: flex;
  justify-content: space-between;
  width: 95vw;
  min-width: 1260px;
  padding: 70px 0 40px;
  margin: 0 auto;
}

#footer .f-left {
  position: relative;
  display: flex;
  align-items: center;
  width: 400px; 
}

#footer h1 {
  display: block;
  width: 255px;
  margin: auto;
  padding-bottom: 80px;
}

#footer .f-left .sns {
  position: absolute;
  width: 100px;
  display: flex;
  justify-content: center;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
}

#footer ul {
  display: flex;
  width: 810px;
  flex-wrap: wrap;
}

#footer ul li {
  width: 270px;
}

#footer ul.f-menu2 {
  margin-bottom: 50px;
}

#footer ul.f-menu2 li {
  font-size: 18px;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
}

#footer ul.f-menu3 {
  align-items: flex-end;
  font-size: 12px;
  line-height: 1.5em;
}


/*----------------------------------------------------------------------------
                                                                      スマホ
----------------------------------------------------------------------------*/

@media screen and (max-width: 768px) {
  
  header nav.nav {
    position: fixed;
    width: 90vw;
    height: 20vw;
    border-radius: 15px;
    left: 5vw;
    top: 5vw;
    background-color: white;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.15);
    display: flex;
    z-index: 99;
  }

  header nav.nav a {
    width: 50vw;
    text-align: center;
  }
  
   .name {
    color: #333;
    font-size: 18px;
    letter-spacing: 0.2em;
    line-height: 20vw;
  }

  .menu {
    display: grid;
    place-items: center;
    width: 20vw;
    height: 20vw;
    background-color: #445d5b;
    color: white;
    letter-spacing: 1em;
    text-align: center;
    line-height: 1.8em;
    padding-left: 0.8em;
    cursor : pointer;
    opacity: 1;
  }
  
  .reservation {
    display: grid;
    place-items: center;
    width: 20vw;
    height: 20vw;
    background-color: #023531;
    color: white;
    letter-spacing: 1em;
    text-align: center;
    line-height: 1.8em;
    padding-left: 0.8em;
    border-radius: 0 15px 15px 0;
  }
  
  .menu p, .reservation p  {
    font-size: 12px;
    letter-spacing: 1em;
  }

  #menu-wrap {
    position: fixed;
    width: 0;
    height: 100vh;
    right: 0;
    top: 0;
    z-index: 98;
    background-color: white;
    border-radius: 0;
    transition: width 0.5s ease;
    overflow-x: hidden;
  }

  #menu-wrap.open {
    width: 100vw;

  }

  #menu-wrap .close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor : pointer;
  }

  #menu-wrap ul {
    margin-top: 30vw;
    width: 300px;
    padding: 40px;
  }

  #menu-wrap li {
    font-size: 18px;
    color: #023531;
    margin-bottom: 1.5em;
    opacity: 1;
    transition: all 0.3s ease;
  }

  #menu-wrap li:hover {
    color: #445d5b;
    opacity: 0.8;
  }


  #hero div.wrapper {
    width: 100%;
    height: 100vh;
    background: url("../img/mv-sp.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
  }

  .tsumugu {
    writing-mode: vertical-rl; 
    font-size: 15vw;
    letter-spacing: 0.8em;
    position: absolute;
    height: auto;
    width: 1em;
    left: 0;
    right: 0;
    top: 50%;
    margin: -2.25em auto 0;
  }

  .words {
    font-size: 15vw;
    letter-spacing: 0.8em;
    text-align: center;
    color: white;
    line-height: 100vh;
    margin-left: 0.8em;
  }

  
  #philosophy {
    position: relative;
  }

  #philosophy div.container {
    position: relative;
    height: inherit;
    min-height: 100vh;
    max-height: inherit;
    width: 100%;
    display: block;
    padding: 140px 10vw 10vw;
    align-items: flex-end;
    justify-content: space-between;
  }


  #philosophy .catch {
    font-size: 24px;
    line-height: 2.5em;
    letter-spacing: 0.15em;
    margin-bottom: 1.5em;
    color: #023531;
  }

  #philosophy .right p {
    line-height: 2em;
    margin-bottom: -0.5em;
    width: 80vw;
  }

  .right a {
    position: absolute;
    right: 10vw;
    top: inherit;
    bottom: 50px;
    padding-right: 24px;
    letter-spacing: 0.2em;
  }

  .right a::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: 5px;
    margin-top: -6px;
    background: url("../img/arrow.png") no-repeat center center;
    background-size: cover;
    transition: right 0.3s ease;
  }

  .right a:hover::after {
    right: -5px;
  }

  div.divide {
    display: block;
  }

  .credo {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 125vw;
    max-height: 800px;
    background: url("../img/credo-img.jpg") no-repeat center center;
    background-size: cover;
    border: 2px solid white;
    transition: opacity 0.3s ease;
  }

  .credo:hover {
    opacity: 0.8;
  }

  .credo h2 {
    text-align: center;      
    font-size: 28px;
    letter-spacing: 0.2em;
    color: white;
    text-shadow:  0 0 15px #666;

  }

  .credo h2 small {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .doctor {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 125vw;
    max-height: 800px;
    background: url("../img/doctor.jpg") no-repeat center center;
    background-size: cover;
    border: 2px solid white;
    transition: opacity 0.3s ease;
  }

  .doctor:hover {
    opacity: 0.8;
  }

  .doctor h2 {
    text-align: center;
    font-size: 28px;
    letter-spacing: 0.2em;
    color: white;
    text-shadow:  0 0 15px #666;

  }

  .doctor h2 small {
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .info-wrap {
    position: relative;
    background: url("../img/background.gif") repeat center center;
    background-size: 125px;
  }

  #information {
    display: block;
    height: inherit;
    width: 100%;
    margin: 0 auto;
    padding: 140px 10vw 80px;
  }

  #information .list .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  #information h2 {
    font-size: 28px;
    color: #023531;
    letter-spacing: 0.2em;
  }

  #information a.more {
    position: relative;
    padding-right: 24px;
    letter-spacing: 0.2em;
  }

  #information a.more::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: 5px;
    margin-top: -6px;
    background: url("../img/arrow.png") no-repeat center center;
    background-size: cover;
    transition: right 0.3s ease;

  }

  #information a.more:hover::after {
    right: -5px;
  }


  #information img {
    width: 80vw;
  }

  #information .list ul {
    width: 80vw;
    margin-bottom: 10vw;
  }

  #information .list ul li {
    border-bottom: 1px solid #ccc;
    height: inherit;
    position: relative;
    transition: opacity 0.3s ease;
    padding: 5vw 0;
  }

  #information .list ul li:hover {
    opacity: 0.6;
  }

  #information .list ul li time {
    position: inherit;
    display: inline-block;
    bottom: inherit;
    left: inherit;
    font-size: 12px;
    margin-bottom: 0.5em;
  }

  #information .list ul li h3 {
    position: inherit;
    display: inline-block;
    letter-spacing: 0.1em;
    font-size: 14px;
    bottom: inherit;
    left: inherit;
  }

  #information .list ul li::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    bottom: 5vw;
    right: 5px;
    margin-top: -6px;
    background: url("../img/arrow.png") no-repeat center center;
    background-size: cover;
    transition: right 0.3s ease;

  }

  #information .list ul li:hover::after {
    right: -5px;
  }


  #information .calendar {
    width: 80vw;
  }

  #information .slick-prev {
    z-index: 10;
  }

  .others {
    background: url("../img/background.jpg") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: inherit;
  }

  .others ul {
    display: block;
  }

  .others ul li {
    width: 100%;
  }

  .others ul li a {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 60vw;
    border: 5px solid #fff;
  }
  
  .others .scroll {
    top: 5vw;
    font-size: 12px;
  }
  
   .others .scroll-border {
    height: 40px;
  }
  .others .scroll-border::before {
    height: 25px;
  }

  .others div.viewmore {
    position: absolute;
    text-align: center;
    bottom: 5vw;
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    font-size: 14px;
  }

  .others div.viewmore::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: 50%;
    margin-right: -4em;
    margin-top: -6px;
    background: url("../img/arrow-white.png") no-repeat center center;
    background-size: cover;
    transition: margin-right 0.3s ease;
  }

  .others li:hover div.viewmore::after {
    margin-right: -4.5em;
  }

  .others h3 {
    font-size: 24px;
    letter-spacing: 0.2em;
    color: white;
    z-index: 10;
  }

  .others li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0eb46c;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .others li a:hover::before {
    opacity: 0.5;
  }

  footer {
    width: 100%;
    background-color: #444d4c;
  }

  #footer {

    color: white;
    display: block;
    justify-content: space-between;
    width: 100%;
    min-width: inherit;
    padding: 20vw 0;
    margin: 0 auto;
  }

  #footer .f-left {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; 
  }

  #footer h1 {
    display: block;
    width: 255px;
    margin: auto;
    padding-bottom: 80px;
  }

  #footer .f-left .sns {
    position: absolute;
    width: 100px;
    display: flex;
    justify-content: center;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
  }
  
  #footer .f-right {
    display: none;
  }

  #footer ul {
    display: flex;
    width: 810px;
    flex-wrap: wrap;
  }

  #footer ul li {
    width: 270px;
  }

  #footer ul.f-menu2 {
    margin-bottom: 50px;
  }

  #footer ul.f-menu2 li {
    font-size: 18px;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
  }

  #footer ul.f-menu3 {
    align-items: flex-end;
    font-size: 12px;
    line-height: 1.5em;
  }
}

/*----------------------------------------------------------------------------
                                                                  PHILOSOPHY
----------------------------------------------------------------------------*/

.lower-hero {
  display: grid;
  place-items: center;
  width: 100%;
  height: 600px;
  background: url("../img/background.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.lower-hero canvas {
  position: absolute;
  mix-blend-mode: screen;
  opacity: 0.8;
}

.lower-title {
  font-size: 50px;
  text-align: center;
  color: white;
  letter-spacing: 0.25em;
}

.lower-title_s {
  font-size: 36px;
  line-height: 1.3em;
  text-align: center;
  color: white;
  letter-spacing: 0.25em;
}

.lower-intro div.container {
  position: relative;
  width: 1100px;
  display: flex;
  margin: auto;
  padding: 120px 0;
  align-items: flex-end;
  justify-content: space-between;
}


.lower-intro .catch {
  font-size: 28px;
  line-height: 2.5em;
  letter-spacing: 0.15em;
  margin-bottom: -0.75em;
  color: #023531;
}

.right p {
  line-height: 2em;
  margin-bottom: -0.5em;
  width: 500px;
  font-size: 14px;
}

.lower-heading {
  width: 100%;
  height: 140px;
  color: #023531;
  font-size: 28px;
  line-height: 140px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-top: 1px solid #dae6e4;
  border-bottom: 1px solid #dae6e4;
  margin-bottom: 60px;
}

.w1100 {
  width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.w900 {
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  justify-content: space-between;
}

.steps li {
  width: 350px;
  border-radius: 10px;
  overflow: hidden;
}

.steps li .upper {
  height: 150px;
  padding-top: 30px;
  background: url("../img/background.jpg") no-repeat center center;
  background-size: 1000px;
  color: white;
  text-align: center;
}

.steps small {
  display: inline-block;
}

.steps h4 {
  font-size: 24px;
  letter-spacing: 0.1em;
}

.steps h4 span {
  font-size: 18px;
}

.steps .lower {
  height: 300px;
  background-color: #e6f2f1;
  padding: 40px;
}

.steps p {
  line-height: 2em;
}

@media screen and (min-width:768px) {

  #credo-contents .steps {
    display: block;
  }

  #credo-contents .steps li {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    align-items: stretch;
  }

  #credo-contents .steps li .upper, #credo-contents .lower {
    height: inherit;
  }

  #credo-contents .upper {
    width: 30%;
    display: grid;
    align-content: center;
    position: relative;
    padding: 0;
  }

  #credo-contents .lower {
    width: 70%;
  }

  #credo-contents .steps small {
    position: absolute;
    left: 50%;
    bottom: 50%;
    margin-bottom: 40px;
    margin-left: -1.5em;
  }
}
  
.withphoto {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.withphoto img {
  width: 750px;
}

.withphoto p {
  line-height: 2em;
  width: 300px;
}

.underbar li {
  height: 135px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
}

.underbar h4 {
  display: inline-block;
  width: 300px;
  text-align: end;
  font-size: 40px;
  color: #023531;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 80px;
  line-height: 1.5em;
}

.underbar p {
  line-height: 1.8em;
}

.last {
  text-align: center;
  letter-spacing: 0.15em;
}

.last h3 {
  font-size: 28px;
  color: #023531;
}

.last p {
  font-size: 20px;
  line-height: 2em;
}

ul.merit li {
  padding-left: 1em;
  color: #333;
  margin: 1em 0;
}


/*----------------------------------------------------------------------------
                                                                      DOCTOR
----------------------------------------------------------------------------*/
.doc-list li {
  display: flex;
  color: #023531;
  justify-content: space-between;
  padding: 0 10px;
}

.doc-list li img, .doc-list li div.disc {
  width: 520px;
  position: relative;
}

.doc-list li span {
  position: absolute;
  font-size: 16px;
  top: 60px;
  left: 60px;
}

.doc-list li a {
  position: absolute;
  top: 60px;
  left: 100%;
  margin-left: -150px;
  padding-right: 24px;
  font-size: 20px;
}

.doc-list a::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  right: 0;
  margin-top: -2px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
}

.doc-list a:hover::after {
  right: -10px;
}

.doc-list li .scroll-border {
  position: absolute;
  right: 30px;
  top: 90px;
  width: 120px;
  height: 1px;
  background-color: #ccc;
  overflow: hidden;
  margin: auto;
}
.doc-list li .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
  background: #023531;
  animation: docbar 2.0s ease-in-out infinite;
  margin: auto;
}
@keyframes docbar {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(350%);
    transform: translateX(350%);
  }
}

.doc-list li div.career {
  position: absolute;
  bottom: 20px;
  left: 60px;
}

.doc-list li div.career h4 {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.doc-list li div.career ul li {
  padding: 0;
  font-size: 16px;
  margin-bottom: 1em;
}

.doc-list li div.career div.affiliation {
  margin-bottom: 50px;
}

.doc-list li h3 {
  position: absolute;
  font-size: 28px;
  left: 100px;
  top: 220px;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

.doc-list li h3 small {
  font-size: 20px;
  letter-spacing: 0.05em;
  padding-left: 2px;
}

/*----------------------------------------------------------------------------
                                                                      DOCTOR SP
----------------------------------------------------------------------------*/

@media screen and (max-width:768px) {
.doc-list li {
  display: block;
  color: #023531;
  justify-content: space-between;
  padding: 0 10px;
}

.doc-list li img, .doc-list li div.disc {
  width: 80vw;
  position: relative;
  display: block;
}

.doc-list li span {
  position: inherit;
  display: block;
  font-size: 12px;
  top: inherit;
  left: inherit;
  margin: 10vw 0;
}

.doc-list li a {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -150px;
  padding-right: 24px;
  font-size: 20px;
}

.doc-list a::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  right: 0;
  margin-top: -2px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
}

.doc-list a:hover::after {
  right: -10px;
}

.doc-list li .scroll-border {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 120px;
  height: 1px;
  background-color: #ccc;
  overflow: hidden;
  margin: auto;
}
.doc-list li .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
  background: #023531;
  animation: docbar 2.0s ease-in-out infinite;
  margin: auto;
}

.doc-list li div.career {
  position: inherit;
  bottom: inherit;
  left: inherit;
}

.doc-list li div.career h4 {
  color: #666;
  font-size: 12px;
  margin-bottom: 5vw;
}

.doc-list li div.career ul li, .doc-list li div.career p {
  padding: 0;
  font-size: 14px;
  margin-bottom: 0.8em;
  line-height: 1.2em;
}

.doc-list li div.career div.affiliation {
  margin-bottom: 8vw;
}

.doc-list li h3 {
  position: inherit;
  font-size: 24px;
  left: inherit;
  top: inherit;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  margin: 15vw 3vw;
}

.doc-list li h3 small {
  font-size: 16px;
  letter-spacing: 0.05em;
  padding-left: 2px;
}

}

/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.modal__layer {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 9998;
  max-width: 100vw;
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 40px), 1000px);
  padding: 20px;
  backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.8);
  z-index: 9998;
}

.modal__inner {
  position: relative;
  overflow-y: scroll;
  height: 100%;
  padding: 20px;
}

/* モーダルを閉じるボタン */
.modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #023531;
  cursor: pointer;
  transition: opacity .6s;
}

.modal__close:hover {
  opacity: .6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
.modal__content {
  display: flex;
  align-items: center;
}

.modal__title {
  font-size: 20px;
}

.modal__content img {
  width: 50%;
  height: 50%;
}

.text_area {
  width: 50%;
  height: 460px;
  overflow-y: scroll;
  padding: 40px 20px 40px 40px;
}

.modal__text {
  margin-top: 30px;
  line-height: 1.5em;
}

@media screen and (max-width: 768px) {
  /* モーダル本体 */
  .modal__wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
  }

  .modal__layer {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 9998;
    max-width: 100vw;
  }

  .modal__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 70vh;
    padding: 20px;
    z-index: 9999;
  }

  .modal__inner {
    position: relative;
    overflow-y: scroll;
    height: 100%;
    padding: 20px;
  }

  /* モーダルを閉じるボタン */
  .modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .modal__close:before,
  .modal__close:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #fff;
    content: '';
  }

  .modal__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .modal__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* モーダル内のコンテンツ */
  .modal__content {
    display: block;
    align-items: center;
  }

  .modal__title {
    font-size: 16px;
  }
  
  .modal__text {
    font-size: 14px;
  }

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

  .text_area {
    width: 100%;
    padding: 5vw 0;
    height: inherit;
  }

}


/*----------------------------------------------------------------------------
                                                                      NEWS
----------------------------------------------------------------------------*/

.news-list {
  display: flex;
  flex-wrap: wrap;
}

.news-list li {
  margin-right: 25px;
  margin-bottom: 25px;
}

.news-list li:nth-child(3n){
  margin-right: 0;
}

.news-list li a div {
  width: 350px;
}

.news-list li a div.lower {
  position: relative;
  height: 150px;
  padding: 20px 0;
  border-bottom: 2px solid #023531;
}

.news-list li img {
  border-radius: 10px;
}

.news-list li time {
  font-size: 14px;
  margin-bottom: 0.5em;
}

.news-list li h3 {
  font-size: 20px;
  line-height: 1.3em;
}

.news-list li a div.lower::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 10px;
  right: 5px;
  background: url("../img/arrow.png") no-repeat center center;
  background-size: cover;
  transition: right 0.3s ease;
}

.news-list li:hover a div.lower::after {
  right: -5px;
}


.blog-contents h2 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  color: #023531;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 32px;
  text-align: center;
  line-height: 1.5em;
  margin-bottom: 60px;
}

.blog-contents h3 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  color: #023531;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 24px;
  border-bottom: 1px solid #666;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.blog-contents p {
  line-height: 2em;
  margin-bottom: 20px;
}

.blog-contents img {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  
  .news-list li {
    margin-right: 0;
    margin-bottom: 25px;
  }

  .news-list li a div {
    width: 100%;
  }

  .blog-contents h2 {
    font-size: 24px;
  }

  .blog-contents h3 {
    font-size: 20px;
  }
}

/*----------------------------------------------------------------------------
                                                                      スマホ
----------------------------------------------------------------------------*/

@media screen and (max-width: 768px) {
  .lower-hero {
    display: grid;
    place-items: center;
    padding-top: 10vw;
    width: 100%;
    height: 60vh;
    background: url("../img/background.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
  }

  .lower-title {
    font-size: 28px;
    text-align: center;
    color: white;
    letter-spacing: 0.25em;
  }
  
  .lower-title_s {
    font-size: 20px;
    width: 80vw;
    text-align: center;
    color: white;
    letter-spacing: 0.25em;
  }

  .lower-intro div.container {
    position: relative;
    width: 100%;
    display: block;
    margin: auto;
    padding: 15vw 10vw;
    align-items: flex-end;
    justify-content: space-between;
  }


  .lower-intro .catch {
    font-size: 24px;
    line-height: 2.5em;
    letter-spacing: 0.15em;
    margin-bottom: 1.5em;
    color: #023531;
  }

  .right p {
    line-height: 2em;
    margin-bottom: -0.5em;
    width: 80vw;
    font-size: 14px;
  }

  .lower-heading {
    width: 100%;
    height: inherit;
    padding: 2em;
    color: #023531;
    font-size: 22px;
    line-height: 1.5em;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-top: 1px solid #dae6e4;
    border-bottom: 1px solid #dae6e4;
    margin-bottom: 60px;
  }

  .w1100 {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
  
  .w900 {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }

  .steps {
    display: block;

  }

  .steps li {
    width: 80vw;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10vw;
  }

  .steps li .upper {
    height: 150px;
    padding-top: 30px;
    background: url("../img/background.jpg") no-repeat center center;
    background-size: 1000px;
    color: white;
    text-align: center;
  }

  .steps small {
    display: inline-block;
  }

  .steps h4 {
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  .steps h4 span {
    font-size: 18px;
  }

  .steps .lower {
    height: inherit;
    background-color: #e6f2f1;
    padding: 5vw 5vw 10vw;
  }

  .steps p {
    line-height: 1.8em;
  }

  .withphoto {
    display: block;
  }

  .withphoto img {
    width: 80vw;
  }

  .withphoto p {
    font-size: 14px;
    line-height: 2em;
    width: 80vw;
  }

  .underbar li {
    height: inherit;
    border-bottom: 1px solid #ccc;
    display: block;
    padding-bottom: 20px;
    margin-top: 10vw;
  }

  .underbar h4 {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 30px;
    margin-right: inherit;
    line-height: 1.5em;
    margin-bottom: 5vw;
  }

  .underbar p {
    font-size: 14px;
    line-height: 1.8em;
  }

  .last {
    width: 90vw;
    margin: auto;
    text-align: center;
    letter-spacing: 0.05em;
  }

  .last h3 {
    font-size: 28px;
    color: #023531;
  }

  .last p {
    font-size: 15px;
    line-height: 2em;
  }
}


.tab-menu {
  display: flex;
  justify-content: space-between;
}

.tab-menu li {
  background-color: #e6f2f1;
  line-height: 80px;
  width: 170px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.reserve-contents .tab-menu li {
  width: 145px;
}

.tab-menu li.active, .tab-menu li:hover {
  background-color: #023531;
  color: white;
}

table {
  width: 1100px;
  margin: 60px 0 30px;
}

th {
  font-size: 16px;
  font-weight: 600;
  color: #023531;
  padding-bottom: 1em;
  border-bottom: 3px solid #023531;
}


td {
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 1.5em 0;
  border-bottom: 1px solid #dae5e4;
}

td.brank {
  border-bottom: none;
}

td.col {
  font-size: 24px;
  font-weight: 600;
  padding:2.5em 0 0.5em;
  border-bottom: 2px solid #dae5e4;
}

thead th:nth-child(1), td:nth-child(1) {
  width: 55%;
  text-align: left;
  padding-left: 1em;
}

thead th:nth-child(2), td:nth-child(2) {
  width: 15%;
  text-align: center;
}

thead th:nth-child(3), td:nth-child(3) {
  width: 30%;
  text-align: right;
  padding-right: 1em;
}


/*====================================================================
.s_01 .accordion_one
====================================================================*/
#price-contents .lower-heading h3 {
  font-size: 40px;
}

.faq {
  display: flex;
  justify-content: flex-end;
}

.s_01 {
  width: 800px;
}

.s_01 .accordion_one {
  max-width: 800px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
}
.s_01 .accordion_one .accordion_header {
  background-color: #e6f2f1;
  color: #445d5b;
  font-size: 16px;
  padding-left: 90px;
  display: grid;
  align-content: center;
  letter-spacing: 0.15em;
  height: 80px;
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition-duration: 0.2s;
}

.s_01 .accordion_one .accordion_header::after {
  content: 'Q';
  color: #023531;
  position: absolute;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 40px;
  left: 30px;
  top: 50%;
  margin-top: -0.6em;
}

.s_01 .accordion_one .accordion_header:hover {
  opacity: .8;
}
.s_01 .accordion_one .accordion_header .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 5%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
}
.s_01 .accordion_one .accordion_header .i_box .one_i {
  display: block;
  width: 30px;
  height: 30px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}
.s_01 .accordion_one .accordion_header.open .i_box {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before, .s_01 .accordion_one .accordion_header .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: #023531;
  border-radius: 10px;
  width: 30px;
  height: 1px;
  position: absolute;
  top: 15px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before {
  width: 1px;
  height: 30px;
  top: 0;
  left: 15px;
}


.s_01 .accordion_one .accordion_inner {
  display: none;
  padding: 30px 30px 30px 90px;
  box-sizing: border-box;
  position: relative;
}

p.txt_a_ac {
  font-size: 14px;
  color: 666;
  letter-spacing: 0.1em;
  line-height: 1.8em;
}

.s_01 .accordion_one .accordion_inner::after {
  content: 'A';
  color: #023531;
  position: absolute;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 40px;
  left: 30px;
  top: 30px;
}


.s_01 .accordion_one .accordion_inner p.txt_a_ac {
  margin: 0;
}



/*-----------------------------------------------------------------------------------------------
*/
@media screen and (max-width: 768px) {
  
  .tab-menu {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .tab-menu li {
    background-color: #e6f2f1;
    line-height: 4em;
    width: 38vw;
    margin-right: 4vw;
    margin-bottom: 2vw;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s ease;
  }
  
  .reserve-contents .tab-menu li {
  width: 38vw;
}

  
  .tab-menu li:nth-child(2n) {
    margin-right: 0;
  }

  .tab-menu li.active, .tab-menu li:hover {
    background-color: #023531;
    color: white;
  }
  
  .tab-content {
    width: 90vw;
    overflow-x: scroll;
  }

  table {
    width: 500px;
    margin: 10vw 0 5vw;
  }

  th {
    font-size: 14px;
    font-weight: 600;
    color: #023531;
    padding-bottom: 1em;
    border-bottom: 3px solid #023531;
  }


  td {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.3em;
    padding: 1em 0;
    border-bottom: 1px solid #dae5e4;
  }

  td.brank {
    border-bottom: none;
  }

  td.col {
    font-size: 20px;
    font-weight: 600;
    padding:2em 0 0.5em;
    border-bottom: 2px solid #dae5e4;
  }

  thead th:nth-child(1), td:nth-child(1) {
    width: 55%;
    text-align: left;
    padding-left: 1em;
  }

  thead th:nth-child(2), td:nth-child(2) {
    width: 15%;
    text-align: center;
  }

  thead th:nth-child(3), td:nth-child(3) {
    width: 30%;
    text-align: right;
    padding-right: 1em;
  }


  /*====================================================================
  .s_01 .accordion_one
  ====================================================================*/
  #price-contents .catch {
    font-size: 20px;
  }
  
  #price-contents .lower-heading h3 {
    font-size: 28px;
  }

  .faq {
    display: block;
  }

  .s_01 {
    width: 100%;
  }

  .s_01 .accordion_one {
    max-width: 800px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
  }
  .s_01 .accordion_one .accordion_header {
    font-size: 16px;
    display: grid;
    padding: 2em 60px;
    align-content: center;
    letter-spacing: 0;
    line-height: 1.5em;
    height: inherit;
    position: relative;
    z-index: +1;
    cursor: pointer;
    transition-duration: 0.2s;
  }

  .s_01 .accordion_one .accordion_header::after {
    content: 'Q';
    color: #023531;
    position: absolute;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 30px;
    left: 20px;
    top: 50%;
    margin-top: -0.6em;
  }

  .s_01 .accordion_one .accordion_header:hover {
    opacity: .8;
  }
  .s_01 .accordion_one .accordion_header .i_box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 15px;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    box-sizing: border-box;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: center center;
    transition-duration: 0.2s;
  }
  .s_01 .accordion_one .accordion_header .i_box .one_i {
    display: block;
    width: 20px;
    height: 20px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: center center;
    transition-duration: 0.2s;
    position: relative;
  }
  .s_01 .accordion_one .accordion_header.open .i_box {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .s_01 .accordion_one .accordion_header .i_box .one_i:before, .s_01 .accordion_one .accordion_header .i_box .one_i:after {
    display: flex;
    content: '';
    background-color: #023531;
    border-radius: 10px;
    width: 20px;
    height: 1px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: center center;
  }
  .s_01 .accordion_one .accordion_header .i_box .one_i:before {
    width: 1px;
    height: 20px;
    top: 0;
    left: 10px;
  }


  .s_01 .accordion_one .accordion_inner {
    display: none;
    padding: 30px 0 30px 60px;
    box-sizing: border-box;
    position: relative;
  }

  p.txt_a_ac {
    font-size: 14px;
    color: 666;
    letter-spacing: 0.1em;
    line-height: 1.8em;
  }

  .s_01 .accordion_one .accordion_inner::after {
    content: 'A';
    color: #023531;
    position: absolute;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 30px;
    left: 20px;
    top: 30px;
  }


  .s_01 .accordion_one .accordion_inner p.txt_a_ac {
    margin: 0;
  }


}

/*----------------------------------------------------------------------------
                                                                     TREATMENT
----------------------------------------------------------------------------*/
.treatment-intro {
  padding-top: 80px;
}
.treatment-intro h3{
  text-align: center;
  font-size: 28px;
  line-height: 1.5em;
  color: #023531;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 160px;
}

.treatment-intro h3::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 80px;
  bottom: 40px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  margin: auto;
}

.treatment-intro .steps li .upper {
  padding-top: inherit;
  display: grid;
  align-content: center;
}

.treatment-intro .steps li .upper h4 {
  font-size: 22px;
  line-height: 1.3em;
}

.when {
  padding-left: 375px;
}

.when ul {
  width: 725px;
}

.when ul li {
  background-color: #e6f2f1;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  line-height: 1.3em;
  font-size: 24px;
  padding: 30px 40px;
  display: grid;
  align-content: center;
  text-align: left;
}

ol {
  padding-left: 6em;
  font-size: 24px;
  margin-bottom: 60px;
}
ol li {
  list-style: decimal-leading-zero;
  font-size: 24px;
  color: #023531;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

h4.under {
  font-size: 24px;
  border-bottom: 1px solid #999;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

h4.under small {
  font-size: 16px;
}

h5 {
  font-size: 24px;
  text-align: center;
  font-weight: 600!important;
  color: #023531;
}

table.treat-table {
  border-top: 1px solid #dae5e4;
  margin-top: 30px;
  margin-bottom: 100px;
}

table.treat-table tr {
  border-bottom:  1px solid #dae5e4;
}

table.treat-table th {
  border-bottom: none;
  border-right: 1.5px dashed #dae5e4;
  vertical-align: middle;
  padding-bottom: inherit;
  padding-left: 2em;
  padding-right: 1em;
  font-size: 18px;
  font-weight: 300;
  text-align: left;
  line-height: 1.5em;
  width: 35%;
}

table.treat-table td {
  width: 65%;
  line-height: 1.5em;
  text-align: left;
  font-size: 16px;
  padding: 2em;
}

/*----------------------------------------------------------------------------
                                                                TREATMENT SP
----------------------------------------------------------------------------*/

@media screen and (max-width:768px) {
  .treatment-intro {
    padding-top: 15vw;
  }
  .treatment-intro h3{
    font-size: 24px;
    color: #023531;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 160px;
  }

  .treatment-intro h3::after {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    margin: auto;
  }

  .treatment-intro .steps li .upper {
    padding-top: inherit;
    display: grid;
    align-content: center;
  }

  .treatment-intro .steps li .upper h4 {
    font-size: 18px;
    line-height: 1.3em;
  }

  .when {
    padding-left: 10vw;
  }

  .when ul {
    width: 70vw;
  }

  .when ul li {
    background-color: #e6f2f1;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.3em;
    font-size: 20px;
    padding: 30px 40px;
    display: grid;
    align-content: center;
    text-align: left;
  }

  ol {
    padding-left: 2em;
    font-size: 20px;
    margin-bottom: 60px;
  }
  ol li {
    list-style: decimal-leading-zero;
    font-size: 20px;
    color: #023531;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
  }
  
  h4.under {
    font-size: 20px;
    line-height: 1.5em;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    margin-bottom: 30px;
  }
  
  h4.under small {
  font-size: 12px;
}

  h5 {
    font-size: 20px;
    text-align: center;
    font-weight: 600!important;
    color: #023531;
  }

  table.treat-table {
    border-top: 1px solid #dae5e4;
    margin-top: 20px;
    margin-bottom: 60px;
  }

  table.treat-table tr {
    border-bottom:  1px solid #dae5e4;
  }

  table.treat-table th {
    border-bottom: none;
    border-right: 1.5px dashed #dae5e4;
    vertical-align: middle;
    padding-bottom: inherit;
    padding-left: 0.5em;
    padding-right: 0.5em;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    line-height: 1.5em;
    width: 35%;
  }

  table.treat-table td {
    width: 65%;
    line-height: 1.5em;
    text-align: left;
    font-size: 14px;
    padding: 1em;
  }
}

