:root {
  --ink: #1b2522;
  --muted: #5f6d68;
  --line: #d9e4df;
  --paper: #f7faf8;
  --white: #ffffff;
  --green: #00b36b;
  --green-dark: #08774e;
  --sun: #f4b548;
  --sky: #dceef2;
  --shadow: 0 18px 60px rgba(18, 52, 42, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 228, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.25;
}

.miyakko-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(from 30deg, #2f7a5c, #8fba78 14%, #fff 17%, #4f8e72 28%, #f0a340 33%, #fff 37%, #6fa989 52%, #2f7a5c 68%, #fff 72%, #8fba78 86%, #2f7a5c);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px #fff;
}

.miyakko-icon span {
  position: relative;
  color: #1b7f59;
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
}

.owner-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.service-name {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green-dark);
}

.nav-cta {
  padding: 8px 14px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 23, 18, 0.82) 0%, rgba(6, 23, 18, 0.62) 42%, rgba(6, 23, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 23, 18, 0.12) 0%, rgba(6, 23, 18, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding-top: 84px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #9df1c9;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 12px 8px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  font-weight: 900;
}

.owner-badge .miyakko-icon {
  width: 42px;
  height: 42px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding: 26px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.flow-item {
  min-width: 150px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-item span {
  display: block;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.flow-item strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  background: var(--paper);
}

.problem-list {
  display: grid;
  gap: 16px;
}

.problem-list article,
.service-card,
.price-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(25, 58, 49, 0.07);
}

.problem-list article {
  padding: 24px;
}

.problem-list p,
.service-card p,
.steps p,
.price p,
.contact p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

.service > h2,
.steps > h2,
.contact > h2 {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--green-dark);
  background: #e5f8ef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.steps {
  background: linear-gradient(180deg, #f7faf8 0%, #eef7f2 100%);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.price {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 460px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  background: var(--white);
}

.price p {
  margin-top: 18px;
  max-width: 660px;
}

.price-panel {
  padding: 32px;
  border-top: 6px solid var(--green);
  box-shadow: var(--shadow);
}

.plan-name {
  margin: 0 !important;
  color: var(--green-dark) !important;
  font-weight: 900;
}

.plan-price {
  margin: 8px 0 18px !important;
  color: var(--ink) !important;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.price-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
  margin: 0;
  color: var(--muted);
}

.contact {
  background: var(--sky);
}

.contact > p {
  max-width: 820px;
  margin-top: 18px;
}

.line-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin-top: 32px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #c7d7d1;
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(25, 58, 49, 0.07);
}

.line-contact h3 {
  margin-bottom: 10px;
}

.line-contact ul {
  display: grid;
  gap: 6px;
  padding-left: 1.2em;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 23, 18, 0.78) 0%, rgba(6, 23, 18, 0.58) 58%, rgba(6, 23, 18, 0.38) 100%);
  }

  .hero-content {
    margin: 0 auto;
  }

  .flow-strip {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .flow-item {
    min-width: 0;
  }

  .split,
  .price {
    grid-template-columns: 1fr;
  }

  .line-contact {
    display: grid;
    align-items: start;
  }

  .line-contact .button {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 14px;
  }

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

  .brand-icon span {
    font-size: 6px;
  }

  .owner-name {
    font-size: 14px;
  }

  .service-name {
    font-size: 10px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 72px;
  }

  h1 {
    font-size: 38px;
  }

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

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .plan-price {
    font-size: 34px;
  }
}
