/* Existing theme design: header/footer/FV rules are in theme-shell.css.
   Adaptations below are limited to the column layouts and article blocks. */
body.kz-site {
  --kz-ink:#000;
  --kz-muted:#666;
  --kz-line:#00000033;
  --kz-paper:#fff;
  font-family: "NotoSansJP", sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.5;
}

.kz-site #header {
  opacity: 1;
  visibility: visible;
  animation: none;
  line-height: 1.5;
}

.kz-site #header #logo {
  margin: 0;
}

.kz-site #header .header__list01 a {
  white-space: nowrap;
}

.kz-site #header .header__list02__link01, .kz-site #header .header__list02__link02 {
  color: white;
}

.kz-site #header .kz-language {
  font-size: 10px;
  margin-left: 10px;
}

.kz-site #header .kz-language summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 4px;
  font-size: 8px;
  font-weight: 400;
}

.kz-site #header .kz-language summary > img {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5e5;
  padding: 5px;
  border-radius: 4px;
}

.kz-site .kz-language-options .gtranslate_wrapper > a {
  display: inline-block !important;
}

.kz-site #kz-main {
  background: center top/contain repeat-y url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/bg.webp");
  overflow: hidden;
}

.kz-site .fv-menu {
  background-image: url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/fv-menu.webp");
  line-height: 1.5;
}

.kz-site .fv-menu__inner {
  position: relative;
  z-index: 3;
}

