/* Shared Design V2 foundation for kids.pore2.jp. Load after a page base stylesheet. */
body.design-v2 {
  --header-awning-height: clamp(22px, 2.4vw, 36px);
  --header-content-height: 84px;
  --page-header-offset: calc(var(--header-awning-height) + var(--header-content-height) + 20px);
  --font-body: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --font-ui: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --content-max: 1180px;
  --content-max-narrow: 1080px;
  --content-gutter: clamp(32px, 7vw, 120px);
  --page-section-y: clamp(74px, 9vw, 126px);
  --ink: #363525;
  --heading-text: #5b473d;
  --text: #5f5a48;
  --muted: #7a725e;
  --paper: #fffaf5;
  --white: #ffffff;
  --cream: #ffe8b4;
  --violet: #df8a54;
  --violet-deep: #a95f37;
  --violet-soft: #fff0bf;
  --accent-deep: #6d4a3a;
  --leaf-soft: #dbe8d2;
  --sky: #d5e5dc;
  --sky-strong: #4f7665;
  --sun: #f3cf77;
  --gold: #d59a4c;
  --gold-soft: #ffedbc;
  --coral: #df8a54;
  --coral-soft: #ffd9b8;
  --lavender: #e7e0cb;
  --sign-orange: #e08a55;
  --warm-accent: #c9785d;
  --warm-accent-soft: rgba(201, 120, 93, 0.18);
  --sign-yellow: #f5d783;
  --sign-yellow-soft: #fff0bf;
  --sign-blue: #4f6f7a;
  --gingham-cream: #fff4d8;
  --gingham-cream-light: #fffaf0;
  --gingham-orange: rgba(228, 143, 78, 0.16);
  --gingham-orange-soft: rgba(228, 143, 78, 0.1);
  --gingham-yellow: rgba(245, 210, 138, 0.26);
  --sumire: #8a9a63;
  --sumire-soft: #e8efd9;
  --line: rgba(33, 77, 59, 0.18);
  --shadow: 0 18px 46px rgba(122, 83, 44, 0.14);
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  line-height: 1.75;
  overflow-x: hidden;
}

html:has(body.design-v2) {
  scroll-behavior: smooth;
}

body.design-v2 a {
  color: inherit;
}

body.design-v2 button,
body.design-v2 input,
body.design-v2 textarea {
  font: inherit;
}

body.design-v2::selection,
body.design-v2 ::selection {
  background: rgba(245, 201, 119, 0.82);
  color: #3d3928;
  text-shadow: none;
}

body.design-v2::-moz-selection,
body.design-v2 ::-moz-selection {
  background: rgba(245, 201, 119, 0.82);
  color: #3d3928;
  text-shadow: none;
}

body.design-v2::before {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 237, 188, 0.42), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(232, 239, 217, 0.42), transparent 22%),
    radial-gradient(circle at 74% 78%, rgba(219, 232, 210, 0.28), transparent 26%),
    radial-gradient(circle at 10% 86%, rgba(255, 217, 184, 0.24), transparent 24%);
}

body.design-v2 * {
  box-sizing: border-box;
}

body.design-v2 img {
  display: block;
  max-width: 100%;
}

/* Shared page framework: every page starts from the same centered content grid. */
body.design-v2 .container {
  width: min(var(--content-max), calc(100% - var(--content-gutter)));
  margin-inline: auto;
}

body.design-v2 .content-container--narrow {
  width: min(var(--content-max-narrow), calc(100% - var(--content-gutter)));
}

body.design-v2 h1,
body.design-v2 h2,
body.design-v2 h3 {
  font-family: var(--font-body);
}

/* Shared ornamental heading: large Mincho title framed by a centered ornament. */
body.design-v2 .content-heading {
  display: grid;
  justify-items: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding-top: clamp(28px, 3.6vw, 46px);
  text-align: center;
}

body.design-v2 .content-heading::before,
body.design-v2 .content-heading::after {
  content: "";
  display: block;
  pointer-events: none;
}

body.design-v2 .content-heading::before {
  width: clamp(148px, 16vw, 222px);
  height: clamp(26px, 2.8vw, 38px);
  margin-bottom: clamp(8px, 1.2vw, 14px);
  background: url("../img/classic-divider-crown-scroll.png") center / contain no-repeat;
  opacity: 0.54;
}

