:root {
  --bc-white: #FFFFFF;
  --bc-mist: #F1F7FA;
  --bc-navy: #123A5A;
  --bc-blue: #1668A5;
  --bc-teal: #0E9AA0;
  --bc-line: #DDE7ED;
  --bc-text: #23303A;
  --bc-sub: #5D6E7A;
  --bc-line-green: #06C755;
  --bc-line-green-hover: #05b34c;
  --container: 1080px;
  --header-h: 56px;
  --radius-card: 14px;
  --radius-btn: 8px;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--bc-blue);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--bc-text);
  background: var(--bc-white);
  font-size: 15px;
  line-height: 1.9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

h1, h2, h3, p {
  margin: 0;
}

h1 {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--bc-navy);
}

h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bc-navy);
}

h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--bc-navy);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--bc-white);
  border-bottom: 1px solid var(--bc-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--header-h);
  min-height: var(--header-h);
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
  color: var(--bc-navy);
}

.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--bc-navy);
}

.header-cta {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn-line,
.btn-outline,
.btn-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.btn-line {
  background: var(--bc-line-green);
  color: var(--bc-white);
}

.btn-line:hover {
  background: var(--bc-line-green-hover);
}

.btn-outline {
  border: 1px solid var(--bc-blue);
  color: var(--bc-navy);
  background: var(--bc-white);
}

.btn-tel {
  background: var(--bc-navy);
  color: var(--bc-white);
}

.btn-line.header-cta {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
}

.hero {
  background: var(--bc-mist);
  padding: 32px 0 40px;
}

.hero-inner {
  display: grid;
  gap: 20px;
}

.hero-copy {
  order: 1;
}

.hero-visual {
  order: 2;
}

.hero-figure {
  position: relative;
  margin: 0;
  height: 100%;
}

.hero-actions {
  order: 3;
}

.hero-brand {
  color: var(--bc-blue);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}

.hero h1 {
  font-size: 27px;
}

.hero-lead {
  margin-top: 14px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.9;
}

.hero-work {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-card);
  display: block;
  background: var(--bc-line);
}

.hero-person {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  box-shadow: 0 1px 6px rgba(18, 58, 90, 0.16);
}

.hero-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  flex-shrink: 0;
  background: var(--bc-line);
}

.hero-person span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bc-navy);
  white-space: nowrap;
}

.trust-bar {
  background: var(--bc-mist);
  border-top: 1px solid var(--bc-line);
  padding: 18px 0;
}

.trust-bar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.trust-bar-list li {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bc-navy);
  padding: 0 2px;
  overflow-wrap: break-word;
  white-space: nowrap;
}

.trust-full {
  display: none;
}

.trust-short {
  display: inline;
}

@media (max-width: 359px) {
  .trust-bar-list li {
    font-size: 11px;
  }

  .header-cta,
  .btn-line.header-cta {
    font-size: 12px;
    padding: 8px 10px;
  }

  .fixed-cta a {
    font-size: 14px;
  }

  .hero-person img {
    width: 44px;
    height: 44px;
  }

  .hero-person span {
    font-size: 12px;
  }
}

.hero-cta,
.section-cta .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
}

.section-cta .hero-cta {
  margin-top: 24px;
}

.hero-actions .hero-cta {
  flex-direction: column;
}

.hero-actions .btn-line,
.hero-actions .btn-tel {
  width: 100%;
}

.hero-note {
  margin-top: 8px;
  color: var(--bc-sub);
  font-size: 14px;
  line-height: 1.8;
}

.hero-note a {
  color: var(--bc-blue);
  font-weight: 700;
}

.footer-brand a {
  color: var(--bc-white);
  font-weight: 700;
  text-decoration: underline;
}

.section {
  padding: 56px 0;
}

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

.section-cta {
  background: var(--bc-mist);
  text-align: center;
}

.section-lead {
  margin-top: 12px;
  color: var(--bc-sub);
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.9;
}

.section-cta .section-lead {
  margin-inline: auto;
}

.about-inner {
  display: grid;
  gap: 28px;
}

