@charset "UTF-8";

/* Independently authored content presentation. Shared brand bands are excluded. */
body.site-refreshed > .wrap01 {
  padding-inline: 24px;
}

body.site-refreshed > .wrap01 > .breadcrumb,
body.site-refreshed > .wrap01 > #kaiso {
  margin: 28px 0 0;
  color: #526460;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.site-refreshed > .wrap01 > .breadcrumb:empty {
  display: none;
}

body.site-refreshed > .wrap01 > .breadcrumb a,
body.site-refreshed > .wrap01 > #kaiso a {
  color: #176b68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.site-refreshed .page_title_bg {
  margin: 40px 0 36px;
  color: #183d39;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
  text-align: left;
  padding: 0 0 18px;
  border-bottom: 1px solid #bdd7d2;
}

body.site-refreshed .responsive-wrap,
body.site-refreshed .responsive-article {
  width: 100%;
  max-width: none;
  margin: 0 auto 24px;
  padding: 0;
  clear: both;
  overflow: visible;
  color: #273d39;
  font-size: 16px;
  line-height: 1.9;
}

body.site-refreshed .responsive-article::after {
  display: block;
  clear: both;
  content: "";
}

body.site-refreshed .responsive-wrap > ul,
body.site-refreshed .responsive-article > ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-refreshed .responsive-wrap > ul,
body.site-refreshed .responsive-article > ul:is(.single, .second, .third, .fourth, .double_left, .double_right) {
  display: grid;
  gap: 24px;
  align-items: start;
}

