@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");
/****** Elad Shechter's RESET *******/
/*** box sizing border-box for all elements ***/
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

button {
  background-color: transparent;
  color: inherit;
  border-width: 0;
  padding: 0;
  cursor: pointer;
}

figure {
  margin: 0;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}

ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

p {
  margin: 0;
}

cite {
  font-style: normal;
}

fieldset {
  border-width: 0;
  padding: 0;
  margin: 0;
}

/* ------------------------------------
// base
------------------------------------ */
html {
  font-size: 62.5%;
}
body {
  color: #3B3838;
  background: #FCF8F0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: clamp(1.6rem, 1.3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
@media (width < 375px) {
  body {
    zoom: progress(100lvw, 0px, 375px);
    -webkit-text-size-adjust: initial;
  }
}

a:link {
  color: #3B3838;
  text-decoration: none;
}
a:visited {
  color: #3B3838;
  text-decoration: none;
}
a:hover {
  color: #3B3838;
  text-decoration: none;
}
a:active {
  color: #3B3838;
  text-decoration: none;
}

a {
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

@media (min-width: 1023px) {
  a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
  }
}
input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus::-ms-input-placeholder {
  color: transparent;
}

input:focus::placeholder {
  color: transparent;
}

/* // screen
----------------------------------- */
.sp {
  display: none !important;
}

.tb {
  display: none !important;
}

.md {
  display: none !important;
}

.pc {
  display: block !important;
}

.pconly {
  display: block !important;
}

@media screen and (max-width: 1024px) {
  .sp {
    display: none !important;
  }
  .md {
    display: none !important;
  }
  .tb {
    display: block !important;
  }
  .pc {
    display: block !important;
  }
  .pconly {
    display: none !important;
  }
}
@media screen and (max-width: 1200px) {
  .sp {
    display: none !important;
  }
  .md {
    display: block !important;
  }
  .tb {
    display: block !important;
  }
  .pc {
    display: block !important;
  }
  .pconly {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .sp {
    display: block !important;
  }
  .tb {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .pconly {
    display: none !important;
  }
}
/* ------------------------------------
// header
------------------------------------ */
header {
  padding: 3rem 2rem 0;
  margin: 0 auto;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  header {
    width: 80%;
    min-width: 1000px;
  }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
header .logoData p {
  font-size: 1.2rem;
}
header .logoData .logo {
  max-width: 320px;
  margin: 1rem 0 0;
}
header {
  /* tel */
}
header .tel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
header .tel dt {
  color: #FFF;
  background: #FF9436;
  padding: 1rem 2.5rem;
  border-radius: 50vh;
}
header .tel a {
  font-family: "Comfortaa", sans-serif;
  line-height: 1;
  font-weight: 700;
  font-size: 4.4rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
}
@media screen and (max-width: 1024px) {
  header .tel {
    display: block;
  }
  header .tel dt {
    width: fit-content;
    padding: 0.5rem 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  header .tel {
    display: none;
  }
}

#headerFixed {
  position: fixed;
  top: 13vh;
  right: 0;
  z-index: 2;
}
#headerFixed ul {
  display: grid;
  gap: 2rem;
}
#headerFixed ul li {
  color: #FFF;
  position: relative;
}
#headerFixed ul li::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 30px 0 0 30px;
  background: #C00;
  filter: url(#doo-wap);
  z-index: 0;
}
#headerFixed ul li a {
  padding: clamp(1.5rem, 5vh, 4rem) clamp(1rem, 1vw, 2rem);
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  position: relative;
  display: grid;
  gap: 1rem;
  text-align: center;
  color: #FFF;
  font-weight: bold;
}
#headerFixed ul li a::after {
  content: "";
  width: 5rem;
  aspect-ratio: 1;
  display: block;
  background: #FFF;
  margin: 0 auto;
}
#headerFixed ul li.reserve {
  display: none;
}
#headerFixed ul li.reserve::before {
  background: #FF7B28;
}
#headerFixed ul li.reserve a::after {
  background: url(/pre_lib/img/icon_reserve.webp) no-repeat center/contain;
}
#headerFixed ul li.time::before {
  background: #FBCA04;
}
#headerFixed ul li.time a::after {
  background: url(/pre_lib/img/icon_time.webp) no-repeat center/contain;
}
#headerFixed ul li.access::before {
  background: #FF705D;
}
#headerFixed ul li.access a::after {
  background: url(/pre_lib/img/icon_access.webp) no-repeat center/contain;
}
@media screen and (max-width: 768px) {
  #headerFixed {
    display: none;
  }
}

/* ------------------------------------
// main
------------------------------------ */
main {
  padding: 0;
  position: relative;
  z-index: 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  main {
    padding: clamp(2.5rem, 3.5vw, 5rem) 0;
  }
}

