:root {
  --navy: #102450;
  --navy-2: #172852;
  --text: #253557;
  --muted: #66738a;
  --line: #cbd3df;
  --soft-blue: #eef6ff;
  --soft-peach: #fff7f1;
  --peach: #f2c7b7;
  --coral: #df6658;
  --coral-2: #e98778;
  --green: #0d934a;
  --green-2: #25ad63;
  --white: #ffffff;
  --shadow: 0 18px 32px rgba(23, 40, 82, 0.08);
  --content: 1040px;
  --wide: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  line-height: 1.8;
}

.font-mincho {
  font-family: "Shippori Mincho", "Noto Sans JP", serif;
  font-weight: 700;
}

.font-klee {
  font-family: "Klee One", "Noto Sans JP", cursive;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.page-width {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 48px));
}

.section {
  position: relative;
  padding: 64px 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 15.5px 72px 16.5px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(231, 235, 242, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  background: #fff8f4;
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.4;
}

.brand strong {
  font-size: 14px;
  font-weight: 500;
}

.brand small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--coral);
}

.nav-cta {
  min-width: 179px;
  min-height: 42px;
  padding: 8px 22px 9px;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  background: linear-gradient(137.76deg, var(--coral-2) 0%, #c94e42 100%);
  border-radius: 999px;
  box-shadow: 0 14px 14px rgba(201, 78, 66, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  min-height: 773px;
  padding: 57px 0 40px;
  overflow: hidden;
  background:
    linear-gradient(104deg, rgba(255, 215, 244, 0.32) 0%, rgba(223, 244, 255, 0.32) 37%, rgba(255, 255, 255, 0.32) 100%),
    radial-gradient(circle at 46% 40%, rgba(255, 247, 241, 0.62) 0 16%, rgba(255, 229, 219, 0.5) 17% 31%, transparent 32%),
    url("./assets/_haikei.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.68);
  pointer-events: none;
}

.hero .page-width {
  width: min(1040px, calc(100% - 48px));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 644px) minmax(0, 585px);
  gap: 0;
  align-items: end;
  justify-content: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-right: -185px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy-2);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-title-accent,
.section-copy h2 span {
  color: var(--coral);
}

.hero-title {
  font-size: 40px;
  line-height: 79.36px;
}

.hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  padding-left: 32px;
  white-space: nowrap;
}

.hero-title-accent {
  padding-left: 0;
  color: var(--coral);
  font-size: 56px;
  line-height: 80px;
  text-shadow: 0 0 9px #fff;
}

.kern-he {
  display: inline-block;
  margin-left: -0.16em;
}

.lead {
  max-width: 540px;
  margin: 11px 0 0;
  padding-left: 32px;
  color: #24365f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 540px;
  min-height: 170px;
  margin: 0;
  padding: 23px 0 15px;
}

.feature-badges article {
  display: grid;
  width: 132px;
  height: 132.94px;
  min-height: 132px;
  place-items: center;
  gap: 3px;
  padding: 21px 4px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e7ebf2;
  border-radius: 75.66px;
  box-shadow: 0 18px 45px rgba(23, 40, 82, 0.08);
}

.feature-badges .icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feature-badges strong {
  color: var(--navy-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.feature-badges small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.reply-note {
  width: 330px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 330px;
  min-height: 66px;
  padding: 10px 22px;
  color: var(--white);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.8;
  border-radius: 999px;
  box-shadow: 0 14px 20px rgba(201, 78, 66, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible,
.outline-button:hover,
.outline-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.button-mail {
  background: linear-gradient(135deg, var(--coral-2) 0%, #c94e42 100%);
}

.button-line {
  font-weight: 500;
  background: linear-gradient(95deg, var(--green-2), var(--green));
}

.button-line span {
  font-size: 14px;
}

.button-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 585px;
  max-width: 52vw;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.worries {
  --worries-overlap: 86px;
  margin-top: calc(var(--worries-overlap) * -1);
  background: #eef4fb;
  border-radius: 480px 480px 0 0 / 63px 63px 0 0;
}

.worries.section {
  padding: 58px 0 64px;
}

.worries h2,
.works h2,
.flow h2,
.voices h2,
.price-shell h2 {
  margin: 0 0 36px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.worries h2 span {
  color: var(--coral);
}

.worry-board {
  position: relative;
  width: min(754px, 100%);
  min-height: 315px;
  margin-inline: auto;
}

.worry-list {
  position: relative;
  height: 140px;
  max-width: 754px;
  margin-inline: auto;
}

.worry-list p {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  min-height: 61px;
  margin: 0;
  padding: 8px 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
  text-align: center;
  background: var(--white);
  border: 2px solid #8290aa;
  border-radius: 16px;
  box-shadow: 0 4px 0 rgba(23, 40, 82, 0.18);
}

.worry-list p:nth-child(1) { left: 16px; top: 0; }
.worry-list p:nth-child(2) { left: 0; top: 79px; }
.worry-list p:nth-child(3) {
  left: 255px;
  top: 0;
  width: 244px;
}
.worry-list p:nth-child(4) { left: 514px; top: 0; }
.worry-list p:nth-child(5) { left: 530px; top: 79px; }

.thinking-person {
  position: absolute;
  left: 310px;
  top: 98px;
  width: 134px;
  height: 217px;
  background: url("./assets/悩み_irast.png") center / contain no-repeat;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(0, 580px);
  gap: 80px;
  align-items: end;
  justify-content: center;
}

.solution .page-width {
  width: min(1280px, calc(100% - 60px));
}

.photo-panel {
  margin: 0;
  min-height: 380px;
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow);
}

.consultation {
  width: 100%;
  max-width: 610px;
  aspect-ratio: 700 / 528;
  overflow: hidden;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
}

.consultation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.section-copy {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-width: 0;
}

.section-copy .hand-note {
  position: absolute;
  top: -38px;
  left: -45px;
  z-index: 1;
  margin: 0;
  color: var(--coral);
  font-size: 36px;
  font-weight: 600;
  line-height: 0.7;
  white-space: nowrap;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.section-copy h2,
.reasons h2,
.final-cta h2,
.mid-cta h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.75;
}

.section-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pill-grid span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 50px;
  padding: 12px 17px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  white-space: normal;
  background: var(--peach);
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  min-width: 0;
}

.pill-grid span::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: url("./assets/icon_check.png") center / contain no-repeat;
}

.works {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 14px;
}

.work-card {
  min-height: 235px;
  padding: 8px 8px 17px;
  background: var(--white);
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(23, 40, 82, 0.06);
}

.work-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 0 4px;
}

.work-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: var(--coral);
  border-radius: 8px;
}

.work-card strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.work-card small {
  display: block;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.work-thumb {
  width: 100%;
  height: 163px;
  margin-bottom: 8px;
  border-radius: 5px;
  background-color: #f7f3f7;
  background-position: center;
  background-size: cover;
}

.thumb-1 { background-image: url("./assets/work_powerstone.png"); }
.thumb-2 { background-image: url("./assets/work_nailsalon.png"); }
.thumb-3 { background-image: url("./assets/work_エコキュート.png"); }
.thumb-4 { background-image: url("./assets/work_washing.png"); }
.thumb-5 { background-image: url("./assets/work_不用品回収.png"); }
.thumb-6 { background-image: url("./assets/mock_marutto.png"); }
.thumb-7 { background-image: url("./assets/work_yoga.png"); }
.thumb-8 { background-image: url("./assets/work_prasenta.png"); }

.outline-button {
  display: flex;
  width: fit-content;
  min-width: 290px;
  margin: 30px auto 0;
  padding: 12px 22px;
  justify-content: center;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--coral-2);
  border-radius: 2px;
  transition: transform 160ms ease, background 160ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--soft-peach);
}

.reasons {
  background: #fff7f1;
}

.reasons.section {
  background-color: #fff7f1;
  background-image: none;
}

.reasons h2 {
  text-align: center;
}

.reasons h2 span {
  display: inline-block;
  margin: 0 8px;
  color: var(--coral);
  font-family: "Jost", Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  filter: drop-shadow(0 0 8px rgba(255, 153, 151, 0.25));
}

.reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 440px;
  padding: 40px 24px 24px;
  text-align: center;
  background: var(--white);
}

