@charset "UTF-8";

/* ************************************************************************************************
   1600px以上 / デスクトップPC
   ************************************************************************************************ */
@media screen and (min-width: 1600px) {}


/* ************************************************************************************************
   1024px
   ************************************************************************************************ */
@media screen and (max-width: 1023px) {

  /***** 共通@1024px *****/

}


/* ************************************************************************************************
   960px
   ************************************************************************************************ */
@media screen and (max-width: 959px) {

  /***** 共通 @960px *****/
  h2 {
    font-size: 3rem;
  }

  h4 {
    font-size: 2.3rem;
  }

  .btn1,
  .btn2,
  .nav-previous,
  nav-next {
    font-size: 1.5rem;
  }

  .container--wide {
    width: 100%;
    margin-inline: auto;
    padding: 0 3%;
  }

  .container {
    width: 100%;
    margin-inline: auto;
    padding: 0 3%;
  }

  .index__ttl {
    margin-bottom: 6rem;
  }

  .contents-btn a {
    min-width: 180px;
    padding: .5rem 1rem;
  }

  .reserve-buttons a {
    min-width: 180px;
    padding: 1.5rem 1rem;
  }


  /***** ヘッダー @960px *****/
  header {
    height: 60px;
  }

  .header__container {
    height: 60px;
  }

  .header-nav {
    display: none;
  }

  #nav-drawer {
    display: block;
  }


  /***** フッター @960px *****/
  .access__contents {
    grid-template-columns: 1fr;
  }

  .access__item {
    margin-top: 3rem;
    text-align: center;
  }

  .access__ttl {
    margin-bottom: 3rem;
  }

  .access__txt {
    margin-bottom: 2rem;
  }

  .access__tel {
    margin-top: 4rem;
  }

  /***** 下層ページヘッダー @960px *****/
  .header-sub {
    height: 50vh;
  }

  .header-sub__item {
    padding-top: 4rem;
  }

  .header-sub__ttl {
    margin-bottom: 1rem;
  }


  /***** トップページ @960px *****/
  /* メインインフォメーション */
  .main-info__contents {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-info__img {
    height: 300px;
  }
  .main-info__img img {
    border-radius: 12px 12px 0 0;
  }

  .main-info__desc {
    width: auto;
    margin-top: 0;
  }

  /* ごあいさつ */
  .message__contents {
    flex-direction: column;
    align-items: flex-start;
  }
  .message__img {
    width: 45%;
  }
  .message__desc {
    width: 100%;
  }

  /* ボックスインフォメーション */
  .box-info__contents {
    grid-template-columns: 1fr;
  }

  .box-info__item:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--color-main);
  }

  /* 採用情報 */
  .recruit__contents {
    grid-template-columns: 1fr;
  }

  /***** 下層ページ @960px *****/
  /* 医院情報 */
  .page-message__contents {
    flex-direction: column;
    justify-content: flex-start;
  }

  .page-message__desc {
    width: 100%;
  }

  .page-message__img {
    width: 45%;
  }

  .page-overview__contents {
    flex-direction: column;
    justify-content: flex-start;
  }

  .page-overview__desc {
    width: 100%;
  }

  .page-overview__images {
    width: 100%;
  }

  .page-overview__schedule {
    flex-direction: column;
    justify-content: flex-start;
  }

  .page-overview__schedule .reserve-buttons {
    width: 100%;
  }

  .page-overview__access {
    flex-direction: column-reverse;
    justify-content: flex-start;
  }

  .page-overview__access-desc {
    width: 100%;
  }

  .page-overview__access-desc .access__map {
    flex: 1;
  }

  .page-overview__access-img {
    width: 100%;
  }

  .page-corporation__contents {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-corporation__img {
    margin-left: auto;
  }

  .page-corporation__desc {
    width: 100%;
  }

  .page-corporation__list-item {
    flex-direction: column;
  }

  .page-corporation__list-desc {
    width: 100%;
  }

  .page-corporation__list-schedule {
    width: 100%;
  }

  .page-corporation .clinic-schedule th:first-child {
    font-size: 1.1rem;
  }

  .page-treatments .price-table--scroll {
    width: 100%;
    overflow-x: auto;

    .price-table {
      width: 100%;
      min-width: 800px;
    }
  }

  /****** 個別投稿ページ（single.php）@960px *****/
  .single-post .container {
    flex-direction: column;
  }

  .single-post__contents {
    width: 100%;
  }

  ul.side-widget-area {
    width: 100%;
  }


  /***** お問い合わせフォーム　@960pc *****/
  .entry {
    margin: 0 0 4rem;
  }

  .wpcf7 form {
    width: 80%;
  }

}

/* ************************************************************************************************
   768px
   ************************************************************************************************ */
@media screen and (max-width: 768px) {
  /***** フッター @768px *****/
  .access {
    padding: clamp(6rem, 8vw, 12rem) 0 120px;
  }

  /* ページトップボタン */
  #page_top {
    width: 50px;
    height: 50px;
    bottom: 11rem;
  }

  /* CTAボタン */
  .floating-buttons {
    inset: auto 0 0 0;
    transform: translateX(0);
    flex-direction: row;
    flex-wrap: wrap;
  }

  .floating-button {
    width: 50%;
    justify-content: center;
    padding-right: 0;
  }

  .floating-buttons .floating-button:only-child {
    width: 100%;
  }

  .floating-button .material-symbols-outlined {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .floating-button:nth-child(1) {
    border-right: 1px solid #fff;
  }

  .floating-button:nth-child(3) {
    width: 100%;
    border-top: 1px solid #fff;
  }
}


