@charset "utf-8";
/*
Theme Name: NANO child
Template:nano_tcd065
Author:VS
Version:1.1.45
*/

/*
  ここから下にCSSを追記してください。
*/

/* Service archive: Price-style layout with editable image cards. */
body.post-type-archive-company .service-index-sidebar #js-list>.p-list__item>a {
  border-left: 4px solid #cbd5f2;
}

body.post-type-archive-company .service-index-sidebar #js-list>.p-list__item>a::before {
  display: none;
}

body.post-type-archive-company .service-index-sidebar #js-list>.p-list__item>a:hover,
body.post-type-archive-company .service-index-sidebar #js-list>.p-list__item>a:focus-visible {
  border-left-color: #5273cf;
}

.service-index {
  --service-navy: #071d72;
  --service-blue: #173dad;
  --service-mid-blue: #5273cf;
  --service-pale: #f2f5ff;
  --service-border: #d9def1;
  color: #1c2540;
}

.service-index__intro {
  margin: 0 0 34px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--service-border);
  background: transparent;
}

.service-index__intro h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 15px;
  color: var(--service-navy);
  font-size: 28px;
  line-height: 1.4;
}

.service-index__intro h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--service-blue);
}

.service-index__intro p {
  margin: 0;
  color: #3f4966;
  line-height: 1.9;
}

.service-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-index-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--service-border);
  border-top: 5px solid var(--service-blue);
  background: #fff;
  transition: border-color .25s ease;
}

.service-index-card__link,
.service-index-card__link:visited,
.service-index-card__link:hover,
.service-index-card__link:focus-visible {
  color: var(--service-navy);
  text-decoration: none;
}

.service-index-card__link {
  display: flex;
  position: relative;
  height: 100%;
  overflow: hidden;
  align-items: flex-start;
  background: #fff;
  flex-direction: row;
  transition: background-color .25s ease;
}

.service-index-card:hover,
.service-index-card:focus-within {
  border-color: #aebce8;
  border-top-color: var(--service-blue);
}

.service-index-card__link:hover,
.service-index-card__link:focus-visible {
  background: #f3f6ff;
}

.service-index-card__media {
  width: 112px;
  height: 112px;
  margin: 22px 0 22px 22px;
  overflow: hidden;
  border: 1px solid var(--service-border);
  background: var(--service-pale);
  flex: 0 0 112px;
}

.service-index-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-index-card__body {
  display: flex;
  min-width: 0;
  padding: 20px 22px 22px 20px;
  flex: 1;
  flex-direction: column;
  background: transparent;
}

.service-index-card__en {
  display: block;
  margin-bottom: 5px;
  color: var(--service-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

.service-index-card h3 {
  margin: 0;
  color: var(--service-navy);
  font-size: 22px;
  line-height: 1.45;
}

.service-index-card__body>p {
  margin: 12px 0 0;
  color: #3f4966;
  font-size: 14px;
  line-height: 1.8;
}

.service-index-card__more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--service-navy);
  font-size: 13px;
  font-weight: 700;
}

.service-index-card__more::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}

.service-index-card__link:hover .service-index-card__more::after,
.service-index-card__link:focus-visible .service-index-card__more::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  body.post-type-archive-company .service-index-sidebar {
    padding-bottom: 0;
  }

  body.post-type-archive-company .service-index-sidebar #js-list {
    position: static;
    top: auto;
    left: auto;
    width: calc(100% + 40px);
    margin: 0 -20px;
  }

  .service-index__intro {
    margin-bottom: 28px;
    padding-bottom: 18px;
  }

  .service-index__intro h2 {
    margin-bottom: 14px;
    padding-bottom: 12px;
    font-size: 22px;
  }

  .service-index__intro h2::after {
    width: 48px;
  }

  .service-index-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-index-card__body {
    padding: 16px 18px 18px 16px;
  }

  .service-index-card__media {
    width: 92px;
    height: 92px;
    margin: 18px 0 18px 18px;
    flex-basis: 92px;
  }

  .service-index-card h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-index-card,
  .service-index-card__link,
  .service-index-card__more::after {
    transition: none;
  }
}
/* End Service archive image cards. */

/* Service detail: shared editorial layout and action links. */
body.single-company .l-primary {
  min-width: 0;
}

