@charset "UTF-8";
/*
Light 300
Regular 400
Medium 500
SemiBold 600
Bold 700
Black 900
*/
/*

  FONT
----------------------------------------------- */
:root {
  font-size: 1px;
  --color-base: #f7f7f3;
  --color-text-base: #4d4d4d;
  --color-cream: #fffdce;
  --grad: linear-gradient(
    90deg,
    #ff9b1f,
    #e57e36
  );
  --grad-vertical: linear-gradient(
    #ff9b1f,
    #e57e36
  );
  --font-base: "Zen Maru Gothic", sans-serif;
  --font-gothic: "Zen Kaku Gothic New", sans-serif;
}

body {
  color: var(--color-text-base);
  font-family: var(--font-base);
  font-size: 16rem;
  font-weight: 400;
  font-style: normal;
}
:is(p) {
  line-height: 1.875;
}

:is(li, dt, dd, th, td, address) {
  line-height: 1.8;
}

:is(input, textarea, select) {
  font-size: 16px;
}

:where(a) {
  color: inherit;
}
:where(a):hover {
  text-decoration: none;
}

.gothic {
  font-family: var(--font-gothic);
}

/*

  LAYOUT
----------------------------------------------- */
body.isMenuOpen {
  overflow: hidden;
}

.main_contents {
  overflow: clip;
}

/*
  HEADER
----------------------------------------------- */
.header {
  top: 0;
  z-index: 10;
  background: var(--color-cream);
}
@media (width >= 960px) {
  .header {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    border-radius: 0 0 40px 40px;
    padding: 15px 5px 5px;
  }
}
@media (width < 960px) {
  .header {
    position: fixed;
    left: 15px;
    right: 15px;
    border-radius: 0 0 30px 30px;
    height: 80px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
  }
}
@media (width >= 960px) {
  .header-siteid {
    text-align: center;
  }
}
@media (width < 960px) {
  .header-siteid {
    position: relative;
    z-index: 5;
    margin-right: auto;
  }
}
@media (width >= 960px) {
  .header .logo img {
    width: 580px;
  }
}
@media (width < 960px) {
  .header .logo img {
    width: 234px;
  }
}
.header .address {
  font-style: normal;
}
@media (width < 960px) {
  .header .address {
    margin-left: 37px;
    font-size: 9px;
  }
}
@media (width >= 960px) {
  .header .address {
    margin-top: 5px;
    font-size: 17rem;
  }
}
@media (width >= 960px) {
  .header-menu {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 40px;
  }
}
@media (width < 960px) {
  .header-menu {
    display: flex;
    gap: 5px;
  }
}
.header .tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-gothic);
  white-space: nowrap;
  pointer-events: inherit !important;
}
@media (width >= 960px) {
  .header .tel {
    background: var(--grad);
    height: 70px;
    padding-inline: 18px 14px;
    font-size: 29rem;
    font-weight: 500;
  }
  .header .tel img {
    width: 15px;
  }
}
@media (width < 960px) {
  .header .tel {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--grad-vertical);
    width: 40px;
    height: 40px;
    font-size: 10px;
    font-weight: bold;
  }
  .header .tel img {
    width: 11px;
  }
}
@media (width >= 960px) {
  .header .cat-head {
    display: none;
  }
}
@media (width < 960px) {
  .header .cat-head {
    position: absolute;
    z-index: 5;
    top: -21px;
    right: 5px;
    width: 28px;
    rotate: 180deg;
    pointer-events: none;
    transform: translateY(60%);
    animation: headCatAnim 0.5s 0.5s ease-out forwards;
  }
}
@keyframes headCatAnim {
  0% {
    transform: translateY(60%);
  }
  100% {
    transform: translateY(0);
  }
}