/* ************************************************************************************************
   560px / スマホ
   ************************************************************************************************ */
@media screen and (max-width: 559px) {

  /***** 共通 @560px*****/
  h2 {
    font-size: 2.6rem;
  }

  h3 {
    font-size: 2.4rem;
  }

  h4 {
    font-size: 2rem;
  }

  h5 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.2rem;
  }

  a {
    font-size: 1.2rem;
  }

  img {
    max-width: 100%;
  }

  /* .container {
    padding: 0 5%;
  } */

  .br_sp {
    display: block;
  }

  .br_pc {
    display: none;
  }

  .sub__line {
    margin: 1rem auto 2rem;
  }

  /* ボタン */
  .btn1,
  .btn2,
  .nav-previous,
  .nav-next {
    font-size: 1.3rem;
    width: 171px;
    height: 45px;
    line-height: 45px;
  }
  
  .index__ttl {
    margin-bottom: 4rem;
  }


  /***** ヘッダー @560px*****/
  #nav-content {
    width: 60% !important;
  }

  .header-sp__list .menu-item a {
    font-size: 1.4rem;
  }

  .sub-menu .menu-item a {
    font-size: 1.2rem;
  }


  .header-sp__item {
    font-size: 1.2rem;
  }

  /***** フッター @560px *****/
   .access__contents {
    padding: 3rem 1rem;
  }

  .access__item {
    margin-top: 3rem;
  }

  .access__ttl {
    margin-bottom: 2rem;
  }

  .access__txt {
    margin-bottom: 2rem;
  }

  .access__tel {
    margin-top: 3rem;
  }

  small {
    font-size: 1.1rem;
  }

  /****** トップページ@560px *****/
  .header-main__container::after {
    font-size: 12vw;
  }

  .header-main__catch {
    bottom: 20%;
  }

  .index__title .en {
    margin-bottom: -2rem;
  }

  /****** 下層ページ@560px *****/
  .contents__title .en {
    margin-bottom: -3rem;
  }
  
  .page-background--full {
    height: 40vh;
  }

  /* 医院情報 */
  .page-overview__access-desc {
    flex-direction: column;
  }

  .page-overview__table th,
  .page-overview__table td {
    display: block;
    padding: 2rem 1rem;
  }

  /* 診療内容 */
  .page-treatments__contents {
    grid-template-columns: 1fr;
  }

  .page-treatments .price-table {

    th,
    td {
      display: block;
    }

    th:first-child {
      width: 100%;
    }
  }

  .page-treatments__box {
    grid-template-columns: 1fr;
  }

  .page-treatments__box-item {
    padding: 2rem;
  }

  .page-treatments__step-inner {
    padding: 2rem;
  }

  .page-treatments__step li {
    flex-direction: column;
  }

  .page-treatments__step li::before {
    padding: 1.5rem 2rem;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
  }

  .page-treatments .price-table--scroll {
    .price-table {

      th,
      td {
        display: table-cell;
      }

      th:first-child {
        width: 40%;
      }
    }
  }

  /* よくある質問 */
  .faq-list__item--question {
    padding: 1.5rem;
  }
  .faq-list__item--answer {
    padding: 1.5rem;
  }

  .faq-list__item--question .faq-plus {
    min-width: 15px;
    min-height: 15px;
  }

  /* 採用情報 */
  .page-recruit__table {

    th,
    td {
      display: block;
      padding: 2rem 1rem;
    }

    th:first-child {
      width: 100%;
    }
  }


  /***** 新着情報一覧ページ（index.php）@560px *****/
  .news02 {
    margin: 0 0 3rem;
  }

  .news02__post {
    width: 90%;
    margin: 0 auto 4rem;
  }

  .news02__blog_info {
    font-size: 1.1rem;
  }

  .category__ttl a {
    font-size: 2.6rem;
  }


  /***** 個別投稿ページ（single.php）@560px *****/
  .single02 {
    margin: 0 0 3rem;
  }

  .single02__contents {
    width: 100%;
    margin: 2rem auto 4rem;
  }

  .single__line {
    margin: 4rem auto 3rem;
  }

  .footer__widget {
    display: block;
  }

  .widget-area {
    width: 100%;
    margin-bottom: 3rem;
  }

  .footer__widget h5 {
    font-weight: bold;
  }

  .footer__widget li {
    font-size: 1.2rem;
  }


  /***** お問い合わせフォーム @560px *****/
  .entry {
    margin: 0 0 3rem;
  }

  .wpcf7 form {
    width: 95%;
  }

  input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-required.wpcf7-validates-as-number.smallform {
    width: 18%;
  }

  .wpcf7 .wpcf7-submit {
    margin: 5rem auto 0;
  }


}


/* ************************************************************************************************
   320px / スマホ
   ************************************************************************************************ */
@media screen and (max-width: 319px) {

  /***** 共通 @320px*****/
  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.1rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.2rem;
  }


  /**** フッター @320px *****/
  .access__contents iframe {
    height: 40vh;
  }

  .access__tel {
    font-size: 2.2rem;
  }


  /***** menu.html @320px *****/
  .menu03__item {
    width: 280px;
    height: 280px;
    padding: 2rem;
  }


  /***** recruit.html @320px *****/
  .recruit03__table {
    width: 90%;
  }


}