:is(.home__about, .home__capability, .home__products, .home__network,
.home__contact, .about__lead, .about__column, .about__profile, .feature__column,
.feature__column--reverse, .products__detail, .products__detail--reverse,
.products__list, .products__list--middle, .products__nav, .network__lead, .network__division,
.recruit__message, .recruit__data, .recruit__staff, .recruit__description,
.news__item, .news__body, .network__overlay) {
  overflow-wrap: anywhere;
}
:is(.home__about, .home__capability, .home__products, .home__network,
.home__contact, .about__lead, .about__column, .about__profile, .feature__column,
.feature__column--reverse, .products__detail, .products__detail--reverse,
.products__list, .products__list--middle, .products__nav, .network__lead, .network__division,
.recruit__message, .recruit__data, .recruit__staff, .recruit__description,
.news__item, .news__body, .network__overlay) :is(.container, .container--flex, .container--offset, .container--offset_right) > * {
  min-width: 0;
}
:is(.home__about, .home__capability, .home__products, .home__network,
.home__contact, .about__lead, .about__column, .about__profile, .feature__column,
.feature__column--reverse, .products__detail, .products__detail--reverse,
.products__list, .products__list--middle, .products__nav, .network__lead, .network__division,
.recruit__message, .recruit__data, .recruit__staff, .recruit__description,
.news__item, .news__body, .network__overlay) img {
  max-width: 100%;
  max-height: 800px;
  object-fit: contain;
}

.network__overlay .overlay__body {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
.network__overlay .overlay__body > div:not(.overlay__close) {
  min-width: 0;
  flex-shrink: 1;
}
.network__overlay .overlay__body img {
  height: auto;
  max-height: 70dvh;
  object-fit: contain;
}
.network__overlay .overlay__body iframe {
  max-width: 100%;
}

.network__overlay.recruit__overlay.modal03 .recruit__overlay__flex.has-custom-photo > p:nth-child(2) {
  position: static;
  margin-bottom: 16px;
}

.network__overlay.recruit__overlay .recruit__overlay__flex.has-custom-photo {
  gap: 16px;
}
.network__overlay.recruit__overlay .recruit__overlay__flex.has-custom-photo > p {
  margin-top: 0;
}

.about__table {
  table-layout: fixed;
}

.about__table td {
  overflow-wrap: anywhere;
}

.about__table tr.content-variable td > div[class^=face__] {
  position: static;
  float: right;
  width: min(160px, 30%);
  margin: 0 0 16px 20px;
}
.about__table tr.content-variable td > div[class^=face__] img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.about__table tr.content-variable td::after {
  content: "";
  display: block;
  clear: both;
}

.recruit__staff .container--flex > a > img {
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 640px;
  object-fit: contain;
}

.products__list img, .products__list--middle img {
  max-height: 360px;
  object-fit: contain;
}

.recruit__data img {
  object-fit: contain;
  max-width: 100%;
}

.home__network .container--flex {
  height: auto;
  min-height: 456px;
}

.button--small, .button {
  max-width: 100%;
}

.products__nav .button--small {
  height: auto;
}

.products__nav .button--small span {
  white-space: normal;
}

.recruit__staff .container--flex > a:not(:has(> img)) > span {
  margin-top: 0;
}

.news__item {
  min-width: 0;
}

.news__item :is(strong, p, h2, h3) {
  overflow-wrap: anywhere;
}

.news__body :is(img, iframe, video, table) {
  max-width: 100%;
}

.news__body img {
  height: auto;
}

@media (max-width: 768px) {
  .network__overlay.recruit__overlay .overlay__body {
    padding: 64px 15px 30px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }
  .about__table tr.content-variable td > div[class^=face__] {
    float: none;
    width: min(160px, 100%);
    margin: 16px 0;
  }
  .recruit__staff .container--flex > a > span {
    max-width: 100%;
  }
  .home__network .container--flex {
    min-height: 520px;
  }
}
