* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

a:focus-visible { outline: 2px solid #ff9900; outline-offset: 2px; }

.logo_yl h1,
.logo_yl .brand-title { display: block; margin: 0; font-size: 28px; font-weight: 700; line-height: 1.25; }

.nav_yl { height: auto; min-height: 42px; }
.nav_yls { height: auto; min-height: 40px; white-space: normal; }
.nav_yls::after { display: table; clear: both; content: ""; }
.nav_yls a { min-height: 40px; }

.news_yl .row,
main.container > .row { margin-left: -15px; margin-right: -15px; }

.n_news_yl,
.Intro,
.r_recomm,
.c_contact,
.l_links,
.d_dynamic,
.r_reco,
.i_information,
.i_information-m { min-width: 0; }

.r_recomm_yl { width: 100%; }
.sl img { display: block; object-fit: cover; }
.sl p { white-space: normal; }
.home-image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 22px auto 0;
  padding: 0;
  align-items: start;
}
.home-image-strip img { display: block; width: 100%; height: auto; object-fit: contain; }
.i_information h1 { margin: 20px 0 10px; font-size: 21px; font-weight: 600; line-height: 1.4; text-align: center; }
.i_information_con { overflow-wrap: anywhere; }
.i_information_con img { height: auto; }
.article-relations a,
.article-relations span { display: block; min-height: 28px; line-height: 28px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { padding: 22px 14px; color: #777; white-space: normal; }
.site-map-list { padding: 10px 15px 20px; }
.site-map-list li { border-bottom: 1px dotted #e4e4e4; line-height: 44px; }

@media (max-width: 767px) {
  .container { width: 100%; padding-left: 12px; padding-right: 12px; }
  .logo_yl { padding: 14px 2px; text-align: center; }
  .logo_yl h1,
  .logo_yl .brand-title { font-size: 25px; }
  .nav_yls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav_yls li { float: none; min-width: 0; text-align: center; }
  .nav_yls a { padding: 2px 8px; line-height: 40px; border-right: 1px solid #222; border-bottom: 1px solid #222; white-space: normal; }
  .news_yl .row,
  main.container > .row { margin-left: 0; margin-right: 0; }
  .news_yl [class*="col-"],
  main.container [class*="col-"] { padding-left: 0; padding-right: 0; }
  .n_news_yl { padding: 0; }
  .n_news_yli > li,
  .Intro_yl > li,
  .r_reco_txt > li { min-height: 44px; line-height: 44px; }
  .sl { width: calc(50% - 15px); }
  .sl img { height: auto; aspect-ratio: 16 / 9; }
  .home-image-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .c_contact_yl > li { width: 100%; min-height: 34px; }
  .l_links_yl > li { width: auto; min-width: 25%; min-height: 34px; }
  .d_dynamic_yl > li { min-height: 48px; line-height: 48px; }
  .r_reco { margin-top: 10px; }
  .breadcrumb { margin: 10px 0; white-space: normal; }
  .i_information { padding: 10px 14px; }
  .i_information h1 { font-size: 22px; }
  .i_information_yl { margin: 8px 0 18px; white-space: normal; }
  .i_information_con { font-size: 17px; line-height: 1.9; }
  .foot_yl { line-height: 1.8; }
}

@media (min-width: 421px) and (max-width: 767px) {
  .nav_yls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
