:root {
  color-scheme: light;
  --green-900: #173f32;
  --green-800: #1f5c45;
  --green-700: #2d765a;
  --green-100: #e8f0eb;
  --green-050: #f4f7f4;
  --ink: #193027;
  --muted: #64736d;
  --line: #d7e0da;
  --yellow: #f1c845;
  --paper: #ffffff;
  --jp-sans: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --latin-sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp-sans);
}

body {
  min-height: 100svh;
}

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

.proposal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 30px;
  padding: 5px 24px;
  background: var(--green-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.proposal-bar__detail {
  color: #cfdcd6;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.first-view {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 30px);
  overflow: clip;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 96px, 1400px);
  min-height: 104px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.company {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.company__label {
  color: var(--green-700);
  font-family: var(--latin-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.company__name {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.header-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.header-area__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgb(241 200 69 / 20%);
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas:
    "eyebrow visual"
    "headline visual"
    "body visual"
    "cta visual";
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(42px, 5vw, 76px);
  row-gap: 0;
  width: min(100% - 96px, 1400px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 64px) 0 28px;
}

.hero__eyebrow {
  grid-area: eyebrow;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__eyebrow span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--green-700);
  border-radius: 50%;
  font-family: var(--latin-sans);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.hero__title {
  grid-area: headline;
  margin: 0 0 30px;
  color: var(--green-800);
  font-size: clamp(2.65rem, 3.55vw, 3.75rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.035em;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__visual {
  position: relative;
  grid-area: visual;
  align-self: stretch;
  min-height: 470px;
  overflow: hidden;
  border-radius: 30px 30px 30px 4px;
  background:
    radial-gradient(circle at 76% 18%, rgb(255 255 255 / 68%) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #edf3ef 0%, #dae7df 54%, #c8d9cf 100%);
  box-shadow: 0 24px 60px rgb(23 63 50 / 12%);
}

.photo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(31 92 69 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(31 92 69 / 8%) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}

.photo-placeholder {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(80%, 420px);
  transform: translate(-50%, -54%);
  text-align: center;
}

.photo-placeholder__mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgb(31 92 69 / 45%);
  border-radius: 50%;
  color: var(--green-700);
  font-family: var(--latin-sans);
  font-size: 1.7rem;
  font-weight: 300;
}

.photo-placeholder__title {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.photo-placeholder__text {
  margin: 0;
  color: #557065;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.photo-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 13px;
  background: rgb(255 255 255 / 76%);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  backdrop-filter: blur(8px);
}

.photo-caption span {
  color: var(--green-700);
  font-family: var(--latin-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero__body {
  grid-area: body;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green-900);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero__lead {
  margin: 0;
  color: #4b5f57;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.045em;
}

.hero__cta-wrap {
  grid-area: cta;
  align-self: end;
  padding-top: 30px;
}

.hero__cta {
  position: relative;
  display: grid;
  width: min(100%, 420px);
  min-height: 94px;
  padding: 18px 64px 18px 24px;
  border: 0;
  border-radius: 3px 28px 28px 3px;
  background: var(--green-800);
  color: #fff;
  opacity: 1;
  text-align: left;
  cursor: default;
}

.hero__cta::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--yellow);
  content: "";
}

.hero__cta-small {
  align-self: end;
  color: #d8e6df;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero__cta-main {
  align-self: start;
  margin-top: 5px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__cta-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-800);
  font-family: var(--latin-sans);
  font-size: 1.2rem;
}

.hero__cta-note {
  width: min(100%, 420px);
  margin: 9px 0 0;
  color: #7b8983;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}

.fv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 96px, 1400px);
  min-height: 56px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #718078;
  font-family: var(--latin-sans);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.fv-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .fv-footer {
    width: min(100% - 64px, 1400px);
  }

  .hero {
    grid-template-columns: minmax(370px, 0.88fr) minmax(0, 1.12fr);
    column-gap: 42px;
    padding-top: 38px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 3.75vw, 2.7rem);
  }

  .hero__visual {
    min-height: 440px;
  }

  .hero__lead {
    font-size: 0.94rem;
  }
}

@media (max-width: 820px) {
  .proposal-bar {
    gap: 8px;
    min-height: 32px;
    padding-inline: 14px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .first-view {
    min-height: calc(100svh - 32px);
    overflow: visible;
  }

  .site-header,
  .hero,
  .fv-footer {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    min-height: 82px;
  }

  .company {
    display: block;
  }

  .company__label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.6rem;
  }

  .company__name {
    font-size: 1.08rem;
  }

  .header-area {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .header-area__dot {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgb(241 200 69 / 18%);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "headline"
      "visual"
      "body"
      "cta";
    grid-template-rows: auto;
    gap: 0;
    padding: 26px 0 24px;
  }

  .hero__eyebrow {
    margin-bottom: 16px;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .hero__eyebrow span {
    width: 28px;
    height: 28px;
    font-size: 0.6rem;
  }

  .hero__title {
    margin-bottom: 22px;
    font-size: clamp(2.12rem, 9.6vw, 2.7rem);
    line-height: 1.36;
    letter-spacing: 0.025em;
  }

  .hero__visual {
    min-height: 280px;
    margin-bottom: 25px;
    border-radius: 22px 22px 22px 3px;
    box-shadow: 0 18px 44px rgb(23 63 50 / 12%);
  }

  .photo-grid {
    background-size: 40px 40px;
  }

  .photo-placeholder {
    transform: translate(-50%, -58%);
  }

  .photo-placeholder__mark {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    font-size: 1.35rem;
  }

  .photo-placeholder__title {
    margin-bottom: 7px;
    font-size: 1.02rem;
  }

  .photo-placeholder__text {
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .photo-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 0.68rem;
  }

  .service-line {
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.86rem;
  }

  .hero__lead {
    font-size: 0.9rem;
    line-height: 1.85;
    letter-spacing: 0.025em;
  }

  .desktop-break {
    display: none;
  }

  .hero__cta-wrap {
    padding-top: 22px;
  }

  .hero__cta {
    width: 100%;
    min-height: 82px;
    padding: 14px 58px 14px 20px;
    border-radius: 3px 24px 24px 3px;
  }

  .hero__cta-main {
    font-size: 0.94rem;
  }

  .hero__cta-note {
    width: 100%;
    font-size: 0.68rem;
  }

  .fv-footer {
    min-height: 48px;
  }

  .fv-footer p:last-child {
    display: none;
  }
}

@media (max-width: 420px) {
  .proposal-bar__detail {
    display: none;
  }

  .site-header,
  .hero,
  .fv-footer {
    width: calc(100% - 28px);
  }

  .company__name {
    font-size: 1rem;
    letter-spacing: 0.045em;
  }

  .hero__eyebrow {
    font-size: 0.71rem;
  }

  .hero__title {
    font-size: clamp(1.82rem, 8vw, 2.05rem);
  }

  .hero__visual {
    min-height: 252px;
  }

  .photo-caption {
    justify-content: center;
  }

  .photo-caption span {
    display: none;
  }

  .hero__lead {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