.kz-site .fv-menu__title {
  font-family: "NotoSansJP", sans-serif;
  letter-spacing: normal;
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.kz-site .fv-menu__subtitle {
  font-family: "NotoSansJP", sans-serif;
  letter-spacing: normal;
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  display: inline-block;
}

.kz-site .kz-container {
  width: min(1120px, 100% - 80px);
}

.kz-site .kz-section {
  padding: 64px 0 80px;
  border: 0;
}

.kz-site .kz-section-heading {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 52px;
  gap: 24px;
}

.kz-site .kz-section-heading > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.kz-site .kz-section-heading .fv-menu__subtitle {
  font-size: 16px;
}

.kz-site .kz-section-heading .fv-menu__title {
  font-size: 80px;
}

.kz-site .kz-pickup {
  margin: 0;
  border: 0;
}

.kz-site .kz-grid {
  gap: 40px 32px;
}

.kz-site .kz-card-image {
  border-radius: 7px;
}

.kz-site .kz-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.kz-site .kz-card-meta {
  font-size: 12px;
  color: #000;
}

.kz-site .kz-card p {
  font-size: 14px;
}

.kz-site .kz-read {
  font-size: 14px;
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.kz-site .kz-read > span {
  font-size: 0;
  background: url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/white-btn.webp") center/contain no-repeat;
  width: 40px;
  height: 26px;
  filter: invert(1);
}

.kz-site .kz-eyebrow {
  letter-spacing: normal;
  color: #000;
  font-size: 14px;
}

.kz-site .kz-category-links > a {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  padding: 24px;
  gap: 16px;
}

.kz-site .kz-category-links {
  border: 0;
  gap: 24px;
}

.kz-site .kz-category-number {
  display: none;
}

.kz-site .kz-category-links h3 {
  font-size: 20px;
  font-weight: 700;
}

.kz-site .kz-category-links p {
  font-size: 14px;
}

.kz-site .kz-brand {
  gap: 64px;
  padding: 64px 0 80px;
}

.kz-site .kz-brand-photo {
  border-radius: 7px;
}

.kz-site .kz-brand .fv-menu__title {
  font-size: 80px;
  display: block;
}

.kz-site .kz-brand .fv-menu__subtitle {
  font-size: 16px;
  line-height: 1.5;
  margin-left: 24px;
}

.kz-site .kz-brand p {
  font-size: 16px;
}

.kz-site .kz-button, .kz-site .kz-prose .wp-block-button__link {
  background: #d93924;
  color: #fff !important;
  border: 0;
  border-radius: 7px;
  min-height: 62px;
  padding: 18px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  box-shadow: none;
  text-decoration: none;
  line-height: 1.5;
}

.kz-site .kz-button:hover, .kz-site .kz-prose .wp-block-button__link:hover {
  opacity: 0.8;
}

.kz-site .kz-button > span {
  font-size: 0;
  width: 25px;
  height: 25px;
  background: url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/white-btn.webp") center/contain no-repeat;
  filter: none;
}

.kz-site .kz-text-link {
  font-size: 16px;
  font-weight: 700;
  border-color: rgba(0, 0, 0, 0.2);
}

.kz-site .kz-cta {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 0;
  padding: 64px 0 80px;
  background: none;
  margin: 0;
  gap: 32px;
}

.kz-site .kz-cta .fv-menu__title {
  font-size: 80px;
  display: block;
}

.kz-site .kz-cta .fv-menu__subtitle {
  font-size: 16px;
  margin: 8px 0 24px;
}

.kz-site .kz-cta p {
  font-size: 16px;
}

.kz-site .kz-cta-actions {
  width: min(100%, 660px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kz-site .kz-cta-actions .kz-text-link {
  grid-column: 1/-1;
  justify-self: center;
}

.kz-site .kz-category-description {
  padding: 24px 0;
  text-align: center;
  font-size: 16px;
}

.kz-site .kz-recommended {
  background: transparent;
}

.kz-site .kz-tag-section {
  text-align: center;
  padding: 64px 0;
}

.kz-site .kz-tag-section > .fv-menu__title {
  display: block;
  font-size: 80px;
}

.kz-site .kz-tag-section > .fv-menu__subtitle {
  font-size: 16px;
}

.kz-site .kz-tag-section .kz-tags {
  justify-content: center;
}

.kz-site .kz-breadcrumb {
  font-size: 12px;
  padding: 32px 0;
}

.kz-site .kz-article {
  margin: 24px auto 0;
  background: white;
  padding: 48px;
  max-width: 1000px;
  border-radius: 7px;
}

.kz-site .kz-article-header h1 {
  font-family: inherit;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: normal;
}

.kz-site .kz-article-cover {
  border-radius: 7px;
}

.kz-site .kz-prose {
  font-size: 16px;
  line-height: 2;
}

.kz-site .kz-prose h2 {
  font-family: inherit;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #d93924;
  padding: 0 0 16px;
  font-size: 26px;
  font-weight: 700;
}

.kz-site .kz-prose h3 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 22px;
  font-weight: 700;
}

.kz-site .kz-prose h4 {
  border-left: 3px solid #d93924;
  font-size: 19px;
  font-weight: 700;
}

.kz-site .kz-prose h5 {
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.kz-site .kz-prose h2, .kz-site .kz-prose h3 {
  scroll-margin-top: 135px;
}

.kz-site .kz-toc {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  background: #f7f6f2;
}

.kz-site .kz-toc h2 {
  font-weight: 700;
}

.kz-site .kz-profile-initial {
  background: #f7f6f2;
  font-family: inherit;
}

.kz-site .kz-prose th, .kz-site .kz-prose td {
  border-color: rgba(0, 0, 0, 0.2);
}

.kz-site .kz-prose thead, .kz-site .kz-prose .is-style-kz-left-column td:first-child, .kz-site .kz-prose .is-style-kz-left-column th:first-child {
  background: #f0efeb;
}

.kz-site .kz-prose tbody tr:nth-child(even) {
  background: #f7f6f2;
}

.kz-site .kz-box, .kz-site .kz-prose .is-style-kz-frame {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  background: #fff;
}

.kz-site .kz-box-title {
  background: #f7f6f2;
  border-color: rgba(0, 0, 0, 0.2);
  border-radius: 7px 7px 0 0;
}

.kz-site .kz-inline-related {
  border-radius: 7px;
}

.kz-site .footer {
  line-height: 1.5;
}

.kz-site .footer h3, .kz-site .footer h4 {
  margin: 0;
}

.kz-site .footer__bottom-pagetop {
  color: #000;
}

.kz-site .kz-mobile-nav {
  display: none;
}

.kz-site .bottom-menu button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
}

.kz-site .bottom-menu .kz-menu-toggle {
  margin: 0;
  border-radius: 0;
  display: flex;
}

.kz-site .bottom-menu .kz-language-trigger {
  background: white;
}

@media (max-width: 800px) {
  .kz-site #kz-main {
    background-image: url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/bg-sp.webp");
  }
  .kz-site .fv-menu {
    background-image: url("/wp-content/themes/kanizanmai-column-theme/dist/assets/images/fv-menu-sp.webp");
  }
  .kz-site .fv-menu:before {
    pointer-events: none;
  }
  .kz-site .kz-container {
    width: calc(100% - 40px);
  }
  .kz-site .kz-section {
    padding: 56px 0;
  }
  .kz-site .kz-section-heading {
    margin-bottom: 40px;
  }
  .kz-site .kz-section-heading .fv-menu__title, .kz-site .kz-brand .fv-menu__title, .kz-site .kz-tag-section > .fv-menu__title, .kz-site .kz-cta .fv-menu__title {
    font-size: clamp(32px, 10vw, 56px);
  }
  .kz-site .kz-section-heading .fv-menu__subtitle {
    font-size: 14px;
  }
  .kz-site .kz-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kz-site .kz-card h3 {
    font-size: 18px;
  }
  .kz-site .kz-brand {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
    text-align: center;
  }
  .kz-site .kz-brand .kz-text-link {
    margin: 20px auto 0;
  }
  .kz-site .kz-category-links {
    grid-template-columns: 1fr;
  }
  .kz-site .kz-cta {
    padding: 56px 0;
  }
  .kz-site .kz-cta-actions {
    grid-template-columns: 1fr;
    max-width: 327px;
  }
  .kz-site .kz-button {
    font-size: 16px;
  }
  .kz-site .kz-article {
    width: calc(100% - 32px);
    padding: 24px 20px;
    margin: 16px auto 0;
  }
  .kz-site .kz-article-header h1 {
    font-size: 24px;
  }
  .kz-site .kz-prose {
    font-size: 16px;
  }
  .kz-site .kz-prose h2 {
    font-size: 22px;
  }
  .kz-site .kz-prose h3 {
    font-size: 20px;
  }
  .kz-site .kz-mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 0 13.333vw;
    background: #fff;
    z-index: 999;
    padding: 96px 32px 32px;
    overflow: auto;
    gap: 0;
  }
  .kz-site .kz-mobile-nav > a, .kz-site .kz-mobile-nav > details {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 700;
  }
  .kz-site .kz-mobile-nav .gtranslate_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }
  .kz-site .kz-mobile-nav .gtranslate_wrapper img {
    width: 28px;
    height: 20px;
  }
}
/* Existing opening animations are not needed on column routes. */
.kz-site .bottom-menu {
  opacity: 1;
  visibility: visible;
  animation: none;
}

