.component {
  --ink: #1f3b2f;
  --ink-soft: #405548;
  --paper: #f6f0e6;
  --paper-deep: #eee5d6;
  --rust: #b9643f;
  --rust-dark: #994c30;
  --line: rgba(31, 59, 47, 0.24);
  --cv-space: 6.25rem;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

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

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

.component a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

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

.component .site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--paper);
}

.component .site-logo {
  flex: 0 1 auto;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.component .nav-cta {
  display: flex;
  flex: 0 1 23rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.35rem;
  padding: 0.7rem 1.25rem 0.7rem 1.5rem;
  overflow-wrap: anywhere;
  border-radius: 0.35rem;
  background: var(--rust);
  color: #fffaf1;
  font-size: clamp(0.86rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 180ms ease, transform 180ms ease;
}

.component .nav-cta::after,
.component .hero-link::after,
.component .cv-bar-button::after,
.component .section-link::after {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.component .nav-cta:hover,
.component .hero-link:hover,
.component .cv-bar-button:hover {
  background: var(--rust-dark);
}

.component .nav-cta:hover,
.component .hero-link:hover,
.component .cv-bar-button:hover,
.component .section-link:hover {
  transform: translateY(-1px);
}

.component .page-main {
  width: 100%;
}

.component .hero-section {
  background: var(--paper);
}

.component .hero-media {
  width: 100%;
  overflow: hidden;
  background: #d8d0c1;
}

.component .hero-image {
  width: 100%;
  height: clamp(14rem, 38vw, 35rem);
  object-fit: cover;
  object-position: center;
}

.component .hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.36fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  max-width: 86rem;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6.4vw, 6.5rem) clamp(4.5rem, 8vw, 7.5rem);
}

.component .hero-copy {
  min-width: 0;
  max-width: 47rem;
}

.component .hero-title,
.component .section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.07em;
}

.component .hero-title {
  font-size: clamp(2.15rem, 4.6vw, 4.75rem);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.component .hero-text {
  max-width: 43rem;
  margin: clamp(1.75rem, 3vw, 2.75rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.38rem);
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.component .hero-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100%, 37rem);
  min-height: 4.4rem;
  margin-top: clamp(2rem, 3.4vw, 3rem);
  padding: 0.9rem 1.75rem 0.9rem 2rem;
  border-radius: 0.4rem;
  background: var(--rust);
  color: #fffaf1;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  font-weight: 600;
  line-height: 1.45;
  transition: background-color 180ms ease, transform 180ms ease;
}

.component .hero-decoration {
  position: relative;
  width: min(100%, 12rem);
  height: 14rem;
  justify-self: center;
  opacity: 0.78;
  transform: rotate(-8deg);
}

.component .hero-decoration::before,
.component .hero-decoration::after {
  position: absolute;
  display: block;
  content: "";
}

.component .hero-decoration::before {
  top: 1.5rem;
  left: 50%;
  width: 0.08rem;
  height: 10.5rem;
  background: var(--ink-soft);
  transform: rotate(19deg);
  transform-origin: top center;
}

.component .hero-decoration::after {
  right: 0.3rem;
  bottom: 0.9rem;
  width: 3rem;
  height: 0.08rem;
  background: var(--ink-soft);
  box-shadow: -1.5rem -7.6rem 0 -0.02rem var(--ink-soft);
}

.component .services-section,
.component .faq-section {
  background: var(--paper-deep);
}

.component .process-section {
  background: var(--paper);
}

.component .section-inner {
  width: min(100%, 86rem);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 6.4vw, 6.5rem) clamp(4.5rem, 8vw, 7.5rem);
}

