@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
  --cmd-bg: #fffaf7;
  --cmd-surface: #ffffff;
  --cmd-text: #4e433d;
  --cmd-muted: #766c65;
  --cmd-coral: #f28d82;
  --cmd-rose: #efa6b8;
  --cmd-mint: #edf9f2;
  --cmd-gold: #c6a35f;
  --cmd-border: #eadfcf;
  --cmd-shadow: 0 22px 54px rgba(112, 88, 64, .1);
  --cmd-hero-image: url("https://marriage-cmd.com/wp-content/uploads/2026/07/i2tV21c8qYMgP9F9kdSr7.webp");
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) {
  background: var(--cmd-bg);
  color: var(--cmd-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-content, .l-mainContent, .l-mainContent__inner, .post_content, .entry-content) {
  max-width: none;
  margin: 0;
  padding: 0;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-sidebar, .p-breadcrumb, .p-articleMetas, .p-articleFoot, .p-toc, .c-shareBtns, .sns-share, .sns-follow, .article-header, .entry-header, .entry-title) {
  display: none !important;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-header, #header) {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(198, 163, 95, .24);
  box-shadow: 0 12px 34px rgba(98, 80, 62, .08);
  backdrop-filter: blur(16px);
}

body.admin-bar:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-header, #header) {
  top: 32px;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-header__inner, .header-in) {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.c-headLogo, .site-name-text) {
  color: var(--cmd-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

body:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.c-gnav .ttl, .c-gnav a, .navi-in a) {
  color: #5a4d45;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.cmd-site,
.cmd-site * {
  box-sizing: border-box;
}

.cmd-site {
  min-height: 100vh;
  background: linear-gradient(180deg, #fffdfb 0%, #fff9f3 58%, #fbfff9 100%);
  color: var(--cmd-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.cmd-site section,
.cmd-final-cta {
  width: 100%;
  margin: 0;
  padding: 82px max(28px, calc((100vw - 1180px) / 2));
}

.cmd-site h1,
.cmd-site h2,
.cmd-site h3 {
  margin: 0 0 20px;
  color: var(--cmd-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.cmd-site h1 {
  max-width: 720px;
  font-size: clamp(36px, 3.7vw, 46px);
}

.cmd-site h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.cmd-site h3 {
  font-size: 21px;
}

.cmd-site p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--cmd-muted);
}

.cmd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #b68760;
  font-size: 13px;
  font-weight: 600;
}

.cmd-kicker::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.cmd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: 690px;
  padding-top: 70px;
  padding-bottom: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(237, 249, 242, .96) 0 26%, transparent 27%),
    linear-gradient(105deg, #fffdfb 0%, #fff7f1 55%, #ecf8f1 55%, #ecf8f1 100%);
}

.cmd-hero::before {
  content: "";
  position: absolute;
  inset: 24px max(22px, calc((100vw - 1230px) / 2));
  border: 1px solid rgba(198, 163, 95, .26);
  border-radius: 8px;
  pointer-events: none;
}

.cmd-hero-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cmd-hero-text p:not(.cmd-kicker) {
  max-width: 590px;
  font-size: 17px;
  line-height: 2;
}

.cmd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.cmd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cmd-coral), var(--cmd-rose));
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(242, 141, 130, .2);
}

.cmd-button:hover {
  color: #fff;
  opacity: .92;
}

.cmd-button-line {
  border: 1px solid rgba(198, 163, 95, .5);
  background: rgba(255, 255, 255, .9);
  color: #5b5049;
  box-shadow: 0 12px 24px rgba(198, 163, 95, .09);
}

.cmd-button-line:hover {
  color: #5b5049;
}

.cmd-text-link {
  color: var(--cmd-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cmd-gold);
  text-underline-offset: 6px;
}

.cmd-hero-media {
  position: relative;
  z-index: 1;
  justify-self: stretch;
  margin: 0;
}

.cmd-image-placeholder,
.cmd-photo-placeholder {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 248, 244, .48)),
    var(--cmd-hero-image);
  background-position: 55% center;
  background-size: cover;
  color: transparent;
  box-shadow: 0 26px 64px rgba(150, 113, 70, .18);
}

.cmd-image-placeholder::before,
.cmd-photo-placeholder::before {
  content: "婚活Lab CMD";
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255, 253, 249, .9);
  color: #554942;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 12px 26px rgba(88, 70, 56, .08);
}

.cmd-image-placeholder::after,
.cmd-photo-placeholder::after {
  content: "Free Counseling";
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 1;
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(78, 67, 61, .34);
}