.about-kicker {
  color: var(--bc-blue);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.about-body {
  margin-top: 14px;
  color: var(--bc-text);
  font-size: 15px;
  line-height: 1.9;
}

.about-media {
  min-width: 0;
  height: 100%;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 533 / 720;
  object-fit: cover;
  object-position: 68% 28%;
  border-radius: var(--radius-card);
  display: block;
  background: var(--bc-line);
}

.about-scope-lead {
  margin-top: 36px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.9;
}

.about-scope {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.about-scope > li {
  background: var(--bc-white);
  border: 1px solid var(--bc-line);
  border-radius: var(--radius-card);
  padding: 18px;
  min-width: 0;
}

.about-scope h3 {
  font-size: 16.5px;
}

.about-scope h3::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bc-teal);
  margin-bottom: 10px;
}

.about-scope p {
  margin-top: 8px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.9;
}

.about-scope-examples {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.about-scope-examples li {
  position: relative;
  padding-left: 12px;
  color: var(--bc-text);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.about-scope-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--bc-teal);
}

.service-group {
  margin-top: 36px;
}

.service-group-head {
  margin-bottom: 16px;
}

.service-group-name {
  position: relative;
  padding-left: 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bc-navy);
}

.service-group-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 3px;
  height: 1em;
  background: var(--bc-teal);
}

.service-group-desc {
  margin-top: 4px;
  padding-left: 12px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.7;
}

.service-group-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bc-white);
  border: 1px solid var(--bc-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(18, 58, 90, 0.06);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--bc-blue);
}

.service-card-visual {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bc-line);
}

.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.service-card-visual img.pos-floor {
  object-position: center 72%;
}

.service-card-visual img.pos-parts {
  object-position: center 42%;
}

.service-card-visual img.pos-cassette {
  object-position: center 52%;
}

.service-card-visual img.pos-home-ac {
  object-position: center 46%;
}

.service-card-visual img.pos-sales {
  object-position: center 36%;
}

.service-card-visual img.pos-light {
  object-position: center 28%;
}

.service-card-visual img.pos-consult {
  object-position: center 72%;
}

.service-card-visual img.pos-toilet {
  object-position: center 58%;
}

/* 商品切り抜き画像はcoverだと商品が切れるため、比率を保って全体を見せる。 */
.service-card-visual img.pos-washlet {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  padding: 10px;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.service-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--bc-blue);
  background: var(--bc-mist);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 16.5px;
}

.service-card p {
  margin-top: 8px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.9;
}

.service-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  color: var(--bc-blue);
  font-weight: 700;
  font-size: 14px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-card {
  border-top: 3px solid var(--bc-blue);
  border-right: 1px solid var(--bc-line);
  border-bottom: 1px solid var(--bc-line);
  border-left: 1px solid var(--bc-line);
  border-radius: var(--radius-card);
  padding: 18px;
  background: var(--bc-white);
}

.feature-card h3 {
  font-size: 16.5px;
}

.feature-card p {
  margin-top: 8px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.9;
}

#representative {
  border-top: 1px solid var(--bc-line);
}

.rep-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.rep-photo img {
  width: 152px;
  height: 152px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  display: block;
  background: var(--bc-line);
}

.rep-role {
  color: var(--bc-blue);
  font-weight: 700;
  font-size: 13px;
}

.rep-copy h2 {
  margin-top: 4px;
}

.rep-creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--bc-sub);
  font-size: 13px;
  font-weight: 500;
}

.rep-body {
  margin-top: 16px;
  color: var(--bc-text);
  font-size: 15px;
  line-height: 1.9;
}

.rep-body p + p {
  margin-top: 0.9em;
}

.case-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.case-card {
  background: var(--bc-white);
  border: 1px solid var(--bc-line);
  border-radius: var(--radius-card);
  padding: 16px;
}

.case-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--bc-blue);
  background: var(--bc-mist);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.case-card > p {
  margin-top: 12px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.8;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.ba-item {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.ba-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bc-line);
}

.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.ba-frame img.pos-fan-before {
  object-position: 62% 48%;
}

.ba-frame img.pos-fan-after {
  object-position: center 52%;
}

.ba-frame img.pos-hood {
  object-position: center 36%;
}

.ba-item figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--bc-navy);
}

.flow-list {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.flow-num {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--bc-navy);
  padding-top: 0.15em;
  min-width: 1.8em;
}

.flow-body h3 {
  font-size: 16.5px;
}

.flow-body p {
  margin-top: 6px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.8;
}

.area-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.area-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bc-navy);
  background: var(--bc-white);
}

.area-hub {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--bc-white);
  background: var(--bc-navy);
  border-radius: 999px;
  padding: 2px 7px;
}

.area-note {
  margin-top: 14px;
  color: var(--bc-sub);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  margin-top: 20px;
  border-top: 1px solid var(--bc-line);
}

