@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
*/

/*
Theme Name: SWELL CHILD
Description: Child theme styling for kangosodan.com
*/

:root {
  --ks-ink: #354245;
  --ks-muted: #6f7e80;
  --ks-line: #eadfda;
  --ks-bg: #fff8f5;
  --ks-bg-soft: #fffdfb;
  --ks-pink: #f5cfc8;
  --ks-pink-light: #fff0eb;
  --ks-sage: #a9c9ba;
  --ks-sage-light: #eef7f2;
  --ks-teal: #4e9a9a;
  --ks-teal-dark: #2f7275;
  --ks-coral: #dc7d6a;
  --ks-cream: #fffaf3;
  --ks-white: #ffffff;
  --ks-shadow: 0 18px 42px rgba(120, 95, 88, .14);
}

body {
  color: var(--ks-ink);
  background: var(--ks-bg-soft);
}

body.page .p-breadcrumb,
body.page .c-pageTitle,
.home .p-mainVisual,
.home .p-mainVisual__inner,
.home .p-mainVisual__slideTitle {
  display: none !important;
}

body.page .l-sidebar {
  display: none !important;
}

body.page .l-content,
body.page .l-mainContent,
body.home .l-content,
body.home .l-mainContent {
  max-width: none !important;
  width: 100% !important;
}

body.page .post_content,
body.home .post_content {
  margin-top: 0 !important;
}

.l-header,
.p-spMenu__inner {
  border-bottom: 1px solid rgba(234, 223, 218, .85);
  background: rgba(255, 253, 251, .96);
  backdrop-filter: blur(10px);
}

.c-gnav > .menu-item > a,
.p-spMenu a {
  font-weight: 700;
}

.ks-v2 {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(245, 207, 200, .45), transparent 28%),
    radial-gradient(circle at 96% 18%, rgba(169, 201, 186, .35), transparent 28%),
    var(--ks-bg-soft);
}

.ks-v2-hero,
.ks-v2-section,
.ks-v2-contact-hero,
.ks-v2-page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ks-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 44px;
}

.ks-v2-kicker {
  margin: 0 0 12px;
  color: var(--ks-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.ks-v2-hero h1,
.ks-v2-contact-hero h1,
.ks-v2-page-hero h1 {
  margin: 0;
  color: var(--ks-ink);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.23;
  letter-spacing: 0;
}

.ks-v2-lead,
.ks-v2-contact-hero p,
.ks-v2-page-hero p,
.ks-v2-section p {
  color: var(--ks-muted);
  line-height: 1.9;
}

.ks-v2-lead {
  margin: 20px 0 0;
  font-size: 18px;
}

.ks-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--ks-teal-dark);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none !important;
}

.ks-button--primary {
  color: var(--ks-white) !important;
  background: linear-gradient(135deg, var(--ks-teal), var(--ks-teal-dark));
  box-shadow: 0 12px 26px rgba(78, 154, 154, .26);
}

.ks-button--ghost {
  color: var(--ks-teal-dark) !important;
  background: rgba(255, 255, 255, .85);
}

.ks-v2-badges,
.ks-v2-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ks-v2-badges li,
.ks-v2-contact-points span {
  padding: 8px 12px;
  border: 1px solid rgba(234, 223, 218, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ks-muted);
  font-size: 13px;
  font-weight: 800;
}

.ks-v2-hero__art,
.ks-v2-process-art {
  min-height: 440px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--ks-shadow);
}

.ks-v2-hero__art {
  background-image: url("https://kangosodan.com/wp-content/uploads/ks-static/image-56c303e5a4316279653717bcaddf42b234ac90156f6dc2f9a0115f86cc4550a7.jpg");
}

.ks-v2-process-art {
  min-height: 350px;
  background-image: url("https://kangosodan.com/wp-content/uploads/ks-static/image-3b127f0541f14d3c4e82d6b6fb41ff5467ebd87307eb6f3e6b788d39eefc55a7.jpg");
}

.ks-v2-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.ks-v2-section__head {
  max-width: 760px;
  margin-bottom: 24px;
}

.ks-v2-section h2,
.ks-v2-contact-card h2,
.ks-v2-form-side h2,
.ks-v2-policy h2,
.ks-v2-card h3 {
  margin: 0 0 12px;
  color: var(--ks-ink);
  letter-spacing: 0;
}

.post_content .ks-v2 h2 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ks-ink) !important;
}

.post_content .ks-v2 h2::before,
.post_content .ks-v2 h2::after {
  display: none !important;
}

.ks-v2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ks-v2-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(234, 223, 218, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 28px rgba(120, 95, 88, .08);
}

.ks-v2-card span {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ks-pink), var(--ks-sage));
}

.ks-v2-visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 34px;
  align-items: center;
}

.ks-v2-flow {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ks-v2-flow li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.ks-v2-flow b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ks-pink-light);
  color: var(--ks-coral);
}

.ks-v2-soft-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 240, 235, .95), rgba(238, 247, 242, .95));
}

.ks-v2-mini-links {
  display: grid;
  gap: 10px;
}

.ks-v2-mini-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(234, 223, 218, .95);
  border-radius: 16px;
  background: var(--ks-white);
  color: var(--ks-teal-dark);
  font-weight: 800;
  text-decoration: none !important;
}

.ks-v2-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: 26px;
  align-items: end;
  padding-top: 56px;
  padding-bottom: 24px;
}

.ks-v2-contact-card {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ks-pink-light), var(--ks-cream));
  box-shadow: var(--ks-shadow);
}

.ks-v2-form-lp {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.ks-v2-form-side {
  position: sticky;
  top: 90px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--ks-shadow);
}

.ks-v2-form-side ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ks-v2-form-side li {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--ks-sage-light);
  font-weight: 800;
}

.ks-form-wrap {
  padding: 26px;
  border: 1px solid rgba(234, 223, 218, .95);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--ks-shadow);
}

