@charset "utf-8";
/* 480px以上は写さない */
@media (min-width: 480px) {
  .sp-only {
    display: none !important;
  }
}
/* 960px以上は写さない */
@media (min-width: 960px) {
  .tb-only {
    display: none !important;
  }
}

/* 1280px以下に適用されるCSS（スクエアモニター用） */
@media screen and (max-width: 1280px) {
  .header-left {
    width: 17%;
  }
  .header-right {
    width: 83%;
  }
  .fea-img.fea-img05::after {
    width: 160px;
    height: 160px;
  }
  #index-info .btm::after {
    width: 135px;
    height: 130px;
  }
  #index-info .btm::before {
    width: 100px;
    height: 100px;
  }
  .accordion-001 {
    max-width: 1000px;
  }
  #index-recruit .img::after {
    width: 190px;
    height: 190px;
  }
  #receuit .bg-beige {
    max-width: 1000px;
  }
}

/* 960px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 960px) {
  .header-right .block {
    font-size: 16px;
    width: 37%;
  }
  #index-info .top::after {
    width: 140px;
    height: 140px;
  }
  .index-ttl {
    font-size: 34px;
  }
  .index-ttl span::before,
  .fea-ttl span::before {
    width: 75px;
    height: 70px;
  }
  .time-table {
    width: 100%;
  }
  .accordion-001 {
    max-width: 780px;
  }
  .accordion-001 summary {
    font-size: 26px;
  }
  .calendar iframe {
    width: 100%;
  }
  #greeting .index-ttl {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .doc-name {
    bottom: 43%;
    transform: translate(50%, 50%);
  }
  .doc-name .ja {
    font-size: 25px;
  }
  .doc-name .en {
    font-size: 18px;
  }
  .fea-item {
    flex-direction: column;
  }
  .fea-item .flex-2 {
    width: 100%;
    margin-bottom: 70px;
  }
  .fea-img::after {
    right: 7%;
  }
  .fea-img.fea-img02::after {
    left: 4%;
  }
  #index-feature .wrap {
    width: 90%;
  }
  .fea03::after,
  .fea03::before {
    width: 120px;
    height: 115px;
  }
  .fea-btm .flex {
    flex-direction: column;
  }
  .fea-btm .flex-2 {
    width: 100%;
  }
  .med-ttl {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .med-ttl span {
    font-size: 18px;
  }
  .medical-list li {
    width: 31%;
    margin-bottom: 20px;
  }
  #index-recruit .img::after {
    width: 140px;
    height: 140px;
  }
  .foot-top .wrap {
    width: 90%;
  }
  #mainvisual {
    height: 43vh;
  }
  .sec-ttl::before {
    height: 300px;
  }
  #doctor .ttl {
    font-size: 22px;
  }
  #doctor .bg-beige {
    max-width: 700px;
  }
  .fee-item {
    width: 100%;
  }
  #information .img {
    width: 90%;
    margin: 0 auto;
  }
  #access .bg-beige,
  #receuit .bg-beige {
    max-width: 700px;
  }
  #facility .flex-3 {
    margin-left: 15px;
  }
  #facility .flex-3 p {
    height: 210px;
  }
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
  .pc-only {
    display: none !important;
  }
  #header {
    transform: none;
    left: 0;
  }
  #header .header-left {
    width: 50%;
  }
  .header-right {
    display: none !important;
  }
  .sp-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: fixed;
  }
  .nav_wrapper {
    position: fixed;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    bottom: 0;
  }
  .nav_wrapper div:first-child {
    border-left: 1px solid #f3f3f3;
  }
  .nav_wrapper div {
    width: 25%;
    display: flex;
    background: #8d2d09;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f3f3f3;
    border-top: 1px solid #f3f3f3;
  }
  .nav_wrapper a {
    padding: 10px;
  }
  #page_top {
    display: none !important;
  }
  .flex {
    flex-direction: column;
  }
  .flex-2,
  .flex-3 {
    width: 100%;
    margin-bottom: 30px;
  }
  .cp {
    width: 100%;
  }
  .mv-list .circle {
    font-size: 18px;
    width: 150px;
  }
  .mv-list .circle::after {
    width: 150px;
    height: 150px;
  }

  .news-item-single {
    display: block;
    align-items: flex-start;
    margin-bottom: 24px;
    margin-left: 5px;
  }

  #index-info .top::after {
    width: 100px;
    height: 100px;
  }
  .index-ttl {
    font-size: 30px;
  }
  .index-ttl span::before,
  .fea-ttl span::before {
    left: -15px;
  }
  #first-time {
    padding-top: 90px;
    width: 90%;
    margin: 0 auto;
  }
  .accordion-001 summary {
    font-size: 22px;
  }
  .accordion-001 {
    max-width: 350px;
  }
  #greeting {
    padding: 100px 0;
  }
  #greeting::after {
    width: 140px;
  }
  .wrap {
    width: 90%;
  }
  #greeting::before {
    width: 120px;
  }
  .doc-name {
    bottom: -20%;
  }
  .doc-name::after {
    width: 230px;
  }
  #index-feature .index-ttl .en {
    font-size: 55px;
  }
  #index-feature .index-ttl .ja {
    font-size: 23px;
  }
  #index-feature .index-ttl::before,
  #index-feature .index-ttl::after {
    width: 90px;
    height: 90px;
  }
  #index-feature .wrap {
    margin-top: 40px;
  }
  .fea-img::after,
  .fea-img.fea-img02::after {
    width: 90px;
    height: 85px;
  }
  .fea-ttl .en {
    font-size: 50px;
  }
  .fea-ttl {
    font-size: 22px;
  }
  .fea-item {
    margin-bottom: 0;
  }
  .fea03::after,
  .fea03::before {
    width: 80px;
    height: 85px;
  }
  .fea03::after {
    top: -60px;
  }
  .fea03::before {
    top: 30%;
  }
  .fea-img.fea-img04::after {
    width: 90px;
    height: 90px;
    right: 90%;
  }
  .fea-btm .txtbox {
    padding-top: 55px;
  }
  .fea-img.fea-img05::after {
    width: 95px;
    height: 95px;
    right: 12%;
  }
  #index-medical {
    margin-top: 95px;
  }
  #index-medical .index-ttl {
    margin-bottom: 55px;
  }
  #index-medical .index-ttl .en {
    font-size: 55px;
  }
  #index-medical .index-ttl .ja {
    font-size: 23px;
  }
  .med-item .more {
    margin: 30px auto 0;
  }
  .medical-btm {
    padding: 50px 0;
  }
  .medical-list li {
    width: 48%;
  }
  .medical-list a {
    padding: 20px 0;
  }
  .medical-list .ja {
    font-size: 18px;
    margin-top: 8px;
  }
  .d-demo__item {
    width: calc(240vw / 6);
  }
  #index-recruit {
    margin-bottom: 110px;
  }
  #index-recruit .index-ttl .en {
    font-size: 40px;
  }
  #index-recruit .index-ttl .ja {
    font-size: 20px;
  }
  #index-recruit .wrap::before {
    width: 100%;
    height: 101%;
  }
  #index-recruit .img::after {
    width: 100px;
    height: 100px;
    bottom: 2%;
    right: 9%;
  }
  #footer {
    margin-top: 200px;
  }
  #footer::before {
    height: 150px;
    top: -125px;
  }
  .foot-top .left,
  .foot-top .right {
    width: 100%;
  }
  .table-txt {
    width: 100%;
    margin-bottom: 25px;
  }
  .copyright {
    padding: 20px 0 85px;
  }

  /*  ここから下層ページ　　 */
  .page-ttl {
    width: 100%;
  }
  .page-ttl .en {
    font-size: 50px;
  }
  .page-ttl .ja {
    font-size: 25px;
  }
  .sec-ttl {
    font-size: 25px;
    margin-bottom: 55px;
  }
  .sec-ttl::before {
    width: 260px;
    height: 160px;
  }
  .sec-ttl::after {
    width: 100px;
  }
  .feature01::before,
  .feature02::before,
  .feature03::before,
  .feature04::before,
  .feature05::before {
    width: 90px;
  }
  .section {
    padding-top: 80px;
  }
  #facility .flex-3 {
    margin-left: 0;
  }
  #facility .btm .ttl {
    padding: 15px;
    margin-bottom: 40px;
    font-size: 18px;
  }
  #facility .btm .item {
    margin-bottom: 40px;
  }
  .flow-item {
    padding: 30px 3%;
  }
  #flow .flow-item .ttl {
    font-size: 20px;
    margin-bottom: 15px;
  }
  #flow .flow-item .ttl .en {
    font-size: 32px;
  }
  #doctor .bg-beige {
    max-width: 380px;
  }
  .skill dt {
    width: 140px;
  }
  .skill dd {
    width: calc(100% - 140px);
  }
  .bg-beige {
    padding: 30px 2%;
  }
  #access .bg-beige,
  #receuit .bg-beige {
    max-width: 380px;
  }
  #access .bg-beige .ttl {
    font-size: 17px;
  }
  #receuit p {
    font-size: 22px;
    padding: 70px 0;
  }
  .m-ttl {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .medical .flex {
    margin-bottom: 40px;
  }
  .medical .bg-beige .item h4.j {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .medical .bg-beige .item {
    margin-bottom: 30px;
  }
  .medical ul {
    margin: 20px auto;
  }
  .medical ul li {
    margin-bottom: 10px;
  }
  #facility .flex-3 p {
    height: auto;
  }
}
