@charset "UTF-8";

/* =========================================================
   手修正用CSS（custom.css）
   - 全ページで、style.css / home.css / lower.css の後に読み込まれる
   - lower.css・page-*.php は生成物（build/php_export.py）のため、見た目の微調整はここに書く
   - コメントは任意（追加分はアップロード前の比較で Claude が把握する）
   - 定期的に Claude 側で生成元へ取り込み、ここは空に戻す
   ========================================================= */

/* 2026-10-15 手修正（style.css / home.css の指定から移植）
   元の CSS でタブレット・スマホ用に別の値がある指定は、元と同じ画面幅だけに効かせる */

/* トップ：お知らせの「一覧はこちら」（全幅） */
.hp-topics__more {
  padding-top: 0
}

.hp-topics__more .svg-art {
  top: 0
}

/* 診療時間の枠（1200px 以上。それ以下は style.css のタブレット・スマホ用の指定） */
@media (min-width:1200px) {
  .hours {
    padding-top: 22px
  }
}

/* トップ：見出しの黄色い下線（768px 以上。スマホは home.css の指定） */
@media (min-width:768px) {
  .hp-intro__body h3 span {
    background-position: 14px 25px;
    background-size: 170px 6px
  }
}

/* トップ：バナー上の余白・診療案内の高さ（1240px 以上。それ以下は home.css の指定） */
@media (min-width:1240px) {
  .hp-banner {
    padding-top: 145px
  }

  .hp-medical {
    height: 1440px
  }
}

.note.note--mint-text:before {
  background: #09a89a;
}

.eqb__point .h5 {
  color: #a08a52;
}

.page-body--orthopedics .intro .hero-tags a:hover {
  opacity: 0.7;
}

.prof-card__head p:nth-of-type(3) {
  margin-bottom: 20px;
}

.prof-card__head p:nth-of-type(3) span {
  font-size: 17px;
}

.flow__item.card--beige {
  box-shadow: 0 0 0 3px #efead5;
}

.flow__item.card--beige svg {
  stroke: #a08a52;
}

.card--beige .dots--b li::before {
  background: #d8c372;
}

.wake .card img {
  border-radius: 10px;
}

.sec-hospitalization .night__item--day .h5 {
  font-size: 20px;
  color: #995f19;
}

.sec-hospitalization .night__item--night .h5 {
  font-size: 20px;
  color: #385a82;
}

.sec-hospitalization .night__item--morning .h5 {
  font-size: 20px;
  color: #8a4827;
}

.card--beige svg {
  stroke: #a08a52;
}

.page-body--doctors .sec-flow .flow__item.is-last .h5 {
  color: #a08a52;
}


@media (max-width: 767px) {

  .header-left .brand,
  .header-left .brand-logo {
    width: 290px;
  }

  .hp-topics__list a {
    align-items: unset;
  }

  .hp-tag {
    width: 120px;
    height: 25px;
    font-size: 13px;
  }

  .hp-intro {
    margin-top: 55px;
  }

  .hp-intro__illust {
    left: 53%;
  }

  .hp-medical__deco {
    right: -100px;
    width: 310px;
  }

  .hp-medical__cards {
    gap: 8px;
  }

  .hp-card {
    height: 255px;
  }

  .hp-card--light {
    height: 255px;
  }

  .hp-card--3 .hp-card__icon {
    width: 42px !important;
    top: 16px !important;
  }

  .hp-card--4 .hp-card__icon {
    width: 55px !important;
  }

  .hp-card--5 .hp-card__icon {
    width: 70px !important;
  }

  .hp-card--6 .hp-card__icon {
    width: 80px !important;
  }

  .hp-card--3 h4 {
    top: 78px;
  }

  .hp-card small {
    top: 122px;
  }

  .hp-card--3 small {
    top: 126px;
  }

  .hp-card p {
    top: 155px;
  }

  .hp-card--3 p {
    top: 145px;
  }

  .hp-medical {
    margin-bottom: 50px;
  }

  .hp-future__hand {
    top: 80px;
    right: -43px;
    width: 150px;
  }

  .hp-future__cat {
    left: -35px;
  }

  .hp-heading--future {
    justify-content: end;
    top: -20px !important;
  }

  .hp-feature {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  article.hp-feature:nth-of-type(3) {
    margin-bottom: 30px;
  }

  .hp-feature__links {
    gap: 10px;
  }

  .hp-heading--doctor {
    margin: 60px 0 0 16px;
  }

  .mobile-nav .dropdown-menu a {
    height: 70px;
  }

  .mobile-nav .home-link,
  .mobile-nav .nav-item>a,
  .mobile-accordion-toggle {
    min-height: 70px;
  }

  .page-title h1 {
    font-size: 25px;
  }

  .site-header {
    z-index: 100;
  }

  .page-title {
    top: 140px;
  }
  .mobile-nav {
    z-index: 101;
  }
  .page-id-11 .page-title, .page-id-13 .page-title {
        top: 128px;
    }
}