.proposal-c {
  --service-bg: var(--service-theme-bg);
  --service-surface: var(--service-theme-surface);
  --service-surface-alt: var(--service-theme-surface-alt);
  --service-heading: var(--service-theme-heading);
  --service-text: var(--service-theme-text);
  --service-accent: var(--service-theme-accent);
  --service-shadow: var(--service-theme-shadow);
  --service-hero-overlay: var(--service-theme-hero-overlay);
  --service-hero-overlay-sub: var(--service-theme-hero-overlay-sub);
}

.proposal-c {
  --site-header-height: 80px;
  --service-c-nav-height: 0px;
  background: var(--service-theme-bg);
}

.service-c-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.service-c-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-c-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--service-theme-hero-overlay) 0%, var(--service-theme-hero-overlay-sub) 48%, rgba(255, 255, 255, 0.06) 100%);
}

.service-c-hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service-c-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--header-height, 88px) + 12px);
  padding-bottom: 40px;
}

.service-c-hero__content {
  max-width: 720px;
  padding: 30px;
}

.service-c-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.service-c-hero__title {
  margin: 0 0 20px;
  font-family: var(--theme-font-heading);
  font-size: var(--page-title-font-size);
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: #fff;
}

.service-c-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

/* nav本体 */
.service-c-hero__nav {
  position: relative;
  z-index: 20;
  padding: 14px 0 18px;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.service-c-hero__nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.service-c-hero__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.service-c-hero__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
}

.service-c-hero__card-sub {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.service-c-hero__card strong {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 700;
}

/* fixed化した時 */
.service-c-hero__nav.is-fixed {
  position: fixed;
  top: var(--site-header-height);
  left: 0;
  right: 0;
  z-index: 200;
  padding: 10px 0 14px;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px var(--service-theme-shadow);
}

.service-c-hero__nav.is-fixed .service-c-hero__card {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  color: var(--service-theme-heading);
  backdrop-filter: none;
}

.service-c-hero__nav.is-fixed .service-c-hero__card-sub {
  color: var(--service-theme-accent);
  opacity: 1;
}

.service-c-hero__nav.is-fixed .service-c-hero__card strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

/* fixed時に詰まらないよう次セクション側で吸収 */
body.service-c-nav-fixed .service-c-intro {
  padding-top: calc(88px + var(--service-c-nav-height));
}

html {
  scroll-behavior: smooth;
}

.service-c-intro {
  padding: 88px 0 40px;
  transition: padding-top 0.25s ease;
}

.service-c-intro__box {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 30px;
  /* background: #fff;
  box-shadow: 0 20px 60px var(--service-theme-shadow); */
  text-align: center;
}

.service-c-section {
  padding: 54px 0;
  scroll-margin-top: calc(var(--site-header-height) + var(--service-c-nav-height) + 24px);
}

.service-c-section__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

.service-c-section--reverse .service-c-section__image {
  order: 2;
}

.service-c-section--reverse .service-c-section__body {
  order: 1;
}

.service-c-section__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
}

.service-c-section__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 50px var(--service-theme-shadow);
}

.service-c-section__body {
  padding: 10px 0;
}

.service-c-section__kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--service-theme-accent);
}

.service-c-section__title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.3;
}

.service-c-section__subtitle {
  margin: 0 0 22px;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 600;
  color: var(--service-theme-heading);
}

.service-c-section__body p {
  margin: 0 0 1em;
  line-height: 2;
  color: var(--service-theme-text);
}

.service-c-support {
  padding: 64px 0 32px;
}

.service-c-support__header {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.service-c-support__header p {
  margin: 0;
  line-height: 2;
  color: var(--service-theme-text);
}

.service-c-support__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-c-support__item {
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--service-theme-surface);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

.service-c-support__item h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--service-theme-heading);
}

.service-c-support__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--service-theme-text);
}

.service-c-cta {
  padding: 64px 0 104px;
}

.service-c-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 42px;
  /* border-radius: 28px;
  background: linear-gradient(135deg, var(--service-theme-surface-alt) 0%, var(--service-theme-surface) 100%);
  box-shadow: 0 18px 50px var(--service-theme-shadow); */
}

.service-c-cta__text {
  max-width: 720px;
}

@media (max-width: 1024px) {
  .service-c-hero__nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-c-section__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-c-section--reverse .service-c-section__image,
  .service-c-section--reverse .service-c-section__body {
    order: initial;
  }

  .service-c-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-c-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .proposal-c {
    --site-header-height: 64px;
  }

  .service-c-hero {
    min-height: auto;
  }

  .service-c-hero__inner {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .service-c-hero__lead {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .service-c-hero__nav {
    padding: 10px 0 12px;
  }

  .service-c-hero__nav-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-c-hero__card {
    min-height: auto;
    padding: 12px 10px;
    border-radius: 14px;
  }

  /* 英字サブテキスト非表示 */
  .service-c-hero__card-sub {
    display: none;
  }

  .service-c-hero__card strong {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .service-c-hero__nav.is-fixed .service-c-hero__card {
    padding: 10px 8px;
    border-radius: 12px;
  }

  body.service-c-nav-fixed .service-c-intro {
    padding-top: calc(56px + var(--service-c-nav-height));
  }

  .service-c-intro {
    padding: 56px 0 24px;
  }

  .service-c-intro__box {
    padding: 28px 22px;
    border-radius: 22px;
    text-align: left;
  }

  .service-c-section {
    padding: 40px 0;
  }

  .service-c-section__image {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .service-c-section__title {
    font-size: 1.65rem;
  }

  .service-c-section__subtitle {
    font-size: 1rem;
  }

  .service-c-support {
    padding: 44px 0 20px;
  }

  .service-c-support__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .service-c-support__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-c-support__item {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .service-c-cta {
    padding: 40px 0 72px;
  }

  .service-c-cta__box {
    padding: 28px 22px;
    border-radius: 22px;
  }
}

a.service-c-hero__card:visited{
  color: #fff;
}