.component .section-heading {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.component .section-heading::before {
  flex: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  height: 1px;
  background: var(--ink);
  content: "";
}

.component .section-heading h2 {
  font-size: clamp(1.75rem, 3.7vw, 3.45rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.component .service-list {
  display: grid;
  gap: 0;
  max-width: 73rem;
  margin: 0;
  padding: 0;
  counter-reset: service-item;
  list-style: none;
}

.component .service-item {
  display: grid;
  grid-template-columns: clamp(4.6rem, 10vw, 8rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.35rem) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: service-item;
}

.component .service-item:first-child {
  padding-top: 0;
}

.component .service-item::before {
  color: var(--rust);
  content: counter(service-item, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.component .service-item p {
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.component .section-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding: 0.35rem 0 0.65rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  transition: transform 180ms ease;
}

.component .process-list {
  max-width: 68rem;
  margin: 0;
  padding: 0 0 0 1.2rem;
  list-style: none;
}

.component .process-item {
  position: relative;
  min-width: 0;
  padding: 0.7rem 0 2rem 2.5rem;
  border-left: 1px solid var(--rust);
}

.component .process-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.component .process-item::before {
  position: absolute;
  top: 0.65rem;
  left: -0.62rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--rust);
  content: "";
}

.component .process-item p {
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.component .faq-list {
  max-width: 71rem;
  margin: 0;
}

.component .faq-item {
  margin: 0;
  padding: clamp(1.35rem, 2.7vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.55vw, 1.28rem);
  line-height: 2;
  overflow-wrap: anywhere;
}

.component .faq-item:first-child {
  padding-top: 0;
}

.component .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-width: 0;
  padding: 3.5rem clamp(1.25rem, 5vw, 4rem) var(--cv-space);
  background: var(--ink);
  color: #f8f1e6;
}

.component .site-footer .site-logo {
  color: #f8f1e6;
}

.component .footer-nav {
  display: none;
}

.component .site-copyright {
  flex: 0 1 auto;
  margin: 0;
  color: #f8f1e6;
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.6;
  text-align: right;
  overflow-wrap: anywhere;
}

.component .cv-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.65rem max(1rem, 3vw) calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(31, 59, 47, 0.96);
}

.component .cv-bar-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 78rem);
  min-height: 3.55rem;
  margin: 0 auto;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  border-radius: 0.4rem;
  background: var(--rust);
  color: #fffaf1;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 180ms ease, transform 180ms ease;
}

@media (max-width: 719px) {
  .component {
    --cv-space: 6rem;
  }

  .component .site-header {
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .component .site-logo {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    letter-spacing: 0.08em;
  }

  .component .nav-cta {
    flex: 0 1 auto;
    gap: 0.55rem;
    max-width: 12rem;
    min-height: 2.7rem;
    padding: 0.5rem 0.65rem;
    font-size: clamp(0.68rem, 2.8vw, 0.94rem);
  }

  .component .nav-cta::after {
    width: 0.5rem;
    height: 0.5rem;
  }

  .component .hero-image {
    height: clamp(13rem, 58vw, 24rem);
  }

  .component .hero-body {
    display: block;
    padding: 3.5rem 1.25rem 4.25rem;
  }

  .component .hero-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 1.5;
  }

  .component .hero-text {
    margin-top: 1.5rem;
    font-size: clamp(0.96rem, 4vw, 1.15rem);
    line-height: 2;
  }

  .component .hero-link {
    min-height: 3.7rem;
    margin-top: 1.75rem;
    padding: 0.8rem 1rem 0.8rem 1.15rem;
    font-size: clamp(0.9rem, 3.8vw, 1.08rem);
  }

  .component .hero-decoration {
    display: none;
  }

  .component .section-inner {
    padding: 3.75rem 1.25rem 4.25rem;
  }

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

  .component .section-heading::before {
    flex-basis: 2.5rem;
  }

  .component .section-heading h2 {
    font-size: clamp(1.65rem, 7.3vw, 2.45rem);
    line-height: 1.5;
  }

  .component .service-item {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.2rem 0;
  }

  .component .service-item::before {
    font-size: 2.25rem;
  }

  .component .service-item p,
  .component .process-item p,
  .component .faq-item {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .component .process-list {
    padding-left: 0.75rem;
  }

  .component .process-item {
    padding: 0.45rem 0 1.55rem 1.7rem;
  }

  .component .process-item::before {
    top: 0.4rem;
    left: -0.56rem;
    width: 1.05rem;
    height: 1.05rem;
    border-width: 2px;
  }

  .component .faq-item {
    padding: 1.25rem 0;
  }

  .component .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 2.5rem;
  }

  .component .site-copyright {
    text-align: left;
  }

  .component .cv-bar {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .component .cv-bar-button {
    min-height: 3.35rem;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: clamp(0.83rem, 3.5vw, 1rem);
  }
}

@media (min-width: 720px) {
  .component .service-item:nth-child(even) {
    padding-left: clamp(1rem, 7vw, 7rem);
  }
}