.point {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: flex-end;
  gap: 6px;
  width: 113px;
  min-height: 37px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: var(--peach);
  font-family: "Jost", Arial, sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 23.4px;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.point::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: 0;
  width: 118px;
  height: 11px;
  background: url("./assets/reason_point_line.svg") center / 100% 100% no-repeat;
}

.point b {
  font-size: 36px;
  font-weight: 500;
  line-height: 23.4px;
}

.reason-image {
  box-sizing: content-box;
  width: 100%;
  height: 159px;
  margin-bottom: 22px;
  border: 6px solid var(--soft-peach);
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent),
    linear-gradient(135deg, #d9e7ef, #f6d7c8);
  background-position: center;
  background-size: cover;
  background-clip: content-box;
}

.reason-1 { background-image: url("./assets/選ばれるポイント01.png"); }
.reason-2 { background-image: url("./assets/選ばれるポイント02.png"); }
.reason-3 { background-image: url("./assets/選ばれるポイント03.png"); }

.reason-card h3 {
  width: 100%;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.reason-card p:last-child {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 160px;
  padding: 10px 12px 16px;
  text-align: center;
  background: var(--peach);
  border: 1px solid #e7ebf2;
  border-radius: 16px;
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #8290aa;
  transform: translateY(-50%);
}

.flow-list span {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  place-items: center;
  color: #8290aa;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-weight: 500;
  background: var(--soft-peach);
  border-radius: 50%;
}

.flow-list strong {
  display: block;
  padding-bottom: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #8290aa;
}

.flow-list small {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}

.pricing {
  background: #f8fbff;
}

.price-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 35px 25px;
  background: var(--white);
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  box-shadow: 0 12px 15px rgba(23, 40, 82, 0.05);
}

