@charset "UTF-8";
:root {
  --fukumasu-header-top-height: 40px;
  --fukumasu-header-main-height: 82px;
  --fukumasu-header-height: calc(
    var(--fukumasu-header-top-height) + var(--fukumasu-header-main-height)
  );
}

.p-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--fukumasu-header-height);
  z-index: 100;
  background: #f0f0f0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.p-header__top {
  height: var(--fukumasu-header-top-height);
  background: #f0f0f0;
}

.p-header__topInner {
  width: min(1319px, 100%);
  height: 100%;
  padding-inline: 0;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-header__lead {
  white-space: nowrap;
  margin-left: 4px;
}

.p-header__topLinks {
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.p-header__topLink {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  white-space: nowrap;
}

.p-header__topLink p {
  margin: 0;
}

/* CMS can wrap the phone number with another tel link, so flatten the text box. */
.p-header__topLink--call p {
  display: contents;
}

.p-header__topLink--call > a,
.p-header__topLink--call p a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: inherit;
  white-space: nowrap;
}

.p-header__topLink--external::before,
.p-header__topLink--call::before {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  background: #4cc5ad;
  content: "";
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.p-header__topLink--external::before {
  mask-image: url("../images/icon_com-external-link.svg");
  -webkit-mask-image: url("../images/icon_com-external-link.svg");
}

.p-header__topLink--call::before {
  mask-image: url("../images/icon_com-call.svg");
  -webkit-mask-image: url("../images/icon_com-call.svg");
}

.p-header__panel {
  padding-block: 0;
  padding-inline: 1px;
  border-radius: 20px 20px 0 0;
  background: var(--color-paper);
}

.p-header__inner {
  width: min(1366px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  height: var(--fukumasu-header-main-height);
  padding-inline: 20px;
  border-radius: 20px 20px 0 0;
  background: var(--color-paper);
}

.p-header__logo {
  display: flex;
  flex: 0 0 390px;
  align-items: center;
}

.p-header__logo img {
  width: auto;
  height: 50px;
}

.p-header__nav {
  min-width: 0;
  margin-left: 13px;
  display: flex;
  flex: 1;
  align-items: stretch;
  height: 58px;
}

.p-header__navItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-inline: 28px;
  background-image: linear-gradient(var(--color-line), var(--color-line));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 1px 30px;
  cursor: pointer;
  white-space: nowrap;
}

.p-header__navItem:last-child {
  background-image: linear-gradient(var(--color-line), var(--color-line)), linear-gradient(var(--color-line), var(--color-line));
  background-position: left center, right center;
  background-size: 1px 30px, 1px 30px;
}

.p-header__navItem::before {
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.p-header__navItem--clinic::before {
  background-image: url("../images/icon_com-clinic.svg");
}

.p-header__navItem--service::before {
  background-image: url("../images/icon_com-service.svg");
}

.p-header__navItem--price::before {
  background-image: url("../images/icon_com-price.svg");
}

.p-header__navItem--case::before {
  background-image: url("../images/icon_com-case.svg");
}

.p-header__navItem--access::before {
  background-image: url("../images/icon_com-access.svg");
}

.p-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.p-header__action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 138px;
  height: 46px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.p-header__action--mint {
  background: #4cc5ad;
}

.p-header__action--orange {
  background: #fd8a71;
}

.p-header__toggle {
  position: relative;
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 45px;
  margin-left: 12px;
  border: 1px solid #5d6f6c;
  border-radius: 8px;
  background: var(--color-paper);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.p-header__toggle::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #5d6f6c;
  box-shadow: 0 6px #5d6f6c, 0 12px #5d6f6c;
  content: "";
  transform: translateX(-50%);
}

.p-header__toggle::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  content: "メニュー";
  text-align: center;
}

.p-header__toggle.is-open {
  border-color: var(--color-mint-dark);
  background: rgba(76, 197, 173, 0.08);
}

.p-header__toggle.is-open::before {
  background: var(--color-mint-dark);
  box-shadow: 0 6px var(--color-mint-dark), 0 12px var(--color-mint-dark);
}

.c-drawer {
  position: absolute;
  top: calc(100% - 1px);
  right: max(0px, (100vw - 1366px) / 2);
  z-index: 110;
  display: none;
  width: min(356px, 100vw - 24px);
  padding: 18px 20px 20px;
  border: 1px solid var(--color-mint-mid);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--color-paper);
  box-shadow: 0 10px 30px rgba(23, 59, 53, 0.14);
  overflow: hidden;
}

.c-drawer.is-open {
  display: flex;
  flex-direction: column;
}

.c-megaMenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 16px;
  z-index: 109;
  display: none;
  width: min(356px, 100vw - 24px);
  padding: 18px 20px 20px;
  border: 1px solid var(--color-mint-mid);
  border-radius: 0 0 18px 18px;
  background: var(--color-paper);
  box-shadow: 0 10px 30px rgba(23, 59, 53, 0.14);
}