.ks-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ks-contact-form input,
.ks-contact-form select,
.ks-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--ks-line);
  border-radius: 14px !important;
  background: #fffdfc;
}

.ks-contact-form label,
.ks-choice-field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ks-ink);
  font-weight: 800;
}

.ks-contact-form label span,
.ks-choice-field legend span {
  color: var(--ks-coral);
  font-size: 12px;
}

.ks-contact-form small,
.ks-choice-field small {
  color: var(--ks-muted);
  font-size: 12px;
}

.ks-contact-form p {
  margin-bottom: 16px;
}

.ks-mail-note {
  margin: 4px 0 14px !important;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--ks-pink-light);
  color: #8b5b50 !important;
  font-size: 14px;
  font-weight: 700;
}

.ks-choice-field {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.ks-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ks-choice-grid label,
.ks-consent label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background: #fffdfc;
  font-weight: 700;
}

.ks-choice-grid input,
.ks-consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.ks-hp {
  display: none;
}

.ks-form-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.ks-form-message--success {
  background: var(--ks-sage-light);
  color: var(--ks-teal-dark);
}

.ks-form-message--error {
  background: var(--ks-pink-light);
  color: var(--ks-coral);
}

.ks-v2-page-hero {
  padding-top: 56px;
  padding-bottom: 24px;
}

.ks-v2-policy {
  max-width: 860px;
}

.ks-v2-policy h2 {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .ks-v2-hero,
  .ks-v2-visual-split,
  .ks-v2-soft-band,
  .ks-v2-contact-hero,
  .ks-v2-form-lp,
  .ks-form-row {
    grid-template-columns: 1fr;
  }

  .ks-v2-card-grid,
  .ks-choice-grid {
    grid-template-columns: 1fr;
  }

  .ks-v2-hero__art {
    min-height: 320px;
  }

  .ks-v2-process-art {
    min-height: 260px;
  }

  .ks-v2-form-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .ks-v2-hero,
  .ks-v2-section,
  .ks-v2-contact-hero,
  .ks-v2-page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ks-v2-hero {
    padding-top: 36px;
  }

  .ks-v2-hero h1,
  .ks-v2-contact-hero h1 {
    font-size: 32px;
  }

  .ks-v2-actions,
  .ks-button {
    width: 100%;
  }

  .ks-form-wrap,
  .ks-v2-form-side,
  .ks-v2-contact-card {
    padding: 20px;
    border-radius: 22px;
  }
}


/* SWELL page layout reset for the LP-style fixed pages. */
#body_wrap.page .p-breadcrumb,
#body_wrap.page .c-pageTitle,
#body_wrap.page .l-sidebar {
  display: none !important;
}
#body_wrap.page .l-content,
#body_wrap.page .l-mainContent,
#body_wrap.page .l-mainContent__inner {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}
#body_wrap.page .post_content {
  margin-top: 0 !important;
}


.ks-privacy-link {
  color: var(--ks-muted);
  font-size: 13px;
  line-height: 1.7;
}
.ks-privacy-link a {
  color: var(--ks-teal-dark);
  font-weight: 800;
}
@media (max-width: 520px) {
  .ks-v2-hero__art {
    order: -1;
    min-height: 230px;
    border-radius: 24px;
  }
}



/* V3 editorial redesign: append after the existing child-theme stylesheet. */
:root {
  --ks-v3-ink: #294b4b;
  --ks-v3-muted: #687878;
  --ks-v3-teal: #2f706c;
  --ks-v3-teal-dark: #1f5855;
  --ks-v3-coral: #d7796b;
  --ks-v3-coral-light: #f8e3df;
  --ks-v3-yellow: #f5dfa0;
  --ks-v3-cream: #fffaf2;
  --ks-v3-sand: #f6f0e8;
  --ks-v3-line: #e6ddd1;
  --ks-v3-white: #ffffff;
}

