:root {
  --ink: #283238;
  --muted: #65737b;
  --brand: #56a0b9;
  --brand-dark: #2f86a5;
  --brand-deep: #234854;
  --paper: #f7f4e6;
  --sand: #dad7c9;
  --mist: #eaf3f5;
  --line: #d7e3e7;
  --white: #ffffff;
  --danger: #c35b5d;
  --shadow: 0 18px 48px rgba(35, 72, 84, 0.14);
  --radius: 8px;
  --max: 1160px;
  --sans: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --soft-sans: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 0 46px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

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

.demo-strip,
.demo-bottom {
  background: rgba(35, 72, 84, 0.95);
  color: var(--white);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  padding: 7px 14px;
}

.demo-bottom {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(247, 244, 230, 0.96);
  border-bottom: 1px solid rgba(215, 227, 231, 0.85);
  backdrop-filter: blur(12px);
}

.header-main {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--brand-dark), var(--brand)),
    var(--brand);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(47, 134, 165, 0.24);
  font-family: var(--soft-sans);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 12px 10px;
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--brand-dark);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--brand-deep);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(35, 72, 84, 0.22);
}

.menu-button {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-deep);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 35, 42, 0.78) 0%, rgba(16, 35, 42, 0.58) 42%, rgba(16, 35, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 35, 42, 0.76) 0%, rgba(16, 35, 42, 0) 44%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 78px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-family: var(--soft-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #d7edf4;
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  max-width: 740px;
  margin: 18px 0;
  font-family: var(--soft-sans);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 0 0 30px;
  color: #edf7f8;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-facts li {
  list-style: none;
  padding: 22px;
  background: rgba(247, 244, 230, 0.12);
}

.hero-facts strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: #d8ebef;
  font-size: 13px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--brand-dark);
  border-radius: 999px;
  color: var(--white);
  background: var(--brand-dark);
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 14px 30px rgba(47, 134, 165, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 134, 165, 0.28);
}

.btn--light {
  color: var(--brand-deep);
  background: var(--white);
  border-color: var(--white);
}

.btn--ghost {
  color: var(--brand-deep);
  background: transparent;
  border-color: rgba(35, 72, 84, 0.3);
  box-shadow: none;
}

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

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

.section--mist {
  background:
    radial-gradient(circle at 8% 12%, rgba(86, 160, 185, 0.12), transparent 34%),
    var(--mist);
}

.section--sand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    var(--sand);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title {
  margin: 10px 0 0;
  font-family: var(--soft-sans);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.split--reverse > :first-child {
  order: 2;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(35, 72, 84, 0.82);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.large-copy {
  margin: 0 0 22px;
  font-family: var(--soft-sans);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.35;
}

.text-muted {
  color: var(--muted);
}

.feature-list,
.check-list,
.number-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
}

.feature-list li,
.check-list li,
.number-list li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 227, 231, 0.78);
  border-radius: var(--radius);
}

.feature-list b,
.check-list b,
.number-list b {
  color: var(--brand-dark);
}

.dot,
.number-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

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

.card,
.service-card,
.work-card,
.news-card,
.faq-item {
  background: var(--white);
  border: 1px solid rgba(215, 227, 231, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(35, 72, 84, 0.08);
  overflow: hidden;
}

.card {
  padding: 28px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 50%;
  font-weight: 900;
}

.card h3,
.service-card h3,
.work-card h3,
.news-card h3 {
  margin: 0 0 10px;
  font-family: var(--soft-sans);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
}

.card p,
.service-card p,
.work-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.service-card img,
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.tag-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.tag,
.filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(86, 160, 185, 0.32);
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(86, 160, 185, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.filter-button {
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.roof-line {
  padding: 34px;
  border: 1px dashed rgba(47, 134, 165, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(86, 160, 185, 0.12), rgba(218, 215, 201, 0.32)),
    var(--white);
}

.roof-line h3 {
  margin: 0 0 16px;
  font-family: var(--soft-sans);
  font-size: 28px;
}

.process {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(215, 227, 231, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(35, 72, 84, 0.07);
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-dark);
  font-weight: 900;
}

.process-item h3 {
  margin: 0 0 8px;
  font-family: var(--soft-sans);
  font-size: 22px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

.cta {
  padding: 58px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(35, 72, 84, 0.95), rgba(47, 134, 165, 0.9)),
    var(--brand-deep);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 14px;
  font-family: var(--soft-sans);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.cta p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #e9f5f7;
}

.page-hero {
  padding: 92px 0 72px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(35, 72, 84, 0.94), rgba(86, 160, 185, 0.8)),
    var(--brand-deep);
}

.page-hero .eyebrow {
  color: #d7edf4;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: #d7edf4;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 210px;
  color: var(--brand-deep);
  background: var(--mist);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

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

.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card h3 {
  margin: 0 0 12px;
  font-family: var(--soft-sans);
}

.price-card strong {
  color: var(--brand-dark);
  font-size: 26px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-question span:last-child {
  flex: 0 0 auto;
  color: var(--brand-dark);
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.post-list {
  display: grid;
  gap: 14px;
}

.news-card {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.news-meta {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.news-arrow {
  color: var(--brand-dark);
  font-weight: 900;
}

.article {
  max-width: 860px;
  margin-inline: auto;
}

.article h2,
.article h3 {
  font-family: var(--soft-sans);
}

.article p {
  color: var(--muted);
}

.form-box {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-form-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  color: var(--brand-deep);
  background: var(--mist);
  border-left: 4px solid var(--brand-dark);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 900;
  color: var(--brand-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf7;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--danger);
  font-weight: 800;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.site-footer {
  color: #dcebef;
  background: var(--brand-deep);
}

.footer-demo {
  padding: 12px 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.16);
  font-size: 13px;
  text-align: center;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 48px;
  padding: 62px 0 42px;
}

.footer-main h2,
.footer-main h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--soft-sans);
}

.footer-main p {
  margin: 0;
  color: #dcebef;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.footer-links a {
  color: #dcebef;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #c7d9de;
  font-size: 13px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination span,
.pagination a {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 900;
}

.pagination span {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

@media (max-width: 1050px) {
  .header-main {
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .header-call {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 116px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 14px;
  }

  .hero {
    min-height: 650px;
  }

  .section-head,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: initial;
  }

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

  .news-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    padding-bottom: 58px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .demo-strip,
  .demo-bottom {
    font-size: 11px;
    text-align: left;
  }

  .brand {
    min-width: auto;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    inset: 108px 14px auto;
  }

  .hero {
    min-height: 690px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 35, 42, 0.28) 0%, rgba(16, 35, 42, 0.88) 58%, rgba(16, 35, 42, 0.96) 100%);
  }

  .hero-image {
    object-position: center top;
  }

  .hero-inner {
    padding: 290px 0 38px;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .hero-facts li {
    padding: 16px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 31px;
  }

  .large-copy {
    font-size: 28px;
  }

  .card-grid,
  .price-grid,
  .footer-main,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .card-body,
  .form-box,
  .cta,
  .roof-line {
    padding: 22px;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .process-item::before {
    width: 52px;
    height: 52px;
  }

  .page-hero {
    padding: 68px 0 54px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
