:root {
  --wine: #7b3f48;
  --wine-deep: #4d252d;
  --cream: #f4efe4;
  --paper: #fffdf9;
  --ink: #242322;
  --muted: #6f6963;
  --line: #d8d1c7;
  --warm: #d7a64a;
}

* {
  box-sizing: border-box;
}

html {
  background: #e8e3da;
  color: var(--ink);
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.stage {
  min-height: 100svh;
  padding: clamp(12px, 1.8vw, 26px);
  display: grid;
  place-items: center;
}

.page-shell {
  width: min(100%, 1440px);
  min-height: calc(100svh - clamp(24px, 3.6vw, 52px));
  overflow: clip;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(61, 45, 35, 0.12);
}

.site-header {
  min-height: 86px;
  padding: 18px clamp(28px, 4vw, 62px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(123, 63, 72, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 44% 44%;
  background: var(--wine);
  color: #fff;
  font-family: "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-name {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.header-context {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.location {
  font-family: "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.divider {
  width: 1px;
  height: 19px;
  background: var(--line);
}

.sample-label {
  padding: 8px 12px;
  border: 1px solid rgba(123, 63, 72, 0.32);
  border-radius: 999px;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5.2vh, 58px) clamp(30px, 3.7vw, 54px) 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--wine);
  font-size: clamp(0.86rem, 1.05vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow span {
  margin-right: 6px;
  color: var(--warm);
  font-size: 0.65em;
  vertical-align: 0.16em;
}

h1 {
  margin: 0;
  color: var(--wine-deep);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(2.1rem, 3.35vw, 3.25rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.035em;
}

.title-line {
  display: block;
  white-space: nowrap;
}

h1 em {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
}

h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.12em;
  left: 0;
  z-index: -1;
  height: 0.24em;
  border-radius: 999px;
  background: rgba(215, 166, 74, 0.3);
}

.lead {
  max-width: 41rem;
  margin: 22px 0 0;
  color: #55504b;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

.lead span {
  display: block;
}

.service-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  min-height: 47px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #4c4743;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--wine);
}

.cta-group {
  margin-top: 22px;
}

.cta {
  width: min(100%, 390px);
  min-height: 64px;
  padding: 14px 18px 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  opacity: 1;
}

.cta:disabled {
  cursor: default;
}

.cta-arrow {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: var(--wine);
  font-family: Arial, sans-serif;
  font-size: 1.18rem;
  line-height: 1;
}

.cta-note {
  margin: 9px 0 0 20px;
  color: #7f7973;
  font-size: 0.75rem;
  line-height: 1.5;
}

.visual-column {
  position: relative;
  min-width: 0;
  margin: 24px 26px 28px 0;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 32px 32px 86px 32px;
  background:
    linear-gradient(135deg, rgba(244, 239, 228, 0.92), rgba(219, 209, 195, 0.72)),
    #ded5c9;
  border: 1px solid rgba(77, 37, 45, 0.08);
}

.photo-placeholder::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -25%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(123, 63, 72, 0.12);
}

.room-grid {
  position: absolute;
  inset: 0;
}

.wall-line {
  position: absolute;
  display: block;
  height: 1px;
  background: rgba(77, 37, 45, 0.18);
  transform-origin: left center;
}

.line-a {
  top: 35%;
  left: 0;
  width: 76%;
  transform: rotate(20deg);
}

.line-b {
  top: 46%;
  left: 30%;
  width: 74%;
  transform: rotate(-31deg);
}

.line-c {
  top: 0;
  left: 61%;
  width: 75%;
  transform: rotate(90deg);
}

.window-shape {
  position: absolute;
  top: 16%;
  right: 10%;
  width: 30%;
  height: 29%;
  border: 2px solid rgba(123, 63, 72, 0.22);
  border-radius: 4px;
}

.window-shape::before,
.window-shape::after {
  content: "";
  position: absolute;
  background: rgba(123, 63, 72, 0.2);
}

.window-shape::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.window-shape::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.photo-label {
  position: absolute;
  top: 34px;
  left: 36px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: var(--wine-deep);
}

.photo-index {
  font-family: "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.photo-label strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.photo-label small {
  color: var(--muted);
  font-size: 0.8rem;
}

.message-card {
  position: absolute;
  left: -42px;
  bottom: 38px;
  z-index: 2;
  width: min(340px, 54%);
  padding: 25px 30px 24px;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 18px 46px rgba(77, 37, 45, 0.13);
  backdrop-filter: blur(10px);
}

.message-en {
  color: var(--wine);
  font-family: "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.message-card p {
  margin: 10px 0 14px;
  color: var(--wine-deep);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.message-place {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

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

  .hero-copy {
    padding-inline: 28px;
  }

  h1 {
    font-size: clamp(2.08rem, 3.35vw, 2.42rem);
  }

  .lead {
    font-size: 1rem;
  }

  .visual-column {
    margin-right: 20px;
  }

  .message-card {
    left: -24px;
  }
}

@media (max-width: 820px) {
  html {
    background: var(--paper);
  }

  .stage {
    padding: 0;
    display: block;
  }

  .page-shell {
    min-height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    min-height: 72px;
    padding: 12px 17px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    font-size: 0.94rem;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.025em;
  }

  .header-context {
    display: none;
  }

  .sample-label {
    padding: 7px 9px;
    font-size: 0.67rem;
    letter-spacing: 0.04em;
  }

  .hero {
    min-height: 0;
    padding: 27px 17px 20px;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow {
    order: 1;
    margin: 0 0 13px;
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0.035em;
  }

  h1 {
    order: 2;
    font-size: clamp(1.82rem, 7.55vw, 2.05rem);
    line-height: 1.4;
    letter-spacing: -0.045em;
  }

  .title-line {
    white-space: nowrap;
  }

  .lead {
    order: 3;
    margin: 15px 0 0;
    font-size: 0.94rem;
    line-height: 1.78;
    letter-spacing: 0.01em;
  }

  .visual-column {
    order: 4;
    height: clamp(205px, 30svh, 250px);
    margin: 20px 0 0;
  }

  .photo-placeholder {
    border-radius: 25px 25px 54px 25px;
  }

  .photo-label {
    top: 20px;
    left: 22px;
    gap: 2px;
  }

  .photo-label strong {
    font-size: 1rem;
  }

  .message-card {
    right: 15px;
    bottom: 15px;
    left: auto;
    width: 62%;
    padding: 14px 17px 13px;
    border-radius: 17px;
  }

  .message-en {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .message-card p {
    margin: 5px 0 7px;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .message-place {
    font-size: 0.67rem;
  }

  .service-list {
    order: 5;
    margin: 16px 0 0;
  }

  .service-list li {
    min-height: 41px;
    padding: 9px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .service-list li::before {
    width: 6px;
    height: 6px;
    margin-right: 7px;
  }

  .cta-group {
    order: 6;
    margin-top: 15px;
  }

  .cta {
    width: 100%;
    min-height: 58px;
    padding: 11px 13px 11px 22px;
    font-size: 0.95rem;
  }

  .cta-arrow {
    width: 34px;
    font-size: 1.1rem;
  }

  .cta-note {
    margin: 7px 0 0;
    text-align: center;
    font-size: 0.68rem;
  }
}

@media (max-width: 370px) {
  .sample-label {
    display: none;
  }

  h1 {
    font-size: 1.95rem;
  }

  .visual-column {
    height: 210px;
  }
}

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