.cmd-hero-media figcaption {
  margin-top: 14px;
  color: #746960;
  font-size: 13px;
}

.cmd-band {
  background: #fff;
}

.cmd-band-alt,
.cmd-video-library,
.cmd-final-cta {
  background: linear-gradient(135deg, #fff8ef 0%, var(--cmd-mint) 58%, #fff3f6 100%);
}

.cmd-narrow {
  max-width: 820px;
  margin-inline: auto;
}

.cmd-narrow p {
  max-width: none;
}

.cmd-two-col {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.cmd-support-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.cmd-support-layout > div,
.cmd-steps li,
.cmd-flow-detail li,
.cmd-price-plan,
.cmd-contact-form {
  border: 1px solid rgba(198, 163, 95, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(116, 91, 68, .07);
}

.cmd-support-layout > div {
  min-height: 210px;
  padding: 30px;
}

.cmd-steps,
.cmd-flow-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: cmd-step;
}

.cmd-flow-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmd-steps li,
.cmd-flow-detail li {
  counter-increment: cmd-step;
  padding: 22px;
}

.cmd-steps li::before,
.cmd-flow-detail li::before {
  content: counter(cmd-step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--cmd-coral);
  font-weight: 700;
}

.cmd-youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.cmd-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #eee3d6;
}

.cmd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cmd-faq-list details {
  border-top: 1px solid var(--cmd-border);
  padding: 18px 0;
}

.cmd-faq-list details:last-child {
  border-bottom: 1px solid var(--cmd-border);
}

.cmd-faq-list summary {
  cursor: pointer;
  color: var(--cmd-text);
  font-size: 18px;
  font-weight: 700;
}

.cmd-contact-form {
  padding: 30px;
}

.cmd-contact-form input,
.cmd-contact-form select,
.cmd-contact-form textarea {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}

.cmd-contact-form input[type="submit"] {
  width: auto;
  min-width: 180px;
  cursor: pointer;
}

.cmd-final-cta {
  margin-top: 0;
}

.cmd-final-cta h2,
.cmd-final-cta p {
  color: var(--cmd-text);
}

.cmd-sticky-line {
  position: fixed;
  right: 18px;
  top: 58%;
  z-index: 60;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--cmd-coral), var(--cmd-rose));
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  writing-mode: vertical-rl;
  box-shadow: 0 16px 28px rgba(242, 141, 130, .22);
}

.cmd-sticky-line:hover {
  color: #fff;
}

.cmd-sticky-line small {
  font-size: 12px;
}

.cmd-mobile-cta {
  display: none;
}

.cmd-reveal {
  opacity: 1;
  transform: none;
}

.cmd-animate .cmd-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.cmd-animate .cmd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cmd-animate .cmd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  body.admin-bar:is(.page-id-16, .page-id-17, .page-id-19, .page-id-14, .page-id-22) :is(.l-header, #header) {
    top: 0;
  }

  .cmd-site section,
  .cmd-final-cta {
    padding: 56px 20px;
  }

  .cmd-hero {
    display: block;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 50px;
    background: linear-gradient(168deg, #fffdfb 0%, #fff7f1 56%, var(--cmd-mint) 56%, var(--cmd-mint) 100%);
  }

  .cmd-hero::before {
    display: none;
  }

  .cmd-site h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.5;
  }

  .cmd-site h1 br {
    display: none;
  }

  .cmd-site h2 {
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .cmd-site h3 {
    font-size: 19px;
  }

  .cmd-site p,
  .cmd-site li,
  .cmd-site summary,
  .cmd-hero-text,
  .cmd-hero-text > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .cmd-hero-text p:not(.cmd-kicker) {
    font-size: 15px;
    line-height: 1.9;
  }

  .cmd-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .cmd-button,
  .cmd-button-line {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .cmd-hero-media {
    margin-top: 28px;
  }

  .cmd-image-placeholder,
  .cmd-photo-placeholder {
    aspect-ratio: 4 / 3;
    padding: 24px;
    background-position: 54% center;
  }

  .cmd-image-placeholder::before,
  .cmd-photo-placeholder::before {
    font-size: 18px;
  }

  .cmd-image-placeholder::after,
  .cmd-photo-placeholder::after {
    right: 18px;
    bottom: 18px;
    font-size: 11px;
  }

  .cmd-two-col,
  .cmd-support-layout,
  .cmd-steps,
  .cmd-flow-detail,
  .cmd-youtube-grid {
    grid-template-columns: 1fr;
  }

  .cmd-support-layout > div,
  .cmd-contact-form {
    min-height: 0;
    padding: 24px 20px;
  }

  .cmd-sticky-line {
    display: none;
  }

  .cmd-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
    background: rgba(255, 253, 249, .96);
    border-top: 1px solid rgba(198, 163, 95, .24);
  }

  .cmd-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cmd-coral), var(--cmd-rose));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
}

