:root {
  color-scheme: light;
  --ink: #20342b;
  --deep: #164d3b;
  --forest: #29664f;
  --moss: #8da57a;
  --cream: #f7f2e7;
  --paper: #fffdf8;
  --line: rgba(32, 52, 43, 0.18);
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #e8ece7;
  color: var(--ink);
}

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.proposal {
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 28%, rgba(141, 165, 122, 0.1), transparent 22rem),
    var(--paper);
}

.site-header {
  min-height: 94px;
  padding: 18px clamp(28px, 5vw, 76px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  border-top: 5px solid var(--deep);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 45px;
  height: 45px;
  display: block;
  border: 1px solid rgba(22, 77, 59, 0.38);
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 8px;
  height: 20px;
  border-radius: 100% 0 100% 0;
  background: var(--forest);
  transform-origin: 50% 100%;
}

.brand-mark span:nth-child(1) {
  transform: translateX(-50%) rotate(-38deg);
}

.brand-mark span:nth-child(2) {
  height: 24px;
  transform: translateX(-50%);
}

.brand-mark span:nth-child(3) {
  transform: translateX(-50%) rotate(38deg);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--forest);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 4vw, 58px);
}

.header-meta p {
  margin: 0;
  color: #607168;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-meta nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
}

.header-meta nav span {
  position: relative;
  color: #31483d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-meta nav span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(18px, 2.5vw, 34px) / -2);
  width: 1px;
  height: 13px;
  background: var(--line);
  transform: translateY(-50%);
}

.sample-chip {
  padding: 8px 13px;
  border: 1px solid rgba(22, 77, 59, 0.34);
  border-radius: 999px;
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100svh - 94px);
  padding: clamp(30px, 4vh, 52px) clamp(28px, 5vw, 76px) 30px;
}

.eyebrow {
  width: min(80%, 1000px);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow span {
  color: #6a7c72;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.eyebrow i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(41, 102, 79, 0.26), transparent);
}

.photo-placeholder {
  position: relative;
  width: min(80%, 1000px);
  height: clamp(330px, 50vh, 520px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px 34px 8px 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.06) 52%),
    linear-gradient(135deg, #d7dfd0 0%, #aabc9c 48%, #6f8c76 100%);
}

.photo-placeholder::before,
.photo-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.15);
}

.photo-placeholder::before {
  width: 520px;
  height: 520px;
  left: -180px;
  top: -270px;
}

.photo-placeholder::after {
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -260px;
}

.leaf {
  position: absolute;
  width: 210px;
  height: 90px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100% 0 100% 0;
  background: rgba(49, 91, 66, 0.12);
  transform: rotate(-20deg);
}

.leaf-a {
  left: -30px;
  bottom: 48px;
}

.leaf-b {
  right: 10%;
  top: 36px;
  width: 170px;
  height: 70px;
  transform: rotate(20deg);
}

.leaf-c {
  right: -44px;
  bottom: 90px;
  transform: rotate(38deg);
}

.photo-label {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 2;
  width: min(340px, calc(100% - 40px));
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 3px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  color: #355046;
}

.photo-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 28px;
  border: 1.5px solid #557063;
  border-radius: 4px;
  background:
    radial-gradient(circle at 74% 28%, #557063 0 2px, transparent 3px),
    linear-gradient(140deg, transparent 46%, #557063 47% 50%, transparent 51%);
}

.photo-label strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.photo-label small {
  color: #65776e;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.copy-panel {
  position: relative;
  z-index: 4;
  width: min(660px, 58%);
  margin: clamp(-112px, -10vh, -78px) auto 0;
  padding: clamp(30px, 4vh, 46px) clamp(38px, 5vw, 74px) 28px;
  border-radius: 50% 50% 14px 14px / 32px 32px 14px 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), transparent 48%),
    var(--cream);
  text-align: center;
  box-shadow: 0 15px 40px rgba(42, 66, 52, 0.11);
}

.copy-kicker {
  margin: 0 0 12px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  color: #244438;
  font-family: var(--serif);
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.06em;
}