.price-shell h2 {
  margin: 0 0 24px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  padding-top: 43px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 286px;
  height: 100%;
  padding: 25px 18px 49px;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: 8px;
}

.price-card.recommended {
  border-color: var(--coral-2);
  box-shadow: 0 0 3px rgba(23, 40, 82, 0.05);
}

.price-card em {
  position: absolute;
  top: -18px;
  left: 4px;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: var(--white);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  background: var(--coral);
  border-radius: 50%;
}

.price-card .for {
  position: absolute;
  top: -43px;
  left: 0;
  width: 100%;
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 43.2px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
}

.price-card strong {
  display: block;
  margin: 4px 0;
  color: var(--navy);
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.price-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 500;
}

.price-card ul {
  margin: 14px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.mid-cta {
  display: flex;
  align-items: center;
  min-height: 400px;
  overflow: hidden;
  background-color: var(--soft-peach);
  background-image: url("./assets/CTA_1_背景.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.mid-cta.section {
  padding: 0;
}

.mid-cta h2 {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 24px;
  line-height: 43.2px;
  text-shadow: 0 0 6px var(--white), 0 0 6px var(--white);
}

.mid-cta .split {
  grid-template-columns: 386px 1fr;
  gap: 52px;
  align-items: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-row.vertical {
  display: grid;
  justify-content: start;
  margin-top: 28px;
}

.smartphone {
  display: none;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.voice-card {
  min-height: 300px;
  padding: 38px 25px 28px;
  background: var(--white);
  border: 1px solid #f0e6dc;
  border-radius: 8px;
}

.voice-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 50%;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.voice-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.voice-card p {
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
}

.voice-card small {
  color: var(--navy);
  font-size: 12px;
  font-weight: 400;
}

.final-cta {
  min-height: 435px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: #102450 url("./assets/CTA_2_背景.png") center / cover no-repeat;
}

.final-cta h2 {
  max-width: 980px;
  margin-inline: auto;
  color: var(--white);
  font-size: 32px;
  line-height: 1.65;
  overflow-wrap: normal;
  text-wrap: balance;
}

.final-cta .button-mail {
  font-weight: 700;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  overflow-wrap: normal;
  text-wrap: balance;
}

.final-cta .page-width {
  position: relative;
}

.final-cta h2,
.final-cta p,
.final-cta .cta-row,
.final-cta .trust-list {
  position: relative;
  z-index: 2;
}

.final-cta .page-width::after {
  content: "";
  position: absolute;
  right: -96px;
  bottom: -72px;
  z-index: 1;
  width: 219px;
  height: 189px;
  background: url("./assets/CTA_2_photo+coments.png") center / contain no-repeat;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: center;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  font-weight: 500;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  background: url("./assets/icon_check.png") center / contain no-repeat;
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 24px;
  }

  .hero-inner,
  .mid-cta .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-right: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution .page-width {
    width: min(760px, calc(100% - 48px));
  }

  .hero .page-width {
    width: min(100% - 48px, 760px);
  }

  .hero-visual {
    width: min(585px, 100%);
    max-width: 100%;
    justify-self: center;
  }

  .smartphone {
    margin-left: 0;
    border-radius: 18px;
  }

  .consultation {
    justify-self: center;
    max-width: 610px;
    border-radius: 8px;
  }

  .solution .section-copy {
    width: 100%;
    margin-inline: auto;
  }

  .work-grid,
  .reason-grid,
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-list li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 10px;
  }

  .nav-cta {
    width: 100%;
  }

  .price-grid {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .price-card .for {
    position: static;
    margin: 0 0 16px;
    line-height: 1.6;
    white-space: normal;
  }

  .price-card em {
    top: -26px;
    left: 12px;
  }

  .worry-list {
    display: grid;
    height: auto;
    gap: 14px;
  }

  .worry-list p {
    position: static;
    width: 100%;
    min-height: 58px;
  }

  .worry-list p:nth-child(3) {
    width: 100%;
  }

  .worry-board {
    min-height: auto;
  }

  .thinking-person {
    position: relative;
    margin: 20px auto 0;
    left: auto;
    top: auto;
  }

  .price-grid {
    gap: 54px;
  }

  .flow-list {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 38px;
  }

  .flow-list li {
    width: min(68vw, 260px);
  }

  .flow-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    display: block;
    border-top: 10px solid #8290aa;
    border-right: 8px solid transparent;
    border-bottom: 0;
    border-left: 8px solid transparent;
    transform: translateX(-50%);
  }

  .flow-list small {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-width,
  .narrow {
    width: min(100% - 32px, var(--content));
  }

  .section {
    padding: 48px 0;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand small {
    font-size: 10px;
  }

  h1 {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .brand strong,
  .brand small {
    font-size: 11px;
  }

  .hero-title-line {
    width: 100%;
    padding-left: 0;
    white-space: normal;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.45;
  }

  .hero-title-accent {
    font-size: 38px;
    line-height: 1.35;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .lead {
    padding-left: 0;
    font-size: 17px;
  }

  .feature-badges {
    justify-content: center;
  }

  .button {
    width: 100%;
    min-width: 0;
    font-size: 18px;
  }

  .section-copy .hand-note {
    top: -30px;
    left: 0;
    font-size: 30px;
  }

  .solution .split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .solution .section-copy {
    display: contents;
  }

  .solution .section-copy .hand-note {
    order: 1;
    position: static;
    align-self: flex-start;
    width: fit-content;
    margin: 0;
    transform: rotate(-3deg);
  }

  .solution .section-copy h2 {
    order: 2;
    margin-bottom: 0;
  }

  .solution .consultation {
    order: 3;
  }

  .solution .section-copy > p:not(.hand-note) {
    order: 4;
  }

  .solution .pill-grid {
    order: 5;
    width: 100%;
    margin-top: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 24px;
    background-position: center, center, 68% 4%;
    background-size: auto, auto, auto 115%;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow {
    order: 1;
  }

  .hero-title {
    order: 2;
  }

  .lead {
    order: 3;
  }

  .hero-visual {
    order: 4;
    width: min(100%, 420px);
    margin: 18px auto 0;
  }

  .feature-badges {
    order: 5;
    min-height: 0;
    margin-top: 18px;
    padding: 0;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .feature-badges article {
    flex: 1 1 0;
    width: auto;
    height: 112px;
    min-width: 0;
    min-height: 112px;
    padding: 15px 4px;
  }

  .feature-badges .icon {
    width: 24px;
    height: 24px;
  }

  .feature-badges strong {
    font-size: 12px;
    line-height: 1.35;
  }

  .feature-badges small {
    font-size: 10px;
    line-height: 1.35;
  }

  .reply-note {
    order: 6;
    width: 100%;
    margin: 18px 0 8px;
  }

  .hero .button-mail {
    order: 7;
  }

  .mid-cta {
    display: block;
    min-height: 600px;
    background: #fff7f1;
  }

  .mid-cta .split {
    display: block;
    width: min(100%, 390px);
    min-height: 600px;
    margin-inline: auto;
    padding: 290px 20px 16px 40px;
    background: url("./assets/SP_CTA_人物画像.png") center top / cover no-repeat;
  }

  .mid-cta .section-copy {
    width: 100%;
    max-width: 330px;
  }

  .mid-cta h2 {
    margin: 0;
    font-size: 24px;
    line-height: 43.2px;
  }

  .mid-cta .section-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 28.8px;
    text-shadow: 0 0 6px var(--white), 0 0 6px var(--white);
  }

  .mid-cta .cta-row.vertical {
    gap: 16px;
    margin-top: 24px;
  }

  .mid-cta .button {
    min-width: 0;
    width: 100%;
    min-height: 66px;
    font-size: 21px;
  }

  .worries {
    --worries-overlap: 24px;
  }

  .worries.section {
    padding-top: 56px;
  }

  .final-cta .page-width::after {
    position: static;
    display: block;
    width: 172px;
    height: 148px;
    margin: 24px auto -18px;
  }

  .section-copy h2,
  .reasons h2,
  .final-cta h2,
  .mid-cta h2,
  .worries h2,
  .works h2,
  .flow h2,
  .voices h2,
  .price-shell h2 {
    font-size: 25px;
    line-height: 1.55;
  }

  .final-cta h2 {
    max-width: 350px;
    line-height: 1.6;
  }

  .reason-grid,
  .voice-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .voice-grid {
    justify-items: center;
    gap: 34px;
  }

  .solution .pill-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
    width: 100%;
  }

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

  .pill-grid span {
    white-space: normal;
  }

  .flow-list li {
    width: min(68vw, 260px);
  }

  .flow-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    display: block;
    border-top: 10px solid #8290aa;
    border-right: 8px solid transparent;
    border-bottom: 0;
    border-left: 8px solid transparent;
    transform: translateX(-50%);
  }

  .work-card {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    height: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .work-thumb {
    height: 136px;
    flex: 0 0 136px;
  }

  .work-meta {
    flex: 1;
  }

  .work-badge {
    font-size: 10px;
  }

  .work-card strong {
    font-size: 13px;
  }

  .photo-panel {
    min-height: 280px;
  }

  .final-cta p {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.75;
  }
}