body.design-v2 .content-heading::after {
  width: min(100%, clamp(210px, 28vw, 400px));
  height: clamp(15px, 1.8vw, 24px);
  margin-top: clamp(18px, 2.3vw, 28px);
  background: url("../img/updates-title-flourish-lavender.png") center / 100% auto no-repeat;
  opacity: 0.56;
}

body.design-v2 .content-heading-title {
  margin: 0;
  color: var(--heading-text);
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

body.design-v2 .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body.design-v2 .header-inner {
  width: min(1180px, calc(100% - clamp(32px, 7vw, 120px)));
  min-height: var(--header-content-height);
  height: var(--header-content-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

body.design-v2 .brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

body.design-v2 .brand-sub,
body.design-v2 .brand-name {
  display: block;
  font-weight: 700;
}

body.design-v2 .brand-sub {
  font-size: 0.78rem;
}

body.design-v2 .brand-name {
  font-size: 0.76rem;
}

body.design-v2 .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 auto;
}

body.design-v2 .nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

body.design-v2 .brand-sub,
body.design-v2 .brand-name {
  font-family: var(--font-ui);
}

body.design-v2 .nav a:not(.button) {
  color: inherit;
  text-decoration: none;
}

body.design-v2 .menu-button {
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--accent-deep);
}

body.design-v2 .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.design-v2 .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 53, 47, 0.12);
}

body.design-v2 .site-footer {
  padding: 26px 0 62px;
  border-top: 1px solid var(--line);
}

