:root {
  --bg: #040404;
  --text: #f4efe8;
  --text-soft: rgba(244, 239, 232, 0.84);
  --text-muted: rgba(244, 239, 232, 0.58);
  --accent: #d1b184;
  --line: rgba(244, 239, 232, 0.12);
  --line-strong: rgba(244, 239, 232, 0.24);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --font-body: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --font-display: "Cormorant Garamond", "Shippori Mincho", "Noto Serif JP", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(209, 177, 132, 0.08), transparent 22%),
    linear-gradient(180deg, #090909 0%, #040404 44%, #060606 100%);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
p,
figure,
form,
ul {
  margin: 0;
}

h1,
h2,
h3,
p,
a,
label,
li {
  line-break: strict;
  overflow-wrap: normal;
}

.a10-page {
  position: relative;
  overflow: hidden;
}

.a10-page::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 14%, transparent 86%, rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.008) 0, rgba(255, 255, 255, 0.008) 1px, transparent 1px, transparent 128px);
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero,
.section {
  position: relative;
}

.section {
  padding: clamp(104px, 12vw, 156px) 0;
}

.section-anchor {
  scroll-margin-top: 78px;
}

.section-label {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-title,
.section h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-wrap: balance;
  word-break: keep-all;
}

.section-lead {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  line-height: 1.72;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.button--primary {
  background: linear-gradient(180deg, rgba(209, 177, 132, 0.24), rgba(209, 177, 132, 0.1));
  color: var(--text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.media-frame {
  padding: clamp(12px, 1.5vw, 16px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  overflow: hidden;
  padding: clamp(36px, 6vw, 64px) 0 clamp(96px, 12vw, 140px);
  background:
    radial-gradient(circle at 82% 16%, rgba(209, 177, 132, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%, transparent 80%, rgba(255, 255, 255, 0.02));
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-a10planning .hero__background {
  z-index: 0;
  background-image: url("./images/p.jpg");
  background-position: 62% center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
  filter: saturate(0.82) brightness(0.52) contrast(0.98);
  transform: scale(1.04);
}

.page-a10planning .hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.82) 0%, rgba(4, 4, 4, 0.66) 34%, rgba(4, 4, 4, 0.42) 62%, rgba(4, 4, 4, 0.62) 100%),
    linear-gradient(180deg, rgba(4, 4, 4, 0.56) 0%, rgba(4, 4, 4, 0.24) 38%, rgba(4, 4, 4, 0.5) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 400px);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
  min-height: min(78svh, 760px);
}

.hero__copy {
  max-width: 620px;
  padding-top: clamp(24px, 4vw, 54px);
}

.hero__lead {
  max-width: 18ch;
  margin-top: 14px;
  color: rgba(244, 239, 232, 0.94);
  font-size: clamp(2.68rem, 6vw, 3.84rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__visual {
  width: 100%;
  aspect-ratio: 9 / 12;
}

.page-a10planning .hero__visual img {
  object-position: center center;
  opacity: 0.54;
}

.section--concept {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 8%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, #0b0b0b 0%, #090909 100%);
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 7vw, 80px);
  align-items: center;
}

.concept-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.rich-text {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.rich-text p + p {
  margin-top: 1.2em;
}

.concept-visual {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.section--contact {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, rgba(209, 177, 132, 0.08), transparent 18%),
    linear-gradient(180deg, #090909 0%, #0d0b0a 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 7vw, 72px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 22px;
  max-width: 440px;
}

.contact-note {
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: var(--text-soft);
}

.contact-points {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.contact-points li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.contact-panel {
  display: grid;
  gap: 20px;
}

.inquiry-form {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(244, 239, 232, 0.14);
  border-radius: 0;
  background: rgba(12, 12, 12, 0.82);
  color: var(--text);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.form-field select {
  appearance: none;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(244, 239, 232, 0.4);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(209, 177, 132, 0.46);
  background: rgba(16, 16, 16, 0.92);
  box-shadow: 0 0 0 1px rgba(209, 177, 132, 0.12);
}

.button--submit {
  width: fit-content;
  min-width: 220px;
  margin-top: 22px;
}

.return-link {
  width: fit-content;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(209, 177, 132, 0.38);
  padding-bottom: 4px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  .button:hover {
    border-color: rgba(244, 239, 232, 0.34);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
  }

  .button--primary:hover {
    background: linear-gradient(180deg, rgba(209, 177, 132, 0.3), rgba(209, 177, 132, 0.14));
  }

  .return-link:hover {
    color: var(--text);
    border-color: rgba(209, 177, 132, 0.62);
    transform: translateY(-1px);
  }
}

@media (max-width: 980px) {
  .hero__inner,
  .concept-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
    align-items: start;
  }

  .hero__visual,
  .concept-visual {
    max-width: 540px;
  }
}

@media (max-width: 720px) {
  .section-inner {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  .hero,
  .section {
    padding: 82px 0;
  }

  .page-a10planning .hero__background {
    background-position: 60% 28%;
    opacity: 0.34;
    filter: saturate(0.78) brightness(0.44) contrast(0.96);
  }

  .page-a10planning .hero__overlay {
    background:
      linear-gradient(180deg, rgba(4, 4, 4, 0.82) 0%, rgba(4, 4, 4, 0.6) 44%, rgba(4, 4, 4, 0.78) 100%),
      linear-gradient(90deg, rgba(4, 4, 4, 0.72) 0%, rgba(4, 4, 4, 0.36) 100%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 1.08;
  }

  .hero__lead,
  .section-lead,
  .rich-text,
  .contact-note,
  .contact-points li {
    font-size: 1rem;
  }

  .hero__lead {
    max-width: 14ch;
    font-size: 2.36rem;
    line-height: 1.42;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button--submit {
    width: 100%;
  }

  .section-title,
  .section h2 {
    max-width: 100%;
    font-size: clamp(1.58rem, 6.6vw, 2.16rem);
    line-height: 1.24;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .inquiry-form,
  .contact-note {
    padding-inline: 18px;
  }
}