body.site-refreshed .responsive-wrap > ul:is(.triple, .third),
body.site-refreshed .responsive-article > ul.third {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.site-refreshed .responsive-wrap > ul:is(.double, .second),
body.site-refreshed .responsive-article > ul:is(.second, .double_left, .double_right) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.site-refreshed .responsive-article > ul.fourth {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.site-refreshed .responsive-wrap > ul > li,
body.site-refreshed .responsive-article > ul > li,
body.site-refreshed .responsive-article > ul > li:nth-child(n) {
  float: none;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

body.site-refreshed .responsive-wrap > ul > li {
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e4e0;
}

body.site-refreshed .responsive-wrap h3.inner-tit {
  order: 1;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
  color: #183d39;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.65;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

body.site-refreshed .responsive-wrap p.inner-txt {
  order: 2;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  white-space: normal;
}

body.site-refreshed .responsive-wrap .img-box {
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf2ef;
}

body.site-refreshed .responsive-wrap .img-box > a {
  display: block;
  width: 100%;
  height: 100%;
}

body.site-refreshed .responsive-wrap .img-box img {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  transform: none;
  object-fit: cover;
  transition: opacity .2s ease;
}

body.site-refreshed .responsive-article .img-box {
  position: static;
  max-height: none;
  padding: 0;
  overflow: visible;
}

body.site-refreshed .responsive-article .itemImage,
body.site-refreshed .responsive-article a[data-photo-group] {
  display: block;
}

body.site-refreshed .responsive-article .itemImage img,
body.site-refreshed .responsive-article .img-box img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  max-height: 620px;
  margin: 0;
  padding: 0;
  transform: none;
  object-fit: contain;
}

body.site-refreshed .responsive-article ul.single .itemImage img {
  max-height: 700px;
}

body.site-refreshed .responsive-article ul:is(.third, .fourth) .itemImage img {
  max-height: 360px;
}

body.site-refreshed .responsive-article img:hover {
  opacity: 1;
}

body.site-refreshed .responsive-article a[data-photo-group] {
  cursor: zoom-in;
}

body.site-refreshed .responsive-article a[data-photo-group]:hover img {
  opacity: .88;
}

body.site-refreshed .responsive-article p {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

body.site-refreshed .responsive-article .itemText {
  line-height: 1.9;
  overflow-wrap: anywhere;
}

body.site-refreshed .responsive-article .itemText a {
  color: #126e69;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.site-refreshed .responsive-article .h3-tit {
  margin: 32px 0 20px;
  padding: 0 0 12px;
  color: #183d39;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  border-bottom: 1px solid #bdd7d2;
}

body.site-refreshed > .wrap01 > .section-border {
  height: 1px;
  margin: 30px 0;
  padding: 0;
  border: 0;
  background: #d9e4e0;
  clear: both;
}

body.site-refreshed > .wrap01 > .page_title_bg + .section-border,
body.site-refreshed > .wrap01 > .section-border:last-child {
  display: none;
}

body.site-refreshed .case-detail-flow {
  width: 100%;
  margin: 0;
}

body.site-refreshed .case-contact-link {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}

body.site-refreshed .case-contact-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid #176b68;
  background: #fff;
  color: #176b68;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

body.site-refreshed .case-contact-link a:hover {
  background: #edf7f4;
}

body.site-refreshed .responsive-article a:focus-visible,
body.site-refreshed .responsive-wrap a:focus-visible,
body.site-refreshed .case-contact-link a:focus-visible {
  outline: 3px solid #088f8f;
  outline-offset: 4px;
}

body.site-refreshed .responsive-article li:has(> a[href=""] img[src=""]):not(:has(.itemText)) {
  display: none;
}

body.site-refreshed .page-nation,
body.site-refreshed .pagenation-bottom {
  margin: 28px 0;
  width: 100%;
  max-width: none;
}

body.site-refreshed .page-nation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-refreshed .page-nation li {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #c6d8d2;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border: 0;
  background: #101c1bed;
  color: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  box-sizing: border-box;
}

.photo-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-viewer::backdrop {
  background: #101c1b;
}

.photo-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 16px;
  min-height: 44px;
}

.photo-viewer__counter {
  min-width: 60px;
  margin: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.photo-viewer__button {
  display: inline-flex;
  min-width: 48px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #ffffff75;
  border-radius: 2px;
  background: #152825;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.photo-viewer__button:hover {
  background: #24594f;
}

.photo-viewer__button:focus-visible,
.photo-viewer__original:focus-visible {
  outline: 3px solid #78d3c3;
  outline-offset: 3px;
}

.photo-viewer__stage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.photo-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
}

.photo-viewer__image[hidden],
.photo-viewer__button[hidden],
.photo-viewer__status[hidden] {
  display: none;
}

.photo-viewer__status {
  margin: 0;
  color: #e1efea;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.photo-viewer__caption {
  flex: 0 0 auto;
  max-height: 18vh;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  overflow-y: auto;
  overflow-wrap: anywhere;
}

.photo-viewer__bottom {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.photo-viewer__original {
  margin-inline: 8px;
  padding: 8px 2px;
  color: #d9f0e9;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  body.site-refreshed > .wrap01 {
    padding-inline: 18px;
  }

  body.site-refreshed .page_title_bg {
    margin: 28px 0;
    padding-bottom: 14px;
    font-size: 27px;
  }

  body.site-refreshed .responsive-wrap,
  body.site-refreshed .responsive-article {
    margin-bottom: 18px;
  }

  body.site-refreshed .responsive-wrap > ul,
  body.site-refreshed .responsive-article > ul:is(.third, .fourth) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  body.site-refreshed .responsive-article > ul:is(.second, .double_left, .double_right) {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body.site-refreshed .responsive-wrap h3.inner-tit {
    margin-top: 10px;
    font-size: 17px;
  }

  body.site-refreshed .responsive-article ul.single .itemImage img {
    max-height: 560px;
  }

  body.site-refreshed .case-contact-link {
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  body.site-refreshed > .wrap01 > .section-border {
    margin: 24px 0;
  }

  /* Separate caption rows must keep the same columns as their photo rows. */
  body.site-refreshed:has(.responsive-article > ul.third .itemText) .responsive-article > ul.third {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }

  body.site-refreshed:has(.responsive-article > ul.third .itemText) .responsive-article > ul.third p {
    font-size: 12px;
    line-height: 1.7;
  }

  /* Staff profiles contain old inline type sizes; normalize only their text. */
  body.site-refreshed:has(.responsive-article > ul.third .itemText) .responsive-article > ul.double_left .itemText {
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.site-refreshed:has(.responsive-article > ul.third .itemText) .responsive-article > ul.double_left .itemText [style*="font-size"] {
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-refreshed .responsive-wrap a,
  body.site-refreshed .responsive-article a,
  body.site-refreshed .responsive-wrap img,
  body.site-refreshed .responsive-article img {
    transition: none;
  }
}