body.design-v2 .footer-inner {
  width: min(1180px, calc(100% - clamp(32px, 7vw, 120px)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  font-size: 0.88rem;
  font-weight: 700;
}

body.design-v2 .footer-company {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

body.design-v2 .footer-company-logo {
  width: clamp(76px, 8vw, 104px);
  height: auto;
  flex: 0 0 auto;
}

body.design-v2 .footer-copy {
  text-align: right;
}

body.design-v2 .site-header {
  padding-top: var(--header-awning-height);
  overflow: visible;
  isolation: isolate;
  z-index: 100;
  background: rgba(255, 250, 245, 0.92);
  border-bottom-color: rgba(33, 77, 59, 0.16);
}

body.design-v2 .header-gingham-awning {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: var(--header-awning-height);
  overflow: hidden;
  pointer-events: none;
}

body.design-v2 .header-gingham-awning img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max(calc(100% + 48px), 880px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

body.design-v2 .site-header .header-inner {
  position: relative;
  z-index: 1;
}

body.design-v2 .site-header .menu-button {
  position: relative;
  z-index: 3;
}

body.design-v2 .site-header .nav {
  z-index: 2;
}

body.design-v2 .site-header .brand-signboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
  row-gap: 3px;
  padding: 7px 0 8px;
  min-width: 0;
}

body.design-v2 .site-header .brand-signboard .brand-wordmark {
  display: block;
  height: auto;
  max-width: 100%;
}

body.design-v2 .site-header .brand-signboard .brand-sub {
  margin: 0 0 2px 2px;
  line-height: 1.4;
}

body.design-v2 .site-header .brand-signboard .brand-name {
  margin-top: 2px;
  line-height: 1.45;
}

body.design-v2 .brand-sub,
body.design-v2 .nav a:not(.button):hover {
  color: var(--sign-orange);
}

body.design-v2 .button-primary {
  background: linear-gradient(135deg, #e99b5c, #d87943);
  color: #fffdf6;
  box-shadow: 0 12px 26px rgba(197, 108, 61, 0.22);
}

/* Header-only primary CTA: it must remain legible against the warm navigation bar. */
body.design-v2 .site-header .nav a.button-primary {
  min-height: 52px;
  padding: 13px 22px;
  border-color: rgba(255, 253, 246, 0.72);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow:
    0 12px 26px rgba(197, 108, 61, 0.22),
    0 0 0 2px rgba(255, 248, 234, 0.32);
}

body.design-v2 .site-header .nav a.button-primary:hover,
body.design-v2 .site-header .nav a.button-primary:focus-visible {
  background: linear-gradient(135deg, #f0ad71, #df8c50);
  box-shadow:
    0 14px 28px rgba(197, 108, 61, 0.28),
    0 0 0 3px rgba(255, 248, 234, 0.46);
}

body.design-v2 .button-secondary {
  color: #9b5a34;
  border-color: rgba(224, 138, 85, 0.28);
  background: rgba(255, 254, 248, 0.94);
}

body.design-v2 .button-line {
  background: #9b5a34;
  color: var(--white);
}

body.design-v2 .site-footer {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.62), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(224, 138, 85, 0.14), transparent 34%),
    linear-gradient(135deg, #fff8e9, #ffe7b7);
  border-top-color: rgba(224, 138, 85, 0.28);
  color: var(--text);
}

body.design-v2 .site-footer strong {
  color: var(--accent-deep);
}

body.design-v2 .site-footer .footer-copy {
  color: #8b603e;
}

/* Related-site tabs mirror pore2.jp, using the nursery accent color. */
body.design-v2 .site-network-tabs {
  position: fixed;
  top: 54%;
  right: 0;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 2px;
  transform: translateY(-50%);
}

body.design-v2 .site-network-tab {
  position: relative;
  width: 38px;
  min-height: 112px;
  padding: 12px 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 95, 55, 0.2);
  border-right: 0;
  border-radius: 13px 0 0 13px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 7px 18px rgba(52, 45, 58, 0.1);
  color: #5e5761;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-decoration: none;
  writing-mode: vertical-rl;
  transition: width 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.22s ease, color 0.22s ease;
}

body.design-v2 .site-network-tab:is(:hover, :focus-visible, .is-current) {
  background: var(--sign-orange);
  border-color: var(--sign-orange);
  color: var(--white);
  outline: none;
}

body.design-v2 .site-network-tab:is(:hover, :focus-visible) {
  width: 46px;
}

body.design-v2 .site-network-tab.is-current {
  width: 52px;
}

body.design-v2 .site-network-tab:has(.site-network-tab-external) {
  padding: 10px 10px 28px;
}

body.design-v2 .site-network-tab-external {
  position: absolute;
  bottom: 9px;
  left: 50%;
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  mask: url("../img/icon-external-link.svg") center / contain no-repeat;
  -webkit-mask: url("../img/icon-external-link.svg") center / contain no-repeat;
  writing-mode: horizontal-tb;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 680px) {
  body.design-v2 .site-network-tabs {
    display: none;
  }
}

@media (min-width: 681px) {
  body.design-v2 .site-header .header-inner {
    min-height: var(--header-content-height);
  }

  body.design-v2 .site-header .brand-signboard {
    width: min(250px, 30vw);
    row-gap: 0;
    padding: 4px 0;
  }

  body.design-v2 .site-header .brand-signboard .brand-wordmark {
    width: min(220px, 100%);
  }

  body.design-v2 .site-header .brand-signboard .brand-sub {
    margin-bottom: 0;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  body.design-v2 .site-header .brand-signboard .brand-name {
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

@media (max-width: 980px) {
  body.design-v2 {
    --header-content-height: 88px;
    --page-header-offset: calc(var(--header-awning-height) + var(--header-content-height) + 34px);
  }

  body.design-v2 .site-header .nav {
    position: fixed;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(33, 77, 59, 0.16);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  body.design-v2 .site-header .nav.is-open {
    display: grid;
  }

  body.design-v2 .site-header .nav a {
    padding: 10px 8px;
  }

  body.design-v2 .site-header .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    flex: 0 0 auto;
    border-radius: 50%;
  }

  body.design-v2 .site-header .nav {
    top: calc(80px + var(--header-awning-height));
    z-index: 110;
    max-height: calc(100svh - 96px - var(--header-awning-height));
    overflow-y: auto;
    background: rgba(255, 253, 247, 0.98);
  }

  body.design-v2 .footer-inner {
    display: grid;
    gap: 30px;
  }

  body.design-v2 .footer-copy {
    text-align: left;
  }
}

@media (max-width: 680px) {
  html,
  body.design-v2 {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.design-v2 .site-header .header-inner {
    min-height: var(--header-content-height);
    height: var(--header-content-height);
  }

  body.design-v2 .site-header .brand-signboard {
    width: min(185px, calc(100vw - 120px));
    flex: 0 1 min(185px, calc(100vw - 120px));
    row-gap: 3px;
    padding: 9px 0 10px;
  }

  body.design-v2 .site-header .brand-signboard .brand-wordmark {
    width: 100%;
    max-width: 185px;
  }

  body.design-v2 .site-header .brand-signboard .brand-sub,
  body.design-v2 .site-header .brand-signboard .brand-name {
    width: 100%;
    white-space: nowrap;
  }

  body.design-v2 .site-header .menu-button {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    aspect-ratio: 1;
    border-radius: 50%;
  }

  body.design-v2 .site-header .nav {
    top: calc(88px + var(--header-awning-height));
    max-height: calc(100svh - 104px - var(--header-awning-height));
  }

}

/* Shared guide links and in-page navigation. */
body.design-v2 .text-link {
  display: inline-block;
  color: var(--accent-deep);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding-block: 8px;
}
body.design-v2 .page-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 30px;
}
body.design-v2 .page-jump-nav a {
  display: flex;
  flex: 1 1 180px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
body.design-v2 .page-jump-nav a::after { content: "↓"; color: var(--violet-deep); }
body.design-v2 .page-jump-nav a:hover { background: var(--gingham-cream); }
body.design-v2 .footer-page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, calc(100% - var(--content-gutter)));
  margin: 28px auto 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

body.design-v2 .footer-page-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 58px;
  padding: 16px 22px;
  border: 1px solid rgba(169, 95, 55, 0.42);
  border-radius: 12px;
  background: var(--paper);
  color: var(--accent-deep);
  box-shadow: 0 4px 12px rgba(122, 83, 44, 0.08);
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.design-v2 .footer-page-links a::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body.design-v2 .footer-page-links a:focus-visible {
  background-color: var(--coral-soft);
  border-color: var(--violet-deep);
  box-shadow: 0 7px 16px rgba(122, 83, 44, 0.16);
}

@media (hover: hover) {
  body.design-v2 .footer-page-links a:hover {
    background-color: var(--coral-soft);
    border-color: var(--violet-deep);
    box-shadow: 0 7px 16px rgba(122, 83, 44, 0.16);
    transform: translateY(-2px);
  }
}

body.design-v2 .footer-page-links a:active {
  background-color: var(--coral-soft);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(122, 83, 44, 0.12);
}

@media (max-width: 680px) {
  body.design-v2 .footer-page-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.design-v2) {
    scroll-behavior: auto;
  }

  body.design-v2 .site-network-tab,
  body.design-v2 .footer-page-links a {
    transition: none;
  }

  body.design-v2 .footer-page-links a:hover {
    transform: none;
  }
}

body.design-v2 :is(.page-jump-nav a, .text-link, .footer-page-links a):focus-visible {
  outline: 3px solid var(--violet-deep);
  outline-offset: 4px;
}

/* Shared inquiry access for every nursery page. */
body.design-v2 .kids-contact-guide {
  padding: clamp(40px, 6vw, 70px) 0;
  border-top: 1px solid #e8d5b7;
  background: repeating-linear-gradient(0deg, #edbb6b12 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, #edbb6b12 0 14px, #fff8e8 14px 28px);
}
body.design-v2 .kids-contact-guide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
body.design-v2 .kids-contact-guide-label {
  margin: 0 0 10px;
  color: #98663f;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
body.design-v2 .kids-contact-guide h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 2.4vw, 30px);
  color: var(--heading-text);
  line-height: 1.6;
}
body.design-v2 .kids-contact-guide p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
body.design-v2 .kids-contact-guide-actions { display: grid; gap: 12px; min-width: 290px; }
body.design-v2 .kids-contact-guide-actions .button { width: 100%; min-height: 54px; font-family: var(--font-ui); }
body.design-v2 .kids-contact-sticky { display: none; }
@media (min-width: 681px) and (max-width: 1180px) {
  body.design-v2 .kids-contact-guide-inner { width: calc(100% - 144px); gap: 24px; }
  body.design-v2 .kids-contact-guide-actions { min-width: 240px; }
}
@media (max-width: 760px) {
  body.design-v2 .kids-contact-guide-inner { grid-template-columns: 1fr; }
  body.design-v2 .kids-contact-guide-actions { min-width: 0; }
}
@media (max-width: 680px) {
  body.design-v2 { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.design-v2 .kids-contact-sticky {
    position: fixed;
    z-index: 65;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: #fffbf5f5;
    border-top: 1px solid #e4c9a6;
    box-shadow: 0 -4px 16px #7a532c0a;
  }
  body.design-v2 .kids-contact-sticky .button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 8px;
    white-space: nowrap;
    font-family: var(--font-ui);
    font-size: 13px;
  }
}