.service-detail {
  --service-detail-navy: #071d72;
  --service-detail-blue: #173dad;
  --service-detail-pale: #f3f6fc;
  --service-detail-line: #d8dff0;
  --service-detail-text: #26324d;
  color: var(--service-detail-text);
}

.service-detail .p-company-header {
  overflow: hidden;
  margin-bottom: 56px;
  background: var(--service-detail-navy);
}

.service-detail .p-company-header__content {
  z-index: 2;
  padding: 0 34px;
}

.service-detail .p-company-header__title {
  line-height: 1.45;
  letter-spacing: .03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .32);
}

.service-detail .p-company-header__sub {
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .32);
}

.service-detail .p-company-header__img {
  position: relative;
}

.service-detail .p-company-header__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 114, .24);
  pointer-events: none;
}

.service-detail .p-company-header__img img {
  display: block;
  width: 100%;
}

.service-detail__body {
  color: var(--service-detail-text);
}

.service-detail__content {
  font-size: 16px;
  line-height: 2;
}

.service-detail__content > br,
.service-detail__content > p:empty {
  display: none;
}

.service-detail__content p {
  margin: 0 0 1.35em;
}

.service-detail__content > p:first-of-type {
  margin-bottom: 42px;
  padding: 24px 26px;
  border-left: 4px solid var(--service-detail-blue);
  background: var(--service-detail-pale);
  color: #303b55;
  font-size: 17px;
  line-height: 2;
}

/* Long service copy: use the same framed treatment as the kiosk introduction. */
.service-detail__content p.service-detail-copy-card,
.service-detail--dog-kiosk .service-detail__content > p:first-of-type {
  position: relative;
  margin-bottom: 48px;
  padding: 28px 32px 28px 40px;
  border: 1px solid var(--service-detail-line);
  border-left: 0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 29, 114, 0.06);
}

.service-detail__content p.service-detail-copy-card::before,
.service-detail--dog-kiosk .service-detail__content > p:first-of-type::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 0;
  width: 20px;
  height: 3px;
  background: var(--service-detail-blue);
}

/* The salon page is copy-heavy, so keep its paragraphs unboxed. */
.service-detail--dog-salon .service-detail__content > p:first-of-type,
.service-detail--dog-salon .service-detail__content p.service-detail-copy-card {
  position: static;
  margin: 0 0 1.35em;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.service-detail--dog-salon .service-detail__content > p:first-of-type::before,
.service-detail--dog-salon .service-detail__content p.service-detail-copy-card::before {
  display: none;
}

/* Members page: keep the introductory copy unboxed. */
.service-detail--members .service-detail__content > p:first-of-type,
.service-detail--members .service-detail__content p.service-detail-copy-card {
  position: static;
  margin: 0 0 1.35em;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
}

.service-detail--members .service-detail__content > p:first-of-type::before,
.service-detail--members .service-detail__content p.service-detail-copy-card::before {
  display: none;
}

/* Members registration requirements: use the site's circular check marks. */
.service-detail--members .service-detail__content > ul:first-of-type {
  padding: 22px 26px;
  list-style: none;
}

.service-detail--members .service-detail__content > ul:first-of-type > li {
  position: relative;
  padding-left: 34px;
}

.service-detail--members .service-detail__content > ul:first-of-type > li::before {
  content: "\2713";
  position: absolute;
  top: .25em;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--service-detail-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.service-detail--dog-salon .service-salon-course {
  margin: 0;
  padding: 54px 0 62px;
  border-bottom: 1px solid var(--service-detail-line);
}

.service-detail--dog-salon .service-salon-course:first-of-type {
  padding-top: 20px;
}

.service-detail--dog-salon .service-salon-course__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.service-detail--dog-salon .service-salon-course__lead,
.service-detail--dog-salon .service-salon-course__media {
  min-width: 0;
}

.service-detail--dog-salon .service-salon-course > h3 {
  margin-top: 0;
  margin-bottom: 28px;
}

.service-detail--dog-salon .service-salon-course__lead > :last-child,
.service-detail--dog-salon .service-salon-course__details > :last-child {
  margin-bottom: 0;
}

.service-detail--dog-salon .service-salon-course__details {
  margin-top: 30px;
}

.service-detail--dog-salon .service-salon-care-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 38px;
  padding: 18px;
  border: 1px solid #d8e0f3;
  border-radius: 12px;
  background: #f7f9fe;
  box-shadow: 0 10px 26px rgba(7, 29, 114, 0.06);
  list-style: none;
}

.service-detail--dog-salon .service-salon-care-list li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 46px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 29, 114, 0.05);
}