.lead {
  margin: 14px 0 20px;
  color: #4e6258;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.lead span {
  display: block;
}

.consultation {
  width: min(100%, 420px);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 19px 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  cursor: default;
  opacity: 1;
}

.button-label {
  display: grid;
  gap: 3px;
  text-align: left;
}

.button-label small {
  color: rgba(255,255,255,.77);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.button-label strong {
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: 0.07em;
}

.button-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  font-size: 22px;
  line-height: 1;
}

.sample-note {
  margin: 14px 0 0;
  color: #7c8982;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    padding-inline: 34px;
  }

  .header-meta p {
    display: none;
  }

  .header-meta nav {
    justify-content: flex-end;
  }

  .hero {
    padding-inline: 34px;
  }

  .photo-placeholder,
  .eyebrow {
    width: min(88%, 920px);
  }

  .copy-panel {
    width: min(670px, 68%);
  }
}

@media (min-width: 761px) and (max-height: 800px) {
  .site-header {
    min-height: 78px;
    padding-block: 12px;
  }

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

  .hero {
    min-height: calc(100svh - 80px);
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .eyebrow {
    margin-bottom: 9px;
  }

  .photo-placeholder {
    height: clamp(286px, 42vh, 340px);
  }

  .copy-panel {
    margin-top: -82px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .copy-kicker {
    margin-bottom: 7px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(40px, 3.65vw, 50px);
    line-height: 1.2;
  }

  .lead {
    margin: 8px 0 12px;
    line-height: 1.6;
  }

  .consultation {
    min-height: 62px;
    padding-block: 8px;
  }

  .button-arrow {
    width: 38px;
    height: 38px;
  }

  .sample-note {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .proposal {
    min-height: 100svh;
  }

  .site-header {
    min-height: 74px;
    padding: 12px 18px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    border-top-width: 4px;
  }

  .brand {
    gap: 9px;
  }

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

  .brand-mark span {
    bottom: 8px;
    width: 7px;
    height: 17px;
  }

  .brand-mark span:nth-child(2) {
    height: 21px;
  }

  .brand-copy strong {
    font-size: 17px;
    letter-spacing: 0.09em;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .header-meta {
    display: none;
  }

  .sample-chip {
    padding: 7px 10px;
    font-size: 9px;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding: 20px 16px 24px;
  }

  .eyebrow {
    width: 100%;
    margin-bottom: 10px;
  }

  .eyebrow span {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .photo-placeholder {
    width: 100%;
    height: clamp(244px, 34vh, 298px);
    border-radius: 24px 24px 6px 6px;
  }

  .photo-placeholder::before {
    width: 300px;
    height: 300px;
    left: -120px;
    top: -175px;
  }

  .photo-label {
    top: 41%;
    width: min(290px, calc(100% - 34px));
    padding: 16px 18px;
    grid-template-columns: 29px 1fr;
    column-gap: 11px;
    border-radius: 14px;
  }

  .photo-icon {
    width: 29px;
    height: 24px;
  }

  .photo-label strong {
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  .photo-label small {
    font-size: 9px;
  }

  .copy-panel {
    width: calc(100% - 8px);
    margin-top: -52px;
    padding: 27px 18px 22px;
    border-radius: 36% 36% 12px 12px / 22px 22px 12px 12px;
  }

  .copy-kicker {
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: 34px;
    line-height: 1.27;
    letter-spacing: 0.02em;
  }

  .lead {
    margin: 10px 0 15px;
    font-size: 13px;
    line-height: 1.72;
    letter-spacing: 0.035em;
  }

  .consultation {
    min-height: 68px;
    padding: 10px 12px 10px 22px;
    gap: 8px;
  }

  .button-label small {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .button-label strong {
    font-size: 15px;
    letter-spacing: 0.035em;
  }

  .button-arrow {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .sample-note {
    max-width: 310px;
    margin: 10px auto 0;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 13px;
  }

  .sample-chip {
    padding-inline: 8px;
  }

  .hero {
    padding-inline: 12px;
  }

  .copy-panel {
    width: calc(100% - 4px);
    padding-inline: 16px;
  }

  h1 {
    font-size: 31.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
