@charset "utf-8";
/* CSS Document */
@media (max-width: 799px) {
  nav ul {
    flex-wrap: wrap;
    padding: 0 9px 0 10px;
  }
  nav ul li {
    padding: 18px 0.2rem;
  }
  nav ul li:first-child {
    padding: 18px 10px;
  }
  /*施術メニュー*/
  section.treatment {
    width: 74vw;
    margin-right: auto;
    margin-left: 0;
    padding-right: 1rem;
    padding-left: 3vw; /* 5rem*/
    height: 166vw; /*600px*/
  }
  .treatment_base {
    height: 100%;
  }
  div.treatment_slider {
    display: block;
    width: 69vw; /*260px*/
    border-radius: 21px;
    position: absolute;
    top: 22vw; /*80px*/
    left: 7vw;
  }
  .slider_text {
    width: 65vw !important;
    margin: 0;
    position: absolute;
    top: 90vw;
    padding: 6vw 5px 1px 20px;
  }
  .slider_txh {
    font-size: 1rem;
  }
  .trsl02text li p {
    font-size: 0.8rem;
  }
  .slidedots02 {
    top: 54vw !important;
    left: -5vw !important;
  }
  .treatment_base > span {
    position: absolute;
    right: 10%;
  }
  .treatment_base > span a.button2 {
    display: inline-block;
    /*white-space: pre-wrap;*/
    font-size: 1rem;
    font-weight: 900;
    /*position: absolute;*/
    width: 53vw;
    /* height: 72px;*/
    /* padding-top: 0.9rem;*/ /*ベースは0.8rem 2rem;*/
    border-radius: 36px;
    /*right: 10%;*/
    line-height: 1;
    text-align: center;
  }
  /*.treatment_base > span a.button2 br.btnnobr {
    display: inline-block;
  }*/
  .treatment_base::after {
    display: none;
  }
  .treatment_base h2 {
    position: relative;
  }
  .treatment_base h2::after {
    content: "MENU No.";
    display: block;
    font-size: 0.9rem;
    position: absolute;
    top: 68vw; /*250px*/
    left: 9vw;
  }
  .next-arrow {
    left: -20px !important;
    z-index: 90;
  }
  .prev-arrow {
    right: -20px;
    z-index: 90;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
    width: 0;
    height: 0;
  }
  header {
    margin-bottom: 50px;
    padding-right: 40px;
    justify-content: space-around;
  }
  .header_logo {
    /*margin-left: 5%;*/
  }
  .header_text1 {
    flex-direction: column;
    width: 35vw;
    text-align: left;
  }
  .header_tel {
    display: inline-block;
    margin-left: auto;
    padding-right: 10px;
    padding-top: 3px;
  }
  .header_tel tel {
    display: inline-block;
  }
  .header_tel tel a {
    display: inline-block;
  }
  .under_header {
    display: inline-block;
    /*width: 90vw;*/
    flex-direction: column;
    position: absolute;
    bottom: -65px;
    right: -2vw;
  }
  /*hamburger*/
  /* ハンバーガーメニューのサイズ(32x32) */
  .hamburger-menu {
    display: inline-block;
    vertical-align: center;
    /*width: 32px;
    height: 32px;*/
  }
  /* ハンバーガーメニューの位置と色 */
  .menu-btn {
    position: fixed;
    top: 8px;
    right: 10px;
    display: flex;
    height: 32px;
    width: 32px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 3px;
  }
  /* メニュー線（本体と before と after で３本表示する） */
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    /* 20x3 の線 */
    content: '';
    display: block;
    height: 3px;
    width: 20px;
    border-radius: 3px;
    background-color: #796E65;
    position: absolute;
  }
  /* before を少し上にずらして描画 */
  .menu-btn span:before {
    bottom: 8px;
  }
  /* after を少し下にずらして描画 */
  .menu-btn span:after {
    top: 8px;
  }
  /* メニューをオープンしたら三本線を×にする */
  #menu-btn-check:checked ~ .menu-btn span {
    /* メニューオープン時は三本線の真ん中の線を透明にする */
    background-color: rgba(255, 255, 255, 0);
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    /* メニューオープン時は三本線の上の線を 45 度傾ける */
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    /* メニューオープン時は三本線の下の線を -45 度傾ける */
    top: 0;
    transform: rotate(-45deg);
  }
  /* チェックを非表示にする */
  #menu-btn-check {
    display: none;
  }
  /* メニュー装飾 */
  .menu-content {
    width: 80%;
    height: 100vh;
    position: fixed;
    top: 0; /* メニュー上部の隙間を０に */
    right: -100%; /* メニューを画面外へ */
    z-index: 80; /* 下のコンテンツの上にかぶせて表示する */
    background-color: rgba(232, 227, 224, 0.9); /*#E8E3E0ベージュ*/
    transition: all 0.4s; /* 0.4秒かけてアニメーションで出し入れする */
  }
  .menu-content ul {
    padding: 18vw 10px 0;
  }
  .menu-content ul li {
    border-bottom: solid 1px #796E65; /* メニューアイテムの区切り線 */
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    color: #796E65;
    padding: 9px 15px 10px 0;
    position: relative;
    background-color: rgba(232, 227, 224, 1); /*リンク部分は透過なしに*/
    transition: all 0.4s;
  }
  .menu-content ul li a:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }
  /* メニューの出し入れ */
  #menu-btn-check:checked ~ .menu-content {
    right: 0; /* チェックされたら画面内へ */
  }
  /*ここまでhamburger-menu*/
}
@media (max-width: 500px) {
  /*モバイル対応m500*/
  section p {
    width: 100%;
    padding: 0;
    line-height: 1.2;
  }
  .ly_wrapper {
    max-width: 500px;
    /* min-width: 290px;*/
    position: relative;
    background-color: #FFF;
  }
  header {
    width: 100%;
    padding: 0;
    padding-top: 20px;
    padding-left: 10px;
    padding-bottom: 15px;
    /*margin-bottom: 50px;*/
    margin-left: 0;
    margin-right: 0;
    justify-content: space-around !important;
  }
  .header_logo {
    width: 38%;
    margin: 0 !important;
  }
  .header_text1 {
    flex-direction: column;
    width: auto;
    /*margin-right: 40px;*/
  }
  .header_tel {
    display: inline-block;
    padding-left: 10px;
    margin-top: 5px;
  }
  .header_tel tel {
    font-size: 16px;
  }
  .header_tel tel a {
    font-size: 16px;
  }
  .header_msg1 {
    padding: 2px 0 2px 10px;
    font-size: 0.4rem;
    background-color: #fff;
  }
  .under_header {
    width: auto;
    /*flex-direction: column;
    position: absolute;
    bottom: -65px;*/
    right: -4vw;
  }
  .header_msg2 {
    font-size: 0.8rem;
    margin: 0;
    text-align: right;
    white-space: nowrap;
  }
  .header_msg3 {
    /*display: flex;*/
    padding: 0;
    text-align: right;
  }
  .header_msg3 > span {
    display: inline;
    font-size: 0.8em;
  }
  /*navは非表示*/
  nav {
    width: 90%;
    display: none;
  }
  .ly_inner {
    width: 100%;
  }
  /*スライダーのh1テキスト縦書m500*/
  .top-message {
    width: 5em;
    height: 13em;
    display: flex; /*0611追記*/
    flex-direction: row-reverse;
    position: absolute;
    bottom: -3px;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.1;
  }
  /*.top-message等、縦書き*/
  span.h1tx01 > span, span.h1tx02 > span {
    display: block;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  .br_top {
    display: none;
  }
  .h1tx01, .h1tx02 {
    display: block;
    width: 1.2em;
  }
  /*クエスチョンマーク用。*/
  /*.h1tx02 {
    display: inline-block;
    -webkit-text-combine: horizontal;
    -ms-text-combine-horizontal: all;
    text-combine-upright: all;
    padding-left: 7px;
  }*/
  .h1tx_q {
    display: inline-block;
    -webkit-text-combine: horizontal;
    -ms-text-combine-horizontal: all;
    text-combine-upright: all;
    /*padding-left: 7px;*/
  }
  /*トップスライダー親要素*/
  .ly_inner {
    width: 100%;
  }
  .main-top {
    width: 100%;
    /*ドットが見えにくかったのでマージン変更*/
    margin-bottom: 80px;
    /*margin: 0 auto;*/
  }
  /*トップスライダーm500*/
  .top_slider_base {
    margin: 0 auto;
    display: block;
    /* justify-content: center;*/
    width: 84%;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    /*padding: 0;*/
  }
  .top_slider_base ul {
    padding: 0;
    padding-inline-start: 1px;
  }
  .slider01 img {
    width: 100%;
    height: 100vw;
    object-fit: cover;
  }
  /*---*/
  /*トップスダイダーのドットボタン変更*/
  .slidedots01 {
    position: absolute;
    top: 105%;
    right: 0;
    transform: translateY(0); /*上書き*/
  }
  .slidedots01 li {
    display: inline-block;
    /*display: block;*/
    margin: 0 12px;
  }
  .slidedots01 li:last-child {
    margin-right: 0;
  }
  .slidedots01 li button {
    position: relative;
    margin-top: 5px;
    background: #E8E3E0; /*規定で指定されているので実装先と同じ背景色に*/
  }
  /*トップスダイダー下向き矢印*/
  /*コロナ対策m500*/
  .infection_control {
    width: 90%;
    padding: 15px;
    margin-bottom: 30px;
  }
  .ly_flex {
    flex-direction: column;
  }
  .ly_flex img {
    display: inline-block;
    /* margin-left: 8px;*/
  }
  .icons {
    max-width: 90%;
    margin: 0 auto 20px auto;
    text-align: center;
  }
  .infection_control::after {
    display: none;
  }
  /*コンセプトタイトルm500*/
  section.concept {
    width: 100%;
    height: 200vw;
    /*min-width: 100%;*/
    padding-top: 1rem;
    margin-top: 0;
    background: #ffffff;
  }
  .concept_base {
    max-width: 98%;
    margin: 0 auto;
  }
  .concept_base h2 {
    float: none;
    width: 100%;
  }
  .concept_img {
    float: none;
    display: inline-block;
    position: relative;
    /* display: flex;
    justify-content: center;*/
    max-width: 98%;
    padding: 30px 0 30px 0;
    /*padding-left:12px;*/
    width: 100%;
    /*top:400px;*/
    text-align: center;
  }
  .concept_img img {
    width: 66vw;
    height: 80vw;
    object-fit: cover;
    border-bottom-left-radius: 21px;
    border-top-left-radius: 21px;
    /*width:90%;
		height:auto;*/
  }
  .concept_text {
    display: block;
    margin: 0 auto;
    float: none;
    width: 90%;
  }
  .concept_text > p {
    padding: 20px;
  }
  .concept_text span.button {
    margin-top: 2rem;
  }
  .concept_img::after {
    position: absolute;
    bottom: 0;
    /*left: 230px;*/
    left: auto;
    right: 2rem;
    display: block;
    border-radius: 18px;
    content: "";
    width: 6rem;
    height: 6rem;
  }
  /*院長あいさつm500*/
  section.greeting {
    width: 80%;
    margin-right: 0;
    padding-top: 5px;
    background: #EBF4D5;
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    height: 225vw;
    min-height: 800px; /*850px*/
    /*transform: translateX(20px);*/
  }
  section.greeting div:nth-of-type(1) {
    display: block;
    position: relative;
    width: 100%;
    height: 50%;
    top: 5px;
    right: 0;
    /*背景色無効*/
    background-color: transparent;
    /*background-color: #ffffff;*/
  }
  /*section.greeting div:nth-of-type(1) p*/
  /*詳細度が影響する（低い）可能性があるためクラス名付与*/
  .greetng_txt {
    width: 100%;
    /*display: inline;*/
    display: inline-block;
    min-height: 100px;
    margin-left: 0;
    padding: 30px 20px 10px 20px;
    font-size: 0.9rem;
    position: absolute;
    top: 160vw; /*checkR*/
  }
  section.greeting div:nth-of-type(2) {
    width: 70%; /*70x90％*/
    height: auto;
    object-fit: cover;
    top: 24vw; /*90px 24vw*/
    left: -2rem;
    z-index: 10;
  }
  section.greeting div:nth-of-type(3) {
    width: 70%; /*70ｘ90*/
    height: auto;
    object-fit: cover;
    top: 93vw; /*350px*/
    left: 2.3rem;
    z-index: 20;
  }
  section.greeting div:nth-of-type(4) {
    width: 60%; /*60ｘ90％*/
    height: 120px;
    object-fit: cover;
    top: 120vw; /*450px*/
    left: -2.5rem; /*30px*/
    z-index: 30;
  }
  section.greeting::after {
    display: inline-block;
    content: "";
    position: absolute;
    top: 161vw; /*600px*/
    left: calc(50% - 2.8rem);
    width: 5rem;
    height: 5rem;
    border-radius: 18px;
    z-index: 50;
  }
  section.greeting div:nth-of-type(2)::before {
    display: none;
    width: 0;
    height: 0;
  }
  section.greeting .h2_span {
    padding-top: 2rem;
    padding-bottom: 0.2rem;
  }
  section.greeting .h3_base {
    display: inline-block;
    width: 60px;
    height: 200px;
    position: absolute;
    top: 0;
    right: 40px;
    text-align: right;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  /*特徴m500*/
  section.features {
    /*width: 90%;*/
    /*width: clamp(300px, 95%, 360px);*/
    width: 90vw;
  }
  .features_flex {
    flex-direction: column;
    /*flex-wrap: wrap;*/
  }
  .features_flex div {
    /*(50-47)X2=6*/
    /*flex-basis: 90%;*/
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
  }
  /*メイン幅で偶数番目の指定があるため上書き*/
  .features_flex div:nth-child(odd) {
    margin: 0 0 20px 0;
    /*margin-left: auto;
    margin-right: auto;*/
  }
  .features_flex div p {
    padding: 5%;
  }
  .features_flex div img {
    /*ブラウザ「幅」で対応*/
    width: 36vw; /*127*/
    height: 32vw; /*117*/
  }
  .treatment_base > span a.button2 > span.btn2wrp {
    display: block;
    width: 5.5em;
    margin: 0 auto;
    padding: 3px 0 0 0;
    text-align: center;
  } /*症例別メニュー*/
  section.case {
    /* width: min(90%, 1200px);*/
    width: 90vw; /*350分の357pxできつめ*/
  }
  .case_flex figure {
    flex-basis: 47%;
    margin-inline-start: 0;
    margin-inline-end: 0;
    /*margin-bottom: 1rem;*/
  }
  .case_flex figure a img {
    /*width: 45vw;
		height:45vw;*/
    width: 100%;
    height: 43vw;
    object-fit: cover;
  }
  .case_flex figure figcaption h4 {
    font-size: 1.5rem;
  }
  .case_flex figure figcaption span {
    font-size: 1em;
    padding-top: 5px;
    line-height: 1.2;
  }
  /*はじめてのかた m500*/
  div.first_visit_base {
    width: 80vw;
  }
  div.fst_visit_img {
    display: block;
    /* width: clamp(200px, 90vw, 370px);*/
    width: 60vw;
    position: absolute;
    bottom: -5vw;
    left: -13vw;
    border-radius: 21px;
  }
  .fst_visit_img::before {
    display: inline-block;
    bottom: -6.5vw;
    right: -6.5vw;
    content: "";
    width: 6rem;
    height: 6rem;
  }
  .fst_visit_tx {
    display: block;
    width: 90%;
    margin-left: auto;
    /*padding-right: 2rem;*/
  }
  /*新着ブログm500*/
  section.cards {
    /*width: min(90%, 370px);*/
    width: 91vw;
    padding: 12vw;
    border-radius: 21px;
    background: #E8E3E0;
  }
  .ctg_01, .ctg_02 {
    display: inline-block;
    text-align: center;
    width: 70px;
    height: 16px;
    font-size: 10px;
    padding: 2px 7px;
  }
  /*地図＆カレンダー*/
  /*カレンダー臨時対応*/
  .calendar {
	 display: none;
	/*width: 100%;
	height: 70vw;
	margin-top: 2rem;*/
}
.calendar iframe{
	height: 70vw;
}
  .calendarfake {
    display: block;
  }
  section.access {
    width: 94vw;
  }
  .access_flex {
    flex-direction: column-reverse;
	  /*justify-content: center;*/
	  /*align-items: center;*/
    padding: 15px;
  }
  .access_flex > div {
    /*padding-top: 0 30px 0 0;*/
    padding-top: 20px;
    width: 90%;
    margin-bottom: 8px;
  }
  /*googleでコード再取得要*/
  .ggmap {
    padding-bottom: 56.25%;
  }
  /*.ggmap iframe {
    width: 100%;
    height: auto;
  }*/
  /*sticky*/
  .sticky {
    /*left: calc(93vw - 100px);*/
    display: none;
    width: 0;
    height: 0;
  }
}