.service-detail--dog-salon .service-salon-care-list li::before {
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--service-detail-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
}

.service-detail--dog-salon .service-salon-light-option-list strong,
.service-detail--dog-salon .service-salon-light-option-list span {
  display: block;
}

.service-detail--dog-salon .service-salon-light-option-list strong {
  color: var(--service-detail-navy);
  font-size: 16px;
  line-height: 1.55;
}

.service-detail--dog-salon .service-salon-light-option-list span {
  margin-top: 3px;
  color: #536078;
  font-size: 13px;
  line-height: 1.65;
}

.service-detail--dog-salon .service-salon-course__media {
  margin: 0;
  border: 1px solid var(--service-detail-line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 29, 114, 0.08);
}

.service-detail--dog-salon .service-salon-course__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.service-detail--dog-salon .service-salon-course__media figcaption {
  padding: 11px 14px;
  color: #536078;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.service-detail--dog-salon .service-salon-course--photo-left .service-salon-course__lead {
  grid-column: 2;
  grid-row: 1;
}

.service-detail--dog-salon .service-salon-course--photo-left .service-salon-course__media {
  grid-column: 1;
  grid-row: 1;
}

.service-detail--dog-salon .service-salon-course--premium .service-salon-course__image {
  object-position: 50% 34%;
}

.service-detail--dog-salon .service-salon-course--basic .service-salon-course__image {
  object-position: 50% 48%;
}

.service-detail__content h2,
.service-detail__content .txtsize1 {
  position: relative;
  margin: 68px 0 30px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--service-detail-line);
  color: var(--service-detail-navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.55;
}

.service-detail__content h2::after,
.service-detail__content .txtsize1::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--service-detail-blue);
}

.service-detail__content h3 {
  margin: 46px 0 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--service-detail-blue);
  background: var(--service-detail-pale);
  color: var(--service-detail-navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.65;
}

.service-detail__content h3 img {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  max-height: 160px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.service-detail__content a:not(.btn) {
  color: var(--service-detail-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-detail__content ul,
.service-detail__content ol {
  margin: 24px 0 36px;
  padding: 22px 26px 22px 48px;
  border: 1px solid var(--service-detail-line);
  background: #fff;
}

.service-detail__content li + li {
  margin-top: 9px;
}

.service-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}

.service-detail__content p:has(> img) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0 42px;
}

.service-detail__content p:has(> img) > img {
  min-width: 0;
  flex: 1 1 220px;
}

.service-detail__content .service-kiosk-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 48px;
}

.service-detail__content .service-kiosk-gallery > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--service-detail-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 29, 114, 0.08);
}

.service-detail__content .wp-block-gallery {
  gap: 12px;
  margin: 32px 0 48px;
}

.service-detail__content .wp-block-gallery img {
  display: block;
}

/* Members gallery: show the supplied portrait photos as even square tiles. */
.service-detail--members .service-detail__content .members-dog-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 48px;
}

.service-detail--members .service-detail__content .members-dog-gallery > figure.wp-block-image {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  overflow: hidden;
}

.service-detail--members .service-detail__content .members-dog-gallery > figure.wp-block-image > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

.service-detail__content .wp-block-table,
.service-detail__content figure:has(> table) {
  overflow-x: auto;
  margin: 34px 0 46px;
  border: 1px solid var(--service-detail-line);
  background: #fff;
}

.service-detail__content figure.wp-block-table:has(> .s_table) {
  overflow: hidden;
  border: 0;
}

.service-detail__content figure.wp-block-table > .s_table {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
}

.service-detail__content figure.wp-block-table > .s_table > table {
  margin-bottom: 0;
}

/* Price tables: keep the table as the only visible outer rule. */
.pricing-page .pricing-table-wrap {
  overflow: hidden;
  border: 0;
}

.pricing-page .pricing-table-wrap > .s_table {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
}