.c-megaMenu.is-open {
  display: block;
}

.c-megaMenu__links {
  padding-top: 0;
}

.c-megaMenu__link {
  display: block;
}

.c-megaMenu__link p {
  padding: 15px 4px 14px;
  border-bottom: 1px solid rgba(76, 197, 173, 0.2);
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.c-megaMenu__link:last-child p {
  border-bottom: 0;
}

.c-megaMenu__link:hover p {
  background: rgba(76, 197, 173, 0.08);
  color: var(--color-mint-dark);
}

.c-drawer__utilityLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(76, 197, 173, 0.16);
}

.c-drawer__utilityLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding-inline: 12px;
  border-radius: 999px;
  background: rgba(76, 197, 173, 0.12);
  transition: background 0.2s ease;
}

.c-drawer__utilityLink p {
  padding: 0;
}

.c-drawer__utilityLink:hover {
  background: rgba(76, 197, 173, 0.18);
}

.c-drawer__accordion + .c-drawer__accordion {
  margin-top: 6px;
}

.c-drawer__accordionToggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 34px 16px 18px;
  appearance: none;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(76, 197, 173, 0.24);
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.c-drawer__accordionToggle::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #173b35;
  border-bottom: 1.5px solid #173b35;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.c-drawer__accordionToggle.is-open {
  border-color: #173b35;
  border-radius: 2px;
  background: #ffffff;
}

.c-drawer__accordionToggle.is-open::after {
  transform: translateY(-30%) rotate(-135deg);
}

.c-drawer__accordionLabel {
  display: block;
}

.c-drawer__accordionPanel {
  padding: 0 0 14px;
}