.kz-site .footer__right-inner__bottom-item > a > img {
  filter: invert(1);
}

.kz-site .recruitment {
  line-height: 1.5;
}

.kz-site .recruitment__title, .kz-site .recruitment__subtitle {
  margin: 0;
  letter-spacing: normal;
}

.kz-site .recruitment > a:hover {
  opacity: 0.6;
}

/* Match the original TOP menu card section's full-width gutters. */
.kz-site #kz-categories {
  padding-top: 104px;
}
@media (max-width: 800px) {
  .kz-site #kz-categories {
    padding-top: 80px;
  }
}

.kz-site #kz-categories .kz-section-heading {
  margin-bottom: 36px;
}

.kz-site .kz-category-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.kz-site .kz-category-icons > li {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
}

.kz-site .kz-category-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1.7;
  min-height: 120px;
  padding: 12px 8px;
  border: 1px solid #c6432d;
  background: #c6432d;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.kz-site .kz-category-icon-link:hover {
  border-color: #c6432d;
}
.kz-site .kz-category-icon-link:focus-visible {
  outline: 2px solid #c6432d;
  outline-offset: 3px;
}

.kz-site .kz-category-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.kz-site .kz-category-label::before, .kz-site .kz-category-label::after {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.kz-site .kz-category-icon {
  display: block;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: #fff;
}

.kz-site .kz-category-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 32px;
  height: auto;
}

@media (max-width: 600px) {
  .kz-site .kz-category-icons {
    width: 100%;
    margin: 0;
  }
  .kz-site .kz-category-icons > li {
    flex-basis: calc((100% - 8px) / 2);
  }
  .kz-site .kz-category-icon-link {
    min-height: 120px;
    font-size: 12px;
    gap: 12px;
    padding: 12px 6px;
  }
  .kz-site .kz-category-label {
    gap: 6px;
  }
  .kz-site .kz-category-icon {
    width: 50px;
    height: 50px;
  }
  .kz-site .kz-category-arrow {
    width: 28px;
    height: auto;
    right: 8px;
    bottom: 8px;
  }
}
.kz-site .kz-page-fv-description {
  max-width: min(900px, 100vw - 80px);
  margin: 16px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
  white-space: pre-line;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5333333333);
}
@media (max-width: 800px) {
  .kz-site .kz-page-fv-description {
    max-width: calc(100vw - 48px);
    font-size: 14px;
    margin-top: 14px;
  }
}