.pricing-page .pricing-table-wrap > .s_table > .pricing-table {
  margin-bottom: 0;
}

.pricing-page .pricing-two-columns > * {
  min-width: 0;
}

.service-detail__content table {
  width: 100%;
  min-width: 640px;
  border: 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

.service-detail__content th,
.service-detail__content td {
  padding: 12px 14px;
  border: 1px solid var(--service-detail-line);
  text-align: center;
  vertical-align: middle;
}

.service-detail__content th {
  background: var(--service-detail-navy);
  color: #fff;
  font-weight: 700;
}

.service-detail__content tbody tr:nth-child(even) td {
  background: #f8f9fd;
}

.service-detail-cta {
  margin-top: 76px;
  padding: 40px;
  border-top: 4px solid var(--service-detail-blue);
  background: var(--service-detail-pale);
  text-align: center;
}

.service-detail-cta__eyebrow {
  margin: 0 0 9px;
  color: var(--service-detail-blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.service-detail-cta h2 {
  margin: 0;
  color: var(--service-detail-navy);
  font-size: 25px;
  line-height: 1.5;
}

.service-detail-cta__lead {
  margin: 14px 0 28px;
  color: #4c5670;
  font-size: 14px;
  line-height: 1.8;
}

.service-detail-cta__buttons {
  display: grid;
  gap: 12px;
}

.service-detail-cta__buttons--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-cta__buttons--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 540px;
  margin-right: auto;
  margin-left: auto;
}

.service-detail-cta__button,
.service-detail-cta__button:visited {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--service-detail-blue);
  background: #fff;
  color: var(--service-detail-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.service-detail-cta__button:hover,
.service-detail-cta__button:focus-visible,
.service-detail-cta__button--primary,
.service-detail-cta__button--primary:visited {
  background: var(--service-detail-navy);
  color: #fff;
}

.service-detail-cta__button--primary:hover,
.service-detail-cta__button--primary:focus-visible {
  background: var(--service-detail-blue);
}

.service-detail-cta__button span:last-child {
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
}

@media (max-width: 767px) {
  body.single-company .l-page-header {
    padding-bottom: 0;
  }

  body.single-company .l-page-header #js-list {
    position: static;
    top: auto;
    left: auto;
    width: calc(100% + 40px);
    margin: 0 -20px;
  }

  .service-detail .p-company-header {
    margin: 0 -20px 38px;
  }

  .service-detail .p-company-header__content {
    padding: 0 22px;
  }

  .service-detail__content {
    font-size: 14px;
    line-height: 1.9;
  }

  .service-detail__content > p:first-of-type {
    margin-bottom: 34px;
    padding: 19px 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .service-detail__content p.service-detail-copy-card,
  .service-detail--dog-kiosk .service-detail__content > p:first-of-type {
    margin-bottom: 38px;
    padding: 22px 20px 22px 30px;
  }

  .service-detail__content p.service-detail-copy-card::before,
  .service-detail--dog-kiosk .service-detail__content > p:first-of-type::before {
    top: 29px;
    width: 14px;
  }

  .service-detail__content h2,
  .service-detail__content .txtsize1 {
    margin: 52px 0 24px;
    padding-bottom: 13px;
    font-size: 22px;
  }

  .service-detail__content h3 {
    margin: 36px 0 20px;
    padding: 15px 17px;
    font-size: 18px;
  }

  .service-detail__content p:has(> img) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 26px 0 34px;
  }

  .service-detail__content p:has(> img) > img {
    width: 100%;
  }

  .service-detail__content .service-kiosk-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 28px 0 38px;
  }

  .service-detail--members .service-detail__content .members-dog-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0 38px;
  }

  .service-detail--dog-salon .service-salon-course {
    padding: 38px 0 44px;
  }

  .service-detail--dog-salon .service-salon-course__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail--dog-salon .service-salon-course:first-of-type {
    padding-top: 8px;
  }

  .service-detail--dog-salon .service-salon-course--photo-left .service-salon-course__lead,
  .service-detail--dog-salon .service-salon-course--photo-left .service-salon-course__media {
    grid-column: auto;
    grid-row: auto;
  }

  .service-detail--dog-salon .service-salon-course__details {
    margin-top: 26px;
  }

  .service-detail--dog-salon .service-salon-care-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .service-detail__content ul,
  .service-detail__content ol {
    padding: 18px 18px 18px 38px;
  }

  .service-detail-cta {
    margin: 56px -20px 0;
    padding: 32px 20px;
  }

  .service-detail-cta h2 {
    font-size: 21px;
  }

  .service-detail-cta__buttons--3,
  .service-detail-cta__buttons--2 {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .service-detail-cta__button,
  .service-detail-cta__button:visited {
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-cta__button {
    transition: none;
  }
}
/* End Service detail layout. */

/* Compact Service mega menu. */
@media only screen and (min-width: 1200px) {
  #js-global-nav > .menu-item--news > a::before {
    content: "NEWS";
  }
}

@media only screen and (min-width: 1200px) {
  .l-header {
    position: relative;
    z-index: 1001;
  }

  .dogcat-service-megamenu {
    --dogcat-mega-arrow-left: 22%;
    background: #fff;
    border: 1px solid #d7def0;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(7, 29, 114, 0.14);
    box-sizing: border-box;
    left: 50%;
    max-width: 1180px;
    opacity: 0;
    padding: 20px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 20px);
    transform: translate(-50%, -12px) scale(.985);
    transform-origin: center top;
    transition:
      opacity .34s cubic-bezier(.22, 1, .36, 1),
      transform .42s cubic-bezier(.22, 1, .36, 1),
      visibility .42s;
    visibility: hidden;
    will-change: opacity, transform;
    width: calc(100% - 40px);
    z-index: 1000;
  }

  .dogcat-service-megamenu::before,
  .dogcat-service-megamenu::after {
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    content: "";
    height: 0;
    left: var(--dogcat-mega-arrow-left);
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    width: 0;
  }

  .dogcat-service-megamenu::before {
    border-bottom: 18px solid #d7def0;
    top: -18px;
  }

  .dogcat-service-megamenu::after {
    border-bottom: 17px solid #fff;
    top: -16px;
  }

  .admin-bar .dogcat-service-megamenu {
    top: calc(100% + 20px);
  }

  .dogcat-service-megamenu:hover,
  .dogcat-service-megamenu.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0s;
    visibility: visible;
  }

  .dogcat-megamenu-backdrop {
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    background: rgba(239, 242, 248, 0);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: var(--dogcat-megamenu-backdrop-top, 0px);
    transition:
      opacity .38s cubic-bezier(.22, 1, .36, 1),
      background-color .38s cubic-bezier(.22, 1, .36, 1),
      -webkit-backdrop-filter .38s cubic-bezier(.22, 1, .36, 1),
      backdrop-filter .38s cubic-bezier(.22, 1, .36, 1),
      visibility .38s;
    visibility: hidden;
    z-index: 999;
  }

  body.dogcat-megamenu-open .dogcat-megamenu-backdrop {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(239, 242, 248, .28);
    opacity: 1;
    visibility: visible;
  }

  .dogcat-service-megamenu__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dogcat-price-megamenu .dogcat-service-megamenu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dogcat-service-megamenu__card,
  .dogcat-service-megamenu__card:visited {
    background: #fff;
    border: 1px solid #d7def0;
    border-top: 3px solid #2348b8;
    box-sizing: border-box;
    color: #071d72;
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    height: 94px;
    line-height: 1.4;
    overflow: hidden;
    text-align: left;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .dogcat-service-megamenu__card:hover,
  .dogcat-service-megamenu__card:focus-visible {
    background: #f5f7fd;
    border-color: #2348b8;
    color: #071d72;
  }

  .dogcat-service-megamenu__media {
    display: block;
    height: 91px;
    overflow: hidden;
  }

  .dogcat-service-megamenu__image {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
  }

  .dogcat-service-megamenu__card:hover .dogcat-service-megamenu__image,
  .dogcat-service-megamenu__card:focus-visible .dogcat-service-megamenu__image {
    transform: scale(1.04);
  }

  .dogcat-service-megamenu__body {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 13px;
  }

  .dogcat-service-megamenu__title {
    color: #071d72;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.45;
  }

  .dogcat-service-megamenu__more {
    color: #2348b8;
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
  }

  .dogcat-service-megamenu__more::after {
    content: "\2192";
    display: inline-block;
    margin-left: 6px;
    transition: transform .2s ease;
  }

  .dogcat-service-megamenu__card:hover .dogcat-service-megamenu__more::after,
  .dogcat-service-megamenu__card:focus-visible .dogcat-service-megamenu__more::after {
    transform: translateX(3px);
  }
}

