:root {
  --blue: #0056d6;
  --blue-dark: #002661;
  --text: #111827;
  --muted: #475569;
  --line: #d8e6f7;
  --soft-blue: #eef8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}

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

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

.container {
  width: min(100%, 724px);
  margin: 0 auto;
  padding: 0 26px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d9e9fb;
  box-shadow: 0 1px 10px rgba(0, 40, 95, 0.06);
}

.header-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 155px 1fr auto;
  gap: 18px;
  align-items: center;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--blue-dark);
  line-height: 1.05;
}

.logo strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: 900;
}

.logo span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 29px;
  color: #071633;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0067de, #0048c8);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(0, 67, 180, 0.2);
}

.header-call::before {
  content: "☎";
  margin-right: 8px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 472px;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, #eaf7ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  background-image:
    linear-gradient(90deg, #fff 0%, #fff 24%, rgba(255, 255, 255, 0.96) 39%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.24) 73%, rgba(255, 255, 255, 0) 88%),
    url("web_assets/hero_house.png");
  background-repeat: no-repeat;
  background-size: 100% 100%, contain;
  background-position: center right;
}

.hero-inner {
  position: relative;
  padding-top: 45px;
  padding-bottom: 30px;
}

.hero-copy {
  max-width: 430px;
}

.hero h1 {
  margin: 0 0 21px;
  color: var(--blue-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 43px;
  font-weight: 900;
  line-height: 1.25;
}

.hero-lead {
  margin: 0 0 14px;
  color: #0b1730;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
}

.area-note {
  position: relative;
  margin: 0 0 28px;
  padding-left: 24px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.area-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: rotate(-45deg);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.button::after {
  content: "›";
  margin-left: 24px;
  font-size: 23px;
  line-height: 0;
}

.button-primary {
  min-width: 174px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(180deg, #006ee8, #004bc8);
  box-shadow: 0 10px 18px rgba(0, 82, 190, 0.2);
}

.button-secondary {
  min-width: 164px;
  padding: 0 24px;
  color: var(--blue);
  border: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.88);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 22px rgba(0, 39, 86, 0.1);
}

.feature-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.feature-card h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.section {
  padding: 38px 0;
}

.greeting,
.works,
.contact {
  background: linear-gradient(90deg, #eef9ff 0%, #fff 45%, #eef9ff 100%);
}

.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.greeting-photo,
.contact-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 49, 110, 0.12);
}

.section-title {
  margin: 0;
  color: var(--blue);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
}

.title-left::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 7px;
  background: var(--blue);
}

.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.centered::before,
.centered::after {
  content: "";
  width: 70px;
  height: 1px;
  background: #6c8bd4;
}

.section-subtitle {
  margin: 8px 0 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.greeting-copy h3 {
  margin: 27px 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.greeting-copy p {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.message-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 23px;
  padding: 17px 23px;
  border: 1px solid #9ed5ff;
  border-radius: 8px;
  background: rgba(239, 249, 255, 0.75);
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}

.message-box img {
  width: 48px;
  flex: 0 0 auto;
}

.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 163px;
  padding: 17px 12px 13px;
  border: 1px solid #e3edf9;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 7px 18px rgba(0, 42, 96, 0.07);
}

.service-card img {
  width: 64px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 9px;
}

.service-card h3 {
  min-height: 38px;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
}

.service-note {
  margin: 25px 0 0;
  text-align: center;
  color: #273244;
  font-size: 14px;
  font-weight: 800;
}

.service-note::before {
  content: "⌞";
  margin-right: 9px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.works-grid img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 7px 14px rgba(0, 42, 96, 0.08));
}

.works-text-list {
  display: none;
}

.works-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #172033;
  font-size: 16px;
  font-weight: 900;
}

.works-more span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b8d8fa;
}

.works-more span:nth-child(3) {
  background: var(--blue);
}

.contact {
  padding-bottom: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 12px;
  align-items: center;
}

.contact-panel {
  padding: 10px 20px 17px;
  border: 1px solid #dbe7f4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 42, 96, 0.07);
}

.contact-list {
  margin: 10px 0 11px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.contact-list div {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.contact-list dt {
  width: 94px;
  display: flex;
  align-items: center;
  margin: 0;
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  color: var(--blue);
}

.contact-list a[href^="tel:"] {
  font-size: 25px;
  line-height: 1;
}

.contact-button {
  width: 100%;
  min-height: 44px;
  border-radius: 7px;
}

.contact-button::before {
  content: "☎";
  margin-right: 10px;
}

.contact-button::after {
  content: none;
}

.contact-message {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -1px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.contact-message img {
  width: 32px;
}

.site-footer {
  padding: 8px 0 12px;
  background: linear-gradient(135deg, #006de2, #003fb8);
  color: #fff;
  text-align: center;
}

.site-footer strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  line-height: 1.15;
}

.site-footer span {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.site-footer small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
}

@media (min-width: 621px) {
  body {
    zoom: 1.5;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    grid-template-columns: 120px 1fr;
    gap: 10px;
  }

  .logo strong {
    font-size: 22px;
  }

  .logo span {
    font-size: 9px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 28px;
    font-size: 12px;
    overflow-x: auto;
  }

  .header-call {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.42;
    background-position: center top;
  }

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

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

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

  .button {
    width: 100%;
  }

  .feature-row,
  .greeting-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .works-grid {
    display: none;
  }

  .works-text-list {
    display: grid;
    gap: 10px;
  }

  .works-text-list article {
    position: relative;
    min-height: 76px;
    padding: 14px 16px 14px 68px;
    border: 1px solid #dbe7f4;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 7px 18px rgba(0, 42, 96, 0.07);
  }

  .works-text-list span {
    position: absolute;
    left: 14px;
    top: 15px;
    min-width: 37px;
    padding: 3px 8px;
    border-radius: 5px;
    background: linear-gradient(180deg, #006ee8, #004bc8);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
  }

  .works-text-list h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
  }

  .works-text-list p {
    margin: 0;
    color: #263244;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
  }

  .contact-message {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .site-nav {
    gap: 22px;
    font-size: 11px;
  }

  .hero-inner {
    padding-top: 32px;
  }

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

  .feature-card {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .centered {
    gap: 14px;
  }

  .centered::before,
  .centered::after {
    width: 44px;
  }
}