.kz-site #kz-main .fv-store__title,
.kz-site #kz-main .store__title,
.kz-site #kz-main .recruitment__title {
  font-family: "NotoSansJP", sans-serif;
}

.kz-site a {
  transition: opacity 0.3s ease;
}
.kz-site a:hover {
  opacity: 0.6;
}

.kz-site #kz-categories .kz-category-heading {
  margin: 0;
  color: #000;
  font-family: "NotoSansJP", sans-serif;
  font-size: 3.125vw;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
}
.kz-site #kz-categories .kz-category-heading .kz-category-heading-break {
  display: none;
}
.kz-site #kz-categories .kz-category-heading::after {
  content: "";
  display: block;
  width: 6.25vw;
  height: 0.234375vw;
  margin: 1.875vw auto 0;
  background: #000;
}
@media (max-width: 800px) {
  .kz-site #kz-categories .kz-category-heading {
    font-size: 6.4vw;
  }
  .kz-site #kz-categories .kz-category-heading .kz-category-heading-break {
    display: block;
  }
  .kz-site #kz-categories .kz-category-heading::after {
    width: 21.3333333333vw;
    height: 0.2666666667vw;
    margin-top: 3.2vw;
  }
}

.kz-site .kz-reservation-banner {
  height: auto;
  min-height: 23.4375vw;
  padding: 40px 0;
  box-sizing: border-box;
}
.kz-site .kz-reservation-banner .recruitment__inner {
  width: 90%;
}
.kz-site .kz-reservation-banner .kz-reservation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(760px, 100%);
  margin-top: 24px;
}
.kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn {
  width: 100%;
  height: auto;
  min-height: 56px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 24px;
  gap: 20px;
}
.kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn:only-child {
  grid-column: 1/-1;
  justify-self: center;
  max-width: 368px;
}
.kz-site .kz-reservation-banner .recruitment__btn p {
  min-width: 0;
  white-space: normal;
  line-height: 1.5;
}
.kz-site .kz-reservation-banner .recruitment__btn img {
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .kz-site .kz-reservation-banner {
    padding: 32px 0;
  }
  .kz-site .kz-reservation-banner .recruitment__title {
    font-size: 36px;
  }
  .kz-site .kz-reservation-banner .recruitment__subtitle {
    font-size: 13px;
  }
  .kz-site .kz-reservation-banner .kz-reservation-actions {
    gap: 12px;
    margin-top: 20px;
  }
  .kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn {
    min-height: 48px;
    padding: 10px 8px;
    gap: 8px;
  }
  .kz-site .kz-reservation-banner .recruitment__btn p {
    font-size: 13px;
  }
  .kz-site .kz-reservation-banner .recruitment__btn img {
    width: 28px;
  }
}

@media (min-width: 801px) {
  .kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn {
    position: relative;
    padding-inline: 76px;
  }
  .kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn p {
    width: 100%;
    text-align: center;
    font-size: clamp(14px, 1.25vw, 18px);
  }
  .kz-site .kz-reservation-banner .kz-reservation-actions .recruitment__btn img {
    position: absolute;
    width: clamp(32px, 3.90625vw, 50px);
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.kz-site .kz-page-fv {
  background-image: none;
}
.kz-site .kz-page-fv .kz-page-fv-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.kz-site .kz-page-fv .kz-page-fv-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kz-site .kz-page-fv .kz-page-fv-media--custom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.kz-site .kz-page-fv .kz-page-fv-media--sp {
  display: none;
}
@media (max-width: 800px) {
  .kz-site .kz-page-fv .kz-page-fv-media--pc {
    display: none;
  }
  .kz-site .kz-page-fv .kz-page-fv-media--sp {
    display: block;
  }
}

.kz-site .kz-page-fv .fv-menu__subtitle::before {
  left: auto;
  right: calc(100% + 12px);
}
.kz-site .kz-page-fv .fv-menu__subtitle::after {
  left: calc(100% + 12px);
  right: auto;
}
