@charset "UTF-8";

/* GUIDE院長確認用スマートフォンUI */
.guide-reservation-buttons,
.guide-mobile-review {
  display: none;
}

.guide-treatment-plan-break {
  display: none;
}

@media screen and (max-width: 959px) {
  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "nav"
      "main"
      "aside";
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-wrapper {
    display: contents;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-title {
    grid-area: title;
    min-width: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-nav {
    grid-area: nav;
    min-width: 0;
    margin-top: 8px;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-main {
    grid-area: main;
    min-width: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-aside {
    grid-area: aside;
    min-width: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-buttons {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    gap: 6px;
    background-color: #ffffff;
    border-top: 1px solid #d9ddea;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-container {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-buttons a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 6px 3px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    border-radius: 5px;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-web {
    background-color: #ff8000;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-compass {
    background-color: #526bc5;
    flex-direction: column;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-compass .guide-reservation-label-main,
  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-compass .guide-reservation-label-sub {
    display: block;
    white-space: nowrap;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-reservation-phone {
    background-color: #8EC298;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-legacy-reservation {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-headerExtra1 > font[color="#ff8000"] {
    font-size: 130% !important;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-headerExtra1 > font[color="#333333"][size="+2"] {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-legacy-banner-links,
  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-desktop-review {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info > .guide-mobile-review {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0 auto 16px;
    padding: 10px 12px;
    box-sizing: content-box;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    background-color: #8b99d9;
    border-radius: 6px;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info > .guide-mobile-review img {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info > .guide-mobile-review::before {
    content: "患者さまの声はこちら";
    display: block;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info > .guide-mobile-review::after {
    content: "（外部サイト：しんきゅうコンパス）";
    display: block;
    font-size: 12px;
    font-weight: normal;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info > .guide-mobile-review + h3 > br:first-child {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > h3:nth-of-type(4) {
    margin-bottom: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type {
    margin-top: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 .guide-treatment-plan-break {
    display: block;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #pagetop > a {
    margin-right: auto;
    margin-left: auto;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-insurance-heading {
    width: calc(100% + 5px);
    max-width: none;
    margin-right: auto;
    margin-left: -5px;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-insurance-heading td {
    text-align: center;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-list > li > font {
    display: block;
    min-width: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-list > li > font > b {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-amount {
    text-align: right;
    white-space: nowrap;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-list > li > font[color="#304496"] + font[color="#000000"][face="メイリオ"],
  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-list > li > font[color="#304496"] + font[color="#000000"][face="メイリオ"] + br,
  body.hpb-layoutset-02#hpb-template-03-03b-03 #info .guide-price-list > li > font[color="#304496"] + font[color="#000000"][face="メイリオ"] + br + br {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #info img.guide-treatment-image[src="P61402072.jpg"] {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-headerExtra1 {
    padding-right: 12px;
    box-sizing: border-box;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo .guide-mobile-phone-only {
    display: none !important;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo .guide-hours-flow-indent,
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo .guide-hours-flow-break,
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo .guide-hours-leading-break {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"] > b,
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[size="+1"]:not([color]),
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[color="#8b99d9"][size="+1"] {
    position: static;
    left: auto;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    text-indent: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type {
    margin-bottom: 4px;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:nth-of-type(2) {
    margin-top: 0;
  }
}

@media screen and (width: 960px) {
  body.hpb-layoutset-02#hpb-template-03-03b-03 #hpb-headerExtra1 > font[color="#333333"][size="+2"] {
    font-size: 0 !important;
    line-height: 0;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > .guide-mobile-phone-only {
    display: none;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"],
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[color="#8b99d9"][size="+1"] {
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
  }

  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"] .guide-hours-flow-indent,
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > .guide-hours-flow-indent:has(+ b > font[color="#8b99d9"][size="+1"]),
  body.hpb-layoutset-02#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[color="#8b99d9"][size="+1"] > .guide-hours-flow-indent {
    display: none;
  }
}