/* Larger premium top view: no face photo in the hero */
.post_content .cmd-site :is(h1, h2, h3) {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--cmd-text) !important;
}

.post_content .cmd-site :is(h1, h2, h3)::before,
.post_content .cmd-site :is(h1, h2, h3)::after {
  display: none !important;
}

body:has(.cmd-site) .l-header__bar,
body.cmd-has-site .l-header__bar {
  display: none;
}

body:has(.cmd-site) :is(.l-header__inner, .header-in),
body.cmd-has-site :is(.l-header__inner, .header-in) {
  min-height: 86px;
}

body:has(.cmd-site) :is(.c-headLogo, .site-name-text),
body.cmd-has-site :is(.c-headLogo, .site-name-text) {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
}

.cmd-site .cmd-hero {
  min-height: min(820px, calc(100vh - 86px));
  grid-template-columns: minmax(500px, .9fr) minmax(560px, 1.1fr);
  gap: clamp(44px, 6vw, 96px);
  padding-top: clamp(76px, 8vw, 118px);
  padding-bottom: clamp(76px, 8vw, 118px);
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .98) 0 45%, rgba(255, 253, 249, .16) 45% 100%),
    radial-gradient(circle at 75% 20%, rgba(233, 246, 255, .95) 0 16%, transparent 17%),
    radial-gradient(circle at 90% 78%, rgba(255, 241, 168, .55) 0 18%, transparent 19%),
    linear-gradient(118deg, #fffdf9 0%, #fff5ee 48%, #eaf8ef 48%, #eaf8ef 100%);
}

.cmd-site .cmd-hero::before {
  inset: 36px max(34px, calc((100vw - 1320px) / 2));
  border-color: rgba(196, 154, 84, .24);
  border-radius: 12px;
}

.cmd-site .cmd-hero-text {
  padding-left: clamp(0px, 1.2vw, 18px);
}

.cmd-site .cmd-hero h1 {
  max-width: 770px;
  margin-bottom: 24px;
  font-size: clamp(58px, 5.7vw, 82px);
  line-height: 1.18;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.cmd-site .cmd-hero-text p:not(.cmd-kicker) {
  max-width: 680px;
  color: #625850;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 2.08;
}

.cmd-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 4px;
}

.cmd-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgba(196, 154, 84, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #655950;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(112, 88, 64, .06);
}

.cmd-site .cmd-actions {
  margin-top: 34px;
}

.cmd-site .cmd-button {
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(242, 141, 130, .24);
}

.cmd-site .cmd-button-line {
  border-color: rgba(196, 154, 84, .38);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 32px rgba(112, 88, 64, .08);
}

.cmd-site .cmd-hero-media {
  align-self: center;
  width: min(100%, 670px);
  justify-self: end;
}

.cmd-site .cmd-hero-photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 560px;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 38px 90px rgba(122, 93, 64, .16);
}

.cmd-site .cmd-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 48% center;
}

.cmd-site .cmd-hero-photo::before {
  content: "婚活Lab CMD";
  position: absolute;
  left: 34px;
  top: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(196, 154, 84, .32);
  border-radius: 999px;
  background: rgba(255, 253, 249, .9);
  color: #5d524a;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(87, 67, 47, .1);
}

.cmd-site .cmd-hero-photo::after {
  content: "Free Counseling";
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 147, 135, .94), rgba(247, 178, 196, .94));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(87, 67, 47, .16);
}

.cmd-site .cmd-image-placeholder {
  display: block;
  min-height: 540px;
  aspect-ratio: 1.08 / 1;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(196, 154, 84, .28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 147, 135, .2) 0 11%, transparent 12%),
    radial-gradient(circle at 80% 18%, rgba(143, 213, 179, .26) 0 13%, transparent 14%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 252, 246, .74)),
    linear-gradient(135deg, #fff8f1, #effaf3);
  color: var(--cmd-text);
  box-shadow: 0 38px 90px rgba(122, 93, 64, .16);
}

.cmd-site .cmd-image-placeholder span,
.cmd-site .cmd-image-placeholder b,
.cmd-site .cmd-image-placeholder small {
  position: relative;
  z-index: 2;
  display: block;
}