.faq-item {
  border-bottom: 1px solid var(--bc-line);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  min-height: 44px;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  color: var(--bc-navy);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--bc-blue);
  border-bottom: 1.5px solid var(--bc-blue);
  transform: translateY(-70%) rotate(45deg);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--bc-sub);
  font-size: 15px;
  line-height: 1.8;
}

.company-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--bc-line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}

.company-table th {
  width: 6.8em;
  color: var(--bc-sub);
  font-weight: 700;
  padding-right: 12px;
}

.company-table td {
  color: var(--bc-text);
}

.company-table a {
  color: var(--bc-blue);
  font-weight: 700;
  text-decoration: none;
}

.fixed-cta {
  display: none;
}

.site-footer {
  background: var(--bc-navy);
  color: #e8f2f7;
  padding: 32px 0 20px;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  color: var(--bc-white);
  text-decoration: underline;
}

.footer-copy {
  margin: 24px auto 0;
  width: min(100% - 40px, var(--container));
  font-size: 13px;
  color: #c5d6e0;
}

@media (min-width: 768px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  h1,
  .hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  h3,
  .about-scope h3,
  .service-card h3,
  .feature-card h3,
  .case-card h3,
  .flow-body h3 {
    font-size: 18px;
  }

  .container,
  .footer-copy {
    width: min(100% - 64px, var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .header-nav {
    display: block;
  }

  .header-cta,
  .btn-line.header-cta {
    margin-left: auto;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 15px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    column-gap: 40px;
    row-gap: 20px;
    align-items: center;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    order: unset;
  }

  .hero-actions {
    grid-column: 1;
    grid-row: 2;
    order: unset;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    order: unset;
    align-self: stretch;
  }

  .hero-work {
    height: 100%;
    min-height: 420px;
    object-position: center 25%;
  }

  .hero-person {
    left: 14px;
    bottom: 14px;
    padding: 6px 14px 6px 6px;
  }

  .hero-person img {
    width: 64px;
    height: 64px;
  }

  .hero-person span {
    font-size: 14px;
  }

  .hero-actions .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-actions .btn-line,
  .hero-actions .btn-tel {
    width: auto;
  }

  .trust-bar {
    padding: 20px 0;
  }

  .trust-bar-list {
    gap: 16px;
  }

  .trust-bar-list li {
    font-size: 15px;
    white-space: normal;
  }

  .trust-full {
    display: inline;
  }

  .trust-short {
    display: none;
  }

  .hero-lead,
  .section-lead,
  .about-body,
  .about-scope-lead,
  .about-scope p,
  .service-card p,
  .feature-card p,
  .rep-body,
  .case-card > p,
  .flow-body p,
  .faq-item p,
  .company-table th,
  .company-table td {
    font-size: 16px;
  }

  .rep-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 40px;
    text-align: left;
  }

  .rep-photo img {
    width: 176px;
    height: 176px;
  }

  .rep-creds {
    justify-content: flex-start;
  }

  .case-card {
    padding: 22px;
  }

  .ba-grid {
    gap: 12px;
  }

  .ba-item figcaption {
    font-size: 13px;
  }

  .flow-list {
    gap: 28px;
  }

  .flow-num {
    font-size: 15px;
  }

  .area-badges {
    gap: 10px;
  }

  .company-table th {
    width: 8em;
    padding-right: 24px;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 40px;
    align-items: stretch;
  }

  .about-media img {
    height: 100%;
    object-position: 70% 22%;
  }

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

  .about-scope > li,
  .feature-card {
    padding: 22px;
  }

  .service-card-body {
    padding: 18px 22px 22px;
  }

  .about-scope-examples li {
    font-size: 15px;
  }

  .service-group-name {
    font-size: 24px;
  }

  .service-group-desc {
    font-size: 16px;
  }

  .service-group-grid,
  .feature-grid {
    gap: 20px;
  }

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

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

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bc-white);
    box-shadow: 0 -2px 10px rgba(18, 58, 90, 0.12);
  }

  .fixed-cta a {
    flex: 1 1 50%;
    width: 50%;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: var(--bc-white);
    touch-action: manipulation;
  }

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

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

  .fixed-cta-tel {
    background: var(--bc-navy);
  }

  .fixed-cta a:focus-visible {
    outline: 2px solid var(--bc-white);
    outline-offset: -4px;
  }
}
