@charset "UTF-8";
/* CSS Document */
@media (max-width: 959px) {
  .nav {
    display: none;
  }
  .tb-br {
    display: block;
  }
  /*モバイルメニュー*/
  .mobile {
    display: block;
    width: 50px;
    height: 50px;
    z-index: 9999;
  }
  #panel-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 0 10px 10px 0;
    background: var(--s2);
  }
  .panel-btn-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 30px;
    width: 30px;
    margin-top: 2px;
  }
  #panel-btn-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 2px;
    background: var(--m);
    transition: .2s;
  }
  #panel-btn-icon:before, #panel-btn-icon:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--m);
    transition: .3s;
  }
  #panel-btn-icon:before {
    margin-top: -6px;
  }
  #panel-btn-icon:after {
    margin-top: 6px;
    width: 30px;
  }
  #panel-btn .close {
    background: transparent;
  }
  #panel-btn .close:before, #panel-btn .close:after {
    margin-top: -0.5px;
  }
  #panel-btn .close:before {
    transform: rotate(-45deg);
  }
  #panel-btn .close:after {
    transform: rotate(-135deg);
    width: 30px;
  }
  #panel {
    display: block;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--s1);
    position: fixed;
    top: 0;
    right: -100%;
    padding: 90px 5% 10%;
    z-index: 999;
    transition: 0.6s;
    font-size: 1.6rem;
  }
  #panel.block {
    right: 0;
    opacity: 1;
  }
  #panel ul {
    width: 100%;
  }
  #panel ul li {
    margin-bottom: 30px;
    border-radius: 10px;
  }
  #panel ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    height: 60px;
    border-radius: 10px;
    letter-spacing: 0;
    color: var(--m);
  }
  .header-right {
    box-shadow: none;
    top: 5px;
    right: 5px;
    font-size: 1rem;
  }
  .nav_line-btn {
    border-radius: 10px 0 0 10px;
    flex-direction: column;
    z-index: 9999;
    img {
      width: 20px;
    }
  }
  .sp_nav_tel {
    background-color: var(--p);
    border-radius: 100px;
    text-align: center;
    color: var(--m);
    display: block;
    padding: 30px 0;
  }
  .sp_tel_label {
    font-size: 1.6rem;
    font-weight: 700;
  }
  .sp_tel {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
  }
  .top_tre {
    margin: 0 max(0.5%, 5px) 80px;
    display: block;
  }
  .top_tre_left {
    background-color: white;
    padding: 0 9%;
    margin-bottom: 50px;
  }
  .top_tre_leftinner {
    max-width: none;
  }
  .top_tre_img01 {
    display: block;
    width: 75%;
    margin-bottom: clamp(30px, 6vw, 80px);
    img {
      border-radius: max(1.2vw, 10px);
    }
  }
  .top_tre_img02 {
    width: 75%;
    height: auto;
    margin: 0 0 0 auto;
  }
  .top_tre_right {
    position: relative;
    padding-bottom: 10%;
	overflow: clip;
    &::before {
      content: '';
      width: 57vw;
      height: 57vw;
      border-radius: 50%;
      background: rgba(216, 247, 250, 0.5);
      position: absolute;
      left: 50%;
      top: 10%;
      z-index: -1;
    }
    &::after {
      content: '';
      width: 36vw;
      height: 36vw;
      border-radius: 50%;
      background: rgba(250, 249, 234, 0.87);
      position: absolute;
      left: 1%;
      bottom: 0;
      z-index: -1;
    }
  }
  .top_about {
    flex-direction: column-reverse;
  }
  .top_about_pic {
    margin-bottom: 0;
  }
  .top_about_textbox {
    background-color: #fff;
    padding: 0 9%;
    margin: 0 0 max(8%, 45px);
  }
  .top_about_inner {
    display: block;
  }
  .top_about_text {
    max-width: none;
  }
  .symptom-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-news_ul {
    width: 100%;
  }
  .top-news_title {
    font-size: 1.4rem;
  }
  .btn-label {
    font-size: 1.6rem;
  }
  .btn-phone {
    font-size: 2.4rem;
  }
  .foot_logo {
    width: 90px;
  }
  .clinic-info {
    font-size: 1.4rem;
  }
  .top_about_title {
    margin-bottom: 5%;
  }
  /*//////////////tab当院について//////////*/
  .about01 {
    grid-template-columns: 1fr;
  }
  .about01_right {
    background-color: #fff;
    border: 1px solid var(--m);
  }
  .about02_box {
    flex-direction: column;
    padding: 5% 3%;
    min-height: 1px;
    width: calc(50% - min(1.65vw, 20px));
  }
  .about02_box_textbox {
    width: 100%;
  }
  .about02_number {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .about02_box_title {
    display: flex;
    justify-content: center;
  }
  .about03_inner {
    grid-template-columns: 1fr;
  }
  .sub_title {
   width: max(50%,400px);
  }
  /*//////////////tab施術内容//////////*/
  .tre_inbox {
    font-size: 1.5rem;
    min-height: 0;
    padding: 30px 25px;
  }
  .treat02 {
    grid-template-columns: 1fr;
  }
  .treat02_left {
    order: 2;
    padding: 8% 7%;
  }
  .treat02_right {
    order: 1;
    height: 80vw;
  }
  .treat02_leftinner {
    width: 100%;
  }
  .treat03 {
    display: block;
    width: 85%;
  }
  .treat03_pic {
    width: 100%;
    margin-right: 0;
    margin-bottom: 40px;
  }
  .treat03_textbox {
    width: 90%;
    margin: 0 auto;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .treat04 {
    padding: 10% 0;
  }
  /*//////////////tab施術料金//////////*/
  .fee-table th, .fee-table td {
    font-size: 1.6rem;
  }
  th.fee-table_time {
    min-width: 140px;
    font-size: 1.6rem;
  }
  td.fee-table-text {
    font-size: 1.4rem;
  }
  .fee-price {
    padding: 10% 5%;
  }
  .mente_fee {
    font-size: 1.6rem;
    grid-template-columns: 1fr 1fr;
  }
  /*/////////////tb-症状別一覧//////////////*/
  .news-list_wrap {
    width: 90%;
    grid-template-columns: 1fr;
    gap: max(0.5vw, 5px);
  }
  .cate_box {
    padding: 5%;
  }
  .cat_wrap_left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    li {
      margin-bottom: 0;
    }
  }
  /*/////////////tb-お知らせ一覧//////////////*/
  .news-list_box {
    padding: 50px 5% 80px;
  }
  /*/////////////tb-お問い合わせ//////////////*/
  .contact-phone {
    font-size: 2.2rem;
  }
  .contact-label {
    font-size: 1.4rem;
  }
  .formWrap {
    padding: 8% 5% 80px;
  }
}