.cmd-site .cmd-image-placeholder span {
  color: #b68760;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.cmd-site .cmd-image-placeholder b {
  margin-top: 14px;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(42px, 4.3vw, 64px);
  font-weight: 600;
  line-height: 1.12;
}

.cmd-site .cmd-image-placeholder small {
  margin-top: 14px;
  color: #75685e;
  font-size: 14px;
  font-weight: 700;
}

.cmd-site .cmd-image-placeholder::before {
  content: "";
  position: absolute;
  inset: auto 48px 58px 48px;
  display: block;
  height: 236px;
  padding: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 36%, #ff9387 0 18px, transparent 19px),
    radial-gradient(circle at 39% 66%, #8fd5b3 0 18px, transparent 19px),
    radial-gradient(circle at 69% 38%, #f7b2c4 0 18px, transparent 19px),
    radial-gradient(circle at 88% 72%, #c49a54 0 18px, transparent 19px),
    linear-gradient(28deg, transparent 11%, rgba(196, 154, 84, .54) 11% 12%, transparent 12% 100%),
    linear-gradient(146deg, transparent 18%, rgba(196, 154, 84, .34) 18% 19%, transparent 19% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72));
  border: 1px solid rgba(196, 154, 84, .26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.cmd-site .cmd-image-placeholder::after {
  content: "無料相談からご成婚まで、活動を設計";
  position: absolute;
  left: 90px;
  right: 90px;
  bottom: 86px;
  z-index: 2;
  display: block;
  color: #5f554c;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-shadow: none;
}

.cmd-site .cmd-hero-media::before {
  left: 4px;
  top: 112px;
  width: 126px;
  height: 92px;
  opacity: .88;
}

.cmd-site .cmd-hero-media::after {
  right: -14px;
  bottom: 94px;
  width: 126px;
  height: 126px;
}

.cmd-site .cmd-hero-media figcaption {
  max-width: 520px;
  margin: 18px 0 0 auto;
  color: #75685e;
  text-align: right;
}

.cmd-site .cmd-band {
  background: #fffdf9;
}

.cmd-site .cmd-band-alt,
.cmd-site .cmd-video-library,
.cmd-site .cmd-final-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 241, 168, .34) 0 12%, transparent 13%),
    linear-gradient(135deg, #fff8ef 0%, #eefaf2 55%, #fff3f6 100%);
}

.cmd-photo-story {
  display: grid;
  grid-template-columns: minmax(430px, .98fr) minmax(0, 1.02fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  background:
    linear-gradient(90deg, #fffdf9 0 42%, #eaf8ef 42% 100%);
}

.cmd-photo-story__media {
  position: relative;
  min-height: 520px;
}

.cmd-photo-story__media::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 44px;
  width: 74%;
  height: 72%;
  border-radius: 22px;
  background: #fff1a8;
  opacity: .48;
}

.cmd-photo-story__main,
.cmd-photo-story__accent,
.cmd-side-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmd-photo-story__main {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 78%;
  height: 410px;
  border: 10px solid #fff;
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(116, 91, 68, .14);
}

.cmd-photo-story__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  height: 300px;
  border: 10px solid #fff;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(116, 91, 68, .16);
}

.cmd-photo-story__body {
  min-width: 0;
}

.cmd-check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cmd-check-list li {
  position: relative;
  padding-left: 34px;
  color: #625850;
  font-weight: 600;
}

.cmd-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 48%, #fff 49% 59%, transparent 60%) 4px 3px / 10px 10px no-repeat,
    linear-gradient(135deg, var(--cmd-coral), var(--cmd-rose));
}

.cmd-flow-preview__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cmd-side-photo {
  position: relative;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(116, 91, 68, .14);
}

.cmd-side-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(71, 61, 56, .08));
  pointer-events: none;
}

.cmd-consult-visual .cmd-side-photo {
  min-height: 340px;
}