/* ------------------------------------
// parts
------------------------------------ */
:root strong.red {
  color: #b45757;
}
:root .underconstruction {
  text-align: center;
  padding-bottom: clamp(5rem, 6.9vw, 10rem);
}

.timetable {
  margin-bottom: 1.5rem;
}
.timetable table {
  width: 100%;
  border-spacing: 0;
  display: grid;
  grid-template-columns: max-content repeat(6, 1fr);
  border-bottom: 1px solid #3B3838;
  gap: 0 clamp(1.8rem, 1.3vw, 1.8rem);
  margin-bottom: 1rem;
}
.timetable table tbody,
.timetable table thead {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 7;
}
.timetable table tbody tr,
.timetable table thead tr {
  display: inherit;
  grid-template-columns: subgrid;
  grid-column: inherit;
}
.timetable table tbody th,
.timetable table tbody td,
.timetable table thead th,
.timetable table thead td {
  font-weight: 500;
  font-size: clamp(1.4rem, 1.7vw, 2.4rem);
  padding: 1em 0 1em;
}
.timetable table thead {
  border-bottom: 1px solid #3B3838;
}
.timetable table thead th {
  white-space: nowrap;
}
.timetable table tbody tr:first-child {
  border-bottom: 1px dotted #3B3838;
}
.timetable table tbody tr > * {
  line-height: 1;
}
.timetable table tbody tr th {
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  align-self: center;
  padding-left: 1em;
}
.timetable table tbody tr td {
  align-self: center;
  text-align: center;
  font-weight: 800;
  color: #FF7B28;
}
.timetable table tbody tr td.oth {
  color: #3B3838;
}
@media screen and (max-width: 768px) {
  .timetable {
    margin-bottom: 1rem;
  }
}

.clinicData {
  width: fit-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "time time" "notes btn" "tel btn";
  gap: clamp(1rem, 1.4vw, 2rem);
  /* time */
}
.clinicData .timetable {
  grid-area: time;
}
.clinicData {
  /* notes */
}
.clinicData .notes {
  grid-area: notes;
}
.clinicData .notes .close {
  font-weight: bold;
}
.clinicData {
  /* tel */
}
.clinicData .tel {
  grid-area: tel;
}
.clinicData .tel a {
  display: flex;
  font-family: "Comfortaa", sans-serif;
  line-height: 1;
  font-weight: 700;
  justify-content: start;
  gap: 1rem;
  font-size: clamp(3rem, 3.5vw, 5rem);
  font-weight: bold;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
}
.clinicData .tel a::before {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  display: block;
  background: url(/pre_lib/img/icon_tel.webp) no-repeat center/contain;
}
.clinicData {
  /* reserve */
}
.clinicData .reseerve {
  display: none;
  grid-area: btn;
}
.clinicData .reseerve a {
  transition: 0.5s;
  width: 13rem;
  aspect-ratio: 1;
  z-index: 10;
  background: #FF7B28;
  mask: url(/pre_lib/img/icon_circle01.svg) no-repeat center/cover;
  display: flex;
  align-items: center;
  display: grid;
  gap: 0.25rem;
  margin: 0 auto;
  align-items: center;
  place-content: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  color: #FFF;
  font-size: 1.6rem;
  text-align: center;
}
.clinicData .reseerve a:after {
  content: "";
  width: 5rem;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  background: url(/pre_lib/img/icon_reserve.webp) no-repeat center/contain;
}
.clinicData .reseerve a:hover {
  background: #FAC803;
}
@media screen and (max-width: 768px) {
  .clinicData {
    grid-template-columns: 1fr;
    grid-template-areas: "time" "notes" "tel" "btn";
    gap: 0;
    width: 100%;
    /* tel */
  }
  .clinicData .tel {
    margin-top: 1rem;
    container-type: inline-size;
  }
  .clinicData .tel a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(16px, 11cqw, 36px);
  }
  .clinicData .tel a::before {
    width: 4rem;
  }
  .clinicData {
    /* reserve */
  }
  .clinicData .reseerve {
    display: none;
    margin: 2rem 0;
    position: relative;
    padding: 1rem 0;
  }
  .clinicData .reseerve a {
    transition: 0.5s;
    width: 100%;
    aspect-ratio: auto;
    background: none;
    mask: none;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 0.25rem;
    align-items: center;
    color: #FFF;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    margin: 0;
  }
  .clinicData .reseerve a:after {
    width: 3rem;
    margin: 0;
    background: url(/pre_lib/img/icon_reserve.webp) no-repeat center/contain;
  }
  .clinicData .reseerve a:hover {
    background: none;
  }
  .clinicData .reseerve .box-bg {
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: #FF7B28;
    filter: url(#doo-wap);
  }
}

