:root {
  --blue: #224d9d;
  --navy: var(--blue);
  --navy-deep: #1b3f84;
  --red: #d01126;
  --red-dark: #a90d1e;
  --ink: #001b3c;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #dde4ee;
  --line-green: #06c755;
  --white: #ffffff;
  --blue-dark: var(--navy-deep);
  --header-height: 6.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.4;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.inner {
  width: min(64.5rem, 100% - 2 * clamp(1.25rem, 4vw, 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 6.25vw, 5.5rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 68rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: "Michroma", sans-serif;
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
}

.section-label svg {
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 1.25rem;
  fill: var(--red);
}

.section-heading h2,
.section-copy h2,
.mission-copy h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.section-copy h2,
.mission-copy h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
}

.section-heading > p:last-child,
.section-copy > p:last-of-type {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.two-column > *,
.three-cards > *,
.footer-main > *,
.footer-navs > *,
.service-chips > *,
.featured-services > * {
  min-width: 0;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.br-sp {
  display: none;
}

/* 途中で折らない意味のまとまり（文節・料金・項目名）。語の途中で行が折れないよう、見出し・リストなど短い文はこの単位で包む。SP 320px 幅で1行に収まる長さにだけ使う */
.unit {
  display: inline-block;
  white-space: nowrap;
}

/* 本文中の社名。行をまたいで割れないよう1語で扱う。青い面の上では白のまま太字だけにする */
.brand-name {
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
}

.hero .brand-name,
.page-hero .brand-name,
.cases .brand-name {
  color: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.75em 0.7em 0.75em 1.5em;
  border: 1px solid transparent;
  border-radius: 999rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  padding: 0.55rem 0.6rem 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 999rem;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill-red:hover,
.pill-red:focus-visible {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.pill-line:hover,
.pill-line:focus-visible {
  border-color: #06c755;
  background: var(--white);
  color: #06c755;
}

.pill-red:hover .pill-arrow,
.pill-red:focus-visible .pill-arrow {
  background: var(--red);
  color: var(--white);
}

.pill-line:hover .pill-arrow,
.pill-line:focus-visible .pill-arrow {
  background: #06c755;
  color: var(--white);
}

.pill-line:hover .pill-badge,
.pill-line:focus-visible .pill-badge {
  background: #06c755;
  color: var(--white);
}

.pill-red {
  background: linear-gradient(90deg, #d01126 0%, #e6402e 100%);
}

.pill-line {
  background: linear-gradient(90deg, #06c755 0%, #05ad4a 100%);
}

.pill-icon {
  flex: 0 0 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-badge {
  display: grid;
  transition: background-color 0.25s ease, color 0.25s ease;
  flex: 0 0 1.75rem;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -0.35rem;
  border-radius: 50%;
  background: var(--white);
  color: #06c755;
}

.pill-badge svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  stroke: none;
}

.pill-arrow {
  display: grid;
  transition: background-color 0.25s ease, color 0.25s ease;
  flex: 0 0 1.5rem;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: auto;
  border-radius: 50%;
  background: var(--white);
}

.pill-arrow svg {
  width: 0.6rem;
  height: 0.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-red .pill-arrow {
  color: var(--red);
}

.pill-line .pill-arrow {
  color: #06c755;
}



.pill-lg {
  gap: 0.75rem;
  padding: 0.8rem 0.8rem 0.8rem 1.5rem;
  font-size: 1.125rem;
}

.pill-lg .pill-icon {
  flex-basis: 1.4rem;
  width: 1.4rem;
  height: 1.4rem;
}

.pill-lg .pill-arrow {
  flex-basis: 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
}

.pill-lg .pill-arrow svg {
  width: 0.75rem;
  height: 0.95rem;
}

.text-link svg {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button > svg {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button > svg {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.button-primary {
  background: linear-gradient(90deg, #d01126 0%, #e6402e 100%);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.button-primary:hover > svg,
.button-primary:focus-visible > svg {
  background: var(--red);
  color: var(--white);
}

.button-navy {
  background: var(--navy);
}

.button-navy > svg {
  color: var(--navy);
}

.button-navy:hover,
.button-navy:focus-visible {
  border-color: var(--navy);
  background: var(--white);
  color: var(--navy);
}

.button-navy:hover > svg,
.button-navy:focus-visible > svg {
  background: var(--navy);
  color: var(--white);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(27, 63, 132, 0.2);
}

.button-outline > svg {
  color: var(--navy);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.button-outline:hover > svg,
.button-outline:focus-visible > svg {
  background: var(--navy);
  color: var(--white);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(221, 228, 238, 0.82);
  background: var(--white);
  transition: background-color 0.25s ease, transform 0.35s ease;
}

.site-header.is-scrolled {
  background: var(--white);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-layout {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.75rem;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.brand span {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.global-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  min-width: 0;
}

.global-nav a {
  position: relative;
  padding-block: 0.3rem;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-right {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.header-row-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.6rem;
}

.header-row-top > .pill {
  flex: 0 0 auto;
  padding: 0.4rem 0.5rem 0.4rem 0.9rem;
  font-size: 0.875rem;
}

.header-row-top .pill-arrow {
  flex-basis: 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
}

.header-row-top .pill-badge {
  flex-basis: 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
}

.header-tel {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 1rem 0.3rem 0.85rem;
  border-radius: 999rem;
  background: var(--navy);
  color: var(--white);
  line-height: 1.15;
}

.header-tel > svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-tel {
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-tel:hover,
.header-tel:focus-visible {
  border-color: var(--navy);
  background: var(--white);
  color: var(--navy);
}

.header-tel:hover > svg,
.header-tel:focus-visible > svg {
  stroke: var(--navy);
}

.header-tel-text {
  display: grid;
}

.header-tel-text small {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}

.header-tel-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 0.125rem;
  margin-block: 0.25rem;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.375rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.375rem) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  z-index: 900;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: min(24rem, 100%);
  padding: 2rem;
  background: var(--navy-deep);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-drawer nav {
  display: grid;
}

.mobile-drawer nav a {
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.drawer-contact {
  display: grid;
  margin-top: 2rem;
  padding: 1.25rem;
  border-left: 0.25rem solid var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.drawer-contact a {
  font-size: 1.6rem;
  font-weight: 700;
}

.drawer-contact span {
  font-size: 0.75rem;
}

/* Hero */

.hero {
  position: relative;
  padding-bottom: 0;
  background: var(--white);
}

.hero-stage {
  position: relative;
  min-height: max(43rem, 88svh);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  overflow: hidden;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 77, 157, 0.88) 0%, rgba(34, 77, 157, 0.42) 22%, rgba(34, 77, 157, 0) 50%);
  content: "";
}

.hero-chevrons {
  position: absolute;
  z-index: 0;
  top: 16%;
  left: max(-6rem, calc(50% - 40rem));
  width: min(42rem, 56vw);
  height: auto;
  fill: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: max(43rem, 88svh);
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 6.5rem;
}

.hero-copy {
  width: 82%;
  max-width: 56rem;
  min-width: 0;
  color: var(--white);
}


.hero h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2rem, 3.7vw, 2.95rem);
  text-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.35);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.32;
}

.hero-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-weight: 500;
  word-break: auto-phrase;
}

.hero-actions {
  display: flex;
}

/* Intro */

.intro-title {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  text-align: center;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-image {
  aspect-ratio: 4 / 3;
}

.intro-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.intro-values li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-align: center;
}

.intro-values strong {
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.intro-values span {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Household */

.household {
  padding-top: clamp(4rem, 6.25vw, 5.5rem);
}

.household .two-column {
  align-items: start;
}

.section-copy > p:last-of-type {
  font-size: 0.9375rem;
}

.detail-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.detail-list li > svg {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-list li span {
  min-width: 0;
  color: var(--ink);
  font-size: 0.75rem;
  line-height: 1.55;
}

.detail-list li strong {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.9375rem;
}

.household-visual {
  position: relative;
  margin-top: 2rem;
  padding: 0 0.75rem 0.75rem 0;
}

.household-visual::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: calc(100% - 1.25rem);
  height: calc(100% - 1.25rem);
  background: var(--red);
  content: "";
}

.household-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}

.household-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.image-chevron {
  position: absolute;
  z-index: 2;
  top: -1rem;
  left: -1rem;
  width: 3.6rem;
  height: auto;
  fill: var(--red);
}

.free-badge {
  position: absolute;
  z-index: 3;
  bottom: -1.8rem;
  left: -2rem;
  display: grid;
  place-content: center;
  width: 8.75rem;
  height: 8.75rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.free-badge span {
  display: block;
  font-family: "Michroma", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Household services */

.service-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-chip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.7rem;
  min-height: 12.5rem;
  overflow: hidden;
  padding: 1.35rem 1.1rem 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-chip::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--bg-alt);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-chip:hover,
.service-chip:focus-visible {
  border-color: var(--blue);
  transform: translateY(-0.6rem);
}

.service-chip:hover::before,
.service-chip:focus-visible::before {
  transform: scaleY(1);
}

.service-chip:hover .service-icon,
.service-chip:focus-visible .service-icon {
  transform: translateY(-0.2rem) scale(1.12);
}

.service-chip:hover .service-chip-copy small,
.service-chip:focus-visible .service-chip-copy small {
  color: rgba(34, 77, 157, 0.16);
  transform: translate(-0.4rem, -0.2rem) scale(1.08);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 2.9rem;
  height: 2.9rem;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-chip-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  padding-top: 0.3rem;
}

.service-chip-copy small {
  position: absolute;
  z-index: -1;
  top: -3.1rem;
  right: -0.35rem;
  color: rgba(34, 77, 157, 0.08);
  font-family: "Michroma", sans-serif;
  font-size: 4.1rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.service-chip-copy strong {
  margin-bottom: 0.4rem;
  font-size: 1.1875rem;
  line-height: 1.45;
}

.service-chip-copy > span {
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.chip-arrow {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.25s ease;
}

.service-chip:hover .chip-arrow,
.service-chip:focus-visible .chip-arrow {
  transform: translateX(0.55rem) scale(1.25);
}

.featured-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.featured-card,
.corporate-card {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}

.featured-card > img,
.corporate-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-card::after,
.corporate-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 63, 132, 0) 18%, rgba(27, 63, 132, 0.55) 48%, rgba(27, 63, 132, 0.96) 100%);
  content: "";
}

.featured-card:hover > img,
.corporate-card:hover > img {
  transform: scale(1.05);
}

.featured-card-body,
.corporate-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
}

.card-en {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Michroma", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.featured-card h3,
.corporate-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.featured-card-body > p:not(.card-en),
.corporate-card-body > p:not(.card-en) {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.featured-card .button,
.corporate-card .button {
  padding-block: 0.7rem;
  font-size: 0.8125rem;
}

/* Strengths */








.image-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.image-card::after {
  position: absolute;
  right: -0.0625rem;
  bottom: -0.0625rem;
  left: -0.0625rem;
  height: 0.125rem;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.image-card:hover::after {
  transform: scaleX(1);
}

.image-card-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.image-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-card:hover .image-card-visual img {
  transform: scale(1.035);
}

.image-card-visual span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--red);
  color: var(--white);
  font-family: "Michroma", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.image-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.image-card-body h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.image-card-body p {
  flex: 1;
  margin-bottom: 1.15rem;
  color: var(--ink);
  font-size: 0.8125rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.75rem;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
}

.text-link svg {
  color: var(--red);
  transition: transform 0.25s ease;
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translateX(0.3rem);
}

/* Cases */

.cases {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.cases::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 0.25rem;
  background: var(--red);
  content: "";
}

.section-label-light {
  color: var(--white);
}

.cases .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.case-card {
  min-width: 0;
}

.case-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.1rem;
  background: var(--navy-deep);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  min-width: 7rem;
  padding: 0.45rem 1.75rem 0.45rem 0.85rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.85rem) 50%, 100% 100%, 0 100%);
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.case-tag-corporate {
  background: var(--navy-deep);
}

.case-card h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Mission */

.mission {
  background: var(--white);
}


.mission-quote {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: -1.25rem;
  max-width: 62%;
  margin: 0;
  padding: 1rem 1.25rem 0.9rem;
  background: linear-gradient(90deg, #d01126 0%, #e6402e 100%);
  color: var(--white);
}

.mission-quote > span {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
}

.mission-quote small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.mission-image {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 1.5rem 0 0 1.25rem;
}

.mission-image::before {
  position: absolute;
  z-index: 0;
  top: -1.25rem;
  left: -1.25rem;
  width: calc(100% - 0.75rem);
  height: calc(100% - 0.75rem);
  background: var(--navy);
  content: "";
}

.mission-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Corporate */

.corporate-needs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.corporate-needs h3 {
  margin-bottom: 0;
  font-size: 1.0625rem;
}

.corporate-needs .detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 0;
  border-top: 0;
}

.corporate-needs .detail-list li {
  padding: 0.35rem 0;
  border-bottom: 0;
  background: transparent;
}

.corporate-needs .detail-list li:hover {
  border-left-color: transparent;
  transform: none;
}

.corporate-needs .detail-list li > svg {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.corporate-card {
  min-height: 34rem;
}

.corporate-card-body {
  padding: 1.5rem;
}

.corporate-card h3 {
  font-size: 1.5rem;
}

/* Campaign */

.campaign {
  position: relative;
  background: linear-gradient(90deg, #d01126 0%, #e6402e 100%);
  color: var(--white);
}

.campaign-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.25rem, 2vw, 1.75rem);
}

.campaign-ticket {
  display: grid;
  place-items: center;
}

.quo-card {
  width: min(15rem, 100%);
  height: auto;
}

.campaign-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: "Michroma", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.campaign-label svg {
  flex: 0 0 1.2rem;
  width: 1.2rem;
  height: 0.95rem;
  fill: var(--white);
}

.campaign-title {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.campaign-title em {
  color: #ffe14d;
  font-size: 1.25em;
  font-style: normal;
}

.campaign-lead {
  margin-bottom: 0;
  margin-top: 0.6rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  line-height: 1.7;
}

/* Contact */

.contact {
  background: var(--bg-alt);
}

.contact-panel-wrap {
  padding-block: clamp(2.25rem, 3.5vw, 3rem) clamp(4rem, 7vw, 6.5rem);
}


/* Footer */

.site-footer {
  border-top: 0.25rem solid var(--red);
  background: var(--navy);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: 3rem;
}

.footer-company img {
  width: min(15rem, 100%);
  margin-bottom: 1.5rem;
}

.footer-company p {
  margin-bottom: 0.45rem;
}

.footer-company address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.9;
}

.footer-navs {
  display: grid;
  grid-template-columns: repeat(5, minmax(max-content, 1fr));
  gap: 1.5rem 1.25rem;
}

.footer-navs nav {
  min-width: 0;
}

.footer-navs h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.footer-navs a {
  display: block;
  padding-block: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-navs a:hover,
.footer-navs a:focus-visible {
  color: var(--white);
  transform: translateX(0.15rem);
}

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  text-align: center;
}

.mobile-fixed-bar {
  display: none;
}

/* PC fixed bottom bar */

.pc-fixed-bar {
  position: fixed;
  z-index: 950;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.pc-fixed-bar.is-visible {
  transform: translateY(0);
}

.pcb-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 5.5rem;
  gap: clamp(0.9rem, 1.6vw, 1.75rem);
  min-height: 5rem;
  padding-block: 0.45rem;
}

.pcb-lead {
  margin: 0;
  color: var(--navy);
  font-size: clamp(0.9375rem, 1.2vw, 1.05rem);
  font-weight: 900;
  line-height: 1.35;
  flex: 0 0 auto;
}

.pcb-layout .pill {
  flex: 0 0 auto;
  padding: 0.7rem 0.7rem 0.7rem 1.2rem;
  font-size: 1.0625rem;
}

.pcb-layout .pill-arrow {
  flex-basis: 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
}

.pcb-layout .pill-badge {
  flex-basis: 2rem;
  width: 2rem;
  height: 2rem;
}

.pcb-tel {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  line-height: 1.2;
}

.pcb-tel > svg {
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pcb-tel span {
  display: grid;
}

.pcb-tel strong {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pcb-tel small {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.pcb-top {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 2vw, 2rem);
  transform: translateY(-50%);
  display: grid;
  flex: 0 0 3.1rem;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Michroma", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.pcb-top svg {
  width: 0.75rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-90deg);
}

/* Motion */

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

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease var(--delay, 0s), transform 0.6s ease var(--delay, 0s);
}

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

/* Tablet */

@media (max-width: 68.75rem) {
  .global-nav {
    display: none;
  }

  .header-layout {
    gap: 0.75rem;
  }

  .header-right {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

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

  .service-chip {
    min-height: 9.5rem;
  }
}

@media (max-width: 60rem) {
  .header-tel {
    display: none;
  }
}

@media (max-width: 64rem) {
  .campaign-title {
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  }

  .two-column {
    gap: 2.5rem;
  }

  .section-copy h2,
  .mission-copy h2 {
    font-size: clamp(1.2rem, 2.9vw, 1.5rem);
  }

  .three-cards {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-inline: auto;
  }

  .image-card {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  }

  .image-card-visual {
    aspect-ratio: auto;
    min-height: 16rem;
  }


  .corporate-cards {
    max-width: 40rem;
  }

  .corporate-card {
    min-height: 31rem;
  }


  .pcb-tel {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 47.9375rem) {
  :root {
    --header-height: 4.25rem;
  }

  body {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    font-size: 0.9375rem;
  }

  .section {
    padding-block: clamp(4.5rem, 16vw, 6rem);
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-heading h2,
  .section-copy h2,
  .mission-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .section-copy h2,
  .mission-copy h2 {
    font-size: clamp(1.14rem, 5.7vw, 1.85rem);
  }

  .br-sp {
    display: inline;
  }

  .brand {
    flex-basis: auto;
  }

  .brand img {
    height: 2.2rem;
  }

  .header-right {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .mobile-drawer {
    padding: 1.5rem 1.25rem;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero-stage {
    display: flex;
    align-items: flex-end;
    min-height: max(38rem, 100svh);
  }

  .hero-layout {
    min-height: 0;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 5.5rem;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
  }

  .hero-medals {
    justify-content: flex-start;
    margin-bottom: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(1.25rem, 6vw, 1.95rem);
    letter-spacing: -0.03em;
    line-height: 1.4;
  }

  .hero-lead {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
  }

  .hero-visual {
    inset: 0;
    clip-path: none;
  }

  .hero-visual img {
    object-position: 26% 30%;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(34, 77, 157, 0.36) 28%, rgba(34, 77, 157, 0.88) 58%, var(--navy) 100%);
  }

  .hero-chevrons {
    top: 7rem;
    left: -5rem;
    width: 25rem;
    fill: rgba(255, 255, 255, 0.04);
  }


  .two-column {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .household-visual {
    width: calc(100% - 1rem);
    margin: 0 0 0 auto;
  }

  .household-image {
    aspect-ratio: 4 / 3;
  }

  .household-image img {
    object-position: center 42%;
  }

  .free-badge {
    bottom: -1.5rem;
    left: -1rem;
    width: 7.6rem;
    height: 7.6rem;
    padding: 0.5rem;
    font-size: 0.8125rem;
  }

  .free-badge span {
    font-size: 1.15rem;
  }

  .featured-services {
    grid-template-columns: 1fr;
  }

  .featured-card {
    min-height: 31rem;
  }







  .image-card {
    display: flex;
  }

  .image-card-visual {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }



  .center-actions {
    display: grid;
  }

  .center-actions .button {
    width: 100%;
  }

  .mission .two-column {
    gap: 4rem;
  }

  .mission-image {
    aspect-ratio: 4 / 3;
    margin-left: 1rem;
  }

  .corporate-needs .detail-list {
    grid-template-columns: 1fr;
  }

  .campaign-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .quo-card {
    width: 12rem;
  }

  .campaign-title {
    font-size: clamp(1.35rem, 5.6vw, 1.8rem);
  }








  .site-footer .footer-navs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }

  .mobile-fixed-bar {
    position: fixed;
    z-index: 1100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-deep);
    color: var(--white);
  }

  .mobile-fixed-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    min-height: 4rem;
    padding: 0.65rem 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }

  .mobile-fixed-bar svg {
    flex: 0 0 1.05rem;
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .fixed-tel {
    background: var(--red);
  }

  .fixed-line {
    background: var(--line-green);
  }

  .fixed-estimate {
    background: var(--navy);
  }
}

@media (max-width: 25rem) {
  .quo-card {
    width: 9.5rem;
  }

  .pill-lg,
  .qc-pill {
    padding-right: 0.7rem;
    padding-left: 1.1rem;
    font-size: 0.9375rem;
  }

  .pill-lg .pill-arrow,
  .qc-pill .pill-arrow {
    flex-basis: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hero medals (gold emblems) */
.hero-medals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.medal {
  flex: 0 0 auto;
  width: 6rem;
  aspect-ratio: 1;
  padding: 0.2rem;
  border-radius: 50%;
  background: linear-gradient(150deg, #f2dd9a 0%, #d3a94c 38%, #a97b22 62%, #eed592 100%);
}

.medal-core {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.05rem;
  width: 100%;
  height: 100%;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.medal-core::after {
  content: "";
  position: absolute;
  inset: 0.3rem;
  border: 1px solid rgba(238, 213, 146, 0.6);
  border-radius: 50%;
}

.medal-core small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.medal-core b {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  background: linear-gradient(160deg, #f6e4a6 0%, #e2b85a 45%, #c8942e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.medal-core b i {
  font-style: normal;
  font-size: 0.75em;
}







/* Nav caret */
.global-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-caret {
  flex: 0 0 0.65rem;
  width: 0.65rem;
  height: 0.5rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.global-nav a:hover .nav-caret {
  transform: translateY(0.125rem);
}

/* Button leading icons */
.btn-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.btn-icon {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 48rem) {
  .site-footer {
    padding-bottom: 6rem;
  }
}

@media (max-width: 47.9375rem) {
  body {
    font-size: 0.9375rem;
  }


  .household {
    padding-top: 3.5rem;
  }

  .pc-fixed-bar {
    display: none;
  }

  .button {
    padding-inline: 1.2em;
  }

  .hero-medals {
    gap: 0.5rem;
  }

  .medal {
    width: 5.3rem;
  }

  .medal-core b {
    font-size: 1.6rem;
  }




  .hero h1 {
    font-size: clamp(1.2rem, 6vw, 1.9rem);
  }

  .section-heading h2,
  .section-copy h2,
  .mission-copy h2 {
    font-size: clamp(1.5rem, 6.4vw, 2.1rem);
  }

  .section-copy h2,
  .mission-copy h2 {
    font-size: clamp(1.2rem, 6vw, 1.9rem);
  }

  .contact .section-heading h2 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }
}

/* Nav dropdown */
.nav-item {
  --nav-drop-gap: 0.775rem;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: calc(-1 * var(--nav-drop-gap));
  padding-bottom: var(--nav-drop-gap);
}

.nav-item > a {
  padding-bottom: 0.55rem;
}

.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 13.5rem;
  padding: 0.4rem 0;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop a {
  display: block;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-item:last-child .nav-drop {
  left: auto;
  right: 0;
  transform: translateY(-0.4rem);
}

.nav-item:last-child:hover .nav-drop,
.nav-item:last-child:focus-within .nav-drop {
  transform: translateY(0);
}

.nav-drop a::after {
  content: none;
}

.nav-drop a:hover,
.nav-drop a:focus-visible {
  background: var(--bg-alt);
  color: var(--blue);
}

.nav-item:hover > a .nav-caret,
.nav-item:focus-within > a .nav-caret {
  transform: rotate(180deg);
}

@media (max-width: 78rem) {
  .footer-navs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .pcb-lead {
    display: none;
  }
}

/* Quick contact (removable) */
.quick-contact {
  padding-block: 0 clamp(4rem, 6.25vw, 5.5rem);
}

.qc-panel {
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 4vw, 3.25rem) clamp(2rem, 3.5vw, 3rem);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.qc-head {
  position: relative;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  padding-right: 9.5rem;
}

.qc-head .section-label {
  margin-bottom: 0.2rem;
}

.qc-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.4;
}

.qc-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-content: center;
  width: 8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, #f2dd9a 0%, #d3a94c 45%, #b98a2e 100%);
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
}

.qc-badge b {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.qc-badge small {
  font-size: 0.85rem;
  font-weight: 700;
}

.qc-ctas,
.qc-form {
  width: min(50rem, 100%);
  margin-inline: auto;
}

.qc-ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.qc-cta-item {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.45rem;
  min-width: 0;
}

.qc-note {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.qc-tel {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--white);
  color: var(--navy);
  text-align: center;
}

.qc-tel small {
  font-size: 0.9rem;
  font-weight: 700;
}

.qc-tel strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.qc-tel strong svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qc-tel > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.qc-tel em {
  padding: 0.1rem 0.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-style: normal;
  flex: 0 0 auto;
}

.qc-pill {
  position: relative;
  justify-content: center;
  height: 100%;
  padding: 1rem 3.4rem 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.qc-pill .pill-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  margin-left: 0;
  transform: translateY(-50%);
}

.qc-pill .pill-icon {
  flex-basis: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.qc-pill .pill-arrow {
  flex-basis: 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
}

.qc-form {
  display: grid;
  gap: 0.9rem;
}

.qc-field {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.qc-field:has(textarea) {
  align-items: start;
}

.req {
  flex-shrink: 0;
  padding: 0.1rem 0.4rem;
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.qc-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
}

.qc-field:has(textarea) .qc-label {
  padding-top: 0.8rem;
}

.qc-form input[type="text"],
.qc-form input[type="tel"],
.qc-form input[type="email"],
.qc-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.qc-form input[type="text"]:focus,
.qc-form input[type="tel"]:focus,
.qc-form input[type="email"]:focus,
.qc-form textarea:focus {
  border-color: var(--red);
}

.qc-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.qc-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.qc-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.qc-radios input,
.qc-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--red);
}

.qc-consent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: 700;
}

.qc-submit {
  justify-self: center;
  width: min(22rem, 100%);
  margin-top: 0.25rem;
  padding-block: 0.95rem;
  font-size: 1.125rem;
}

@media (max-width: 64rem) {
  .qc-head {
    padding-right: 0;
  }

  .qc-badge {
    position: static;
    justify-self: start;
    width: 6.5rem;
    margin-top: 0.25rem;
  }

  .qc-ctas {
    grid-template-columns: 1fr;
  }

  .qc-field {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .qc-field:has(textarea) .qc-label {
    padding-top: 0;
  }
}

@media (max-width: 47.9375rem) {
  .qc-panel {
    padding-inline: 1rem;
    border-radius: 1rem;
  }

  .mission-quote {
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: 78%;
    padding: 0.8rem 1rem 0.7rem;
  }

  .qc-radios {
    flex-direction: column;
    gap: 0.5rem;
  }

  .qc-submit {
    font-size: 1rem;
  }
}

/* Cases tabs */
.cases-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.cases-tab {
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999rem;
  background: transparent;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* 折り返すときは「ご家庭向け／解決事例」の区切りで折る */
.cases-tab span {
  display: inline-block;
}

.cases-tab:hover,
.cases-tab:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.cases-tab.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #d01126 0%, #e6402e 100%);
}

.cases-track .case-card[hidden],
.cases-more[hidden] {
  display: none;
}

/* Cases slider */
.cases-slider {
  position: relative;
}

.cases-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cases-track::-webkit-scrollbar {
  display: none;
}

.cases-track .case-card {
  flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.slider-btn {
  position: absolute;
  z-index: 2;
  top: 38%;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.slider-btn svg {
  width: 0.9rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-btn-prev {
  left: -1.6rem;
}

.slider-btn-prev svg {
  transform: scaleX(-1);
}

.slider-btn-next {
  right: -1.6rem;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

@media (max-width: 64rem) {
  .cases-track .case-card {
    flex-basis: calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2);
  }

  .slider-btn-prev {
    left: 0.25rem;
  }

  .slider-btn-next {
    right: 0.25rem;
  }
}

@media (max-width: 47.9375rem) {
  .cases-track .case-card {
    flex-basis: 84%;
  }

  .slider-btn {
    top: 34%;
    width: 2.6rem;
    height: 2.6rem;
  }
}

/* Section flow arrow */
.campaign::after {
  content: "";
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 1.7rem solid transparent;
  border-left: 1.7rem solid transparent;
  border-top: 1.15rem solid #dc2a2a;
  transform: translate(-50%, 100%);
}

/* Hero background text */
.hero-bgtext {
  position: absolute;
  z-index: -2;
  right: 0;
  bottom: 0.6rem;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bgtext span {
  display: inline-block;
  color: rgba(255, 255, 255, 0.07);
  font-family: "Michroma", sans-serif;
  font-size: clamp(3.4rem, 7.2vw, 6.2rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
  animation: hero-drift 55s linear infinite;
}

@keyframes hero-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bgtext span {
    animation: none;
  }
}

.br-pc {
  display: none;
}

@media (min-width: 64rem) {
  .br-pc {
    display: inline;
  }
}

@media (max-width: 47.9375rem) {
  .intro-title {
    font-size: clamp(1.3rem, 5.4vw, 1.8rem);
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-values {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .intro-values li {
    grid-template-columns: 4rem minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 0.9rem;
    text-align: left;
  }

  .intro-values span {
    font-size: 0.875rem;
  }

  .section-heading h2 {
    font-size: clamp(1.25rem, 4.9vw, 1.75rem);
  }

  .qc-head h2 {
    font-size: clamp(0.9375rem, 3.9vw, 1.3rem);
  }

  .qc-badge {
    width: 5.5rem;
  }

  .qc-badge b {
    font-size: 1.6rem;
  }

  .qc-tel {
    padding: 0.8rem 0.75rem;
  }

  .qc-tel strong {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
  }

  .qc-tel > span {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8125rem;
  }

  .qc-tel em {
    flex: 0 0 auto;
  }

  .qc-pill {
    font-size: 1rem;
  }

  .service-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .service-chip {
    min-height: 0;
    padding: 0.9rem 0.7rem 2.2rem;
  }

  .service-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .service-chip-copy strong {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  .service-chip-copy > span {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  .service-chip-copy small {
    top: -2.4rem;
    font-size: 3rem;
  }

  .featured-card p {
    font-size: 0.875rem;
  }

  .cases-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .cases-tab {
    padding: 0.6rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
  }

  .site-footer .footer-navs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

/* ===== Hero title (main copy + sub line) ===== */

.hero-title-unit {
  display: inline-block;
}

.hero-title-sub {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

/* ===== Latest column / news cards (TOP) ===== */

.news-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.news-card:hover,
.news-card:focus-visible {
  border-color: var(--blue);
  transform: translateY(-0.2rem);
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.news-card-date {
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-card-cat {
  padding: 0.2rem 0.75rem;
  border-radius: 999rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.news-card-title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

/* 管理画面で入力するタイトル・カテゴリ名は、テンプレートが入れた <wbr>（nexest_wbr()）と記号の位置でだけ折る。入りきらないときだけ任意の位置で折れる */
.case-card h3,
.news-card-cat,
.news-card-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.news-card-text {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  word-break: auto-phrase;
}

.pill-navy {
  background: var(--navy);
}

.pill-navy .pill-arrow {
  color: var(--navy);
}

.pill-navy:hover,
.pill-navy:focus-visible {
  border-color: var(--navy);
  background: var(--white);
  color: var(--navy);
}

.pill-navy:hover .pill-arrow,
.pill-navy:focus-visible .pill-arrow {
  background: var(--navy);
  color: var(--white);
}

/* ===== LINE modal ===== */

body.modal-open {
  overflow: hidden;
}

.line-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.line-modal[hidden] {
  display: none;
}

.line-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 63, 132, 0.68);
}

.line-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  width: 100%;
  max-width: 44rem;
  max-height: 100%;
  overflow: hidden auto;
  border-radius: 1rem;
  background: var(--white);
}

.line-modal-close {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.line-modal-close:hover,
.line-modal-close:focus-visible {
  border-color: var(--navy);
  background: var(--bg-alt);
}

.line-modal-close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.line-modal-visual {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.line-modal-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 34%;
}

.line-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 2.6vw, 2rem);
}

.line-modal-title {
  margin-bottom: 0;
  padding-right: 2rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  font-weight: 700;
  line-height: 1.7;
}

.line-modal-title span {
  display: block;
}

.line-modal-cta {
  width: 100%;
}

.line-modal-note {
  margin-bottom: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.line-modal-note span {
  display: inline-block;
}

@media (max-width: 47.9375rem) {
  .hero-title-sub {
    margin-top: 0.75rem;
    font-size: 0.76em;
    line-height: 1.6;
  }

  .news-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-modal {
    padding: 0.85rem;
  }

  .line-modal-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-modal-visual {
    aspect-ratio: 16 / 7;
  }

  .line-modal-body {
    gap: 0.9rem;
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .line-modal-title {
    padding-right: 0;
    font-size: 1rem;
  }

  .line-modal-cta {
    gap: 0.55rem;
    padding-right: 0.6rem;
    padding-left: 1rem;
    font-size: 1rem;
  }

  .line-modal-cta .pill-arrow {
    flex-basis: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
  }
}

@media (max-width: 25rem) {
  .line-modal {
    padding: 0.6rem;
  }

  .line-modal-body {
    gap: 0.8rem;
    padding: 1.2rem 1rem 1.35rem;
  }

  .line-modal-title {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
  }

  .line-modal-cta {
    gap: 0.5rem;
    padding-right: 0.55rem;
    padding-left: 0.95rem;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
  }

  .line-modal-cta .pill-badge {
    flex-basis: 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
  }

  .line-modal-cta .pill-arrow {
    flex-basis: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  .line-modal-note {
    font-size: 0.78rem;
  }
}

/* 写真をヒーロー全面に広げ、斜めの切り抜きを解除 */
.hero .hero-visual {
  inset: 0;
  z-index: 0;
  clip-path: none;
}

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

/* 写真の上に、均一な青いオーバーレイを重ねる */
.hero .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 124, 190, 0.70);
  pointer-events: none;
}

/* コピー全体を中央配置 */
.hero .hero-stage {
  display: flex;
  align-items: center;
  min-height: max(43rem, 88svh);
}

.hero .hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;

  /* 固定ヘッダーにコピーが隠れないようにする */
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
}

.hero .hero-copy {
  width: 100%;
  max-width: 64.5rem;
  margin-inline: auto;
  text-align: center;
}

/* 無料メダルと見積りボタンも中央へ */
.hero .hero-medals,
.hero .hero-actions {
  justify-content: center;
}

/* 補足文のブロック自体も中央へ */
.hero .hero-lead {
  margin-inline: auto;
}

/* 既存の薄い装飾は、写真より上・コピーより下に残す */
.hero .hero-chevrons,
.hero .hero-bgtext {
  z-index: 0;
}

/* スマホの既存の下寄せを解除して中央配置 */
@media (max-width: 47.9375rem) {
  .hero .hero-stage {
    min-height: max(38rem, 100svh);
  }

  .hero .hero-layout {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
  }
}

/* ロゴを中央配置し、コピーとの間に余白を追加 */
.hero .hero-logo {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-bottom: 3rem;
}

.hero .hero-logo img {
  display: block;
  width: 539px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* キャッチコピーを現在の約1.2倍にする */
.hero h1#hero-title {
  font-size: clamp(2.4rem, 4.44vw, 3.54rem);
}

/* 「費用も、工事も…」の文字サイズは維持 */
.hero #hero-title .hero-title-sub {
  font-size: 0.4833333333em;
}

/* スマホ用 */
@media (max-width: 47.9375rem) {
  .hero .hero-logo {
    padding-bottom: 2rem;
  }

  .hero h1#hero-title {
    font-size: clamp(1.44rem, 7.2vw, 2.28rem);
  }

  .hero #hero-title .hero-title-sub {
    font-size: 0.6333333333em;
  }
}

/* SP：背景の高さを維持し、コンテンツだけ上寄せ */
@media (max-width: 47.9375rem) {
  .hero .hero-stage {
    min-height: max(38rem, 100svh);
    align-items: flex-start;
  }

  .hero .hero-layout {
    min-height: 0;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }
}
/* PC：大きいコピーが収まるよう、ヒーロー内だけ横幅を拡大 */
@media (min-width: 48rem) {
  .hero .hero-layout {
    width: min(1600px, calc(100% - 48px));
  }

  .hero .hero-copy {
    max-width: none;
  }
}

/* ロゴ上のコピー */
.hero .hero-tagline {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 3.1vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}

.hero .hero-tagline span {
  display: inline-block;
}

/* ロゴを大きく表示し、下側の余白を設定 */
.hero .hero-logo {
  padding-bottom: clamp(42px, 4.5vw, 80px);
}

.hero .hero-logo img {
  width: min(1120px, 75vw);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* メインのキャッチコピー */
.hero h1#hero-title {
  font-size: clamp(36px, 4.9vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

/* 「費用も、工事も…」の補足コピー */
.hero #hero-title .hero-title-sub {
  margin-top: 14px;
  font-size: clamp(22px, 1.7vw, 46px);
  letter-spacing: 0;
  line-height: 1.5;
}

/* SP：追加コピーは2行、その他は現在のサイズ感を維持 */
@media (max-width: 47.9375rem) {
  .hero .hero-tagline {
    margin-bottom: 12px;
    font-size: clamp(18px, 5.1vw, 26px);
    line-height: 1.5;
  }

  .hero .hero-tagline span {
    display: block;
  }

  .hero .hero-logo {
    padding-bottom: 2rem;
  }

  .hero .hero-logo img {
    width: 100%;
    max-width: 539px;
  }

  .hero h1#hero-title {
    font-size: clamp(1.44rem, 7.2vw, 2.28rem);
    line-height: 1.4;
    letter-spacing: -0.03em;
  }

  .hero #hero-title .hero-title-sub {
    margin-top: 0.75rem;
    font-size: 0.6333333333em;
    letter-spacing: 0.01em;
    line-height: 1.6;
  }
}

/* PC：ロゴとメインコピーだけを約20％縮小 */
@media (min-width: 48rem) {
  .hero .hero-logo img {
    width: min(896px, 60vw);
  }

  .hero h1#hero-title {
    font-size: clamp(28.8px, 3.92vw, 67.2px);
  }
}
/* SP：CTAだけを下に下げる */
@media (max-width: 47.9375rem) {
  .hero .hero-actions {
    padding-top: 3rem;
  }
}
/* SP：地域コピーからCTAまで、全体の位置を下げる */
@media (max-width: 47.9375rem) {
  .hero .hero-layout {
    padding-top: calc(
      var(--header-height)
      + clamp(24px, calc(100svh - 660px), 90px)
    );
  }
}
/* 地域コピー下の余白を解除 */
.hero .hero-tagline {
  margin-bottom: 0;
}

/* ロゴの上下の余白を統一：PC・SP共通 */
.hero .hero-logo {
  padding-top: 50px;
  padding-bottom: 50px;
}
/* 家屋解体・不要品回収：白背景・青文字 */
#household-services .featured-card .button-outline {
  border-color: #fff;
  background: #fff;
  color: var(--blue);
}

/* 青い丸の中に白い矢印 */
#household-services .featured-card .button-outline > svg {
  background: var(--blue);
  color: #fff;
}

/* ホバー時は薄い青背景 */
#household-services .featured-card .button-outline:hover {
  background: #edf3ff;
}

/* キーボード操作時のフォーカス表示 */
#household-services .featured-card .button-outline:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
/* style.css の末尾に追記。ご家庭向けの8枚のカードだけに適用。 */

/* 下側にボタンを置くスペースを確保 */
#household-services .service-chip {
  padding-bottom: 4.8rem;
}

/* 青背景・白文字の「詳細を見る」 */
#household-services .chip-detail-button {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

/* 白い丸の中に青い矢印 */
#household-services .chip-detail-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}

#household-services .chip-detail-arrow svg {
  width: 10px;
  height: 13px;
  fill: currentColor;
}

/* カードのリンクにホバー／フォーカスしたとき */
#household-services .service-chip:hover .chip-detail-button,
#household-services .service-chip:focus-visible .chip-detail-button {
  background: var(--navy-deep);
}

#household-services .service-chip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* SP：2列のカード幅に収まるサイズ */
@media (max-width: 47.9375rem) {
  #household-services .chip-detail-button {
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.75rem;
    gap: 6px;
    padding: 8px;
    font-size: 12px;
  }

  #household-services .chip-detail-arrow {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }
}
/* SP：写真カードの青いボタンだけを非表示 */
@media (max-width: 47.9375rem) {
  #household-services .featured-card .chip-detail-button {
    display: none;
  }
}