@media (max-width: 1100px) {
  .cmd-site .cmd-hero {
    grid-template-columns: 1fr;
  }

  .cmd-site .cmd-hero-media {
    justify-self: stretch;
    width: min(100%, 760px);
  }

  .cmd-photo-story,
  .cmd-flow-preview__inner {
    grid-template-columns: 1fr;
  }

  .cmd-photo-story__media {
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  body:has(.cmd-site) :is(.l-header__inner, .header-in),
  body.cmd-has-site :is(.l-header__inner, .header-in) {
    min-height: 64px;
  }

  .cmd-site .cmd-hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 66px;
    background:
      radial-gradient(circle at 88% 20%, rgba(233, 246, 255, .95) 0 18%, transparent 19%),
      linear-gradient(168deg, #fffdf9 0%, #fff6ef 58%, #eaf8ef 58%, #eaf8ef 100%);
  }

  .cmd-site .cmd-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .cmd-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cmd-site .cmd-image-placeholder {
    min-height: 360px;
    aspect-ratio: auto;
    padding: 28px 24px;
  }

  .cmd-site .cmd-image-placeholder::before {
    inset: auto 24px 42px 24px;
    height: 166px;
  }

  .cmd-site .cmd-image-placeholder::after {
    left: 48px;
    right: 48px;
    bottom: 62px;
    font-size: 12px;
  }

  .cmd-site .cmd-hero-media figcaption {
    text-align: left;
  }

  .cmd-site .cmd-hero-photo {
    min-height: 380px;
    aspect-ratio: 4 / 3;
  }

  .cmd-site .cmd-hero-photo::before {
    left: 18px;
    top: 18px;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .cmd-site .cmd-hero-photo::after {
    right: 16px;
    bottom: 16px;
    font-size: 12px;
  }

  .cmd-photo-story {
    background: linear-gradient(180deg, #fffdf9 0%, #eaf8ef 100%);
  }

  .cmd-photo-story__media {
    min-height: 430px;
  }

  .cmd-photo-story__main {
    width: 82%;
    height: 300px;
  }

  .cmd-photo-story__accent {
    width: 50%;
    height: 220px;
  }

  .cmd-side-photo {
    min-height: 300px;
  }
}

/* SWELL fit and brighter illustrated direction */
body:has(.cmd-site),
body.cmd-has-site {
  background: var(--cmd-bg);
  color: var(--cmd-text);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

body:has(.cmd-site) :is(#main_visual, .p-mainVisual, .l-topTitleArea, .c-pageTitle, .p-breadcrumb, .p-articleMetas, .p-articleFoot, .p-toc, .w-beforeToc, .c-shareBtns, .sns-share, .sns-follow, #sidebar, .l-sidebar),
body.cmd-has-site :is(#main_visual, .p-mainVisual, .l-topTitleArea, .c-pageTitle, .p-breadcrumb, .p-articleMetas, .p-articleFoot, .p-toc, .w-beforeToc, .c-shareBtns, .sns-share, .sns-follow, #sidebar, .l-sidebar) {
  display: none !important;
}

body:has(.cmd-site) :is(#content, .l-content, .l-mainContent, .l-mainContent__inner, .post_content),
body.cmd-has-site :is(#content, .l-content, .l-mainContent, .l-mainContent__inner, .post_content) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.cmd-site) .l-content,
body.cmd-has-site .l-content {
  display: block !important;
}

body:has(.cmd-site) :is(.l-header, #header),
body.cmd-has-site :is(.l-header, #header) {
  border-bottom: 1px solid rgba(196, 154, 84, .22);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(98, 80, 62, .08);
  backdrop-filter: blur(16px);
}

.cmd-site {
  --cmd-bg: #fffaf3;
  --cmd-surface: #ffffff;
  --cmd-text: #473d38;
  --cmd-muted: #74685f;
  --cmd-coral: #ff9387;
  --cmd-rose: #f7b2c4;
  --cmd-mint: #e8f8ed;
  --cmd-sky: #e9f6ff;
  --cmd-lemon: #fff1a8;
  --cmd-lavender: #f2edff;
  --cmd-gold: #c49a54;
  --cmd-border: #eadcc8;
  --cmd-shadow: 0 22px 54px rgba(112, 88, 64, .1);
  background:
    linear-gradient(180deg, #fffdf9 0%, #fff7ef 48%, #fbfff7 100%);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

.cmd-site h1,
.cmd-site h2 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-weight: 600;
}

.cmd-site h3 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.cmd-hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 78% 16%, rgba(233, 246, 255, .95) 0 15%, transparent 16%),
    radial-gradient(circle at 95% 70%, rgba(255, 241, 168, .52) 0 16%, transparent 17%),
    linear-gradient(108deg, #fffdf9 0%, #fff5ef 52%, #eaf8ef 52%, #eaf8ef 100%);
}

.cmd-hero::before {
  border-color: rgba(196, 154, 84, .3);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .28);
}

.cmd-hero-media {
  isolation: isolate;
}

.cmd-hero-media::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 34px;
  z-index: 2;
  width: 128px;
  height: 92px;
  border: 1px solid rgba(196, 154, 84, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24px 28px, #ff9387 0 8px, transparent 9px),
    radial-gradient(circle at 50px 28px, #f7b2c4 0 8px, transparent 9px),
    linear-gradient(#fff 0 0) 22px 54px / 78px 7px no-repeat,
    linear-gradient(#fff 0 0) 22px 70px / 54px 7px no-repeat,
    linear-gradient(135deg, #fff8f1, #e9f6ff);
  box-shadow: 0 18px 38px rgba(112, 88, 64, .14);
  pointer-events: none;
}

.cmd-hero-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 54px;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background:
    conic-gradient(from -40deg, #ff9387 0 28%, #fff1a8 28% 54%, #8fd5b3 54% 77%, #e9f6ff 77% 100%);
  box-shadow:
    inset 0 0 0 13px rgba(255, 255, 255, .82),
    0 18px 38px rgba(112, 88, 64, .14);
  pointer-events: none;
}

.cmd-image-placeholder,
.cmd-photo-placeholder {
  border-color: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 70px rgba(150, 113, 70, .18);
}

.cmd-support-layout > div {
  position: relative;
  overflow: hidden;
  padding-top: 104px;
  transition: transform .24s ease, box-shadow .24s ease;
}

.cmd-support-layout > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(116, 91, 68, .1);
}

.cmd-support-layout > div::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 26px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--cmd-sky));
  box-shadow: 0 12px 24px rgba(116, 91, 68, .1);
}

.cmd-support-layout > div::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cmd-support-layout > div:nth-child(1)::after {
  left: 42px;
  top: 44px;
  width: 50px;
  height: 30px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 13px 15px, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 25px 15px, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 37px 15px, #fff 0 3px, transparent 4px),
    var(--cmd-coral);
  box-shadow: 28px 18px 0 -6px var(--cmd-rose);
}

.cmd-support-layout > div:nth-child(2)::after {
  left: 47px;
  top: 39px;
  width: 38px;
  height: 46px;
  border: 3px solid var(--cmd-gold);
  border-radius: 8px;
  background:
    linear-gradient(var(--cmd-gold) 0 0) 9px 13px / 20px 2px no-repeat,
    linear-gradient(var(--cmd-gold) 0 0) 9px 23px / 16px 2px no-repeat,
    #fff;
}

.cmd-support-layout > div:nth-child(3)::after {
  left: 40px;
  top: 38px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #fff 0 8px, transparent 9px),
    radial-gradient(ellipse at 50% 76%, #fff 0 17px, transparent 18px),
    var(--cmd-mint);
  border: 3px solid #8fd5b3;
}

.cmd-support-layout > div:nth-child(4)::after {
  left: 42px;
  top: 42px;
  width: 46px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 44%, var(--cmd-gold) 45% 55%, transparent 56%) 5px 7px / 35px 22px no-repeat,
    linear-gradient(var(--cmd-coral) 0 0) 8px 27px / 30px 4px no-repeat,
    #fff;
  border: 3px solid var(--cmd-lemon);
}

.cmd-steps,
.cmd-flow-detail {
  position: relative;
}

.cmd-steps li,
.cmd-flow-detail li {
  position: relative;
  overflow: hidden;
  border-left: 0;
  border-top: 4px solid rgba(196, 154, 84, .56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 250, 243, .92));
}

.cmd-steps li::after,
.cmd-flow-detail li::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 6px, transparent 7px),
    radial-gradient(ellipse at 50% 78%, #fff 0 12px, transparent 13px),
    linear-gradient(135deg, var(--cmd-coral), var(--cmd-rose));
  opacity: .9;
}

.cmd-steps li:nth-child(2n)::after,
.cmd-flow-detail li:nth-child(2n)::after {
  background:
    linear-gradient(#fff 0 0) 10px 12px / 17px 3px no-repeat,
    linear-gradient(#fff 0 0) 10px 20px / 12px 3px no-repeat,
    linear-gradient(135deg, #8fd5b3, var(--cmd-mint));
}

.cmd-steps li:nth-child(3n)::after,
.cmd-flow-detail li:nth-child(3n)::after {
  background:
    linear-gradient(135deg, transparent 40%, #fff 41% 58%, transparent 59%),
    linear-gradient(135deg, var(--cmd-lemon), #ffe0a7);
}

.cmd-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 24%, rgba(233, 246, 255, .9) 0 18%, transparent 19%),
    linear-gradient(135deg, #fffdf9, #fff6ef 56%, #f4fbf7);
}

.cmd-page-hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  width: 160px;
  height: 104px;
  border: 1px solid rgba(196, 154, 84, .25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 33px 34px, var(--cmd-coral) 0 13px, transparent 14px),
    radial-gradient(circle at 66px 34px, #8fd5b3 0 13px, transparent 14px),
    linear-gradient(var(--cmd-gold) 0 0) 32px 70px / 88px 3px no-repeat,
    linear-gradient(#fff 0 0) 0 0 / 100% 100% no-repeat;
  box-shadow: 0 18px 38px rgba(112, 88, 64, .1);
}

.cmd-video-library {
  position: relative;
  overflow: hidden;
}

.cmd-video-library::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  top: 64px;
  width: 96px;
  height: 68px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 38%, #fff 39% 62%, transparent 63%) center / 38px 34px no-repeat,
    linear-gradient(135deg, var(--cmd-coral), var(--cmd-rose));
  box-shadow: 0 18px 38px rgba(112, 88, 64, .12);
}

@media (max-width: 900px) {
  body:has(.cmd-site) :is(.l-header__inner, .header-in),
  body.cmd-has-site :is(.l-header__inner, .header-in) {
    width: min(100% - 28px, 1180px);
    min-height: 62px;
  }

  .cmd-site {
    font-size: 15px;
  }

  .cmd-hero-media::before {
    left: 12px;
    top: 48px;
    width: 104px;
    height: 76px;
    transform: scale(.9);
    transform-origin: top left;
  }

  .cmd-hero-media::after {
    right: 8px;
    bottom: 48px;
    width: 82px;
    height: 82px;
  }

  .cmd-page-hero::after,
  .cmd-video-library::after {
    display: none;
  }

  .cmd-support-layout > div {
    padding-top: 94px;
  }
}

/* SWELL-style bright editorial direction based on the current reference */
.cmd-site {
  --cmd-bg: #fdfdfd;
  --cmd-surface: #ffffff;
  --cmd-text: #333333;
  --cmd-muted: #666666;
  --cmd-coral: #d66b66;
  --cmd-rose: #eaaba8;
  --cmd-soft: #f8f1f1;
  --cmd-mint: #eef8f1;
  --cmd-gold: #c6a35f;
  background: #fdfdfd;
  color: var(--cmd-text);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

.cmd-site h1,
.cmd-site h2,
.cmd-site h3 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--cmd-text) !important;
  font-weight: 700;
  letter-spacing: 0;
}

body:has(.cmd-site) :is(.l-header, #header),
body.cmd-has-site :is(.l-header, #header) {
  background: rgba(253, 253, 253, .96);
  border-bottom: 0;
  box-shadow: none;
}

body:has(.cmd-site) :is(.l-header__inner, .header-in),
body.cmd-has-site :is(.l-header__inner, .header-in) {
  min-height: 104px;
}

body:has(.cmd-site) :is(.c-headLogo, .site-name-text),
body.cmd-has-site :is(.c-headLogo, .site-name-text) {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 700;
}

body:has(.cmd-site) :is(.c-gnav .ttl, .c-gnav a, .navi-in a),
body.cmd-has-site :is(.c-gnav .ttl, .c-gnav a, .navi-in a) {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.cmd-top-notice {
  width: 100%;
  background: #f8f1f1;
  text-align: center;
}

.cmd-top-notice a {
  display: block;
  width: min(1184px, calc(100% - 32px));
  margin-inline: auto;
  padding: 13px 0;
  color: #9f5550;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.cmd-site section,
.cmd-final-cta {
  padding: 72px max(24px, calc((100vw - 1184px) / 2));
}

.cmd-site .cmd-hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fdfdfd;
}

.cmd-site .cmd-hero::before {
  display: none;
}

.cmd-site .cmd-hero > * {
  grid-area: 1 / 1;
}

.cmd-site .cmd-hero-media {
  z-index: 0;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: none;
}

.cmd-site .cmd-hero-photo {
  width: 100%;
  min-height: clamp(500px, 52vw, 660px);
  aspect-ratio: 2 / 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cmd-site .cmd-hero-photo img {
  object-position: 50% 48%;
}

.cmd-site .cmd-hero-photo::before,
.cmd-site .cmd-hero-photo::after,
.cmd-site .cmd-hero-media::before,
.cmd-site .cmd-hero-media::after,
.cmd-site .cmd-hero-media figcaption {
  display: none;
}

.cmd-site .cmd-hero-photo::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(253, 253, 253, .92) 0 39%, rgba(253, 253, 253, .54) 39% 58%, rgba(253, 253, 253, .08) 58% 100%),
    linear-gradient(180deg, rgba(253, 253, 253, .12), rgba(253, 253, 253, .26));
  box-shadow: none;
}

.cmd-site .cmd-hero-text {
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(1184px, calc(100% - 48px));
  padding: 76px 0;
}

.cmd-site .cmd-hero h1 {
  max-width: 610px;
  margin-bottom: 20px;
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1.28;
  word-break: keep-all;
}

.cmd-site .cmd-hero-text p:not(.cmd-kicker) {
  max-width: 590px;
  color: #444;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2;
}

.cmd-kicker {
  color: var(--cmd-coral);
  font-size: 14px;
  font-weight: 700;
}

.cmd-kicker::before {
  width: 36px;
}

.cmd-hero-proof span {
  min-height: 34px;
  border: 1px solid rgba(214, 107, 102, .24);
  border-radius: 4px;
  background: rgba(255, 255, 255, .78);
  color: #9f5550;
  box-shadow: none;
}

.cmd-site .cmd-button,
.cmd-mobile-cta a {
  min-height: 48px;
  border-radius: 4px;
  background: var(--cmd-rose);
  color: #fff;
  box-shadow: none;
}

.cmd-site .cmd-button:hover {
  background: var(--cmd-coral);
}

.cmd-site .cmd-button-line {
  border: 1px solid rgba(214, 107, 102, .28);
  background: #fff;
  color: #9f5550;
}

.cmd-site .cmd-band {
  background: #fff;
}

.cmd-site .cmd-band-alt,
.cmd-site .cmd-video-library,
.cmd-site .cmd-final-cta,
.cmd-site .cmd-support,
.cmd-site .cmd-flow-preview {
  background: #f8f1f1;
}

.cmd-worry {
  text-align: center;
}

.cmd-worry .cmd-narrow {
  max-width: 920px;
}

.cmd-worry .cmd-kicker {
  justify-content: center;
}

.cmd-worry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 30px auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.cmd-worry-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid rgba(214, 107, 102, .14);
  border-radius: 4px;
  background: #fff;
  color: #444;
  font-weight: 700;
}

.cmd-worry-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cmd-rose);
}

.cmd-photo-story {
  background: #fff;
}

.cmd-photo-story__media::before {
  background: #f8f1f1;
  opacity: 1;
}

.cmd-photo-story__main,
.cmd-photo-story__accent,
.cmd-side-photo {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(72, 52, 44, .08);
}

.cmd-support {
  text-align: center;
}

.cmd-support .cmd-kicker {
  justify-content: center;
}

.cmd-support-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cmd-support-layout > div {
  min-height: 280px;
  padding: 112px 22px 28px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.cmd-support-layout > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(72, 52, 44, .08);
}

.cmd-support-layout > div::before {
  left: 24px;
  top: 26px;
  border-radius: 4px;
  background: #f8f1f1;
}

.cmd-values {
  background: #fff;
}

.cmd-steps li,
.cmd-flow-detail li,
.cmd-price-plan,
.cmd-contact-form {
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.cmd-steps li,
.cmd-flow-detail li {
  border-top: 3px solid var(--cmd-rose);
}

.cmd-page-hero {
  background: #f8f1f1;
}

.cmd-page-hero::after,
.cmd-video-library::after {
  display: none;
}

.cmd-final-cta {
  text-align: center;
}

.cmd-final-cta p,
.cmd-final-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .cmd-support-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body:has(.cmd-site) :is(.l-header__inner, .header-in),
  body.cmd-has-site :is(.l-header__inner, .header-in) {
    min-height: 68px;
  }

  .cmd-top-notice a {
    width: min(100% - 28px, 1184px);
    font-size: 12px;
  }

  .cmd-site section,
  .cmd-final-cta {
    padding: 54px 20px;
  }

  .cmd-site .cmd-hero-photo {
    min-height: 540px;
    aspect-ratio: auto;
  }

  .cmd-site .cmd-hero-photo::after {
    background:
      linear-gradient(180deg, rgba(253, 253, 253, .9) 0 42%, rgba(253, 253, 253, .52) 62%, rgba(253, 253, 253, .1) 100%);
  }

  .cmd-site .cmd-hero-text {
    width: min(100% - 36px, 1184px);
    align-self: start;
    padding: 48px 0 260px;
  }

  .cmd-site .cmd-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .cmd-worry-list,
  .cmd-support-layout {
    grid-template-columns: 1fr;
  }

  .cmd-photo-story__main,
  .cmd-photo-story__accent {
    border-width: 0;
  }
}