/* ------------------------------------
// footer
------------------------------------ */
#footer {
  background: #fff;
  position: relative;
  z-index: 0;
  padding: 0 2rem;
  margin-top: calc(8.1944444444vw + 5rem);
}
#footer::before {
  content: "";
  width: 100vw;
  height: 8.1944444444vw;
  display: block;
  position: absolute;
  left: 0;
  bottom: 100%;
  background: url(/pre_lib/img/bg_footer.webp) repeat-x center top/cover;
}
#footer .pagetop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  width: 13rem;
  aspect-ratio: 1;
  z-index: 10;
  background: #FAC803;
  mask: url(/pre_lib/img/icon_circle01.svg) no-repeat center/cover;
  display: flex;
  align-items: center;
}
#footer .pagetop a {
  display: grid;
  gap: 0.25rem;
  margin: 0 auto;
  align-items: center;
  place-content: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  color: #FFF;
  font-size: 1.6rem;
  text-align: center;
}
#footer .pagetop a:after {
  content: "";
  width: 5rem;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  background: url(/pre_lib/img/icon_pagetop.webp) no-repeat center/contain;
}
#footer .pagetop:hover {
  background: #FF7B28;
}
@media screen and (max-width: 768px) {
  #footer .pagetop {
    right: 1rem;
    width: 7rem;
  }
  #footer .pagetop a {
    font-size: 1.2rem;
  }
  #footer .pagetop a:after {
    content: "";
    width: 2rem;
    aspect-ratio: 1;
    display: block;
    margin: 0 auto;
    background: url(/pre_lib/img/icon_pagetop.webp) no-repeat center/contain;
  }
}
#footer .pagetop.show {
  visibility: visible;
  opacity: 1;
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.2vw, 6rem);
}
footer .logoData p {
  font-size: 1.2rem;
}
footer .logoData .logo {
  max-width: 320px;
  margin: 1rem 0;
}
footer #address ul {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
footer #address ul li {
  width: fit-content;
  padding: 5px 2rem;
  background: #E95887;
  color: #FFF;
  border-radius: 50vh;
}
footer #linicMap iframe {
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  footer {
    grid-template-columns: 1fr;
  }
  footer #address ul li {
    font-size: 1.4rem;
  }
  footer #clinicMap iframe {
    aspect-ratio: 2/2;
    height: auto;
  }
}

.copyright {
  padding: 10rem 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .copyright {
    padding: 5rem 0;
  }
}

#footer_fixed {
  display: none;
}
@media screen and (max-width: 768px) {
  #footer_fixed {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 0.5rem;
    right: 0.5rem;
  }
  #footer_fixed ul {
    display: grid;
    grid-template-columns: repeat(2, 0.8fr) repeat(2, 1fr);
    grid-template-areas: "time access tel reserve";
    grid-template-columns: repeat(2, 0.8fr) repeat(1, 1fr);
    grid-template-areas: "time access tel";
    gap: 0.75rem;
  }
  #footer_fixed ul li {
    color: #FFF;
    position: relative;
  }
  #footer_fixed ul li::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: #C00;
    filter: url(#doo-wap);
    z-index: 0;
  }
  #footer_fixed ul li a {
    padding: 1rem 0;
    font-size: 1.3rem;
    position: relative;
    display: grid;
    gap: 0.5rem;
    text-align: center;
    color: #FFF;
    font-weight: bold;
  }
  #footer_fixed ul li a::after {
    content: "";
    width: 2rem;
    aspect-ratio: 1;
    display: block;
    background: #FFF;
    margin: 0 auto;
  }
  #footer_fixed ul li.tel {
    grid-area: tel;
  }
  #footer_fixed ul li.tel::before {
    background: #FF7B28;
  }
  #footer_fixed ul li.tel a::after {
    mask: url(/pre_lib/img/icon_tel.webp) no-repeat center/contain;
    background: #FFF;
  }
  #footer_fixed ul li.reserve {
    display: none;
    grid-area: reserve;
  }
  #footer_fixed ul li.reserve::before {
    background: #E95887;
  }
  #footer_fixed ul li.reserve a::after {
    background: url(/pre_lib/img/icon_reserve.webp) no-repeat center/contain;
  }
  #footer_fixed ul li.time {
    grid-area: time;
  }
  #footer_fixed ul li.time::before {
    background: #FBCA04;
  }
  #footer_fixed ul li.time a::after {
    background: url(/pre_lib/img/icon_time.webp) no-repeat center/contain;
  }
  #footer_fixed ul li.access {
    grid-area: access;
  }
  #footer_fixed ul li.access::before {
    background: #FF705D;
  }
  #footer_fixed ul li.access a::after {
    background: url(/pre_lib/img/icon_access.webp) no-repeat center/contain;
  }
}