/* AYATA / 症状別ページのモックアップ、ナビゲーション項目の追加対応 */
/* Only layout changes; the existing global stylesheet and previous fixes remain untouched. */
@media (min-width: 1200px) {
  /* The eighth navigation entry must not push past the right edge. */
  .custom-navbar .navbar-nav { margin-left: 18px; }
  .custom-navbar .nav li a { padding-left: 10px; padding-right: 10px; font-size: 14px; }
}
/* Expanded hamburger threshold: eight entries cannot reliably fit at desktop-tablet widths. */
@media (min-width: 992px) and (max-width: 1199px) {
  .custom-navbar { background: #fff; padding: 5px 0; box-shadow: 0 1px 8px rgba(0,0,0,.12); }
  .custom-navbar .navbar-header { float: none; }
  .custom-navbar .navbar-toggle { display: block; float: right; margin-right: 15px; }
  .custom-navbar .navbar-brand,
  .custom-navbar.top-nav-collapse .navbar-brand { color: #202020; }
  .custom-navbar .navbar-collapse { clear: both; border-top: 1px solid #eee; max-height: calc(100vh - 65px); overflow-y: auto !important; }
  .custom-navbar .navbar-collapse.collapse { display: none !important; }
  .custom-navbar .navbar-collapse.collapse.in { display: block !important; }
  .custom-navbar .navbar-nav { float: none !important; margin: 0; }
  .custom-navbar .navbar-nav > li { float: none; }
  .custom-navbar .nav li a,
  .custom-navbar.top-nav-collapse .nav li a { color: #252525; padding: 11px 15px; }
}
/* Mock-up styling is isolated from other pages. */
.ayata-mockup-notice { font-size: 12px; padding: 9px 14px; background: #f4f4f4; color: #555; text-align: center; border-bottom: 1px solid #ddd; }
.ayata-symptoms-index #home .home-info { max-width: 830px; }
.ayata-symptoms-index #home .home-info h1 { font-size: clamp(25px, 3vw, 36px) !important; color: #fff !important; font-weight: 500 !important; letter-spacing: .08em !important; line-height: 1.45; text-shadow: 0 0 10px #176675; }
.ayata-symptoms-index #home .home-info h2 { font-size: clamp(17px, 2vw, 24px); line-height: 1.6; }
.ayata-symptoms-index #home .home-info p { letter-spacing: .04em; line-height: 1.9; }
.ayata-symptom-summary { padding-top: 65px; padding-bottom: 65px; }
.ayata-symptom-summary .section-title h2 { text-align: left; margin-bottom: 20px; }
.ayata-symptom-summary.box2 .section-title h2 { text-align: right; }
.ayata-symptom-summary .ayata-symptom-text { padding: 18px 0 0; font-size: 16px; line-height: 2; }
.ayata-symptom-summary .ayata-symptom-image { display: block; max-width: 100%; width: 100%; max-height: 270px; object-fit: contain; margin: auto; }
.ayata-symptom-summary .ayata-symptom-image-label { text-align: center; margin: 8px 0 0; font-size: 12px; color: #6c7378; }
.ayata-symptom-summary .ayata-symptom-link { margin-top: 22px; }
.ayata-symptom-mainlink { margin-left: 10px; }
.ayata-symptom-breadcrumb { font-size: 13px; margin: 14px auto 0; line-height: 1.7; text-align: left; }
.ayata-symptom-breadcrumb a { text-decoration: underline; }
.ayata-symptom-detail .annai .ayata-symptom-article { max-width: 820px; margin: 0 auto; padding: 0 15px; text-align: left; }
.ayata-symptom-detail .annai .ayata-symptom-article h2 { font-size: 23px; letter-spacing: .06em; margin: 0 0 20px; text-align: left; line-height: 1.5; }
.ayata-symptom-detail .annai .ayata-symptom-article p { font-size: 15px; line-height: 2; text-align: left; margin: 0 0 12px; }
.ayata-symptom-detail .annai .ayata-symptom-article ul { padding-left: 22px; line-height: 2; text-align: left; }
.ayata-symptom-detail .annai .ayata-symptom-article .ayata-symptom-action { margin-top: 20px; }
.ayata-symptom-detail .annai.ayata-symptom-muted { background: #f4f8f8; }
.ayata-symptom-detail #home .sub-home { max-width: 940px; }
@media (max-width: 767px) {
  .ayata-symptom-summary .section-title h2,
  .ayata-symptom-summary.box2 .section-title h2 { text-align: center; }
  .ayata-symptom-summary .ayata-symptom-image { max-height: 220px; }
  .ayata-symptom-mainlink { display: block; margin: 10px 0 0; }
  .ayata-symptom-detail .annai .ayata-symptom-article h2 { font-size: 20px; }
}