.c-drawer__contactLink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(76, 197, 173, 0.28);
  border-radius: 12px;
  background: rgba(76, 197, 173, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.c-drawer__contactLink::before {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  background: #4cc5ad;
  content: "";
  mask-image: url("../images/icon_com-call.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("../images/icon_com-call.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.c-drawer__contactLink p {
  padding: 0;
}

.c-drawer__contactLink:hover {
  background: rgba(76, 197, 173, 0.14);
  border-color: rgba(76, 197, 173, 0.4);
}

.c-drawer__link {
  display: block;
}

.c-drawer__link p {
  padding-top: 15px;
  padding-bottom: 14px;
  padding-inline: 4px;
  border-bottom: 1px solid rgba(76, 197, 173, 0.2);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.c-drawer__link:hover p {
  background: rgba(76, 197, 173, 0.08);
}

.c-drawer__link--last p {
  border-bottom: 0;
}

.c-drawer .p-header__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
  margin-left: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(76, 197, 173, 0.16);
}

.c-drawer .p-header__action {
  width: 100%;
  height: 52px;
}

@media screen and (min-width: 1367px) {
  .p-header__topInner {
    width: calc(100% - 47px);
  }
  .p-header__inner {
    width: 100%;
    padding-inline: 1.464vw;
  }
  .p-header__nav {
    justify-content: flex-end;
  }
  .c-drawer {
    right: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .p-header__logo,
  .p-header__topLink,
  .p-header__navItem,
  .p-header__action,
  .p-header__toggle,
  .c-drawer__utilityLink,
  .c-drawer__contactLink,
  .c-drawer__link {
    transform-origin: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    will-change: transform;
  }
  .p-header__logo:hover,
  .p-header__topLink:hover,
  .p-header__navItem:hover,
  .p-header__action:hover,
  .p-header__toggle:hover,
  .c-drawer__utilityLink:hover,
  .c-drawer__contactLink:hover,
  .c-drawer__link:hover {
    transform: scale(1.05);
  }
  .p-header__topLink:hover {
    text-decoration: underline;
  }
  .p-header__action {
    border: 1px solid transparent;
  }
  .p-header__action--orange:hover {
    background: var(--color-paper);
    border-color: #fd8a71;
  }
  .p-header__action--mint:hover {
    background: var(--color-paper);
    border-color: #4cc5ad;
  }
  .p-header__action:hover p {
    color: inherit;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-header__logo,
  .p-header__topLink,
  .p-header__navItem,
  .p-header__action,
  .p-header__toggle,
  .c-drawer__utilityLink,
  .c-drawer__contactLink,
  .c-drawer__link {
    transition: none;
    transform: none;
  }
  .p-header__logo:hover,
  .p-header__topLink:hover,
  .p-header__navItem:hover,
  .p-header__action:hover,
  .p-header__toggle:hover,
  .c-drawer__utilityLink:hover,
  .c-drawer__contactLink:hover,
  .c-drawer__link:hover {
    transform: none;
  }
}
@media screen and (max-width: 1366px) {
  :root {
    --fukumasu-header-main-height: clamp(76px, calc(58px + 1.76vw), 82px);
  }
  .p-header__topInner {
    width: min(1319px, 100% - 24px);
  }
  .p-header__topLinks {
    gap: clamp(12px, -42px + 4.98vw, 20px);
  }
  .p-header__inner {
    padding-inline: clamp(12px, 0px + 1.17vw, 16px);
  }
  .p-header__logo {
    flex-basis: clamp(240px, -380px + 56.4vw, 390px);
  }
  .p-header__logo img {
    width: auto;
    height: clamp(42px, 10px + 2.93vw, 50px);
  }
  .p-header__nav {
    margin-left: clamp(0px, -54px + 4.98vw, 13px);
    height: clamp(50px, 26px + 2.34vw, 58px);
  }
  .p-header__navItem {
    padding-inline: clamp(10px, -68px + 7.09vw, 28px);
  }
  .p-header__navItem::before {
    width: clamp(18px, 6px + 1.17vw, 22px);
    height: clamp(18px, 6px + 1.17vw, 22px);
  }
  .p-header__actions {
    margin-left: clamp(8px, -58px + 6.02vw, 24px);
  }
  .p-header__action {
    width: clamp(104px, 17px + 8.84vw, 138px);
    height: clamp(40px, 22px + 1.76vw, 46px);
  }
  .p-header__toggle {
    width: clamp(48px, 30px + 1.76vw, 54px);
    height: clamp(40px, 25px + 1.46vw, 45px);
    margin-left: clamp(6px, -14px + 1.82vw, 12px);
  }
  .p-header__toggle::before {
    top: clamp(10px, 7px + 0.29vw, 11px);
  }
  .c-drawer {
    width: clamp(320px, 236px + 8.21vw, 356px);
  }
  .c-megaMenu {
    width: min(356px, 100vw - 24px);
    padding-inline: 20px;
  }
}
@media screen and (max-width: 1200px) {
  .p-header__topInner {
    width: min(1319px, 100% - 32px);
  }
  .p-header__topLinks {
    gap: 16px;
  }
  .p-header__inner {
    padding-inline: 16px;
  }
  .p-header__logo {
    flex-basis: 260px;
  }
  .p-header__nav {
    margin-left: 8px;
  }
  .p-header__navItem {
    padding-inline: 20px;
  }
  .p-header__actions {
    gap: 8px;
    margin-left: 12px;
  }
  .p-header__action {
    width: 120px;
  }
  .c-megaMenu {
    width: min(356px, 100vw - 24px);
    padding-inline: 20px;
    box-shadow: 0 10px 24px rgba(23, 59, 53, 0.1);
  }
}
@media screen and (max-width: 1100px) {
  :root {
    --fukumasu-header-top-height: 36px;
    --fukumasu-header-main-height: 76px;
  }
  .p-header {
    overflow-x: clip;
  }
  .c-megaMenu {
    display: none !important;
  }
  .p-header__panel {
    padding-inline: 0;
    border-radius: 0;
  }
  .p-header__nav,
  .p-header__actions {
    display: none;
  }
  .p-header__top {
    display: block;
    height: var(--fukumasu-header-top-height);
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .p-header__topInner {
    width: calc(100% - 24px);
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding-block: 0;
    padding-inline: 0;
  }
  .p-header__lead {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .p-header__topLinks {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 12px;
    overflow: visible;
  }
  .p-header__topLink {
    flex: 0 0 auto;
  }
  .p-header__inner {
    width: 100%;
    height: var(--fukumasu-header-main-height);
    padding-left: 16px;
    padding-right: 0;
    border-radius: 0;
  }
  .p-header__logo {
    flex: 1;
  }
  .p-header__toggle {
    align-self: stretch;
    flex: 0 0 72px;
    width: 72px;
    height: auto;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: var(--color-mint);
  }
  .p-header__toggle::before {
    top: 24px;
    width: 28px;
    background: #fff;
    box-shadow: 0 8px #fff, 0 16px #fff;
  }
  .p-header__toggle::after {
    bottom: 12px;
  }
  .c-drawer {
    top: 100%;
    right: 0;
    width: 100%;
    padding: 18px 16px 20px;
    border: 0;
    border-top: 1px solid rgba(76, 197, 173, 0.16);
    border-radius: 0 0 18px 18px;
    background: var(--color-paper);
    box-shadow: 0 10px 24px rgba(23, 59, 53, 0.1);
  }
  .c-drawer__utilityLinks {
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
  }
  .c-drawer__link p {
    padding-block: 16px;
    padding-inline: 2px;
    border-bottom: 1px solid rgba(76, 197, 173, 0.18);
    cursor: pointer;
  }
  .c-drawer__link--last p {
    border-bottom: 0;
  }
  .c-drawer__link:hover p {
    background: rgba(76, 197, 173, 0.08);
  }
  .c-drawer .p-header__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding: 18px 0 0;
  }
  .c-drawer .p-header__action {
    width: 100%;
    height: 50px;
  }
}
@media screen and (max-width: 1024px) {
  .p-header__top {
    overflow-x: hidden;
  }
  .p-header__topInner {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 12px;
  }
  .p-header__lead {
    display: none;
  }
  .p-header__topLinks {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
  }
}
@media screen and (max-width: 414px) {
  :root {
    --fukumasu-header-top-height: 32px;
    --fukumasu-header-main-height: 72px;
  }
  .p-header__top {
    height: var(--fukumasu-header-top-height);
  }
  .p-header__topInner {
    padding-inline: 10px;
  }
  .p-header__topLinks {
    gap: 10px;
  }
  .p-header__inner {
    height: var(--fukumasu-header-main-height);
    padding-left: 12px;
  }
  .p-header__logo img {
    width: auto;
    height: 41px;
  }
  .p-header__toggle {
    flex-basis: 68px;
    width: 68px;
  }
  .p-header__toggle::before {
    top: 22px;
    width: 26px;
  }
  .p-header__toggle::after {
    bottom: 10px;
  }
}
@media screen and (max-width: 600px) {
  .p-header.is-scroll-hidden {
    transform: translateY(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-header {
    transition: none;
  }
}
@media screen and (max-width: 375px) {
  .p-header__topInner {
    padding-inline: 8px;
  }
  .p-header__topLinks {
    gap: 8px;
  }
  .p-header__inner {
    padding-left: 10px;
  }
  .p-header__logo img {
    width: auto;
    height: 39px;
  }
  .p-header__toggle {
    flex-basis: 64px;
    width: 64px;
  }
}