body { background: var(--ks-v3-cream); }
.l-header { border-bottom-color: rgba(230, 221, 209, .9); background: rgba(255, 250, 242, .97); }
.l-header__bar { background: var(--ks-v3-teal-dark) !important; }
.c-catchphrase { color: #fffaf2 !important; font-size: 12px !important; letter-spacing: 0 !important; }
.l-header .c-headLogo__link { display: flex; align-items: center; color: var(--ks-v3-ink) !important; font-size: 0 !important; letter-spacing: 0 !important; }
.l-header .c-headLogo__link::before { content: ""; display: inline-block; width: 46px; height: 46px; margin-right: 10px; background: center / contain no-repeat url("https://kangosodan.com/wp-content/uploads/ks-static/image-6a4028d303abb857142a65ff59dda7256b0250a77857e48865d65a48b537a405.png"); }
.l-header .c-headLogo__link::after { content: "ナースの休憩室"; color: var(--ks-v3-ink); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 23px; font-weight: 700; line-height: 1; white-space: nowrap; }
.c-gnav > .menu-item > a { color: var(--ks-v3-ink) !important; font-size: 14px; }
.c-gnav > .menu-item.current-menu-item > a::after, .c-gnav > .menu-item > a:hover::after { background: var(--ks-v3-coral) !important; }
.p-spMenu__inner { background: var(--ks-v3-cream); }

.ks-v3 { overflow: hidden; color: var(--ks-v3-ink); background: var(--ks-v3-cream); }
.ks-v3 h1, .ks-v3 h2, .ks-v3 h3, .ks-v3 p { letter-spacing: 0; }
.ks-v3 h1, .ks-v3 h2, .ks-v3 h3 { color: var(--ks-v3-ink); }
.ks-v3 p { color: var(--ks-v3-muted); line-height: 1.9; }
.ks-v3-hero, .ks-v3-lp-hero, .ks-v3-section, .ks-v3-soft-band { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.ks-v3-eyebrow { margin: 0 0 12px; color: var(--ks-v3-coral) !important; font-size: 12px; font-weight: 800; line-height: 1.3 !important; }
.ks-v3-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(410px, 1.05fr); align-items: center; gap: 42px; padding-top: 72px; padding-bottom: 72px; }
.ks-v3-hero h1, .ks-v3-lp-hero h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(38px, 4.7vw, 62px); font-weight: 600; line-height: 1.3; }
.ks-v3-lead { max-width: 580px; margin: 22px 0 0; font-size: 17px; }
.ks-v3-home-art { min-height: 410px; border-radius: 0; box-shadow: none; background-color: var(--ks-v3-sand); }
.ks-v3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.ks-v3-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 1px solid var(--ks-v3-teal); border-radius: 4px; background: var(--ks-v3-teal); color: #fff !important; font-weight: 800; line-height: 1; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.ks-v3-button:hover { background: var(--ks-v3-teal-dark); transform: translateY(-1px); }
.ks-v3-text-link { color: var(--ks-v3-teal) !important; font-weight: 800; text-decoration: underline; text-decoration-color: var(--ks-v3-yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.ks-v3-section { padding-top: 82px; padding-bottom: 82px; }
.ks-v3-section-heading { max-width: 650px; }
.ks-v3-section-heading h2, .ks-v3-editorial h2, .ks-v3-split h2, .ks-v3-soft-band h2 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(28px, 3.1vw, 42px); font-weight: 600; line-height: 1.4; }
.ks-v3-section-heading > p:last-child { margin: 17px 0 0; }
.ks-v3-theme-section { background: var(--ks-v3-white); }
.ks-v3-theme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--ks-v3-line); border-left: 1px solid var(--ks-v3-line); }
.ks-v3-theme-card { min-height: 245px; padding: 26px 24px; border-right: 1px solid var(--ks-v3-line); border-bottom: 1px solid var(--ks-v3-line); background: #fff; }
.ks-v3-theme-card:nth-child(2n) { background: #fffdf8; }
.ks-v3-theme-number { color: var(--ks-v3-coral); font-size: 13px; font-weight: 800; }
.ks-v3-theme-card h3 { margin: 38px 0 11px; font-size: 19px; }
.ks-v3-theme-card p { margin: 0; font-size: 14px; }
.ks-v3-editorial { display: grid; grid-template-columns: .72fr 1fr; gap: 80px; align-items: center; }
.ks-v3-editorial__art { position: relative; min-height: 325px; overflow: hidden; background: var(--ks-v3-yellow); }
.ks-v3-editorial__art::before { content: ""; position: absolute; width: 230px; height: 230px; border: 24px solid var(--ks-v3-teal); border-radius: 50% 50% 42% 42%; top: 45px; left: 50%; transform: translateX(-50%); }
.ks-v3-editorial__art::after { content: ""; position: absolute; width: 100px; height: 82px; background: var(--ks-v3-coral); bottom: 42px; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.ks-v3-editorial__art span:first-child { position: absolute; z-index: 1; width: 126px; height: 70px; border: 10px solid #fffaf2; border-radius: 68px 68px 0 0; top: 104px; left: calc(50% - 63px); }
.ks-v3-editorial__art span:nth-child(2) { position: absolute; z-index: 2; width: 56px; height: 8px; background: #fffaf2; top: 146px; left: calc(50% - 28px); }
.ks-v3-editorial__art span:nth-child(3) { position: absolute; z-index: 3; width: 92px; height: 43px; border: 8px solid var(--ks-v3-teal); border-top: 0; border-radius: 0 0 60px 60px; bottom: 76px; left: calc(50% - 46px); }
.ks-v3-editorial__copy p { margin: 17px 0 0; }
.ks-v3-area-section { background: var(--ks-v3-sand); }
.ks-v3-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.ks-v3-area-card { display: flex; min-height: 220px; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff !important; text-decoration: none !important; }
.ks-v3-area-card--oita { background: var(--ks-v3-teal); }
.ks-v3-area-card--nationwide { background: var(--ks-v3-coral); }
.ks-v3-area-card span { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; }
.ks-v3-area-card strong { margin-top: 20px; color: #fff; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 26px; font-weight: 600; }
.ks-v3-area-card small { margin-top: 10px; color: rgba(255,255,255,.9); font-size: 14px; }

.ks-v3-lp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: center; padding-top: 72px; padding-bottom: 68px; background: var(--ks-v3-cream); }
.ks-v3-lp-hero > div > p:not(.ks-v3-eyebrow) { max-width: 650px; margin: 22px 0 28px; font-size: 17px; }
.ks-v3-lp-hero__note { padding: 37px 34px; border-top: 6px solid var(--ks-v3-coral); background: #fff; box-shadow: 0 14px 34px rgba(67, 70, 63, .08); }
.ks-v3-lp-hero__note p { margin: 0; color: var(--ks-v3-ink); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 21px; line-height: 1.7; }
.ks-v3-lp-hero__note strong { color: var(--ks-v3-teal); }
.ks-v3-lp-hero__note ul { margin: 23px 0 0; padding: 0; list-style: none; }
.ks-v3-lp-hero__note li { position: relative; padding: 10px 0 10px 23px; border-top: 1px solid var(--ks-v3-line); color: var(--ks-v3-muted); font-size: 14px; }
.ks-v3-lp-hero__note li::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--ks-v3-coral); top: 16px; left: 0; }
.ks-v3-lp-art { min-height: 380px; border-radius: 0; background-color: var(--ks-v3-sand); }
.ks-v3-three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.ks-v3-three-grid article { padding: 30px 28px; border-top: 3px solid var(--ks-v3-teal); background: #fff; }
.ks-v3-three-grid article:nth-child(2) { border-color: var(--ks-v3-coral); }
.ks-v3-three-grid article:nth-child(3) { border-color: var(--ks-v3-yellow); }
.ks-v3-three-grid b { color: var(--ks-v3-coral); font-size: 13px; }
.ks-v3-three-grid h3 { margin: 29px 0 12px; font-size: 20px; }
.ks-v3-three-grid p { margin: 0; font-size: 14px; }
.ks-v3-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: var(--ks-v3-white); }
.ks-v3-split p:not(.ks-v3-eyebrow) { margin: 18px 0 0; }
.ks-v3-check-panel { padding: 35px 36px; background: var(--ks-v3-sand); }
.ks-v3-check-panel > p { margin: 0 !important; color: var(--ks-v3-ink) !important; font-size: 16px; font-weight: 800; }
.ks-v3-check-panel ul { margin: 23px 0 0; padding: 0; list-style: none; }
.ks-v3-check-panel li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid rgba(41,75,75,.15); color: var(--ks-v3-muted); font-size: 14px; }
.ks-v3-check-panel li::before { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--ks-v3-teal); border-radius: 50%; top: 16px; left: 0; }
.ks-v3-soft-band { display: flex; align-items: center; justify-content: space-between; gap: 48px; max-width: none; padding-top: 72px; padding-bottom: 72px; background: var(--ks-v3-teal-dark); }
.ks-v3-soft-band > div { width: min(760px, 100%); margin-left: max(32px, calc((100% - 1116px) / 2)); }
.ks-v3-soft-band .ks-v3-eyebrow { color: var(--ks-v3-yellow) !important; }
.ks-v3-soft-band h2 { color: #fffaf2; }
.ks-v3-soft-band p:not(.ks-v3-eyebrow) { margin: 16px 0 0; color: rgba(255,250,242,.78); }
.ks-v3-soft-band .ks-v3-button { flex: none; margin-right: max(32px, calc((100% - 1116px) / 2)); border-color: var(--ks-v3-yellow); background: var(--ks-v3-yellow); color: var(--ks-v3-teal-dark) !important; }
.ks-v3-soft-band .ks-v3-button:hover { background: #fff1bf; }
.ks-v3-faq { max-width: 900px; }
.ks-v3-faq h2 { margin: 0 0 24px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 30px; font-weight: 600; }
.ks-v3-faq details { border-top: 1px solid var(--ks-v3-line); }
.ks-v3-faq details:last-child { border-bottom: 1px solid var(--ks-v3-line); }
.ks-v3-faq summary { padding: 22px 40px 22px 0; color: var(--ks-v3-ink); font-weight: 800; cursor: pointer; }
.ks-v3-faq details p { margin: 0; padding: 0 0 22px; font-size: 14px; }
.ks-v3-contact-hero { padding-bottom: 48px; }
.ks-v3-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ks-v3-pill-row span { padding: 8px 11px; border: 1px solid var(--ks-v3-line); border-radius: 999px; background: #fff; color: var(--ks-v3-teal); font-size: 12px; font-weight: 800; }
.ks-v3-contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: start; padding-top: 40px; }
.ks-v3-contact-side { position: sticky; top: 30px; }
.ks-v3-contact-side h2 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 30px; font-weight: 600; }
.ks-v3-contact-side p:not(.ks-v3-eyebrow) { margin: 18px 0 0; }
.ks-v3-privacy-note { font-size: 13px; }
.ks-v3-privacy-note a { color: var(--ks-v3-teal); font-weight: 800; }
.ks-contact-page .ks-form-wrap { border-top: 5px solid var(--ks-v3-coral); border-radius: 0; box-shadow: 0 12px 30px rgba(67, 70, 63, .08); }
.ks-contact-page .ks-button--primary { border-radius: 4px; background: var(--ks-v3-teal); }

@media (max-width: 900px) {
  .ks-v3-hero, .ks-v3-lp-hero, .ks-v3-editorial, .ks-v3-split, .ks-v3-contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .ks-v3-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-v3-three-grid { grid-template-columns: 1fr; }
  .ks-v3-soft-band { display: block; padding-left: 32px; padding-right: 32px; }
  .ks-v3-soft-band > div, .ks-v3-soft-band .ks-v3-button { margin-left: 0; margin-right: 0; }
  .ks-v3-soft-band .ks-v3-button { margin-top: 26px; }
  .ks-v3-contact-side { position: static; }
}
@media (max-width: 600px) {
  .l-header .c-headLogo__link::before { width: 38px; height: 38px; margin-right: 7px; }
  .l-header .c-headLogo__link::after { font-size: 19px; }
  .ks-v3-hero, .ks-v3-lp-hero, .ks-v3-section { padding-left: 20px; padding-right: 20px; }
  .ks-v3-hero { padding-top: 42px; padding-bottom: 44px; }
  .ks-v3-lp-hero { padding-top: 44px; padding-bottom: 44px; }
  .ks-v3-hero h1, .ks-v3-lp-hero h1 { font-size: 34px; }
  .ks-v3-home-art, .ks-v3-lp-art { min-height: 250px; }
  .ks-v3-section { padding-top: 55px; padding-bottom: 55px; }
  .ks-v3-theme-grid, .ks-v3-area-grid { grid-template-columns: 1fr; }
  .ks-v3-theme-card { min-height: auto; }
  .ks-v3-editorial__art { min-height: 260px; }
  .ks-v3-soft-band { padding: 52px 20px; }
  .ks-v3-soft-band h2 { font-size: 28px; }
  .ks-v3-button { width: 100%; }
  .ks-v3-actions { display: block; }
  .ks-v3-actions .ks-v3-text-link { display: inline-block; margin-top: 22px; }
  .ks-v3-lp-hero__note, .ks-v3-check-panel { padding: 25px 22px; }
}


/* Keep the legacy informational pages in the same editorial color system. */
:root {
  --ks-ink: var(--ks-v3-ink);
  --ks-muted: var(--ks-v3-muted);
  --ks-line: var(--ks-v3-line);
  --ks-bg: var(--ks-v3-cream);
  --ks-bg-soft: var(--ks-v3-cream);
  --ks-pink: var(--ks-v3-coral-light);
  --ks-pink-light: #fff1ed;
  --ks-sage: #b9d4c5;
  --ks-sage-light: #eef6f2;
  --ks-teal: var(--ks-v3-teal);
  --ks-teal-dark: var(--ks-v3-teal-dark);
  --ks-coral: var(--ks-v3-coral);
  --ks-cream: var(--ks-v3-cream);
}
.ks-v3-simple-hero { max-width: 1180px; margin: 0 auto; padding: 68px 32px 36px; background: var(--ks-v3-cream); }
.ks-v3-simple-hero h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(36px, 4.1vw, 54px); font-weight: 600; line-height: 1.35; }
.ks-v3-simple-hero p:not(.ks-v3-eyebrow) { max-width: 650px; margin: 18px 0 0; font-size: 16px; }
.ks-v3-info-section { max-width: 900px; margin: 0 auto; padding: 40px 32px 82px; background: var(--ks-v3-cream); }
.ks-v3-info-section h2 { margin: 35px 0 10px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 24px; font-weight: 600; }
.ks-v3-info-section h2:first-child { margin-top: 0; }
.ks-v3-info-section p { margin: 0; }
.ks-v3-info-table { border-top: 1px solid var(--ks-v3-line); }
.ks-v3-info-table dl { display: grid; grid-template-columns: 180px 1fr; gap: 20px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--ks-v3-line); }
.ks-v3-info-table dt { color: var(--ks-v3-teal); font-weight: 800; }
.ks-v3-info-table dd { margin: 0; color: var(--ks-v3-muted); line-height: 1.8; }


@media (max-width: 600px) { .ks-v3-simple-hero { padding: 44px 20px 24px; } .ks-v3-info-section { padding: 28px 20px 55px; } .ks-v3-info-table dl { grid-template-columns: 1fr; gap: 7px; } }



/* V4: a softer, more reassuring visual layer. Append after the V3 stylesheet. */
:root {
  --ks-v3-ink: #4e5a56;
  --ks-v3-muted: #7a7973;
  --ks-v3-teal: #789d90;
  --ks-v3-teal-dark: #688c80;
  --ks-v3-coral: #d99b92;
  --ks-v3-coral-light: #f9e8e4;
  --ks-v3-yellow: #f5e3b8;
  --ks-v3-cream: #fffaf7;
  --ks-v3-sand: #fbefea;
  --ks-v3-line: #eee0da;
}

body, .ks-v3 { background: var(--ks-v3-cream); }
.l-header { border-bottom-color: #f1e2dc; background: rgba(255, 250, 247, .96); }
.l-header__bar { background: #f4d9d3 !important; }
.c-catchphrase { color: #866d68 !important; }
.l-header .c-headLogo__link::after { color: #59615d; font-size: 21px; font-weight: 600; }
.c-gnav > .menu-item > a { color: #66736d !important; font-weight: 600; }

.ks-v3-hero { gap: 50px; padding-top: 62px; padding-bottom: 68px; }
.ks-v3-hero h1, .ks-v3-lp-hero h1 { color: #59645f; font-size: clamp(34px, 4.1vw, 54px); font-weight: 500; line-height: 1.45; }
.ks-v3-lead, .ks-v3-lp-hero > div > p:not(.ks-v3-eyebrow) { color: #777a74; font-size: 16px; }
.ks-v3-eyebrow { color: #cc948b !important; font-weight: 700; }
.ks-v3-home-art { min-height: 440px; border-radius: 30px; background: center / cover no-repeat url("https://kangosodan.com/wp-content/uploads/ks-static/image-82d78a0c5ed8142176a365d5fc729cfb2cf236a438f44ac3ccd817a8c1a044d4.jpg") !important; box-shadow: 0 18px 36px rgba(152, 121, 112, .12); }
.ks-v3-button { min-height: 50px; border: 0; border-radius: 999px; background: #7caa9b; box-shadow: 0 8px 17px rgba(111, 157, 144, .2); font-weight: 700; }
.ks-v3-button:hover { background: #6c988a; }
.ks-v3-text-link { color: #839f93 !important; text-decoration-color: #f3d4a2; text-decoration-thickness: 2px; }

.ks-v3-theme-section { background: #fffdfb; }
.ks-v3-section { padding-top: 72px; padding-bottom: 72px; }
.ks-v3-section-heading h2, .ks-v3-editorial h2, .ks-v3-split h2, .ks-v3-soft-band h2 { color: #5c6661; font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; line-height: 1.5; }
.ks-v3-theme-grid { gap: 15px; border: 0; }
.ks-v3-theme-card, .ks-v3-theme-card:nth-child(2n) { min-height: 230px; padding: 25px; border: 0; border-radius: 20px; background: #fff6f2; box-shadow: 0 9px 23px rgba(172, 140, 130, .08); }
.ks-v3-theme-card:nth-child(2), .ks-v3-theme-card:nth-child(3) { background: #f1f7f2; }
.ks-v3-theme-card h3 { margin-top: 32px; color: #61756d; font-size: 18px; }
.ks-v3-theme-number { color: #dca398; }

.ks-v3-editorial { gap: 60px; }
.ks-v3-editorial__art { min-height: 300px; border-radius: 30px; background: #f9e3de; }
.ks-v3-editorial__art::before { width: 210px; height: 210px; border: 18px solid #b5d1c2; border-radius: 44% 56% 54% 46%; top: 42px; }
.ks-v3-editorial__art::after { width: 106px; height: 76px; border-radius: 34px 34px 12px 12px; background: #efd0c9; bottom: 36px; }
.ks-v3-editorial__art span:first-child { border-color: #fffdfb; }
.ks-v3-editorial__art span:nth-child(2) { background: #fffdfb; }
.ks-v3-editorial__art span:nth-child(3) { border-color: #8fb7a7; }

.ks-v3-area-section { background: #fff7f3; }
.ks-v3-area-grid { gap: 20px; }
.ks-v3-area-card { min-height: 205px; border-radius: 24px; box-shadow: 0 13px 28px rgba(172, 140, 130, .1); }
.ks-v3-area-card--oita { background: #9ebfb2; }
.ks-v3-area-card--nationwide { background: #e5ada4; }
.ks-v3-area-card strong { font-size: 24px; font-weight: 500; }

.ks-v3-lp-hero { gap: 48px; padding-top: 62px; padding-bottom: 58px; }
.ks-v3-lp-hero__note { border: 0; border-radius: 24px; background: #fff3ef; box-shadow: 0 12px 28px rgba(172, 140, 130, .08); }
.ks-v3-lp-hero__note p { color: #64756e; font-size: 20px; }
.ks-v3-lp-hero__note strong { color: #769b8e; }
.ks-v3-lp-hero__note li::before { background: #dda49b; }
.ks-v3-lp-art { border-radius: 28px; box-shadow: 0 16px 32px rgba(152, 121, 112, .1); }
.ks-v3-three-grid { gap: 16px; }
.ks-v3-three-grid article { padding: 29px 26px; border: 0; border-radius: 20px; background: #fff7f4; box-shadow: 0 9px 22px rgba(172, 140, 130, .07); }
.ks-v3-three-grid article:nth-child(2) { background: #f2f8f3; }
.ks-v3-three-grid article:nth-child(3) { background: #fff9ec; }
.ks-v3-three-grid h3 { color: #61756d; font-size: 19px; }
.ks-v3-split { gap: 52px; background: #fffdfb; }
.ks-v3-check-panel { border-radius: 24px; background: #f2f8f3; }
.ks-v3-check-panel li { border-top-color: rgba(120, 157, 144, .18); }
.ks-v3-check-panel li::before { border-color: #92b6a7; }
.ks-v3-soft-band { background: #f5dcd6; }
.ks-v3-soft-band .ks-v3-eyebrow { color: #b87871 !important; }
.ks-v3-soft-band h2 { color: #64706a; }
.ks-v3-soft-band p:not(.ks-v3-eyebrow) { color: #7b736e; }
.ks-v3-soft-band .ks-v3-button { border: 0; background: #7caa9b; color: #fff !important; }
.ks-v3-soft-band .ks-v3-button:hover { background: #6c988a; }
.ks-v3-faq details { border-color: #eeded8; }
.ks-v3-faq summary { color: #66736d; font-weight: 700; }
.ks-v3-pill-row span { border-color: #f0dfd9; background: #fffdfb; color: #829c91; }
.ks-contact-page .ks-form-wrap { border-top-color: #dfa49b; border-radius: 22px; box-shadow: 0 14px 30px rgba(172, 140, 130, .08); }
.ks-contact-page .ks-button--primary { border-radius: 999px; background: #7caa9b; }

@media (max-width: 600px) {
  .ks-v3-hero h1, .ks-v3-lp-hero h1 { font-size: 31px; line-height: 1.45; }
  .ks-v3-home-art { min-height: 285px; border-radius: 24px; }
  .ks-v3-theme-card, .ks-v3-theme-card:nth-child(2n) { min-height: auto; }
  .ks-v3-lp-hero__note, .ks-v3-check-panel { border-radius: 20px; }
}


/* --- ナースの休憩室 V5 polish --- */
/* ナースの休憩室: fixed-page refinements */

/* Fixed pages use a calm, readable heading style; post headings stay under SWELL control. */
div.l-mainContent__inner > .post_content h2,
body.page .post_content .ks-v3 h2 {
  color: var(--ks-v3-ink) !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

div.l-mainContent__inner > .post_content h2::before,
div.l-mainContent__inner > .post_content h2::after {
  content: none !important;
  display: none !important;
}

/* The title is the logo. Removing the abstract mark keeps the header easy to understand. */
.l-header .c-headLogo__link::before {
  content: none !important;
  display: none !important;
}

.l-header .c-headLogo__link::after {
  margin-left: 0 !important;
  color: #59615d !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px !important;
  font-weight: 700;
}

/* A genuine consultation scene gives this section a concrete meaning. */
.ks-v3-editorial__art {
  min-height: 320px;
  background: center / cover no-repeat url("https://kangosodan.com/wp-content/uploads/ks-static/image-3b127f0541f14d3c4e82d6b6fb41ff5467ebd87307eb6f3e6b788d39eefc55a7.jpg") !important;
}

.ks-v3-editorial__art::before,
.ks-v3-editorial__art::after,
.ks-v3-editorial__art span {
  content: none !important;
  display: none !important;
}

/* Article archive: a useful home from the first day, even before publication begins. */
.ks-v3-article-index {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px 88px;
}

.ks-v3-article-index__intro {
  max-width: 690px;
  margin: 0 auto 28px;
  color: #68736d;
  text-align: center;
  line-height: 1.9;
}

.ks-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ks-article-card {
  display: flex;
  min-height: 214px;
  padding: 26px 24px;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdfb;
  border: 1px solid #eedbd5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(111, 83, 70, 0.07);
}

.ks-article-card__meta {
  color: #ae7770;
  font-size: 13px;
}

.ks-article-card__title {
  display: block;
  margin: 14px 0 10px;
  color: var(--ks-v3-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.ks-article-card__title:hover { color: #a76f68; }

.ks-article-card__excerpt {
  margin: 0;
  color: #6d7670;
  font-size: 14px;
  line-height: 1.75;
}

.ks-article-empty {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 30px;
  background: #f9eae6;
  border: 1px solid #ecd5cf;
  border-radius: 8px;
  color: #65706a;
  text-align: center;
}

.ks-article-empty p { margin: 0; line-height: 1.9; }
.ks-article-empty p:first-child { margin-bottom: 8px; color: #59615d; font-size: 20px; font-weight: 700; }

@media (max-width: 782px) {
  .l-header .c-headLogo__link::after { font-size: 20px !important; }
  .ks-v3-editorial__art { min-height: 250px; }
  .ks-v3-article-index { padding: 16px 18px 64px; }
  .ks-article-grid { grid-template-columns: 1fr; gap: 14px; }
  .ks-article-card { min-height: 180px; padding: 22px 20px; }
  .ks-article-empty { padding: 36px 22px; }
}


/* Article archive uses its own editorial heading. */
body.page-id-30 .c-pageTitle { display: none; }


/* --- ナースの休憩室 V6 fixed-page headings and consultation visual --- */
/* Fixed page headings: override SWELL only outside ordinary post pages. */
div.l-mainContent__inner > .post_content h2 {
  box-sizing: border-box !important;
  color: #59615d !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-shadow: none !important;
}

div.l-mainContent__inner > .post_content h2::before,
div.l-mainContent__inner > .post_content h2::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* The consultation introduction gets a concrete, calm visual on wide screens. */
.ks-v3-area-section .ks-v3-section-heading {
  position: relative;
  max-width: 1120px;
  min-height: 276px;
  padding: 28px calc(47% + 52px) 28px 0;
}

.ks-v3-area-section .ks-v3-section-heading::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  min-height: 276px;
  border-radius: 22px;
  background: center / cover no-repeat url("https://kangosodan.com/wp-content/uploads/ks-static/image-18ab2fc8712b13f66c958ac4bed2b73321ca9a1c0049938e4be5ddb76cb85fba.jpg");
  box-shadow: 0 12px 28px rgba(125, 103, 94, 0.08);
}

@media (max-width: 782px) {
  .ks-v3-area-section .ks-v3-section-heading {
    min-height: 0;
    padding: 0;
  }

  .ks-v3-area-section .ks-v3-section-heading::after {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 238px;
    margin-top: 26px;
    border-radius: 18px;
  }
}


/* Keep the two consultation paths side by side on desktop. */
@media (min-width: 601px) {
  .ks-v3-area-grid > br {
    display: none;
  }
}


/* Keep the consultation CTA visually connected to its message on desktop. */
@media (min-width: 601px) {
  .ks-consultation-page .ks-v3-soft-band {
    display: block;
    padding: 64px 9%;
    text-align: center;
  }

  .ks-consultation-page .ks-v3-soft-band > div {
    max-width: 760px;
    margin: 0 auto;
  }

  .ks-consultation-page .ks-v3-soft-band > p:last-child {
    margin: 30px 0 0;
  }
}


/* Fixed page headings: override SWELL only outside ordinary post pages. */
div.l-mainContent__inner > .post_content h2 {
  box-sizing: border-box !important;
  color: #59615d !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-shadow: none !important;
}

div.l-mainContent__inner > .post_content h2::before,
div.l-mainContent__inner > .post_content h2::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Consultation visual on the home page. */
.ks-v3-area-section .ks-v3-section-heading {
  position: relative;
  max-width: 1120px;
  min-height: 276px;
  padding: 28px calc(47% + 52px) 28px 0;
}

.ks-v3-area-section .ks-v3-section-heading::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  min-height: 276px;
  border-radius: 22px;
  background: center / cover no-repeat url("https://kangosodan.com/wp-content/uploads/ks-static/image-1b4d766859126c0d6de818b041ce97c33dc230f960bbf2ef701d781a65598f3a.jpg");
  box-shadow: 0 12px 28px rgba(125, 103, 94, 0.08);
}

/* Keep the two consultation paths side by side on desktop. */
@media (min-width: 601px) {
  .ks-v3-area-grid > br {
    display: none;
  }

  .ks-consultation-page .ks-v3-soft-band {
    display: block;
    padding: 64px 9%;
    text-align: center;
  }

  .ks-consultation-page .ks-v3-soft-band > div {
    max-width: 760px;
    margin: 0 auto;
  }

  .ks-consultation-page .ks-v3-soft-band > p:last-child {
    margin: 30px 0 0;
  }
}

@media (max-width: 782px) {
  .ks-v3-area-section .ks-v3-section-heading {
    min-height: 0;
    padding: 0;
  }

  .ks-v3-area-section .ks-v3-section-heading::after {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 238px;
    margin-top: 26px;
    border-radius: 18px;
  }
}


/* Keep the desktop CTA close to its supporting message without centering the copy. */
@media (min-width: 601px) {
  .ks-consultation-page .ks-v3-soft-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
    padding: 64px 8%;
    text-align: left;
  }

  .ks-consultation-page .ks-v3-soft-band > div {
    max-width: 760px;
    margin: 0;
  }

  .ks-consultation-page .ks-v3-soft-band > p:last-child {
    flex: 0 0 auto;
    margin: 0;
  }
}


/* Keep the desktop CTA close to its supporting message without centering the copy. */
@media (min-width: 601px) {
  .ks-consultation-page .ks-v3-soft-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
    padding: 64px 8%;
    text-align: left;
  }

  .ks-consultation-page .ks-v3-soft-band > div {
    max-width: 760px;
    margin: 0;
  }

  .ks-consultation-page .ks-v3-soft-band > p:last-child {
    flex: 0 0 auto;
    margin: 0;
  }
}




/* Contact page: account for WordPress group wrappers and keep the form wide. */
.ks-contact-page .ks-v3-contact-hero,
.ks-contact-page .ks-v3-contact-layout {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.ks-contact-page .ks-v3-contact-hero {
  padding: 48px 32px 32px;
}

.ks-contact-page .ks-v3-contact-hero > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: 32px;
  align-items: center;
}

.ks-contact-page .ks-v3-hero-copy,
.ks-contact-page .ks-v3-lp-hero__note {
  min-width: 0;
}

.ks-contact-page .ks-v3-contact-hero .ks-v3-hero-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.6;
}

.ks-contact-page .ks-v3-pill-row {
  display: block;
}

.ks-contact-page .ks-v3-pill-row > .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ks-contact-page .ks-v3-pill-row p {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--ks-v3-line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}

.ks-contact-page .ks-v3-contact-layout {
  padding: 32px 32px 64px;
}

.ks-contact-page .ks-v3-contact-layout > .wp-block-group__inner-container {
  display: block;
  width: 100%;
  min-width: 0;
}

.ks-contact-page .ks-v3-contact-side {
  position: static;
  margin: 0 0 28px;
}

.ks-contact-page .ks-form-wrap {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 32px;
}

.ks-contact-page .ks-form-row > p {
  min-width: 0;
}

.ks-contact-page #ks_name_help {
  display: block;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .ks-contact-page .ks-v3-contact-hero > .wp-block-group__inner-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ks-contact-page .ks-form-row,
  .ks-contact-page .ks-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .ks-contact-page .ks-v3-contact-hero {
    padding: 32px 12px 20px;
  }

  .ks-contact-page .ks-v3-contact-layout {
    padding: 20px 12px 40px;
  }

  .ks-contact-page .ks-form-wrap {
    padding: 20px 16px;
  }
}


/* Inquiry confirmation and recovery, scoped to the contact page. */
.ks-contact-page #ks-contact-form,
.ks-contact-page #ks-email-step {
  scroll-margin-top: 120px;
}
.ks-contact-page .ks-email-confirmation h3 {
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.6;
}
.ks-contact-page .ks-confirm-address {
  padding: 18px;
  border: 1px solid var(--ks-v3-line);
  border-radius: 12px;
  background: #f1f6f3;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.ks-contact-page .ks-email-confirmation form {
  margin: 22px 0;
}
.ks-contact-page .ks-email-correction {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--ks-v3-line);
  border-radius: 12px;
}
.ks-contact-page .ks-email-correction summary {
  font-weight: 700;
  cursor: pointer;
}
.ks-contact-page .ks-email-confirmation .ks-button {
  max-width: 100%;
  white-space: normal;
  line-height: 1.7;
}


/* Make the next action clear throughout the inquiry flow. */
.ks-contact-followup .ks-contact-page .ks-v3-contact-hero,
.ks-contact-followup .ks-contact-page .ks-v3-contact-side {
  display: none;
}
.ks-contact-followup .ks-contact-page .ks-v3-contact-layout {
  max-width: 880px;
  padding-top: 28px;
}
.ks-contact-page .ksev-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.ks-contact-page .ksev-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 10px;
  border-radius: 8px;
  background: #f1f3f2;
  color: #5b6661;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.ks-contact-page .ksev-steps li::before,
.ks-contact-page .ksev-steps li::after {
  display: none;
}
.ks-contact-page .ksev-steps li > span {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}
.ks-contact-page .ksev-steps .is-current {
  background: #e1eee7;
  color: #285c48;
  box-shadow: inset 0 -3px #548875;
}
.ks-contact-page .ksev-steps .is-done {
  background: #f0f6f2;
  color: #456b59;
}
.ks-contact-page .ks-email-confirmation .ksev-title {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #42594e;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.6;
}
.ks-contact-page .ks-email-confirmation .ksev-title::before,
.ks-contact-page .ks-email-confirmation .ksev-title::after,
.ks-contact-page .ks-email-confirmation h3::before,
.ks-contact-page .ks-email-confirmation h3::after {
  display: none;
}
.ks-contact-page .ks-email-confirmation h3 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1.7;
}
.ks-contact-page .ks-email-confirmation p {
  margin: 0 0 16px;
  line-height: 1.85;
}
.ks-contact-page .ks-email-confirmation .ksev-lead {
  color: #344f42;
}
.ks-contact-page .ks-email-confirmation .ksev-address-label {
  margin-bottom: 6px;
  font-size: 14px;
}
.ks-contact-page .ks-email-confirmation .ks-confirm-address {
  padding: 12px 16px;
  font-size: 18px;
}
.ks-contact-page .ksev-next {
  margin: 22px 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: #f3f7f4;
}
.ks-contact-page .ksev-next ol {
  margin: 0;
  padding-left: 1.5em;
}
.ks-contact-page .ksev-next li {
  margin: 8px 0;
  line-height: 1.85;
}
.ks-contact-page .ks-email-confirmation .ksev-meta,
.ks-contact-page .ksev-submit-note {
  font-size: 13px;
  color: #5e6963;
  line-height: 1.8;
}
.ks-contact-page .ksev-submit-note { margin-top: 12px; }
.ks-contact-page .ksev-mobile-break { display: none; }
.ks-contact-page .ks-email-correction summary { line-height: 1.8; }
.ks-contact-page .ks-email-correction[open] summary { margin-bottom: 20px; }
@media (max-width: 600px) {
  .ks-contact-page .ksev-steps { gap: 5px; margin-bottom: 22px; }
  .ks-contact-page .ksev-steps li {
    flex-direction: column;
    gap: 6px;
    padding: 10px 5px;
    font-size: 12px;
    text-align: center;
  }
  .ks-contact-page .ksev-steps li > span { flex-basis: auto; width: 24px; }
  .ks-contact-page .ksev-next { padding: 16px; }
  .ks-contact-page .ksev-mobile-break { display: initial; }
  .ks-contact-page .ks-email-confirmation .ks-button { width: 100%; padding: 14px 16px; }
  .ks-contact-page .ks-confirm-address { font-size: 16px; }
}