@media only screen and (max-width: 1199px) {
  .dogcat-service-megamenu {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dogcat-service-megamenu,
  .dogcat-megamenu-backdrop,
  .dogcat-service-megamenu__card,
  .dogcat-service-megamenu__image,
  .dogcat-service-megamenu__more::after {
    transition: none;
  }
}
/* End compact Service mega menu. */

/* News archive aligned with the Dog Station visual system. */
body.post-type-archive-news .p-news-tab-list,
body.tax-news_category .p-news-tab-list {
  margin-bottom: 56px;
}

body.post-type-archive-news .p-news-tab-list__tabs-wrapper,
body.tax-news_category .p-news-tab-list__tabs-wrapper {
  background: #f4f6fc;
  border: 1px solid #d7def0;
  border-radius: 12px;
  overflow: hidden;
  padding: 6px;
}

body.post-type-archive-news .p-news-tab-list__tabs,
body.post-type-archive-news .p-news-tab-list__tabs2,
body.tax-news_category .p-news-tab-list__tabs,
body.tax-news_category .p-news-tab-list__tabs2 {
  background: transparent;
  display: flex;
  gap: 6px;
  margin: 0;
  width: 100%;
}

body.post-type-archive-news .p-news-tab-list__tabs-item,
body.tax-news_category .p-news-tab-list__tabs-item {
  flex: 1 1 0;
  font-size: 15px;
  font-weight: 700;
  width: auto;
}

body.post-type-archive-news .p-news-tab-list__tabs-item a,
body.tax-news_category .p-news-tab-list__tabs-item a {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #071d72;
  height: 58px;
  line-height: 56px;
  margin: 0;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.post-type-archive-news .p-news-tab-list__tabs-item.is-active a,
body.post-type-archive-news .p-news-tab-list__tabs-item a:hover,
body.post-type-archive-news .p-news-tab-list__tabs-item a:focus-visible,
body.tax-news_category .p-news-tab-list__tabs-item.is-active a,
body.tax-news_category .p-news-tab-list__tabs-item a:hover,
body.tax-news_category .p-news-tab-list__tabs-item a:focus-visible {
  background: #071d72;
  border-color: #071d72;
  color: #fff;
}

body.post-type-archive-news .p-news-tab-list__tabs-item.is-active + .p-news-tab-list__tabs-item a,
body.tax-news_category .p-news-tab-list__tabs-item.is-active + .p-news-tab-list__tabs-item a {
  border-left-color: transparent;
}

body.post-type-archive-news .p-news-tab-list__panel,
body.tax-news_category .p-news-tab-list__panel {
  margin: 18px 0 0;
  padding: 0;
}

body.post-type-archive-news .p-news-tab-list__panel.is-active,
body.tax-news_category .p-news-tab-list__panel.is-active,
body.post-type-archive-news .news_list,
body.tax-news_category .news_list {
  display: grid;
  gap: 0;
}

body.post-type-archive-news .p-news-list__item,
body.tax-news_category .p-news-list__item {
  background: #fff;
  border: 0;
  border-top: 1px solid #d7def0;
  border-radius: 0;
  box-sizing: border-box;
  margin: 0;
  transition: background-color .2s ease, border-color .2s ease;
}

body.post-type-archive-news .p-news-list__item:last-child,
body.tax-news_category .p-news-list__item:last-child {
  border-bottom: 1px solid #d7def0;
}

body.post-type-archive-news .p-news-list__item:hover,
body.post-type-archive-news .p-news-list__item:focus-within,
body.tax-news_category .p-news-list__item:hover,
body.tax-news_category .p-news-list__item:focus-within {
  background: #f7f9ff;
  border-color: #aebce9;
}

body.post-type-archive-news .p-article04__inner,
body.tax-news_category .p-article04__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  height: auto;
  line-height: 1.6;
  min-height: 78px;
  padding: 16px 22px;
}

body.post-type-archive-news .p-article04__inner::after,
body.tax-news_category .p-article04__inner::after {
  color: #2348b8;
  content: "\2192";
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

body.post-type-archive-news .p-article04__date,
body.tax-news_category .p-article04__date {
  color: #2348b8;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  margin: 0;
}

body.post-type-archive-news .p-article04__cat,
body.tax-news_category .p-article04__cat {
  flex: 0 0 auto;
  margin: 0;
}

body.post-type-archive-news .p-article04__title,
body.tax-news_category .p-article04__title {
  color: #172033;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0;
  min-width: 0;
  white-space: normal;
}

body.post-type-archive-news .p-article04__title a,
body.tax-news_category .p-article04__title a {
  color: inherit;
  height: auto;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

@media only screen and (max-width: 767px) {
  body.post-type-archive-news .p-news-tab-list,
  body.tax-news_category .p-news-tab-list {
    margin: 0 0 36px;
  }

  body.post-type-archive-news .p-news-tab-list__tabs-wrapper,
  body.tax-news_category .p-news-tab-list__tabs-wrapper {
    overflow: visible;
    padding: 4px;
  }

  body.post-type-archive-news .p-news-tab-list__tabs,
  body.post-type-archive-news .p-news-tab-list__tabs2,
  body.tax-news_category .p-news-tab-list__tabs,
  body.tax-news_category .p-news-tab-list__tabs2 {
    gap: 4px;
    width: 100%;
  }

  body.post-type-archive-news .p-news-tab-list__tabs-item,
  body.tax-news_category .p-news-tab-list__tabs-item {
    font-size: 12px;
  }

  body.post-type-archive-news .p-news-tab-list__tabs-item a,
  body.tax-news_category .p-news-tab-list__tabs-item a {
    height: 48px;
    line-height: 46px;
  }

  body.post-type-archive-news .p-news-tab-list__panel,
  body.tax-news_category .p-news-tab-list__panel {
    margin-top: 14px;
  }

  body.post-type-archive-news .p-article04__inner,
  body.tax-news_category .p-article04__inner {
    column-gap: 12px;
    flex-wrap: wrap;
    min-height: 0;
    padding: 15px 16px;
    row-gap: 7px;
  }

  body.post-type-archive-news .p-article04__date,
  body.tax-news_category .p-article04__date {
    order: 1;
  }

  body.post-type-archive-news .p-article04__cat,
  body.tax-news_category .p-article04__cat {
    order: 2;
  }

  body.post-type-archive-news .p-article04__title,
  body.tax-news_category .p-article04__title {
    flex: 1 1 calc(100% - 34px);
    font-size: 14px;
    order: 3;
  }

  body.post-type-archive-news .p-article04__inner::after,
  body.tax-news_category .p-article04__inner::after {
    font-size: 16px;
    order: 4;
  }
}
/* End News archive. */

/* Dog hotel: supplied room photos. */
.service-detail--dog-hotel .service-hotel-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 48px;
}

.service-detail--dog-hotel .service-hotel-gallery__item {
  border: 0;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.service-detail--dog-hotel .service-hotel-gallery__item img {
  display: block;
  height: auto;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .service-detail--dog-hotel .service-hotel-gallery {
    gap: 12px;
    grid-template-columns: 1fr;
    margin: 26px 0 38px;
  }
}
/* End Dog hotel gallery. */

/* Footer logo area: match the existing lower divider. */
.p-info {
  border-top: 1px solid #ddd;
}
/* End Footer logo divider. */

/* Dog desk: supplied facility photos. */
.service-detail--dog-desk .service-desk-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 32px 0 48px;
}

.service-detail--dog-desk .service-desk-gallery__item {
  border: 0;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.service-detail--dog-desk .service-desk-gallery__item img {
  display: block;
  height: auto;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .service-detail--dog-desk .service-desk-gallery {
    gap: 12px;
    grid-template-columns: 1fr;
    margin: 26px 0 38px;
  }
}
/* End Dog desk gallery. */

/* Keep the footer logo inside narrow viewports and loosen address wrapping. */
@media only screen and (max-width: 767px) {
  .p-info__logo {
    width: 100%;
    margin-right: 0;
  }

  .p-info__logo a {
    display: block;
    width: 100%;
  }

  .p-info__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .p-info__desc {
    line-height: 1.4;
  }
}