/*
  MENU
----------------------------------------------- */
@media (width < 960px) {
  .gnav {
    position: fixed;
    z-index: 2;
    inset: 0;
    padding: 90px 20px;
    background-color: var(--color-cream);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .gnav::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: url(../img/anim-cat-footer.png) no-repeat center/contain;
    width: 50px;
    height: 95px;
    translate: 0 75%;
    transition: translate 0.6s 0.2s;
    transform-origin: 50% 120%;
  }
}
.gnav-main {
  display: flex;
  white-space: nowrap;
}
@media (width >= 960px) {
  .gnav-main {
    gap: 35px;
    margin-left: 35px;
  }
}
@media (width < 960px) {
  .gnav-main {
    flex-direction: column;
  }
}
@media (width < 960px) {
  .gnav-main li {
    border-bottom: 1px solid #e0d4b4;
  }
}
.gnav-main a {
  color: #a68328;
  font-weight: bold;
  text-decoration: none;
}
@media (width >= 960px) {
  .gnav-main a {
    position: relative;
    text-decoration: none;
  }
  .gnav-main a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border);
    background-color: currentColor;
    transform: scale(0, 1);
    transform-origin: right;
    transition: transform 0.4s;
  }
  .gnav-main a:hover::before {
    transform-origin: left;
    transform: scale(1, 1);
  }
  .gnav-main a {
    font-size: 20rem;
  }
}
@media (width < 960px) {
  .gnav-main a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    font-size: 15px;
  }
}
.gnav-sub {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 6px;
}
.gnav-sub a {
  display: flex;
  align-items: center;
  height: 55px;
  padding-inline: 30px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  font-family: var(--font-gothic);
  line-height: 1.3;
  position: relative;
}
.gnav-sub a::after {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 25px;
  content: "";
  width: 15px;
  background: url(../img/mrk-right-w.svg) no-repeat center/100%;
  aspect-ratio: 1;
}
.gnav-sub a.large {
  grid-column: 1/3;
  background: var(--grad);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.gnav-sub a.large img {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 15px;
  width: 51px;
}
.gnav-sub a.medium {
  background: linear-gradient(90deg, #f1ac0d, #da8805);
}
@media (width >= 960px) {
  .gnav-sub {
    display: none;
  }
}

.isMenuOpen .gnav {
  opacity: 1;
  pointer-events: inherit;
}
.isMenuOpen .gnav::after {
  translate: 0 0;
  animation: footerHand 1s 0.6s linear infinite;
}

/*
  BUTTON MENU
----------------------------------------------- */
.btnMenu {
  z-index: 5;
  width: 40px;
  height: 40px;
  background: var(--grad-vertical);
  padding: 2px;
  border-radius: 50%;
  transition: 0.2s;
}
@media (width >= 960px) {
  .btnMenu {
    display: none;
  }
}
.btnMenu > div {
  background-color: #fff;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.btnMenu > div span, .btnMenu > div::before, .btnMenu > div::after {
  content: "";
  grid-area: 1/1;
  background: var(--grad);
  width: 17px;
  height: 2px;
  transition: 0.2s;
}
.btnMenu > div::before {
  translate: 0 -6px;
}
.btnMenu > div::after {
  translate: 0 6px;
}

.isMenuOpen .btnMenu div::before {
  rotate: 45deg;
  translate: 0;
}
.isMenuOpen .btnMenu div::after {
  rotate: -45deg;
  translate: 0;
}
.isMenuOpen .btnMenu span {
  opacity: 0;
  height: 0;
}

/*
  予約ボタン（スマホ時下部固定）
----------------------------------------------- */
.button-reservation {
  display: grid;
}
@media (width >= 960px) {
  .button-reservation {
    padding-inline: calc(50% - 550px);
    padding-block: 95px 60px;
    gap: 20px;
    grid-template-columns: 2fr 1fr 1fr;
  }
}
@media (width >= 960px) and (width < 1180px) {
  .button-reservation {
    padding-inline: 40px;
  }
}
@media (width >= 960px) and (max-width: 960px) {
  .button-reservation {
    padding-inline: 20px;
  }
}
@media (width < 960px) {
  .button-reservation {
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    grid-template-columns: 340fr 175fr 175fr;
    gap: 5px;
    padding: 0 10px 10px;
  }
}
.button-reservation a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 55px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.25;
  position: relative;
}
@media (width >= 960px) {
  .button-reservation a {
    height: 140px;
    gap: 13px 40px;
    font-size: 29rem;
  }
}
.button-reservation a::after {
  content: "";
  background: url(../img/mrk-right-w.svg) no-repeat center/100%;
  aspect-ratio: 1;
  width: 15px;
}
@media (width >= 960px) {
  .button-reservation a::after {
    width: 30px;
  }
}
.button-reservation a.large {
  background: var(--grad);
}
.button-reservation a.large img {
  position: absolute;
}
@media (width >= 960px) {
  .button-reservation a.large img {
    width: 125px;
    bottom: -30px;
    right: 10px;
  }
}
@media (width < 960px) {
  .button-reservation a.large {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: repeat(2, 1fr);
    align-content: center;
    align-items: center;
    gap: 0;
    padding-inline: 15px;
  }
  .button-reservation a.large span:nth-child(1) {
    margin-top: auto;
  }
  .button-reservation a.large span:nth-child(2) {
    margin-bottom: auto;
  }
  .button-reservation a.large img {
    width: 46px;
    top: 30px;
    right: -10px;
  }
  .button-reservation a.large::after {
    grid-row: 1/-1;
    grid-column: 2;
  }
}
.button-reservation a.medium {
  background: linear-gradient(90deg, #f1ac0d, #da8805);
  flex-direction: column;
}
/*
  診療時間・アクセス
----------------------------------------------- */
.schedule_access {
  position: relative;
  z-index: 2;
  padding-inline: calc(50% - 550px);
}
@media (width < 1180px) {
  .schedule_access {
    padding-inline: 40px;
  }
}
@media (max-width: 960px) {
  .schedule_access {
    padding-inline: 20px;
  }
}
.schedule_access {
  display: grid;
}
@media (width >= 960px) {
  .schedule_access {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 90px;
  }
}
@media (width < 960px) {
  .schedule_access {
    padding-block: 40px 50px;
    gap: 20px;
  }
}
.schedule_access .desc {
  font-weight: 500;
  line-height: 1.45;
}
@media (width < 960px) {
  .schedule_access .desc {
    font-size: 11px;
  }
}
.schedule_access .notes {
  display: grid;
  gap: 0.2em;
  font-weight: 500;
}
.schedule_access .notes li {
  display: flex;
  gap: 3px;
  line-height: 1.4;
}
.schedule_access .notes li::before {
  transform: translateY(-0.07em);
  content: "⚫︎";
  color: #f28d2b;
  font-size: 110%;
}
@media (width < 960px) {
  .schedule_access .notes li {
    font-size: 10px;
  }
}

/* 診療時間 */
.schedule table {
  width: 100%;
}
.schedule table :is(th, td) {
  border-bottom: 2px solid #f8c695;
}
.schedule table th {
  padding-right: 1.4em;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
@media (width >= 960px) {
  .schedule table th {
    padding-right: 1.4em;
    font-size: 19rem;
  }
}
@media (width < 960px) {
  .schedule table th {
    width: 85px;
    width: 6.6em;
    padding-right: 1em;
    font-size: 12px;
  }
}
.schedule table td {
  padding-block: 0.4em;
  text-align: center;
  font-weight: bold;
}
@media (width >= 960px) {
  .schedule table td {
    width: 12.5%;
    font-size: 18rem;
  }
  .schedule table td small {
    font-size: 13px;
    font-weight: 500;
  }
}
@media (width < 960px) {
  .schedule table td {
    width: calc((100dvw - 6.6em - 40px) / 5);
    font-size: 12px;
  }
  .schedule table td small {
    font-size: 10px;
    font-weight: 500;
  }
}
.schedule table img {
  width: 15px;
  vertical-align: text-bottom;
}
@media (width >= 960px) {
  .schedule table img {
    width: 23px;
  }
}
.schedule .desc {
  margin-top: 0.7em;
}
@media (width >= 960px) {
  .schedule .desc {
    font-size: 17rem;
  }
}
.schedule .notes {
  margin-top: 10px;
}
@media (width >= 960px) {
  .schedule .notes {
    margin-top: 1.1em;
    font-size: 15rem;
  }
}
.schedule .phone {
  display: grid;
  grid-template-rows: auto 1fr;
}
@media (width >= 960px) {
  .schedule .phone {
    margin-top: 30px;
    margin-left: -45px;
    grid-template-columns: 200px 1fr;
    gap: 13px 13px;
  }
}
@media (width < 960px) {
  .schedule .phone {
    margin-top: 15px;
    grid-template-columns: 117px 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px 5px;
    align-content: center;
  }
}
.schedule .phone .image {
  grid-row: 1/-1;
}
@media (width >= 960px) {
  .schedule .phone .number {
    margin-top: 25px;
  }
}
@media (width < 960px) {
  .schedule .phone .number {
    margin-top: auto;
    width: 228px;
  }
}
.schedule .phone .address {
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  font-size: 12px;
}
@media (width >= 960px) {
  .schedule .phone .address {
    font-size: 17rem;
  }
}

/* マップ */
@media (width >= 960px) {
  .access {
    padding-left: 50px;
  }
}
.access .desc {
  margin-top: 10px;
}
@media (width >= 960px) {
  .access .desc {
    margin-top: 0.6em;
  }
}
.access .notes {
  margin-top: 1em;
  font-size: 11px;
}
@media (width >= 960px) {
  .access .notes {
    font-size: 16rem;
  }
}
.access .small {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.5;
}
@media (width >= 960px) {
  .access .small {
    font-size: 15rem;
  }
}

/*
  FOOTER
----------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-cream);
  font-weight: 500;
}
@media (width >= 960px) {
  .footer {
    height: 185px;
    margin-top: -30px;
    padding-top: 50px;
    font-size: 12rem;
  }
}
@media (width < 960px) {
  .footer {
    height: 130px;
    padding-bottom: 70px;
    font-size: 8px;
  }
}
.footer .hand {
  position: absolute;
  translate: 0 70%;
  transition: translate 0.6s;
  transform-origin: 50% 120%;
}
@media (width >= 960px) {
  .footer .hand {
    width: 141px;
    top: 10px;
    left: 120px;
  }
}
@media (width < 960px) {
  .footer .hand {
    display: none;
  }
}
.footer.view .hand {
  translate: 0 0;
  animation: footerHand 1s 0.6s linear infinite;
}
@keyframes footerHand {
  0%, 100% {
    rotate: 0deg;
  }
  25% {
    rotate: 8deg;
  }
  75% {
    rotate: -8deg;
  }
}

/*
  modules
----------------------------------------------- */
.btn {
  text-decoration: none;
  transition: filter 0.2s;
}
.btn:hover {
  filter: brightness(1.07);
}
.btn:hover img {
  opacity: 1;
}
@media (width >= 960px) {
  .btn:hover.mark {
    background-position-x: right 16px;
  }
}

.mark {
  position: relative;
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 20px center;
  transition: background-position-x 0.2s;
}
.mark.right-white {
  background-image: url(../img/mrk-right-w.svg);
}
.mark.right-black {
  background-image: url(../img/mrk-right-b.svg);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  background: #fff url(../img/mrk-right-b.svg) no-repeat;
  background-position: right 15px center;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f1ea;
  border-radius: 999px;
  text-decoration: none;
  transition: background-position-x 0.2s;
}
@media (width >= 960px) {
  .button {
    min-width: 180px;
    padding-inline: 20px 54px;
    background-size: 16px;
    font-size: 14rem;
  }
}
@media (width < 960px) {
  .button {
    min-width: 155px;
    padding-inline: 17px 52px;
    background-size: 15px;
    font-size: 14px;
  }
}
.button:hover img {
  opacity: 1;
}
@media (width >= 960px) {
  .button:hover {
    background-position-x: right 12px;
  }
}